/* ABACUS Design Tokens. Kopie aus abacus-landing (src/styles/tokens.css:12-67, Reset und
   Fokusring :338-342), ADR-015: kopieren, nicht importieren. Werte: 00_Kontext/Branding.md.
   HARTE REGEL: Kein Rot, Bordeaux oder Coral. Einziger warmer Akzent ist das CI-Gelb. */

:root {
  --c-blau: #004899;
  --c-blau-hell: #7f9fd3;
  --c-blau-zart: #d4e5f7;
  --c-gelb: #ffc100;
  --c-weiss: #ffffff;
  --c-text: #1b2a3d;
  --c-text-gedaempft: #5a6b7e;
  --c-linie: #e3ebf5;

  --font-body: "Open Sans", system-ui, -apple-system, sans-serif;
  --fs-body: 1rem;
  --fs-small: 0.9rem;

  --maxw: 1140px;
  --maxw-text: 62ch;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 16px;
  --radius-sm: 10px;

  --shadow-soft: 0 2px 8px rgba(0, 72, 153, 0.06), 0 12px 32px rgba(0, 72, 153, 0.08);
  --shadow-card: 0 1px 2px rgba(27, 42, 61, 0.04), 0 8px 24px rgba(0, 72, 153, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; height: auto; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-text);
  background: radial-gradient(ellipse 80% 60% at 50% -10%, var(--c-blau-zart), transparent 60%),
    var(--c-weiss);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 800; line-height: 1.15; color: var(--c-blau); letter-spacing: -0.015em; }
a { color: var(--c-blau); }

/* --- Accessibility --- */
/* Abweichung von der Landing (O1, 28.11.2026): Gelb auf Weiss hat 1,63:1, ein Fokusring braucht 3:1.
   Der Ring ist blau, Gelb bleibt als Innenring (Marker). Auf blauen Flaechen (.auf-blau) ist er gelb. */
:focus-visible {
  outline: 3px solid var(--c-blau);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--c-gelb);
}

/* Weniger, nicht null: Animationen enden sofort. Uebergaenge setzt app.css je Element; eine Dauer auf *
   machte jedes Element zu einem Uebergang auf `all` (O1, gemessen 28.11.). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
