/* ==========================================================================
   Brachtvoll – Landingpage
   Mobile-first. Farben & Schriften laut CLAUDE.md („Design-Richtung“).
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, DSGVO) ---------- */
@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kaushan Script";
  src: url("../fonts/kaushan-script-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  --c-bg: #0f0d0b;
  --c-bg-2: #1a1714;
  --c-ink: #1a1714;              /* dunkle Schrift auf hellem Himmel */
  /* Akzentfarbe (Standard Gold, im Tweak-Panel umschaltbar) */
  --c-amber: #c9a14a;
  --c-amber-hover: #dcb862;
  --c-amber-dark: #9a5f26;       /* Stempel/Badge */
  --c-gold: #c9a14a;
  --c-cream: #f3ece2;
  --c-muted: rgba(243, 236, 226, 0.78);
  --c-on-amber: #2a1206;         /* Schrift auf Akzent-Buttons (dunkles Braun) */
  /* RGB-Werte für Transparenzen (Theme-abhängig) */
  --c-bg-rgb: 15, 13, 11;
  --c-cream-rgb: 243, 236, 226;
  /* CTA-Farbe (Tweak-Panel „CTA-Farbe“) – Standard „Hell“ (Gold, Kundenwunsch 30.10.);
     Grün/Dunkel/Rot als Varianten unten */
  --cta-bg: #ecb432;
  --cta-text: #2a1206;
  --cta-text-shadow: 0 1px 0 rgba(255, 240, 200, 0.45);
  /* Wie weit die Bier-Sektion (Schaumkrone) über den Hero ragt */
  --beer-overlap: 100px;
  --c-line: rgba(212, 145, 63, 0.35);
  --c-kraft: #c9ad91;

  --font-display: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1520px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius-sm: 6px;
  --header-h: 84px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}
/* Natives Smooth-Scrolling nur als Fallback – mit Lenis übernimmt Lenis */
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-cream);
  font-family: var(--font-body);
  font-size: 1.125rem;           /* 18 px – Zielgruppe 40+ */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--c-amber); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--c-amber);
  color: var(--c-on-amber);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
/* Pillen-Buttons nach Kunden-Vorlage (Screenshot 29.10.): Form, Pfeil, Proportionen.
   Primär in der Akzentfarbe (Tweak-Panel, Standard Gold) – soll alle Aufmerksamkeit
   bekommen; Sekundär als Ghost-Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 1.0625rem/1.15 var(--font-body);
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.2s ease; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: color-mix(in srgb, var(--cta-bg) 62%, #000);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-weight: 600;
  text-shadow: var(--cta-text-shadow);
  box-shadow:
    0 10px 20px -6px rgba(30, 18, 14, 0.4),
    0 6px 28px color-mix(in srgb, var(--cta-bg) 50%, transparent);
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08) saturate(1.05);
  box-shadow:
    0 14px 24px -6px rgba(30, 18, 14, 0.45),
    0 8px 36px color-mix(in srgb, var(--cta-bg) 70%, transparent);
}
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0) scale(0.98); }


.btn-ghost {
  border-color: rgba(var(--c-cream-rgb), 0.55);
  background: transparent;
  color: var(--c-cream);
}
.btn-ghost:hover {
  border-color: var(--c-cream);
  background: rgba(var(--c-cream-rgb), 0.1);
}

/* Haupt-CTA im Hero: regelmäßiger Lichtschimmer, der den Blick fängt */
@media (prefers-reduced-motion: no-preference) {
  .hero-actions .btn-primary::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 250, 230, 0.55) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: btn-shine 5s ease-in-out 1.2s infinite;
  }
}
@keyframes btn-shine {
  0% { transform: translateX(-120%); }
  22%, 100% { transform: translateX(120%); }
}

.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.95rem; box-shadow: none; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--c-ink);
  transition: color 0.3s ease;
}
/* Hintergrund als Pseudo-Element: backdrop-filter am Header selbst würde
   das fixierte Mobile-Menü auf die Header-Höhe begrenzen. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(var(--c-bg-rgb), 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--c-line);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.site-header.is-scrolled,
.site-header.is-nav-open { color: var(--c-cream); }
.site-header.is-scrolled::before { opacity: 1; }

.site-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: padding 0.3s ease;
}
.site-header.is-scrolled .site-header-inner { padding-block: 8px; }

.site-logo {
  --logo-ratio: 5564 / 2514;     /* Caps-Logo; Quer und Wortmarke s. unten */
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: block;
  width: clamp(100px, 28vw, 128px);
  aspect-ratio: var(--logo-ratio);
  margin-right: auto;
  color: inherit;
  transition: width 0.35s ease;
}
/* Logo-Morph: oben das große Logo, beim Scrollen die Wortmarke (A = Hopfendolde).
   Beide liegen unten links übereinander – der Schriftzug bleibt auf der Grundlinie. */
.logo-main,
.logo-word {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  transform-origin: left bottom;
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.site-logo svg { display: block; width: 100%; height: auto; }
.logo-word { opacity: 0; transform: translateY(10px) scale(0.9); }
.site-header.is-scrolled .site-logo { --logo-ratio: 5695 / 1038; width: 128px; }
.site-header.is-scrolled .logo-main { opacity: 0; transform: translateY(-14px) scale(0.85); }
.site-header.is-scrolled .logo-word { opacity: 1; transform: none; }

.header-cta {
  position: relative;
  z-index: 2;
  display: none;
}
.header-cta svg { width: 18px; height: 18px; }
@media (min-width: 520px) {
  .header-cta { display: inline-flex; }
}

/* Runder Anruf-Button links neben dem CTA. Das unsichtbare Leerzeichen (&#8203;)
   vor dem Icon gibt ihm eine Text-Grundlinie wie beim CTA – so stehen beide auf
   Desktop auf der Grundlinie der Menüpunkte. */
.btn-call {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  font-size: 1rem;
  line-height: 1.15;             /* wie .btn-sm im Header */
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-call svg { width: 20px; height: 20px; }
.btn-call:hover { border-color: var(--c-amber); background: var(--c-amber); color: var(--c-on-amber); }
/* Über dem Himmel/Baum: helle, halbtransparente Füllung, damit der Kreis sichtbar bleibt */
.site-header:not(.is-scrolled):not(.is-nav-open) .btn-call {
  border-color: rgba(26, 23, 20, 0.15);
  background: rgba(243, 236, 226, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Burger */
.nav-toggle {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -8px; }
.nav-toggle-bars::after { top: 8px; }
.site-header.is-nav-open .nav-toggle-bars { background: transparent; }
.site-header.is-nav-open .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.site-header.is-nav-open .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

.site-nav-list { list-style: none; margin: 0; padding: 0; }
.site-nav-link {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: inherit;
  text-decoration: none;
}
.site-nav-contact { margin: 0; color: var(--c-muted); font-size: 1rem; }
.site-nav-contact a { color: var(--c-cream); }

/* Mobile-Menü: Vollbild-Panel */
@media (max-width: 959.98px) {
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    overflow-y: auto;
    background: var(--c-bg);
    color: var(--c-cream);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  }
  .site-header.is-nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .site-nav-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(var(--c-cream-rgb), 0.12);
    font-size: 2.4rem;
    line-height: 1;
  }
  .site-nav-link:hover { color: var(--c-amber); }
  .site-nav-cta { align-self: stretch; }
}

/* Desktop-Navigation: Menüpunkte direkt rechts neben dem Logo */
@media (min-width: 960px) {
  :root { --header-h: 112px; }

  /* Menüpunkte, Anruf und CTA mittig zum Logo – oben im Hero zum großen Logo
     (Kundenwunsch 30.10.), gescrollt mittig in der schmalen Leiste */
  .site-header-inner { gap: 48px; padding-block: 22px; align-items: center; }
  .site-logo { width: 156px; margin-right: 0; }
  .site-header.is-scrolled .site-logo { width: 164px; }
  /* Oben im Hero: das Logo hat die Hopfen über dem Schriftzug, optisch liegt seine
     Mitte tiefer als die Box-Mitte → Menü, Anruf und CTA ein Stück nach unten
     (nicht beim Quer-Logo, da ist der Schriftzug selbst die Mitte) */
  html:not([data-logo="quer"]) .site-header:not(.is-scrolled) :is(.site-nav, .btn-call, .header-cta) { translate: 0 8px; }
  .site-nav, .btn-call, .header-cta { transition: translate 0.3s ease; }

  .nav-toggle,
  .site-nav-cta,
  .site-nav-contact { display: none; }

  .site-nav-list { display: flex; gap: clamp(24px, 2.6vw, 40px); }
  .site-nav-link {
    position: relative;
    display: inline-block;
    /* Bebas Neue hat Platz für Unterlängen, den Versalien nie nutzen → Zeile auf
       Versalhöhe/Grundlinie beschneiden, damit der Text wirklich mittig sitzt */
    padding: 10px 0;
    font-size: 1.4rem;
    line-height: 1;
    text-box: trim-both cap alphabetic;
  }
  @supports not (text-box: trim-both cap alphabetic) {
    /* Fallback: Zeile = Versalhöhe (0.7em), Versalien ragen sonst 0.06em nach oben */
    .site-nav-link {
      line-height: 0.7;
      padding-top: calc(10px + 0.06em);
      padding-bottom: calc(10px - 0.06em);
    }
  }
  .site-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3px;
    height: 2px;
    background: var(--c-amber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .site-nav-link:hover::after { transform: scaleX(1); }

  /* Anruf + CTA: Text-Grundlinie wie Logo-Schriftzug und Menüpunkte */
  .btn-call { width: 48px; height: 48px; margin-left: auto; }
  .header-cta { display: inline-flex; }
  /* Anruf + CTA eng zusammen (statt des großen Header-Abstands) */
  .btn-call + .header-cta { margin-left: -36px; }
  .header-cta.btn-sm { min-height: 48px; padding: 0 22px; font-size: 1rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  /* unten Platz für die Schaumkrone der Bier-Sektion, die über das Foto ragt */
  padding-bottom: var(--beer-overlap);
  background: var(--c-bg);
  color: var(--c-cream);
  /* dunkle Text-„Wolke“ ragt seitlich über den Rand – nicht horizontal scrollbar machen */
  overflow-x: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* deckt den ganzen Hero ab (≥ 120svh, damit man den Parallax beim Scrollen sieht) */
  min-height: 720px;
  overflow: hidden;
  container-type: size;
  /* Blur-up, bis die Bilder geladen sind */
  background: #8e795f url("../img/hero-parallax/hero-placeholder.jpg") center / cover no-repeat;
}
/* Bühne im Bildformat 2752×2064 (4:3, viel Himmel oben),
   deckt die Fläche ab wie object-fit: cover.
   --hero-focus-x/-y: welcher Bildteil sichtbar bleibt, wenn beschnitten wird */
.hero-stage {
  --hero-focus-x: 77%;
  --hero-focus-y: 55%;
  position: absolute;
  left: var(--hero-focus-x);
  top: var(--hero-focus-y);
  width: max(100cqw, 100cqh * 4 / 3);
  aspect-ratio: 4 / 3;
  translate: calc(var(--hero-focus-x) * -1) calc(var(--hero-focus-y) * -1);
}
.hero-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero-layer img {
  display: block;
  width: 100%;
  height: 100%;
}
/* Fass: Position im Gesamtbild (x 1051, y 828, Breite 1701 von 2752×2064) */
.hero-layer--front {
  inset: auto;
  left: 38.19%;
  top: 40.12%;
  width: 61.81%;
}
.hero-layer--front img { height: auto; }
/* Hero-Stimmung (Tweak-Panel, data-hero): Blaue Stunde / Abendrot / Wolken / Sterne
   haben einen dunklen Himmel, „tag“ = altes helles Bild. Desktop tauscht nur die
   Dateien der Hintergrund-Ebene (js/tweaks.js), das Fass bleibt immer davor.
   Mobil (bis 959 px) gibt es dafür ein eigenes Hochkant-Bild: Text auf dem Himmel,
   Haus darunter, zwischen Button und Fakten (dafür hat die Fakten-Karte Abstand nach oben). */
.hero-layer--mobile { display: none; }
@media (max-width: 959.98px) {
  html:not([data-hero="tag"]) .hero-layer--mobile {
    display: block;
    background: #11150c;   /* dunkle Wiese, falls das Bild unten nicht ganz reicht */
  }
  /* Bildhöhe am Bildschirm statt am Hero ausrichten: so liegt das Haus (bei ~58–80 %
     der Bildhöhe) auch mit Parallax in der Lücke über den Fakten. Mittig beschnitten. */
  html:not([data-hero="tag"]) .hero-layer--mobile img {
    position: absolute;
    top: 0;
    left: 50%;
    width: auto;
    min-width: 100%;
    max-width: none;
    height: 157svh;
    translate: -50% 0;
    object-fit: cover;
  }
  /* Querformat-Hintergrund aus, das Fass bleibt */
  html:not([data-hero="tag"]) .hero-stage > .hero-layer:not(.hero-layer--front) { display: none; }
  /* Fakten wie auf dem Desktop als dunkle Karte – beim Scrollen schiebt sich das Glas dahinter */
  html:not([data-hero="tag"]) .hero-facts {
    margin-top: 38svh;     /* Lücke: hier sieht man das Haus */
    margin-bottom: 24px;
    padding: 20px 18px;
    border: 0;
    border-radius: var(--radius-sm);
    background: rgba(15, 13, 11, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  }
  /* Fass kleiner und nach rechts (Skalierung ums Glas herum, ~58 % / 22 % der Ebene),
     damit das Haus daneben frei bleibt; tiefer, damit das Glas erst unter dem Button
     beginnt. translate/scale addieren sich zum Parallax-transform aus main.js */
  html:not([data-hero="tag"]) .hero-layer--front {
    translate: 8% 14%;
    scale: 0.72;
    transform-origin: 58% 22%;
  }
  /* Haus soll sichtbar bleiben: nur unten leicht abdunkeln (für die Fakten) */
  html:not([data-hero="tag"]) .hero-media::after {
    background: linear-gradient(to top,
      rgba(var(--c-bg-rgb), 0.85) 0%,
      rgba(var(--c-bg-rgb), 0.5) 16%,
      rgba(var(--c-bg-rgb), 0.12) 34%,
      rgba(var(--c-bg-rgb), 0) 48%);
  }
}
/* Header-Farbe folgt automatisch dem Himmel des Hero-Bilds (data-hero-tone aus
   js/tweaks.js, je Variante festgelegt): dunkler Himmel → Logo, Menü, Burger, Anruf hell.
   Ohne Angabe gilt dunkel (Standard „Blaue Stunde“). Feste Farbwerte statt Tokens,
   weil das helle Theme --c-cream umdreht – der Hero bleibt aber immer ein Foto. */
html:not([data-hero-tone="hell"]) .site-header:not(.is-scrolled) { color: #f3ece2; }
html:not([data-hero-tone="hell"]) .site-header:not(.is-scrolled):not(.is-nav-open) .btn-call {
  border-color: rgba(243, 236, 226, 0.55);
  background: rgba(15, 13, 11, 0.25);
}
/* Verlauf unten für lesbare Schrift; der Himmel oben bleibt hell fürs Logo */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgb(var(--c-bg-rgb)) 0%,
      rgba(var(--c-bg-rgb), 0.78) 18%,
      rgba(var(--c-bg-rgb), 0.5) 38%,
      rgba(var(--c-bg-rgb), 0.18) 56%,
      rgba(var(--c-bg-rgb), 0) 70%);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 24px) 0 36px;
}

.hero-copy { max-width: 760px; }

.hero-title { margin: 0; font-weight: 400; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: rgba(15, 13, 11, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font: 600 0.8rem/1.3 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-amber);
}
.hero-title-main {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 19vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
  color: var(--c-cream);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
/* „Brauen! Genießen!“ / „Verbinden!“ – je eine Zeile (schmal: bricht nach „Brauen!“ um) */
.hero-title-line { display: block; }
@media (min-width: 600px) {
  .hero-title-main { font-size: clamp(5rem, 14vw, 8rem); }
  .hero-title-line { white-space: nowrap; }
}
.hero-title-script {
  position: relative;
  display: inline-block;
  margin: 0.08em 0 0 0.06em;
  padding-bottom: 0.38em;
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 8vw, 3.5rem);
  line-height: 1.1;
  color: var(--c-amber);
  transform: rotate(-3deg);
  transform-origin: left center;
}
/* Tweak-Panel: Script-Zeile „Brewing & Tasting“ ausblenden */
html[data-script="aus"] .hero-title-script { display: none; }
/* Tweak-Panel: Stempel („Ohne Vorkenntnisse“) ausblenden */
html[data-badge="aus"] .hero-badge { display: none; }
/* Hero-Text oben im Himmel statt unten im Bild, mit Abstand zum Header
   (Kundenwunsch 30.10.; Desktop-Abstand s. unten bei min-width 960px) */
html .hero-main {
  justify-content: flex-start;
  padding-top: calc(var(--header-h) + 28px);
}
/* mobil: Stempel rechts neben die kurzen ersten Headline-Zeilen („Brauen!“/„Genießen!“) */
@media (max-width: 959.98px) {
  html .hero-badge { top: calc(var(--header-h) + 84px); }
}
@media (max-width: 374px) {
  html .hero-badge { width: 80px; font-size: 0.7rem; }
}
/* Pinselstrich wie im Flyer */
.hero-title-script::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -4%;
  bottom: 0;
  height: 0.32em;
  /* Pinselstrich als Maske → hat immer die aktuelle Akzentfarbe */
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 15C60 6 170 3 298 7l-2 5C180 9 80 12 6 19z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 15C60 6 170 3 298 7l-2 5C180 9 80 12 6 19z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-lead {
  max-width: 44ch;
  margin: 22px 0 0;
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: rgba(243, 236, 226, 0.92);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
/* Runder Stempel „Handwerk. Leidenschaft. Geschmack.“ */
.hero-badge {
  position: absolute;
  top: calc(var(--header-h) + 8px);
  right: var(--gutter);
  width: 92px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  margin: 0;
  border-radius: 50%;
  background: var(--c-amber-dark);
  color: var(--c-cream);
  font: 400 0.8rem/1.05 var(--font-display);
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-10deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  container-type: inline-size; /* Schrift wächst mit dem Stempel (cqw) */
}
/* „Ohne“ groß, „Vorkenntnisse“ so breit, wie der gestrichelte Ring erlaubt */
.hero-badge > span { display: block; font-size: 14cqw; }
.hero-badge > .hero-badge-lg { font-size: 30cqw; line-height: 0.92; }
.hero-badge::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1.5px dashed rgba(243, 236, 226, 0.6);
  border-radius: 50%;
}

/* Kurzfakten */
.hero-facts {
  list-style: none;
  margin: 0;
  padding: 26px 0 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
  border-top: 1px solid var(--c-line);
}
.hero-fact { display: flex; align-items: flex-start; gap: 12px; }
.hero-fact svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--c-amber);
}
.hero-fact strong {
  display: block;
  margin-bottom: 3px;
  font: 400 1.4rem/1 var(--font-display);
  letter-spacing: 0.04em;
  color: var(--c-cream);
}
.hero-fact span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--c-muted);
}

@media (min-width: 600px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-eyebrow { font-size: 0.875rem; letter-spacing: 0.16em; }
}

/* Kleine Smartphones: Zweit-Button weg, damit der Text nicht in den Himmel ragt */
@media (max-width: 599.98px) {
  .hero-actions .btn-ghost { display: none; }
  .hero-eyebrow { letter-spacing: 0.06em; }
}
@media (max-width: 379.98px) {
  .hero-eyebrow { font-size: 0.72rem; letter-spacing: 0.04em; padding-inline: 10px; }
  .hero-actions .btn { padding-inline: 18px; }
}
@media (max-width: 959.98px) and (max-height: 760px) {
  .hero-badge { display: none; }
}

@media (min-width: 960px) {
  :root { --beer-overlap: 130px; }
  .hero-stage { --hero-focus-x: 50%; }
  /* Kein Übergang ins Dunkle – unten liegt die Schaumkrone der Bier-Sektion.
     Nur ein leichter Schatten, damit die Fakten auf dem Foto lesbar bleiben. */
  .hero-media::after {
    background:
      linear-gradient(to top,
        rgba(15, 13, 11, 0.55) 0%,
        rgba(15, 13, 11, 0.3) 16%,
        rgba(15, 13, 11, 0) 32%);
  }

  /* Headline im ersten Bildschirm, Fakten erscheinen beim Scrollen darunter */
  .hero-inner {
    display: flex;
    flex-direction: column;
    min-height: 120vh;
    min-height: 120svh;
  }
  .hero-main {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
    padding-bottom: 40px;
  }
  html .hero-main {
    align-items: start;
    padding-top: calc(var(--header-h) + clamp(40px, 9vh, 110px));
  }
  /* Dunkle „Wolke“ direkt hinter dem Text – wandert bei jeder Breite mit,
     der Himmel oben bleibt hell fürs Logo */
  .hero-copy { position: relative; }
  .hero-copy::before {
    content: "";
    position: absolute;
    inset: -45% -45% -25% -40%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(closest-side at 42% 55%,
      rgba(15, 13, 11, 0.72),
      rgba(15, 13, 11, 0.5) 40%,
      rgba(15, 13, 11, 0.2) 70%,
      rgba(15, 13, 11, 0));
  }
  .hero-copy { max-width: 900px; }
  .hero-title-main { font-size: clamp(5.5rem, 9vw, 8.5rem); }
  .hero-title-script { font-size: clamp(2.4rem, 3.8vw, 3.5rem); }

  /* Stempel oben rechts im Himmel – unten steht das Bierglas */
  .hero-badge {
    top: calc(var(--header-h) + 5vh);
    right: max(var(--gutter), (100% - var(--container)) / 2 + var(--gutter));
    width: 170px;
  }
  .hero-badge::before { inset: 8px; }

  /* Fakten auf eigener Karte (dunkel; im hellen Theme hell, s. „Varianten“) */
  .hero-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 32px;
    padding: 24px 28px;
    border: 0;
    border-radius: var(--radius-sm);
    background: rgba(15, 13, 11, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  }
  .hero-fact svg { width: 34px; height: 34px; }
  .hero-fact strong { font-size: 1.55rem; }
  .hero-fact span { font-size: 1rem; }
}

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

/* ==========================================================================
   Varianten (umschaltbar im Tweak-Panel, gespeichert als data-* am <html>)
   ========================================================================== */
/* Helles Theme: Kraftpapier-/Cremegrund, dunkle Schrift */
html[data-theme="light"] {
  --c-bg: #f3ece2;
  --c-bg-2: #e8dccb;
  --c-bg-rgb: 243, 236, 226;
  --c-cream: #1a1714;
  --c-cream-rgb: 26, 23, 20;
  --c-muted: rgba(26, 23, 20, 0.72);
  --c-line: rgba(154, 95, 38, 0.3);
  color-scheme: light;
}
/* Der Hero bleibt ein dunkles Foto-Panel (Text liegt auf dem Bild) */
html[data-theme="light"] .hero {
  --c-bg: #0f0d0b;
  --c-bg-2: #1a1714;
  --c-bg-rgb: 15, 13, 11;
  --c-cream: #f3ece2;
  --c-cream-rgb: 243, 236, 226;
  --c-muted: rgba(243, 236, 226, 0.78);
  --c-line: rgba(212, 145, 63, 0.35);
}
@media (min-width: 960px) {
  /* Desktop: Fakten auf eigener Karte – hell im hellen Theme */
  html[data-theme="light"] .hero-facts {
    --c-cream: #1a1714;
    --c-muted: rgba(26, 23, 20, 0.72);
    background: rgba(243, 236, 226, 0.9);
    box-shadow: 0 16px 40px rgba(26, 23, 20, 0.18);
  }
}

/* CTA-Farbe (Bier im Button) */
html[data-cta="gruen"] { --cta-bg: #3f7334; --cta-text: #fffdf6; --cta-text-shadow: 0 1px 2px rgba(10, 30, 8, 0.55); }
html[data-cta="dunkel"] { --cta-bg: #3a1b0a; --cta-text: #fff6e6; --cta-text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
html[data-cta="hell"] { --cta-bg: #ecb432; --cta-text: #2a1206; --cta-text-shadow: 0 1px 0 rgba(255, 240, 200, 0.45); }
html[data-cta="rot"] { --cta-bg: #a83a1f; --cta-text: #fffdf6; --cta-text-shadow: 0 1px 2px rgba(40, 6, 0, 0.55); }

/* Akzentfarbe */
html[data-accent="amber"] { --c-amber: #d4913f; --c-amber-hover: #e3a457; }
html[data-accent="kupfer"] { --c-amber: #c4703c; --c-amber-hover: #d6834f; }

/* Quer-Logo (Hopfen links vom Schriftzug): flach, steht auf einer Linie
   mit den Menüpunkten – der Schriftzug sitzt auf deren Grundlinie */
html[data-logo="quer"] .site-logo { --logo-ratio: 5714 / 980; width: clamp(136px, 40vw, 160px); }
html[data-logo="quer"] .site-header.is-scrolled .site-logo { --logo-ratio: 5695 / 1038; width: 128px; }
@media (min-width: 960px) {
  html[data-logo="quer"] .site-logo { width: 190px; }
  html[data-logo="quer"] .site-header.is-scrolled .site-logo { width: 164px; }
}

/* ==========================================================================
   Bier-Zone: „Liquid Beer“ (Canvas 2D, js/beer.js) hinter Social + Ablauf.
   Ragt um --beer-overlap über den Hero; darüber ist das Canvas durchsichtig,
   die Schaumkrone liegt also direkt auf dem Hero-Foto.
   Das Canvas ist nur bildschirmhoch und klebt (sticky) – darunter läuft der Inhalt.
   ========================================================================== */
.beer-zone {
  position: relative;
  z-index: 1;
  isolation: isolate;
  /* Die klebende Leinwand (100lvh, margin-bottom negativ) würde am Ende sonst
     einen Bildschirm weit in die nächste Sektion ragen; clip lässt sticky intakt */
  overflow-y: clip;
  margin-top: calc(var(--beer-overlap) * -1);
  color: #2a1206;
  /* Fallback ohne JS: Bierverlauf ab der Oberfläche */
  background: linear-gradient(to bottom,
    transparent var(--beer-overlap),
    #f3e2bd var(--beer-overlap),
    #f2c443 calc(var(--beer-overlap) + 80px),
    #e9b136 50%,
    #e2a42c);
}
/* mit Canvas: nur eine ruhige Bierfarbe als Reserve (z. B. beim Ein-/Ausblenden der Adressleiste) */
.beer-zone.is-live {
  background: linear-gradient(to bottom, transparent calc(var(--beer-overlap) + 40px), #f0bf40 calc(var(--beer-overlap) + 40px));
}
.beer-canvas {
  position: sticky;
  top: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  margin-bottom: -100vh;
  margin-bottom: -100lvh;
}
.beer-section {
  display: grid;
  /* minmax(0, …): der breitere Social-Feed (mobil angeschnitten) darf die Spalte nicht aufziehen */
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--beer-overlap) + 64px) var(--gutter) 96px;
}
.beer-content {
  max-width: 38rem;
  text-align: center;
  text-shadow: 0 1px 14px rgba(255, 236, 170, 0.6);
}

/* ---------- Social: „Schau mal, was wir gebraut haben“ (auf dem Bier) ----------
   Kopf mittig, darunter 5 Hochformat-Posts (9:16) in V-Form: Mitte am tiefsten.
   Mobil nur die ersten drei, die äußeren links/rechts je ~15 % angeschnitten. */
.beer-content.social { width: 100%; max-width: 1190px; }
.social-head { max-width: 40rem; margin: 0 auto; }
.social-script {
  margin: 0 0 4px;
  font: 400 clamp(1.25rem, 4.4vw, 1.625rem)/1.2 var(--font-script);
  color: #7a3a0c;
}
.social-title {
  margin: 0;
  font: 400 clamp(2.75rem, 10vw, 4.75rem)/0.95 var(--font-display);
  letter-spacing: 0.01em;
  color: #2a1206;
  text-wrap: balance;
}
.social-lead {
  max-width: 34rem;
  margin: 16px auto 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #3a1b08;
}

/* Social-Links: dunkles Braun auf Bier (Kontrast > 10:1), Hover in der CTA-Farbe */
.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 999px;
  background: #2a1206;
  color: #fff6e0;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  text-shadow: none;
  box-shadow: 0 8px 18px -8px rgba(42, 18, 6, 0.6);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.social-link svg { width: 22px; height: 22px; flex-shrink: 0; }
.social-link span { display: none; }      /* mobil nur Icon (Name steckt im aria-label) */
.social-link:hover { background: var(--cta-bg); transform: translateY(-2px); box-shadow: 0 12px 22px -8px rgba(42, 18, 6, 0.6); }
.social-link:focus-visible { outline: 3px solid #2a1206; outline-offset: 3px; }
@media (min-width: 600px) {
  .social-link { padding: 0 22px 0 18px; }
  .social-link span { display: inline; }
}

/* Feed */
.ig-feed {
  --gap: 12px;
  /* 3 Karten + 2 Lücken = Bildschirmbreite + 2 × 15 % Karte */
  --card: calc((100vw - 2 * var(--gap)) / 2.7);
  --step: calc(var(--card) * 16 / 9 * 0.13);   /* Versatz der V-Form */
  display: flex;
  justify-content: center;   /* überstehende Karten ragen gleichmäßig links/rechts raus */
  align-items: flex-start;
  gap: var(--gap);
  margin: 40px calc(var(--gutter) * -1) 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: clip;
}
.ig-post { flex: 0 0 var(--card); min-width: 0; }
.ig-post:nth-child(2) { margin-top: var(--step); }
.ig-post:nth-child(n + 4) { display: none; }

@media (min-width: 768px) {
  .ig-feed {
    --gap: 16px;
    --card: calc((min(1190px, 100vw - 2 * var(--gutter)) - 4 * var(--gap)) / 5);
    margin: 48px 0 0;
    overflow-x: visible;
  }
  .ig-post { flex: 1 1 0; }
  .ig-post:nth-child(n + 4) { display: block; }
  .ig-post:nth-child(4) { margin-top: var(--step); }
  .ig-post:nth-child(3) { margin-top: calc(var(--step) * 2); }
}

/* Karte im Instagram-Look: Foto, oben Profil, unten Text + Likes */
.ig-card {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  container-type: inline-size;
  border-radius: 14px;
  background: #e8daca;
  color: #fff;
  text-align: left;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  box-shadow: 0 22px 40px -20px rgba(60, 28, 4, 0.7), 0 0 0 1px rgba(42, 18, 6, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ig-card img,
.ig-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
/* Reel-Video liegt über dem Foto und blendet erst ein, wenn es läuft */
.ig-video { opacity: 0; transition: opacity 0.4s ease, transform 0.6s ease; }
.ig-video.is-playing { opacity: 1; }
/* Verläufe oben/unten, damit die weiße Schrift auf jedem Foto lesbar ist */
.ig-card::before,
.ig-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}
/* oben: hinter der Profilzeile volle 50 % Schwarz, dann weich auslaufend */
.ig-card::before { top: 0; height: 32%; background: linear-gradient(rgba(0, 0, 0, 0.5) 40%, transparent); }
.ig-card::after { bottom: 0; height: 48%; background: linear-gradient(transparent, rgba(0, 0, 0, 0.78)); }
.ig-card:focus-visible { outline: 3px solid #2a1206; outline-offset: 4px; }
/* Mobil: schwarzer Layer (50 %) über dem ganzen Foto, damit Profil + Likes lesbar sind */
@media (max-width: 767px) {
  .ig-card::before { height: 100%; background: rgba(0, 0, 0, 0.5); }
}
@media (prefers-reduced-motion: no-preference) {
  .ig-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -22px rgba(60, 28, 4, 0.8), 0 0 0 1px rgba(42, 18, 6, 0.12); }
  .ig-card:hover img,
  .ig-card:hover .ig-video { transform: scale(1.05); }
}

.ig-top,
.ig-bottom {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 12px;
}
.ig-top {
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 0.875rem/1 var(--font-body);
}
.ig-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding-top: 2px;
  border-radius: 50%;
  background: #2a1206;
  color: #f2c443;
  font: 400 1.0625rem/1 var(--font-display);
  text-shadow: none;
  /* Story-Ring */
  box-shadow: 0 0 0 2px #fff6e0, 0 0 0 4px #e0a82e;
}
.ig-handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-reel { width: 20px; height: 20px; margin-left: auto; flex-shrink: 0; }
.ig-bottom {
  bottom: 0;
  display: grid;
  gap: 10px;
}
.ig-caption {
  display: -webkit-box;
  overflow: hidden;
  font: 500 0.875rem/1.4 var(--font-body);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.ig-tags { color: #ffd77a; }
.ig-stats { display: flex; gap: 14px; font: 600 0.875rem/1 var(--font-body); }
.ig-stats span { display: inline-flex; align-items: center; gap: 5px; }
.ig-stats svg { width: 18px; height: 18px; }

/* Schmale Karten (Handy): nur Profil + Likes, kein Text */
@container (max-width: 170px) {
  .ig-top, .ig-bottom { padding: 9px; }
  .ig-top { gap: 6px; font-size: 0.75rem; }
  .ig-avatar { width: 24px; height: 24px; font-size: 0.875rem; }
  .ig-reel { display: none; }
  .ig-caption { display: none; }
  .ig-stats { gap: 10px; font-size: 0.75rem; }
  .ig-stats svg { width: 15px; height: 15px; }
}

/* ==========================================================================
   Ablauf („Was dich erwartet“) – 5 Stationen auf dem Bier
   Bild-Stil nach Kundenvorlage (Screenshot 30.10. „10.38.30“): Foto in Splitter
   geschnitten (clip-path, Form + Animation aus js/ablauf.js), das freigestellte
   Motiv liegt darüber und ragt aus den Splittern heraus.
   Desktop: Bild klebt rechts (Bühne) und wechselt mit der aktiven Station,
   Klick auf 1–5 springt hin. Mobil: Bild über jeder Station, erscheint beim Scrollen.
   ========================================================================== */
.steps {
  padding: 40px var(--gutter) 120px;
  text-shadow: 0 1px 14px rgba(255, 236, 170, 0.6);
}
.steps-head { max-width: 40rem; margin: 0 auto; text-align: center; }
.steps-script {
  margin: 0 0 4px;
  font: 400 clamp(1.25rem, 4.4vw, 1.625rem)/1.2 var(--font-script);
  color: #7a3a0c;
}
.steps-title {
  margin: 0;
  font: 400 clamp(2.75rem, 10vw, 4.75rem)/0.95 var(--font-display);
  letter-spacing: 0.01em;
  color: #2a1206;
  text-wrap: balance;
}
.steps-lead {
  max-width: 34rem;
  margin: 16px auto 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #3a1b08;
}

.steps-body { max-width: 1190px; margin: 48px auto 0; }
.steps-list { margin: 0; padding: 0; list-style: none; }
.step { display: grid; gap: 22px; }
.step + .step { margin-top: 72px; }

/* ---------- Bild: Splitter + herausragendes Motiv ---------- */
.sv {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
  aspect-ratio: 1856 / 2304;
  filter: drop-shadow(0 22px 26px rgba(70, 30, 0, 0.26));
}
.sv picture,
.sv img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.sv img { object-fit: cover; }
.sv-bg {
  /* Standardform ohne JS; js/ablauf.js setzt --clip (offen) und --clip-closed je Bild */
  clip-path: var(--clip, polygon(4% 46%, 54% 30%, 86% 60%, 54% 100%, 4% 100%, 4% 46%, 58% 25%, 100% 6%, 100% 59%, 58% 25%, 4% 46%, 94% 68%, 100% 62%, 100% 100%, 66% 100%, 94% 68%, 4% 46%, 0% 34%, 26% 26%, 0% 42%, 0% 34%, 4% 46%));
  overflow: hidden;
}

/* Animation (nur mit JS): Splitter wachsen auf, Foto zoomt leicht zurück, Motiv steigt auf */
.steps.is-enhanced .sv-bg { transition: clip-path 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.steps.is-enhanced .sv-bg img { transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.steps.is-enhanced .sv-cut { transition: opacity 0.6s ease 0.2s, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s; }
.steps.is-enhanced .sv:not(.is-active) .sv-bg { clip-path: var(--clip-closed); }
.steps.is-enhanced .sv:not(.is-active) .sv-bg img { transform: scale(1.08); }
.steps.is-enhanced .sv:not(.is-active) .sv-cut { opacity: 0; transform: translateY(5%); }

/* ---------- Text einer Station ---------- */
.step-num {
  position: relative;
  max-width: 240px;
  margin: 0 0 12px;
  padding-top: 12px;
  border-top: 3px solid rgba(42, 18, 6, 0.16);
  font: 400 clamp(3rem, 7vw, 4.25rem)/0.9 var(--font-display);
  color: #7a3a0c;
}
/* Linie füllt sich, wenn die Station aktiv wird (wie die Kennzahlen-Linien der Vorlage) */
.step-num::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #2a1206;
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.steps.is-enhanced .step:not(.is-active) .step-num::before { transform: scaleX(0); }
.step-title {
  margin: 0 0 12px;
  font: 400 clamp(2rem, 6vw, 2.75rem)/1 var(--font-display);
  letter-spacing: 0.01em;
  color: #2a1206;
}
.step-desc {
  max-width: 32rem;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65;
  color: #3a1b08;
}
.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 9px 16px 9px 12px;
  border: 1px solid rgba(42, 18, 6, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 235, 0.55);
  font: 600 0.9375rem/1.2 var(--font-body);
  color: #2a1206;
  text-shadow: none;
}
.step-tag svg { width: 18px; height: 18px; flex-shrink: 0; color: #7a3a0c; }

/* ---------- Abschluss: CTA ---------- */
.steps-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  max-width: 1190px;
  margin: 72px auto 0;
  padding: 28px var(--gutter);
  border: 1px solid rgba(42, 18, 6, 0.15);
  border-radius: 20px;
  background: rgba(255, 250, 235, 0.5);
  text-align: center;
}
.steps-cta p { margin: 0; font-size: 1.125rem; line-height: 1.5; color: #3a1b08; }
.steps-cta strong { color: #2a1206; }

/* ---------- Desktop: Text links, Bild klebt rechts ---------- */
.steps-stage[hidden] { display: none; }
@media (min-width: 960px) {
  .steps { padding-top: 64px; }
  .steps-body {
    --stage-h: min(calc(100svh - 230px), 640px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(40px, 6vw, 96px);
    margin-top: 24px;
  }
  .step + .step { margin-top: 0; }
  .steps.is-staged .step {
    min-height: 72svh;
    align-content: center;
  }
  .steps.is-staged .step-text { cursor: pointer; transition: opacity 0.4s ease; }
  .steps.is-staged .step:not(.is-active) .step-text { opacity: 0.38; }
  .steps.is-staged .step:not(.is-active) .step-text:hover { opacity: 0.65; }

  .steps-stage {
    position: sticky;
    top: calc(72px + (100svh - 72px - var(--stage-h) - 72px) / 2);
    align-self: start;
    margin-top: calc((72svh - var(--stage-h) - 72px) / 2);
  }
  .steps-frame { position: relative; height: var(--stage-h); aspect-ratio: 1856 / 2304; margin: 0 auto; }
  .steps-frame .sv { position: absolute; inset: 0; width: 100%; transition: opacity 0.5s ease, visibility 0.5s; }
  .steps-frame .sv:not(.is-active) { opacity: 0; visibility: hidden; }

  .steps-nav { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
  .steps-dot {
    width: 48px;
    height: 48px;
    padding: 3px 0 0;
    border: 1.5px solid rgba(42, 18, 6, 0.35);
    border-radius: 50%;
    background: rgba(255, 250, 235, 0.45);
    font: 400 1.375rem/1 var(--font-display);
    color: #2a1206;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  .steps-dot:hover { border-color: #2a1206; }
  .steps-dot:focus-visible { outline: 3px solid #2a1206; outline-offset: 3px; }
  .steps-dot[aria-current="step"] { border-color: #2a1206; background: #2a1206; color: #fff6e0; }
}

@media (prefers-reduced-motion: reduce) {
  .steps.is-enhanced .sv-bg,
  .steps.is-enhanced .sv-bg img,
  .steps.is-enhanced .sv-cut,
  .step-num::before,
  .steps-frame .sv { transition: none; }
}

/* ==========================================================================
   Location (#location): 360°-Rundgang als Blickfang + Brauequipment
   Viewer öffnet sich beim Hereinscrollen (scroll-driven animation, wo der
   Browser es kann), dreht sich als Vorschau von selbst (js/pano.js).
   Folgt dem Theme (Tokens); der Viewer selbst bleibt dunkel.
   ========================================================================== */
.location {
  position: relative;
  overflow: clip;
  padding: 88px var(--gutter) 112px;
  background: var(--c-bg);
}
.location > :not(.deko-hop) { position: relative; z-index: 1; }

.location-head { max-width: 46rem; margin: 0 auto 36px; text-align: center; }
.location-script {
  margin: 0 0 4px;
  font: 400 clamp(1.25rem, 4.4vw, 1.625rem)/1.2 var(--font-script);
  color: var(--c-gold);
}
.location-title {
  margin: 0;
  font: 400 clamp(2.75rem, 10vw, 5rem)/0.95 var(--font-display);
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.location-lead { max-width: 38rem; margin: 16px auto 0; color: var(--c-muted); }

/* ---------- 360°-Viewer ---------- */
.pano-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: var(--container);
  height: 66svh;
  min-height: 340px;
  margin: 0 auto;
  border-radius: 22px;
  background: #0f0d0b;
  color: #f3ece2;
}
.pano-preview {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  max-width: none;
  height: calc(100% + 80px);
  object-fit: cover;
  filter: blur(18px) saturate(1.1);
  transition: opacity 0.8s ease;
}
.pano-frame.is-ready .pano-preview { opacity: 0; }
.pano-viewer { position: absolute; inset: 0; z-index: 1; }
.pano-viewer .psv-container { background: transparent; }
.pano-viewer .psv-loader-container { display: none !important; }
.pano-viewer .psv-overlay { background: rgba(15, 13, 11, 0.6); color: #f3ece2; }
.pano-viewer .psv-overlay-image { color: var(--c-gold); }

/* „360°“-Plakette oben links: Globus dreht sich */
.pano-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(15, 13, 11, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font: 400 1.25rem/1 var(--font-display);
  letter-spacing: 0.06em;
  pointer-events: none;
}
.pano-badge svg { width: 22px; height: 22px; color: var(--c-gold); }
@media (prefers-reduced-motion: no-preference) {
  .pano-badge svg { animation: pano-globe 4s linear infinite; }
}
@keyframes pano-globe { to { transform: rotateY(360deg); } }

/* Karte unten links – die Vorschau dreht sich dahinter sichtbar weiter */
.pano-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(0deg, rgba(15, 13, 11, 0.7) 0, rgba(15, 13, 11, 0) 55%);
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.pano-overlay.is-hidden { opacity: 0; visibility: hidden; }
.pano-card {
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(243, 236, 226, 0.14);
  border-radius: 18px;
  background: rgba(15, 13, 11, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  pointer-events: auto;
}
.pano-card-kicker {
  margin: 0 0 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.pano-card-title { margin: 0 0 16px; font: 400 1.75rem/1 var(--font-display); letter-spacing: 0.02em; }
.pano-start { width: 100%; }
.pano-hint { margin: 12px 0 0; font-size: 0.875rem; color: rgba(243, 236, 226, 0.7); }
.pano-hint-touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .pano-hint-mouse { display: none; }
  .pano-hint-touch { display: inline; }
}

.pano-fullscreen {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(243, 236, 226, 0.3);
  border-radius: 50%;
  background: rgba(15, 13, 11, 0.62);
  color: #f3ece2;
  cursor: pointer;
}
.pano-fullscreen[hidden] { display: none; }
.pano-fullscreen svg { width: 22px; height: 22px; }
.pano-fullscreen:hover { background: rgba(15, 13, 11, 0.85); border-color: #f3ece2; }

.pano-loader {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 13, 11, 0.7);
  font-size: 0.875rem;
}
.pano-frame.is-loading .pano-loader { display: inline-flex; }
.pano-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(201, 161, 74, 0.3);
  border-top-color: var(--c-gold);
  border-radius: 50%;
  animation: pano-spin 0.9s linear infinite;
}
@keyframes pano-spin { to { transform: rotate(360deg); } }
.pano-fallback {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(15, 13, 11, 0.75);
  text-align: center;
}
.pano-fallback p { max-width: 36ch; margin: 0; }
.pano-frame.is-fallback .pano-fallback { display: grid; }
.pano-frame.is-fallback .pano-overlay,
.pano-frame.is-fallback .pano-loader { display: none; }

/* Viewer „öffnet sich“ beim Hereinscrollen: von einem schmaleren, runderen
   Fenster auf volle Breite (nur wo scroll-driven animations gehen) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pano-frame {
      animation: pano-open linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 42%;
    }
  }
}
@keyframes pano-open {
  from { clip-path: inset(5% 9% round 56px); }
  to { clip-path: inset(0 round 22px); }
}

/* ---------- Brauequipment ---------- */
.location-gear { display: grid; gap: 36px; max-width: 1190px; margin: 88px auto 0; }
.location .sv { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.5)); }
.location-kicker {
  margin: 0 0 6px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.location-subtitle { margin: 0; font: 400 clamp(2.25rem, 7vw, 3.5rem)/0.95 var(--font-display); letter-spacing: 0.01em; }
.location-copy { max-width: 34rem; margin: 14px 0 0; color: var(--c-muted); }
.gear-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.gear-item { display: flex; align-items: center; gap: 16px; }
.gear-item svg {
  flex: none;
  width: 52px;
  height: 52px;
  padding: 11px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-gold);
}
.gear-item strong { display: block; font-size: 1.0625rem; line-height: 1.3; }
.gear-item span { display: block; font-size: 1rem; color: var(--c-muted); }
.location-address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid rgba(var(--c-cream-rgb), 0.12);
  border-radius: 18px;
  background: rgba(var(--c-cream-rgb), 0.04);
}
.location-address > svg { flex: none; width: 26px; height: 26px; color: var(--c-gold); }
.location-address address { flex: 1 1 200px; font-style: normal; font-size: 1rem; line-height: 1.45; color: var(--c-muted); }
.location-address strong { color: var(--c-cream); }

@media (min-width: 600px) {
  .pano-overlay { padding: 24px; }
  .pano-card { width: auto; max-width: 380px; padding: 24px 26px; }
  .pano-start { width: auto; }
}
@media (min-width: 960px) {
  .location { padding-block: 120px 140px; }
  .location-head { margin-bottom: 48px; }
  .pano-frame { height: min(80svh, 780px); border-radius: 28px; }
  .pano-badge { top: 24px; left: 24px; }
  .pano-fullscreen { top: 20px; right: 20px; }
  @keyframes pano-open {
    from { clip-path: inset(5% 9% round 56px); }
    to { clip-path: inset(0 round 28px); }
  }
  .location-gear {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(48px, 7vw, 112px);
    margin-top: 120px;
  }
  .location-gear .sv { width: min(100%, 480px); }
}

/* ---------- Über uns (#ueber-uns): gespiegelt zum Brauequipment ----------
   Text links, Bild rechts; Typo der Texte wie beim Equipment (location-*) */
.team {
  position: relative;
  padding: 0 var(--gutter) 112px;
  background: var(--c-bg);
}
.team-inner { display: grid; gap: 36px; max-width: 1190px; margin: 0 auto; }
/* mobil Bild über dem Text wie beim Equipment */
.team .sv { order: -1; }
.team .sv { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.5)); }
.team-sign {
  margin: 30px 0 0;
  font: 400 clamp(1.5rem, 5vw, 1.875rem)/1.2 var(--font-script);
  color: var(--c-gold);
  transform: rotate(-3deg);
  transform-origin: left center;
}
@media (min-width: 960px) {
  .team { padding-block: 0 140px; }
  .team .sv { order: 0; }
  .team-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(48px, 7vw, 112px);
  }
  .team .sv { width: min(100%, 480px); justify-self: end; }
}

/* ---------- Hopfendolden als Deko (schweben per js/location.js) ---------- */
.deko-hop {
  position: absolute;
  z-index: 0;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.35));
}
.deko-hop--1 { top: 24px; right: -48px; width: clamp(120px, 15vw, 250px); rotate: 16deg; }
.deko-hop--3 { bottom: 28%; left: -36px; width: clamp(80px, 8vw, 140px); rotate: -28deg; }
.deko-hop--2 { top: -16px; right: -36px; width: clamp(90px, 10vw, 170px); rotate: 22deg; filter: drop-shadow(0 16px 18px rgba(70, 30, 0, 0.3)); }
@media (max-width: 959.98px) {
  .deko-hop--1 { top: -8px; right: -56px; opacity: 0.9; }
  .deko-hop--3 { display: none; }
  .deko-hop--2 { top: 8px; right: -44px; }
}

/* ==========================================================================
   FAQ (#faq) – Kraftpapier (Flyer-Abschlussbanner), feste Farben wie die
   Bier-Sektion. Links Kopf + Splitter-Bild (klebt auf Desktop), rechts
   Fragen in drei Gruppen. <details name="faq"> → nur eine Antwort offen.
   Das Glas neben jeder Frage füllt sich mit Bier, wenn sie aufgeht.
   ========================================================================== */
.faq {
  position: relative;
  overflow: clip;
  padding: 88px var(--gutter) 112px;
  color: #2a1206;
  background-color: #cdb293;
  /* Papierstruktur: feines Rauschen + weiche Aufhellung in der Mitte */
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255, 244, 220, 0.4), rgba(255, 244, 220, 0) 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .2 0 0 0 0 .08 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.faq-inner { position: relative; z-index: 1; max-width: 1190px; margin: 0 auto; }
.faq-script {
  margin: 0 0 4px;
  font: 400 clamp(1.25rem, 4.4vw, 1.625rem)/1.2 var(--font-script);
  color: #7a3a0c;
}
.faq-title {
  margin: 0;
  font: 400 clamp(2.75rem, 10vw, 4.75rem)/0.95 var(--font-display);
  letter-spacing: 0.01em;
}
.faq-lead { max-width: 30rem; margin: 14px 0 0; color: #3a1b08; }
.faq-visual { width: min(78%, 340px); margin: 36px auto 8px; filter: drop-shadow(0 22px 26px rgba(70, 30, 0, 0.3)); }

.faq-main { margin-top: 32px; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 4px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(42, 18, 6, 0.75);
  font: 400 clamp(1.75rem, 5vw, 2.25rem)/1 var(--font-display);
  letter-spacing: 0.02em;
}
.faq-group-title span { color: #7a3a0c; }

.faq-item { border-bottom: 1px solid rgba(42, 18, 6, 0.2); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 16px 2px;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font: 600 1.125rem/1.4 var(--font-body); transition: color 0.2s ease; }
.faq-item summary:hover .faq-q,
.faq-item[open] .faq-q { color: #7a3a0c; }
.faq-item summary:focus-visible { outline: 2px solid #2a1206; outline-offset: 2px; border-radius: 6px; }
.faq-a p { max-width: 40rem; margin: 0; padding: 0 52px 22px 2px; font-size: 1.0625rem; line-height: 1.65; color: #3a1b08; }

/* Bierglas-Symbol: füllt sich beim Öffnen (registrierte Custom Properties → animierbar) */
@property --beer { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
@property --foam { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
.faq-glass {
  --beer: 0%;
  --foam: 0%;
  position: relative;
  flex: none;
  width: 28px;
  height: 36px;
  background: #2a1206;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%);
  transition: --beer 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), --foam 0.45s ease;
}
.faq-glass::before {
  content: "";
  position: absolute;
  inset: 2px 2px 2px;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%);
  background: linear-gradient(0deg,
    #e8a52a var(--beer),
    #fff7e4 var(--beer) calc(var(--beer) + var(--foam)),
    #e9dcc4 calc(var(--beer) + var(--foam)));
}
.faq-item summary:hover .faq-glass { --beer: 16%; --foam: 6%; }
.faq-item[open] .faq-glass { --beer: 64%; --foam: 20%; transition-delay: 0s, 0.3s; }

/* Weiches Auf- und Zuklappen, wo der Browser es kann */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq { interpolate-size: allow-keywords; }
    .faq-item::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), content-visibility 0.45s allow-discrete;
    }
    .faq-item[open]::details-content { block-size: auto; }
    .faq-a { opacity: 0; translate: 0 -6px; transition: opacity 0.35s ease, translate 0.45s ease; }
    .faq-item[open] .faq-a { opacity: 1; translate: 0 0; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-glass { transition: none; }
}

.faq-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 44px;
  padding: 24px;
  border: 1px solid rgba(42, 18, 6, 0.18);
  border-radius: 20px;
  background: rgba(255, 248, 232, 0.5);
}
.faq-more p { flex: 1 1 260px; margin: 0; line-height: 1.5; color: #3a1b08; }
.faq-more strong { color: #2a1206; }

@media (min-width: 960px) {
  .faq { padding-block: 120px 140px; }
  .faq-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(48px, 7vw, 112px);
  }
  .faq-aside { position: sticky; top: 112px; align-self: start; }
  .faq-visual { width: min(100%, 380px); margin: 40px 0 0; }
  .faq-main { margin-top: 0; }
  .faq-q { font-size: 1.1875rem; }
}

/* Splitter-Bilder außerhalb des Ablaufs (js/splitter.js): einmal aufbauen */
.sv-solo.is-enhanced .sv-bg { transition: clip-path 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.sv-solo.is-enhanced .sv-bg img { transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.sv-solo.is-enhanced .sv-cut { transition: opacity 0.6s ease 0.2s, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s; }
.sv-solo.is-enhanced:not(.is-active) .sv-bg { clip-path: var(--clip-closed); }
.sv-solo.is-enhanced:not(.is-active) .sv-bg img { transform: scale(1.08); }
.sv-solo.is-enhanced:not(.is-active) .sv-cut { opacity: 0; transform: translateY(5%); }
@media (prefers-reduced-motion: reduce) {
  .sv-solo.is-enhanced .sv-bg,
  .sv-solo.is-enhanced .sv-bg img,
  .sv-solo.is-enhanced .sv-cut { transition: none; }
}

/* ==========================================================================
   Kontakt / Anmeldung (#anmeldung) – Kundenvorlage Screenshot 30.10. „12.13.19“
   Foto über die ganze Breite (rechts anstoßende Gläser mit Logo, links dunkel),
   Formular links darüber, darunter kleine Karte. Bleibt in beiden Themes ein
   dunkles Foto-Panel (wie der Hero) → feste Farben statt Theme-Tokens.
   Mobil: Hochformat-Ausschnitt oben, Formular schiebt sich darüber.
   ========================================================================== */
.contact {
  position: relative;
  isolation: isolate;
  overflow: clip;                /* nicht hidden – sonst klebt das Bild nicht (sticky) */
  background: #0f0d0b;
  color: #f3ece2;
  color-scheme: dark;
}
.contact-bg {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 78svh;
}
.contact-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #0f0d0b 0, rgba(15, 13, 11, 0) 18%),
    linear-gradient(0deg, #0f0d0b 0, rgba(15, 13, 11, 0.6) 30%, rgba(15, 13, 11, 0) 60%);
}

.contact-inner { padding: 52svh var(--gutter) 96px; }
.contact-col { display: grid; gap: 20px; max-width: 600px; margin: 0 auto; }

.contact-panel {
  padding: 28px 22px;
  border: 1px solid rgba(243, 236, 226, 0.12);
  border-radius: 24px;
  background: rgba(20, 16, 12, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.contact-script {
  margin: 0 0 4px;
  font: 400 clamp(1.25rem, 4.4vw, 1.625rem)/1.2 var(--font-script);
  color: var(--c-gold);
}
.contact-title {
  margin: 0;
  font: 400 clamp(2.5rem, 9vw, 4rem)/0.95 var(--font-display);
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.contact-lead { margin: 14px 0 0; color: rgba(243, 236, 226, 0.82); }
.contact-lead strong { color: #f3ece2; }

/* ---------- Formular ---------- */
.contact-form { margin-top: 28px; }
.field label { display: block; margin-bottom: 8px; font-size: 1rem; font-weight: 600; }
.field-opt { font-weight: 400; color: rgba(243, 236, 226, 0.6); }

.contact-grid { display: grid; gap: 18px; }
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid rgba(243, 236, 226, 0.24);
  border-radius: 14px;
  background: rgba(243, 236, 226, 0.06);
  color: #f3ece2;
  font: 400 1.0625rem/1.4 var(--font-body);   /* ≥ 16 px: kein Zoom auf dem iPhone */
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.field textarea { min-height: 112px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 48px;
  background: rgba(243, 236, 226, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3ece2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 20px;
}
.field select option { background: #1a1714; color: #f3ece2; }
.field ::placeholder { color: rgba(243, 236, 226, 0.42); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(243, 236, 226, 0.45); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-amber);
  background-color: rgba(243, 236, 226, 0.09);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-amber) 35%, transparent);
}
.field input:user-invalid { border-color: #e0805f; }

.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  margin-top: 22px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(243, 236, 226, 0.78);
  cursor: pointer;
}
.contact-consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cta-bg); cursor: pointer; }
.contact-consent a,
.contact-direct a { color: #f3ece2; text-underline-offset: 3px; }
.contact-consent a:hover,
.contact-direct a:hover { color: var(--c-amber-hover); }

.contact-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.contact-submit .btn { width: 100%; }
.contact-trust { margin: 0; font-size: 0.9375rem; color: rgba(243, 236, 226, 0.65); }
.contact-status:empty { display: none; }
.contact-status {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--cta-bg);
  border-radius: 8px;
  background: rgba(243, 236, 226, 0.07);
  font-size: 1rem;
}
.contact-direct {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(243, 236, 226, 0.12);
  font-size: 1rem;
  color: rgba(243, 236, 226, 0.7);
}

/* ---------- Kleine Karte (lädt Google Maps erst nach Klick) ---------- */
.contact-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(243, 236, 226, 0.12);
  border-radius: 20px;
  background: rgba(20, 16, 12, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.map-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: 12px;
  background: #2a241d;
}
.map-frame img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62) saturate(0.85); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #f3ece2;
  font: 600 0.9375rem/1.2 var(--font-body);
  cursor: pointer;
}
.map-load svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(243, 236, 226, 0.92);
  color: #1a1714;
  transition: transform 0.2s ease;
}
.map-load:hover svg { transform: translateY(-2px) scale(1.05); }
.map-load:focus-visible { outline: 2px solid var(--c-amber); outline-offset: -4px; }
/* geladen: Karte über die volle Breite der Karte */
.contact-map.is-loaded .map-frame { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.map-info { font-size: 0.9375rem; line-height: 1.45; }
.map-title { margin: 0; font: 400 1.5rem/1 var(--font-display); letter-spacing: 0.02em; }
.map-info address { margin: 4px 0 0; font-style: normal; color: rgba(243, 236, 226, 0.8); }
.map-route {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: #f3ece2;
  text-underline-offset: 3px;
}
.map-route:hover { color: var(--c-amber-hover); }
.map-note { margin: 0; font-size: 0.8125rem; color: rgba(243, 236, 226, 0.5); }

@media (min-width: 600px) {
  .contact-panel { padding: 40px 40px 36px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
  .contact-submit .btn { width: auto; }
}

/* ---------- Desktop: Bild über die ganze Sektion, Formular links ---------- */
@media (min-width: 960px) {
  /* Bild klebt bildschirmhoch hinter dem (längeren) Formular – sonst würde
     „cover“ es auf Sektionshöhe aufblasen und die Gläser riesig machen */
  .contact-bg {
    position: sticky;
    inset: 0 auto auto;
    display: block;
    height: 100svh;
    margin-bottom: -100svh;
  }
  .contact-bg img { object-position: 78% 40%; }
  .contact-bg::after {
    background:
      linear-gradient(90deg, rgba(15, 13, 11, 0.92) 0, rgba(15, 13, 11, 0.7) 32%, rgba(15, 13, 11, 0) 58%),
      linear-gradient(180deg, rgba(15, 13, 11, 0.55) 0, rgba(15, 13, 11, 0) 14%, rgba(15, 13, 11, 0) 88%, rgba(15, 13, 11, 0.6) 100%);
  }
  .contact-inner {
    display: flex;
    align-items: center;
    max-width: var(--container);
    min-height: 100svh;
    margin: 0 auto;
    padding: 112px var(--gutter) 96px;
  }
  .contact-col { width: min(580px, 46%); margin: 0; }
  .contact-panel { padding: 36px 36px 32px; }
  .contact-title { font-size: clamp(3rem, 4.2vw, 3.75rem); }
  .contact-form { margin-top: 24px; }
  .contact-grid { gap: 14px 16px; }
  .field label { margin-bottom: 6px; }
  .field input,
  .field select { min-height: 52px; padding-block: 12px; }
  .field textarea { min-height: 92px; }
}

/* ---------- TEMP: Platzhalter für kommende Sektionen ---------- */
.todo-section {
  min-height: 60vh;
  display: grid;
  place-content: center;
  padding: 80px var(--gutter);
  border-top: 1px solid var(--c-line);
  color: var(--c-muted);
  text-align: center;
}
