/**
 * TIER 1 — PRIMITIVE TOKENS
 *
 * Unveränderliche Basiswerte. Diese Datei wird beim Rebranding NICHT angefasst
 * (Ausnahme: Brand-Farbskalen, die aus dem Brand-Theme gespeist werden).
 *
 * Format: --[kategorie]-[name]-[gewichtung]
 *
 * Werte stammen aus Figma "Eventseite" (Variablen-Collection).
 * Primitives NIEMALS in Media-Queries überschreiben — dafür sind
 * Semantic Tokens da (siehe semantic.css).
 */

:root {
  /* ============================================================
     FARBEN — Neutrals
     ============================================================ */
  --color-white: #ffffff;
  --color-black: #121212;

  /* ============================================================
     FARBEN — Gray Scale (kühl/blaustichig, aus Figma)
     ============================================================ */
  --color-gray-100: #eaeef0;
  --color-gray-200: #d5dde1;
  --color-gray-300: #b5c1c9;
  --color-gray-400: #98a8b4;
  --color-gray-500: #7a909e;
  --color-gray-600: #61737f;
  --color-gray-700: #48565f;
  --color-gray-800: #2f3840;
  --color-gray-900: #1a1f24;

  /* ============================================================
     SPACING — 4px-Basis
     ============================================================ */
  --spacing-0: 0;
  --spacing-1: 0.25rem; /*  4px */
  --spacing-2: 0.5rem; /*  8px */
  --spacing-3: 0.75rem; /* 12px */
  --spacing-4: 1rem; /* 16px */
  --spacing-5: 1.25rem; /* 20px */
  --spacing-6: 1.5rem; /* 24px */
  --spacing-8: 2rem; /* 32px */
  --spacing-9: 2.25rem; /* 36px */
  --spacing-10: 2.5rem; /* 40px */
  --spacing-12: 3rem; /* 48px */
  --spacing-16: 4rem; /* 64px */
  --spacing-20: 5rem; /* 80px */
  --spacing-24: 6rem; /* 96px */
  --spacing-32: 8rem; /* 128px */
  --spacing-40: 10rem; /* 160px */

  /* ============================================================
     TYPOGRAFIE — Font Sizes
     ============================================================ */
  --font-size-2xs: 0.75rem; /* 12px — text/tiny */
  --font-size-xs: 0.875rem; /* 14px — text/small */
  --font-size-sm: 1rem; /* 16px — text/copy */
  --font-size-md: 1.125rem; /* 18px */
  --font-size-lg: 1.25rem; /* 20px — titles/h5 */
  --font-size-xl: 1.5rem; /* 24px — titles/h4 */
  --font-size-2xl: 1.875rem; /* 30px — titles/h3 + text/lead */
  --font-size-3xl: 2.25rem; /* 36px — titles/h2 */
  --font-size-4xl: 3rem; /* 48px */
  --font-size-5xl: 3.75rem; /* 60px */
  --font-size-6xl: 4.5rem; /* 72px */
  --font-size-7xl: 6rem; /* 96px — titles/display */
  --font-size-8xl: 7.5rem; /* 120px */

  /* ============================================================
     TYPOGRAFIE — Weights
     ============================================================ */
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* ============================================================
     TYPOGRAFIE — Line-Height-Multiplikatoren
     Werden per calc() auf semantische Font-Sizes angewendet,
     damit Line-Heights Breakpoint-Wechseln automatisch folgen.
     ============================================================ */
  --line-height-display: 1.1;
  --line-height-tight: 1.2;
  --line-height-snug: 1.3;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;

  /* ============================================================
     TYPOGRAFIE — Letterspacing
     ============================================================ */
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.04em;
  --letter-spacing-wider: 0.12em;

  /* ============================================================
     BORDER
     ============================================================ */
  --border-width-thin: 1px;
  --border-width-medium: 2px;
  --border-width-thick: 4px;

  --radius-none: 0;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* ============================================================
     LAYOUT
     ============================================================ */
  --container-max: 90rem; /* 1440px — Figma-Contentbreite */
  --container-narrow: 56rem; /* 896px  — Lesetexte */

  /* ============================================================
     ELEVATION
     ============================================================ */
  --shadow-sm: 0 1px 2px rgb(18 18 18 / 0.06);
  --shadow-md: 0 4px 16px rgb(18 18 18 / 0.08);
  --shadow-lg: 0 12px 32px rgb(18 18 18 / 0.12);
  --shadow-xl: 0 24px 64px rgb(18 18 18 / 0.16);

  /* ============================================================
     MOTION — zentrale Steuerung aller Animationen
     ============================================================ */
  --duration-instant: 0.12s;
  --duration-fast: 0.24s;
  --duration-base: 0.4s;
  --duration-slow: 0.7s;
  --duration-slower: 1.1s;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ============================================================
     Z-INDEX
     ============================================================ */
  --z-base: 1;
  --z-sticky: 100;
  --z-header: 200;
  --z-overlay: 300;
  --z-modal: 400;
}
