/* heygregor — generated from tokens.json */
:root, [data-theme="dark"] {
  --brand-near-black: #0a0b0a; /* Markenfarbe Near Black. Primärer Hintergrund aller dunklen Flächen; Text auf Lime. */
  --brand-white: #ffffff; /* Markenfarbe White. Headlines und Signet auf Near Black. */
  --brand-lime: #b7ff00; /* Markenfarbe Electric Lime. Signal und Akzent: CTA-Flächen, Signet-Punkte, Highlights. Max. 10 % einer Fläche. Nie als Text auf hellem Grund (1,1:1). */
  --brand-deep-green: #082d1f; /* Markenfarbe Deep Green. Ruhige Alternativfläche zu Near Black (Sektionen, Footer, Karten); Akzenttext im Light-Theme. */
  --brand-off-white: #f5f5f0; /* Markenfarbe Off-White. Heller Hintergrund im Light-Theme, Print-Papierton. */
  --brand-charcoal: #1a1a1a; /* Charcoal. Erhöhte Flächen, Karten und Eingabefelder auf Near Black. */
  --brand-mist: #e6e6e6; /* Mist. Linien und Flächen im Light-Theme. (Im Board fälschlich #E6E666 – korrigiert.) */
  --bg: var(--brand-near-black); /* Seitenhintergrund. */
  --surface: #101310; /* Karten, Module, Panels auf `bg`. */
  --surface-raised: var(--brand-charcoal); /* Eingabefelder, Hover-Flächen, verschachtelte Module. */
  --surface-forest: var(--brand-deep-green); /* Akzentsektion in Deep Green (z. B. Kontakt-Band, Footer). Text darauf: `text-on-forest`. */
  --text: var(--brand-white); /* Headlines und Fließtext auf `bg`, `surface`, `surface-raised`. Dark 19,7:1 · Light 18,0:1. */
  --text-muted: #a3a8a3; /* Sekundärtext, Labels, Meta-Infos auf `bg`, `surface`, `surface-raised`. Dark 8,2:1 · Light 6,4:1. */
  --text-subtle: #8a908a; /* Platzhalter, Hinweise, deaktivierte Labels auf `bg`, `surface`, `surface-raised`. Dark ≥ 5,3:1 · Light ≥ 5,1:1. */
  --text-on-forest: var(--brand-white); /* Text auf `surface-forest`. 14,9:1. */
  --text-accent: var(--brand-lime); /* Hervorgehobene Wörter, Links, Kicker-Labels auf `bg` und `surface`. Dark: Lime auf Near Black 16,3:1. Light: Deep Green auf Off-White 13,7:1 – Lime wird auf hellem Grund nie Text (1,1:1). */
  --accent: var(--brand-lime); /* Primäre CTA-Fläche, Fortschrittsbalken, Signet-Punkte. Text darauf immer `on-accent`. */
  --accent-hover: #c9ff40; /* Hover-Zustand von `accent`-Flächen. */
  --on-accent: var(--brand-near-black); /* Text und Icons auf `accent`. 16,3:1. Nie Weiß auf Lime. */
  --border: #2a2e2a; /* Haarlinien, Trenner, Kartenkanten (dekorativ). */
  --border-strong: #6b706b; /* Kanten von Eingabefeldern und Secondary-Buttons auf `bg` und `surface` – mind. 3:1 (Dark 3,9:1 · Light 3,7:1). */
  --focus: var(--brand-lime); /* Fokusring, 2 px solid mit 2 px Abstand. Dark: Lime (16,3:1 auf Near Black); Light: Near Black, da Lime auf Hell unsichtbar ist (1,1:1). */
  --success: #7ee2a8; /* Erfolgsmeldungen – immer mit Icon und Wort ('Gesendet'). Bewusst kein Lime, damit Akzent und Status nicht verwechselt werden. */
  --warning: #ffc94d; /* Warnhinweise – immer mit Icon und Wort. */
  --error: #ff7a66; /* Fehlermeldungen und Feldfehler – immer mit Icon und Text, nie nur Farbe. */
  --shadow-float: 0 12px 32px rgba(0,0,0,0.5); /* Nur Dropdowns, Modals, Sticky-Header beim Scrollen. */
}
[data-theme="light"] {
  --bg: var(--brand-off-white);
  --surface: #ffffff;
  --surface-raised: #ecece6;
  --surface-forest: var(--brand-deep-green);
  --text: var(--brand-near-black);
  --text-muted: #555a55;
  --text-subtle: #5f645f;
  --text-on-forest: var(--brand-white);
  --text-accent: var(--brand-deep-green);
  --accent: var(--brand-lime);
  --accent-hover: #a6eb00;
  --on-accent: var(--brand-near-black);
  --border: #d9d9d2;
  --border-strong: #7a7f7a;
  --focus: #0a0b0a;
  --success: #1f6b3a;
  --warning: #8a5a00;
  --error: #b42318;
  --shadow-float: 0 12px 32px rgba(10,11,10,0.12);
}
:root {
  --space-1: 8px; /* Basiseinheit. Abstand Icon–Text, Tag-Innenabstand. */
  --space-2: 16px; /* Abstand zwischen Formularfeldern, Mobil-Seitenrand. */
  --space-3: 24px; /* Grid-Gutter, Karten-Padding. */
  --space-4: 40px; /* Abstand Headline–Inhalt, Desktop-Seitenrand. */
  --space-5: 64px; /* Sektionsabstand Mobil. */
  --space-6: 120px; /* Sektionsabstand Desktop. */
  --radius-xs: 4px; /* Tags, Checkboxen. */
  --radius-sm: 8px; /* Standard: Buttons, Inputs, Karten. */
  --radius-lg: 16px; /* Große Bildflächen, App-Icon-Ecken (bei 96 px). */
  --radius-full: 999px; /* Status-Punkte, runde Signet-Elemente. */
  --content-max: 1440px; /* Max. Inhaltsbreite. */
  --text-max: 680px; /* Max. Breite von Fließtextblöcken (ca. 70 Zeichen). */
  --touch-min: 44px; /* Mindesthöhe klickbarer Elemente. */
  --duration-fast: 180ms; /* Microinteractions: Hover, Fokus (150–250 ms). */
  --duration-base: 320ms; /* Ein-/Ausblenden, Menüs (250–450 ms). */
  --font-display: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --font-sans: Roboto, Arial, system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, Menlo, monospace;
  --text-h1: 700 96px/0.92 var(--font-display); /* Hero-Headline, Versalien. Desktop 72–112 px, Mobil 44–64 px. */
  --text-h2: 700 56px/0.95 var(--font-display); /* Sektions-Headline, Versalien. 40–64 px. */
  --text-h3: 600 30px/1.05 var(--font-display); /* Karten- und Modultitel. 26–36 px, Satzschreibung erlaubt. */
  --text-kicker: 600 14px/1.2 var(--font-display); /* Kapitelmarke über Headlines, Versalien, in `text-accent`. */
  --text-wordmark: 700 32px/1 var(--font-display); /* Nur für die Wortmarke im Logo-Lockup: Kleinbuchstaben, „hey“ in 400, „gregor“ in 700. */
  --text-lead: 400 20px/1.5 var(--font-sans); /* Einleitungstext unter Headlines. */
  --text-body: 400 17px/1.6 var(--font-sans); /* Fließtext. 16–18 px, max. 70 Zeichen pro Zeile. */
  --text-body-sm: 400 15px/1.55 var(--font-sans); /* Hilfstexte, Karten-Beschreibungen, Footer. */
  --text-label: 500 13px/1.3 var(--font-sans); /* Formularlabels, Tags, Tabellenköpfe – Versalien. */
  --text-button: 700 15px/1 var(--font-display); /* Button-Beschriftung, Versalien, Roboto Condensed. */
  --text-code: 400 14px/1.5 var(--font-mono); /* Token-Namen, Code-Beispiele in Case Studies. */
}
.h1 {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.h2 {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
}
.h3 {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0;
}
.kicker {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lead {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.body-sm {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0;
}
.label {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.button {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.code {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
}

/* Große Bildschirme (ab 2000 px Fensterbreite): breiterer Inhaltsbereich, Laptops bleiben bei 1440 px. */
@media (min-width: 2000px) {
  :root { --content-max: 1680px; }
}
