/* =========================================================================
   Yangguofu Malatang Dortmund — Cinematic Showroom
   Palette: Orange #E9711A · Ink #1A130B · Beige #F6EDDA · Birch #D9B98C · Broth Red #C23A1C
   Type: Clash Display (display) · General Sans (body) · JetBrains Mono (spec labels)
   ========================================================================= */

/* ---------- Self-hosted fonts (DSGVO: no third-party requests) ---------- */
@font-face { font-family: 'Clash Display'; src: url('fonts/ClashDisplay-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('fonts/ClashDisplay-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('fonts/ClashDisplay-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('fonts/GeneralSans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('fonts/GeneralSans-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('fonts/GeneralSans-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/JetBrainsMono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/JetBrainsMono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --orange: #E9711A;
  --orange-deep: #C0480F;
  --ink: #1A130B;
  --ink-2: #241A10;
  --beige: #F6EDDA;
  --beige-2: #FCF6EA;
  --birch: #D9B98C;
  --broth-red: #C23A1C;
  --broth-gold: #E8CF9A;

  --line-on-light: rgba(26, 19, 11, 0.14);
  --line-on-dark: rgba(246, 237, 218, 0.16);
  --muted-on-light: #6B5847;
  --muted-on-dark: #C7B69E;

  --heat: linear-gradient(105deg, var(--orange-deep), #E0531A 58%, #EF7D22);

  --font-display: 'Clash Display', system-ui, sans-serif;
  --font-body: 'General Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-cn: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;

  --r-card: 20px;
  --maxw: 1240px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.01em; margin: 0; }
.cn { font-family: var(--font-cn); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: clamp(80px, 11vw, 150px) 0; }

/* ---------- Chapter theming (light beige / dark ink story beats) ---------- */
.chapter-light { background: var(--beige); color: var(--ink); }
.chapter-dark { background: var(--ink); color: var(--beige); }
.chapter-dark .kicker { color: var(--orange); }
.chapter-dark .body-l { color: var(--muted-on-dark); }
.chapter-light .body-l { color: var(--muted-on-light); }

.kicker {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-deep);
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }

h2 { font-size: clamp(36px, 5.6vw, 68px); }
.body-l { font-size: clamp(17px, 2vw, 20px); max-width: 56ch; margin: 20px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.22s ease, background 0.22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--heat); color: #fff; box-shadow: 0 14px 30px -14px rgba(224, 83, 26, 0.75); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(224, 83, 26, 0.8); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; opacity: 0.9; }
.btn-ghost:hover { transform: translateY(-2px); opacity: 1; }

/* =========================================================================
   BROTH THREAD — the scroll signature (fills with page progress)
   ========================================================================= */
.thread {
  position: fixed; left: clamp(14px, 3vw, 38px); top: 0; bottom: 0; width: 3px;
  background: rgba(26, 19, 11, 0.08); z-index: 40; pointer-events: none;
  border-radius: 999px; overflow: visible;
}
.thread-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--broth-gold), var(--orange) 55%, var(--broth-red));
  border-radius: 999px;
}
.thread-drop {
  position: absolute; left: 50%; transform: translateX(-50%); top: 0%;
}
/* Kleiner chinesischer Glücksknoten (Knoten · Jadering · Quaste) als Läufer */
.thread-knot { width: 26px; height: 68px; margin-top: -4px; pointer-events: none; }
.thread-knot svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 1px 4px rgba(194, 58, 28, 0.45)); }
@media (max-width: 900px) { .thread { display: none; } }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center;
  background: none; border: 0;
  transition: color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}
/* Beim Scrollen bekommt die Leiste einen Schleier, sonst kollidieren
   Logo und Sprachschalter mit den Überschriften darunter. */
.nav.scrolled {
  background: rgba(246, 237, 218, 0.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-on-light);
}
.nav.on-dark { color: var(--beige); }
.nav.scrolled.on-dark {
  background: rgba(26, 19, 11, 0.62);
  box-shadow: 0 1px 0 var(--line-on-dark);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
/* Offizielles Yangguofu-Logo (freigestellter Kreis, wirkt auf hell und dunkel) */
.brand-mark {
  width: 38px; height: 38px; flex: none; display: block;
  object-fit: contain; border-radius: 0; background: none;
  filter: drop-shadow(0 5px 14px rgba(224, 83, 26, 0.45));
}
/* Offizieller Schriftzug (YANGGUOFU + 楊國福) als freigestellte Grafik.
   Sie ist schwarz — auf dunklen Kapiteln wird sie per Filter zu Beige. */
.brand-word { display: block; height: 26px; width: auto; }
.nav.on-dark .brand-word,
footer .brand-word { filter: brightness(0) invert(1); opacity: 0.94; }
.brand-name small { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.34em; opacity: 0.6; font-weight: 400; margin-top: 4px; text-align: center; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 15px; opacity: 0.78; transition: opacity 0.15s, color 0.15s; }
.nav-links a:hover { opacity: 1; color: var(--orange); }
.nav-links .nav-visit { border: 1px solid currentColor; border-radius: 999px; padding: 7px 16px; opacity: 1; }
.nav-links .nav-visit:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; overflow: hidden; opacity: 0.9; }
.lang-toggle button { background: transparent; border: 0; color: inherit; font-family: var(--font-mono); font-size: 12px; padding: 6px 12px; transition: background 0.2s, color 0.2s; }
.lang-toggle button.active { background: var(--heat); color: #fff; }

/* Nav links visible on desktop; hamburger menu only on small screens */
.nav-links { display: none; }
@media (min-width: 761px) {
  .nav-links {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 24px;
    background: none; color: inherit; border: 0; padding: 0; box-shadow: none;
  }
  .nav-links a { padding: 0; width: auto; border: 0; font-size: 15px; opacity: 0.82; }
  .nav-links a:hover { opacity: 1; color: var(--orange); }
  .nav-links .nav-visit { border: 1px solid currentColor; border-radius: 999px; padding: 7px 16px; opacity: 1; }
  .nav-links .nav-visit:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
  .nav .nav-toggle { display: none; }
}
.nav-toggle {
  display: grid; place-items: center; background: none; border: 0; color: inherit; padding: 6px;
  transition: transform 0.2s ease;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav.open .nav-toggle { transform: rotate(90deg); }
.nav.open .nav-links {
  display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
  flex-direction: column; align-items: flex-start; gap: 0;
  background: var(--beige-2); color: var(--ink); border-bottom: 1px solid var(--line-on-light);
  padding: 10px 24px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.3);
}
.nav.open .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line-on-light); }
.nav.open .nav-links .nav-visit { border: 0; border-bottom: 1px solid var(--line-on-light); border-radius: 0; padding: 14px 0; }

/* =========================================================================
   1 · HERO
   ========================================================================= */
.hero { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 30px) 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 50% at 78% 30%, rgba(233, 113, 26, 0.14), transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; }

/* Hero event pill — badge above the headline, links to the finale event banner */
.fw { width: 14px; height: 14px; flex: none; }
.fw-2 { opacity: 0.7; }
.event-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; margin-bottom: 20px;
  border: 1px solid rgba(233, 113, 26, 0.4); border-radius: 999px;
  background: rgba(233, 113, 26, 0.12);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em;
  color: inherit; transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.event-pill:hover { background: rgba(233, 113, 26, 0.22); border-color: var(--orange); transform: translateY(-1px); }
.hero-cinema .event-pill { color: var(--orange); border-color: rgba(233, 113, 26, 0.55); background: rgba(0, 0, 0, 0.28); backdrop-filter: blur(6px); }
.hero-cinema .event-pill:hover { background: rgba(233, 113, 26, 0.32); border-color: var(--orange); }

.hero-cn { margin: 0 0 10px; font-size: clamp(18px, 2.4vw, 24px); color: var(--orange-deep); font-weight: 700; letter-spacing: 0.08em; }
.hero-h1 { font-size: clamp(38px, 6.6vw, 88px); font-weight: 700; letter-spacing: -0.02em; }
/* Zwischenüberschrift: größer als der Fließtext, kleiner als die Hauptzeile */
.hero-tagline {
  margin: 14px 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 3.6vw, 46px); line-height: 1.1;
  letter-spacing: -0.01em; color: var(--orange-deep);
}
.hero-sub { margin: 20px 0 32px; font-size: clamp(17px, 2vw, 20px); color: var(--muted-on-light); max-width: 42ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin: 28px 0 0; display: flex; gap: 24px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted-on-light); }

/* Hero cinema — full-bleed illustration, scrim for text, plushie mascot */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img,
.hero-bg video.slot-video { width: 100%; height: 100%; object-fit: cover; will-change: transform; display: block; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 11, 5, 0.82) 0%, rgba(18, 11, 5, 0.55) 38%, rgba(18, 11, 5, 0.12) 62%, rgba(18, 11, 5, 0.25) 100%),
    linear-gradient(0deg, rgba(18, 11, 5, 0.5) 0%, transparent 30%),
    linear-gradient(180deg, rgba(18, 11, 5, 0.55) 0%, transparent 14%);
}
.hero-cinema .hero-grid { grid-template-columns: minmax(0, 660px); position: relative; z-index: 1; }
.hero-cinema .hero-sub, .hero-cinema .hero-meta { color: rgba(246, 237, 218, 0.82); }
.hero-cinema .hero-cn { color: var(--broth-gold); }
.hero-cinema .hero-tagline { color: var(--broth-gold); }
.hero-cinema .scroll-hint { color: rgba(246, 237, 218, 0.75); }
.hero-plushie {
  position: absolute; right: clamp(-30px, -1vw, 0px); bottom: -3vh; z-index: 2;
  width: clamp(370px, 48vw, 780px); height: auto; pointer-events: none;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
  will-change: transform;
}
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-on-light); opacity: 0.85;
}
.scroll-hint svg { width: 18px; height: 18px; animation: hint 2.2s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* =========================================================================
   2 · WAS IST MALATANG
   ========================================================================= */
.mala-h2 { font-size: clamp(40px, 6.5vw, 84px); margin-bottom: clamp(40px, 6vw, 70px); }
.mala-words { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.mala-word { border-top: 2px solid var(--orange); padding-top: 22px; }
.mala-glyph { display: block; font-size: clamp(64px, 9vw, 120px); font-weight: 900; line-height: 1; color: var(--orange); }
.mala-word h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 14px 0 8px; font-style: italic; font-weight: 500; }
.mala-word p { margin: 0; color: var(--muted-on-light); font-size: 15.5px; }
.mala-body { margin: clamp(40px, 6vw, 64px) 0 0; font-size: clamp(19px, 2.6vw, 26px); line-height: 1.45; max-width: 40ch; font-family: var(--font-display); font-weight: 500; }

/* =========================================================================
   3 · SO FUNKTIONIERT'S (pinned scene)
   ========================================================================= */
/* Each step is its own full-screen "page": the next one rotates in from the
   bottom-left corner and stacks over the pinned previous step (story-scroll).
   Default (no JS / mobile / reduced motion): beats stack as a normal list. */
.how-pin { position: relative; }
.how-beat { position: relative; }
.how-beat-inner { position: relative; }
.how-beat-media { position: relative; margin: 0; height: 46vh; overflow: hidden; }
.how-beat-media img { width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; }

/* Schritt 3 — geteilte Seite: links Getränk, rechts Topping mit Kurztext */
.how-split { display: grid; grid-template-columns: 1fr 1fr; }
.how-split-half { position: relative; margin: 0; overflow: hidden; }
.how-split-half img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Die Karaffe steht im Foto rechts der Mitte. Am Desktop ist die Hälfte
   hochkant, am Handy quer — mit object-position bleibt sie in beiden Fällen
   im Bild, ohne dass zwei Zuschnitte gepflegt werden müssen. */
.how-split-half img[data-slot="how3"] { object-position: 61% center; }
.how-split-half + .how-split-half { border-left: 2px solid rgba(246, 237, 218, 0.25); }
.how-split-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 18px clamp(14px, 2.5vw, 28px) 16px;
  background: linear-gradient(0deg, rgba(12, 8, 3, 0.82), rgba(12, 8, 3, 0.45) 65%, transparent);
  color: var(--beige); font-family: var(--font-mono); font-size: clamp(11px, 1.3vw, 13px);
  letter-spacing: 0.04em; line-height: 1.55;
}
@media (max-width: 760px) {
  .how-split { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .how-split-half + .how-split-half { border-left: 0; border-top: 2px solid rgba(246, 237, 218, 0.25); }
}
.how-beat-copy { position: relative; padding: 28px 0 64px; }
.how-num {
  font-family: var(--font-mono); font-size: 13px; color: var(--orange-deep);
  border: 1.5px solid var(--orange); border-radius: 50%; width: 34px; height: 34px;
  display: inline-grid; place-items: center; margin-bottom: 18px;
}
.how-beat h3 { font-size: clamp(30px, 4.6vw, 60px); margin: 0 0 14px; }
.how-beat-copy > .wrap > p:last-of-type, .how-beat-copy p[data-i18n] { font-size: clamp(16px, 1.8vw, 19px); max-width: 46ch; margin: 0; }
.how-broths { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; max-width: 560px; }
.broth-chip {
  appearance: none; font: inherit; cursor: pointer; text-align: left;
  border: 1px solid rgba(246, 237, 218, 0.28); border-radius: 999px; padding: 9px 18px;
  font-size: 14px;
  /* Deckend, nicht durchscheinend — auf dem Foto sonst schlecht lesbar */
  background: #241A10; color: var(--beige);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.broth-chip em { font-style: normal; opacity: 0.72; font-size: 12px; margin-left: 6px; }

/* Empfehlung: die beiden meistgewählten Brühen hervorheben */
.broth-chip { position: relative; }
.broth-chip[data-pick]::after {
  content: attr(data-pick);
  position: absolute; top: -8px; right: 12px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em;
  text-transform: uppercase; line-height: 1;
  padding: 4px 8px; border-radius: 999px;
  background: var(--broth-gold); color: #3A2408;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.broth-chip[data-pick] { border-color: rgba(232, 207, 154, 0.55); }
/* Story-scroll mode (class set by JS on desktop) */
.how.cine .how-beat { position: relative; min-height: 100vh; overflow: hidden; }
.how.cine .how-beat-inner {
  position: absolute; inset: 0;
  transform-origin: bottom left; will-change: transform;
  background: #120b05;
  box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.55);
}
.how.cine .how-beat-media { position: absolute; inset: 0; height: auto; margin: 0; }
/* Beat 1: extra black wash on top of the usual scrim — mutes fine detail
   so the photo reads less like a crisp AI render. */
#ingredientsBeat .how-beat-media img { filter: brightness(0.74) saturate(0.8) contrast(0.95); }
#ingredientsBeat .how-beat-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(18, 11, 5, 0.22);
}
.how.cine .how-beat-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 11, 5, 0.72) 0%, rgba(18, 11, 5, 0.32) 52%, rgba(18, 11, 5, 0.06) 75%),
    linear-gradient(0deg, rgba(18, 11, 5, 0.62) 0%, rgba(18, 11, 5, 0.2) 32%, transparent 55%);
}
.how.cine .how-beat-copy {
  position: absolute; left: 0; right: 0; bottom: clamp(56px, 12vh, 130px); padding: 0;
  color: var(--beige); z-index: 2;
}
.how.cine .how-beat-copy .kicker { color: var(--broth-gold); }
.how.cine .how-beat h3 { color: var(--beige); }
.how.cine .how-beat-copy p[data-i18n] { color: rgba(246, 237, 218, 0.85); }
.how.cine .how-num { color: var(--broth-gold); border-color: var(--orange); }

/* Color-world pages: the broth step now uses the splash photo as its own
   background (same treatment as the other photo beats); the finale keeps
   its full chili-red tone. */
.how.cine .how-beat--gold h3 { font-size: clamp(28px, 3.6vw, 46px); }
.how.cine .how-beat--gold .broth-chip { font-size: clamp(15px, 1.5vw, 19px); padding: 14px 24px; }
.how.cine .broth-chip[aria-selected="true"] { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Chapter 2 · clickable broth selector — buttons stack as a list, a detail
   panel on the right swaps its placeholder image + description on click. */
.how-broth-layout { display: grid; grid-template-columns: 1fr; gap: clamp(26px, 4vw, 52px); width: 100%; align-items: center; }
.how-broth-layout .how-broths { flex-direction: column; flex-wrap: nowrap; max-width: 480px; }
.how-broth-layout .broth-chip { display: block; width: 100%; }
.how-broth-layout .broth-chip em { display: block; margin: 3px 0 0; }
.broth-chip:hover { transform: translateX(4px); }
.how-broth-hint { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; margin: 18px 0 0; opacity: 0.72; }
.how-broth-figure {
  /* Browser-Standardabstand (1em 40px) entfernen — kostete 80px Bildbreite */
  margin: 0 0 12px;
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--broth-gold); color: #7c5a1e;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.6);
  transition: background 0.4s ease, color 0.4s ease;
}
.how-broth-figure svg { width: 42px; height: 42px; opacity: 0.75; }
.how-broth-figure-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; opacity: 0.85; }
.how-broth-detail h4 { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); margin: 18px 0 8px; }
.how-broth-detail p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.how-broth-spice {
  margin-top: 10px !important; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.05em; color: var(--broth-gold) !important;
}

/* Desktop cine: two columns, copy vertically centred to make room. The right
   column now floats over the busy broth photo, so it gets its own dark
   backing to keep the placeholder + text readable regardless of what the
   photo looks like behind it. */
.how.cine .how-beat--gold .how-beat-copy { top: 0; bottom: 0; display: flex; align-items: center; }
.how.cine .how-beat--gold .how-broth-layout { grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); }
.how.cine .how-broth-detail {
  padding: clamp(18px, 2.2vw, 28px); border-radius: var(--r-card);
  background: rgba(18, 11, 5, 0.4); backdrop-filter: blur(6px);
  border: 1px solid rgba(246, 237, 218, 0.14);
}

/* Beat 4 „Genießen": früher eine reine rote Fläche — jetzt liegt das Foto
   der fertigen Schüssel darunter, der rote Schleier bleibt als Abschluss. */
.how.cine .how-beat--red .how-beat-inner { background: var(--broth-red); }
.how.cine .how-beat--red .how-beat-media::after {
  background:
    linear-gradient(90deg, rgba(150, 38, 16, 0.6) 0%, rgba(150, 38, 16, 0.26) 58%, rgba(150, 38, 16, 0.05) 100%),
    linear-gradient(0deg, rgba(96, 22, 8, 0.72) 0%, rgba(120, 30, 12, 0.28) 30%, transparent 55%);
}
.how.cine .how-beat--red .how-beat-media img { filter: saturate(1.05) contrast(1.02); }
.how.cine .how-beat--red h3 { color: var(--beige); font-size: clamp(56px, 10vw, 140px); line-height: 1; }
.how.cine .how-beat--red .how-beat-copy p[data-i18n] { color: #fff; }
.how.cine .how-beat--red .how-beat-copy .kicker { color: var(--broth-gold); }
.how.cine .how-beat--red .how-num { color: var(--beige); border-color: var(--beige); }

/* Static list mode: copy reads on the light chapter background */
.how.static .broth-chip, .how:not(.cine) .broth-chip { border-color: var(--line-on-light); background: var(--beige-2); color: var(--ink); }
.how.static .broth-chip[aria-selected="true"], .how:not(.cine) .broth-chip[aria-selected="true"] { background: var(--ink); color: var(--broth-gold); border-color: var(--ink); }

/* Story-scroll on phones: tighter type, stacked broth layout, compact detail */
@media (max-width: 760px) {
  /* Text mittig statt ganz unten — sonst klebt er auf der festen
     Aktionsleiste (Anrufen/Route/FAQ) und wirkt gequetscht */
  .how.cine .how-beat-copy {
    top: 0; bottom: 0; display: flex; align-items: center;
    padding-top: calc(var(--nav-h) + 10px); /* Ziffer nicht unter das Logo schieben */
    padding-bottom: 64px;                   /* Platz für die Aktionsleiste */
  }
  .how.cine .how-beat h3 { font-size: clamp(24px, 7.5vw, 38px); }
  .how.cine .how-beat--red h3 { font-size: clamp(40px, 14vw, 72px); }
  .how.cine .how-beat--gold .how-broth-layout { grid-template-columns: 1fr; gap: 10px; }
  .how.cine .how-beat--gold h3 { font-size: clamp(19px, 5.4vw, 26px); }
  .how.cine .how-beat--gold .broth-chip { padding: 7px 10px; font-size: 12px; }
  .how.cine .how-beat--gold .broth-chip em { font-size: 10.5px; margin-top: 1px; }
  /* Fünf Brühen in zwei Spalten statt untereinander — spart die Höhe,
     die sonst für Foto und Beschreibung fehlt */
  .how-broth-layout .how-broths {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; max-width: none;
  }
  .how-broth-layout .broth-chip { width: auto; }
  /* Einleitungssatz auf dem Handy weglassen — die Chips sagen dasselbe */
  .how.cine .how-beat--gold .how-broth-main > p[data-i18n] { display: none; }
  .how-broth-hint { display: none; }
  .how.cine .how-broth-detail { padding: 12px 14px; }
  /* Brühen-Foto AUCH auf dem Handy zeigen (vorher ausgeblendet) —
     kompakt als Querformat-Streifen über dem Text */
  .how-broth-figure { display: block; aspect-ratio: 16 / 10; margin-bottom: 8px; }
  /* höhere Spezifität, sonst gewinnt die spätere Desktop-Regel (58vh) */
  .how.cine .how-broth-detail .how-broth-figure.has-image .slot-img { max-height: 16vh; }
  .how-broth-detail h4 { margin: 0 0 4px; font-size: 17px; }
  .how-broth-detail p { font-size: 13.5px; }

  /* Hintergrundfotos der Kapitel-2-Seiten sichtbarer machen:
     der Verlauf war für Desktop gebaut (Text links) — auf dem Handy
     steht der Text mittig, also nur von unten abdunkeln */
  .how.cine .how-beat-media::after {
    background:
      linear-gradient(0deg, rgba(18, 11, 5, 0.86) 0%, rgba(18, 11, 5, 0.5) 34%, rgba(18, 11, 5, 0.12) 62%, transparent 82%);
  }
  #ingredientsBeat .how-beat-media img { filter: brightness(0.92) saturate(0.95) contrast(1); }
  #ingredientsBeat .how-beat-media::before { background: rgba(18, 11, 5, 0.06); }
}
.how.static .how-broth-hint, .how:not(.cine) .how-broth-hint { color: var(--orange-deep); }
.how.static .how-broth-detail h4, .how:not(.cine) .how-broth-detail h4 { color: var(--ink); }
.how.static .how-broth-detail p, .how:not(.cine) .how-broth-detail p { color: var(--muted-on-light); }

/* =========================================================================
   4 · WARUM YANGGUOFU  +  5 · BRÜHE (dark chapters)
   ========================================================================= */
.brand-grid, .broth-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.brand-media img, .broth-media img, .broth-media video.slot-video { border-radius: var(--r-card); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.8); }
video.slot-video { display: block; width: 100%; height: auto; object-fit: cover; }

/* Kapitel 04 — breites Medienfenster (Querformat, breiter als hoch) */
.broth-grid { grid-template-columns: 1.2fr 0.8fr; }
.broth-media { margin: 0; } /* Browser-Standardabstand entfernen — Video war 80px schmaler */
.broth-media img, .broth-media video.slot-video {
  width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover;
}
.stat-row { display: flex; gap: clamp(28px, 5vw, 64px); margin-top: 44px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5vw, 60px); color: var(--orange); line-height: 1; font-variant-numeric: tabular-nums; }
.stat > span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted-on-dark); }
.stat-suffix { color: var(--orange); }
.stat-featured { padding: 14px 22px; border-radius: 16px; background: rgba(233, 113, 26, 0.12); border: 1px solid rgba(233, 113, 26, 0.35); }
.stat-featured b { font-size: clamp(50px, 7vw, 84px); }
.stat-featured > span { color: var(--beige); font-weight: 500; }

.brothstory { border-top: 1px solid var(--line-on-dark); }
.broth-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.broth-list li { padding-left: 28px; position: relative; color: var(--muted-on-dark); font-size: 16.5px; }
.broth-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #EF7D22, var(--orange-deep));
}

/* =========================================================================
   6 · FRISCHE ZUTATEN
   ========================================================================= */
/* Full-bleed ingredient painting fills the whole chapter. The copy sits
   bottom-left over a warm light scrim so the header reads in a dark colour
   against the bright spread, and the painting itself stays the star. */
.fresh { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100vh; min-height: 100dvh; overflow: hidden; }
.fresh-bg { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.fresh-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; will-change: transform; }
/* soft inner frame so the spread reads like a hung painting */
.fresh-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 160px 30px rgba(26, 19, 11, 0.34);
}
.fresh-copy { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vh, 96px); }
/* no visible box — copy sits directly on the light wash above */
.fresh-card { max-width: 620px; }
/* Kapitel 5: helle Schrift auf dem Gemälde */
.fresh-card h2 { color: var(--beige); }
.fresh-card .kicker { color: var(--broth-gold); }
.fresh-card .body-l { color: rgba(246, 237, 218, 0.92); margin-bottom: 0; }
/* dunkler Verlauf von unten, damit die weiße Schrift auf dem hellen
   Zutaten-Gemälde sicher lesbar bleibt */
.fresh-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(12, 8, 3, 0.88) 0%, rgba(12, 8, 3, 0.6) 26%, rgba(12, 8, 3, 0.2) 50%, transparent 72%);
}

/* =========================================================================
   7 · DEINE REGELN
   ========================================================================= */
.rules-grid { display: grid; grid-template-columns: 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.rules.panel-open .rules-grid { grid-template-columns: 1.3fr 1fr; }
.rule-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; max-width: 720px; }
.rule-chip {
  appearance: none; background: none; cursor: pointer; font: inherit;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(16px, 2vw, 20px);
  color: inherit; border: 1.5px solid var(--ink); border-radius: 999px; padding: 12px 24px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.rule-chip:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.rule-chip[aria-expanded="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.rule-note { margin-top: 28px; font-size: 13.5px; color: var(--muted-on-light); max-width: 58ch; }

/* Halal explanation panel — sits to the right of the chips on desktop */
.rules-panel {
  position: relative; align-self: start; background: var(--beige-2);
  border: 1px solid var(--line-on-light); border-radius: var(--r-card);
  padding: clamp(26px, 3.5vw, 38px); box-shadow: 0 40px 80px -50px rgba(120, 66, 24, 0.45);
}
.rules-panel-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-on-light);
  background: none; color: inherit; cursor: pointer;
}
.rules-panel-close svg { width: 16px; height: 16px; }
.rules-panel-close:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.rules-panel-kicker { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 10px; }
.rules-panel h3 { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 12px; }
.rules-panel p { margin: 0; color: var(--muted-on-light); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 1024px) {
  .rules.panel-open .rules-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   8 · NUR IN DORTMUND (horizontal pan)
   ========================================================================= */
.specials { overflow: hidden; }
.specials-pin { padding: clamp(70px, 9vw, 110px) 0; }
.specials-head { margin-bottom: clamp(36px, 5vw, 60px); }
.specials-track { display: flex; gap: clamp(20px, 3vw, 36px); padding: 0 max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); width: max-content; }
.sp-card { width: clamp(280px, 30vw, 400px); flex: none; }
.sp-card figure { margin: 0 0 18px; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 3 / 4; }
.sp-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.sp-card:hover figure img { transform: scale(1.05); }
.sp-card h3 { font-size: clamp(24px, 2.6vw, 32px); color: var(--beige); }
.sp-card p { color: var(--muted-on-dark); font-size: 15.5px; margin: 10px 0 0; max-width: 36ch; }
.sp-card-last figure { aspect-ratio: 3 / 4; }
.sp-card-clickable { cursor: pointer; }
.sp-card-clickable:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 8px; }
.sp-card-hint {
  display: inline-block; margin-top: 12px; font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.04em; color: var(--orange); opacity: 0; transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sp-card-clickable:hover .sp-card-hint, .sp-card-clickable:focus-visible .sp-card-hint { opacity: 1; transform: translateX(0); }

/* mobile: scroll-snap instead of GSAP pan */
@media (max-width: 900px) {
  .specials-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding: 0 24px; -webkit-overflow-scrolling: touch; }
  .sp-card { scroll-snap-align: start; width: 78vw; }
}

/* Handy: statt Querscrollen ein 2×2-Quadrat — alle vier Highlights
   (Bingsu, Cocktails, Snacks, Restaurant) auf einen Blick sichtbar */
@media (max-width: 760px) {
  .specials-track {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    width: auto; overflow: visible; scroll-snap-type: none;
    padding: 0 16px;
  }
  .sp-card { width: auto; scroll-snap-align: none; position: relative; }
  .sp-card figure { margin: 0; aspect-ratio: 1 / 1; }
  .sp-card-last figure { aspect-ratio: 1 / 1; }
  /* Titel als Overlay auf dem Bild — spart Höhe, alles bleibt sichtbar */
  .sp-card h3 {
    position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
    padding: 26px 10px 9px; font-size: 14.5px; line-height: 1.15;
    background: linear-gradient(0deg, rgba(12, 8, 3, 0.9), transparent);
    border-radius: 0 0 var(--r-card) var(--r-card);
  }
  .sp-card p { display: none; }        /* Beschreibungstext auf dem Handy weglassen */
  .sp-card-hint { display: none; }
  .specials-pin { padding: clamp(48px, 9vw, 70px) 0; }
}

/* =========================================================================
   9 · PREIS & PRINZIP
   ========================================================================= */
.price-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.price-steps { margin: 30px 0 0; padding: 0 0 0 20px; display: grid; gap: 14px; font-size: 16.5px; color: var(--muted-on-light); }
.price-steps li::marker { font-family: var(--font-mono); color: var(--orange-deep); font-size: 13px; }
.menu-card {
  background: var(--beige-2); border: 1px solid var(--line-on-light); border-radius: var(--r-card);
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: 0 40px 80px -50px rgba(120, 66, 24, 0.45);
}
.menu-card h3 { font-size: 24px; margin-bottom: 20px; }
.menu-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line-on-light); font-size: 16px; }
.menu-row em { display: block; font-style: normal; font-size: 13px; color: var(--muted-on-light); }
.menu-row b { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--muted-on-light); white-space: nowrap; }
.menu-row-price { border-bottom: 0; padding-top: 20px; }
.menu-row-price b { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--orange-deep); }
.menu-teaser { margin: 22px 0 0; padding: 14px 18px; border-radius: 12px; background: rgba(233, 113, 26, 0.1); border: 1px dashed rgba(233, 113, 26, 0.45); font-size: 14px; color: var(--orange-deep); }

/* =========================================================================
   10 · BESUCH UNS (finale)
   ========================================================================= */
.visit { position: relative; }
.visit::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 50% 0%, rgba(233, 113, 26, 0.12), transparent 65%);
}
.visit-h2 { font-size: clamp(44px, 7vw, 96px); }
.visit-sub { margin-bottom: clamp(40px, 6vw, 64px); }

/* Grand-opening section — copy + highlights on the left, poster placeholder right */
.fw-lg { width: 32px; height: 32px; flex: none; color: var(--orange); }
.opening {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  margin-bottom: clamp(44px, 6vw, 70px);
  padding: clamp(26px, 3.5vw, 44px);
  border: 1px solid rgba(233, 113, 26, 0.3); border-radius: var(--r-card);
  background: linear-gradient(135deg, rgba(233, 113, 26, 0.16), rgba(233, 113, 26, 0.02));
}
/* Umbricht auf schmalen Screens sauber: Datum bleibt als Einheit zusammen */
.event-banner-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin: 0 0 12px; }
.event-banner-kicker .fw { color: var(--orange); }
.event-banner-date { white-space: nowrap; }
.opening-copy h3 { font-size: clamp(24px, 3.2vw, 38px); margin: 0 0 12px; color: var(--beige); }
.opening-lead { margin: 0 0 22px; color: var(--muted-on-dark); max-width: 56ch; }

.opening-poster-intro { margin: 0; font-size: 14px; color: var(--muted-on-dark); }
.opening-poster { margin: 0; }
.opening-poster-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  aspect-ratio: 3 / 4; border-radius: 14px;
  border: 2px dashed rgba(246, 237, 218, 0.3); background: rgba(0, 0, 0, 0.28);
  color: var(--muted-on-dark);
}
.opening-poster-ph svg { width: 42px; height: 42px; opacity: 0.7; }
.opening-poster-ph span { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.opening-poster figcaption { margin-top: 12px; font-size: 12.5px; color: var(--muted-on-dark); text-align: center; }

/* Eröffnungs-Aktionen — vier Aktionskarten direkt vom Plakat */
.opening--promos { display: block; }
.opening--promos .opening-copy { max-width: 64ch; margin-bottom: clamp(22px, 3vw, 32px); }
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.6vw, 18px); margin-bottom: clamp(24px, 3.4vw, 36px); }
.promo-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(18px, 2.3vw, 26px);
  border: 1px solid rgba(233, 113, 26, 0.28); border-radius: var(--r-card);
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.12));
}
.promo-card--ig { border-color: rgba(232, 207, 154, 0.34); background: linear-gradient(160deg, rgba(232, 207, 154, 0.08), rgba(0, 0, 0, 0.14)); }
.promo-card-head { display: flex; align-items: center; gap: 12px; }
.promo-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px; color: var(--orange);
  background: radial-gradient(circle at 35% 30%, rgba(233, 113, 26, 0.28), rgba(233, 113, 26, 0.07));
  border: 1px solid rgba(233, 113, 26, 0.3);
}
.promo-icon svg { width: 22px; height: 22px; }
.promo-card--ig .promo-icon { color: var(--broth-gold); background: radial-gradient(circle at 35% 30%, rgba(232, 207, 154, 0.24), rgba(232, 207, 154, 0.05)); border-color: rgba(232, 207, 154, 0.32); }
.promo-date { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--broth-gold); font-variant-numeric: tabular-nums; }
.promo-title { margin: 2px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.14; color: var(--beige); }
.promo-desc { margin: 0; color: var(--muted-on-dark); font-size: 15px; line-height: 1.6; }
.promo-desc--tight { margin-bottom: 2px; }
.promo-prizes { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.promo-prizes li { position: relative; padding-left: 22px; color: var(--beige); font-size: 15px; line-height: 1.45; }
.promo-prizes li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #EF7D22, var(--orange-deep)); }
.promo-card--ig .promo-prizes li::before { background: radial-gradient(circle at 35% 35%, var(--broth-gold), #B79355); }
.opening-poster-row { display: grid; grid-template-columns: 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center; }
.opening-poster-row .opening-poster { width: 220px; max-width: 40vw; }

.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; }
.visit-card { background: var(--ink-2); border: 1px solid var(--line-on-dark); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); }
.countdown-card h3 { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 14px; }
.cd-unit { text-align: center; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line-on-dark); border-radius: 14px; padding: 18px 6px; }
.cd-unit b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.5vw, 52px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--beige); }
.cd-unit span { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-dark); }
.cd-foot { color: var(--muted-on-dark); font-size: 14.5px; margin: 0; }
.info-card { display: flex; flex-direction: column; gap: 22px; }
.info-block h4 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin: 0 0 8px; }
.info-block p { margin: 0; font-size: 17px; line-height: 1.55; }
/* Öffnungszeiten: Tag links, Uhrzeit rechts — bleibt auch zweizeilig lesbar */
.hours-lines { display: grid; gap: 2px; }
.hours-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; justify-content: space-between; }
.hours-day { color: var(--muted-on-dark); }
.hours-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.info-card .btn { margin-top: auto; justify-content: center; }

.map-card { grid-column: 1 / -1; min-height: 340px; padding: 0; overflow: hidden; position: relative; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 30px; background: repeating-linear-gradient(45deg, var(--ink-2), var(--ink-2) 14px, #201709 14px, #201709 28px); }
.map-consent p { max-width: 46ch; color: var(--muted-on-dark); font-size: 14px; margin: 0; }
.map-card iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* =========================================================================
   FOOTER
   ========================================================================= */
footer { border-top: 1px solid var(--line-on-dark); padding: 40px 0; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-on-dark); display: grid; place-items: center; transition: all 0.15s; }
.foot-social a:hover { border-color: var(--orange); color: var(--orange); }
.foot-social svg { width: 18px; height: 18px; }
.foot-legal { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--muted-on-dark); }
.foot-legal a:hover { color: var(--orange); }

/* =========================================================================
   INTERIOR GALLERY (lightbox)
   ========================================================================= */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(18, 11, 5, 0.78); backdrop-filter: blur(6px); }
.lightbox-panel {
  position: relative; width: min(920px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--beige); color: var(--ink); border-radius: var(--r-card);
  padding: clamp(28px, 4vw, 48px); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.6);
}
.lightbox-panel h3 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 24px; }
.lightbox-close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-on-light);
  background: var(--beige-2); color: inherit; cursor: pointer;
}
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-close:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.lightbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lightbox-item { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.lightbox-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Einzelbild (Bingsu, Cocktails, Snacks): über die volle Breite zeigen */
.lightbox-item-single { grid-column: 1 / -1; aspect-ratio: auto; max-height: 68vh; }
.lightbox-item-single img { object-fit: contain; height: auto; max-height: 68vh; }
.lightbox-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--beige-2); border: 1px dashed var(--line-on-light); color: var(--muted-on-light);
}
.lightbox-placeholder svg { width: 30px; height: 30px; opacity: 0.6; }
.lightbox-placeholder span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; }
.lightbox-note { margin: 22px 0 0; font-size: 13.5px; color: var(--muted-on-light); }
@media (max-width: 600px) {
  .lightbox-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   OPENING POPUP (countdown + fireworks)
   ========================================================================= */
.opening-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; }
.opening-modal[hidden] { display: none; }
.opening-modal-backdrop { position: absolute; inset: 0; background: rgba(12, 8, 3, 0.82); backdrop-filter: blur(8px); animation: omFade 0.3s ease; }
.opening-modal-card {
  position: relative; overflow: hidden; width: min(520px, 100%); text-align: center;
  background: linear-gradient(160deg, #241a10, #1a130b); color: var(--beige);
  border: 1px solid rgba(233, 113, 26, 0.4); border-radius: var(--r-card);
  padding: clamp(30px, 5vw, 48px);
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(233, 113, 26, 0.15);
  animation: omPop 0.5s cubic-bezier(0.2, 1.3, 0.4, 1);
}
.opening-modal-fx { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.opening-modal-inner { position: relative; z-index: 2; }
.opening-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-on-dark);
  background: rgba(0, 0, 0, 0.3); color: var(--beige); cursor: pointer;
}
.opening-modal-close:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.opening-modal-close svg { width: 18px; height: 18px; }
.opening-modal-badge {
  display: block; width: 56px; height: 56px; margin: 0 auto 16px;
  object-fit: contain; filter: drop-shadow(0 10px 24px rgba(224, 83, 26, 0.55));
}
.opening-modal-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin: 0 0 10px; }
.opening-modal-title { font-size: clamp(28px, 5vw, 42px); margin: 0 0 10px; }
.opening-modal-sub { margin: 0 0 24px; color: var(--muted-on-dark); font-size: 15.5px; }
.opening-modal-cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 26px; }
.opening-modal-cd .cd-unit { background: rgba(0, 0, 0, 0.34); border: 1px solid var(--line-on-dark); border-radius: 12px; padding: 14px 4px; text-align: center; }
.opening-modal-cd b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 5vw, 34px); line-height: 1; color: var(--beige); font-variant-numeric: tabular-nums; }
.opening-modal-cd span { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-dark); }
.opening-modal-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@keyframes omPop { from { opacity: 0; transform: translateY(20px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes omFade { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================================
   LEGAL PAGES
   ========================================================================= */
.legal-page { background: var(--beige); }
.legal { padding: 60px 24px 100px; max-width: 760px; }
/* „Datenschutzerklärung“ ist 20 Zeichen lang — die Untergrenze muss klein
   genug für 320-px-Geräte sein, sonst wird das Wort abgeschnitten. */
.legal h1 { font-size: clamp(26px, 8vw, 56px); margin: 30px 0 24px; overflow-wrap: break-word; hyphens: auto; }
.legal-table { border-collapse: collapse; width: 100%; margin: 8px 0 16px; font-size: 14px; }
.legal-table th, .legal-table td {
  text-align: left; vertical-align: top; padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--line-on-light); color: var(--muted-on-light);
}
.legal-table th { color: var(--ink); font-weight: 600; }
.legal-table code { font-family: var(--font-mono); font-size: 12.5px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p { color: var(--muted-on-light); }
.legal a { color: var(--orange-deep); text-decoration: underline; }
.legal-back { margin-top: 20px; text-decoration: none !important; }
.legal-note { font-size: 13.5px; border-left: 3px solid var(--orange); padding-left: 14px; }
.legal-lead { font-size: 18px; line-height: 1.6; }
.legal-list { color: var(--muted-on-light); margin: 0 0 14px; padding-left: 22px; display: grid; gap: 5px; }
.legal-list li { line-height: 1.55; }
.legal code { font-family: var(--font-mono); font-size: 0.88em; background: rgba(26, 19, 11, 0.07); padding: 1px 6px; border-radius: 5px; }
/* Warnhinweis, solange Pflichtangaben fehlen */
.legal-todo {
  margin: 22px 0 8px; padding: 16px 18px; border-radius: var(--r-card);
  border: 2px solid var(--broth-red); background: rgba(194, 58, 28, 0.08);
}
.legal-todo b { color: var(--broth-red); display: block; margin-bottom: 4px; }
.legal-todo p { margin: 0; font-size: 14.5px; color: var(--ink); }

/* =========================================================================
   INFO-STRIP — Sofort-Fakten direkt unter dem Hero
   ========================================================================= */
.infostrip { background: var(--ink); border-top: 1px solid var(--line-on-dark); border-bottom: 1px solid var(--line-on-dark); }
.infostrip-row {
  display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center;
  padding-top: 14px; padding-bottom: 14px;
}
.infostrip-item {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.03em;
  color: var(--muted-on-dark); display: inline-flex; align-items: center; gap: 8px;
}
.infostrip-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }
.infostrip-price { color: var(--broth-gold); font-weight: 500; }
/* Am Handy kein 4-Zeilen-Stapel, sondern EIN wischbares Band: wichtigster
   Fakt (Preis) zuerst, die Kante blendet aus und lädt zum Wischen ein. */
@media (max-width: 760px) {
  .infostrip-row {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scroll-snap-type: x proximity;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 34px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 34px), transparent);
  }
  .infostrip-row::-webkit-scrollbar { display: none; }
  .infostrip-item { flex: none; scroll-snap-align: start; }
}

/* =========================================================================
   FAQ — aufklappbare häufige Fragen
   ========================================================================= */
.faq-list { margin-top: clamp(28px, 4vw, 44px); max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line-on-light); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 2.2vw, 21px);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-weight: 400; font-size: 24px; color: var(--orange);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--orange-deep); }
.faq-item p { margin: 0; padding: 0 0 20px; color: var(--muted-on-light); max-width: 64ch; }

/* =========================================================================
   DEINE ERSTE SCHÜSSEL — kompakter Block im Finale
   ========================================================================= */
  margin: 0 0 clamp(36px, 5vw, 56px);
  padding: clamp(20px, 3vw, 30px);
  background: rgba(0, 0, 0, 0.26); border: 1px solid var(--line-on-dark); border-radius: var(--r-card);
}

/* FAQ kompakt im Finale (dunkles Kapitel) */
.faq-mini { margin-top: clamp(44px, 6vw, 72px); }
.faq-mini h3 { font-size: clamp(20px, 2.4vw, 27px); color: var(--beige); margin: 0; }
.faq-mini .faq-list { margin-top: clamp(12px, 2vw, 20px); max-width: 720px; }
.faq-mini .faq-item { border-bottom-color: var(--line-on-dark); }
.faq-mini .faq-item summary { font-size: clamp(15px, 1.8vw, 17px); padding: 14px 36px 14px 0; color: var(--beige); }
.faq-mini .faq-item summary::after { font-size: 20px; }
.faq-mini .faq-item summary:hover { color: var(--orange); }
.faq-mini .faq-item p { font-size: 14.5px; color: var(--muted-on-dark); padding-bottom: 16px; }

/* Eröffnungsfeier als eigenes Kapitel */
.opening-sec .opening { margin-bottom: 0; }
.opening-h2 { font-size: clamp(30px, 4.4vw, 54px); margin: 0 0 12px; color: var(--beige); }

/* =========================================================================
   PRESSE-LINKS (Kapitel 03)
   ========================================================================= */
.press { margin-top: clamp(30px, 4vw, 44px); display: grid; gap: 8px; }
.press-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.press a { color: var(--muted-on-dark); font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.press a:hover { color: var(--beige); }

/* =========================================================================
   GLOBUS (Kapitel 03) — ersetzt das Markenbild, Fokus auf Deutschland
   ========================================================================= */
/* Breite zusätzlich an der Fensterhöhe gedeckelt (68vh), damit die Kugel
   auch in kleinen Fenstern und auf Handys immer KOMPLETT sichtbar ist */
/* Die Box ist flacher als die Kugel → der Globus wird unten angeschnitten
   (etwa auf Höhe der halben Sahara). Der Canvas bleibt quadratisch. */
.globe-box {
  position: relative; margin: 0 auto;
  width: min(560px, 100%, 88vw, 86vh);
  aspect-ratio: 1 / 0.72; overflow: hidden;
}
.globe-box::after {
  content: ""; position: absolute; inset: -8% -8% 0; pointer-events: none;
  background: radial-gradient(45% 55% at 50% 45%, rgba(233, 113, 26, 0.14), transparent 70%);
}
#globeCanvas {
  width: 100%; aspect-ratio: 1 / 1; height: auto; display: block; cursor: grab;
  opacity: 0; transition: opacity 0.8s ease;
  touch-action: pan-y; /* vertikales Scrollen über dem Globus nicht blockieren */
}
/* Fadenkreuz-Pin — wird per JS auf Dortmund mitgeführt (Ursprung oben links) */
.globe-pin {
  position: absolute; top: 0; left: 0;
  width: 34px; height: 34px; pointer-events: none; color: var(--orange);
  filter: drop-shadow(0 0 6px rgba(233, 113, 26, 0.9));
  transition: opacity 0.35s ease; will-change: transform;
}
.globe-pin svg { width: 100%; height: 100%; animation: pinPulse 2.4s ease-in-out infinite; }
.globe-pin.flip .globe-pin-label { left: auto; right: calc(100% + 9px); }
.globe-pin-label {
  position: absolute; left: calc(100% + 9px); top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  color: var(--beige); text-shadow: 0 0 8px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 0.8);
  padding: 3px 8px; border: 1px solid rgba(233, 113, 26, 0.55); border-radius: 999px;
  background: rgba(12, 8, 3, 0.55); backdrop-filter: blur(2px);
}
@keyframes pinPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .globe-pin svg { animation: none; } }

/* =========================================================================
   MOBILE ACTION-BAR — Anrufen / Route / FAQ (nur kleine Screens)
   ========================================================================= */
.actionbar { display: none; }
@media (max-width: 760px) {
  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    background: rgba(26, 19, 11, 0.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-on-dark);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .actionbar a {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 10px 4px 9px; color: var(--beige); font-family: var(--font-mono);
    font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .actionbar a:active { background: rgba(233, 113, 26, 0.25); }
  .actionbar svg { width: 20px; height: 20px; }
  footer { padding-bottom: 110px; }
}

/* =========================================================================
   ADMIN-EDITABLE EXTRAS — slot images inside placeholders, custom panels,
   and the hover outlines shown only inside the admin preview (html.ygf-edit)
   ========================================================================= */
/* A real photo set via the admin panel covers its placeholder box */
[data-slot-placeholder] { position: relative; }
[data-slot-placeholder] .slot-img,
.how-broth-figure .slot-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 1; border-radius: inherit;
}
.opening-poster .slot-img { position: static; aspect-ratio: 3 / 4; border-radius: var(--r-card); }
.opening-poster.has-image .opening-poster-ph { display: none; }
.lightbox-placeholder.has-image { border: 0; }
.lightbox-placeholder.has-image svg, .lightbox-placeholder.has-image span { display: none; }
.how-broth-figure.has-image svg, .how-broth-figure.has-image .how-broth-figure-tag { display: none; }
/* Echtes Brühen-Bild: komplett zeigen statt beschneiden — die Box übernimmt
   das Seitenverhältnis des Bildes (auch Hochformat-Plakate bleiben ganz sichtbar) */
.how-broth-figure.has-image { aspect-ratio: auto; background: none; box-shadow: none; }
.how-broth-figure.has-image .slot-img {
  position: static; width: 100%; height: auto; max-height: 58vh;
  object-fit: contain; border-radius: var(--r-card);
}

/* Custom panels (added in the admin panel) */
.cpanel-full-h { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; }
.cpanel-full-h > .wrap { width: 100%; }
.cpanel-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.cpanel-grid--left .cpanel-copy { order: 2; }
.cpanel-grid--left .cpanel-media { order: 1; }
.cpanel-media { margin: 0; }
.cpanel-media img { border-radius: var(--r-card); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.55); }
.cpanel-bleed { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100vh; min-height: 100dvh; overflow: hidden; }
.cpanel-bg { position: absolute; inset: 0; margin: 0; background: var(--ink-2); }
.cpanel-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cpanel-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(18, 11, 5, 0.72) 0%, rgba(18, 11, 5, 0.28) 34%, transparent 60%);
}
.cpanel-bleed-copy { position: relative; z-index: 1; padding-bottom: clamp(48px, 8vh, 96px); }
.cpanel-bleed .cpanel-card { max-width: 640px; color: var(--beige); }
.cpanel-bleed .cpanel-card h2 { color: var(--beige); }
.cpanel-bleed .cpanel-card .kicker { color: var(--broth-gold); }
.cpanel-bleed .cpanel-card .body-l { color: rgba(246, 237, 218, 0.88); }
@media (max-width: 1024px) { .cpanel-grid { grid-template-columns: 1fr; } .cpanel-grid--left .cpanel-copy { order: 0; } }

/* Admin preview: show what is clickable */
html.ygf-edit [data-i18n], html.ygf-edit [data-i18n-html], html.ygf-edit [data-slot] { cursor: pointer; }
html.ygf-edit [data-i18n]:hover, html.ygf-edit [data-i18n-html]:hover {
  outline: 2px dashed var(--orange); outline-offset: 3px; border-radius: 3px;
}
html.ygf-edit [data-slot]:hover { outline: 3px dashed var(--orange); outline-offset: -3px; }

/* =========================================================================
   REVEAL (JS adds .in)
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .hero-grid, .brand-grid, .broth-grid, .price-grid { grid-template-columns: 1fr; }
  .broth-grid .broth-media { order: 2; }
  .visit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mala-words { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding-top: calc(var(--nav-h) + 16px); }
  .hero-h1 { font-size: clamp(34px, 9.6vw, 56px); }
  .hero-tagline { font-size: clamp(22px, 6.4vw, 34px); }
  /* Maskottchen deutlich kleiner und tiefer — es darf Adresse und
     Eröffnungsdatum nicht mehr verdecken */
  .hero-plushie {
    width: min(42vw, 170px); right: -10px; opacity: 0.96;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px)); /* sitzt auf der Aktionsleiste auf */
  }
  .hero-meta { position: relative; z-index: 3; }
  .scroll-hint { display: none; }
  .stat-row { gap: 24px; }
  .opening { grid-template-columns: 1fr; padding: 20px 16px; }
  .opening-poster { max-width: 320px; }
  .promo-grid { grid-template-columns: 1fr; }
  .opening-poster-row { grid-template-columns: 1fr; gap: 18px; }
  .opening-poster-row .opening-poster { width: 240px; max-width: 70%; margin: 0 auto; }
  /* Kicker/Pill: der zweite Funke ist reine Deko und würde beim Umbruch
     allein in der Zeile hängen — auf schmalen Screens ausblenden. */
  .event-pill .fw-2 { display: none; }
  .event-pill { font-size: 11.5px; padding: 8px 14px; }
  .event-banner-kicker { font-size: 11px; letter-spacing: 0.08em; }

  /* Touch-Ziele: mind. ~44px, damit sich alles sicher treffen lässt */
  .lang-toggle button {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 46px; min-height: 42px; padding: 0 12px; font-size: 12.5px;
  }
  .nav-toggle { width: 44px; height: 44px; padding: 0; }
  .opening-modal-close { width: 42px; height: 42px; top: 10px; right: 10px; }
  .foot-legal a { display: inline-block; padding: 9px 0; }
  .info-block p a { display: inline-block; padding: 9px 0; }
}

/* =========================================================================
   REDUCED MOTION — static, composed fallback
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .thread { display: none; }
}

/* Plakat antippbar: öffnet das Bild in voller Größe */
.slot-zoom { display: block; cursor: zoom-in; border-radius: var(--r-card); overflow: hidden; }
.slot-zoom .slot-img { display: block; transition: transform 0.35s ease; }
.slot-zoom:hover .slot-img { transform: scale(1.02); }

/* =========================================================================
   Zurück nach oben — dezent oben rechts, erscheint erst nach etwas Scrollen
   ========================================================================= */
.to-top {
  position: fixed; z-index: 60;
  top: calc(var(--nav-h) + 14px); right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(233, 113, 26, 0.45);
  background: rgba(26, 19, 11, 0.72);
  backdrop-filter: blur(8px);
  color: var(--beige); cursor: pointer;
  opacity: 0; transform: translateY(-6px) scale(0.92); pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.2s ease, border-color 0.2s ease;
}
.to-top svg { width: 19px; height: 19px; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.to-top:active { transform: scale(0.94); }
/* leichtes Aufleuchten, damit er wahrgenommen wird, ohne zu blinken */
.to-top.is-on::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(233, 113, 26, 0.5);
  animation: toTopPulse 3.2s ease-out infinite;
  pointer-events: none;
}
@keyframes toTopPulse {
  0%   { box-shadow: 0 0 0 0 rgba(233, 113, 26, 0.45); }
  55%  { box-shadow: 0 0 0 12px rgba(233, 113, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 113, 26, 0); }
}
@media (max-width: 760px) {
  .to-top { top: calc(var(--nav-h) + 8px); right: 12px; width: 40px; height: 40px; }
  .to-top svg { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .to-top.is-on::after { animation: none; }
}

/* =========================================================================
   Cookie-Banner — beide Knöpfe gleich gewichtet (DSGVO: keine Dark Patterns)
   ========================================================================= */
.cc {
  position: fixed; z-index: 200; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--ink-2); color: var(--beige);
  border: 1px solid rgba(233, 113, 26, 0.35); border-radius: var(--r-card);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.26s ease, transform 0.26s ease;
}
.cc.is-on { opacity: 1; transform: none; }
.cc-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 18px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cc-text { margin: 0; flex: 1 1 320px; font-size: 14.5px; line-height: 1.55; color: var(--muted-on-dark); }
.cc-text a { color: var(--broth-gold); }
/* Als Raster mit identischen Spalten: alle Knöpfe sind IMMER exakt gleich
   groß — egal ob zwei oder drei, egal wie lang die Beschriftung ist. */
.cc-actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
.cc-btn {
  appearance: none; font: inherit; font-weight: 500; font-size: 14.5px;
  padding: 11px 20px; min-height: 44px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--beige); background: transparent; color: var(--beige);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cc-btn:hover { background: rgba(246, 237, 218, 0.12); }
/* Bewusst identische Größe/Gewichtung wie „Nur notwendige" */
.cc-yes { background: var(--orange); border-color: var(--orange); color: #fff; }
.cc-yes:hover { background: var(--orange-deep); border-color: var(--orange-deep); }

/* Ebene 2: Kategorien — Statistik nie vorausgewählt */
.cc-inner-set { display: block; }
.cc-inner-set .cc-actions { margin-top: 14px; justify-content: flex-end; }
.cc-cats { display: grid; gap: 10px; margin-top: 12px; }
.cc-cat {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 12px 14px; border: 1px solid var(--line-on-dark); border-radius: 14px;
  font-size: 13.5px; line-height: 1.5; color: var(--muted-on-dark);
}
.cc-cat b { color: var(--beige); font-weight: 600; }
.cc-cat input {
  width: 20px; height: 20px; margin: 2px 0 0; flex: none;
  accent-color: var(--orange); cursor: pointer;
}
.cc-cat input:disabled { cursor: default; opacity: 0.6; }

@media (max-width: 700px) {
  .cc { left: 8px; right: 8px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .cc-inner { padding: 14px; gap: 12px; }
  /* untereinander, volle Breite — und weiterhin alle exakt gleich groß */
  .cc-actions { width: 100%; grid-auto-flow: row; }
  .cc-btn { padding: 11px 12px; }
}
/* 404-Seite — ohne Inline-Styles, die CSP erlaubt nur styles.css */
.err404 { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.err404-title { font-size: clamp(38px, 7vw, 84px); margin: 0 0 18px; }
.err404-text { margin: 0 auto 30px; max-width: 46ch; }

.foot-cookie {
  appearance: none; background: none; border: 0; padding: 9px 0;
  font: inherit; font-size: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.foot-cookie:hover { color: var(--orange); }
