/* ==========================================================================
   Design-Tokens — LutzCorp.net
   Quelle: _SYSTEM/_assets-global/lutzcorp (colors.md, brand-identity.md)
   und lc control (styles.ts). Doku: design/ci/
   ========================================================================== */

@font-face {
  font-family: "VT323";
  src: url("../fonts/VT323-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Code";
  src: url("../fonts/FiraCode-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Code";
  src: url("../fonts/FiraCode-Medium.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Hintergründe */
  --lc-bg-black: #050505;
  --lc-bg-deep: #0a0a14;
  --lc-bg-midnight: #1a1a2e;
  --lc-bg-midnight-light: #252542;
  --lc-bg-panel: rgba(26, 26, 46, 0.55);

  /* Primär: Periwinkle (#98A9F7) + Cyan (#78E7F5) */
  --lc-primary: #98a9f7;
  --lc-primary-light: #78e7f5;
  --lc-primary-dark: #6b7cc4;

  /* Status */
  --lc-success: #58fa46;
  --lc-warning: #ffb000;
  --lc-error: #ff4444;

  /* Text */
  --lc-text: #e8e8e8;
  --lc-text-muted: #9ca3af;
  --lc-text-dim: #6b7280;

  /* Linien */
  --lc-border: rgba(152, 169, 247, 0.22);
  --lc-border-strong: rgba(152, 169, 247, 0.5);
  --lc-tint: rgba(152, 169, 247, 0.06);
  --lc-tint-strong: rgba(152, 169, 247, 0.14);

  /* Glow */
  --lc-glow-cyan:
    0 0 10px rgba(152, 169, 247, 0.45), 0 0 24px rgba(120, 231, 245, 0.2);
  --lc-glow-green:
    0 0 6px rgba(88, 250, 70, 0.7), 0 0 14px rgba(88, 250, 70, 0.35);
  --lc-glow-text: 0 0 18px rgba(152, 169, 247, 0.35);

  /* Logo-Farben (ehemals im SVG-<style>) */
  --lc-logo-1: #98a9f7;
  --lc-logo-2: #78e7f5;
  --lc-logo-3: #7bfadc;
  --lc-logo-4: #58fa46;
  --lc-logo-5: #8fd2fe;
  --lc-logo-text: #98a9f7;

  /* Typografie — VT323 hat keine Block-/Pfeilzeichen → Fallback Fira Code */
  --font-display: "VT323", "Fira Code", ui-monospace, monospace;
  --font-mono:
    "Fira Code", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-size-xs: 0.75rem;
  --font-size-s: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --font-size-label: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  --font-size-h3: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --font-size-h2: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  --font-size-h1: clamp(3rem, 1.8rem + 5.5vw, 7rem);
  --line-height-body: 1.7;
  --line-height-heading: 1;
  --tracking-label: 0.14em;

  /* Abstände */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-s: 0.75rem;
  --space-m: 1rem;
  --space-l: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-section: clamp(5rem, 3rem + 8vw, 10rem);

  /* Layout */
  --container-width: 76rem;
  --container-narrow: 46rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --header-height: 4.25rem;
  --radius-sm: 2px;
  --radius-md: 4px;

  /* Bewegung */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 800ms;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms;
    --duration-base: 0ms;
    --duration-slow: 0ms;
  }
}
