/* ob8 Website – Design-System „Signal“ (DESIGN.md). Nur Systemschrift, keine externen Ressourcen. */
:root {
  --ink: #000;
  --paper: #fff;
  --muted: #8e8e93;
  --signal-red: #e5231b;
  --signal-green: #0b7f48;
  --signal-amber: #ffb800;
  --line: rgba(255, 255, 255, 0.18);
  --gutter: 20px;
  --column: 560px;
  --text: 720px;
  --r-box: 14px;
  --r-pill: 999px;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 17px/1.4 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 8px; }

/* Kopf und Fuß: ruhig, damit der Inhalt gewinnt */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--text); margin: 0 auto; padding: 16px var(--gutter);
}
.top .brand img { height: 30px; width: auto; }
.top nav { display: flex; gap: 20px; font-size: 15px; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--paper); }

.foot {
  max-width: var(--text); margin: 0 auto; padding: 40px var(--gutter) 56px;
  color: var(--muted); font-size: 15px; border-top: 1px solid var(--line);
}
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.foot nav a { text-decoration: none; color: var(--paper); }
.foot nav a:hover { text-decoration: underline; }
.foot p { margin: 4px 0; }

/* Urteilsschrift: SF Pro Compressed Black über die Systemschrift */
.display {
  font-family: var(--sans);
  font-weight: 900;
  font-stretch: 50%;
  font-variation-settings: "wdth" 30;
  line-height: 0.9;
  letter-spacing: -0.01em;
}

/* Start */
.hero { max-width: var(--column); margin: 0 auto; padding: 40px var(--gutter) 64px; text-align: center; }
.hero .logo { width: min(78%, 420px); margin: 0 auto 40px; }
.hero h1 { font-size: clamp(34px, 9vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 12px; }
.hero .sub { font-size: 20px; line-height: 1.3; margin: 0 0 32px; }
.badge {
  display: inline-block; padding: 12px 22px; border: 1.5px solid var(--paper); border-radius: var(--r-pill);
  font-size: 17px; font-weight: 600;
}
.hint { color: var(--muted); font-size: 15px; margin: 16px 0 0; }

.label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.section-head { max-width: var(--column); margin: 0 auto; padding: 0 var(--gutter) 24px; }
.section-head h2 { font-size: 34px; font-weight: 700; line-height: 1.1; margin: 8px 0 0; }
.section-head .label { color: var(--muted); }

/* Urteil: der ganze Streifen ist die Antwort */
.verdict { color: var(--paper); }
.verdict.scam { background: var(--signal-red); }
.verdict.legit { background: var(--signal-green); }
.verdict.careful { background: var(--signal-amber); color: var(--ink); }
.verdict .inner { max-width: var(--column); margin: 0 auto; padding: 36px var(--gutter) 40px; }
.word-wrap { overflow: hidden; }
.word { display: inline-block; white-space: nowrap; font-size: 30vw; }
.quote { margin: 20px 0 24px; }
.quote .label { margin: 0; }
.quote .mark { font-size: 72px; line-height: 0.6; height: 30px; margin-top: 12px; }
.quote .text {
  margin: 8px 0 0; padding-left: 14px; font-size: 20px; line-height: 1.3;
  border-left: 2px solid color-mix(in srgb, currentColor 55%, transparent);
  overflow-wrap: anywhere;
}
.v-title { font-size: 40px; font-weight: 800; line-height: 1.05; margin: 0; }
.v-sub { font-size: 20px; margin: 4px 0 0; }
.flags { list-style: none; padding: 0; margin: 20px 0 0; }
.flags li { display: flex; gap: 10px; align-items: flex-start; font-size: 26px; font-weight: 700; line-height: 1.15; margin: 8px 0; }
.flags svg { width: 22px; height: 22px; flex: none; margin-top: 4px; fill: currentColor; }
.action {
  margin: 24px 0 0; padding: 16px; border-radius: var(--r-box);
  background: var(--paper); color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.25;
}
.verdict.careful .action { background: var(--ink); color: var(--paper); }
.residual { margin: 24px 0 0; font-size: 20px; font-weight: 600; line-height: 1.25; }
.verdicts-note { max-width: var(--column); margin: 0 auto; padding: 16px var(--gutter) 0; color: var(--muted); font-size: 15px; }

/* So geht's / Datenschutz / Sprachen */
.block { max-width: var(--column); margin: 0 auto; padding: 72px var(--gutter) 0; }
.block h2 { font-size: 34px; font-weight: 700; line-height: 1.1; margin: 8px 0 24px; }
.block .label { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 0 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { font-size: 64px; grid-row: span 2; }
.steps h3 { font-size: 26px; font-weight: 700; line-height: 1.15; margin: 2px 0 6px; }
.steps p { margin: 0; color: var(--muted); }
.loud { list-style: none; padding: 0; margin: 0; }
.loud li { font-size: 26px; font-weight: 700; line-height: 1.15; padding: 14px 0; border-top: 1px solid var(--line); }
.loud li span { display: block; margin-top: 4px; font-size: 17px; font-weight: 400; color: var(--muted); }
.langs { font-size: 20px; line-height: 1.6; margin: 0; }
.more { margin: 20px 0 0; }
.soon { max-width: var(--column); margin: 0 auto; padding: 88px var(--gutter) 72px; text-align: center; }
.soon .word { font-size: 18vw; }

/* Textseiten: Hilfe, Impressum, Nutzungsbedingungen */
.doc { max-width: var(--text); margin: 0 auto; padding: 24px var(--gutter) 56px; }
.doc h1 { font-size: 34px; font-weight: 700; line-height: 1.1; margin: 16px 0 8px; }
.doc .lead { font-size: 20px; line-height: 1.35; margin: 0 0 32px; }
.doc h2 { font-size: 21px; font-weight: 700; margin: 40px 0 8px; }
.doc p, .doc li { line-height: 1.5; }
.doc ul { padding-left: 22px; }
.doc .meta { color: var(--muted); font-size: 15px; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; } }
.contact { font-size: 20px; margin: 0 0 8px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative;
  font-size: 20px; font-weight: 600; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 16px; }
.faq details p { margin: 0 0 10px; }

@media (min-width: 900px) {
  .hero { padding-top: 64px; }
  .word { font-size: 240px; }
}
@media (prefers-reduced-motion: no-preference) {
  a { transition: color 120ms ease-out; }
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.home .top, .home .foot { max-width: var(--column); }
