/* umkreis — Landingpage · Sonar Dark
   ==================================================================
   QUELLE DER WAHRHEIT für alle Tokens: DESIGN.md Frontmatter.
   Hier 1:1 gespiegelt — Änderungen IMMER zuerst in DESIGN.md.

   Zwei bewusste Erweiterungen gegenüber DESIGN.md (dort steht eine
   iOS-Portrait-Spec, hier steht ein Desktop-fähiges Dokument):
     1. Eine Hero-Typo-Stufe über `display` (clamp), damit eine
        Landingpage auf 1440px nicht wie ein 390px-Screen aussieht.
     2. Ein 12-Spalten-freies, aber breitenbegrenztes Layout (--wrap).
   Alles darunter — Farben, Komponentenformen, Radien, Abstände,
   Mono-Readouts — ist unverändert das App-System.

   Fonts sind SELF-HOSTED (`fonts/`, seit 2026-07-28). Kein Request an
   fonts.googleapis.com — der wäre auf einer deutschen Seite ein DSGVO-Problem
   (LG München I, 3 O 17493/20) und der erste gebrochene Satz auf einer Seite,
   die „kein Tracking" verspricht. Alle drei sind Variable Fonts: EINE Datei je
   Familie und Subset trägt die ganze Gewichtsspanne. Lizenz aller drei:
   SIL Open Font License 1.1 — s. `fonts/LICENSE.md`.
   ================================================================== */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* ── colors — DESIGN.md Frontmatter ──────────────────── */
  --primary:       #2DE38C;
  --secondary:     #F5B841;
  --tertiary:      #5EC8E5;
  --neutral:       #8B9A93;
  --bg:            #080B0A;
  --surface:       #0F1512;
  --surface-alt:   #151C18;
  --border:        #26302B;
  --text:          #E6EDEA;
  --text-muted:    #8B9A93;
  --verdict-trust: #2DE38C;
  --verdict-mixed: #F5B841;
  --verdict-warn:  #FF5C6E;
  --location-puls: #FF6B9D;

  /* ── rounded / spacing — DESIGN.md ───────────────────── */
  --r-sm: 4px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-full: 9999px;
  --sp-xs: 4px; --sp-sm: 8px; --sp-md: 16px; --sp-lg: 24px; --sp-xl: 40px; --sp-2xl: 64px;

  /* ── fonts — DESIGN.md ───────────────────────────────── */
  --f-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* ── Landingpage-Erweiterung ─────────────────────────── */
  --wrap: 1080px;
  --wrap-narrow: 720px;
  --sp-3xl: 80px;
  --sp-4xl: 104px;
}

/* ── base ──────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Fokus: 2px primary-Outline, nie nur Farbwechsel (DESIGN §A11y). */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: rgba(45, 227, 140, 0.28); color: var(--text); }

/* ── typografie-rollen — DESIGN.md ─────────────────────── */
.display    { font-family: var(--f-display); font-size: 2rem;      font-weight: 700; line-height: 1.15; }
.h1         { font-family: var(--f-display); font-size: 1.75rem;   font-weight: 700; line-height: 1.15; }
.h2         { font-family: var(--f-display); font-size: 1.375rem;  font-weight: 600; line-height: 1.2; }
.h3         { font-family: var(--f-display); font-size: 1.125rem;  font-weight: 600; line-height: 1.25; }
.body-md    { font-family: var(--f-body);    font-size: 1rem;      font-weight: 400; line-height: 1.5; }
.body-sm    { font-family: var(--f-body);    font-size: 0.875rem;  font-weight: 400; line-height: 1.45; }
.label-caps {
  font-family: var(--f-display); font-size: 0.75rem; font-weight: 600;
  line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase;
}
.readout-lg { font-family: var(--f-mono); font-size: 2.5rem;    font-weight: 600; line-height: 1.0; font-variant-numeric: tabular-nums; }
.readout-md { font-family: var(--f-mono); font-size: 1.125rem;  font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.readout-sm { font-family: var(--f-mono); font-size: 0.8125rem; font-weight: 500; line-height: 1.1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.muted { color: var(--text-muted); }

/* Landingpage-Hero-Stufe (über `display`, s. Kopfkommentar). */
.hero-type {
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 6.2vw, 4.25rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.section-type {
  font-family: var(--f-display);
  font-size: clamp(1.625rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

/* ── layout ────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-lg); }
.wrap--narrow { max-width: var(--wrap-narrow); }

section { padding: var(--sp-3xl) 0; position: relative; }
@media (min-width: 900px) { section { padding: var(--sp-4xl) 0; } }

.sec-head { margin-bottom: var(--sp-xl); }
.sec-head .label-caps { color: var(--primary); display: block; margin-bottom: var(--sp-md); }
.sec-head .lede {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  max-width: 58ch;
  margin-top: var(--sp-md);
}

/* Hairline-Trenner zwischen Sektionen — dieselbe Rolle wie das Radar-Grid. */
.rule { height: 1px; background: var(--border); border: none; }

/* ── skip-link ─────────────────────────────────────────── */
.skip {
  position: absolute; left: -9999px; top: var(--sp-md); z-index: 200;
  background: var(--primary); color: var(--bg);
  padding: 0 var(--sp-md); border-radius: var(--r-md);
  font: 600 0.875rem var(--f-display);
  display: inline-flex; align-items: center; min-height: 44px;
}
.skip:focus { left: var(--sp-md); }

/* ══════════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 11, 10, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: var(--sp-md);
  height: 62px;
}
/* Navigations-Ziele sind keine Fließtext-Links: sie bekommen die volle
   44px-Trefferhöhe (DESIGN §A11y). Links MITTEN in einem Satz behalten ihre
   Zeilenhöhe — WCAG 2.2 nimmt sie ausdrücklich aus, und ein aufgeblasener
   Inline-Link würde den Absatz auseinanderreißen. */
.brand { display: flex; align-items: center; gap: var(--sp-sm); min-height: 44px; }
.brand-mark { width: 22px; height: 22px; flex: none; }
.brand-name {
  font: 700 1.0625rem var(--f-display);
  letter-spacing: -0.01em; color: var(--text);
}
.nav-spacer { flex: 1; }
.nav-links { display: none; gap: var(--sp-lg); align-items: center; }
@media (min-width: 780px) { .nav-links { display: flex; } }
.nav-links a {
  color: var(--text-muted); font-size: 0.875rem; font-weight: 500;
  text-decoration: none; transition: color 140ms ease;
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ══════════════════════════════════════════════════════════
   BUTTONS — DESIGN §Components
   ══════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-sm);
  min-height: 52px; padding: 0 var(--sp-lg);
  background: var(--primary); color: var(--bg);
  font: 600 1.0625rem var(--f-display);
  border: none; border-radius: var(--r-md); cursor: pointer;
  box-shadow: 0 0 24px rgba(45, 227, 140, 0.26);
  transition: transform 140ms ease, box-shadow 140ms ease;
  text-decoration: none;
}
.btn-primary:hover {
  text-decoration: none; transform: translateY(-1px);
  box-shadow: 0 0 34px rgba(45, 227, 140, 0.4);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-sm);
  min-height: 48px; padding: 0 var(--sp-lg);
  background: transparent; color: var(--primary);
  font: 600 1rem var(--f-display);
  border: 1px solid var(--primary); border-radius: var(--r-md); cursor: pointer;
  text-decoration: none; transition: background 140ms ease;
}
.btn-secondary:hover { text-decoration: none; background: rgba(45, 227, 140, 0.08); }
.btn-secondary--caution { color: var(--secondary); border-color: var(--secondary); }
.btn-secondary--caution:hover { background: rgba(245, 184, 65, 0.09); }

.btn-sm { min-height: 40px; padding: 0 var(--sp-md); font-size: 0.875rem; }

/* Nav-CTA — schlanker als der Hero-CTA, aber nie unter 44px: die Leiste ist auf
   dem Telefon der kürzeste Weg zur Anmeldung (DESIGN §A11y, Touch-Ziele). */
.nav .btn-primary { min-height: 44px; padding: 0 var(--sp-md); font-size: 0.875rem; box-shadow: none; }
.nav .btn-primary:hover { box-shadow: 0 0 20px rgba(45, 227, 140, 0.32); }

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero { padding-top: var(--sp-2xl); padding-bottom: var(--sp-3xl); overflow: hidden; }
@media (min-width: 900px) { .hero { padding-top: var(--sp-3xl); } }

.hero-grid { display: grid; gap: var(--sp-2xl); align-items: center; }
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-xl); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: var(--sp-sm);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 7px 14px 7px 11px;
  color: var(--text-muted); margin-bottom: var(--sp-lg);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: var(--r-full);
  background: var(--primary); flex: none;
  box-shadow: 0 0 9px var(--primary);
}

/* Die Kernaussage steht in zwei Sprechern: Googles Zahl, dann unsere Messung. */
.hero-type .said-google { color: var(--text); }
.hero-type .said-us { color: var(--text-muted); display: block; }

.hero-lede {
  margin-top: var(--sp-lg);
  font-size: clamp(1.0625rem, 1.9vw, 1.25rem);
  color: var(--text-muted);
  max-width: 52ch;
}
.hero-lede strong { color: var(--text); font-weight: 500; }

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-md); margin-top: var(--sp-xl); }

.hero-foot {
  margin-top: var(--sp-lg); color: var(--text-muted);
  display: flex; flex-wrap: wrap; gap: var(--sp-sm) var(--sp-md); align-items: center;
}
.hero-foot .sep { color: var(--border); }

/* ── Radar (Hero-Instrument) ───────────────────────────── */
.radar-stage {
  position: relative; width: 100%; max-width: 460px; margin: 0 auto;
  aspect-ratio: 1;
}
.radar-svg { width: 100%; height: 100%; display: block; overflow: visible; }

.radar-ring { fill: none; stroke: var(--border); stroke-width: 1; }
.radar-cross { stroke: var(--border); stroke-width: 1; }

/* Reichweiten-Fläche: grüne Isochrone, transluzent (DESIGN §map-style). */
.radar-reach {
  fill: rgba(45, 227, 140, 0.11);
  stroke: rgba(45, 227, 140, 0.55);
  stroke-width: 1.5;
  transition: r 420ms cubic-bezier(0.22, 0.8, 0.3, 1);
}

.radar-sweep { transform-origin: 50% 50%; animation: sweep 2.4s linear infinite; }
@keyframes sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Standort-Puck + Ping: exklusiv Rosa (DESIGN — nie Verdikt-Farbe). */
.radar-puck { fill: var(--location-puls); }
.radar-ping {
  fill: none; stroke: var(--location-puls); stroke-width: 1.5;
  transform-origin: 50% 50%; animation: ping 2.5s ease-out infinite;
}
@keyframes ping {
  0%   { r: 6;  opacity: 0.85; }
  70%  { r: 34; opacity: 0; }
  100% { r: 34; opacity: 0; }
}

.radar-blip { animation: blip-in 320ms ease-out both; }
@keyframes blip-in { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }

/* Reduced Motion: kein Sweep, kein Ping — statisches Radar (DESIGN §Motion). */
@media (prefers-reduced-motion: reduce) {
  .radar-sweep { animation: none; opacity: 0.5; }
  .radar-ping  { animation: none; opacity: 0.4; r: 14px; }
  .radar-blip  { animation: none; }
  .radar-reach { transition: none; }
  .btn-primary { box-shadow: none; }
  .btn-primary:hover { transform: none; }
}

/* Label-Badge am Rand der Reichweiten-Fläche (DESIGN §radius-preview). */
.reach-label {
  position: absolute; left: 50%; bottom: 6%;
  transform: translateX(-50%);
  background: rgba(8, 11, 10, 0.72);
  border: 1px solid rgba(45, 227, 140, 0.42);
  border-radius: var(--r-full);
  padding: 6px 13px;
  color: var(--text);
  white-space: nowrap;
}

/* ── reach-row: Mode-Segmente + Zeit (DESIGN §Components) ── */
.instrument {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-md);
  margin-top: var(--sp-lg);
}
.seg {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
}
.seg button {
  appearance: none; background: transparent; border: none; cursor: pointer;
  padding: 10px var(--sp-xs) 8px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: var(--text-muted);
  font: 600 0.6875rem var(--f-display); letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
  min-height: 56px;
  transition: color 140ms ease, background 140ms ease;
}
.seg button svg { width: 20px; height: 20px; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] {
  background: var(--surface-alt); color: var(--primary);
  border-bottom-color: var(--primary);
}

.time-row {
  display: flex; align-items: center; gap: var(--sp-md);
  margin-top: var(--sp-md);
}
.time-row .label-caps { color: var(--text-muted); flex: none; }
.time-out { color: var(--primary); flex: none; min-width: 76px; text-align: right; }

/* 44px Trefferfläche für einen 4px-Track: der Regler ist auf dem Telefon das
   meistbenutzte Bedienelement der Seite (DESIGN §A11y). */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  flex: 1; height: 44px; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: var(--r-full);
  background: linear-gradient(to right, var(--primary) var(--fill, 30%), var(--surface-alt) var(--fill, 30%));
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: var(--r-full); background: var(--surface-alt); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: var(--r-full); background: var(--primary); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -9px; /* zentriert den Thumb auf dem 4px-Track */
  border-radius: var(--r-full); background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 12px rgba(45, 227, 140, 0.5);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: var(--r-full);
  background: var(--primary); border: 3px solid var(--bg);
}

/* interpret-fixed: reservierte Höhe, damit nichts wackelt (DESIGN). */
.interpret {
  margin-top: var(--sp-md); padding-top: var(--sp-md);
  border-top: 1px solid var(--border);
  color: var(--text-muted); min-height: 2.9em;
}
.interpret b { color: var(--text); font-weight: 500; }

/* ══════════════════════════════════════════════════════════
   URMOMENT — der Beleg
   ══════════════════════════════════════════════════════════ */
.proof {
  display: grid; gap: var(--sp-md);
  margin-top: var(--sp-xl);
}
@media (min-width: 780px) { .proof { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); } }

.proof-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-lg);
  display: flex; flex-direction: column; gap: var(--sp-sm);
}
.proof-card .label-caps { color: var(--text-muted); }
.proof-card .num { margin: var(--sp-xs) 0 var(--sp-sm); display: flex; align-items: baseline; gap: 0.14em; }
.proof-card--google .num { color: var(--tertiary); }
.proof-card--us .num { color: var(--verdict-warn); }
/* Mono-Tabularziffern reservieren für jedes Zeichen dieselbe Breite — ein
 * „★" oder „<" daneben riss sonst eine volle Ziffernbreite auf. */
.num .sym { font-size: 0.52em; font-weight: 500; opacity: 0.9; }
.proof-card p { color: var(--text-muted); font-size: 0.9375rem; }
.proof-card .src { color: var(--text-muted); opacity: 0.75; margin-top: auto; padding-top: var(--sp-sm); }

/* ── trust-badge: NIE color-only (DESIGN §trust-badge) ──── */
.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; border-radius: var(--r-md); border: 1px solid;
  align-self: flex-start;
}
.trust-badge .star { font-family: var(--f-mono); font-size: 0.9375rem; font-weight: 500; color: var(--tertiary); }
.trust-badge .glyph { font-family: var(--f-mono); font-size: 0.8125rem; }
.trust-badge .word { font: 600 0.6875rem var(--f-display); letter-spacing: 0.04em; }
.tb-trust { border-color: var(--verdict-trust); background: rgba(45, 227, 140, 0.08); }
.tb-trust .glyph, .tb-trust .word { color: var(--verdict-trust); }
.tb-mixed { border-color: var(--verdict-mixed); background: rgba(245, 184, 65, 0.08); }
.tb-mixed .glyph, .tb-mixed .word { color: var(--verdict-mixed); }
.tb-warn  { border-color: var(--verdict-warn);  background: rgba(255, 92, 110, 0.08); }
.tb-warn .glyph, .tb-warn .word { color: var(--verdict-warn); }
.tb-neutral { border-color: var(--border); background: var(--surface-alt); }
.tb-neutral .glyph, .tb-neutral .word { color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════
   ZWEI SPRECHER — was der Score misst
   ══════════════════════════════════════════════════════════ */
.speakers { display: grid; gap: var(--sp-md); margin-top: var(--sp-xl); }
@media (min-width: 820px) { .speakers { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); } }

.speaker {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); padding: var(--sp-lg);
}
.speaker .label-caps { display: block; margin-bottom: var(--sp-sm); }
.speaker--google .label-caps { color: var(--tertiary); }
.speaker--us .label-caps { color: var(--primary); }
.speaker h3 { margin-bottom: var(--sp-sm); }
.speaker p { color: var(--text-muted); font-size: 0.9375rem; }

.pullquote {
  margin-top: var(--sp-xl);
  border-left: 2px solid var(--primary);
  padding: var(--sp-xs) 0 var(--sp-xs) var(--sp-lg);
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem); line-height: 1.35;
}
.pullquote span { color: var(--primary); }

/* ── place-card (Beispielzeile, DESIGN §place-card) ─────── */
.place-list { display: flex; flex-direction: column; gap: var(--sp-sm); margin-top: var(--sp-lg); }
.place-card {
  display: flex; align-items: center; gap: var(--sp-md);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-md);
}
.place-rank { flex: none; width: 46px; text-align: center; }
.place-rank .rank { font: 600 1rem var(--f-display); color: var(--text-muted); display: block; }
.place-rank .dist { color: var(--text-muted); display: block; margin-top: 3px; }
.place-body { flex: 1; min-width: 0; }
.place-name {
  font: 600 1rem var(--f-display); color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.place-why {
  color: var(--text-muted); font-size: 0.8125rem; margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ══════════════════════════════════════════════════════════
   ANLÄSSE
   ══════════════════════════════════════════════════════════ */
.modes { display: grid; gap: var(--sp-md); margin-top: var(--sp-xl); }
@media (min-width: 720px) { .modes { grid-template-columns: 1fr 1fr; } }

.mode-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-lg);
  display: flex; flex-direction: column; gap: var(--sp-sm);
}
.mode-card header { display: flex; align-items: baseline; gap: var(--sp-sm); justify-content: space-between; }
.mode-card h3 { color: var(--text); }
.mode-card .budget { color: var(--primary); flex: none; }
.mode-card p { color: var(--text-muted); font-size: 0.9375rem; }
.mode-card .soon {
  align-self: flex-start; margin-top: var(--sp-xs);
  font: 600 0.625rem var(--f-display); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--secondary); border: 1px solid var(--secondary);
  border-radius: var(--r-full); padding: 3px 9px;
}

/* ══════════════════════════════════════════════════════════
   ANTI-SCOPE — was wir nie tun
   ══════════════════════════════════════════════════════════ */
.never { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border);
         border-radius: var(--r-md); overflow: hidden; margin-top: var(--sp-xl); }
@media (min-width: 720px) { .never { grid-template-columns: 1fr 1fr; } }

.never-item {
  background: var(--bg); padding: var(--sp-lg);
  display: flex; gap: var(--sp-md); align-items: flex-start;
}
.never-item .x {
  flex: none; width: 22px; height: 22px; margin-top: 1px;
  border-radius: var(--r-full); border: 1px solid var(--verdict-warn);
  color: var(--verdict-warn); display: grid; place-items: center;
  font: 600 0.75rem var(--f-mono);
}
.never-item h3 { margin-bottom: 5px; }
.never-item p { color: var(--text-muted); font-size: 0.875rem; }

/* ══════════════════════════════════════════════════════════
   MITBAUEN — die drei Sorten Leute
   ══════════════════════════════════════════════════════════ */
.roles { display: grid; gap: var(--sp-md); margin-top: var(--sp-xl); }
@media (min-width: 860px) { .roles { grid-template-columns: repeat(3, 1fr); } }

.role {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-lg);
  display: flex; flex-direction: column; gap: var(--sp-sm);
}
.role .glyph {
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: var(--surface-alt); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--primary);
  margin-bottom: var(--sp-xs);
}
.role h3 { color: var(--text); }
.role p { color: var(--text-muted); font-size: 0.9375rem; }
.role .ask {
  margin-top: auto; padding-top: var(--sp-md);
  color: var(--text-muted); border-top: 1px solid var(--border);
}
.role .ask b { color: var(--text); font-weight: 500; }

.honest-note {
  margin-top: var(--sp-lg); padding: var(--sp-md) var(--sp-lg);
  border: 1px solid var(--secondary); border-radius: var(--r-md);
  background: rgba(245, 184, 65, 0.07);
  color: var(--text-muted); font-size: 0.9375rem;
}
.honest-note b { color: var(--secondary); font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   OFFENE FRAGEN — der Ideen-Kanal
   ══════════════════════════════════════════════════════════ */
.questions { display: flex; flex-direction: column; gap: var(--sp-md); margin-top: var(--sp-xl); }

.q {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
}
/* APG-Akkordeon: die Überschrift UMSCHLIESST den Knopf. Andersherum (h3 im
 * button) ist es ungültiges HTML, und die Überschrift geht dem Screenreader
 * verloren — der Abschnitt wäre dann nicht mehr per Überschrift ansteuerbar. */
.q-heading { margin: 0; font: inherit; }

.q-head {
  width: 100%; display: flex; align-items: flex-start; gap: var(--sp-md);
  padding: var(--sp-lg);
  background: transparent; border: none; cursor: pointer; text-align: left;
  color: inherit; font: inherit;
}
.q-open {
  flex: none; font: 600 0.625rem var(--f-display); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--secondary); border: 1px solid var(--secondary);
  border-radius: var(--r-full); padding: 4px 9px; margin-top: 2px;
}
.q-title { flex: 1; }
.q-title .q-q {
  display: block; color: var(--text);
  font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; line-height: 1.25;
}
.q-title .teaser {
  display: block; color: var(--text-muted);
  font-family: var(--f-body); font-size: 0.875rem; font-weight: 400; line-height: 1.45;
  margin-top: 5px;
}
.q-chev {
  flex: none; color: var(--text-muted); margin-top: 4px;
  transition: transform 200ms ease;
}
.q[data-open="true"] .q-chev { transform: rotate(180deg); }

.q-body {
  display: none;
  padding: 0 var(--sp-lg) var(--sp-lg);
  border-top: 1px solid var(--border); margin-top: 0;
}
.q[data-open="true"] .q-body { display: block; padding-top: var(--sp-lg); }
.q-body p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: var(--sp-md); }
.q-body p strong { color: var(--text); font-weight: 500; }

/* Die zwei Seiten einer echten Weiche — nebeneinander, nicht gewertet. */
.sides { display: grid; gap: var(--sp-sm); margin-bottom: var(--sp-md); }
@media (min-width: 700px) { .sides { grid-template-columns: 1fr 1fr; gap: var(--sp-md); } }
.side {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--bg); padding: var(--sp-md);
}
.side .label-caps { color: var(--text-muted); display: block; margin-bottom: 6px; }
.side p { font-size: 0.875rem; margin: 0; }

/* ══════════════════════════════════════════════════════════
   FORMULAR — als Instrument, nicht als Formular
   ══════════════════════════════════════════════════════════ */
.signup {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-lg);
  margin-top: var(--sp-xl);
}
@media (min-width: 720px) { .signup { padding: var(--sp-xl); } }

/* Honigtopf — nicht display:none: manche Bots überspringen ausgeblendete
   Felder gezielt. Aus dem Sichtfeld geschoben und nicht fokussierbar. */
.honeypot {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.field { margin-bottom: var(--sp-lg); }
.field > .label-caps { display: block; color: var(--text-muted); margin-bottom: var(--sp-sm); }
.field .hint { color: var(--text-muted); font-size: 0.8125rem; margin-top: var(--sp-sm); }

input[type="email"], input[type="text"], textarea {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 14px var(--sp-md);
  font-family: var(--f-body); font-size: 1rem;
  min-height: 50px;
  transition: border-color 140ms ease;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
input:focus, textarea:focus { border-color: var(--primary); outline: none; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
textarea { min-height: 108px; resize: vertical; line-height: 1.5; }

/* chip: dieselbe Bauform wie die Lust-Chips (Multi-Select hier). */
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-sm); }
.chip {
  appearance: none; cursor: pointer;
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 11px var(--sp-md);
  color: var(--text-muted); font: 500 0.9375rem var(--f-body);
  min-height: 44px; display: inline-flex; align-items: center; gap: 7px;
  transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] {
  color: var(--primary); border-color: var(--primary);
  background: rgba(45, 227, 140, 0.08);
}
.chip[aria-pressed="true"]::before { content: "✓"; font-family: var(--f-mono); font-size: 0.75rem; }

/* Frequenz-Segmente — Mono-Readout, weil es eine Messgröße ist. */
.freq { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-sm); }
@media (min-width: 560px) { .freq { grid-template-columns: repeat(4, 1fr); } }
.freq button {
  appearance: none; cursor: pointer;
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px var(--sp-sm);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--text-muted); min-height: 62px; justify-content: center;
  transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
}
.freq button .n { font-family: var(--f-mono); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.freq button .u { font: 600 0.625rem var(--f-display); letter-spacing: 0.07em; text-transform: uppercase; }
.freq button:hover { color: var(--text); }
.freq button[aria-pressed="true"] {
  color: var(--primary); border-color: var(--primary); background: rgba(45, 227, 140, 0.08);
}

/* Bedingtes Feld (erscheint, wenn „mitdenken" gewählt ist). */
.conditional { display: none; }
.conditional[data-show="true"] { display: block; animation: fade-in 220ms ease-out both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .conditional[data-show="true"] { animation: none; } }

.submit-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-md);
  padding-top: var(--sp-sm);
}
.submit-row .btn-primary { flex: 1; min-width: 220px; }

.privacy {
  margin-top: var(--sp-md); padding-top: var(--sp-md);
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.8125rem; line-height: 1.55;
}

/* Formular-Rückmeldung — nennt die Folge, nicht den Vorgang (DESIGN §snack). */
.form-msg {
  display: none; margin-top: var(--sp-md);
  border-radius: var(--r-md); padding: var(--sp-md);
  font-size: 0.9375rem;
}
.form-msg[data-state="ok"] {
  display: block; border: 1px solid var(--primary);
  background: rgba(45, 227, 140, 0.08); color: var(--text);
}
.form-msg[data-state="err"] {
  display: block; border: 1px solid var(--secondary);
  background: rgba(245, 184, 65, 0.08); color: var(--text);
}
.form-msg b { font-weight: 600; }

/* Erfolgs-Zustand ersetzt das Formular. */
.signup[data-done="true"] .signup-form { display: none; }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--border); padding: var(--sp-2xl) 0 var(--sp-xl); }
.footer-grid { display: grid; gap: var(--sp-xl); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 { font: 600 0.75rem var(--f-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-md); }
.footer ul { list-style: none; display: flex; flex-direction: column; }
.footer li a, .footer li span {
  color: var(--text-muted); font-size: 0.9375rem;
  display: inline-flex; align-items: center; min-height: 44px;
}
.footer li a:hover { color: var(--primary); }
.footer-claim { color: var(--text-muted); font-size: 0.9375rem; max-width: 42ch; margin-top: var(--sp-md); }
.attribution {
  margin-top: var(--sp-xl); padding-top: var(--sp-lg);
  border-top: 1px solid var(--border);
  color: var(--text-muted); display: flex; flex-wrap: wrap;
  align-items: center; gap: var(--sp-sm) var(--sp-lg);
}
.attribution a { display: inline-flex; align-items: center; min-height: 44px; }

/* ══════════════════════════════════════════════════════════
   RECHTSSEITEN (impressum.html · datenschutz.html)
   Prosa statt Instrument — dieselben Tokens, andere Dichte.
   ══════════════════════════════════════════════════════════ */
.legal { padding: var(--sp-2xl) 0 var(--sp-3xl); }
.legal-head { margin-bottom: var(--sp-xl); }
.legal-head .label-caps { color: var(--primary); display: block; margin-bottom: var(--sp-md); }
.legal-head .stand { color: var(--text-muted); margin-top: var(--sp-sm); }

.legal-body { max-width: 68ch; }
.legal-body h2 {
  font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; line-height: 1.25;
  margin: var(--sp-xl) 0 var(--sp-sm);
  padding-top: var(--sp-lg); border-top: 1px solid var(--border);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-body h3 {
  font-family: var(--f-display); font-size: 1rem; font-weight: 600;
  margin: var(--sp-lg) 0 var(--sp-xs); color: var(--text);
}
.legal-body p { color: var(--text-muted); margin-bottom: var(--sp-md); }
.legal-body ul { color: var(--text-muted); margin: 0 0 var(--sp-md) var(--sp-lg); }
.legal-body li { margin-bottom: var(--sp-xs); }
.legal-body strong { color: var(--text); font-weight: 500; }
.legal-body address {
  font-style: normal; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-md);
  margin-bottom: var(--sp-md); line-height: 1.7;
}
.legal-body .mono { font-family: var(--f-mono); font-size: 0.9375rem; color: var(--text); }

/* Inhaltsverzeichnis — bei einer langen Erklärung der halbe Nutzen. */
.toc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-md) var(--sp-lg);
  margin-bottom: var(--sp-xl);
}
.toc ol { margin: 0 0 0 var(--sp-md); color: var(--text-muted); }
.toc li { margin: var(--sp-xs) 0; }

/* Der eine Kasten, der auf einer Rechtsseite wirklich hervorstechen soll. */
.legal-note {
  border: 1px solid var(--secondary); border-radius: var(--r-md);
  background: rgba(245, 184, 65, 0.07);
  padding: var(--sp-md) var(--sp-lg); margin: var(--sp-lg) 0;
  color: var(--text-muted);
}
.legal-note b { color: var(--secondary); font-weight: 600; }

.back-link {
  display: inline-flex; align-items: center; gap: var(--sp-sm);
  min-height: 44px; color: var(--text-muted); font-size: 0.9375rem;
}
.back-link:hover { color: var(--primary); text-decoration: none; }

/* ── Einwilligung im Formular ──────────────────────────── */
.consent {
  display: flex; align-items: flex-start; gap: var(--sp-md);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-md);
  cursor: pointer;
}
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 24px; height: 24px; margin: 0;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface-alt); cursor: pointer;
  display: grid; place-items: center;
  transition: border-color 140ms ease, background 140ms ease;
}
.consent input[type="checkbox"]:checked {
  background: var(--primary); border-color: var(--primary);
}
.consent input[type="checkbox"]:checked::after {
  content: "✓"; color: var(--bg);
  font: 600 0.8125rem var(--f-mono); line-height: 1;
}
.consent span { color: var(--text-muted); font-size: 0.875rem; line-height: 1.5; }
/* 44px Trefferfläche, ohne die Box optisch aufzublasen. */
.consent { min-height: 44px; }
.consent[data-fehlt="true"] { border-color: var(--secondary); }

/* ── utilities ─────────────────────────────────────────── */
.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;
}
.stack-sm > * + * { margin-top: var(--sp-sm); }
.stack-md > * + * { margin-top: var(--sp-md); }
