/* ============================================================
   KÖRPERLOTSEN – Design Tokens
   Alle Designwerte zentral hier definieren.
   Niemals Farben, Abstände oder Typografie anderswo hardcoden.
   ============================================================ */

:root {
  /* --- Farben --- */
  --color-primary: #009688;
  --color-primary-container: #006b5f;
  --color-on-primary: #ffffff;
  --color-on-primary-container: #1fd3b4;

  --color-secondary: #5f5f5f;
  --color-on-secondary: #ffffff;
  --color-secondary-container: #e1dfdf;

  --color-surface: #f9f9f9;
  --color-surface-container: #eeeeee;
  --color-surface-container-low: #f3f3f3;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-high: #e8e8e8;
  --color-surface-dim: #dadada;

  --color-on-surface: #1a1c1c;
  --color-on-surface-variant: #2d4a48;

  --color-outline: #4a7a75;
  --color-outline-variant: #b2d8d4;

  --color-error: #ba1a1a;
  --color-error-container: #ffdad6;

  --color-teal: #009688;
  --color-teal-dark: #006b5f; /* accessible on light backgrounds, 5.8:1 vs #eeeeee */
  --color-teal-light: #1fd3b4;

  /* --- Typografie --- */
  --font-headline: "Epilogue", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem; /* 36px */
  --text-5xl: 3rem; /* 48px */
  --text-6xl: 3.75rem; /* 60px */
  --text-7xl: 4.5rem; /* 72px */
  --text-8xl: 6rem; /* 96px */

  --leading-tight: 1.05;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;
  --tracking-widest: 0.15em;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;

  /* --- Abstände (8px-Basis) --- */
  --space-1: 0.25rem; /* 4px */
  --space-2: 0.5rem; /* 8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem; /* 16px */
  --space-5: 1.25rem; /* 20px */
  --space-6: 1.5rem; /* 24px */
  --space-8: 2rem; /* 32px */
  --space-10: 2.5rem; /* 40px */
  --space-12: 3rem; /* 48px */
  --space-16: 4rem; /* 64px */
  --space-20: 5rem; /* 80px */
  --space-24: 6rem; /* 96px */
  --space-32: 8rem; /* 128px */

  /* --- Layout --- */
  --max-width: 87.5rem; /* 1400px */
  --container-px: var(--space-8);

  /* --- Breakpoints (als Custom Properties für JS, CSS nutzt media queries) --- */
  --bp-mobile: 768px;
  --bp-tablet: 1024px;

  /* --- Border Radius (0px = Editorial Precision Prinzip) --- */
  --radius-none: 0px;
  --radius-full: 9999px;

  /* --- Schatten --- */
  --shadow-signature: 6px 6px 0px 0px var(--color-primary-container);
  --shadow-signature-white: 6px 6px 0px 0px #ffffff;
  --shadow-signature-hover: 4px 4px 0px 0px var(--color-primary-container);
  --shadow-accent: 6px 6px 0px 0px var(--color-teal-light);
  --shadow-accent-hover: 4px 4px 0px 0px var(--color-teal-light);

  /* --- Hero Gradienten --- */
  --hero-gradient-start: rgba(0, 107, 95, 0.75);
  --hero-gradient-end: rgba(0, 0, 0, 0.5);
  --page-hero-gradient-start: rgba(0, 107, 95, 0.9);
  --page-hero-gradient-end: rgba(0, 150, 136, 0.7);

  /* --- Übergänge --- */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;

  /* --- Z-Index-Ebenen --- */
  --z-sticky: 100;
  --z-overlay: 200;
  --z-modal: 300;
}
