/* ═══════════════════════════════════════════════════════════════════════════
   legal.felixon.tv -- Impressum / Imprint

   Plain CSS, kein Build. Die Tokens sind aus dem felixon.tv-Repo,
   Branch `rebuild/felixontv-2026`, uebernommen -- `src/styles/theme.css`
   (Farben, Korridor, Radius), `src/styles/fonts.css` (@font-face) und
   `src/styles/sheet.css` (Raster, Grundtypografie, Link- und Fokus-Regeln).
   Uebernommen wurden ausschliesslich Werte, kein Component-Code und keine
   Tailwind-Kette: dort traegt `@theme static` die Variablen, hier steht
   `:root`, weil es hier keinen Tailwind-Build gibt, der `@theme` aufloest.

   Die Verbote aus dem Quell-DESIGN.md gelten hier mit: keine Schatten, kein
   Blur, kein Radius ueber 2 px, genau ein Umbruchpunkt (820 px).
   Deshalb steht unten auch keine `box-shadow`-Zeile, die man spaeter
   "nur kurz" aktivieren koennte.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Schriften ──────────────────────────────────────────────────────────
   Erode und JetBrains Mono, beide vom eigenen Origin. Die Erode-Dateien
   liegen UNVERAENDERT im Repo: ITF Free Font License 2.0, Klausel 02
   verbietet Subsetting und Formatkonvertierung ausdruecklich. Wer sie
   "optimieren" will, bricht die Lizenz. Volltext in
   `public/fonts/LICENSE-Erode-Rosaline-ITF-FFL.txt`.

   Rosaline (die Schreibschrift der Hauptsite) fehlt hier bewusst: sie traegt
   dort ausschliesslich Randannotation und haette auf einer Rechtsseite
   keine Rolle. */
@font-face {
  font-family: 'Erode';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/erode-variable.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Erode';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/erode-variable-italic.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2-variations');
  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: 400 800;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-ext.woff2') format('woff2-variations');
  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;
}

/* ── Tokens ─────────────────────────────────────────────────────────────
   Kontrastwerte gegen --color-paper, uebernommen aus theme.css:
     ink 13.97:1 · ink-dim 6.04:1 · taupe 1.67:1 · amber 1.53:1
   Daraus die zwei Regeln, die hier eingehalten werden:
     TAUPE traegt nie Text -- gedaempfter Text steht in ink-dim.
     AMBER traegt nie Schrift -- die Farbe liegt als Flaeche UNTER dem
     Text, dann misst die Kombination 9.12:1. Genau so ist `.todo`
     gebaut. */
:root {
  --color-paper:      #e9e4d9;
  --color-ink:        #1a1815;
  --color-ink-dim:    #5c4d48;
  --color-taupe:      #bdb0a9;
  --color-underline:  rgb(26 24 21 / 0.55);
  --color-amber:      #ffa726;
  --color-rule:       rgb(26 24 21 / 0.26);
  --color-rule-strong:rgb(26 24 21 / 0.42);
  --color-grid-fine:  rgb(26 24 21 / 0.055);
  --color-grid-bold:  rgb(26 24 21 / 0.13);

  --font-body:  'Erode', Georgia, 'Times New Roman', serif;
  --font-mono:  'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  --corridor:   760px;
  --radius:     2px;
}

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

/* Millimeterpapier auf `body`, nicht auf einem Wrapper: so gibt es keine
   Stelle, an der das Raster "nur fuer diesen Block" abgeschaltet wird.
   Vier Verlaeufe, zwei Ebenen -- 8 px fein, 56 px betont. */
body {
  min-height: 100svh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background-color: var(--color-paper);
  background-image:
    linear-gradient(var(--color-grid-bold) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid-bold) 1px, transparent 1px),
    linear-gradient(var(--color-grid-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid-fine) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px, 8px 8px, 8px 8px;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.62;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.sheet {
  width: 100%;
  max-width: var(--corridor);
  margin: 0 auto;
  padding: 56px 24px 96px;
  flex: 1 1 auto;
}

/* ── Kopf ── */
h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

/* Die Entity-Zeile. Sie nennt bewusst KEINE einzelnen Domains -- die Seite
   gilt fuer alle Angebote und soll nicht bei jeder neuen Domain angefasst
   werden muessen. */
.entity {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--color-ink-dim);
}

.rule {
  border: 0;
  border-top: 1px solid var(--color-rule-strong);
  margin: 40px 0 0;
}

/* ── Abschnitte ── */
section { margin-top: 40px; }

h2 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-dim);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-rule);
}

section > p, section > .block { margin-top: 16px; }

.block p { margin: 0; }
.block p + p { margin-top: 2px; }

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-ink-dim);
}

.note {
  margin-top: 16px;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--color-ink-dim);
}

/* ── Platzhalter ────────────────────────────────────────────────────────
   Bewusst laut. Ein TODO, das aussieht wie Fliesstext, geht live.
   Amber liegt als Flaeche unter der Tinte (9.12:1), nicht als Schriftfarbe.
   `aria-label` steht im Markup, damit die Rolle auch vorgelesen wird. */
.todo {
  display: inline-block;
  background: var(--color-amber);
  color: var(--color-ink);
  padding: 1px 7px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ── Links, Fokus, Auswahl ── */
a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-underline);
}
a:hover { text-decoration-color: var(--color-ink); }

:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

::selection { background: var(--color-amber); color: var(--color-ink); }

/* ── Fuss / Sprachwechsel ───────────────────────────────────────────────
   Zwei HTML-Dateien, ein Link dazwischen. Kein i18n-Framework, keine
   Locale-Erkennung, kein Routing-Layer -- die Zuordnung steht als hreflang
   im <head> und ist damit maschinenlesbar, ohne dass hier Code laeuft. */
.foot {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--color-rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-ink-dim);
}

.foot a { color: var(--color-ink); }

/* ── Geltungsbereich-Banner ─────────────────────────────────────────────
   Steht als erstes auf der Datenschutzseite. Amber traegt hier keine
   Schrift, sondern liegt als Flaeche darunter -- dieselbe Konstruktion wie
   `.todo` und derselbe gemessene Wert: 9.12:1 gegen Tinte. Der Satz ist der
   wichtigste der Seite, weil eine Datenschutzerklaerung ohne erkennbaren
   Geltungsbereich fuer die anderen Angebote mitgelesen wird, fuer die sie
   nicht gilt. */
.scope {
  margin-top: 24px;
  padding: 12px 16px;
  background: var(--color-amber);
  color: var(--color-ink);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.scope strong { font-weight: 600; }

/* ── Fliesstext der Datenschutzseite ── */
.prose { margin-top: 16px; color: var(--color-ink); }
.prose + .prose { margin-top: 12px; }

h3 {
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

section ul {
  margin-top: 12px;
  padding-left: 20px;
}

section li { margin-top: 4px; }
section li::marker { color: var(--color-ink-dim); }

.muted { color: var(--color-ink-dim); }

/* Genau ein Umbruchpunkt. Ein zweiter ist im Quell-DESIGN.md verboten. */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .sheet { padding: 40px 20px 72px; }
  section { margin-top: 32px; }
}

@media print {
  body { background-image: none; }
  .foot { display: none; }
}
