/* Debattenatlas: gemeinsame Gestaltung aller Seiten.
   Konzept: ein Atlas aus Tafeln. Kühles Kartenpapier, Tinte, Violett als Akzentfarbe;
   drei Positionsfarben zeigen die Grundhaltung: Blau optimistisch, Orange besorgt, Grau gemischt (auch bei Rot-Grün-Schwäche unterscheidbar). */
:root {
  --paper: #EDF0F4;
  --surface: #FFFFFF;
  --ink: #152033;
  --ink-2: #4A566A;
  --ink-3: #737E90;
  --line: #CDD5DF;
  --grid: #E1E6ED;
  --accent: #5B3CB0;
  --accent-bg: #ECE6FA;
  --opt: #1677D2; --opt-bg: #DCEBFA; --opt-ink: #0B4A85;
  --bes: #E0571A; --bes-bg: #FCE6DA; --bes-ink: #8A3007;
  --gem: #98A1B2; --gem-bg: #E7EAF0; --gem-ink: #3F4757;
  --error: #B42318;
  --f-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-label: "IBM Plex Sans Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --breite: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F141C; --surface: #171F2A; --ink: #E5EAF1; --ink-2: #A6B0C0; --ink-3: #7E899B;
    --line: #2C3746; --grid: #1F2834; --accent: #B9A2FF; --accent-bg: #2C2450;
    --opt: #4DA8FF; --opt-bg: #10304D; --opt-ink: #A9D4FF;
    --bes: #FF8A4C; --bes-bg: #45200E; --bes-ink: #FFC4A3;
    --gem: #8E97A8; --gem-bg: #252D39; --gem-ink: #CBD2DE;
    --error: #FF8A80;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0F141C; --surface: #171F2A; --ink: #E5EAF1; --ink-2: #A6B0C0; --ink-3: #7E899B;
  --line: #2C3746; --grid: #1F2834; --accent: #B9A2FF; --accent-bg: #2C2450;
  --opt: #4DA8FF; --opt-bg: #10304D; --opt-ink: #A9D4FF;
  --bes: #FF8A4C; --bes-bg: #45200E; --bes-ink: #FFC4A3;
  --gem: #8E97A8; --gem-bg: #252D39; --gem-ink: #CBD2DE;
  --error: #FF8A80;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; }
a { color: var(--accent); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopfleiste */
.kopfleiste { border-bottom: 1px solid var(--line); }
.kopfleiste-innen { max-width: var(--breite); margin: 0 auto; padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; }
.wortmarke { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--f-display); font-size: 1.4rem; font-weight: 500; letter-spacing: -0.005em; line-height: 1; }
.wortmarke svg { width: 22px; height: 22px; flex: none; }
.zeichen-rahmen { fill: none; stroke: currentColor; stroke-width: 1.4; }
.zeichen-achse { stroke: currentColor; stroke-width: 1; opacity: 0.4; }
.zeichen-opt { fill: var(--opt); } .zeichen-bes { fill: var(--bes); } .zeichen-gem { fill: var(--gem); }
.hauptnav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-family: var(--f-label); font-weight: 500; font-size: 15px; }
.hauptnav a { color: var(--ink-2); text-decoration: none; padding-block: 4px; border-bottom: 1.5px solid transparent; }
.hauptnav a:hover { color: var(--ink); }
.hauptnav a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }

/* Gemeinsame Bausteine */
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; }
.knopf { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); background: var(--ink); color: var(--surface); border-radius: 4px; padding: 10px 18px; font-weight: 500; text-decoration: none; cursor: pointer; line-height: 1.3; }
.knopf.zweit { background: none; color: var(--ink); border-color: var(--line); }
.knopf:hover { opacity: 0.9; }
.knopf.zweit:hover { border-color: var(--ink-2); opacity: 1; }
.punktchen { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.p-opt { background: var(--opt); } .p-bes { background: var(--bes); } .p-gem { background: var(--gem); }

/* Fußzeile */
.fusszeile { border-top: 1px solid var(--line); margin-top: 32px; }
.fusszeile-innen { max-width: var(--breite); margin: 0 auto; padding: 28px 20px 44px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 48px; font-size: 14.5px; color: var(--ink-2); }
.herausgeber { display: grid; gap: 4px; }
.herausgeber .eyebrow { font-size: 11.5px; }
.herausgeber a.firma { font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); text-decoration: none; line-height: 1.2; width: fit-content; }
.herausgeber a.firma:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.herausgeber p { margin: 4px 0 0; max-width: 52ch; }
.fussnav { display: flex; flex-wrap: wrap; gap: 6px 20px; align-content: start; justify-content: flex-end; font-family: var(--f-label); font-size: 15px; font-weight: 500; }
.fussnav a { color: var(--ink-2); text-decoration: none; }
.fussnav a:hover { color: var(--ink); text-decoration: underline; }
.fussnav .jahr { color: var(--ink-3); font-family: var(--f-mono); font-size: 12px; font-weight: 400; align-self: center; }
@media (max-width: 640px) {
  .fusszeile-innen { grid-template-columns: minmax(0, 1fr); padding: 24px 16px 36px; }
  .fussnav { justify-content: flex-start; }
  .kopfleiste-innen { padding: 12px 16px; }
}
