/*
 * GENERATED — NICHT VON HAND ÄNDERN.
 * Synchronisiert aus Brand/design-tokens.css (Single Source of Truth).
 * Neu erzeugen: node Brand/sync-design-tokens.mjs
 */

/*
 * FokusOne Design Tokens — SINGLE SOURCE OF TRUTH
 * ===============================================================
 * Dies ist die EINZIGE technische Quelle für Farben, Typografie, Radien,
 * Schatten, Abstände und Animationen von FokusOne.
 *
 * Keine Anwendung pflegt eigene Token-Werte. Jede Anwendung konsumiert diese
 * Datei; ihre lokale styles/tokens.css wird ausschliesslich per Sync erzeugt:
 *
 *     Brand/design-tokens.css
 *              │  node Brand/sync-design-tokens.mjs
 *              ▼
 *     app/styles/tokens.css   (GENERATED — nicht von Hand ändern)
 *
 * Designmodus: DARK. Navy-Tiefen als Fläche, Orange für Handlungsführung,
 * Cyan als sparsamer technologischer/informativer Akzent. Regeln: farben.md,
 * typografie.md, komponenten.md. Haltung: brand-principles.md.
 */

:root {
  /* ===================== Farbe: Dark Mode (verbindlich) ===================== */
  --bg: #060d1f;             /* Seitenhintergrund (tiefes Navy-Schwarz) */
  --surface: #0b1630;        /* Karten */
  --surface-2: #0e1c3a;      /* Eingabeflächen / erhabene Flächen */
  --surface-deep: #04091a;   /* tiefste Sektion */

  --orange: #f97316;         /* Primäre Aktion / Handlungsführung */
  --orange-strong: #e26a10;
  --cyan: #00e5ff;           /* Technologie-/Informationsakzent (sparsam) */
  --yellow: #f5e642;         /* Hinweis */
  --green: #00e676;          /* Erfolg */

  --text: #ffffff;           /* Primärtext */
  --text-2: #a8bcdb;         /* Sekundärtext / Fliesstext (ca. 27% heller, kein Weiss) */
  --on-primary: #08121f;     /* Text/Icon auf Orange (dunkel, hoher Kontrast) */

  --border-col: rgba(0, 229, 255, 0.25);   /* Rahmen (cyan-getönt) */
  --cyan-tint: rgba(0, 229, 255, 0.12);
  --orange-tint: rgba(249, 115, 22, 0.14);

  /* --- Semantische Farb-Tokens (Rollennamen; Anwendungen nutzen diese) --- */
  --color-background: var(--bg);
  --color-surface: var(--surface);
  --color-surface-alt: var(--surface-2);
  --color-surface-dark: var(--surface-deep);
  --color-surface-badge: var(--cyan-tint);
  --color-surface-primary-tint: var(--surface-2);
  --color-surface-accent-tint: var(--orange-tint);

  --color-primary: var(--orange);           /* primäre Aktion */
  --color-primary-strong: var(--orange-strong);
  --color-primary-light: var(--orange-strong);
  --color-on-primary: var(--on-primary);    /* Textfarbe auf Primär-Buttons */
  --color-accent: var(--cyan);              /* tech/info */
  --color-accent-tint: var(--cyan-tint);
  --color-focus: var(--cyan);

  --color-success: var(--green);
  --color-info: var(--cyan);
  --color-warning: var(--yellow);

  --color-text-primary: var(--text);
  --color-text-secondary: var(--text-2);
  --color-text-muted: var(--text-2);
  --color-text-inverse: var(--text);        /* weisser Text auf dunklen Flächen */
  --color-text-inverse-muted: var(--text-2);
  --color-text-on-tint: var(--text);

  --color-border: var(--border-col);

  /* ===================== Typografie ===================== */
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --font-size-h1: 46px;
  --font-size-h2: 32px;
  --font-size-h3: 17.5px;
  --font-size-body: 14px;
  --font-size-small: 13px;
  --font-size-lead: 16.5px;

  --font-weight-regular: 400;
  --font-weight-medium: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --line-height-body: 1.6;
  --line-height-heading: 1.16;
  --line-height-lead: 1.65;

  /* ===================== Abstände (Rhythmus) ===================== */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-10: 64px;
  --space-12: 88px;

  /* ===================== Radien ===================== */
  --radius: 20px;
  --radius-card: 20px;
  --radius-container: 32px;
  --radius-pill: 999px;

  /* ===================== Schatten (dunkel, für dunkle Flächen) ===================== */
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.30), 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-card-hover: 0 2px 6px rgba(0, 0, 0, 0.35), 0 20px 48px rgba(0, 0, 0, 0.55);
  --shadow-button: 0 8px 22px rgba(249, 115, 22, 0.28);
  --shadow-button-hover: 0 12px 28px rgba(249, 115, 22, 0.36);

  /* ===================== Animation (dezent) ===================== */
  --transition: 160ms ease;
  --transition-slow: 240ms ease;
}
