/* ===== tokens.css – Farben, Radien, Schatten, Schriften (nur HIER Farben ändern) =====
   Stil: ruhig & modern (Apple/Porsche): helle Flächen, ein Akzent (Vereins-Grün), Schwarz für Wichtiges. Dunkelmodus automatisch. */
:root {
  color-scheme: light dark;

  /* Marke (Vereinswappen) */
  --brand: #058843;
  --brand-press: #046f37;
  --brand-tint: #e4f3ea;
  --gold: #f0b429;

  /* Flächen & Linien */
  --bg: #f2f3f5;
  --glass: rgba(242, 243, 245, .78);
  --card: #ffffff;
  --fill: rgba(14, 21, 18, .06);      /* dezente Füllung (Chips, Kreise) */
  --line: rgba(14, 21, 18, .10);

  /* Text */
  --ink: #0e1512;
  --muted: #6a7570;

  /* Schwarz-Elemente (Prüfungs-Kachel, Ergebnis, dunkler Button) */
  --night: #0b1511;
  --night-2: #17382a;
  --on-night: #ffffff;
  --btn-dark-bg: #0e1512;
  --btn-dark-fg: #ffffff;

  /* Kachel-Symbole */
  --tint-1: #e4f3ea;  --tint-2: #e1f0f4;  --tint-3: #fbeed6;

  /* Rückmeldung */
  --ok: #0a8f4a;  --ok-bg: #e2f5ea;
  --bad: #d23a2e; --bad-bg: #fdeceb;
  --pass-text: #5be08f; --fail-text: #ff8f82;

  /* Form */
  --r-sm: 12px; --r: 18px; --r-lg: 26px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px -12px rgba(0, 0, 0, .14);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .06), 0 24px 44px -20px rgba(0, 0, 0, .30);

  /* Schrift: systemeigene Schrift (SF auf iPhone, Segoe auf Windows, Roboto auf Android) – lädt sofort, läuft offline */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-head: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #22b862; --brand-press: #1aa356; --brand-tint: #13291d;
    --bg: #0a0e0c; --glass: rgba(10, 14, 12, .78); --card: #151b18;
    --fill: rgba(255, 255, 255, .08); --line: rgba(255, 255, 255, .10);
    --ink: #f1f4f2; --muted: #96a39c;
    --night: #070b09; --night-2: #12281d;
    --btn-dark-bg: #f1f4f2; --btn-dark-fg: #0a0e0c;
    --tint-1: #13291d; --tint-2: #11282f; --tint-3: #33260f;
    --ok: #36c97c; --ok-bg: #11281b; --bad: #ff6b5e; --bad-bg: #2d1512;
    --shadow-1: 0 1px 0 rgba(255, 255, 255, .04), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-2: 0 1px 0 rgba(255, 255, 255, .05), 0 24px 44px -20px rgba(0, 0, 0, .8);
  }
}
