/* kegelmanager.app — Stylesheet für Startseite und Rechtsseiten.
   Farben aus DESIGN.md: „Asche & Kreide“-Neutrals, Signatur-Verlauf Deep #047857 → #075985
   genau einmal pro Seite (Hero), Orange nur für die Kugel.
   Regeln aus Crewfloor (Inés/Dieter Rams, Haus-Stil 0028, impeccable): weniger, aber besser;
   kein Leuchten, keine Weichzeichner, kein Glas, keine Labels über Überschriften,
   keine Icon-Kacheln, kein Lila. Der Look kommt aus der Kegelbahn: Anzeigetafel und Kegelbild.
   Schriften wie oklitz.net (Schibsted Grotesk + Martian Mono), selbst gehostet, SIL OFL. */

@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/assets/fonts/martian-mono.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-style: normal; font-display: swap; }

:root {
  --bg: #F7FAF9;          /* N50 */
  --tile: #FFFFFF;
  --inset: #EEF3F1;       /* N100 */
  --line: #DCE4E1;        /* N200 */
  --ink: #1A2320;         /* N900 */
  --muted: #5C6B66;       /* N600 */
  --faint: #64736E;

  --g: #10B981; --g-text: #047857; --g-soft: #D1FAE5;
  --b-text: #075985;
  --o-text: #9A6400;
  --r-text: #B91C1C; --r-soft: #FEE2E2;

  --ball: #F5A623;
  --deep: linear-gradient(135deg, #047857 0%, #075985 100%);
  --board: #0D1412;       /* Anzeigetafel, in beiden Modi dunkel */
  --board-line: #1E2926;
  --led: #34D399;

  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --rad: 24px;
  --rad-l: clamp(24px, 3vw, 36px);
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101614; --tile: #1A2320; --inset: #141C19; --line: #26312D;
    --ink: #EEF3F1; --muted: #9AA8A3; --faint: #8A9893;
    --g: #34D399; --g-text: #34D399; --g-soft: rgba(52,211,153,.14);
    --b-text: #38BDF8; --o-text: #F5A623;
    --r-text: #F87171; --r-soft: rgba(248,113,113,.14);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101614; --tile: #1A2320; --inset: #141C19; --line: #26312D;
  --ink: #EEF3F1; --muted: #9AA8A3; --faint: #8A9893;
  --g: #34D399; --g-text: #34D399; --g-soft: rgba(52,211,153,.14);
  --b-text: #38BDF8; --o-text: #F5A623;
  --r-text: #F87171; --r-soft: rgba(248,113,113,.14);
  color-scheme: dark;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--g-text); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); } }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-stretch: 87.5%; letter-spacing: -.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cur { font-size: .5em; margin-left: .12em; letter-spacing: 0; font-weight: 500; vertical-align: .55em; }

/* ---------- Kopf: Inhalt, keine Leiste. Nicht sticky, kein Glas. ---------- */
.top { padding-top: env(safe-area-inset-top, 0px); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 700; letter-spacing: -.025em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { margin-left: auto; display: flex; gap: 24px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.btn-cta { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; white-space: nowrap; }
.btn-cta:hover { background: var(--g-text); color: #fff; }
.top-back { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--muted); }
.top-back:hover { color: var(--ink); }
@media (max-width: 759px) {
  .top-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand cta" "nav nav"; gap: 10px 12px; min-height: 0; padding-block: 14px 12px; }
  .brand { grid-area: brand; } .btn-cta { grid-area: cta; } .top-back { grid-column: 2; }
  .nav { grid-area: nav; margin: 0; gap: 20px; font-size: 14.5px; }
}

/* ---------- Store-Knöpfe ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 11px; height: 56px; padding: 0 22px 0 16px; border-radius: 14px; background: #0B0F0E; color: #fff; border: 1px solid rgba(255,255,255,.18); transition: transform .2s var(--ease); }
.store:hover { transform: translateY(-2px); }
.store:focus-visible { outline-color: #fff; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: grid; line-height: 1.12; }
.store small { font-size: 11.5px; font-weight: 500; opacity: .8; }
.store strong { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.is-android .store.play { order: -1; }

/* ---------- Hero: die eine Verlaufsfläche ---------- */
.hero { overflow: hidden; border-radius: var(--rad-l); background: var(--deep); color: #fff; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; padding: clamp(36px, 5.5vw, 76px) clamp(24px, 5vw, 72px) 0; min-height: min(700px, calc(100svh - 100px)); }
.hero-copy { align-self: center; padding-bottom: clamp(36px, 5.5vw, 76px); }
.hero h1 { font-size: clamp(44px, 6.2vw, 86px); font-weight: 800; line-height: .95; letter-spacing: -.048em; }
.hero h1 .l2 { display: block; color: #B9F6DD; }
.hero .lede { margin-top: 24px; max-width: 42ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.hero .stores { margin-top: 32px; }
.hero-meta { margin-top: 18px; font-size: 15px; }

.stage { position: relative; align-self: end; height: 100%; min-height: 500px; }
.stage .phone { position: absolute; bottom: 0; }
.stage .ph-front { --w: clamp(230px, 23vw, 300px); left: 50%; transform: translate(-16%, 15%); z-index: 2; }
.stage .ph-back { --w: clamp(200px, 20vw, 262px); left: 50%; transform: translate(-84%, 26%) rotate(-7deg); z-index: 1; }
@media (max-width: 959px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 8px; }
  .hero-copy { padding-bottom: 0; }
  .stage { min-height: 0; height: clamp(340px, 88vw, 500px); }
  .stage .ph-front { --w: clamp(210px, 52vw, 280px); transform: translate(-28%, 24%); }
  .stage .ph-back { --w: clamp(186px, 46vw, 246px); transform: translate(-100%, 34%) rotate(-7deg); }
}
@media (max-width: 420px) {
  .hero h1 { font-size: clamp(40px, 11.6vw, 48px); }
  .store { height: 54px; padding: 0 16px 0 13px; flex: 1 1 100%; justify-content: center; }
  .store strong { font-size: 16.5px; }
}

/* ---------- Telefon-Rahmen um echte Screenshots ---------- */
.phone { width: var(--w, 280px); padding: calc(var(--w, 280px) * .032); border-radius: calc(var(--w, 280px) * .165); background: #0B0F0E; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 24px 48px -24px rgba(0,0,0,.45); }
.phone img { width: 100%; height: auto; aspect-ratio: 1206 / 2622; border-radius: calc(var(--w, 280px) * .135); background: #E8F1EE; }

/* ---------- Anzeigetafel: das Motiv der Seite ---------- */
.board { margin-top: 12px; border-radius: var(--rad); background: var(--board); border: 1px solid var(--board-line); color: #EEF3F1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.board > div { padding: clamp(22px, 3vw, 34px) clamp(18px, 2.4vw, 32px); border-left: 1px solid var(--board-line); }
.board > div:first-child { border-left: 0; }
.board .num { font: 600 clamp(36px, 4.6vw, 60px)/1 var(--mono); font-stretch: 87.5%; letter-spacing: -.04em; color: var(--led); font-variant-numeric: tabular-nums; }
.board .lbl { margin-top: 12px; font-size: 14px; color: #9AA8A3; }
@media (max-width: 759px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board > div:nth-child(3) { border-left: 0; }
  .board > div:nth-child(n+3) { border-top: 1px solid var(--board-line); }
}

/* ---------- Abschnitte ---------- */
.sec { padding-top: clamp(80px, 10vw, 128px); }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2, .faq-side h2, .cta h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; }
.sec-head p { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 56ch; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.sec-head.row > div:first-child { display: grid; gap: 14px; max-width: 760px; }

/* ---------- Kacheln ---------- */
.tile { min-width: 0; background: var(--tile); border: 1px solid var(--line); border-radius: var(--rad); padding: clamp(22px, 2.4vw, 30px); }
.tile h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.tile h3 > .ic { font-size: 1.05em; color: var(--g-text); }
.tile p { margin-top: 8px; color: var(--muted); max-width: 46ch; }

.bento { display: grid; gap: 12px; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-areas:
  "live live live live fin fin" "live live live live fin fin"
  "pen pen mem mem sta sta" "dat dat pro pro pro pro"; }
.t-live { grid-area: live; } .t-fin { grid-area: fin; } .t-pen { grid-area: pen; } .t-mem { grid-area: mem; } .t-sta { grid-area: sta; } .t-dat { grid-area: dat; } .t-pro { grid-area: pro; }
@media (max-width: 999px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "live live" "fin pen" "fin mem" "sta dat" "pro pro"; } }
@media (max-width: 639px) { .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "live" "fin" "pen" "mem" "sta" "dat" "pro"; } }

.t-live { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding-bottom: 0; overflow: hidden; }
.t-live h3 > .ic { color: var(--o-text); }
.t-live .t-copy { padding-bottom: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; justify-content: center; }
.t-live .phone { --w: clamp(220px, 19vw, 262px); align-self: end; margin-bottom: -38%; margin-right: 6px; }

/* Probewurf: Kegelbild wie die Anzeige über der Bahn */
.lane { padding-top: 26px; display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.kbild { display: grid; place-items: center; padding: 16px 20px; border-radius: 18px; background: var(--board); }
.pins { display: grid; grid-template-columns: repeat(5, 20px); grid-auto-rows: 20px; gap: 0 6px; }
.pins i { width: 18px; height: 18px; margin: 1px; border-radius: 50%; background: var(--led); transition: background .3s, transform .3s var(--ease); }
.pins i.down { background: #24302C; transform: scale(.8); }
.pins i.king { box-shadow: 0 0 0 2px var(--board), 0 0 0 3.5px rgba(255,255,255,.6); }
.pins i.king.down { box-shadow: none; }
.throw-box { flex: 1 1 140px; display: grid; align-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--inset); }
.throw-read { display: flex; align-items: baseline; gap: 10px; }
.throw-read .n { font: 600 44px/1 var(--mono); font-stretch: 87.5%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; min-width: 1.2ch; }
.throw-read .u { font-size: 14px; color: var(--muted); }
.throw-msg { font-weight: 700; font-size: 16px; min-height: 1.5em; color: var(--o-text); }
.throw-sum { font: 500 12px var(--mono); font-stretch: 87.5%; color: var(--muted); }
.throw { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 8px; border: 0; border-radius: 999px; background: var(--ball); color: #1A2320; font-weight: 700; font-size: 15px; cursor: pointer; }
.throw::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: #FFC65C; box-shadow: inset -6px -6px 0 #E08F00; transition: transform .5s var(--ease); }
.throw.rolling::before { transform: rotate(540deg); }
.throw:focus-visible { outline-color: var(--o-text); }
@media (max-width: 759px) {
  .t-live { grid-template-columns: minmax(0, 1fr); }
  .t-live .phone { justify-self: center; margin: 4px 0 -62%; }
  .lane { gap: 10px; }
  .kbild { padding: 14px; }
  .pins { grid-template-columns: repeat(5, 17px); grid-auto-rows: 17px; gap: 0 4px; }
  .pins i { width: 15px; height: 15px; }
  .throw-box { padding: 14px; }
  .throw-read .n { font-size: 38px; }
}

.t-fin { display: flex; flex-direction: column; padding-bottom: 0; overflow: hidden; }
.t-fin .phone { --w: clamp(220px, 17vw, 244px); margin: 28px auto -30%; }
@media (max-width: 999px) { .t-fin .phone { margin-bottom: -46%; } }
@media (max-width: 639px) { .t-fin .phone { margin-bottom: -88%; } }
.t-pen h3 > .ic { color: var(--o-text); }
.t-mem h3 > .ic, .t-dat h3 > .ic { color: var(--b-text); }
.big-num { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.big-num b { font: 600 56px/1 var(--mono); font-stretch: 87.5%; letter-spacing: -.05em; color: var(--b-text); }
.big-num span { font-size: 14px; color: var(--muted); line-height: 1.3; }
.stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 18px; border-radius: 14px; overflow: hidden; background: var(--board-line); }
.stats3 div { display: grid; justify-items: center; gap: 2px; padding: 12px 6px; background: var(--board); text-align: center; }
.stats3 b { font: 600 26px/1 var(--mono); font-stretch: 87.5%; color: var(--led); font-variant-numeric: tabular-nums; }
.stats3 small { font-size: 12px; color: #9AA8A3; line-height: 1.2; }
.pro-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--board); color: var(--led); font: 600 11px var(--mono); letter-spacing: .06em; }
.t-pro { background: var(--board); border-color: var(--board-line); color: #EEF3F1; display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.t-pro .pro-tag { background: transparent; box-shadow: inset 0 0 0 1px var(--led); }
.t-pro p { color: #9AA8A3; }
.t-pro .go { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: #EEF3F1; color: #0D1412; font-weight: 700; white-space: nowrap; }
.t-pro .go:hover { background: var(--led); }

/* ---------- Screens ---------- */
.shots-ctl { display: flex; gap: 8px; }
.shots-ctl button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--tile); display: grid; place-items: center; cursor: pointer; font-size: 18px; }
.shots-ctl button:hover { border-color: var(--ink); }
.shots-ctl button:disabled { opacity: .35; cursor: default; border-color: var(--line); }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(208px, 21vw, 250px); gap: clamp(16px, 2vw, 24px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  --pad: max(16px, calc((100% - 1200px) / 2 + 28px));
  padding: 8px var(--pad) 12px; scroll-padding-inline: var(--pad); }
@media (max-width: 759px) { .shots { --pad: 16px; } }
.shots::-webkit-scrollbar { display: none; }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots .phone { --w: 100%; width: 100%; padding: 8px; border-radius: 38px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.shots .phone img { border-radius: 31px; }
.shots figcaption { margin-top: 16px; padding-inline: 4px; }
.shots figcaption b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.shots figcaption span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }

/* ---------- So geht's ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding-top: 20px; }
.steps h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; letter-spacing: -.025em; }
.steps h3::before { content: counter(s) ". "; color: var(--g-text); }
.steps p { margin-top: 8px; color: var(--muted); max-width: 40ch; }
@media (max-width: 759px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 0; } .steps li { border-top: 1px solid var(--line); padding-block: 18px; } }

/* ---------- Preise ---------- */
.plans { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; }
@media (max-width: 899px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { display: flex; flex-direction: column; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan-name { margin: 0; font: 600 20px var(--font); letter-spacing: -.02em; }
.price { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.price b { white-space: nowrap; font: 600 clamp(56px, 6vw, 76px)/1 var(--mono); font-stretch: 87.5%; letter-spacing: -.05em; }
.price span { color: var(--muted); }
.limit { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--g-soft); color: var(--g-text); font-size: 14px; font-weight: 600; }
.feats { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.feats li { display: flex; align-items: center; gap: 10px; }
.feats li .ic { font-size: 18px; color: var(--g-text); }
.feats li.off { color: var(--faint); }
.feats li.off .ic { color: var(--faint); }
.plan-free .feats { margin-bottom: 28px; }
.btn-line { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 600; }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.plan-pro { border: 2px solid var(--ink); }
.plan-pro .lead { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 52ch; }
.tiers { display: grid; margin-top: 18px; border-top: 1px solid var(--line); }
.tier { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.tier .t-name { font-weight: 700; font-size: 17px; }
.tier .t-lim { color: var(--muted); font-size: 15px; }
.tier .t-price { text-align: right; }
.tier .t-price b { white-space: nowrap; font: 600 22px var(--mono); font-stretch: 87.5%; letter-spacing: -.03em; }
.tier .t-price .cur { font-size: .7em; vertical-align: .2em; }
.tier .t-price > small { display: block; font-size: 12px; color: var(--muted); }
.plan-pro .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .plan-pro .feats { grid-template-columns: minmax(0, 1fr); } .tier { grid-template-columns: minmax(0, 1fr) auto; } .tier .t-lim { grid-column: 1; grid-row: 2; } .tier .t-price { grid-row: span 2; } }
.price-note { margin-top: 16px; font-size: 14.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 899px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
.faq-side p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.faq-side a { color: var(--g-text); font-weight: 600; border-bottom: 1px solid currentColor; overflow-wrap: anywhere; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; font-size: 17px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { font-size: 18px; transition: transform .25s var(--ease); }
.qa details[open] summary .pm { transform: rotate(45deg); }
.qa details p { padding: 0 2px 22px; color: var(--muted); max-width: 62ch; }

/* ---------- Abschluss ---------- */
.cta { margin-top: clamp(80px, 10vw, 128px); border-radius: var(--rad-l); background: var(--board); border: 1px solid var(--board-line); color: #EEF3F1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(32px, 5.5vw, 72px); }
.crest img { width: clamp(140px, 17vw, 210px); height: auto; transform: rotate(-4deg); }
.crest img.cheer { animation: cheer .8s cubic-bezier(.3,.6,.3,1.4); }
@keyframes cheer { 0% { transform: rotate(-4deg); } 35% { transform: rotate(6deg) translateY(-14px) scale(1.08); } 70% { transform: rotate(-3deg) translateY(-4px); } 100% { transform: rotate(-4deg); } }
.cta p { margin-top: 14px; font-size: clamp(17px, 1.5vw, 20px); color: #C9D3CF; max-width: 40ch; }
.cta .stores { margin-top: 28px; }
@media (max-width: 759px) { .cta { grid-template-columns: minmax(0, 1fr); } .crest img { width: 120px; } }

/* ---------- Fußzeile ---------- */
.foot { margin-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 44px; }
.foot-brand p { margin-top: 12px; color: var(--muted); max-width: 34ch; font-size: 15px; }
.foot h4 { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.foot-col { display: grid; gap: 6px; align-content: start; }
.foot-col a { color: var(--muted); font-size: 15px; width: fit-content; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-bottom a { color: var(--ink); border-bottom: 1px solid var(--line); }
.foot-bottom a:hover { border-color: var(--ink); }
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; }
.theme-toggle:hover { color: var(--ink); border-color: var(--ink); }
.theme-toggle .ic { font-size: 17px; }
@media (max-width: 759px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Rechtsseiten ---------- */
.legal-head { padding-block: clamp(24px, 4vw, 48px) clamp(20px, 3vw, 32px); }
.legal-head h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(24px, 5vw, 72px); align-items: start; }
.legal-layout.no-toc { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 999px) { .legal-layout { grid-template-columns: minmax(0, 1fr); } .legal-layout .toc { display: none; } }
.legal-page { font-size: 16.5px; line-height: 1.7; padding-bottom: 24px; }
.legal-date { margin: 0 0 8px; font: 500 12.5px/1.6 var(--mono); font-stretch: 87.5%; color: var(--muted); }
.legal-page h2 { margin: 40px 0 12px; font-size: clamp(19px, 2vw, 22px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; scroll-margin-top: 24px; }
.legal-page h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 700; }
.legal-page p { margin: 0 0 12px; max-width: 64ch; overflow-wrap: anywhere; }
.legal-page ul, .legal-page ol { margin: 0 0 14px; padding-left: 1.3em; max-width: 64ch; }
.legal-page li { margin: 4px 0; }
.legal-page a { color: var(--g-text); font-weight: 500; border-bottom: 1px solid currentColor; overflow-wrap: anywhere; }
.legal-page strong { font-weight: 650; }
.legal-card { margin: 0 0 14px; padding: 18px 22px; border-radius: 16px; background: var(--inset); max-width: 64ch; }
.legal-card p { margin: 0 0 4px; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card .label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.legal-card .name { font-weight: 700; font-size: 17px; }
.legal-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; margin: 0 0 18px; font-size: 14.5px; border: 1px solid var(--line); border-radius: 14px; }
@media (max-width: 640px) { .legal-table { display: block; overflow-x: auto; } }
.legal-table th, .legal-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 140px; }
.legal-table th { background: var(--inset); font-weight: 650; font-size: 13.5px; }
.legal-table tr:last-child td { border-bottom: 0; }
.warning-card, .info-card, .highlight-card { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 18px; padding: 18px 20px; border-radius: 16px; }
.warning-card { background: var(--r-soft); }
.info-card, .highlight-card { background: var(--g-soft); }
.warning-card p, .info-card p, .highlight-card p { margin: 0; }
.warning-card .icon, .info-card .icon, .highlight-card .icon { flex: none; padding-top: 2px; }
.step-list { padding-left: 1.4em !important; }
.step-list li::marker { font-weight: 700; color: var(--g-text); }
.toc { position: sticky; top: 16px; padding-left: 16px; border-left: 1px solid var(--line); }
.toc-title { margin: 0 0 8px; padding: 0 10px; font-size: 14px; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; max-height: calc(100vh - 100px); overflow: auto; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.toc a:hover, .toc a.active { color: var(--ink); background: var(--inset); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
@media print { .top, .foot, .toc { display: none; } .tile { border: 0; } }
