/* MZLA Design Tokens — Zusammenführung: Farbwelt www.mzla.de (Bestand) · Typografie/Raster karriere.mzla.de · Ergänzt aus MZLA Design System */
:root {
  /* ---- Farben: Marke (Bestand, unverändert) ---- */
  --mzla-blue-700: #0069b2;   /* Dunkelblau – 65 Vorkommen, 5,73:1 auf Weiß */
  --mzla-blue-500: #009ee3;   /* Hellblau – 60 Vorkommen, 3,00:1 auf Weiß (nur groß/dekorativ) */
  --mzla-cyan-400: #00c6e4;   /* Cyan – Icon-Buttons, nur als Fläche mit dunkler Schrift */
  --mzla-grey-200: #ebebeb;   /* Hellgrau – Flächen */

  /* ---- Farben: korrigiert / abgeleitet ---- */
  --mzla-blue-800: #005a99;   /* Hover/Active zu blue-700 (7,19:1) */
  --mzla-blue-900: #002a45;   /* Tinte auf Hellblau/Cyan (4,94:1 auf #009ee3, 7,19:1 auf Cyan) */
  --mzla-blue-600: #0074b3;   /* Textsicheres Hellblau (5,06:1 auf Weiß) – ersetzt #009ee3 als Textfarbe */
  --mzla-blue-50:  #e5f5fc;   /* Tint aus #009ee3 – Flächen für Hinweise */
  --mzla-red-600:  #c8102e;   /* ersetzt "red" #ff0000 (4,00:1 → 5,88:1) */
  --mzla-red-50:   #fbe9ec;
  --mzla-surface-glow: radial-gradient(circle at 100% 22%, rgba(0,158,227,0.16), rgba(0,158,227,0.05) 40%, #ffffff 70%); /* Verlaufsfläche der Karriereseite, nur Hellblau */

  /* ---- Neutral (Bestand: Bootstrap-Grau der alten Seite) ---- */
  --mzla-neutral-900: #212529;
  --mzla-neutral-700: #495057;
  --mzla-neutral-500: #6c757d;
  --mzla-neutral-300: #dee2e6;
  --mzla-neutral-100: #f8f9fa;
  --mzla-neutral-0:   #ffffff;

  /* ---- Semantik ---- */
  --color-primary:          var(--mzla-blue-700);
  --color-primary-hover:    var(--mzla-blue-800);
  --color-on-primary:       var(--mzla-neutral-0);
  --color-secondary:        var(--mzla-blue-500);   /* Flächen, Rahmen, große Headlines ≥24px */
  --color-secondary-text:   var(--mzla-blue-600);   /* Fließtext-Variante */
  --color-on-secondary:     var(--mzla-blue-900);
  --color-accent:           var(--mzla-cyan-400);
  --color-on-accent:        var(--mzla-blue-900);
  --color-error:            var(--mzla-red-600);
  --color-error-surface:    var(--mzla-red-50);

  --color-surface:          var(--mzla-neutral-0);
  --color-surface-alt:      var(--mzla-grey-200);
  --color-surface-tint:     var(--mzla-blue-50);
  --color-surface-raised:   var(--mzla-neutral-100);
  --color-border:           var(--mzla-neutral-300);
  --color-border-strong:    var(--mzla-blue-500);

  --color-text:             var(--mzla-neutral-900);
  --color-text-secondary:   var(--mzla-neutral-700);
  --color-text-muted:       var(--mzla-neutral-500);
  --color-text-brand:       var(--mzla-blue-700);
  --color-text-inverse:     var(--mzla-neutral-0);
  --color-link:             var(--mzla-blue-700);
  --color-link-hover:       var(--mzla-blue-800);
  --color-focus-ring:       var(--mzla-blue-500);

  /* ---- Typografie (Karriereseite: geometrische Grotesk, Century-Gothic-Charakter; Lexend = freie Näherung, Lizenzfont bitte eintragen) ---- */
  --font-sans: 'Lexend', 'Century Gothic', system-ui, sans-serif;
  --text-xs:   0.8125rem; /* 13 – Meta */
  --text-sm:   0.9375rem; /* 15 – Buttons, Nav */
  --text-base: 1rem;      /* 16 – Sekundärtext */
  --text-lg:   1.125rem;  /* 18 – Lesetext */
  --text-xl:   1.25rem;   /* 20 – Namen, Rollen */
  --text-2xl:  1.5rem;    /* 24 – Kartentitel */
  --text-3xl:  2rem;      /* 32 – Abschnittstitel klein */
  --text-4xl:  2.75rem;   /* 44 – Abschnittstitel */
  --text-5xl:  3.5rem;    /* 56 – Hero */
  --leading-tight: 1.15;
  --leading-snug:  1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.7;  /* Lesetext */
  --weight-regular: 400;
  --weight-medium:  500;   /* Headlines */
  --weight-semibold: 600;  /* Buttons */
  --weight-bold:    700;   /* Wortmarke */
  --tracking-tight: -0.01em;
  --tracking-wide:  0.08em;

  /* ---- Abstände (4px-Basis) ---- */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  /* ---- Raster ---- */
  --container-max: 1400px;
  --grid-columns: 12;
  --grid-gutter: 32px;
  --page-padding: clamp(16px, 5vw, 96px);
  --section-gap: clamp(64px, 8vw, 128px);

  /* ---- Radien ---- */
  --radius-sm: 4px;      /* Inputs (Bestand Bootstrap .25rem) */
  --radius-md: 8px;      /* Tags, Hinweisboxen */
  --radius-lg: 16px;     /* Karten, Kacheln, Bilder */
  --radius-pill: 9999px; /* Buttons, Navigation, Porträts (Karriereseite) */

  /* ---- Schatten ---- */
  --shadow-card: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-hero: 0 12px 32px rgba(0,58,92,0.08);
  --shadow-header: 0 4px 24px rgba(0,0,0,0.06);

  /* ---- Bewegung (nach Emil Kowalski, skills/animate; siehe .claude/skills/animate) ---- */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);    /* Erscheinen/Verschwinden – Standard */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);   /* Bewegung/Formwechsel auf dem Bildschirm */
  --duration-press: 160ms;  /* Rückmeldung beim Drücken */
  --duration-fast:  200ms;  /* Aufklappmenüs, Symbolwechsel */
  --duration-base:  250ms;  /* größere Flächen (Dialoge) – Obergrenze für UI: 300ms */
  --duration-reveal: 700ms; /* einmaliges Einblenden beim Scrollen (Inhalte, keine Bedienelemente) */
  --reveal-offset:   24px;  /* Versatz beim Einblenden, von unten */
}
