/* N-Bahnkeller Express 2.0 – visually consistent front-end and Site Editor */
:root {
  --nbk-blue: #0b47a1;
  --nbk-deep: #061935;
  --nbk-yellow: #ffd54a;
  --nbk-green: #39c16e;
  --nbk-cream: #fff9ee;
  --nbk-radius: 24px;
  --nbk-shadow: 0 14px 42px rgba(6,25,53,.11);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: radial-gradient(circle at 7% 0%, rgba(255,213,74,.16), transparent 26rem),
              linear-gradient(180deg,#f9fbff 0%,#fff 65%,#f4f8ff 100%);
}
:is(a, button, input, select, textarea, .wp-block-navigation__responsive-container-open):focus-visible {
  outline: 3px solid #0b47a1;
  outline-offset: 3px;
}
a { text-underline-offset: .18em; }
.nbk-header-shell {
  position: relative;
  z-index: 15;
  background: rgba(255,255,255,.96);
  box-shadow: 0 7px 28px rgba(6,25,53,.07);
  border-bottom: 1px solid rgba(11,71,161,.09);
  padding: 14px clamp(18px,3vw,40px);
}
.nbk-header-inner { width: 100%; gap: 14px 28px; }
.nbk-header-shell .wp-block-site-title { margin: 0; }
.nbk-header-shell .wp-block-site-title a { color: var(--nbk-deep); text-decoration: none; }
.nbk-header-shell .wp-block-navigation-item__content { padding: .45rem .65rem; border-radius: 999px; }
.nbk-header-shell .wp-block-navigation-item__content:hover { background: rgba(11,71,161,.09); }
.nbk-header-actions { gap: 12px; }
.nbk-shop-tools { gap: 12px; }
.nbk-shop-tools .wp-block-woocommerce-product-search { max-width: 250px; }
.nbk-front { padding: clamp(16px,3vw,32px) clamp(16px,3vw,32px) 56px; }
.nbk-hero-wrap {
  width: 100%;
  background: radial-gradient(circle at top right, rgba(57,193,110,.20), transparent 25rem),
              linear-gradient(135deg,#061935 0%,#0b47a1 58%,#1174a2 100%);
  border-radius: clamp(20px,3vw,36px);
  padding: clamp(22px,3vw,42px);
  box-shadow: 0 23px 55px rgba(6,25,53,.23);
  overflow: hidden;
}
.nbk-hero-columns { gap: clamp(18px,3vw,38px); }
.nbk-hero-copy { min-height: 240px; color: white; }
.nbk-hero-copy .wp-block-post-content { color: white; }
.nbk-hero-copy :is(h1,h2,h3,h4,h5,h6,p) { color: inherit; }
.nbk-hero-copy a:not(.wp-element-button) { color: #fff; }
.nbk-hero-copy .wp-block-button__link { background: var(--nbk-yellow); color: var(--nbk-deep); }
.nbk-hero-visual { min-width: 0; }
.nbk-hero-image { margin: 0; }
.nbk-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 42px rgba(0,0,0,.25);
}
.nbk-shop-sections { margin-block: clamp(30px,5vw,65px); }
.nbk-category-section, .nbk-product-section { margin-block: clamp(22px,4vw,44px); }
.nbk-category-section ul.wc-block-product-categories-list {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr));
  gap: 18px;
  padding: 0;
  list-style: none;
}
.nbk-category-section .wc-block-product-categories-list-item,
.nbk-article-card,
.wc-block-product-template > li,
.woocommerce ul.products li.product {
  border-radius: var(--nbk-radius);
  background: rgba(255,255,255,.94);
  box-shadow: var(--nbk-shadow);
  border: 1px solid rgba(11,71,161,.10);
  padding: 20px;
  min-width: 0;
}
.nbk-category-section .wc-block-product-categories-list-item a { color: var(--nbk-deep); font-weight: 750; }
.nbk-category-section .wc-block-product-categories-list-item img,
.wc-block-product-template img, .woocommerce ul.products li.product img { border-radius: 15px; }
.wc-block-product-template.is-flex-container, .wc-block-product-template__responsive { gap: 20px; }
.wc-block-components-product-price, .woocommerce-Price-amount, .woocommerce ul.products li.product .price { color: #0b47a1; font-weight: 800; }
.nbk-product-section .wp-block-post-title { font-size: 1.1rem; line-height: 1.4; }
.wp-block-button__link, .wp-element-button, .woocommerce a.button,
.woocommerce button.button, .wc-block-components-button:not(.is-link) {
  border-radius: 999px;
  transition: background-color .18s ease, box-shadow .18s ease;
}
.wp-block-button__link:hover, .wp-element-button:hover { box-shadow: 0 8px 20px rgba(11,71,161,.12); }
.woocommerce span.onsale, .wc-block-components-product-sale-badge {
  background: var(--nbk-yellow); color: #061935;
  border-radius: 999px; font-weight: 800;
}
.nbk-content-shell { width: 100%; min-height: 55vh; padding: clamp(26px,5vw,64px) clamp(16px,3vw,35px); }
.nbk-article-card { margin-bottom: 20px; }
.nbk-footer-shell {
  padding: 35px clamp(18px,3vw,40px);
  background: linear-gradient(140deg,#081930,#0b3776);
  color: var(--nbk-cream);
}
.nbk-footer-inner { gap: 16px; }
.nbk-footer-shell a, .nbk-footer-shell .wp-block-navigation-item__content { color: var(--nbk-cream); }
.nbk-footer-shell .wp-block-site-title { margin: 0; }
@media (max-width: 781px) {
  .nbk-hero-columns { flex-direction: column; }
  .nbk-hero-columns > .wp-block-column { flex-basis: auto !important; width: 100%; }
  .nbk-hero-copy { min-height: 0; }
  .nbk-hero-copy:empty { display: none; }
  .nbk-header-actions { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
