/* ============================================================
   LES — Design-System-Tokens
   Übernommen aus dem Design System
   "les-lausitz-energy-systems-design-system-a6b4e05a".
   Quelle: CD-Handbuch §2 Marke, §4 Farbwelt, §5 Typografie, §7 Klammer.
   Nicht per Hand ändern — Änderungen gehören ins Design System.
   ============================================================ */

/* --- Webfonts: TT Norms Pro (TypeType), selbst gehostet ------ */
@font-face {
  font-family: 'TT Norms Pro'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('../fonts/TTNormsPro-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'TT Norms Pro'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('../fonts/TTNormsPro-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'TT Norms Pro'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('../fonts/TTNormsPro-DemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'TT Norms Pro'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('../fonts/TTNormsPro-Bold.woff2') format('woff2');
}

:root {
  --font-brand: 'TT Norms Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-system: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* --- Primärfarben ---------------------------------------- */
  --les-black: #000000;        /* les-Schwarz · RAL 9005 */
  --les-white: #ffffff;        /* les-Weiss  · RAL 9010 */
  --les-black-80: #333333;
  --les-black-60: #666666;
  --les-black-40: #999999;
  --les-black-20: #cccccc;
  --les-black-10: #e6e6e6;
  --les-black-05: #f2f2f2;

  /* --- Sekundärfarben (Sonnenauf-/untergang) --------------- */
  --les-rot:     #cd5069;
  --les-orange:  #f59655;
  --les-blau:    #8cb4d2;
  --les-lila:    #9182be;
  --les-tuerkis: #64c3be;

  /* --- les-Verlauf ----------------------------------------- */
  --les-verlauf: linear-gradient(105deg,#cd5069 0%,#f59655 26%,#b7a05a 44%,#64c3be 66%,#6aa9d8 82%,#9182be 100%);
  --les-verlauf-soft: linear-gradient(105deg,rgba(205,80,105,.85) 0%,rgba(245,150,85,.85) 26%,rgba(100,195,190,.85) 62%,rgba(145,130,190,.85) 100%);

  /* --- Semantische Aliase ---------------------------------- */
  --text-strong:   var(--les-black);
  --text-body:     var(--les-black);
  --text-muted:    var(--les-black-60);
  --text-subtle:   var(--les-black-40);
  --text-inverse:  var(--les-white);
  --surface-page:  var(--les-white);
  --surface-card:  var(--les-white);
  --surface-sunk:  var(--les-black-05);
  --surface-ink:   var(--les-black);
  --border-strong: var(--les-black);
  --border-default:var(--les-black-20);
  --border-subtle: var(--les-black-10);
  --focus-ring:    var(--les-black);
  --accent:        var(--les-tuerkis);
  --positive:      var(--les-tuerkis);
  --info:          var(--les-blau);
  --warning:       var(--les-orange);
  --critical:      var(--les-rot);

  /* --- Typo-Skala ------------------------------------------ */
  --fs-display: 4.25rem;
  --fs-h1:      3rem;
  --fs-h2:      2.125rem;
  --fs-h3:      1rem;
  --fs-lead:    1.375rem;
  --fs-body:    1.0625rem;
  --fs-sm:      0.9375rem;
  --fs-footnote:0.8125rem;
  --fs-micro:   0.6875rem;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;
  --lh-tight:   1.04;
  --lh-snug:    1.18;
  --lh-heading: 1.1;
  --lh-body:    1.55;
  --lh-relaxed: 1.65;
  --ls-display: -0.02em;
  --ls-heading: -0.01em;
  --ls-tracked:  0.14em;
  --ls-micro:    0.08em;

  /* --- Abstände (8px-Raster) ------------------------------- */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.5rem;  --space-6: 2rem;
  --space-7: 3rem;    --space-8: 4rem;    --space-9: 6rem; --space-10: 8rem;
  --container-max: 1200px;
  --container-wide: 1440px;

  /* --- Radien, Klammer, Schatten, Bewegung ----------------- */
  --radius-xs: 2px; --radius-sm: 4px; --radius-md: 8px;
  --radius-lg: 14px; --radius-xl: 22px; --radius-pill: 999px;
  --radius-klammer: 28px;      /* Visuelle Klammer, CD §7 */
  --radius-klammer-lg: 56px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 6px rgba(0,0,0,.07);
  --shadow-md: 0 6px 20px rgba(0,0,0,.09);
  --shadow-lg: 0 18px 48px rgba(0,0,0,.12);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 360ms;

  /* --- Seitenraster ---------------------------------------- */
  --pad-x: 64px;
  --kopf-h: 88px;
}
