/* ============================================================
   DESIGN-TOKENS — einzige Quelle für Farben, Typografie, Abstände
   Stil: Swiss Modernism 2.0 · Navy/Slate + Trust-Blau als CTA
   Änderungen am Erscheinungsbild NUR hier vornehmen.
   ============================================================ */
:root {
  /* --- Farben (semantisch) --- */
  --color-bg: #F8FAFC;             /* Seitenhintergrund */
  --color-surface: #FFFFFF;        /* Karten, Formulare */
  --color-surface-alt: #EEF2F7;    /* abgesetzte Sektionen */
  --color-text: #0F172A;           /* Überschriften, starker Text */
  --color-text-body: #334155;      /* Fließtext */
  --color-text-muted: #64748B;     /* Nebeninfos, Datumszeilen */
  --color-primary: #0F172A;        /* Navy: Header, dunkle Sektionen */
  --color-on-primary: #F1F5F9;     /* Text auf Navy */
  --color-on-primary-muted: #94A3B8;
  --color-accent: #0369A1;         /* CTA-Blau — nur für Aktionen */
  --color-accent-hover: #075985;
  --color-accent-tint: #E0F2FE;    /* helle Akzentfläche */
  --color-border: #E2E8F0;
  --color-border-dark: rgba(148, 163, 184, 0.25);
  --color-error: #DC2626;
  --color-hero-glow: rgba(56, 189, 248, 0.16); /* dezenter Blauschein im Hero */
  --color-logo-dark: #232E52;      /* KI WERK Logo: Dunkelblau (KI, Rahmen, Claim) */
  --color-logo-blue: #5C86BE;      /* KI WERK Logo: Mittelblau (WERK) */

  /* --- Typografie --- */
  --font-heading: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --text-sm: clamp(0.85rem, 0.82rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.3rem, 1.2rem + 0.6vw, 1.625rem);
  --text-2xl: clamp(1.6rem, 1.4rem + 1vw, 2.125rem);
  --text-3xl: clamp(1.9rem, 1.6rem + 1.6vw, 2.75rem);
  --text-4xl: clamp(2.3rem, 1.9rem + 2.4vw, 3.5rem);
  --leading-tight: 1.15;
  --leading-normal: 1.6;

  /* --- Abstände (4px-Basis, großzügig) --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 7rem;

  /* --- Sonstiges --- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.09);
  --container-max: 72rem;
  --container-narrow: 46rem;
  --transition: 200ms ease;
}
/* Breakpoints (in main.css hartkodiert, CSS-Variablen funktionieren
   nicht in Media Queries): 640px · 900px · 1200px */
