/* Kindread — kindread.eu
   Scroll-Erlebnisseite. Vanilla CSS, keine Frameworks, keine CDNs.
   Paletten identisch mit der App (Palette / PaletteLight in SwiftUI). */

/* ---------- Fonts (Repo-TTFs, subsettet zu variablen WOFF2) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Marken-Töne ---------- */
:root {
  --paper: #FBF6EC;
  --paper2: #F4ECDD;
  --ink: #241E17;
  --ox: #7B2D26;
  --gold: #A5814B;
  --goldtext: #7F6230;
  --taupe: #D9CDB8;
  --faint: #776A52;
  --card: #FFFFFF;
  --land: #E5DBC9;          /* Taupe 55 % über PapierTief — wie der Karten-Canvas */
  --oxtext: #7B2D26;        /* Oxblood als TEXT-Farbe (nachts heller als die Flächen-Variante) */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17130F;
    --paper2: #211A14;
    --ink: #F0E6D6;
    --ox: #B54A3E;
    --oxtext: #D4756A;
    --gold: #D8B478;
    --goldtext: #D8B478;
    --taupe: #3B3128;
    --faint: #A89A82;
    --card: #251E16;
    --land: #2F271F;
  }
}
/* Die Gassen-Szene ist IMMER Nacht — sie trägt die Dunkelmodus-Palette der App. */
.night {
  --paper: #17130F;
  --paper2: #211A14;
  --ink: #F0E6D6;
  --ox: #B54A3E;
  --oxtext: #D4756A;
  --gold: #D8B478;
  --goldtext: #D8B478;
  --taupe: #3B3128;
  --faint: #A89A82;
  --card: #251E16;
  --land: #2F271F;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--oxtext); }
::selection { background: rgba(165, 129, 75, 0.30); }
:focus-visible { outline: 2px solid var(--oxtext); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 60;
  background: var(--ox); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 14px;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 34px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-family: var(--serif); font-weight: 600; font-size: 19px;
}
.brand svg { width: 30px; height: 30px; border-radius: 8px; }
.langs {
  display: flex; gap: 2px; padding: 3px; border: 1px solid var(--taupe); border-radius: 999px;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.langs a {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--faint); text-decoration: none;
}
.langs a[aria-current] { background: var(--ox); color: #fff; }
.langs a:hover:not([aria-current]) { color: var(--oxtext); }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--goldtext); margin-bottom: 14px;
}
h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 5.4vw, 46px); line-height: 1.08;
  letter-spacing: -0.015em; text-wrap: balance;
}
.sub {
  font-size: clamp(15.5px, 2.2vw, 18px); color: var(--faint);
  max-width: 620px; margin-top: 16px; text-wrap: pretty;
}
.center { text-align: center; }
.center .sub { margin-inline: auto; }

section { position: relative; }
.scene { padding: clamp(84px, 14vh, 150px) 0; }

/* Chips wie in der App */
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.chip {
  font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: 999px;
  color: var(--ink);
  color: color-mix(in srgb, var(--ink) 80%, transparent);
  background: var(--card);
  background: color-mix(in srgb, var(--card) 60%, transparent);
  border: 1px solid var(--taupe);
}
.chip.sel { background: var(--ox); border-color: var(--ox); color: #fff; }

/* Store-Knopf im Kindread-Stil */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ox); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15.5px;
  padding: 14px 24px; border-radius: 999px;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ox) 30%, transparent);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 32px color-mix(in srgb, var(--ox) 38%, transparent); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn small { display: block; font-weight: 500; font-size: 11px; opacity: 0.85; line-height: 1.1; }

/* =========================================================
   Szene 1 — Auftakt
   ========================================================= */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 110px 22px 90px;
  background: linear-gradient(180deg, var(--paper), var(--paper2));
  background:
    radial-gradient(90% 55% at 50% -6%, color-mix(in srgb, var(--gold) 13%, transparent), transparent 62%),
    linear-gradient(180deg, var(--paper), var(--paper2));
}
.hero .mark { width: 86px; height: 86px; margin-bottom: 26px; }
.hero .mark svg { width: 100%; height: 100%; border-radius: 22px; box-shadow: 0 14px 36px color-mix(in srgb, #7B2D26 30%, transparent); }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(54px, 11vw, 100px); line-height: 1;
  letter-spacing: -0.02em;
}
.hero .claim {
  font-family: var(--serif); font-style: italic; font-weight: 420;
  font-size: clamp(21px, 4vw, 32px); color: var(--oxtext); margin-top: 12px;
}
.hero .lede {
  font-size: clamp(15.5px, 2.3vw, 18.5px); color: var(--faint);
  max-width: 560px; margin: 22px auto 0; text-wrap: pretty;
}
.hero .ctas { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.ghost {
  color: var(--goldtext); text-decoration: none; font-weight: 500; font-size: 14.5px;
  border-bottom: 1px solid color-mix(in srgb, var(--goldtext) 45%, transparent);
  padding-bottom: 1px;
}
.ghost:hover { color: var(--oxtext); border-color: var(--oxtext); }
.cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  color: var(--goldtext); opacity: 0.9;
}
.cue svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .hero .mark, .hero h1, .hero .claim, .hero .lede, .hero .ctas { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero .claim { animation-delay: 0.12s; }
  .hero .lede { animation-delay: 0.24s; }
  .hero .ctas { animation-delay: 0.36s; }
  .cue svg { animation: bob 2.2s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* =========================================================
   Szene 2 — Der Bücherwald (Parallax-Regale)
   ========================================================= */
.forest {
  overflow: hidden;
  overflow: clip;
  background: linear-gradient(180deg, var(--paper2), var(--paper) 30%, var(--paper2));
  padding: clamp(90px, 14vh, 150px) 0;
}
.shelves {
  position: relative; margin-top: clamp(36px, 6vh, 64px);
  display: flex; flex-direction: column; align-items: center;
}
.shelf {
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(4px, 0.9vw, 9px);
  width: max-content; flex: none;
  translate: calc((var(--p, 0.5) - 0.5) * var(--v, 0) * 1px) 0;
  will-change: translate;
}
.shelfline + .shelf { margin-top: clamp(20px, 4vh, 40px); }
.shelfline { height: 2px; background: var(--taupe); border-radius: 2px; margin-top: 10px; width: min(92vw, 980px); flex: none; }
.shelf.back { opacity: 0.7; scale: 0.88; }
.shelf.mid { opacity: 0.88; scale: 0.95; }
.spine {
  width: var(--w, 34px); height: var(--h, 150px);
  background: var(--c);
  background: linear-gradient(168deg, var(--c), color-mix(in srgb, var(--c) 84%, var(--paper)));
  border-radius: 4px 5px 2px 2px;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.14), inset -2px 0 3px rgba(0, 0, 0, 0.14);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.spine span {
  writing-mode: vertical-rl;
  font-family: var(--serif); font-weight: 500; font-size: 12.5px;
  letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.93);
  max-height: calc(100% - 18px); overflow: hidden; white-space: nowrap;
}
.forest .copy { max-width: 660px; margin-inline: auto; text-align: center; }
@media (min-width: 900px) {
  .spine { width: calc(var(--w, 34px) * 1.3); height: calc(var(--h, 150px) * 1.35); }
  .spine span { font-size: 14px; }
}

/* =========================================================
   Szene 3 — Seelenverwandte
   ========================================================= */
.match { background: var(--paper); }
.match-stage {
  --cw: clamp(128px, 30vw, 178px);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(26px, 6vw, 64px);
  margin-top: clamp(40px, 7vh, 70px);
}
.cover {
  flex: none; min-width: 0;
  width: var(--cw); height: calc(var(--cw) * 1.5);
  border-radius: 5px 11px 11px 5px;
  background: var(--c);
  background: linear-gradient(155deg, var(--c), color-mix(in srgb, var(--c) 72%, var(--paper)));
  box-shadow: 0 18px 40px rgba(20, 12, 6, 0.22), inset 3px 0 0 rgba(255, 255, 255, 0.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: calc(var(--cw) * 0.13) calc(var(--cw) * 0.1); text-align: center;
}
.cover .t { font-family: var(--serif); font-weight: 500; font-size: clamp(15px, 3vw, 19px); line-height: 1.2; color: #fff; }
.cover .rule { width: 26px; height: 1px; background: rgba(255, 255, 255, 0.45); }
.cover .a { font-size: clamp(10px, 2vw, 11.5px); color: rgba(255, 255, 255, 0.85); }
.tie {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center;
  color: var(--gold);
}
.tie::before {
  content: ""; position: absolute; height: 2px; width: clamp(120px, 26vw, 240px);
  background: linear-gradient(90deg, transparent, var(--gold) 22%, var(--gold) 78%, transparent);
}
.tie svg { width: clamp(30px, 6vw, 44px); height: auto; position: relative; filter: drop-shadow(0 4px 14px color-mix(in srgb, var(--gold) 55%, transparent)); }
.reccard {
  max-width: 560px; margin: clamp(36px, 6vh, 60px) auto 0;
  background: var(--card); border: 1px solid var(--taupe); border-radius: 18px;
  padding: 22px 24px; box-shadow: 0 8px 30px rgba(20, 12, 6, 0.07);
}
.reccard .why {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--goldtext); display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.reccard .why .chip { font-size: 12px; padding: 4px 10px; letter-spacing: normal; text-transform: none; color: var(--goldtext); border-color: color-mix(in srgb, var(--gold) 55%, transparent); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.reccard p { margin-top: 10px; font-size: 15.5px; color: color-mix(in srgb, var(--ink) 82%, transparent); }
/* Vorzustände nur mit JS + Bewegungsfreigabe */
@media (prefers-reduced-motion: no-preference) {
  html.js .match .bk1 { transform: translateX(clamp(20px, 6vw, 52px)) rotate(-4.5deg); }
  html.js .match .bk2 { transform: translateX(clamp(-52px, -6vw, -20px)) rotate(4.5deg); }
  html.js .match .tie { opacity: 0; scale: 0.6; }
  html.js .match .reccard { opacity: 0; transform: translateY(20px); }
  html.js .match.on .bk1, html.js .match.on .bk2 { transform: none; transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
  html.js .match.on .tie { opacity: 1; scale: 1; transition: opacity 0.5s 0.55s, scale 0.6s 0.55s cubic-bezier(0.34, 1.56, 0.64, 1); }
  html.js .match.on .reccard { opacity: 1; transform: none; transition: opacity 0.7s 0.75s, transform 0.7s 0.75s cubic-bezier(0.2, 0.7, 0.2, 1); }
}

/* =========================================================
   Szene 4 — Die Lese-Weltkarte
   ========================================================= */
.mapscene { background: linear-gradient(180deg, var(--paper), var(--paper2)); }
.map-fig {
  margin: clamp(30px, 5vh, 48px) auto 0; max-width: 860px;
  background: var(--paper2); border: 1px solid var(--taupe); border-radius: 16px;
  padding: clamp(8px, 1.6vw, 16px);
}
.map-fig svg, .map-fig img { display: block; width: 100%; height: auto; }
.map-fig { min-height: clamp(150px, 36vw, 400px); }
.map-fig:has(svg, img) { min-height: 0; }
.map-fig:not(:has(svg, img)) { aspect-ratio: 1000 / 439.1; }
.map-fig path { fill: var(--land); stroke: var(--paper); stroke-width: 0.6; }
.map-fig .rd { fill: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  html.js .map-fig:not(.on) .rd { fill: var(--land); }
  html.js .map-fig .rd { transition: fill 0.9s ease calc(var(--d, 0) * 1.6s); }
}
.stats { display: flex; gap: 12px; max-width: 440px; margin: 26px auto 0; }
.stat {
  flex: 1; text-align: center; padding: 14px 6px 11px;
  background: var(--card);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  border: 1px solid var(--taupe); border-radius: 13px;
}
.stat .num { display: block; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--oxtext); font-variant-numeric: tabular-nums; }
.stat .lbl { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.map-note { text-align: center; font-size: 13px; color: var(--faint); margin-top: 18px; }

/* =========================================================
   Szene 5 — Die Buchladen-Gasse (immer Nacht)
   ========================================================= */
.night {
  background:
    radial-gradient(60% 40% at 78% 6%, rgba(216, 180, 120, 0.09), transparent 60%),
    linear-gradient(180deg, #17130F, #211A14 70%, #17130F);
  color: var(--ink);
  overflow: hidden;
  overflow: clip;
}
.stars { position: absolute; inset: 0 0 46% 0; pointer-events: none; opacity: 0.9;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 28%, rgba(240, 230, 214, 0.8), transparent 55%),
    radial-gradient(1px 1px at 32% 12%, rgba(240, 230, 214, 0.65), transparent 55%),
    radial-gradient(1.4px 1.4px at 54% 30%, rgba(240, 230, 214, 0.7), transparent 55%),
    radial-gradient(1px 1px at 68% 10%, rgba(240, 230, 214, 0.6), transparent 55%),
    radial-gradient(1.3px 1.3px at 84% 24%, rgba(240, 230, 214, 0.75), transparent 55%),
    radial-gradient(1px 1px at 44% 6%, rgba(240, 230, 214, 0.5), transparent 55%),
    radial-gradient(1.1px 1.1px at 92% 40%, rgba(240, 230, 214, 0.55), transparent 55%),
    radial-gradient(1px 1px at 6% 8%, rgba(240, 230, 214, 0.5), transparent 55%);
}
@media (prefers-reduced-motion: no-preference) {
  .stars { animation: twinkle 5.5s ease-in-out infinite alternate; }
}
@keyframes twinkle { from { opacity: 0.55; } to { opacity: 1; } }
.moon {
  position: absolute; top: 64px; right: clamp(24px, 9vw, 120px);
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; pointer-events: none;
  box-shadow: inset -11px 6px 0 0 #D8B478;
  rotate: 12deg; opacity: 0.85;
}
.lane {
  display: flex; align-items: flex-end; justify-content: center;
  gap: clamp(10px, 2.6vw, 26px);
  margin-top: clamp(42px, 7vh, 76px);
  padding: 0 16px 6px;
}
.shop { width: clamp(100px, 26vw, 216px); position: relative; min-width: 0; }
.shop .roof { height: 10px; border-radius: 6px 6px 0 0; background: #2A2219; border-bottom: 2px solid #17130F; }
.shop .front { background: linear-gradient(180deg, #2A2219, #241D15); border-radius: 0 0 4px 4px; padding: clamp(8px, 1.6vw, 14px); }
.shop .name {
  font-family: var(--serif); font-weight: 500; font-size: clamp(10.5px, 1.6vw, 14px);
  text-align: center; color: #D8B478; letter-spacing: 0.04em;
  margin-bottom: clamp(6px, 1.2vw, 10px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shop .win {
  aspect-ratio: 5 / 4; border-radius: 7px;
  background: linear-gradient(180deg, #3A2E1B, #5C4720 82%, #3A2E1B);
  border: 2px solid #1D1710;
  display: flex; align-items: flex-end; justify-content: center; gap: 3px;
  padding: 9px 10px 0;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(216, 180, 120, 0);
}
.shop .win i { display: block; width: 9%; border-radius: 2px 2px 0 0; background: var(--c, #7B2D26); filter: saturate(0.9) brightness(0.95); }
.shop .sill { height: 7px; background: #1D1710; border-radius: 0 0 5px 5px; margin-top: 0; }
.badge-ind {
  position: absolute; top: -13px; right: -9px; rotate: 4deg;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  color: #17130F; background: #D8B478; border-radius: 999px; padding: 4px 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
@media (prefers-reduced-motion: no-preference) {
  html.js .night .win { filter: brightness(0.42); transition: filter 1.1s ease var(--dl, 0s), box-shadow 1.1s ease var(--dl, 0s); }
  html.js .night.on .win { filter: brightness(1); box-shadow: 0 0 38px rgba(216, 180, 120, 0.28); }
}
.night .chips { justify-content: center; }
.night .chip { color: rgba(240, 230, 214, 0.8); background: rgba(37, 30, 22, 0.6); border-color: #3B3128; }
.night .chip.sel { background: var(--ox); border-color: var(--ox); color: #fff; }

/* =========================================================
   Szene 6 — In der App (Sticky-Telefon)
   ========================================================= */
.appshow { background: linear-gradient(180deg, var(--paper2), var(--paper)); }
@media (prefers-reduced-motion: no-preference) {
  html.js .appwrap { height: 340vh; }
  html.js .appstick {
    position: sticky; top: 0; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center;
  }
}
.appgrid {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(26px, 5vw, 70px); align-items: center;
}
.feats { display: flex; flex-direction: column; gap: clamp(18px, 3.4vh, 32px); max-width: 420px; }
.feat { position: relative; padding-left: 34px; }
.feat .n {
  position: absolute; left: 0; top: 1px;
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 19px;
  color: var(--goldtext);
}
.feat h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 2.4vw, 23px); }
.feat p { font-size: 15px; color: var(--faint); margin-top: 4px; }
/* Inaktive Einträge dimmen nur die (großen) Überschriften — Fließtext bleibt voll lesbar. */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.rm) .feat { transition: translate 0.45s ease; }
  html.js:not(.rm) .feat h3, html.js:not(.rm) .feat .n { opacity: 0.55; transition: opacity 0.45s ease; }
  html.js:not(.rm) .feat.act { translate: 3px 0; }
  html.js:not(.rm) .feat.act h3, html.js:not(.rm) .feat.act .n { opacity: 1; }
}
.phone {
  width: clamp(230px, 26vw, 316px); aspect-ratio: 1320 / 2868;
  background: #120E0A; border-radius: clamp(34px, 4.6vw, 48px);
  padding: clamp(8px, 1.1vw, 11px);
  box-shadow: 0 30px 70px rgba(15, 9, 4, 0.38), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  margin-inline: auto;
}
.screen { position: relative; width: 100%; height: 100%; border-radius: clamp(26px, 3.6vw, 38px); overflow: hidden; background: #241D15; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.rm) .shot { transition: opacity 0.5s ease; }
}
.shot.act { opacity: 1; }
.minis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 860px; margin: clamp(48px, 8vh, 84px) auto 0; }
@media (min-width: 760px) { .minis { grid-template-columns: repeat(4, 1fr); } }
.mini {
  background: color-mix(in srgb, var(--card) 72%, transparent);
  border: 1px solid var(--taupe); border-radius: 15px; padding: 16px 15px;
}
.mini h3 { font-family: var(--serif); font-weight: 600; font-size: 16.5px; }
.mini p { font-size: 13px; color: var(--faint); margin-top: 3px; line-height: 1.45; }
.mini svg { width: 21px; height: 21px; color: var(--oxtext); margin-bottom: 9px; }

/* Mobil: Telefon oben, aktive Zeile darunter (inaktive bleiben im Zugänglichkeitsbaum) */
@media (max-width: 879px) {
  .appgrid { grid-template-columns: 1fr; gap: 20px; justify-items: center; text-align: center; }
  .phone { width: min(56vw, 240px); order: -1; }
  @media (prefers-reduced-motion: no-preference) {
    html.js:not(.rm) .appstick .feats { display: grid; max-width: 460px; }
    html.js:not(.rm) .appstick .feat { grid-area: 1 / 1; padding-left: 0; opacity: 0; pointer-events: none; translate: 0 8px; }
    html.js:not(.rm) .appstick .feat h3, html.js:not(.rm) .appstick .feat .n { opacity: 1; }
    html.js:not(.rm) .appstick .feat.act { opacity: 1; pointer-events: auto; translate: 0 0; }
    html.js:not(.rm) .appstick .feat .n { display: none; }
  }
}

/* Fallback ohne JS oder mit reduzierter Bewegung: ruhige Screenshot-Reihe */
html:not(.js) .appwrap, html.rm .appwrap { height: auto; }
html:not(.js) .appstick, html.rm .appstick { position: static; min-height: 0; display: block; padding: 30px 0 0; }
html:not(.js) .appgrid, html.rm .appgrid { grid-template-columns: 1fr; gap: 30px; }
html:not(.js) .feats, html.rm .feats { max-width: 640px; margin-inline: auto; }
html:not(.js) .phone, html.rm .phone {
  width: 100%; max-width: 720px; aspect-ratio: auto; background: transparent;
  border-radius: 0; padding: 0; box-shadow: none;
}
html:not(.js) .screen, html.rm .screen { display: flex; gap: 14px; overflow-x: auto; border-radius: 0; background: transparent; scroll-snap-type: x mandatory; padding-bottom: 8px; }
html:not(.js) .shot, html.rm .shot {
  position: static; opacity: 1; width: min(62vw, 230px); height: auto; flex: none;
  border-radius: 18px; border: 1px solid var(--taupe); scroll-snap-align: center;
}

/* =========================================================
   Szene 7 — Finale & Fußbereich
   ========================================================= */
.finale {
  text-align: center;
  background: linear-gradient(180deg, var(--paper), var(--paper2));
  background:
    radial-gradient(80% 60% at 50% 110%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 65%),
    linear-gradient(180deg, var(--paper), var(--paper2));
}
.finale .claim2 {
  font-family: var(--serif); font-style: italic; font-weight: 450;
  font-size: clamp(30px, 6vw, 52px); line-height: 1.12; color: var(--oxtext);
  letter-spacing: -0.01em; text-wrap: balance;
}
.finale .free { font-size: clamp(15.5px, 2.3vw, 18px); color: var(--faint); max-width: 520px; margin: 18px auto 0; }
.getit { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 34px); flex-wrap: wrap; margin-top: 38px; }
.qrcard {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  background: #FBF6EC; border: 1px solid #D9CDB8; border-radius: 16px;
  padding: 14px 14px 10px;
  box-shadow: 0 10px 30px rgba(20, 12, 6, 0.10);
}
.qrcard img { width: 108px; height: 108px; }
.qrcard span { font-size: 11.5px; color: #776A52; }

footer { border-top: 1px solid var(--taupe); background: var(--paper2); padding: 46px 0 60px; font-size: 13.5px; color: var(--faint); }
footer .cols { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 740px) { footer .cols { grid-template-columns: 1.1fr 1.4fr 0.8fr; } }
footer h2 {
  font-family: var(--sans); font-weight: 600; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--goldtext); margin-bottom: 10px;
}
footer p { margin-bottom: 3px; }
footer a { color: var(--oxtext); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .flangs { display: flex; flex-direction: column; gap: 4px; }
.copyright { text-align: center; margin-top: 38px; font-size: 12.5px; }
.copyright em { font-family: var(--serif); }

/* ---------- Reduzierte Bewegung: alles ruhigstellen ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
