/* Unterseiten (Impressum, Datenschutz) aus Bausteinen des Design Systems v1.0: Kopf wie Teaser, Paper-Theme für Lesetext, Signal-Fuß */

/* Alle Schriften lokal (DSGVO) */
@font-face { font-family: "Unbounded"; src: url(fonts/unbounded-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url(fonts/unbounded-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(fonts/schibsted-grotesk-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }

/* Tokens aus Design System v1.0 (tokens/colors.css, Paper-Theme) */
:root {
  --ink-800: #231F20; --ink-600: #3A3435;
  --stone-300: #CFCAC0; --paper-100: #F3F0EA;
  --signal: #FF5B1F; --signal-600: #E04812;
  --line: rgba(207,202,192,.18); --line-paper: rgba(35,31,32,.14); --line-ink: rgba(35,31,32,.25);
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --margin: 16px; --section: 64px; --header-h: 64px;
  --ease-pop: cubic-bezier(.34,1.56,.64,1);
}
@media (min-width: 600px) { :root { --margin: clamp(16px, 4vw, 48px); } }
@media (min-width: 820px) { :root { --section: 96px; --header-h: 72px; } }

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100svh; display: flex; flex-direction: column; background: var(--paper-100); color: var(--ink-800); font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--signal); color: var(--ink-800); }
/* Auf Paper wird der Akzent signal-600 */
a { color: inherit; text-decoration-color: var(--signal-600); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--margin); }

/* Kopf wie auf der Startseite */
.top { position: sticky; top: 0; z-index: 50; color: var(--paper-100); background: rgba(35,31,32,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 .875rem var(--font-display); letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; transition: transform .3s var(--ease-pop); }
.brand:hover img { transform: scale(1.08); }
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 .6875rem var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--stone-300); }
.dot { width: 7px; height: 7px; border-radius: 999px; background: var(--signal); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (min-width: 600px) { .brand { font-size: .95rem; gap: 12px; } .brand img { width: 32px; height: 32px; } .status { font-size: .75rem; } }

/* Lesetext auf Paper */
main { flex: 1; }
main .wrap { padding-bottom: var(--section); }
.legal-head { padding: var(--section) 0 40px; }
/* Größe wie die Abschnittsüberschriften der Startseite (z. B. „Worum es gehen wird“), Wunsch Johannes 2026-10-18 */
.legal-head h1 { font: 800 clamp(1.75rem, 3.6vw, 2.75rem)/1.08 var(--font-display); letter-spacing: -0.025em; }
.rows { border-bottom: 1px solid var(--line-paper); }
.row { display: grid; gap: 12px; padding: 24px 0 28px; border-top: 1px solid var(--line-paper); }
.row h2 { font: 500 1.125rem/1.3 var(--font-display); letter-spacing: -0.01em; }
.row div { display: flex; flex-direction: column; gap: 12px; max-width: 36rem; color: var(--ink-600); }
@media (min-width: 820px) {
  .legal-head { padding-bottom: 64px; }
  .row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; padding: 32px 0 40px; }
  .row h2 { font-size: 1.25rem; }
}

/* Fuß als Signal-Fläche, Text immer Ink */
.foot { background: var(--signal); color: var(--ink-800); }
.foot ::selection { background: var(--ink-800); color: var(--signal); }
.foot :focus-visible { outline-color: var(--ink-800); }
.foot .wrap { padding-top: 20px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font: 400 .875rem var(--font-mono); }
.foot nav { display: flex; gap: 24px; }
.foot a { text-decoration: none; display: inline-block; padding: 10px 0; }
.foot a:hover, .foot a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ink-800); }
.foot a[aria-current="page"] { text-decoration-thickness: 3px; }

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
}
