/* ehli — generated from tokens.json */
:root, [data-theme="hell"] {
  --surface: #f0eee9; /* Seitenhintergrund. Hell = Creme aus dem Logo-Hintergrund; dunkel = Logo-Tinte. */
  --surface-raised: #faf9f6; /* Karten, Chatfenster, Eingabefelder auf `surface`. */
  --surface-sunken: #e6e3dc; /* Zurückgesetzte Bereiche: Code-Blöcke, Tabellenkopf, Footer. */
  --line: #d6d2c9; /* Haarlinien (1px) zwischen Abschnitten und um Karten. Rein dekorativ, trägt keine Bedeutung. */
  --line-strong: #8c887f; /* Rahmen von Eingabefeldern und Sekundär-Buttons; 3:1 auf `surface` und `surface-raised` in beiden Themes. */
  --ink: #161616; /* Fließtext und Überschriften auf `surface`, `surface-raised`, `surface-sunken` (≥14:1). Zugleich Fläche des Primär-Buttons und der ehli-Sprechblase. */
  --ink-2: #4a4844; /* Sekundärtext (Teaser, Beschreibungen) auf allen drei Surfaces (≥7:1). */
  --ink-3: #66635d; /* Metatext: Labels, Fußnoten, Zeitstempel. Auf `surface`/`surface-raised` ≥5:1, auf `surface-sunken` 4.7:1. */
  --on-ink: #f0eee9; /* Text und Symbole auf einer `ink`-Fläche (Primär-Button, ehli-Sprechblase). */
  --moss: #2f6b4f; /* Einzige Akzentfarbe: Links, Häkchen in Fakten-Listen, Badge-Ton „moss“. Text auf allen Surfaces ≥4.9:1. */
  --moss-soft: #dce8df; /* Hintergrund des Badge-Tons „moss“ (Text darauf: `moss`). */
  --on-moss: #f0eee9; /* Text auf einer `moss`-Fläche. */
  --focus-ring: #2f6b4f; /* Tastatur-Fokus: 2px solid, 2px Abstand. ≥5:1 auf allen Surfaces. */
  --danger: #b3261e; /* Nur Formularfehler, immer mit Text. Auf allen Surfaces ≥5:1. */
  --panel-sky: #a9c9e8; /* Große Feature-Fläche (Panel). Text darauf: `on-panel`. */
  --panel-apricot: #f4b78f; /* Große Feature-Fläche (Panel). Text darauf: `on-panel`. */
  --panel-lilac: #cbbef0; /* Große Feature-Fläche (Panel). Text darauf: `on-panel`. */
  --panel-butter: #f2d98a; /* Große Feature-Fläche (Panel). Hebt sich im hellen Theme kaum von `surface` ab (1.2:1) – nie direkt neben `surface` ohne Bild/Inhalt einsetzen. */
  --panel-mint: #a8d5ba; /* Große Feature-Fläche (Panel). Text darauf: `on-panel`. */
  --on-panel: #161616; /* Text auf allen `panel-*`-Flächen, in beiden Themes (≥10:1). Nie `ink` verwenden – das wird im Dunkel-Theme hell. */
  --shadow-float: 0 1px 2px rgba(22,22,22,0.06), 0 12px 32px rgba(22,22,22,0.10); /* Nur für schwebende Produkt-Mockups (Chatfenster über einem Panel). Karten bekommen `line`, keinen Schatten. */
}
[data-theme="dunkel"] {
  --surface: #161616;
  --surface-raised: #211f1d;
  --surface-sunken: #0e0e0d;
  --line: #34322f;
  --line-strong: #77736b;
  --ink: #f0eee9;
  --ink-2: #bebab2;
  --ink-3: #9c988f;
  --on-ink: #161616;
  --moss: #86c9a6;
  --moss-soft: #1e3328;
  --on-moss: #161616;
  --focus-ring: #2f6b4f;
  --danger: #f28b82;
  --panel-sky: #a9c9e8;
  --panel-apricot: #f4b78f;
  --panel-lilac: #cbbef0;
  --panel-butter: #f2d98a;
  --panel-mint: #a8d5ba;
  --on-panel: #161616;
  --shadow-float: 0 0 0 1px #34322f, 0 12px 32px rgba(0,0,0,0.5);
}
:root {
  --space-1: 4px; /* Abstand Icon zu Text in Badges. */
  --space-2: 8px; /* Lücke zwischen Buttons, Badge-Innenabstand horizontal. */
  --space-3: 12px; /* Abstand zwischen Chat-Nachrichten. */
  --space-4: 16px; /* Innenabstand von Sprechblasen und kleinen Karten. */
  --space-6: 24px; /* Seitenrand mobil; Innenabstand von Karten. */
  --space-8: 32px; /* Innenabstand von Panels; Lücke zwischen Panels. */
  --space-12: 48px; /* Abstand Headline zu Inhalt im Abschnitt. */
  --space-16: 64px; /* Seitenrand Desktop. */
  --space-24: 96px; /* Abstand zwischen Abschnitten mobil. */
  --space-32: 128px; /* Abstand zwischen Abschnitten Desktop. */
  --radius-sm: 8px; /* Eingabefelder, Code-Blöcke. */
  --radius-md: 16px; /* Karten, Chatfenster. */
  --radius-lg: 28px; /* Große Panels und Hero-Flächen. */
  --radius-bubble: 22px; /* Sprechblasen; die Ecke unten links bleibt bei ehli-Nachrichten 4px (der Schwanz aus dem Logo). */
  --radius-pill: 999px; /* Buttons und Badges – immer Pille. */
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --text-display: 500 76px/0.95 var(--font-sans); /* Hero-Headline, einmal pro Seite. */
  --text-h1: 500 56px/1 var(--font-sans); /* Seitentitel ohne Hero. */
  --text-h2: 500 44px/1.04 var(--font-sans); /* Abschnittsüberschrift. */
  --text-h3: 600 24px/1.2 var(--font-sans); /* Titel in Panels und Karten. */
  --text-lead: 450 19px/1.65 var(--font-sans); /* Unterzeile unter Display/h1/h2, in `ink-2`. */
  --text-body: 400 16px/1.6 var(--font-sans); /* Fließtext. */
  --text-small: 400 14px/1.5 var(--font-sans); /* Hinweise unter Buttons, Fußnoten, in `ink-3`. */
  --text-button: 500 16px/24px var(--font-sans); /* Button- und Navigationstext. */
  --text-label: 500 12px/16px var(--font-mono); /* Badges, Fakten-Labels, technische Angaben. Kurz, gern in Großbuchstaben. */
  --text-code: 400 14px/1.55 var(--font-mono); /* Code und API-Beispiele. */
}
.display {
  font-family: var(--font-sans);
  font-size: 76px;
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.h1 {
  font-family: var(--font-sans);
  font-size: 56px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.h2 {
  font-family: var(--font-sans);
  font-size: 44px;
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.045em;
}
.h3 {
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.lead {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.65;
  font-weight: 450;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.small {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
}
.button {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
}
.label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.code {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-Variable-Italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
