/* ============================================================
   SERBAND – Schriften, Vorspann, Fenster, Rechtliches
   ============================================================ */
@font-face { font-family: "Archivo"; src: url(../fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif.woff2) format("woff2"); font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-italic.woff2) format("woff2"); font-style: italic; font-display: swap; }



/* ---------- Vorspann ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: radial-gradient(90% 70% at 50% 60%, #0d1b23 0%, #04080b 70%);
}
.intro__inner { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 6px; padding: 24px; }
.intro__mark { width: 110px; height: 110px; margin-bottom: 18px; filter: drop-shadow(0 0 24px rgba(217,181,107,.25)); }
/* Logo (Kompass) */
.mk { overflow: visible; }
.mk-ring { fill: none; stroke: var(--gold); stroke-width: 2.4; }
.mk-ring--in { stroke-width: 1; opacity: .45; }
.mk-pts { fill: var(--gold-soft); }
.mk-shield { fill: rgba(35,87,117,.22); stroke: var(--cream); stroke-width: 2.2; stroke-linejoin: round; }
.mk-wheel { fill: none; stroke: var(--gold-soft); stroke-width: 1.8; stroke-linecap: round; }
.mk-road { fill: none; stroke: var(--cream); stroke-width: 7; stroke-linecap: round; }
.mk-line { fill: none; stroke: #0c1a23; stroke-width: 1.2; stroke-dasharray: 3 3; }
.intro .mk-ring, .intro .mk-shield, .intro .mk-road, .intro .mk-wheel { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2s var(--ease) forwards; }
.intro .mk-ring--in { animation-delay: .25s; }
.intro .mk-shield { animation-delay: .45s; fill-opacity: 0; animation-name: draw, fillin; animation-duration: 2s, 1s; animation-delay: .45s, 1.6s; animation-fill-mode: forwards; }
.intro .mk-road { animation-delay: 1s; }
.intro .mk-wheel { animation-delay: 1.3s; }
.intro .mk-pts, .intro .mk-line { opacity: 0; animation: fade .8s ease 1.7s forwards; }
.intro .mk-pts { transform-origin: 60px 60px; animation: fade .8s ease 1.2s forwards, spin 2.4s var(--ease) 1.2s; }
@keyframes fillin { to { fill-opacity: 1; } }
@keyframes spin { from { transform: rotate(-90deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.intro__name {
  margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 125%;
  font-size: clamp(34px, 7vw, 64px); letter-spacing: 0.22em; padding-left: .22em;
  background: linear-gradient(180deg, var(--cream), var(--gold-soft) 60%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro__sub { margin: 0; color: var(--muted); letter-spacing: .24em; text-transform: uppercase; font-size: 11px; }
.intro__count { margin-top: 28px; font-family: var(--display); font-stretch: 62%; font-weight: 300; font-size: 15px; color: var(--muted); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.intro__actions { margin-top: 26px; display: grid; justify-items: center; gap: 14px; }
.intro__actions[hidden] { display: none; }
.ignite {
  position: relative; width: 128px; height: 128px; border-radius: 50%;
  border: 0; cursor: pointer; background: radial-gradient(circle at 50% 35%, #1d303b, #080e12 70%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.08), inset 0 -8px 20px rgba(0,0,0,.6), 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(217,181,107,.35);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ignite:hover { transform: scale(1.05); box-shadow: inset 0 2px 0 rgba(255,255,255,.1), inset 0 -8px 20px rgba(0,0,0,.6), 0 20px 70px rgba(217,181,107,.25), 0 0 0 1px rgba(217,181,107,.6); }
.ignite:active { transform: scale(.97); }
.ignite__ring { position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(217,181,107,.4); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.92); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.ignite__label { font-family: var(--display); font-weight: 700; font-stretch: 112%; letter-spacing: .14em; font-size: 12px; text-transform: uppercase; color: var(--gold-soft); line-height: 1.5; }
.intro__mute { background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.intro__curtain { position: absolute; left: 0; right: 0; height: 50.5%; background: #030608; z-index: 1; transform: scaleY(0); }
.intro__curtain--top { top: 0; transform-origin: top; }
.intro__curtain--bottom { bottom: 0; transform-origin: bottom; }



/* ---------- Kalender-Fenster ---------- */
.sheet { position: fixed; inset: 0; z-index: 120; display: grid; align-items: end; justify-items: center; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(2,4,6,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .4s ease both; opacity: 0; }
.sheet__panel {
  position: relative; width: min(980px, 100%); height: min(88vh, 900px); height: min(88dvh, 900px);
  background: #080f13; border: 1px solid var(--line); border-bottom: 0; border-radius: 28px 28px 0 0;
  display: flex; flex-direction: column; overflow: hidden; animation: rise .6s var(--ease) both;
}
@media (min-width: 900px) { .sheet { align-items: center; } .sheet__panel { border-radius: 28px; border-bottom: 1px solid var(--line); } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
.sheet__head { display: flex; align-items: center; gap: 14px; padding: 18px 20px 16px 26px; border-bottom: 1px solid var(--line); }
.sheet__head > div { flex: 1; }
.sheet__head small { color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-size: 10px; }
.sheet__head h3 { margin: 2px 0 0; font-family: var(--display); font-size: 22px; }
.sheet__ext { font-size: 13px; color: var(--gold-soft); text-decoration: none; }
.sheet__close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 24px; line-height: 1; cursor: pointer; }
.sheet__body { flex: 1; position: relative; background: #fff; }
.sheet__body--text { background: transparent; padding: 24px 26px 30px; }
.sheet__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sheet__consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 20px; text-align: center; padding: 30px; background: #080f13; color: var(--muted); }
.sheet__consent p { max-width: 44ch; margin: 0; }
.sheet__consent[hidden], .sheet__body iframe[hidden] { display: none; }
.sheet--small .sheet__panel { height: auto; }
.install { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 12px; }
.kbd { display: inline-block; padding: 1px 8px; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid var(--line); font-size: 13px; }



/* ---------- Impressum & Datenschutz ---------- */
.legal-page { background: radial-gradient(120% 60% at 70% 0%, #10212b 0%, var(--night) 60%); min-height: 100vh; }
.legal-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px; background: linear-gradient(rgba(4,8,11,.92), rgba(4,8,11,.6)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.legal-nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.legal-nav .brand img { border-radius: 8px; }
.legal-nav .brand span { font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: .2em; font-size: 13px; }
.legal { width: min(820px, 100%); margin: 0 auto; padding: clamp(40px, 8vh, 90px) var(--gutter) 80px; }
.legal .h2 { font-size: clamp(38px, 6vw, 64px); margin-bottom: 28px; }
.legal h2 { font-family: var(--display); font-size: 20px; font-weight: 700; margin: 38px 0 10px; color: var(--gold-soft); }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.legal a { color: var(--gold-soft); }
.legal ul { padding-left: 20px; }
.legal__note { margin-top: 48px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); font-size: 13px; }
mark.todo { background: rgba(217,181,107,.18); color: var(--gold-soft); border: 1px dashed rgba(217,181,107,.6); border-radius: 6px; padding: 0 6px; }
.book svg[hidden], svg[hidden] { display: none !important; }
.float-chip.c1 { left: -2%; top: 6%; }
.float-chip.c2 { right: -2%; top: 50%; }
.float-chip.c3 { left: 0; bottom: 6%; }
.rate__script { right: 40%; top: 6%; }



/* ---------- Bestenliste ---------- */
.entry { margin-top: 22px; padding: 16px; border-radius: 18px; background: rgba(217,181,107,.12); border: 1px solid rgba(217,181,107,.35); }
.entry[hidden] { display: none; }
.entry label { display: block; font-size: 14px; color: #fff; margin-bottom: 10px; }
.entry__row { display: flex; gap: 8px; }
.entry input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.3); color: #fff; font: inherit; font-size: 16px; }
.entry input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.entry__msg { margin: 8px 0 0 !important; font-size: 13px; min-height: 1em; color: var(--gold-soft) !important; }
.board { margin-top: 22px; }
.board__title { margin: 0 0 8px !important; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6) !important; }
.board__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.board__list li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 15px; color: #fff; }
.board__list li b { font-family: var(--display); font-stretch: 62%; font-size: 18px; color: var(--gold-soft); }
.board__list li em { font-style: normal; font-family: var(--display); font-stretch: 62%; font-size: 18px; font-variant-numeric: tabular-nums; }
.board__list li:first-child { background: linear-gradient(90deg, rgba(217,181,107,.25), rgba(217,181,107,.06)); border-color: rgba(217,181,107,.5); }
.board__list li.is-me { outline: 2px solid var(--gold); }
.board__list li.board__empty { display: block; color: rgba(255,255,255,.6); font-size: 14px; }


@font-face { font-family: "Allura"; src: url(../fonts/allura.woff2) format("woff2"); font-display: swap; }
@keyframes prnd { 0%, 20% { transform: translateY(0); } 40%, 60% { transform: translateY(56px); } 80%, 100% { transform: translateY(84px); } }
.light__lamp { width: 44%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #272c30, #0b0e10 70%); box-shadow: inset 0 4px 10px rgba(0,0,0,.8); transition: background .08s, box-shadow .08s; }
.light__lamp.red { background: radial-gradient(circle at 40% 35%, #ff9b8a, #e3261a 45%, #6d0b06); box-shadow: 0 0 40px rgba(255,50,30,.7), inset 0 -4px 10px rgba(0,0,0,.4); }
.light__lamp.amber { background: radial-gradient(circle at 40% 35%, #ffe2a0, #f0a21c 45%, #6b3e03); box-shadow: 0 0 40px rgba(255,170,30,.7); }
.light__lamp.green { background: radial-gradient(circle at 40% 35%, #d4ffe6, #1fd67e 45%, #065a2f); box-shadow: 0 0 60px rgba(40,230,140,.8); }
.light__msg { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.shifter, .selector { width: 150px; height: 150px; margin-bottom: 20px; }
.shifter__gate path { fill: none; stroke: rgba(237,241,243,.25); stroke-width: 6; stroke-linecap: round; }
.shifter text, .selector text { fill: var(--muted); font-family: var(--display); font-weight: 700; font-size: 14px; text-anchor: middle; }
.shifter__knob circle, .selector__knob circle { fill: var(--gold); filter: drop-shadow(0 0 10px rgba(217,181,107,.8)); }
.shifter__knob, .selector__knob { transition: transform .5s var(--ease); }
@keyframes shift { 0%, 100% { transform: translate(0, 0); } 15% { transform: translate(-40px, 0); } 30% { transform: translate(-40px, -40px); } 45% { transform: translate(-40px, 0); } 55% { transform: translate(-40px, 40px); } 70% { transform: translate(0, 40px); } 85% { transform: translate(0, 0); } }
.selector rect { fill: rgba(255,255,255,.04); stroke: rgba(237,241,243,.25); stroke-width: 2; }
.qr__code { aspect-ratio: 1; border-radius: 16px; background: #fff; padding: 14px; }
.qr__code svg, .qr__code img { width: 100%; height: 100%; display: block; }
.intro { overflow-y: auto; }/* ============================================================
   SERBAND – „Es geht auch anders.“
   Ein Film in Kapiteln: dunkel, ruhig, golden.
   Leistung: keine Unschärfe-Filter hinter Text, keine Dauer-Animationen
   über den ganzen Bildschirm. Unschärfe nur an einzelnen Elementen beim
   Herein-/Wegscrollen (am Handy sparsam), die unscharfe Bühne ist vorab berechnet.
   ============================================================ */
:root {
  --night: #05080a;
  --ink: #0b1115;
  --card: rgba(12, 18, 22, .86);
  --card-solid: #0d151a;
  --line: rgba(220, 205, 170, .16);
  --gold: #d9b56b;
  --gold-soft: #f1dca6;
  --cream: #f4efe6;
  --text: #eef1f2;
  --muted: #a3adb2;
  --red: #e0584f; --yellow: #f0c24b; --green: #4fbf7f; --blue: #4d95d9;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(18px, 4vw, 56px);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --radius: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--body); font-size: clamp(16px, 1.05vw, 18px); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.script { font-family: "Allura", cursive; }

/* ---------- Bühne (Hintergrund-Film) ---------- */
.stage { position: fixed; inset: 0; z-index: 0; background: var(--night); overflow: hidden; }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.scene.is-on { opacity: 1; }
.scene .scene__soft { opacity: 0; }
.scene img, .scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene.is-on img, .scene.is-on video { will-change: transform; }
.stage__shade { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 40%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(5,8,10,.7), rgba(5,8,10,.15) 25%, rgba(5,8,10,.15) 70%, rgba(5,8,10,.85));
  opacity: 1; transition: background-color .8s; background-color: rgba(5, 8, 10, var(--dim, 0)); }
.bars i { position: fixed; left: 0; right: 0; height: 12vh; background: #000; z-index: 60; pointer-events: none; }
.bars i:first-child { top: 0; transform-origin: top; }
.bars i:last-child { bottom: 0; transform-origin: bottom; }
main { position: relative; z-index: 2; }

/* ---------- Kopfzeile ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: max(12px, env(safe-area-inset-top)) var(--gutter) 12px; background: linear-gradient(rgba(5,8,10,.92), rgba(5,8,10,.72)); border-bottom: 1px solid var(--line); }
.top__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.top__brand .mk { width: 32px; height: 32px; flex: none; }
.top__brand span { font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: .2em; font-size: 13px; }
.top__chapter { justify-self: center; display: flex; align-items: baseline; gap: 12px; min-width: 0; white-space: nowrap; overflow: hidden; }
.top__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 18px; }
.top__name { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.top__actions { display: flex; align-items: center; gap: 10px; }
.top__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.top__progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.menu-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); cursor: pointer; display: grid; place-content: center; gap: 5px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (max-width: 760px) {
  .top { grid-template-columns: auto 1fr auto; gap: 10px; }
  .top__brand span { display: none; }
  .top__chapter { flex-direction: column; gap: 0; align-items: flex-start; justify-self: start; line-height: 1.2; }
  .top__num { font-size: 15px; }
  .top__name { font-size: 10px; letter-spacing: .1em; max-width: 100%; }
  .top .btn--small { padding: 0 14px; height: 40px; font-size: 13px; }
}

/* Menü = Inhaltsverzeichnis */
.menu { position: fixed; inset: 0; z-index: 45; background: rgba(4,6,8,.97); display: grid; align-items: center; padding: 100px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; overflow-y: auto; overscroll-behavior: contain; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__inner { width: min(760px, 100%); margin: 0 auto; }
.menu__label { margin: 0 0 20px; letter-spacing: .24em; text-transform: uppercase; font-size: 11px; color: var(--muted); }
.menu__list { list-style: none; margin: 0; padding: 0; display: grid; }
.menu__list a { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s, color .3s; transition-delay: calc(var(--i, 0) * 50ms); }
.menu.is-open .menu__list a { transform: none; opacity: 1; }
.menu__list a small { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); }
.menu__list a span { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3.4vw, 38px); letter-spacing: -0.02em; line-height: 1.1; }
.menu__list a:hover span, .menu__list a.is-current span { color: var(--gold-soft); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.menu__foot a { text-decoration: none; }
.menu__sound { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; color: var(--muted); }
.menu__sound b { color: var(--gold-soft); font-weight: 600; }
@media (max-width: 560px) { .menu__list a { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Knöpfe ---------- */
.btn { --bg: linear-gradient(135deg, #f3dfa9, #d4aa57); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; background: var(--bg); color: #16110a; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: 0 10px 34px rgba(217,181,107,.22); transition: transform .35s var(--ease), box-shadow .35s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(217,181,107,.34); }
.btn--ghost { --bg: transparent; color: var(--text); border: 1px solid rgba(241,220,166,.4); box-shadow: none; }
.btn--ghost:hover { box-shadow: 0 0 0 1px rgba(241,220,166,.7); }
.btn--small { height: 44px; padding: 0 18px; font-size: 14px; }
.arrow { position: relative; width: 18px; height: 1.5px; background: currentColor; transition: width .35s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); transform-origin: 70% 30%; }
.btn:hover .arrow { width: 26px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.row--center { justify-content: center; }

/* ---------- Kapitel ---------- */
.chapter { position: relative; padding: clamp(120px, 20vh, 220px) var(--gutter) clamp(90px, 14vh, 160px); }
.chead { text-align: center; margin: 0 auto clamp(40px, 7vh, 80px); }
.chead__num { display: block; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(22px, 2vw, 28px); margin-bottom: 8px; }
.chead__num::before, .chead__num::after { content: ""; display: inline-block; vertical-align: middle; width: 40px; height: 1px; background: rgba(217,181,107,.5); margin: 0 14px; }
.title { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: clamp(44px, 7vw, 112px); line-height: .92; letter-spacing: -0.045em; text-shadow: 0 6px 50px rgba(0,0,0,.5); }
.title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.title .line > * { display: inline-block; }
.title em { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -0.02em; color: var(--gold-soft); font-size: 1.1em; }
.title--xl { font-size: clamp(52px, 10vw, 170px); }
.lead { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.45; color: var(--text); font-family: var(--serif); }
.story { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.story--center { display: block; width: min(760px, 100%); text-align: center; }
.story p { color: rgba(238,241,242,.86); text-shadow: 0 1px 18px rgba(0,0,0,.8); }
.story .lead { color: var(--text); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.float3d { transform-style: preserve-3d; will-change: transform; }

/* Prolog */
.chapter--prolog { padding-top: 0; padding-bottom: 0; }
.prolog__space { height: 150vh; }
.prolog { position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; display: grid; place-items: center; text-align: center; padding: 0 var(--gutter); }
.prolog__line { grid-area: 1 / 1; margin: 0; max-width: 20ch; font-family: var(--serif); font-size: clamp(30px, 4.4vw, 64px); line-height: 1.15; color: var(--cream); opacity: 0; }
.prolog__line--quiet { color: var(--muted); }
.prolog__turn { position: relative; z-index: 1; margin-top: -100vh; min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 0 var(--gutter); }
.prolog__no { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 36px); color: var(--gold-soft); }
.prolog__sub { margin: 26px 0 0; letter-spacing: .26em; text-transform: uppercase; font-size: 12px; color: var(--muted); }
.cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.cue i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); }

/* Kapitel I – Foto aus dem Unterricht */
.story--shot { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.story--solo { grid-template-columns: minmax(0, 1fr); width: min(760px, 100%); }
.shot { margin: 0; width: 100%; }
.shot__frame { aspect-ratio: 1600 / 1067; border-radius: 18px; overflow: hidden; background: var(--card-solid); box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(241,220,166,.18); }
.shot__frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.card__cap { margin: 14px 4px 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trio { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trio li { padding: 16px; border-radius: 16px; background: rgba(12,18,22,.8); border: 1px solid var(--line); }
.trio b { display: block; font-family: var(--display); font-size: 17px; color: var(--gold-soft); }
.trio span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .trio { grid-template-columns: 1fr; } }

/* Kapitel II – Farben & Quiz */
.c { font-weight: 700; }
.c--r { color: var(--red); } .c--y { color: var(--yellow); } .c--g { color: var(--green); } .c--b { color: var(--blue); }
.quote { margin: 34px 0 0; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; color: var(--cream) !important; }
.quote em { color: var(--gold-soft); }
.quiz { width: min(760px, 100%); margin: clamp(40px, 7vh, 70px) auto 0; padding: clamp(22px, 3.4vw, 40px); }
.quiz__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.quiz__kicker { margin: 0 0 6px; letter-spacing: .22em; text-transform: uppercase; font-size: 11px; color: var(--gold); }
.quiz__step { margin: 0; font-size: 13px; color: var(--muted); }
.quiz__q { margin: 0 0 18px; font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2vw, 28px); line-height: 1.2; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz__opt { text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); cursor: pointer; font-size: 15px; line-height: 1.4; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.quiz__opt:hover { border-color: rgba(241,220,166,.5); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.quiz__note { margin: 20px 0 0; font-size: 12px; color: var(--muted); }
.quiz__result { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; }
.quiz__orb { width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.7), var(--col) 45%, #000 130%); box-shadow: 0 0 60px var(--col); }
.quiz__result h4 { margin: 0 0 6px; font-family: var(--display); font-size: 26px; }
.quiz__result h4 small { display: block; font-family: var(--body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--col); font-weight: 600; }
.quiz__result p { margin: 0 0 10px; color: rgba(238,241,242,.86); }
.quiz__again { background: none; border: 0; padding: 0; color: var(--gold-soft); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: 14px; }
@media (max-width: 600px) { .quiz__opts { grid-template-columns: 1fr; } .quiz__result { grid-template-columns: 1fr; justify-items: start; } .quiz__orb { width: 80px; height: 80px; } }

/* Kapitel III – das Versprechen als Szene */
.vow { position: relative; }
.vow.is-pinned { height: 260vh; height: 260svh; }
.vow__pin { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(28px, 5vw, 90px); perspective: 1400px; }
.vow.is-pinned .vow__pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 88px 0 36px; }
.vow--text .vow__pin { grid-template-columns: 1fr; }
.vow__photo { position: relative; margin: 0; justify-self: center; width: min(420px, 100%); perspective: 1200px; }
.vow.is-pinned .vow__photo { width: min(420px, 100%, calc((100vh - 170px) * .667)); width: min(420px, 100%, calc((100svh - 170px) * .667)); }
.vow__frame { position: relative; aspect-ratio: 1000 / 1498; border-radius: 26px; overflow: hidden; background: var(--card-solid); box-shadow: 0 50px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(241,220,166,.24); will-change: transform, opacity, filter; }
.vow__frame img { width: 100%; height: 100%; object-fit: cover; }
.vow__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, transparent 62%, rgba(5,8,10,.38)); pointer-events: none; }
.vow__glow { position: absolute; inset: -16% -24%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(241,196,120,.5), rgba(217,160,80,.16) 55%, transparent 76%); }
.vow__sheen { position: absolute; inset: -10% -70%; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255,244,222,.26) 50%, transparent 58%); transform: translateX(-70%); }
.vow .promise { margin: 0; width: auto; text-align: left; }
.vow--text .promise { text-align: center; }
.promise__sig span { display: inline-block; padding: 0 .3em 0 .12em; }
@media (max-width: 900px) {
  .vow__pin { grid-template-columns: 1fr; align-content: center; justify-items: center; gap: 16px; }
  .vow__photo { width: min(62vw, 300px); }
  .vow.is-pinned .vow__photo { width: min(62vw, 300px, calc((100vh - 330px) * .667)); width: min(62vw, 300px, calc((100svh - 330px) * .667)); }
  .vow__frame { box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(241,220,166,.24); }
  .shot__frame { box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(241,220,166,.18); }
  .vow .promise { text-align: center; }
  .vow .promise__text { font-size: clamp(21px, 5.8vw, 34px); }
  .vow .promise__sig { margin-top: 6px; font-size: 40px; line-height: 1.1; }
}
/* wird das Handy nach dem Laden quer gedreht, bleibt die Szene lesbar (kein Mini-Foto) */
@media (max-height: 519px) {
  .vow.is-pinned { height: auto; }
  .vow.is-pinned .vow__pin { position: relative; height: auto; padding: 0; }
  .vow.is-pinned .vow__photo { width: min(62vw, 300px); }
}
.promise { width: min(980px, 100%); margin: 0 auto; text-align: center; }
.promise__text { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 62px); line-height: 1.15; color: var(--cream); text-shadow: 0 4px 40px rgba(0,0,0,.6); }
.promise__text .w { opacity: .15; transition: opacity .3s; }
.promise__text .w.is-lit { opacity: 1; }
.promise__sig { margin-top: 24px; font-family: "Allura", cursive; font-size: 54px; color: var(--gold); }
.promise__honest { width: min(640px, 100%); margin: clamp(40px, 7vh, 70px) auto; text-align: center; font-size: clamp(18px, 1.5vw, 22px); color: rgba(238,241,242,.85); }
.promise__honest em { font-family: var(--serif); font-size: 1.2em; color: var(--gold-soft); }
.deal { width: min(900px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; perspective: 1200px; }
.deal__col { padding: 26px; }
.deal__who { margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--gold-soft); }
.deal ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.deal li { position: relative; padding-left: 26px; color: rgba(238,241,242,.88); }
.deal li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 1.5px; background: var(--gold); }
@media (max-width: 700px) { .deal { grid-template-columns: 1fr; } }

/* Kapitel IV – Werkzeuge */
.tool__kicker { margin: 0 0 8px; letter-spacing: .22em; text-transform: uppercase; font-size: 11px; color: var(--gold); }
/* App-Tour: Handy bleibt stehen, der Bildschirm wechselt mit dem Text (ab 900 px); am Handy Bild je Schritt */
.tour { --ph: min(640px, calc(100vh - 230px)); width: min(1180px, 100%); margin: clamp(60px, 10vh, 120px) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); }
@supports (height: 100svh) { .tour { --ph: min(640px, calc(100svh - 230px)); } }
.tour__stage { order: 2; }
.tour__phonewrap { position: sticky; top: 84px; height: calc(100vh - 100px); display: grid; place-content: center; justify-items: center; gap: 14px; }
@supports (height: 100svh) { .tour__phonewrap { height: calc(100svh - 100px); } }
.tour__label { margin: 0; letter-spacing: .22em; text-transform: uppercase; font-size: 11px; color: var(--gold); transition: opacity .3s; }
.device { position: relative; border-radius: 30px; padding: 10px; background: linear-gradient(145deg, #2a3035, #0b0f11); box-shadow: 0 50px 110px rgba(0,0,0,.55), inset 0 0 0 1.5px rgba(255,255,255,.08); }
.device--phone { border-radius: 34px; }
.device__screen { position: relative; border-radius: 26px; overflow: hidden; background: #f6f1e7; }
.tour__phone { height: var(--ph); width: calc((var(--ph) - 20px) * 0.4622 + 20px); }
.tour__phone .device__screen { height: 100%; }
.tour__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.tour__shot.is-on { opacity: 1; transform: none; }
.tour__dots { display: flex; gap: 6px; }
.tour__dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(238,241,242,.25); transition: width .4s var(--ease), background .4s; }
.tour__dots i.is-on { width: 20px; background: var(--gold); }
.tour__intro { padding-top: 12vh; }
.tour__intro:first-child { padding-top: 0; }
.tour__intro h3 { margin: 0 0 14px; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw, 50px); line-height: 1; letter-spacing: -0.03em; }
.tour__intro > p:last-child { color: rgba(238,241,242,.86); margin: 0; }
.tour__step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .32; transition: opacity .5s var(--ease); }
.tour__step.is-active { opacity: 1; }
.tour__app { margin: 0 0 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tour__step h4 { margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; }
.tour__step > p:last-child { margin: 0; color: rgba(238,241,242,.86); font-size: 17px; }
.tour__inline { display: none; margin: 0 0 22px; }
.tour__cta { padding: 4vh 0 10vh; }
.tour__cta .row { margin-top: 0; }
.tour__note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
/* schmal oder wenig Höhe (Handy quer): Bild je Schritt statt stehendem Handy */
@media (max-width: 899px), (max-height: 619px) {
  .tour { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tour__stage { display: none; }
  .tour__intro, .tour__intro:first-child { padding-top: 0; margin-top: 64px; }
  .tour__intro:first-child { margin-top: 0; }
  .tour__step { min-height: 0; opacity: 1; margin-top: 56px; }
  .tour__inline { display: block; order: 9; margin: 22px 0 0; }
  .tour__inline .device { width: min(250px, 66vw, calc(78vh * .4622)); margin: 0 auto; padding: 8px; border-radius: 30px; }
  .tour__inline .device__screen { border-radius: 23px; }
  .tour__inline img { display: block; width: 100%; height: auto; }
  .tour__cta { padding: 48px 0 0; }
}

/* Kapitel V – Weg */
.road { position: relative; list-style: none; width: min(760px, 100%); margin: 0 auto; padding: 0 0 0 60px; display: grid; gap: 22px; }
.road::before { content: ""; position: absolute; left: 22px; top: 10px; bottom: 10px; width: 2px; background: rgba(217,181,107,.2); }
.road::after { content: ""; position: absolute; left: 22px; top: 10px; width: 2px; height: calc((100% - 20px) * var(--prog, 0)); background: linear-gradient(var(--gold-soft), var(--gold)); box-shadow: 0 0 12px rgba(217,181,107,.7); }
.road__step { position: relative; display: grid; grid-template-columns: 1fr; padding: 20px 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.road__n { position: absolute; left: -60px; top: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--card-solid); border: 1.5px solid var(--gold); font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--gold-soft); }
.road__step h3 { margin: 0 0 4px; font-family: var(--display); font-size: 21px; }
.road__step p { margin: 0; color: var(--muted); font-size: 15px; }
.road__step--goal { border-color: rgba(217,181,107,.5); background: linear-gradient(135deg, rgba(90,70,25,.55), var(--card)); }
.pause { width: min(1000px, 100%); margin: clamp(60px, 10vh, 110px) auto 0; padding: clamp(22px, 3.4vw, 44px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.pause h3 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; }
.pause p { color: rgba(238,241,242,.85); }
.game__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; }
.game__facts div { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.game__facts dt { font-size: 11px; color: var(--muted); }
.game__facts dd { margin: 4px 0 0; font-family: var(--display); font-stretch: 62%; font-size: 26px; font-weight: 600; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.light-btn { justify-self: center; position: relative; width: min(200px, 56vw); padding: 24px 0 62px; border-radius: 56px; border: 0; cursor: pointer; display: grid; justify-items: center; gap: 18px; background: linear-gradient(180deg, #1a2226, #0a0e10); box-shadow: 0 40px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.06); -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; }
@media (max-width: 800px) { .pause { grid-template-columns: 1fr; } .game__facts { grid-template-columns: 1fr 1fr; } .game__facts div:last-child { grid-column: span 2; } }

/* Kapitel VI */
.book { width: min(720px, 100%); margin: clamp(40px, 7vh, 70px) auto 0; padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 22px; }
.switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.switch__opt { position: relative; z-index: 1; height: 48px; border: 0; background: none; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; transition: color .4s; }
.switch__opt.is-active { color: #16110a; }
.switch__pill { position: absolute; left: 6px; top: 6px; bottom: 6px; width: calc(50% - 6px); border-radius: 999px; background: linear-gradient(135deg, #f3dfa9, #d4aa57); transition: transform .5s var(--ease); }
.switch.is-auto .switch__pill { transform: translateX(100%); }
.book__info { display: grid; grid-template-columns: 100px 1fr; gap: 18px; align-items: center; }
.book__info h3 { margin: 0 0 4px; font-family: var(--display); font-size: 24px; }
.book__info p { margin: 0; color: var(--muted); }
.book .shifter, .book .selector { width: 100px; height: 100px; margin: 0; }
.shifter__gate path { fill: none; stroke: rgba(238,241,242,.25); stroke-width: 6; stroke-linecap: round; }
.shifter text, .selector text { fill: var(--muted); font-family: var(--display); font-weight: 700; font-size: 14px; text-anchor: middle; }
.shifter__knob circle, .selector__knob circle { fill: var(--gold); }
.selector rect { fill: rgba(255,255,255,.04); stroke: rgba(238,241,242,.25); stroke-width: 2; }
.book .shifter__knob { animation: shift 3s var(--ease) infinite; }
.book .selector__knob { animation: prnd 3s var(--ease) infinite; }
svg[hidden] { display: none !important; }
.book .btn { justify-self: start; }
.tip { margin: 0; padding: 14px 16px; border-radius: 14px; background: rgba(217,181,107,.08); border: 1px solid rgba(217,181,107,.22); color: var(--muted); font-size: 14px; }
.tip b { color: var(--gold-soft); }
/* Fahrlehrerlaubnis-Klassen: Bleistift-Skizzen auf Papier (js/klassen.js) */
.klassen-wrap { width: min(900px, 100%); margin: clamp(50px, 9vh, 90px) auto clamp(40px, 7vh, 70px); text-align: center; }
.klassen__title { margin: 0 0 26px; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; }
.klassen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 26px 30px; align-items: end; }
.klasse { position: relative; margin: 0; padding: 22px 18px 14px; border-radius: 4px; color: #33312d;
  background: radial-gradient(120% 90% at 30% 20%, #faf6ec 0%, #f1ebdc 60%, #e9e1cf 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 22px 44px rgba(0,0,0,.45); transform: rotate(-1.3deg); transition: transform .5s var(--ease); }
.klasse:nth-child(even) { transform: rotate(1.1deg); }
.klasse:hover { transform: rotate(0deg) translateY(-4px); }
/* Klebestreifen */
.klasse::before { content: ""; position: absolute; top: -10px; left: 50%; width: 74px; height: 22px; margin-left: -37px; background: rgba(241,220,166,.55); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.klasse svg { display: block; width: 100%; height: auto; overflow: visible; }
.klasse svg path, .klasse svg circle { fill: none; stroke: #3b3934; stroke-linecap: round; stroke-linejoin: round; }
.skizze__linien path, .skizze__linien circle { stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.skizze__linien--zwei { opacity: .45; }
.skizze__linien--zwei path, .skizze__linien--zwei circle { stroke-width: 1.1; }
.skizze__boden path { stroke-width: 1.2; opacity: .6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.skizze__schraffur path { stroke-width: .7; opacity: 0; transition: opacity 1.2s ease 1.3s; }
.is-gezeichnet .skizze__linien path, .is-gezeichnet .skizze__linien circle, .is-gezeichnet .skizze__boden path {
  stroke-dashoffset: 0; transition: stroke-dashoffset .9s cubic-bezier(.45,.05,.3,1) calc(var(--i) * 45ms); }
.is-gezeichnet .skizze__schraffur path { opacity: .5; }
.klasse figcaption { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-top: 6px; }
.klasse figcaption b { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .04em; color: #2c2a26; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.klassen--klein { margin: 30px 0 10px; gap: 22px; }
.klassen--klein .klasse { padding: 16px 14px 10px; }
@media (prefers-reduced-motion: reduce) { .klasse, .klasse:hover { transition: none; } }

.stimmen { margin: clamp(70px, 12vh, 120px) calc(var(--gutter) * -1) 0; display: grid; gap: 26px; }
.stimmen__head { text-align: center; padding: 0 var(--gutter); }
.stimmen__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.01em; }
.stimmen__title em { font-family: var(--serif); font-weight: 400; color: var(--gold-soft); }
.stimmen .row { padding: 0 var(--gutter); margin-top: 0; }
.reviews { display: grid; gap: 16px; }
.reviews__laden { margin: 0; min-height: 120px; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.reviews__row { overflow: hidden; padding: 4px 0; touch-action: pan-y; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews__row.is-drag { cursor: grabbing; }
.reviews__rail { display: flex; gap: 16px; width: max-content; will-change: transform; }
.review { width: clamp(270px, 78vw, 360px); flex: none; padding: 22px 22px 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); user-select: none; -webkit-user-select: none; display: flex; flex-direction: column; gap: 12px; }
.review.is-long { cursor: pointer; }
.review__stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; }
.review__text { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.38; color: var(--cream); white-space: pre-line; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
.review__more { display: none; align-self: flex-start; margin: -4px 0 0; padding: 8px 0; min-height: 40px; border: 0; background: none; color: var(--gold-soft); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.review.is-long .review__more { display: inline-block; }
.review__who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.review__who i { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; background: rgba(217,181,107,.18); color: var(--gold-soft); }
.review__who small { display: block; color: var(--muted); font-size: 12px; }
.review-full { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--cream); white-space: pre-line; overflow-wrap: anywhere; }
.sheet--review .sheet__panel { width: min(640px, 100%); max-height: min(82vh, 760px); max-height: min(82dvh, 760px); }
.sheet--review .sheet__body { overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 480px) { .review__text { font-size: 17px; -webkit-line-clamp: 8; line-clamp: 8; } }
@media (prefers-reduced-motion: reduce) {
  .reviews__row { overflow-x: auto; scroll-snap-type: x mandatory; cursor: auto; -webkit-mask-image: none; mask-image: none; padding: 4px var(--gutter) 12px; }
  .review { scroll-snap-align: center; }
}
.faq-wrap { width: min(760px, 100%); margin: clamp(60px, 10vh, 100px) auto 0; }
.faq__title { margin: 0 0 14px; text-align: center; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; color: var(--gold-soft); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 50px 20px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 400; transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--gold); color: #16110a; }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq details p { margin: 0; }
.faq a { color: var(--gold-soft); }
.rate { width: min(900px, 100%); margin: clamp(60px, 10vh, 100px) auto 0; padding: clamp(22px, 3.4vw, 40px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.rate h3 { margin: 0 0 8px; font-family: var(--display); font-size: 30px; }
.rate p { color: var(--muted); }
.qr { width: 190px; padding: 14px; border-radius: 20px; background: var(--cream); text-align: center; }
.qr p { margin: 8px 0 0; font-size: 12px; color: #3c4449; }
@media (max-width: 640px) { .rate { grid-template-columns: 1fr; } .qr { justify-self: center; } }

/* Epilog */
.chapter--epilog { padding-bottom: 0; }
.epilog { min-height: 80vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; }
.epilog .prolog__line { opacity: 1; grid-area: auto; }
.prolog__line--gold { color: var(--gold-soft); font-style: italic; }
.foot { margin: 16vh calc(var(--gutter) * -1) 0; padding: 30px var(--gutter) max(26px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(5,8,10,.95); display: grid; grid-template-columns: auto 1fr auto; gap: 14px 30px; align-items: center; font-size: 13px; color: var(--muted); }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__brand .mk { width: 40px; height: 40px; }
.foot__brand b { display: block; color: var(--text); font-family: var(--display); font-stretch: 125%; letter-spacing: .2em; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 18px; }
.foot nav a, .foot p a { text-decoration: none; padding: 6px 0; display: inline-block; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr; } }

/* Handy quer / wenig Höhe */
@media (max-height: 560px) {
  .intro__inner { gap: 2px; padding: 14px; }
  .intro__mark { width: 58px; height: 58px; margin-bottom: 6px; }
  .intro__name { font-size: 30px; }
  .intro__count { margin-top: 10px; }
  .intro__actions { margin-top: 10px; gap: 8px; }
  .ignite { width: 92px; height: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .prolog__line { opacity: 1; position: static; grid-area: auto; }
}
/* Handy: Kopfzeile darf nie breiter als der Bildschirm sein */
@media (max-width: 760px) {
  .top { grid-template-columns: auto minmax(0, 1fr) auto; }
  .top__chapter { overflow: hidden; }
  .top__name { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .top__actions { gap: 8px; }
  .menu-btn { width: 40px; height: 40px; flex: none; }
}
@media (max-width: 400px) { .top .btn--small span { font-size: 12px; } .top .btn--small { padding: 0 12px; } .top__name { display: none; } }
.prolog__line { text-shadow: 0 2px 30px rgba(0,0,0,.8); }
.tour > *, .story > *, .pause > *, .rate > * { min-width: 0; }
@media (max-width: 480px) { .row .btn { white-space: normal; text-align: center; flex: 1 1 100%; } }
