/* ============================================
   RUDOLF'S KNOBLIBROT – Haupt-Stylesheet
   ============================================ */

/* ── CSS-Variablen ─────────────────────────── */
:root {
  /* Knoblibrot-Palette: Krautgrün · Goldamber · Brotbraun */
  --red:          #2D6A4F;   /* Krautgrün (Rosmarin/Petersilie) */
  --red-dark:     #1B4D38;
  --red-light:    #B7E4C7;
  --gold:         #C8860A;   /* Goldamber – knusprige Brotkruste */
  --gold-light:   #F0B429;   /* Helles Buttergelb */
  --cream:        #FAF8F2;   /* Warmes Knoblauch-Cremeweiß */
  --beige:        #EDE5D0;   /* Mehl-Beige */
  --brown:        #2A1005;   /* Tiefes Brotbraun */
  --brown-mid:    #7A3A10;
  --brown-light:  #A05C28;
  --white:        #FFFFFF;
  --gray-100:     #F9FAFB;
  --gray-200:     #E5E7EB;
  --gray-400:     #9CA3AF;
  --gray-600:     #6B7280;
  --gray-800:     #1F2937;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm:    0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.16);

  --radius:       0.5rem;
  --radius-lg:    1rem;
  --transition:   0.3s ease;
  --max-width:    1200px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--brown);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--brown);
}

/* ── Utility ────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section--cream { background: var(--cream); }
.section--beige { background: var(--beige); }
.section--brown { background: var(--brown); color: var(--cream); }
.section--white { background: var(--white); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--brown);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 0.5rem;
}

.section-header {
  margin-bottom: 3rem;
}
.section-header p {
  color: var(--brown-light);
  font-size: 1.1rem;
  max-width: 640px;
  margin-top: 1rem;
}

.text-center { text-align: center; }
.text-center .section-title::after { margin: 0.5rem auto 0; }

.badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--brown);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(185,28,28,.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--brown);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--brown-mid);
  border-color: var(--brown-mid);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

/* ── Navigation ─────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(61,28,2,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(61,28,2,1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.nav-logo-main {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.01em;
}
.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--beige);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: var(--beige);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
  background: rgba(201,151,42,.15);
}

.nav-link-shop {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.45rem 1rem;
}
.nav-link-shop:hover {
  background: var(--gold) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--beige);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 70px 0 0 0;
    background: var(--brown);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1.5rem 1.25rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-link {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav-link-shop {
    margin-top: 1rem;
    width: auto;
    align-self: flex-start;
  }
}

/* ── Nav Cart Icon ──────────────────────────── */
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--beige);
  text-decoration: none;
  padding: 0.4rem;
  border-radius: var(--radius);
  transition: color var(--transition);
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.nav-cart:hover { color: var(--gold-light); }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ── Cart Toast ─────────────────────────────── */
#cartToast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--brown);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  border: 1px solid rgba(201,151,42,.3);
}
#cartToast.show {
  transform: translateX(-50%) translateY(0);
}

/* ── Hero ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1B3A1A 0%, #2A1005 50%, #3A1C08 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(201,151,42,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(185,28,28,.12) 0%, transparent 50%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 7rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {}
.hero-eyebrow {
  display: inline-block;
  background: rgba(201,151,42,.25);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(201,151,42,.4);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
}
.hero h1 .highlight {
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  max-width: 480px;
}

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

.hero-image-placeholder {
  background: rgba(255,255,255,.07);
  border: 2px dashed rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,.5);
  font-size: 0.9rem;
}
.hero-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

/* ── Hero image wrap & frame ────────────────── */
.hero-image-wrap {
  width: 100%;
  max-width: 480px;
  justify-self: center;
  align-self: center;
}
.hero-brot-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 3px;
  /* Warm golden gradient border */
  background: linear-gradient(135deg, #F0B429 0%, #C8860A 40%, #2D6A4F 80%, #F0B429 100%);
  box-shadow:
    0 0 0 1px rgba(240,180,41,0.25),
    0 8px 32px rgba(0,0,0,0.45),
    0 0 60px rgba(200,134,10,0.2);
}
.hero-brot-frame::before {
  /* inner subtle glow layer */
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: calc(var(--radius-lg) - 2px);
  background: rgba(42,16,5,0.55);
  z-index: 0;
}
.hero-brot-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 2px);
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.4));
}

/* ── Timeline sticky 3D Knoblauch ───────────── */
.timeline-garlic-sticky {
  position: sticky;
  top: 88px;          /* direkt unter der Navbar = oberster Punkt der Linie */
  transform: translateY(0);
  left: calc(50% - 40px);
  width: 80px;
  height: 0;
  overflow: visible;
  z-index: 5;
  pointer-events: none;
}
.timeline-garlic-sticky canvas {
  display: block;
  width: 80px !important;
  height: 80px !important;
  filter: drop-shadow(0 0 10px rgba(200,134,10,0.35));
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-cta { justify-content: center; }
  .hero-image-placeholder { display: none; }
  .hero-image-wrap { display: none; }
  /* hide 3D on mobile timeline – not enough space */
  .timeline-garlic-sticky { display: none; }
}

/* ── Placeholder Image ──────────────────────── */
.img-placeholder {
  background: linear-gradient(135deg, var(--beige) 0%, #D4C4A8 100%);
  border: 2px dashed #C4A882;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--brown-light);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
  width: 100%;
}
.img-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.5;
}

/* ── Cards ──────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-body { padding: 1.5rem; }

.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.6;
}

.card-price {
  display: inline-block;
  background: var(--cream);
  color: var(--red);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  margin: 0.75rem 0;
  border: 1px solid var(--beige);
}

/* ── Grid Layouts ───────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── Verkaufsstellen strip ──────────────────── */
.locations-strip {
  background: var(--brown);
  padding: 2.5rem 0;
}
.locations-strip h3 {
  color: var(--gold-light);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.location-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.location-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.location-name {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.location-addr {
  color: rgba(255,255,255,.6);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* ── About section ──────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.about-text p {
  margin-bottom: 1rem;
  color: var(--gray-800);
  line-height: 1.8;
}
.about-text p:last-child { margin-bottom: 0; }

/* ── Stats ──────────────────────────────────── */
.stats-bar {
  background: var(--red);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  color: rgba(255,255,255,.75);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* ── Timeline ───────────────────────────────── */
.timeline {
  position: relative;
  padding: 1rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--beige);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-content {
  width: calc(50% - 2rem);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.timeline-item:nth-child(even) .timeline-content { margin-left: calc(50% + 2rem); width: calc(50% - 2rem); }
.timeline-item:nth-child(odd) .timeline-content { margin-right: calc(50% + 2rem); }

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--red);
  font-weight: 800;
}
.timeline-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

@media (max-width: 640px) {
  .timeline::before { left: 16px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; }
  .timeline-dot { left: 16px; }
  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content {
    width: 100%;
    margin: 0 0 0 2.5rem;
  }
}

/* ── Gallery ────────────────────────────────── */
.gallery-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  border: 2px solid var(--beige);
  background: var(--white);
  color: var(--brown-light);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-item {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}
.gallery-item .img-placeholder {
  border-radius: 0;
  height: 100%;
  aspect-ratio: unset;
  border: none;
  font-size: 0.75rem;
}
.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  background: rgba(61,28,2,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  background: #1a1a1a;
  border-radius: var(--radius);
  padding: 2rem;
  min-width: 300px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* ── Kalender ───────────────────────────────── */
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.calendar-table th {
  background: var(--brown);
  color: var(--gold-light);
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.calendar-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--beige);
  font-size: 0.92rem;
  color: var(--gray-800);
}
.calendar-table tr:last-child td { border-bottom: none; }
.calendar-table tr:hover td { background: var(--cream); }
.cal-date { font-weight: 700; color: var(--red); }
.cal-event { font-weight: 600; }
.cal-badge {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 0.72rem;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  font-weight: 600;
}

/* ── Shop ───────────────────────────────────── */
.shop-notice {
  background: linear-gradient(135deg, var(--brown) 0%, #3A1C08 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  color: var(--white);
  margin-bottom: 3rem;
}
.shop-notice h2 {
  color: var(--gold-light);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.shop-notice p {
  color: rgba(255,255,255,.8);
  margin-bottom: 1.5rem;
}

/* ── Kontakt ────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--brown);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--cream);
}
.contact-info-card h3 {
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}
.contact-info-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-info-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--gold-light);
}
.contact-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.5);
  margin-bottom: 0.15rem;
}
.contact-info-value { font-size: 0.92rem; color: var(--cream); }
.contact-info-value a { color: var(--gold-light); }
.contact-info-value a:hover { color: var(--white); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  margin-bottom: 1.5rem;
  color: var(--brown);
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--beige);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--brown);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,151,42,.15);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.map-placeholder {
  margin-top: 2rem;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── News/Blog ──────────────────────────────── */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-body { padding: 1.5rem; }
.news-date {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.news-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--brown);
  margin-bottom: 0.75rem;
}
.news-excerpt { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 1rem; }
.news-link {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.news-link:hover { color: var(--gold); }

/* ── Products / Produktion ──────────────────── */
.production-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 640px) { .production-stats { grid-template-columns: 1fr; } }

.prod-stat {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
}
.prod-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red);
}
.prod-stat-label {
  color: var(--gray-600);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* ── Rental Cards ───────────────────────────── */
.rental-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.rental-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.rental-card-body { padding: 1.5rem; flex: 1; }
.rental-card-footer {
  padding: 1rem 1.5rem;
  background: var(--cream);
  border-top: 1px solid var(--beige);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rental-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--red);
}
.rental-price-label {
  font-size: 0.75rem;
  color: var(--gray-400);
}
.rental-specs {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.rental-spec {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--gray-600);
}
.rental-spec::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Wagen/Stands Cards ─────────────────────── */
.wagen-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wagen-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wagen-card-body { padding: 1.5rem; }
.wagen-number {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  letter-spacing: 0.06em;
}
.wagen-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.wagen-sub {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.wagen-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.wagen-spec-tag {
  background: var(--cream);
  color: var(--brown-light);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid var(--beige);
}

/* ── Page Hero (inner pages) ────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--brown) 0%, #3A1C08 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
}
.page-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

/* ── Breadcrumb ─────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
  justify-content: center;
  position: relative;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb-sep { opacity: 0.4; }

/* ── Footer ─────────────────────────────────── */
.footer {
  background: #1A0A00;
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand h3 {
  font-family: var(--font-heading);
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}
.footer-brand p {
  font-size: 0.82rem;
  margin-top: 0.75rem;
  line-height: 1.7;
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition);
}
.social-btn:hover {
  background: var(--red);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }

.footer-contact-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.83rem;
}
.footer-contact-row span:first-child { color: var(--gold); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a { color: rgba(255,255,255,.5); font-size: 0.8rem; }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ── Cookie Banner ──────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1A0A00;
  color: rgba(255,255,255,.85);
  padding: 1.25rem 1.5rem;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.85rem; flex: 1; min-width: 260px; margin: 0; }
.cookie-banner p a { color: var(--gold-light); }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ── Scroll animations ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Back to top ────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 500;
  text-decoration: none;
}
.back-to-top.show { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-2px); background: var(--gold); color: var(--white); }

/* ── Divider ────────────────────────────────── */
.divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 2px;
  margin: 1.5rem auto;
}
.divider-left { margin: 1.5rem 0; }

/* ── Page-specific utils ─────────────────────── */
.lead {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.text-red { color: var(--red); }
.text-gold { color: var(--gold); }
.text-brown { color: var(--brown); }

.highlight-box {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.highlight-box p { color: var(--brown); margin: 0; font-size: 0.95rem; }

/* ── Shop Product Cards ──────────────────────── */
.shop-product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.shop-product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.shop-product-card img {
  width: 100%;
  display: block;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.shop-product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.shop-product-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--brown);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.shop-product-desc {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 0.75rem;
}
.shop-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}
.shop-product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--red);
  font-family: var(--font-heading);
}
.shop-product-price small {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gray-600);
  display: block;
  font-family: var(--font-body);
}
.shop-filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.shop-filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 2rem;
  border: 2px solid var(--beige);
  background: var(--white);
  color: var(--brown);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.shop-filter-btn:hover,
.shop-filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ── Warenkorb / Kasse ───────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  border-bottom: 2px solid var(--beige);
}
.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--beige);
  vertical-align: middle;
}
.cart-product-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
}
.cart-qty-input {
  width: 56px;
  padding: 0.35rem 0.5rem;
  border: 2px solid var(--beige);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown);
}
.cart-summary-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--beige);
  font-size: 0.95rem;
}
.cart-summary-row.total {
  border-bottom: none;
  padding-top: 1rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--brown);
}

/* ── Checkout Form ───────────────────────────── */
.checkout-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.35rem;
  margin-top: 1rem;
}
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--beige);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brown);
  background: var(--white);
  transition: border-color var(--transition);
}
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.checkout-steps {
  display: flex;
  gap: 0;
  margin-bottom: 2.5rem;
  counter-reset: step;
}
.checkout-step {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  border-bottom: 3px solid var(--beige);
  position: relative;
}
.checkout-step.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.checkout-step.done {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── Konto / Login ───────────────────────────── */
.login-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 460px;
  margin: 0 auto;
}
.login-box h2 {
  font-family: var(--font-heading);
  color: var(--brown);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* ── Versand / AGB Prose ─────────────────────── */
.prose h2 {
  font-family: var(--font-heading);
  color: var(--brown);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 2px solid var(--beige);
}
.prose h2:first-child { border-top: none; margin-top: 0; }
.prose p, .prose li { color: var(--gray-800); line-height: 1.8; margin-bottom: 0.75rem; }
.prose ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose table th,
.prose table td { padding: 0.75rem 1rem; border: 1px solid var(--beige); text-align: left; }
.prose table th { background: var(--beige); font-weight: 700; color: var(--brown); }
.prose strong { color: var(--brown); }

/* ── Mobile adjustments ─────────────────────── */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .page-hero { padding: 6rem 0 2.5rem; }
  .cart-table thead { display: none; }
  .cart-table td { display: block; padding: 0.5rem 0; border: none; }
  .cart-table tr { border-bottom: 2px solid var(--beige); padding: 1rem 0; display: block; }
  .checkout-steps { flex-wrap: wrap; }
}
