/* ============================================================
   Weingut Hans Wirsching — Shared Design System
   Multi-Page Prototyp, Tokens aus DESIGN.md
   ============================================================ */

:root {
  --wirsching-green: oklch(0.56 0.04 132);  /* Ortswein-Grün der VDP-Pyramide (Tier 3); helle Hintergrund-Bänder */
  --wirsching-green-deep: oklch(0.44 0.045 132); /* Erste-Lage-Ton der Pyramide; Flächen mit Kleintext (Kontrast ~6.8:1) */
  --wirsching-green-ui: #2E5A2E;
  --wirsching-green-soft: #3F6F4A;
  --wirsching-red: #B80007;
  --wirsching-gold: #AD9841;            /* dekorativ: Akzentlinien, Punkte, Chips */
  --wirsching-gold-bright: #C5AC4C;     /* dekorativ: Hover, drenched-Kontext */
  --wirsching-gold-ink: #8A762F;        /* lesbar: Eyebrows + Text auf Papier (WCAG AA) */

  --paper: #F6F1E8;
  --paper-deep: #ECE6D8;
  --paper-warm: #E5D9C4;
  --ink: #1A1A1A;
  --ink-muted: #5C5C5C;
  --hairline: #D7CFBE;

  /* Paper auf Grün (drenched) — vereinheitlichte Tonleiter */
  --paper-strong: #F6F1E8;
  --paper-overlay: rgb(246 241 232 / 92%);
  --paper-soft: rgb(246 241 232 / 82%);
  --paper-muted: rgb(246 241 232 / 60%);
  --paper-faint: rgb(246 241 232 / 40%);
  --hairline-paper: rgb(246 241 232 / 20%);

  --serif: 'Source Serif 4', 'Proforma', Georgia, serif;
  --sans: 'Mulish', 'Europa', system-ui, sans-serif;

  /* Type-Skala — 6 Stufen plus Body/Label */
  --display-xl: clamp(2rem, 4.5vw, 4rem);
  --display: clamp(2.25rem, 5.5vw, 5rem);
  --display-md: clamp(1.75rem, 3.5vw, 2.75rem);
  --headline: clamp(1.5rem, 2.4vw, 2rem);
  --title: clamp(1.25rem, 1.6vw, 1.5rem);
  --title-sm: clamp(1.125rem, 1.4vw, 1.375rem);
  --body-edit: clamp(1.1875rem, 1rem + 0.45vw, 1.375rem);
  --body: clamp(1.125rem, 1.05rem + 0.25vw, 1.1875rem);
  --label: 0.875rem;
  --micro: 1rem;

  --xs: 4px; --sm: 8px; --md: 16px;
  --lg: 24px; --xl: 40px; --2xl: 64px;
  --3xl: 96px; --4xl: 144px;
  --content-max: 1320px;
  --content-narrow: 720px;
  --content-reading: 65ch;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --dur-fast: 150ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 12px;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px;
  font-size: var(--micro); letter-spacing: 0.12em; text-transform: uppercase;
  z-index: 100; text-decoration: none;
}
.skip:focus { left: 12px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.drenched :focus-visible { outline: 2px solid var(--paper); }

/* ============ TYPE ============ */
.eyebrow,
.weinkachel__eyebrow,
.magazin-card__rubrik,
.person__eyebrow,
.pdp-buy__eyebrow {
  font-family: var(--sans);
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 var(--md);
}
.eyebrow--micro,
.weinkachel__eyebrow,
.magazin-card__rubrik {
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-bottom: var(--xs);
}
.drenched .eyebrow,
.drenched .magazin-card__rubrik,
.drenched .pdp-buy__eyebrow { color: var(--paper-muted); }
.eyebrow--green { color: var(--wirsching-green-ui); }
.eyebrow--gold { color: var(--wirsching-gold-ink); }

.headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--headline);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--display);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 var(--xl);
  text-wrap: balance;
}
.display:last-child { margin-bottom: 0; }
.display em, .headline em { font-style: italic; }

.body-edit {
  font-family: var(--serif);
  font-size: var(--body-edit);
  line-height: 1.55;
  font-weight: 400;
  max-width: var(--content-reading);
  text-wrap: pretty;
}
.body-edit em { color: var(--ink); }
.body-edit a {
  font-style: italic; color: var(--wirsching-green-ui);
  text-decoration: underline; text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
.drenched .body-edit a { color: var(--paper); }

.caption {
  font-family: var(--serif); font-style: italic;
  font-size: var(--body); color: var(--ink-muted);
}
.drenched .caption { color: var(--paper-muted); }
.caption--center { text-align: center; }

.micro { font-size: var(--micro); color: var(--ink-muted); letter-spacing: 0.02em; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 48px; padding: 14px 32px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent;
  border-radius: 0; cursor: pointer;
  transition: transform var(--dur-base) var(--ease), background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn--gold { background: var(--wirsching-gold-bright); color: var(--ink); }
.btn--gold:hover { background: var(--wirsching-gold); }
.btn--primary { background: var(--wirsching-green-ui); color: var(--paper); }
.btn--primary:hover { background: var(--wirsching-green); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ghost-paper { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--ghost-paper:hover { background: var(--paper); color: var(--wirsching-green); }

.btn--link {
  background: transparent; padding: 0; min-height: auto;
  color: var(--wirsching-green-ui); border: none;
  font-family: var(--sans); font-size: 13.5px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap var(--dur-base) var(--ease);
}
.btn--link::after { content: "→"; display: inline-block; transition: transform var(--dur-base) var(--ease); }
.btn--link:hover { gap: 12px; }
.drenched .btn--link, .btn--link.on-dark { color: var(--paper); }

/* CHIPS */
.chip {
  display: inline-block; padding: 6px 12px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; border-radius: 999px;
  background: transparent;
}
.chip--grosse { border: 1px solid var(--wirsching-gold); color: var(--wirsching-gold-ink); }
.chip--erste  { border: 1px solid var(--wirsching-green-ui); color: var(--wirsching-green-ui); }
.chip--orts   { border: 1px solid var(--ink-muted); color: var(--ink-muted); }
.chip--guts   { border: 1px solid var(--ink-muted); color: var(--ink-muted); }
.drenched .chip--grosse { border-color: var(--wirsching-gold-bright); color: var(--wirsching-gold-bright); }
.drenched .chip--erste, .drenched .chip--orts, .drenched .chip--guts { border-color: var(--paper); color: var(--paper); }

/* ============ LAYOUT ============ */
.container {
  width: 100%; max-width: var(--content-max);
  padding-inline: var(--gutter); margin-inline: auto;
}
.container--narrow { max-width: 880px; }
.container--reading { max-width: var(--content-narrow); }
.container--wide { max-width: 1480px; }

.section { padding-block: clamp(64px, 10vw, 144px); }
.section--theatre { padding-block: clamp(80px, 12vw, 160px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* Centered section intro (eyebrow + display + body) — replaces inline styles */
.section-intro {
  text-align: left;
  margin-bottom: var(--2xl);
}
.section-intro--center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: var(--3xl);
}
.section-intro--narrow { max-width: var(--content-narrow); }
.section-intro--center .body-edit { margin-inline: auto; }
.section-intro .display:last-child,
.section-intro .display:only-child { margin-bottom: 0; }
.section-intro .eyebrow + .display { margin-top: 0; }
.section-intro .display + .body-edit { margin-top: var(--md); }

/* Section footer with a centered CTA */
.section-actions {
  margin-top: var(--3xl);
  text-align: center;
}
.section-actions--tight { margin-top: var(--2xl); }

.bg-paper { background: var(--paper); }
.bg-paper-deep { background: var(--paper-deep); }
.bg-paper-warm { background: var(--paper-warm); }
.bg-green { background: var(--wirsching-green); color: var(--paper); }

.hairline { border: none; height: 1px; background: var(--hairline); margin: 0; }
.drenched .hairline { background: var(--hairline-paper); }

/* ============ UTILITY BAR ============ */
.utility {
  position: relative; z-index: 60;
  background: var(--wirsching-green-deep);
  color: var(--paper);
  font-family: var(--serif);
  font-size: var(--micro);
  letter-spacing: 0.02em;
}
.utility[hidden] { display: none; }
:root { --utility-height: 44px; }
body:has(.utility[hidden]) { --utility-height: 0px; }
.utility__inner {
  display: flex; align-items: center; justify-content: center;
  gap: var(--md); padding: 10px var(--gutter); min-height: 40px;
  position: relative; text-align: center;
}
.utility strong {
  font-weight: 400; font-style: italic;
  margin-right: 4px;
}
.utility__sep {
  display: inline-block; width: 4px; height: 4px;
  background: var(--wirsching-gold-bright);
  border-radius: 999px;
  margin: 0 var(--sm);
  vertical-align: middle;
}
.utility a {
  color: var(--wirsching-gold-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--wirsching-gold-bright);
  padding-bottom: 1px;
  margin-left: var(--sm);
  font-family: var(--sans); font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600;
  transition: color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.utility a:hover { color: var(--paper); border-color: var(--paper); }
.utility__close {
  position: absolute; right: calc(var(--gutter) - 4px); top: 50%;
  transform: translateY(-50%);
  background: none; border: none; color: var(--paper-soft);
  font-size: 20px; cursor: pointer; width: 28px; height: 28px;
  display: grid; place-items: center;
  transition: color var(--dur-base) var(--ease);
}
.utility__close:hover { color: var(--paper); }
@media (max-width: 760px) {
  .utility__inner { font-size: 13.5px; gap: var(--sm); padding-right: 44px; padding-left: var(--md); }
  .utility a { margin-left: var(--xs); }
}

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--hairline);
  backdrop-filter: blur(8px);
  background: var(--paper-overlay);
}
.header--transparent {
  position: absolute; top: var(--utility-height, 0); left: 0; right: 0;
  background: transparent; color: var(--paper);
}
.header--transparent .brand { color: var(--paper); }
.header--transparent .brand small { color: var(--paper-muted); }
.header--transparent .nav a { color: var(--paper); }
.header--transparent .icon-btn { color: var(--paper); }
.header--transparent.is-scrolled {
  position: fixed; top: 0; background: var(--paper-overlay); color: var(--ink);
}
.header--transparent.is-scrolled .brand,
.header--transparent.is-scrolled .nav a,
.header--transparent.is-scrolled .icon-btn { color: var(--ink); }
.header--transparent.is-scrolled .brand small { color: var(--ink-muted); }

.header__inner {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: var(--xl);
  padding: var(--md) var(--gutter); min-height: 80px;
}
.brand {
  font-family: var(--serif); font-weight: 400; font-size: 22px;
  letter-spacing: 0.02em; color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 12px;
}
/* Wirsching-Wortmark (farbige Variante mit Wappen + "HANS WIRSCHING") */
.brand__logo-img {
  display: block;
  height: 56px;
  width: auto;
  flex-shrink: 0;
}
@media (max-width: 980px) {
  .brand__logo-img { height: 44px; }
}
/* Brand-Logo: SVG enthält Wappen oben + "HANS WIRSCHING"-Wortmark unten.
   Im Header zeigen wir nur das Wappen — der Text-Brand daneben übernimmt den Namen. */
.brand__logo {
  width: 44px;
  height: 40px;
  display: block;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
}
.brand__text {
  display: flex; flex-direction: column; line-height: 1.05;
}
.brand__text small {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-muted); font-weight: 600;
  margin-top: 3px;
}

.nav {
  display: flex;
  gap: clamp(var(--md), 1.6vw, var(--lg));
  justify-self: center;
}
.nav a {
  font-family: var(--sans); font-size: 13.5px; letter-spacing: 0.14em;
  font-weight: 500; text-transform: uppercase;
  color: inherit; text-decoration: none;
  padding: 10px 4px; position: relative;
  transition: color var(--dur-base) var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 6px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-expo);
}
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { font-weight: 600; }

.utility-icons {
  display: flex;
  gap: var(--sm);
  align-items: center;
}
.icon-btn {
  background: none; border: none;
  color: inherit; cursor: pointer;
  padding: 0;
  width: 40px; height: 40px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.icon-btn:hover { background: rgb(26 26 26 / 0.06); }
.icon-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.header--transparent .icon-btn:hover { background: rgb(246 241 232 / 0.14); }

.icon-btn__svg {
  width: 22px; height: 22px;
  display: block;
  transition: transform var(--dur-base) var(--ease-expo);
}
.icon-btn:hover .icon-btn__svg { transform: translateY(-1px); }

/* Cart-Count: dezenter Gold-Disc rechts unten */
.icon-btn .count {
  position: absolute;
  top: 4px; right: 2px;
  background: var(--wirsching-gold);
  color: var(--ink);
  font-size: 12px; font-weight: 700;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  display: grid; place-items: center;
  letter-spacing: 0;
  font-family: var(--sans);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--paper);
}
.header--transparent .icon-btn .count {
  box-shadow: 0 0 0 2px rgb(19 84 19 / 0.85);
}
.header--transparent.is-scrolled .icon-btn .count {
  box-shadow: 0 0 0 2px var(--paper);
}
.icon-btn .count[data-count="0"] { display: none; }

.hamburger { display: none; }

@media (max-width: 980px) {
  .nav, .utility-icons .search-btn, .utility-icons .account-btn { display: none; }
  .hamburger { display: inline-flex; }
  .header__inner { gap: var(--md); }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: center;
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}
@media (max-width: 760px) { .hero { min-height: 84svh; } }
.hero--page {
  min-height: 84svh;
  /* Foto füllt die Bühne, Text-Cluster sitzt unten — editorial, Plakat-haft. */
  align-items: end;
}
@media (max-width: 760px) { .hero--page { min-height: 72svh; } }
.hero--page .hero__inner {
  padding-bottom: clamp(72px, 10vh, 128px);
}
/* Fallback für zentrierte Kurz-Heros (aktuell ungenutzt, defensiv erhalten) */
.hero--page.hero--centered {
  align-items: center;
  padding-top: clamp(72px, 8vh, 112px);
}

.hero__photo {
  position: absolute; inset: 0; z-index: -2;
  background: var(--wirsching-green);
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover;
  /* Fallback-Crop: Subjekt in der oberen Bildhälfte, passend zum
     Bottom-aligned Text-Cluster. Per-Page-Tuning via --hero-pos. */
  object-position: var(--hero-pos, 50% 35%);
  transform-origin: 50% 35%;
  animation: hero-breath 64s ease-in-out infinite alternate;
  will-change: transform;
}
/* Per-Page Bildausschnitt — warmes Wein-Schwarz statt Schwarz-Schwarz */
/* Mit Bottom-aligned Text muss das Foto-Subjekt in der oberen Bühnenhälfte sitzen,
   damit der Text-Cluster unten freisteht. */
body[data-screen-label="01 Startseite"]    { --hero-pos: 50% 50%; }
body[data-screen-label="Familie und Team"] { --hero-pos: 50% 18%; }
body[data-screen-label="Erlebnisse"]       { --hero-pos: 54% 28%; }
body[data-screen-label="Weine"]            { --hero-pos: 62% 30%; }
body[data-screen-label="Lagen"]            { --hero-pos: 50% 38%; }
body[data-screen-label="Kontakt"]          { --hero-pos: 50% 42%; }
@keyframes hero-breath {
  0%   { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__photo img { animation: none; transform: none; }
}
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  /* Lichtverteilung folgt der Komposition: oben atmet das Foto, unten anchert
     ein kräftiger Verlauf das Text-Cluster. Wein-Schwarz, leicht warm. */
  background:
    linear-gradient(180deg,
      rgba(8, 10, 8, 0.32) 0%,
      rgba(8, 10, 8, 0.08) 22%,
      rgba(8, 10, 8, 0.10) 52%,
      rgba(8, 10, 8, 0.72) 100%);
  z-index: 1;
}
/* Page-Hero: Text sitzt unten links — Scrim ist links kräftig und unten kräftig,
   Sweet-Spot ist die untere linke Ecke wo der Text-Anker liegt. */
.hero--page:not(.hero--centered) .hero__photo::after {
  background:
    linear-gradient(90deg,
      rgba(8, 10, 8, 0.82) 0%,
      rgba(8, 10, 8, 0.42) 32%,
      rgba(8, 10, 8, 0.08) 64%,
      transparent 100%),
    linear-gradient(180deg,
      rgba(8, 10, 8, 0.18) 0%,
      transparent 26%,
      rgba(8, 10, 8, 0.66) 100%);
}
.hero__credit {
  position: absolute; bottom: 20px; right: 24px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px; color: var(--paper-muted);
  letter-spacing: 0.06em;
  z-index: 2;
}
@media (max-width: 760px) {
  .hero__credit { bottom: 13.5px; right: 13.5px; font-size: 11px; }
}

.hero__inner {
  position: relative;
  width: 100%; max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--xl) var(--gutter) calc(var(--xl) + 60px);
  display: flex; flex-direction: column;
}
.hero--centered .hero__inner { text-align: center; align-items: center; }

.hero__eyebrow {
  font-family: var(--sans); font-size: var(--label); font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--paper-soft);
  margin: 0 0 var(--xl);
  text-indent: 0.3em;
}
.hero--centered .hero__eyebrow::before,
.hero--centered .hero__eyebrow::after {
  content: ""; display: inline-block; width: 40px; height: 1px;
  background: var(--paper-muted);
  vertical-align: middle; margin: 0 calc(var(--md) + 2px);
}
.hero__wordmark {
  display: block;
  width: clamp(240px, 32vw, 460px);
  height: auto;
  margin: 0 auto var(--xl);
  filter: invert(1);
}
.hero__wordmark-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--display);
  line-height: 1.05; margin: 0 0 var(--xl);
  text-shadow: 0 1px 24px rgba(8, 10, 8, 0.38);
}
.hero__title em { font-style: italic; }
.hero__sub {
  font-family: var(--serif); font-size: var(--title);
  font-weight: 400; line-height: 1.45;
  max-width: 580px; margin: 0 0 var(--2xl);
  color: var(--paper);
  text-shadow: 0 1px 18px rgba(8, 10, 8, 0.48);
  text-wrap: balance;
}
.hero--centered .hero__sub { margin-left: auto; margin-right: auto; }
.hero__sub em { font-style: italic; }
.hero__ctas { display: flex; gap: var(--md); flex-wrap: wrap; }
.hero--centered .hero__ctas { justify-content: center; gap: var(--lg); }
@media (max-width: 540px) {
  .hero--centered .hero__ctas { gap: var(--md); flex-direction: column; align-items: stretch; }
  .hero--centered .hero__ctas .btn { width: 100%; }
}
.hero__scrollcue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--paper-muted);
  padding-bottom: 22px;
  animation: hero-pulse 2.6s var(--ease-expo) infinite;
  transition: opacity 520ms var(--ease-expo), transform 520ms var(--ease-expo);
}
.hero__scrollcue.is-faded {
  opacity: 0 !important;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none;
  animation-play-state: paused;
}
.hero__scrollcue::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 1px; height: 14px;
  background: linear-gradient(180deg, var(--paper-muted) 0%, transparent 100%);
  transform: translateX(-50%);
}
@keyframes hero-pulse {
  0%, 100% { opacity: 0.45; transform: translate(-50%, 0); }
  50% { opacity: 0.95; transform: translate(-50%, 5px); }
}

/* ============ FULL-BLEED TEASER (Foto-Drench mit Scrim) ============
   Wie ein Hero in der Seitenmitte: Bild deckt die Bühne, Scrim dunkelt ab,
   Text in Paper liegt darüber. Für Familien-Teaser auf der Startseite. */
.teaser-fullbleed {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  min-height: clamp(560px, 78vh, 820px);
  display: grid;
  align-items: center;
  padding-block: clamp(80px, 12vw, 160px);
}
.teaser-fullbleed__photo {
  position: absolute; inset: 0; z-index: -2;
  background: var(--wirsching-green);
}
.teaser-fullbleed__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
}
.teaser-fullbleed__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.2) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 35%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}
.teaser-fullbleed__content {
  display: block; text-decoration: none; color: inherit;
  max-width: 56ch;
}
.teaser-fullbleed__title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--display); line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 var(--xl);
  text-wrap: balance;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.35));
}
.teaser-fullbleed__title em { font-style: italic; }
.teaser-fullbleed__sub {
  font-family: var(--serif); font-size: var(--body-edit);
  line-height: 1.55; margin: 0 0 var(--xl);
  max-width: 50ch;
  color: var(--paper-overlay);
}
.teaser-fullbleed__sub em { font-style: italic; color: var(--paper); }
.teaser-fullbleed .teaser__pullquote {
  margin: 0 0 var(--xl);
  border-left-color: var(--hairline-paper);
}
.teaser-fullbleed .teaser__pullquote p { color: var(--paper); }
.teaser-fullbleed .teaser__pullquote cite { color: var(--paper-muted); }
.teaser-fullbleed .btn--link { color: var(--paper); }
.teaser-fullbleed__content:hover .btn--link { gap: 14px; }
.teaser-fullbleed__content:hover .teaser-fullbleed__title { color: var(--wirsching-gold-bright); }

/* ============ TEASER STACKED (Editorial Magazin-Doppelseite) ============
   Bild ungeschnitten 16:9 oben, Bildunterschrift mit Namen, darunter
   zentrierter Editorial-Block mit Zitat als Section-Headline.
   Für Familien-Teaser auf der Startseite. */
.teaser-stacked {
  display: block;
  text-decoration: none;
  color: inherit;
}
.teaser-stacked__eyebrow {
  text-align: center;
  margin: 0 0 var(--xl);
}
.teaser-stacked__media {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.teaser-stacked__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  transition: transform 600ms var(--ease);
}
.teaser-stacked:hover .teaser-stacked__media img { transform: scale(1.015); }
.teaser-stacked__media figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--body);
  color: var(--ink-muted);
  text-align: center;
  margin: var(--lg) 0 0;
}
.teaser-stacked__media figcaption em {
  color: var(--ink);
  font-style: italic;
}
.teaser-stacked__block {
  max-width: 720px;
  margin: var(--2xl) auto 0;
  text-align: center;
  position: relative;
}
.teaser-stacked__block::before {
  content: ""; display: block;
  width: 32px; height: 1px;
  background: var(--hairline);
  margin: 0 auto var(--xl);
}
.teaser-stacked__quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--display-md);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 var(--lg);
  color: var(--ink);
  text-wrap: balance;
  transition: color var(--dur-base) var(--ease);
}
.teaser-stacked:hover .teaser-stacked__quote { color: var(--wirsching-green-ui); }
.teaser-stacked__sig {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 var(--2xl);
}
.teaser-stacked__sub {
  font-family: var(--serif);
  font-size: var(--body-edit);
  line-height: 1.55;
  margin: 0 auto var(--xl);
  max-width: 56ch;
  text-wrap: pretty;
}
.teaser-stacked__sub em { font-style: italic; }
.teaser-stacked .btn--link { margin-top: var(--sm); }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  font-family: var(--sans); font-size: var(--micro);
  letter-spacing: 0.04em; color: var(--ink-muted);
  padding: var(--md) 0; border-bottom: 1px solid var(--hairline);
}
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb__sep { margin: 0 var(--sm); opacity: 0.5; }
.breadcrumb__current { color: var(--ink); }

/* ============ TEASER (Startseiten-Pattern) ============ */
.teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.teaser--reverse { direction: rtl; }
.teaser--reverse > * { direction: ltr; }
.teaser__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.teaser__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease);
}
/* Gruppen-/Familienbild: Querformat 3:2, damit niemand am Rand abgeschnitten wird.
   Original ist 16:9 — bei 3:2 fallen nur ~15% links/rechts weg, äußerste Personen
   bleiben mit Luft im Bild. object-position center hält die Gruppe mittig. */
.teaser__photo--group { aspect-ratio: 3 / 2; }
.teaser__photo--group img { object-position: 50% 50%; }
.teaser-link {
  text-decoration: none; color: inherit;
  transition: opacity var(--dur-base) var(--ease);
}
.teaser-link:hover .teaser__title { color: var(--wirsching-green-ui); }
.teaser-link:hover .btn--link { gap: 14px; }
.drenched .teaser-link:hover .teaser__title { color: var(--wirsching-gold-bright); }
.teaser:hover .teaser__photo img { transform: scale(1.02); }
.teaser__photo--contain {
  background: var(--paper-warm);
}
.teaser__photo--contain img {
  object-fit: contain;
  padding: 6%;
}
/* Bottle-Stage: einheitliches System für Flaschen-Darstellung
   Varianten: --teaser (groß), --tile (Karten), --hero (PDP), --finder (kompakt).
   Flexbox + min-* 0 hebt die Default-min-content-Constraint für IMG auf,
   damit max-width/max-height auch bei tall-narrow Flaschen-PNGs greift. */
.bottle-stage,
.teaser__photo--bottle,
.weinkachel__photo,
.pdp-bottle,
.finder__result-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  transition: background var(--dur-base) var(--ease);
  /* Padding gleich auf den Container; default = PDP-Referenz */
  padding: 8% 18%;
}
.bottle-stage > img,
.teaser__photo--bottle img,
.weinkachel__photo img,
.pdp-bottle img,
.finder__result-photo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  /* CRITICAL: ohne min-width/min-height 0 erzwingt Flex die min-content-Größe
     und ignoriert max-height — die Flasche würde unten abgeschnitten. */
  min-width: 0;
  min-height: 0;
  flex: 0 1 auto;
  object-fit: contain;
  object-position: center;
  display: block;
  z-index: 1;
  transition: transform 500ms var(--ease);
}
/* Varianten — pro Kontext eigenes Padding */
.teaser__photo--bottle { padding: 6% 10%; }
.teaser__photo--bottle img { filter: drop-shadow(0 18px 32px rgba(0,0,0,0.18)); }
.teaser__photo--bottle.is-paper { background: var(--paper); }
.teaser__photo--bottle.is-deep { background: var(--paper-deep); }
.teaser__num {
  font-family: var(--serif); font-style: italic;
  color: var(--wirsching-green-ui); font-size: var(--body);
  margin-bottom: var(--sm);
  letter-spacing: 0.04em;
}
.drenched .teaser__num { color: var(--wirsching-gold-bright); }
.teaser__text { padding-block: var(--xl); }
.teaser__title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--display-xl);
  line-height: 1.1; margin: 0 0 var(--md);
  text-wrap: balance;
  transition: color var(--dur-base) var(--ease);
}
.teaser__title em { font-style: italic; }
.teaser__sub {
  font-family: var(--serif); font-size: var(--body-edit);
  line-height: 1.55; margin: 0 0 var(--xl);
  max-width: 50ch;
}
.teaser__sub em { font-style: italic; }
.teaser__sub + .teaser__sub { margin-top: calc(-1 * var(--lg)); }

/* Pull-Quote im Editorial-Teaser
   Stimme einer Person zwischen Title und Sub.
   Italic-Block mit Hairline-Akzent links. */
.teaser__pullquote {
  margin: 0 0 var(--xl);
  padding: var(--xs) 0 var(--xs) var(--lg);
  border-left: 1px solid var(--hairline);
  max-width: 50ch;
}

/* Events-Anteaser im Erlebnisse-Teaser
   Drei Termine als kompakte Editorial-Liste mit Hairlines. */
.teaser-events {
  list-style: none;
  margin: var(--lg) 0 var(--xl);
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.teaser-events__row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: var(--md);
  align-items: baseline;
  padding: var(--md) 0;
  border-bottom: 1px solid var(--hairline);
}
.teaser-events__date {
  font-family: var(--sans); font-size: 13px;
  font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.teaser-events__title {
  font-family: var(--serif); font-size: var(--body-edit);
  color: var(--ink); line-height: 1.3;
}
.teaser-events__status {
  font-family: var(--sans); font-size: 12px;
  font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}
.teaser-events__status--low { color: var(--wirsching-red); }
.drenched .teaser-events,
.drenched .teaser-events__row { border-color: var(--hairline-paper); }
.drenched .teaser-events__title { color: var(--paper); }
.drenched .teaser-events__date,
.drenched .teaser-events__status { color: var(--paper-muted); }
.teaser__pullquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--title);
  line-height: 1.4;
  margin: 0 0 var(--sm);
  color: var(--ink);
  text-wrap: balance;
}
.teaser__pullquote cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.drenched .teaser__pullquote { border-left-color: var(--hairline-paper); }
.drenched .teaser__pullquote p { color: var(--paper); }
.drenched .teaser__pullquote cite { color: var(--paper-muted); }
.teaser__meta {
  display: flex; gap: var(--lg); flex-wrap: wrap;
  margin: var(--lg) 0 var(--xl);
  font-family: var(--sans); font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600;
}
.drenched .teaser__meta { color: var(--paper-muted); }
@media (max-width: 880px) {
  .teaser { grid-template-columns: 1fr; }
  .teaser--reverse { direction: ltr; }
}

/* ============ FACT GRID ============ */
@property --fact-count { syntax: '<integer>'; initial-value: 0; inherits: false; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--xl);
  padding-top: var(--2xl);
  border-top: 1px solid var(--hairline);
}
.drenched .facts { border-color: var(--hairline-paper); }
.fact {
  position: relative;
  padding-bottom: var(--sm);
}
.fact::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--hairline);
  opacity: 0.5;
  animation: fact-rule 1.02s ease-out forwards;
  animation-delay: calc(2.38s + var(--fact-stagger, 0s));
}
.drenched .fact::after { background: var(--hairline-paper); }
.fact:nth-child(1) { --fact-stagger: 0s; }
.fact:nth-child(2) { --fact-stagger: 0.18s; }
.fact:nth-child(3) { --fact-stagger: 0.36s; }
.fact:nth-child(4) { --fact-stagger: 0.54s; }
.fact__num {
  font-family: var(--serif); font-size: var(--display-xl);
  font-weight: 400; display: block; line-height: 1;
  margin-bottom: var(--sm);
  font-variant-numeric: tabular-nums;
}
.fact__num em { font-style: italic; }
.fact__num__inner {
  display: inline-block;
  counter-reset: fc var(--fact-count, 0);
  animation: 2.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--fact-stagger, 0s);
}
.fact__num__inner::after { content: counter(fc); }
.fact:nth-child(1) .fact__num__inner { animation-name: fact-count-1; }
.fact:nth-child(2) .fact__num__inner { animation-name: fact-count-2; }
.fact:nth-child(3) .fact__num__inner { animation-name: fact-count-3; }
.fact:nth-child(4) .fact__num__inner { animation-name: fact-count-4; }
.fact__suffix {
  font-style: normal;
  font-size: 0.5em;
  margin-left: 0.15em;
  opacity: 0;
  animation: fact-fade 1.02s ease-out forwards;
  animation-delay: calc(2.04s + var(--fact-stagger, 0s));
}
.fact__label {
  font-family: var(--sans); font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600;
}
.facts .fact__label {
  opacity: 0;
  transform: translateY(4px);
  animation: fact-fade-up 1.02s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(2.21s + var(--fact-stagger, 0s));
}
.drenched .fact__label { color: var(--paper-muted); }

@keyframes fact-count-1 { from { --fact-count: 0; } to { --fact-count: 1630; } }
@keyframes fact-count-2 { from { --fact-count: 0; } to { --fact-count: 14; } }
@keyframes fact-count-3 { from { --fact-count: 0; } to { --fact-count: 90; } }
@keyframes fact-count-4 { from { --fact-count: 0; } to { --fact-count: 74; } }
@keyframes fact-fade { to { opacity: 1; } }
@keyframes fact-fade-up { to { opacity: 1; transform: translateY(0); } }
@keyframes fact-rule { to { right: 0; } }

@media (prefers-reduced-motion: reduce) {
  .fact__num__inner,
  .fact__suffix,
  .facts .fact__label,
  .fact::after {
    animation-duration: 0.01s !important;
    animation-delay: 0s !important;
  }
}
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, 1fr); gap: var(--lg); }
}

/* ============ PRESSESTIMME ============ */
.presse-xl { text-align: center; }
.presse-xl__quote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: var(--display-xl); line-height: 1.18;
  letter-spacing: -0.008em;
  margin: 0 0 var(--xl); text-wrap: balance;
  color: var(--ink);
}
.presse-xl__quote::before { content: "„"; opacity: 0.42; margin-right: 0.04em; }
.presse-xl__quote::after  { content: "“"; opacity: 0.42; margin-left: 0.04em; }
.presse-xl__eyebrow { margin-bottom: var(--xl); }
.presse-xl__source {
  display: inline-flex; align-items: center; gap: var(--md);
  font-family: var(--sans); font-size: 13px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600;
}
.presse-xl__source::before {
  content: ""; display: inline-block;
  width: 24px; height: 1px; background: var(--ink-muted);
  opacity: 0.55;
}

/* ============ NEWSLETTER ============ */
.newsletter { background: var(--wirsching-green-deep); color: var(--paper); text-align: center; }
.newsletter .eyebrow {
  color: var(--wirsching-gold-bright);
  margin-bottom: var(--lg);
}
.newsletter__big {
  font-family: var(--serif); font-size: var(--display);
  font-weight: 400; line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 var(--md); color: var(--paper);
  text-wrap: balance;
}
.newsletter__big em { font-style: italic; }
.newsletter__sub {
  font-family: var(--serif); font-size: var(--body-edit);
  max-width: 540px; margin: 0 auto var(--2xl);
  color: var(--paper-soft);
  text-wrap: pretty;
}
.newsletter__form {
  display: flex; max-width: 480px; margin: 0 auto;
}
.newsletter__form input[type="email"] {
  flex: 1; background: transparent;
  border: 1px solid var(--paper-muted);
  border-right: none; color: var(--paper);
  font-family: var(--sans); font-size: 15.5px;
  padding: 0 var(--lg); height: 56px;
  border-radius: 0;
  transition: border-color var(--dur-base) var(--ease);
}
.newsletter__form input[type="email"]::placeholder { color: var(--paper-faint); }
.newsletter__form input[type="email"]:focus {
  outline: none;
  border-color: var(--wirsching-gold-bright);
}
.newsletter__form .btn { height: 56px; min-height: 56px; padding-inline: var(--xl); }
.newsletter__legal {
  font-size: 13px; color: var(--paper-muted);
  margin-top: var(--md); max-width: 480px; margin-inline: auto;
  line-height: 1.5;
}
.newsletter__legal a {
  color: var(--paper); text-decoration: underline;
  text-underline-offset: 0.18em; text-decoration-thickness: 1px;
}
.newsletter__success {
  font-family: var(--serif); font-style: italic;
  color: var(--paper);
  margin-top: var(--md); min-height: 1.5em;
  opacity: 0; transition: opacity var(--dur-slow) var(--ease);
}
.newsletter__success.show { opacity: 1; }
@media (max-width: 540px) {
  .newsletter__form { flex-direction: column; gap: var(--sm); }
  .newsletter__form input[type="email"] {
    border-right: 1px solid var(--paper-muted);
  }
}

/* ============ FOOTER ============ */
:root {
  --footer-bg: #0A2F0A;          /* deutlich tiefer als CI-Grün, hebt natürlich vom Newsletter ab */
}
.footer {
  background: var(--footer-bg);
  color: var(--paper);
  padding-block: var(--3xl) var(--xl);
  /* Kein border-top: der Farbsprung wirsching-green → footer-bg trägt den
     Übergang selbst (10% dunkler). Goldene Trennlinie war überzeichnet und
     funktionierte auf Wein-Detail (Paper darüber) nicht. */
}
/* Bei tieferem Footer-Ton: Schriftfarben minimal anheben, damit Kontrast erhalten bleibt */
.footer .footer__col-title { color: rgb(246 241 232 / 78%); }
.footer__bottom { color: rgb(246 241 232 / 78%); }
.footer__compliance { color: rgb(246 241 232 / 70%); }

/* ============================================================
   FOOTER · Tier 1 · Brand-Block + Navigations-Spalten
   Asymmetrisches Grid: Brand (links, breit) + 3 Nav-Spalten (rechts).
   Vermeidet die Monotone 4-Spalten-Reihe alter Footer.
   ============================================================ */
.footer__top {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(0, 1.6fr);
  gap: clamp(48px, 6vw, 96px);
  padding-bottom: var(--2xl);
  border-bottom: 1px solid var(--hairline-paper);
}
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr; gap: var(--2xl); }
}

/* Brand-Block: Identität + Adresse, intern als Vertikalrhythmus */
.footer__brand {
  display: flex; flex-direction: column;
  gap: var(--xl);
}
.footer__brand-id {
  display: flex; flex-direction: column;
  gap: var(--md);
}
.footer__logo {
  width: auto; height: 88px;
  margin: 0;
  filter: invert(1);
  align-self: flex-start;
}
.footer__brand-line {
  font-family: var(--serif);
  font-size: var(--title-sm);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  margin: 0;
  color: rgb(246 241 232 / 86%);
  letter-spacing: 0.005em;
}
.footer__brand-line em {
  font-style: normal;
  color: var(--paper);
}

/* Adresse: zwei Mini-Blöcke (Ort + Kontakt) mit eigener Rhythmik */
.footer__addr {
  display: flex; flex-direction: column;
  gap: var(--md);
  font-family: var(--serif); font-style: normal;
  font-size: var(--body); line-height: 1.55;
  color: rgb(246 241 232 / 92%);
  padding-top: var(--md);
  border-top: 1px solid var(--hairline-paper);
  max-width: 32ch;
}
.footer__addr-place { display: block; }
.footer__addr-contact {
  display: flex; flex-direction: column;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.footer__addr a {
  color: var(--paper); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease);
  align-self: flex-start;
}
.footer__addr a:hover { border-bottom-color: var(--paper-muted); }

/* Navigations-Spalten: 3-Spalt Grid mit eigener Rhythmik */
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
@media (max-width: 720px) {
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--xl); }
}
@media (max-width: 480px) {
  .footer__nav { grid-template-columns: 1fr; gap: var(--lg); }
}

.footer__col-title {
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin: 0 0 var(--lg);
  padding-bottom: var(--sm);
  border-bottom: 1px solid var(--hairline-paper);
}
.footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.footer__col a {
  color: var(--paper); text-decoration: none;
  font-size: var(--body); font-family: var(--serif);
  display: inline-flex; align-items: baseline; gap: 0.4em;
  padding: 2px 0;
  transition: color var(--dur-base) var(--ease);
}
.footer__col a::before {
  content: ""; display: inline-block;
  width: 0; height: 1px; background: currentColor;
  transition: width var(--dur-base) var(--ease-expo);
  align-self: center;
}
.footer__col a:hover { color: var(--wirsching-gold-bright); }
.footer__col a:hover::before { width: 10px; }

/* ============================================================
   FOOTER · Tier 2 · Zertifikat-Band (full width)
   Eigener horizontaler Streifen. Holt die Logos aus der
   Brand-Spalte heraus, gibt ihnen Würde.
   ============================================================ */
.footer__band {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  padding-block: var(--xl);
  border-bottom: 1px solid var(--hairline-paper);
}
@media (max-width: 720px) {
  .footer__band {
    grid-template-columns: 1fr;
    gap: var(--md);
    padding-block: var(--lg);
  }
}
.footer__band-eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper-muted);
  line-height: 1.4;
  max-width: 18ch;
}

/* ============================================================
   FOOTER · Tier 3 · Bottom
   Zwei klare Zeilen: Legal-Links (typografisch) + Copyright/Compliance.
   ============================================================ */
.footer__bottom {
  padding-top: var(--xl);
  display: flex; flex-direction: column;
  gap: var(--lg);
  font-size: var(--micro);
  color: rgb(246 241 232 / 78%);
}

.footer__legal {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap;
  gap: 4px clamp(20px, 2.5vw, 36px);
  align-items: baseline;
}
.footer__legal li { position: relative; }
.footer__legal li + li::before {
  content: ""; position: absolute;
  left: calc(-1 * clamp(20px, 2.5vw, 36px) / 2);
  top: 50%;
  width: 2px; height: 2px; border-radius: 999px;
  background: var(--paper-muted);
  opacity: 0.55;
  transform: translate(-50%, -50%);
}
.footer__legal a {
  color: rgb(246 241 232 / 82%);
  text-decoration: none;
  font-family: var(--sans); font-size: 13.5px;
  letter-spacing: 0.06em;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.footer__legal a:hover {
  color: var(--paper);
  border-bottom-color: var(--paper-muted);
}

.footer__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: baseline;
  padding-top: var(--md);
  border-top: 1px solid var(--hairline-paper);
}
@media (max-width: 760px) {
  .footer__meta { grid-template-columns: 1fr; gap: var(--sm); }
}
.footer__copy {
  font-family: var(--serif); font-style: italic;
  font-size: var(--micro);
  color: rgb(246 241 232 / 78%);
  white-space: nowrap;
}
.footer__compliance {
  font-family: var(--sans); font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
  color: rgb(246 241 232 / 72%);
  max-width: 88ch;
}
.footer__compliance a {
  color: rgb(246 241 232 / 88%);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color var(--dur-base) var(--ease);
}
.footer__compliance a:hover { color: var(--paper); }

/* ============ CART DRAWER ============ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(26, 26, 26, 0.5);
  z-index: 90; opacity: 0; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease);
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(480px, 90vw); background: var(--paper);
  z-index: 95; transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-expo);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--lg) var(--xl); border-bottom: 1px solid var(--hairline);
}
.cart-drawer__head h3 {
  font-family: var(--serif); font-size: var(--title);
  font-weight: 400; margin: 0;
}
.cart-drawer__close {
  background: none; border: none; cursor: pointer;
  font-size: 24px; color: var(--ink);
  width: 40px; height: 40px; display: grid; place-items: center;
}
.cart-drawer__items { flex: 1; overflow-y: auto; padding: var(--lg) var(--xl); }
.cart-empty {
  text-align: center; padding: var(--3xl) 0;
  font-family: var(--serif); font-style: italic;
  color: var(--ink-muted);
}
.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: var(--md); padding: var(--md) 0;
  border-bottom: 1px solid var(--hairline); align-items: center;
}
.cart-item__photo {
  width: 64px; height: 84px; background: var(--paper-warm);
  display: grid; place-items: center;
}
.cart-item__photo img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.cart-item__name {
  font-family: var(--serif); font-size: var(--body);
  margin: 0 0 var(--xs); line-height: 1.2;
}
.cart-item__name em { font-style: italic; }
.cart-item__qty {
  font-family: var(--sans); font-size: 13px;
  letter-spacing: 0.12em; color: var(--ink-muted); text-transform: uppercase;
}
.cart-item__price { font-family: var(--serif); font-size: var(--body); }
.cart-item__remove {
  background: none; border: none;
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted); cursor: pointer;
  padding: 0; margin-top: 4px;
}
.cart-item__remove:hover { color: var(--wirsching-red); }
.cart-drawer__foot {
  padding: var(--lg) var(--xl);
  border-top: 1px solid var(--hairline);
  background: var(--paper-deep);
}
.cart-progress { margin-bottom: var(--lg); }
.cart-progress__label {
  display: flex; justify-content: space-between;
  font-family: var(--sans); font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 8px;
}
.cart-progress__bar { height: 4px; background: var(--hairline); position: relative; overflow: hidden; }
.cart-progress__fill {
  position: absolute; inset: 0 100% 0 0;
  background: var(--wirsching-green-ui);
  transition: right var(--dur-slow) var(--ease);
}
.cart-progress__fill.complete { background: var(--wirsching-gold-bright); }
.cart-progress__note {
  font-family: var(--serif); font-style: italic;
  font-size: var(--micro); color: var(--ink-muted); margin-top: 10px;
}
.cart-total {
  display: flex; justify-content: space-between;
  font-family: var(--serif); font-size: var(--body-edit);
  margin-bottom: var(--lg);
}
.cart-drawer__cta { width: 100%; display: flex; justify-content: center; }
.cart-drawer__note {
  text-align: center; margin-top: var(--md);
  color: var(--ink-muted);
}

/* Listen-Nr.-Schnellbestellung im Cart-Drawer */
.listno-quickorder {
  margin: 0 calc(var(--xl) * -1) var(--lg);
  padding: var(--lg) var(--xl);
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.listno-quickorder__label {
  display: block;
  font-family: var(--sans); font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-muted);
  margin-bottom: 10px;
}
.listno-quickorder__row {
  display: flex; gap: 8px;
}
.listno-quickorder__row input {
  flex: 1; min-width: 0;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.9375rem; letter-spacing: 0.04em;
  padding: 12px var(--md);
  background: var(--paper);
  border: 1px solid var(--hairline);
  color: var(--ink);
}
.listno-quickorder__row input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-color: var(--ink);
}
.listno-quickorder__btn {
  min-height: 44px; padding: 0 var(--lg);
  font-size: 13px;
}
.listno-quickorder__hint {
  font-family: var(--serif); font-style: italic;
  font-size: var(--micro); color: var(--ink-muted);
  margin: 8px 0 0;
}

/* ============ MOBILE MENU ============ */
.mobmenu {
  position: fixed; inset: 0; background: var(--wirsching-green-deep);
  color: var(--paper); z-index: 95;
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-expo);
  display: flex; flex-direction: column;
  padding: var(--xl) var(--gutter);
}
.mobmenu.open { transform: translateY(0); }
.mobmenu__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--3xl);
}
.mobmenu__close {
  background: none; border: none; color: var(--paper);
  font-size: 28px; cursor: pointer;
}
.mobmenu nav { display: flex; flex-direction: column; gap: var(--md); }
.mobmenu nav a {
  font-family: var(--serif); font-size: var(--display-md);
  font-weight: 400; color: var(--paper);
  text-decoration: none; padding: var(--xs) 0;
}
.mobmenu nav a em { font-style: italic; }
.mobmenu nav a[aria-current="page"] { font-style: italic; opacity: 0.6; }
.mobmenu__brand { color: var(--paper); }
.mobmenu__brand small { color: var(--paper-muted); }
.mobmenu__foot {
  margin-top: auto; padding-top: var(--xl);
  border-top: 1px solid var(--hairline-paper);
  font-family: var(--serif); font-style: italic;
  color: var(--paper-muted); font-size: var(--micro);
}

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: var(--lg); left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--paper);
  padding: var(--md) var(--xl);
  font-family: var(--sans); font-size: 14.5px;
  letter-spacing: 0.04em; z-index: 100;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
