/* UGW Automation: Design-Token
   Quelle: CSS von memberhacks.com (ausgelesen am 24.11.2026), Akzent #E0602F ersetzt durch #157FF1.
   Nur diese Werte verwenden. Keine eigenen Farben, Radien oder Schatten ergänzen. */

:root {
  /* Flächen und Text */
  --bg: #121212;                 /* Seitenhintergrund, jede Sektion, Eingabefelder */
  --surface: #211F1E;            /* Karten, Panels, Formular-Fenster */
  --surface-raised: #2A2826;     /* Fugen, Trennlinien, obere Kartenkante */
  --ink: #F2EEE8;                /* Headlines, Logo, Hervorhebungen (16.2:1 auf bg) */
  --text: #D6D0C8;               /* Fließtext (12.2:1 auf bg) */
  --text-muted: #A9A39C;         /* Nebentexte (7.5:1 auf bg) */
  --text-subtle: #6E6A66;        /* nur Nebensächliches: Footer-Titel, FAQ-Nummern, Placeholder (3.5:1) */

  /* Akzent */
  --accent: #157FF1;             /* einzige Akzentfarbe */
  --accent-hover: #3591F3;       /* Hover; kleiner Akzenttext auf surface */
  --accent-focus: #71B2F7;       /* Fokusrahmen 2px */
  --on-accent: #121212;          /* Text auf blauen Flächen, nie Weiß */
  --accent-glow: rgba(21, 127, 241, 0.10);
  --accent-tint: rgba(21, 127, 241, 0.13);
  --accent-wash: rgba(21, 127, 241, 0.16);
  --accent-line: rgba(21, 127, 241, 0.30);
  --accent-ghost: rgba(21, 127, 241, 0.45);   /* Kontur der Outline-Ziffern in Sektion 3 */
  --accent-underline: rgba(21, 127, 241, 0.40);
  --accent-border: rgba(21, 127, 241, 0.50);

  /* Linien und Zustände */
  --hairline: rgba(242, 238, 232, 0.07);
  --line-list: rgba(242, 238, 232, 0.05);
  --line-list-strong: rgba(242, 238, 232, 0.06);
  --track: rgba(242, 238, 232, 0.10);
  --border-icon: rgba(242, 238, 232, 0.12);
  --border-input: rgba(242, 238, 232, 0.14);
  --border-input-hover: rgba(242, 238, 232, 0.26);
  --border-checkbox: rgba(242, 238, 232, 0.22);
  --hover-tint: rgba(242, 238, 232, 0.07);
  --header-scrolled: rgba(18, 18, 18, 0.94);
  --overlay: rgba(9, 9, 9, 0.82);
  --overlay-video: rgba(10, 10, 10, 0.94);
  --input-focus-bg: #0E0E0E;
  --graphic-line: rgba(242, 238, 232, 0.55);
  --graphic-grey: #8E877F;
  --error: #E8734A;
  --error-bg: rgba(232, 115, 74, 0.12);

  /* Schriften (lokal hosten, siehe 00_PROMPT.md) */
  --font-display: "Instrument Sans", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;

  /* Fluide Schriftgrößen */
  --fs-h1: clamp(2rem, 1.3rem + 2.1vw, 3.5rem);
  --fs-h2: clamp(2rem, 1.5rem + 1.4vw, 3.25rem);
  --fs-h3-large: clamp(1.5rem, 1.1rem + 1vw, 2rem);
  --fs-quote: clamp(1.25rem, 1rem + 0.5vw, 1.5rem);
  --fs-stat: clamp(2rem, 1.5rem + 1.2vw, 2.75rem);
  --fs-modal-title: clamp(1.375rem, 1rem + 1.1vw, 1.75rem);

  /* Layout */
  --gutter: clamp(20px, 4vw, 56px);
  --edge: max(clamp(1.25rem, 4vw, 3.5rem), calc(50vw - 42rem + clamp(1.25rem, 4vw, 3.5rem)));
  --container-max: 84rem;
  --measure-body: 62ch;
  --measure-h1: 24ch;
  --measure-h2: 20ch;
  --measure-step: 52ch;
  --measure-footer: 40ch;
  --modal-width: 30rem;
  --header-height: 92px;          /* Tablet 76px, Handy 64px */
  --play-size: 96px;              /* Handy 64px */
  --step-size: 72px;              /* Handy 40px */

  /* Abstände (benannt nach Pixelwert) */
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-18: 18px;
  --space-20: 20px;
  --space-22: 22px;
  --space-24: 24px;
  --space-26: 26px;
  --space-28: 28px;
  --space-32: 32px;
  --space-36: 36px;
  --space-40: 40px;
  --space-48: 48px;
  --space-52: 52px;
  --space-56: 56px;
  --space-64: 64px;
  --space-72: 72px;
  --space-88: 88px;
  --space-104: 104px;
  --space-112: 112px;
  --space-136: 136px;

  /* Radius: alles eckig */
  --radius-none: 0;
  --radius-round: 50%;            /* nur Kreise */

  /* Schatten: nur diese fünf */
  --shadow-video: 0 34px 70px -34px rgba(0, 0, 0, 0.95);
  --shadow-modal: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  --shadow-play: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-header: 0 14px 34px -22px rgba(0, 0, 0, 0.9);
  --shadow-step-active: 0 0 0 6px rgba(21, 127, 241, 0.12);

  /* Bewegung */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-160: 160ms;
  --duration-200: 200ms;
  --duration-280: 280ms;
  --duration-300: 300ms;
  --duration-320: 320ms;
  --duration-340: 340ms;
  --duration-350: 350ms;
  --duration-420: 420ms;
  --duration-500: 500ms;

  /* Sonstiges */
  --opacity-grain: 0.055;
  --opacity-float: 0.07;
}

@media (max-width: 1024px) {
  :root { --header-height: 76px; }
}

@media (max-width: 767px) {
  :root {
    --header-height: 64px;
    --play-size: 64px;
    --step-size: 40px;
  }
}

/* Breakpoints (in Media Queries direkt verwenden):
   max-width: 1100px  Kennzahlen-Raster enger
   max-width: 1024px  Tablet: Header fixiert mit Hide-on-Scroll, Splits einspaltig
   max-width: 900px   große Splits einspaltig
   max-width: 767px   Handy: alles linksbündig, kleinere Abstände, Buttons volle Breite
   max-width: 479px   Formularfelder untereinander */
