/* KI-Sicherheits-Check — Theme (Single Source of Truth für Farben, Radien, Schatten, Schriften).
   Richtung: Entwurf a „warmes Hell“ (guidelines §022, references/mockups/a.html).
   Knöpfe (Hauptaktion) in der Akzentfarbe aus Entwurf c (Orange, Brücke zum YouTube-Look).
   Ampelfarben nur für den Ampel-Status, nie allein: Wort und Symbol stehen immer dabei.
   app.css enthält keine festen Farbwerte, nur var(--…) aus dieser Datei (Test). */

/* Schriften lokal, SIL Open Font License 1.1 (Lizenztexte in ../fonts/) */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Grundton: Papier-Creme, abgestufte Neutrals (kein hartes Schwarz/Weiß) */
  --bg: #f5f0e6;
  --page-bg: radial-gradient(1100px 520px at 50% -140px, #fbf3df 0%, rgba(251, 243, 223, 0) 70%), #f5f0e6;
  --bg-elev: #fffdf8;
  --bg-elev-2: #f4eee1;
  --hero-bg: linear-gradient(180deg, #fffdf8 0%, #fbf6ea 100%);
  --hover: rgba(90, 70, 30, 0.035);
  --line: rgba(74, 56, 24, 0.13);
  --line-strong: rgba(74, 56, 24, 0.26);
  --track: rgba(74, 56, 24, 0.14);

  /* Text: Kontrast auf --bg-elev ≥ 4,5:1 für alle drei Stufen */
  --text: #2a241b;
  --text-dim: #574e40;
  --text-faint: #746a59;

  /* Akzent Petrol: Überschriften-Hervorhebung, Links, Fokus, Sektionsnummern, aktive Pills */
  --accent: #1c5a6b;
  --accent-text: #1c5a6b;
  --on-accent: #fffdf8;
  --accent-soft: rgba(28, 90, 107, 0.085);
  --accent-line: rgba(28, 90, 107, 0.28);

  /* Knöpfe (Hauptaktion): Orange aus Entwurf c mit dunkler Schrift (Kontrast ≈ 9:1) */
  --button-bg: #f2a052;
  --button-bg-hover: #f5ad66;
  --button-line: #d98a3d;
  --button-text: #2a1c0c;
  --button-glow: 0 0 0 3px rgba(242, 160, 82, 0.35);

  /* Ampel — nur für den Status, gedeckt; Gelb bewusst dunkler als das Knopf-Orange */
  --ok: #2f7d51; --ok-text: #246540; --ok-soft: rgba(47, 125, 81, 0.12);
  --warn: #c58a00; --warn-text: #7d5600; --warn-soft: rgba(197, 138, 0, 0.15);
  --bad: #b8404b; --bad-text: #9c2f3a; --bad-soft: rgba(184, 64, 75, 0.11);

  /* Schatten, Radien, Bewegung */
  --shadow-card: 0 1px 2px rgba(74, 56, 24, 0.06), 0 10px 28px rgba(74, 56, 24, 0.07);
  --shadow-glow: 0 0 0 3px rgba(28, 90, 107, 0.12);
  --radius-sm: 0.75rem;
  --radius: 1.05rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --transition: 180ms ease-out;

  /* Schrift */
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
  --display-weight: 600;
  --display-tracking: -0.015em;
}
