/* WhatTwoDo Website: Design wie in der App (src/theme/tokens.ts, layout.ts).
   Nur Manrope (lokal), nur dunkel, eine schmale Spalte (560 px, Rand 20 px). */

@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/manrope-500.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/manrope-700.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/manrope-800.woff2") format("woff2"); }

:root {
  /* Farben (tokens.ts) */
  --ink: #140F19;
  --dark: #0E0A12;
  --surface: #2A1E35;
  --surface-raised: #3B2A48;
  --coral: #FF6F59;
  --gold: #FFB562;
  --cream: #F8F1EA;
  --mauve: #A791AE;
  --mauve-dim: #5E4E68;
  --hint: #9A86A5;
  --on-gradient: #2B1207;
  --onboarding-glow: #482838;
  --hairline: #FFFFFF12;
  --gold-tint: #FFB56225;
  --gold-tag-line: #FFB56250;
  /* Abstände und Radien */
  --space-xs: 6px; --space-sm: 10px; --space-md: 16px; --space-lg: 24px; --space-xl: 32px; --space-xxl: 40px;
  --radius-md: 18px; --radius-lg: 28px; --radius-pill: 999px;
  /* Spalte (layout.ts) */
  --col: 560px; --pad-x: 20px;
  --gradient: linear-gradient(135deg, var(--coral), var(--gold));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.col { width: 100%; max-width: var(--col); margin-inline: auto; padding-inline: var(--pad-x); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--space-md); top: -100px; z-index: 10; background: var(--gold); color: var(--on-gradient); font-weight: 700; padding: 12px 18px; border-radius: var(--radius-pill); text-decoration: none; }
.skip:focus { top: var(--space-md); color: var(--on-gradient); }

/* Markenzeile (BrandMark der App, größer) */
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--cream); text-decoration: none; }
.brand:hover { color: var(--cream); }
.brand img { width: 56px; height: 56px; border-radius: 16px; }
.brand span { font-weight: 800; font-size: 28px; letter-spacing: -1px; line-height: 1.1; }

/* Hero (Willkommensbild der App: Verlauf ink, onboarding-glow, ink) */
.hero { background: linear-gradient(180deg, var(--ink) 0%, var(--onboarding-glow) 50%, var(--ink) 100%); padding: var(--space-xxl) 0 56px; text-align: center; }
.hero h1 { margin: 28px 0 0; font-weight: 800; font-size: clamp(32px, 9.5vw, 44px); letter-spacing: -1.2px; line-height: 1.1; }
.hero .lead { margin-top: 14px; color: var(--mauve); font-size: 18px; line-height: 28px; }
.chip { display: inline-block; margin-top: var(--space-lg); padding: 7px 14px; border-radius: var(--radius-pill); background: var(--gold-tint); border: 1px solid var(--gold-tag-line); color: var(--gold); font-weight: 700; font-size: 13px; line-height: 1.3; }

/* Download-Bereich */
.download { margin-top: var(--space-xl); display: flex; flex-direction: column; align-items: center; gap: var(--space-md); }
.store-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-md); }
.store-play { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; text-decoration: none; }
.store-play img { height: 56px; width: auto; }
.store-play--platzhalter { padding: 0 26px; border-radius: var(--radius-pill); background: var(--surface-raised); border: 1px solid var(--gold); color: var(--gold); font-weight: 700; font-size: 15px; }
.store-play--platzhalter:hover { background: var(--surface); }
.tag { display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--gold-tint); border: 1px solid var(--gold-tag-line); color: var(--gold); font-weight: 700; font-size: 12px; line-height: 1.3; letter-spacing: 0.3px; }
.soon { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: var(--radius-pill); background: var(--surface); color: var(--mauve); font-weight: 700; font-size: 14px; }

.btn { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 360px; min-height: 52px; padding: 16px 36px; border-radius: var(--radius-pill); background: var(--gradient); color: var(--on-gradient); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; }
.btn:hover { color: var(--on-gradient); filter: brightness(1.06); }
.btn:focus-visible { border-radius: var(--radius-pill); }
.fine { color: var(--mauve); font-size: 12.5px; line-height: 18px; max-width: 340px; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 14px; }

/* Abschnitte */
.section { padding: 48px 0 8px; }
.section h2 { margin: 0 0 var(--space-lg); font-weight: 800; font-size: 24px; line-height: 1.25; letter-spacing: -0.4px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); }
.step { background: var(--surface); border-radius: var(--radius-md); padding: var(--space-lg) var(--space-lg) 22px; }
.step .emoji { font-size: 30px; line-height: 1; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-weight: 800; font-size: 20px; line-height: 29px; letter-spacing: -0.3px; }
.step p { color: var(--mauve); font-size: 15px; line-height: 23px; }
.note { margin-top: var(--space-md); color: var(--mauve); font-size: 13px; line-height: 20px; }

/* FAQ (ohne JavaScript: details/summary) */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 60px; padding: 12px 2px; font-weight: 700; font-size: 16px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; text-align: center; color: var(--gold); font-weight: 700; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 2px 18px; color: var(--cream); font-size: 15.5px; line-height: 24px; }
.faq .answer p + p { margin-top: 10px; }

/* Abschluss */
.closing { margin-top: 56px; background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-xl) var(--space-lg); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-md); }
.closing h2 { margin: 0; }
.closing p { color: var(--mauve); font-size: 15px; line-height: 23px; }
.closing .mail { color: var(--cream); }

/* Fuß */
.foot { margin-top: 64px; border-top: 1px solid var(--hairline); padding: var(--space-xl) 0 56px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 14px; }
.foot p { margin-top: 6px; color: var(--mauve); font-size: 13px; line-height: 20px; }
.foot p a { display: inline; min-height: 0; font-weight: 700; font-size: 13px; }

/* Rechtstexte */
.bar { padding-top: var(--space-lg); }
.bar .brand img { width: 40px; height: 40px; border-radius: 12px; }
.bar .brand span { font-size: 17px; letter-spacing: -0.3px; }
.legal { padding-top: var(--space-lg); }
.legal .tabs { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); margin-bottom: var(--space-md); }
.legal .tabs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 14px; }
.legal .tabs a[aria-current="page"] { color: var(--cream); text-decoration: none; border-bottom: 2px solid var(--coral); }
.legal h1 { margin: 0; font-weight: 800; font-size: 30px; line-height: 38px; letter-spacing: -0.5px; }
.legal .stand { margin-top: 6px; color: var(--mauve); font-size: 13px; }
.legal section { padding: var(--space-lg) 0 var(--space-md); border-bottom: 1px solid var(--hairline); }
.legal h2 { margin: 0 0 var(--space-sm); font-weight: 800; font-size: 20px; line-height: 29px; letter-spacing: -0.2px; }
.legal p { font-size: 15.5px; line-height: 24px; overflow-wrap: anywhere; }
.legal p + p { margin-top: 12px; }
.legal .teil { margin-top: var(--space-xl); padding: 14px var(--space-md); border-radius: var(--radius-md); background: var(--surface); color: var(--mauve); font-size: 14px; line-height: 21px; }
.legal .teil strong { color: var(--cream); }
.legal ol { margin: 0; padding-left: 22px; }
.legal li { margin-bottom: 12px; font-size: 15.5px; line-height: 24px; }

.notfound { padding-top: 96px; text-align: center; }
.notfound h1 { margin: 24px 0 12px; font-weight: 800; font-size: 30px; line-height: 38px; }
.notfound p:not(.brand) { color: var(--mauve); margin-bottom: var(--space-lg); }

@media (min-width: 768px) {
  .hero { padding: 72px 0 80px; }
  .section { padding-top: 64px; }
  .foot { margin-top: 88px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { html, body { background: #fff; color: #000; } a { color: #000; } .hero { background: none; } }
.notfound .btn { margin-inline: auto; }
.legal p + ol, .legal ol + p { margin-top: 12px; }
