/* Erzeugt von tools/tokens-bauen.py aus design/tokens.css. Nicht von Hand ändern. */
/* Schriften lokal einbinden (DSGVO: nicht von Google-Servern laden).
   Die .woff2-Dateien z. B. nach /wp-content/themes/DEIN-THEME/fonts/ kopieren und den Pfad anpassen. */
@font-face{font-family:"Sora";src:url("../fonts/Sora-Variable.woff2") format("woff2");font-weight:100 800;font-style:normal;font-display:swap}
@font-face{font-family:"Onest";src:url("../fonts/Onest-Variable.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

/* wasfliegtda.de – Design-Tokens. Single Source of Truth für alle Farben, Schriften und Abstände. */
/* Geändert am 19.11.2026 auf Wunsch des Betreibers: Hintergrund, Flächen, Rahmen und Nebentexte des
   dunklen Themas sind neutral (Grau-Skala) statt Lila. Markenfarben und helles Thema unverändert. */
/* Dunkel ist immer Standard. Helles Thema nur gezielt per data-theme="hell" (z. B. Druckansicht, Poster-Editor, einzelne Bereiche). */
:root {
  /* Markenfarben – nie verändern */
  --brand-nachthimmel: #07003D;
  --brand-tiefviolett: #411790;
  --brand-orbitlila: #A443F6;
  --brand-satellitengelb: #F7CE46;
  --brand-sternweiss: #F6F3FF;

  /* Skalen */
  --lila-50: #F6ECFE;
  --lila-100: #EDD9FD;
  --lila-200: #DBB4FB;
  --lila-300: #C88EFA;
  --lila-400: #B669F8;
  --lila-500: #A443F6;
  --lila-600: #8536D1;
  --lila-700: #6528AC;
  --lila-800: #461B87;
  --lila-900: #260D62;
  --gelb-100: #FDF3D1;
  --gelb-300: #FADF87;
  --gelb-500: #F7CE46;
  --gelb-600: #CBA939;
  --gelb-700: #776322;
  --neutral-0: #F6F3FF;
  --neutral-100: #E3E0EF;
  --neutral-200: #CBC7DC;
  --neutral-300: #AAA5C1;
  --neutral-400: #8A86A8;
  --neutral-500: #6B668E;
  --neutral-600: #4F4977;
  --neutral-700: #373164;
  --neutral-800: #241D54;
  --neutral-900: #150F49;
  --neutral-950: #07003D;
  /* Grau (Änderung vom 19.11.2026: weniger Lila, Lila bleibt Akzent) */
  --grau-200: #B1B1BB;
  --grau-300: #8F8F9A;
  --grau-400: #5B5B6B;
  --grau-500: #4A4A55;
  --grau-600: #3A3A45;
  --grau-700: #2A2A31;
  --grau-800: #1A1A1F;
  --grau-850: #101013;
  --grau-900: #0A0A0D;
  --grau-950: #000000;

  /* Thema dunkel (Standard) */
  --color-bg: #000000;
  --color-surface: #101013;
  --color-surface-raised: #1A1A1F;
  --color-surface-accent: #411790;
  --color-border: #2A2A31;
  --color-border-strong: #4A4A55;
  --color-text: #F6F3FF;
  --color-text-secondary: #B1B1BB;
  --color-text-muted: #8F8F9A;
  --color-link: #C88EFA;
  --color-link-hover: #DBB4FB;
  --color-orbit: #A443F6;
  --color-satellit: #F7CE46;
  --color-button-bg: #F7CE46;
  --color-button-text: #07003D;
  --color-button-hover: #FADF87;
  --color-button2-bg: #411790;
  --color-button2-text: #F6F3FF;
  --color-focus: #F7CE46;
  --color-erfolg: #3FD68F;
  --color-warnung: #F7CE46;
  --color-fehler: #FF6B86;

  /* Schriften */
  --font-heading: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-display-size: clamp(2.5rem, 1.913rem + 2.609vw, 4rem);
  --text-display-weight: 700;
  --text-display-leading: 1.05;
  --text-display-tracking: -0.03em;
  --text-h1-size: clamp(2rem, 1.609rem + 1.739vw, 3rem);
  --text-h1-weight: 600;
  --text-h1-leading: 1.1;
  --text-h1-tracking: -0.025em;
  --text-h2-size: clamp(1.625rem, 1.429rem + 0.8696vw, 2.125rem);
  --text-h2-weight: 600;
  --text-h2-leading: 1.15;
  --text-h2-tracking: -0.02em;
  --text-h3-size: clamp(1.312rem, 1.215rem + 0.4348vw, 1.562rem);
  --text-h3-weight: 600;
  --text-h3-leading: 1.25;
  --text-h3-tracking: -0.01em;
  --text-h4-size: clamp(1.125rem, 1.101rem + 0.1087vw, 1.188rem);
  --text-h4-weight: 600;
  --text-h4-leading: 1.3;
  --text-h4-tracking: 0;
  --text-zahl-gross-size: clamp(2.5rem, 2.109rem + 1.739vw, 3.5rem);
  --text-zahl-gross-weight: 600;
  --text-zahl-gross-leading: 1.0;
  --text-zahl-gross-tracking: -0.02em;
  --text-lead-size: clamp(1.125rem, 1.052rem + 0.3261vw, 1.312rem);
  --text-lead-weight: 400;
  --text-lead-leading: 1.55;
  --text-lead-tracking: 0;
  --text-body-size: clamp(1rem, 0.9755rem + 0.1087vw, 1.062rem);
  --text-body-weight: 400;
  --text-body-leading: 1.6;
  --text-body-tracking: 0;
  --text-body-strong-size: clamp(1rem, 0.9755rem + 0.1087vw, 1.062rem);
  --text-body-strong-weight: 600;
  --text-body-strong-leading: 1.6;
  --text-body-strong-tracking: 0;
  --text-small-size: 0.875rem;
  --text-small-weight: 400;
  --text-small-leading: 1.5;
  --text-small-tracking: 0.005em;
  --text-label-size: 0.8125rem;
  --text-label-weight: 500;
  --text-label-leading: 1.3;
  --text-label-tracking: 0.01em;
  --text-button-size: clamp(0.9375rem, 0.913rem + 0.1087vw, 1rem);
  --text-button-weight: 600;
  --text-button-leading: 1.0;
  --text-button-tracking: 0.005em;

  /* Abstände (8er-Raster) */
  --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;

  /* Radien */
  --radius-klein: 6px;
  --radius-mittel: 12px;
  --radius-gross: 20px;
  --radius-rund: 999px;
  --content-width: 72rem;
  --text-width: 42rem;
}

[data-theme="hell"] {
  --color-bg: #FFFFFF;
  --color-surface: #F6F3FF;
  --color-surface-raised: #FFFFFF;
  --color-surface-accent: #F6ECFE;
  --color-border: #E1E0E8;
  --color-border-strong: #C1BFCE;
  --color-text: #07003D;
  --color-text-secondary: #373164;
  --color-text-muted: #4F4977;
  --color-link: #411790;
  --color-link-hover: #6528AC;
  --color-orbit: #A443F6;
  --color-satellit: #8536D1;
  --color-button-bg: #07003D;
  --color-button-text: #F6F3FF;
  --color-button-hover: #411790;
  --color-button2-bg: #EDD9FD;
  --color-button2-text: #07003D;
  --color-focus: #411790;
  --color-erfolg: #0E7A4C;
  --color-warnung: #776322;
  --color-fehler: #C21F45;
  color-scheme: light;
}
