/* ==========================================================================
   vFOC Design-System – Tokens
   Gemeinsame Grundlage für vfoc.de, das FOC (UI-Update) und das cPanel.
   Standard ist Dunkel (Farben wie im cPanel: slate + sky). Hell über
   <html data-theme="light">. Komponenten nutzen ausschließlich diese Variablen.
   ========================================================================== */

:root {
	color-scheme: dark;

	/* Flächen */
	--bg: #020617;            /* slate-950 – Seitenhintergrund */
	--bg-alt: #0b1222;        /* abgesetzte Sektionen */
	--surface: #0f172a;       /* slate-900 – Karten, Panels */
	--surface-2: #131d33;     /* Karten auf Karten, Hover */
	--border: #1e293b;        /* slate-800 */
	--border-strong: #334155; /* slate-700 */

	/* Text */
	--text: #f1f5f9;          /* slate-100 */
	--text-muted: #94a3b8;    /* slate-400 */
	--text-dim: #64748b;      /* slate-500 */

	/* Akzent (sky) */
	--accent: #38bdf8;        /* sky-400 – Links, Eyebrows, Icons */
	--accent-strong: #0284c7; /* sky-600 – Button-Hintergrund */
	--accent-hover: #0369a1;  /* sky-700 */
	--accent-soft: rgb(56 189 248 / .12);
	--accent-border: rgb(56 189 248 / .45);
	--on-accent: #ffffff;

	/* Status */
	--ok: #34d399;            /* emerald-400 */
	--ok-soft: rgb(52 211 153 / .14);
	--warn: #fbbf24;          /* amber-400 */
	--warn-soft: rgb(251 191 36 / .14);
	--danger: #f87171;        /* red-400 */
	--danger-soft: rgb(248 113 113 / .14);

	/* Effekte */
	--shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
	--shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .35);
	--shadow-lg: 0 30px 80px rgb(0 0 0 / .55);
	--glow: radial-gradient(600px 300px at 70% 20%, rgb(14 165 233 / .18), transparent 70%);
	--header-bg: rgb(2 6 23 / .85);

	/* Form */
	--radius-sm: 6px;
	--radius: 10px;
	--radius-lg: 16px;
	--radius-pill: 999px;

	/* Typografie (Systemschriften – keine externen Dienste) */
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--fs-xs: .78rem;
	--fs-sm: .9rem;
	--fs-base: 1rem;
	--fs-lg: 1.15rem;
	--fs-h3: 1.15rem;
	--fs-h2: clamp(1.7rem, 3.5vw, 2.4rem);
	--fs-h1: clamp(2.2rem, 5vw, 3.5rem);

	/* Abstände */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 72px;
	--space-9: 96px;

	--max: 1180px;
	--header-h: 68px;
	--ease: cubic-bezier(.4, 0, .2, 1);
}

:root[data-theme="light"] {
	color-scheme: light;

	--bg: #ffffff;
	--bg-alt: #f0f7fc;
	--surface: #ffffff;
	--surface-2: #f8fafc;
	--border: #e2e8f0;
	--border-strong: #cbd5e1;

	--text: #0f172a;
	--text-muted: #475569;
	--text-dim: #64748b;

	--accent: #0369a1;
	--accent-strong: #0284c7;
	--accent-hover: #0369a1;
	--accent-soft: #e0f2fe;
	--accent-border: #7dd3fc;

	--ok: #15803d;
	--ok-soft: #dcfce7;
	--warn: #b45309;
	--warn-soft: #fef3c7;
	--danger: #b91c1c;
	--danger-soft: #fee2e2;

	--shadow-sm: 0 1px 2px rgb(15 23 42 / .06);
	--shadow: 0 1px 2px rgb(15 23 42 / .06), 0 8px 24px rgb(15 23 42 / .08);
	--shadow-lg: 0 24px 60px rgb(15 23 42 / .18);
	--glow: radial-gradient(600px 300px at 70% 20%, rgb(14 165 233 / .12), transparent 70%);
	--header-bg: rgb(255 255 255 / .88);
}
