/* ============================================
   BÄCKEREI SCHLÜTER - Website Styles
   Seit 1959 · Der Brotmacher · Holzbackofen
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-cream: #FAF6F1;
  --color-warm-white: #FFFDF9;
  --color-brown-dark: #3A2518;
  --color-brown: #5C3D2E;
  --color-brown-light: #8B6F5E;
  --color-gold: #C8A96E;
  --color-gold-light: #E8D5AA;
  --color-accent: #B8860B;
  --color-text: #2C2017;
  --color-text-light: #6B5B4E;
  --color-border: #E0D5C8;
  --color-overlay: rgba(58, 37, 24, 0.65);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --max-width: 1400px;
  --nav-height: 80px;
  --section-pad: clamp(60px, 8vw, 120px);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-brown-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

.section-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-gold);
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-intro {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--color-text-light);
  max-width: 700px;
  margin-bottom: 3rem;
}

.text-center { text-align: center; }
.text-center .section-intro { margin-inline: auto; }

.divider {
  width: 80px;
  height: 2px;
  background: var(--color-gold);
  margin: 1.5rem 0;
}

.text-center .divider { margin-inline: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--color-brown-dark);
  color: var(--color-cream);
}
.btn-primary:hover {
  background: var(--color-brown);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(58, 37, 24, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-cream);
  border: 2px solid var(--color-cream);
}
.btn-outline:hover {
  background: var(--color-cream);
  color: var(--color-brown-dark);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-brown-dark);
}
.btn-gold:hover {
  background: var(--color-accent);
  color: white;
  transform: translateY(-2px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all 0.4s ease;
}

.nav.transparent {
  background: transparent;
}

.nav.scrolled {
  background: rgba(255, 253, 249, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

/* Centered logo navigation layout */
.nav-links-left,
.nav-links-right {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex: 1;
}

.nav-links-left {
  justify-content: flex-end;
}

.nav-links-right {
  justify-content: flex-start;
}

.nav-logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  margin: 0 2.5rem;
  padding-top: 24px;
}

.nav-logo img {
  height: 90px;
  width: auto;
  transition: all 0.4s ease;
  border-radius: 50%;
  padding: 4px;
}

/* White logo for transparent nav (on hero image) */
.nav.transparent .logo-dark { display: none; }
.nav.transparent .logo-white {
  display: block;
  height: 145px;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.3));
}

/* Dark logo for scrolled nav (white background) */
.nav.scrolled .logo-white { display: none; }
.nav.scrolled .logo-dark {
  display: block;
  height: 145px;
  border: 4px solid white;
  background: white;
  box-sizing: content-box;
  position: relative;
  z-index: 10;
}

/* Logo overlaps hero by 1/3 */
.nav.transparent .nav-logo {
  transform: translateY(20px);
}

.nav.scrolled .nav-logo {
  transform: translateY(20px);
  z-index: 10;
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.3s;
  position: relative;
  padding: 4px 0;
}

.nav.transparent .nav-link { color: white; }
.nav.scrolled .nav-link { color: var(--color-brown-dark); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  background: white;
  border-radius: 3px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  padding: 12px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 0.9rem;
  color: var(--color-brown-dark);
  transition: all 0.2s;
}

.nav-dropdown-menu a:hover {
  background: var(--color-cream);
  color: var(--color-gold);
  padding-left: 28px;
}

/* Mega Menu */
.mega-menu {
  position: fixed;
  top: var(--nav-height);
  left: 60%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 700px;
  max-width: 90vw;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.nav-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Smooth nav transition when mega menu opens */
.nav-dropdown:hover ~ .nav-link,
.nav-dropdown:hover {
  color: var(--color-brown-dark);
}

.mega-menu-item {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  text-decoration: none;
}

.mega-menu-item:hover {
  border-color: var(--color-gold-light);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.mega-menu-img {
  width: 100%;
  height: 100px;
  overflow: hidden;
}

.mega-menu-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mega-menu-item:hover .mega-menu-img img {
  transform: scale(1.08);
}

.mega-menu-text {
  padding: 0.75rem;
  text-align: center;
}

.mega-menu-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-brown-dark);
  margin-bottom: 2px;
}

.mega-menu-text span {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* Mega menu on scrolled nav - adjust top position */
.nav.scrolled .mega-menu {
  top: var(--nav-height);
}

@media (max-width: 768px) {
  .mega-menu {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0.5rem;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .nav-dropdown.open .mega-menu { display: grid; }
  .mega-menu-img { height: 80px; }
}

/* Nav CTA Button */
.nav-cta-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-gold);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-left: 1.2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}

.nav-cta-btn:hover {
  background: var(--color-brown-dark);
  transform: translateY(-1px);
}

.nav-cta-btn svg {
  flex-shrink: 0;
}

/* When nav is transparent (on hero), CTA stays gold */
.nav.transparent:not(.scrolled) .nav-cta-btn {
  background: var(--color-gold);
  color: #fff !important;
}

.nav.transparent:not(.scrolled) .nav-cta-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* When nav is scrolled/white, CTA uses gold */
.nav.scrolled .nav-cta-btn,
.nav:not(.transparent) .nav-cta-btn {
  background: var(--color-gold);
  color: #fff !important;
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--color-brown-dark);
  transition: all 0.3s;
}

.nav.transparent .nav-toggle span { background: white; }

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Slider */
.hero-slider .hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slider-dots {
  position: absolute;
  bottom: 30px;
  right: 40px;
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-slider-dot {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}

.hero-slider-dot.active {
  background: white;
  width: 40px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(58, 37, 24, 0.75) 0%,
    rgba(58, 37, 24, 0.45) 50%,
    rgba(58, 37, 24, 0.3) 100%
  );
}

.hero-content {
  color: white;
  max-width: 700px;
}

.hero-content .section-subtitle {
  color: var(--color-gold-light);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.hero h1 {
  color: white;
  margin: 0.5rem 0 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0.92;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, white, transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Parallax Sections --- */
.parallax-section {
  position: relative;
  padding: var(--section-pad) 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.parallax-section .container {
  position: relative;
  z-index: 1;
}

.parallax-section h2,
.parallax-section p,
.parallax-section .section-subtitle {
  color: white;
}

.parallax-section .section-subtitle {
  color: var(--color-gold-light);
}

/* --- Feature Cards (Handwerk etc.) --- */
.features {
  padding: var(--section-pad) 0;
  background: var(--color-warm-white);
}

/* New feature slider */
.features-slider-wrap {
  position: relative;
  margin-top: 3rem;
}

.features-slider {
  overflow: hidden;
}

.features-slider-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.5s ease;
}

.feature-card-new {
  width: calc((100% - 2 * 1.25rem) / 3);
  min-width: calc((100% - 2 * 1.25rem) / 3);
  max-width: calc((100% - 2 * 1.25rem) / 3);
  background: white;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.4s ease;
  flex-shrink: 0;
  text-align: left;
}

.feature-card-new:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-color: var(--color-gold-light);
}

.feature-card-new .feature-card-img {
  width: 100%;
  height: 0;
  padding-bottom: 55%;
  position: relative;
  overflow: hidden;
}

.feature-card-new .feature-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card-new:hover .feature-card-img img {
  transform: scale(1.05);
}

.feature-card-new .feature-card-content {
  padding: 1.5rem;
}

.feature-card-new .feature-card-content h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.feature-card-new .feature-card-content p {
  color: var(--color-text-light);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Slider arrows */
.features-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--color-border);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--color-brown-dark);
  z-index: 5;
}

.features-slider-arrow:hover {
  background: var(--color-brown-dark);
  color: white;
  border-color: var(--color-brown-dark);
}

.features-slider-arrow.prev { left: -22px; }
.features-slider-arrow.next { right: -22px; }

/* Slider dots */
.features-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.features-slider-dot {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}

.features-slider-dot.active {
  background: var(--color-brown-dark);
  width: 40px;
}

/* Legacy feature-card (for other pages) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid var(--color-border);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: var(--color-gold-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .feature-card-new {
    width: calc((100% - 1.25rem) / 2);
    min-width: calc((100% - 1.25rem) / 2);
    max-width: calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 600px) {
  .feature-card-new {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
  .features-slider-arrow { display: none; }
}

/* --- Product Highlights --- */
.product-highlights {
  padding: var(--section-pad) 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.product-highlight-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  group: true;
}

.product-highlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-highlight-card:hover img {
  transform: scale(1.05);
}

.product-highlight-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58,37,24,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: white;
}

.product-highlight-card h3 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.product-highlight-card .card-overlay p {
  opacity: 0.85;
  font-size: 0.95rem;
}

.product-highlight-card .card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.product-highlight-card:hover .card-arrow {
  background: var(--color-gold);
  transform: translate(4px, -4px);
}

/* --- Product Detail Pages --- */
.page-hero {
  position: relative;
  height: 65vh;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-overlay);
}

.page-hero h1 { color: white; }
.page-hero .section-subtitle { color: var(--color-gold-light); }
.page-hero p { color: rgba(255,255,255,0.85); margin-top: 1rem; font-size: 1.15rem; }

/* Product Grid */
.products-section {
  padding: var(--section-pad) 0;
}

.product-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--color-border);
  background: transparent;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--color-text-light);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-brown-dark);
  background: var(--color-brown-dark);
  color: white;
}

/* Allergen Filter */
.allergen-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding: 1.5rem 2rem;
  background: white;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.allergen-filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-brown-dark);
  margin-right: 0.5rem;
  white-space: nowrap;
}

.allergen-filter-label svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
}

.allergen-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border: 1.5px solid var(--color-border);
  background: var(--color-cream);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--color-text-light);
}

.allergen-filter-btn svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.allergen-filter-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-brown-dark);
}

.allergen-filter-btn.active {
  border-color: #c0392b;
  background: #fdf2f2;
  color: #c0392b;
}

.allergen-filter-btn.active svg {
  opacity: 1;
}

.allergen-filter-btn[data-allergen="alle"] {
  background: var(--color-brown-dark);
  color: white;
  border-color: var(--color-brown-dark);
}

.allergen-filter-btn[data-allergen="alle"]:not(.active) {
  background: var(--color-cream);
  color: var(--color-text-light);
  border-color: var(--color-border);
}

.allergen-filter-btn[data-allergen="alle"].active {
  background: var(--color-brown-dark);
  color: white;
  border-color: var(--color-brown-dark);
}

.no-filter-results {
  display: none;
  text-align: center;
  padding: 3rem;
  color: var(--color-text-light);
  font-size: 1.1rem;
  grid-column: 1 / -1;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid var(--color-border);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.product-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f0eb;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
  filter: brightness(0.55);
}

/* Hover overlay with info icon */
.product-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56' fill='none'%3E%3Ccircle cx='28' cy='28' r='26' stroke='white' stroke-width='2'/%3E%3Cpath d='M28 18v4' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3Cpath d='M28 26v12' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center center no-repeat;
}

.product-card:hover .product-card-img::after {
  opacity: 1;
}

/* "Mehr erfahren" text label */
.product-card-img::before {
  content: 'Mehr erfahren';
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: 8px 20px;
  background: rgba(255,255,255,0.95);
  color: var(--color-brown-dark);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 50px;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
}

.product-card:hover .product-card-img::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 14px;
  background: var(--color-gold);
  color: var(--color-brown-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 50px;
}

.product-card-body {
  padding: 1.5rem;
}

.product-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-card-body .product-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-brown-dark);
  font-weight: 700;
}

.product-meta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.product-allergen {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: var(--color-cream);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.product-allergen svg {
  width: 14px;
  height: 14px;
}

/* Product Detail Modal */
/* Product Detail Modal */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.product-modal-overlay.active {
  display: flex;
}

.product-modal {
  background: white;
  border-radius: 6px;
  max-width: 680px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideUp 0.35s ease;
  box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Close button */
.product-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--color-brown-dark);
}

.product-modal-close:hover {
  background: white;
  transform: scale(1.1);
}

/* Image Slider */
.modal-slider {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  background: #f0ebe5;
}

.modal-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.modal-slider-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.modal-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--color-brown-dark);
  z-index: 5;
}

.modal-slider-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.modal-slider-arrow.prev { left: 12px; }
.modal-slider-arrow.next { right: 12px; }

.modal-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.modal-slider-dot {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}

.modal-slider-dot.active {
  background: white;
  width: 36px;
}

/* Badge in slider */
.modal-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 16px;
  background: var(--color-gold);
  color: var(--color-brown-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 50px;
  z-index: 5;
}

/* Modal Content */
.product-modal-content {
  padding: 2rem 2.5rem 2.5rem;
}

.modal-product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-product-header h2 {
  font-size: 1.6rem;
  line-height: 1.3;
}

.modal-article-nr {
  font-size: 0.78rem;
  color: var(--color-text-light);
  opacity: 0.7;
  letter-spacing: 0.03em;
  margin-top: 2px;
  display: block;
}

.modal-product-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  white-space: nowrap;
}

/* Allergens in modal */
.modal-allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.modal-allergen-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.modal-allergen-tag svg {
  width: 13px;
  height: 13px;
  opacity: 0.6;
}

/* Description */
.modal-description {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

/* Nutrition table */
.modal-section-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-section-title svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
}

/* Availability display */
.modal-availability {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.availability-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  transition: all 0.2s;
}

.availability-item.available {
  background: #faf5ec;
  border-color: var(--color-gold-light);
  color: var(--color-brown-dark);
}

.availability-item.unavailable {
  background: var(--color-cream);
  border-color: var(--color-border);
  color: var(--color-text-light);
  opacity: 0.5;
}

.availability-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.availability-item.available .availability-icon {
  background: var(--color-gold);
  color: white;
}

.availability-item.unavailable .availability-icon {
  background: var(--color-border);
  color: var(--color-text-light);
}

.availability-icon svg {
  width: 11px;
  height: 11px;
}

.availability-name {
  line-height: 1.2;
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.nutrition-table tr:nth-child(even) {
  background: var(--color-cream);
}

.nutrition-table th,
.nutrition-table td {
  padding: 8px 14px;
  text-align: left;
  font-size: 0.85rem;
}

.nutrition-table th {
  font-weight: 600;
  color: var(--color-brown-dark);
  border-bottom: 2px solid var(--color-border);
}

.nutrition-table td {
  color: var(--color-text-light);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.nutrition-table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--color-text);
}

/* Mini Gallery */
.modal-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-top: 0.5rem;
}

.modal-gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: all 0.2s;
  opacity: 0.7;
}

.modal-gallery-thumb.active,
.modal-gallery-thumb:hover {
  border-color: var(--color-gold);
  opacity: 1;
}

.modal-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile modal */
@media (max-width: 768px) {
  .product-modal {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 6px;
  }

  .modal-slider {
    height: 250px;
    border-radius: 6px 6px 0 0;
  }

  .product-modal-content {
    padding: 1.5rem;
  }

  .modal-product-header {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* --- Gallery / Image Grid --- */
.gallery-section {
  padding: var(--section-pad) 0;
  background: var(--color-brown-dark);
}

.gallery-section h2,
.gallery-section .section-subtitle {
  color: white;
}
.gallery-section .section-subtitle { color: var(--color-gold-light); }
.gallery-section .section-intro { color: rgba(255,255,255,0.7); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 8px;
  margin-top: 3rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item.span-2 { grid-column: span 2; }
.gallery-item.span-row { grid-row: span 2; }

/* --- About / Geschichte --- */
.about-section {
  padding: var(--section-pad) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
}

.about-image .year-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-brown-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

.year-badge .year-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
.year-badge .year-number { font-size: 1.8rem; font-weight: 700; line-height: 1; }

.about-text h2 { margin-bottom: 1.5rem; }

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.timeline {
  margin-top: 3rem;
  padding-left: 2rem;
  border-left: 2px solid var(--color-gold-light);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-cream);
  transform: translateX(-50%);
  margin-left: -1px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-brown-dark);
}

.timeline-text {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

/* --- Filialen --- */
.filialen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.filiale-card {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.3s;
}

.filiale-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.filiale-card-img {
  height: 220px;
  overflow: hidden;
}

.filiale-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filiale-card-body {
  padding: 1.5rem;
}

.filiale-card-body h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.filiale-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filiale-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.filiale-info-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 2px;
}

/* --- Contact Form --- */
.contact-section {
  padding: var(--section-pad) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-card svg {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.contact-info-card h4 { margin-bottom: 0.3rem; }
.contact-info-card p { color: var(--color-text-light); font-size: 0.95rem; }

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 6px;
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-brown-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  background: var(--color-cream);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* --- Jobs Section --- */
.job-card {
  background: white;
  border-radius: 6px;
  padding: 2rem;
  border: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.job-card:hover {
  border-color: var(--color-gold-light);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.job-card h3 { margin-bottom: 0.5rem; }

.job-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.job-tag {
  padding: 4px 12px;
  background: var(--color-cream);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* --- Testimonials / Quote --- */
.quote-section {
  padding: var(--section-pad) 0;
  background: var(--color-warm-white);
  text-align: center;
}

.quote-text {
  font-family: var(--font-accent);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  color: var(--color-brown-dark);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.4;
}

.quote-author {
  font-size: 1rem;
  color: var(--color-text-light);
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 4rem 0;
  background: var(--color-brown-dark);
  text-align: center;
}

.cta-banner h2 { color: white; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; max-width: 600px; margin-inline: auto; }

/* --- Footer --- */
.footer {
  background: var(--color-brown-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 70px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  opacity: 0.75;
  transition: all 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-gold-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-brown-dark);
}

/* --- Allergen Icons --- */
.allergen-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--color-cream);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
}

.allergen-icon svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .product-modal { grid-template-columns: 1fr; }
  .product-modal-img { max-height: 300px; border-radius: 6px 6px 0 0; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 65px; }

  /* Hide original nav links on mobile */
  .nav-links-left,
  .nav-links-right {
    display: none !important;
  }

  /* Mobile Menu Overlay */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9998;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu-overlay.open {
    display: block;
  }

  .mobile-menu-inner {
    display: flex;
    flex-direction: column;
    padding: 1rem 2rem 3rem;
  }

  .mobile-menu-inner > a,
  .mobile-menu-inner > .nav-dropdown > .nav-link {
    color: var(--color-brown-dark) !important;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    display: block;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
  }

  .mobile-menu-inner > .nav-dropdown {
    border-bottom: 1px solid var(--color-border);
  }

  .mobile-menu-inner > .nav-dropdown > .nav-link {
    border-bottom: none;
  }

  .mobile-menu-inner .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0 0 0.5rem 1rem;
    opacity: 1;
    visibility: visible;
    display: none;
    background: transparent;
    border: none;
    min-width: auto;
  }

  .mobile-menu-inner .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .mobile-menu-inner .nav-dropdown-menu a {
    color: var(--color-brown-dark);
    padding: 0.6rem 0;
    font-size: 1rem;
    display: block;
    text-decoration: none;
  }

  .mobile-menu-inner > .nav-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    background: var(--color-gold);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
  }

  /* Force nav white when mobile menu is open */
  .nav.mobile-open {
    background: white !important;
  }
  .nav.mobile-open .logo-white { opacity: 0 !important; }
  .nav.mobile-open .logo-dark { opacity: 1 !important; }
  .nav.mobile-open .nav-toggle span { background: var(--color-brown-dark) !important; }

  .nav-link {
    color: var(--color-brown-dark) !important;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu { display: block; }

  .nav-toggle { display: flex; }

  .nav-cta-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
  }

  .nav-logo img {
    height: 60px !important;
  }

  .nav.transparent .nav-logo {
    transform: translateY(10px);
  }

  .nav.transparent .logo-white { height: 90px !important; }
  .nav.scrolled .logo-dark { height: 90px !important; }

  .hero { min-height: 500px; }
  .hero-content { padding-top: 2rem; }

  .product-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .filialen-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delay for grids */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --- Cookie/Legal Notice --- */
.legal-text {
  padding: var(--section-pad) 0;
}
.legal-text h2 { margin-bottom: 1.5rem; }
.legal-text p { margin-bottom: 1rem; color: var(--color-text-light); }

/* --- Vorbestellung / Order Page --- */
.order-section {
  padding: var(--section-pad) 0;
}

.order-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Accordion Categories */
.order-category {
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  background: white;
}

.order-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: white;
  border: none;
  width: 100%;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  transition: background 0.2s;
}

.order-category-header:hover {
  background: var(--color-cream);
}

.order-category-header .cat-count {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.order-category-header .cat-arrow {
  transition: transform 0.3s;
  font-size: 1.2rem;
  color: var(--color-text-light);
}

.order-category.open .cat-arrow {
  transform: rotate(180deg);
}

.order-category-body {
  display: none;
  padding: 0 1.25rem 1rem;
}

.order-category.open .order-category-body {
  display: block;
}

/* Column Header */
.order-column-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0 0.4rem;
  border-bottom: 2px solid var(--color-gold);
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

.order-column-header .col-select {
  width: 18px;
  flex-shrink: 0;
}

.order-column-header .col-name {
  flex: 1;
  min-width: 0;
}

.order-column-header .col-artnr {
  min-width: 42px;
  text-align: center;
}

.order-column-header .col-price {
  min-width: 55px;
  text-align: right;
}

.order-column-header .col-qty {
  width: 56px;
  text-align: center;
}

.order-column-header .col-info {
  width: 26px;
  text-align: center;
}

/* Product Row */
.order-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.order-product:last-child {
  border-bottom: none;
}

.order-product input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-gold);
  cursor: pointer;
  flex-shrink: 0;
}

.order-product-name {
  flex: 1;
  font-size: 0.9rem;
  color: var(--color-brown-dark);
}

.order-product-price {
  font-size: 0.85rem;
  color: var(--color-text-light);
  min-width: 55px;
  text-align: right;
}

.order-info-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-cream);
  color: var(--color-gold);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
}

.order-info-btn:hover {
  background: var(--color-gold);
  color: white;
  border-color: var(--color-gold);
}

/* Product name as link */
.order-info-link {
  color: var(--color-brown-dark);
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 1px dashed transparent;
}

.order-info-link:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

/* Article number pill */
.order-product-artnr {
  font-size: 0.72rem;
  color: var(--color-text-light);
  opacity: 0.6;
  background: var(--color-cream);
  padding: 2px 8px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Search input focus */
#order-search:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

/* Monthly special responsive */
@media (max-width: 768px) {
  .monthly-special-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Quantity Control */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border);
  background: white;
  color: var(--color-text-light);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  user-select: none;
  -webkit-user-select: none;
}

.qty-minus {
  border-radius: 4px 0 0 4px;
}

.qty-plus {
  border-radius: 0 4px 4px 0;
}

.qty-btn:hover {
  background: var(--color-cream);
  color: var(--color-brown-dark);
  border-color: var(--color-gold-light);
}

.qty-btn:active {
  background: var(--color-gold-light);
  color: white;
}

.order-product-qty {
  width: 44px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-left: none;
  border-right: none;
  border-radius: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: white;
  color: var(--color-text-light);
  transition: all 0.2s;
  -moz-appearance: textfield;
}

.order-product-qty::-webkit-outer-spin-button,
.order-product-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Active product row (qty > 0) */
.order-product--active {
  background: rgba(184, 134, 11, 0.06);
  border-left: 3px solid var(--color-gold);
  padding-left: calc(1rem - 3px);
}

.order-product--active .order-product-qty {
  color: var(--color-brown-dark);
  font-weight: 700;
  background: rgba(184, 134, 11, 0.08);
  border-color: var(--color-gold-light);
}

.order-product--active .qty-btn {
  border-color: var(--color-gold-light);
  color: var(--color-gold);
}

.order-product--active .order-product-name a {
  color: var(--color-brown-dark);
  font-weight: 600;
}

/* Order Stepper */
.order-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2rem 0 1rem;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.stepper-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-light);
  background: white;
  transition: all 0.4s ease;
}

.stepper-label {
  font-size: 0.82rem;
  color: var(--color-text-light);
  white-space: nowrap;
  transition: color 0.4s ease;
}

.stepper-line {
  flex: 1;
  max-width: 120px;
  min-width: 40px;
  height: 2px;
  background: var(--color-border);
  margin: 0 0.5rem;
  margin-bottom: 1.75rem;
  transition: background 0.4s ease;
}

.stepper-step.active .stepper-circle {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: white;
}

.stepper-step.active .stepper-label {
  color: var(--color-brown-dark);
  font-weight: 600;
}

.stepper-step.completed .stepper-circle {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: white;
}

.stepper-step.completed .stepper-label {
  color: var(--color-gold);
}

.stepper-line.completed {
  background: var(--color-gold);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Step cards */
.step-card {
  animation: fadeInUp 0.4s ease;
}

/* Step navigation buttons */
.step-btn-next {
  flex: 1;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--color-gold);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.step-btn-next:hover {
  background: var(--color-gold-dark, #9a7209);
}

.step-btn-back {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  background: #eee;
  color: #555;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.step-btn-back:hover {
  background: #ddd;
  color: #333;
}

.step-btn-submit {
  flex: 1;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--color-gold);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.step-btn-submit:hover {
  background: var(--color-gold-dark, #9a7209);
}

.step-btn-next:disabled,
.step-btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Review products list */
.review-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.review-item:last-child { border-bottom: none; }
.review-item-name { flex: 1; }
.review-item-qty { color: var(--color-text-light); margin: 0 1rem; min-width: 30px; text-align: center; }
.review-item-price { font-weight: 600; min-width: 70px; text-align: right; }

@media (max-width: 600px) {
  .stepper-label { font-size: 0.7rem; }
  .stepper-circle { width: 32px; height: 32px; font-size: 0.85rem; }
  .stepper-line { min-width: 20px; }
}

/* Sidebar: Summary */
.order-summary {
  position: sticky;
  top: 120px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.5rem;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  z-index: 5;
}

.order-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-gold-light);
}

.order-summary-items {
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.order-summary-empty {
  color: var(--color-text-light);
  font-size: 0.9rem;
  font-style: italic;
  padding: 1rem 0;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.summary-item-name {
  color: var(--color-brown-dark);
}

.summary-item-detail {
  color: var(--color-text-light);
  text-align: right;
  white-space: nowrap;
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 2px solid var(--color-border);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-brown-dark);
}

/* Pickup & Contact */
.order-details {
  margin-top: 2rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.5rem;
}

.order-details h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.order-submit-btn {
  width: 100%;
  margin-top: 1.5rem;
  padding: 16px;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
  }
}

/* --- Order Confirmation Modal --- */
.order-confirmation-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 37, 24, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.order-confirmation-overlay.visible {
  opacity: 1;
}

.order-confirmation-card {
  background: var(--color-warm-white);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(58, 37, 24, 0.3);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.order-confirmation-overlay.visible .order-confirmation-card {
  transform: translateY(0) scale(1);
}

.conf-checkmark {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--color-gold);
}

.conf-checkmark-svg circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: conf-circle 0.6s 0.2s ease forwards;
}

.conf-checkmark-svg path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: conf-check 0.4s 0.6s ease forwards;
}

@keyframes conf-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes conf-check {
  to { stroke-dashoffset: 0; }
}

.conf-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  color: var(--color-brown-dark);
  margin-bottom: 0.5rem;
}

.conf-subtitle {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.conf-order-number-wrap {
  background: var(--color-cream);
  border: 2px solid var(--color-gold-light);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.conf-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.conf-order-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

.conf-details {
  text-align: left;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.conf-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--color-text);
}

.conf-detail-row + .conf-detail-row {
  border-top: 1px solid var(--color-border);
}

.conf-detail-label {
  font-weight: 600;
  color: var(--color-brown);
}

.conf-total {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-brown-dark);
}

.conf-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.conf-close-btn {
  min-width: 200px;
  padding: 14px 32px;
  font-size: 1rem;
}
