/* ============================================================
   Eltz Institut — Design Tokens
   Quelle: eltz-institut-design-system (Hauptfarbe #87BD26,
   Actionfarbe #E4002C, helle klinische Welt, sanfte Motion)
   ============================================================ */
:root {
  /* ---- Brand: Grün (Hauptfarbe) ---- */
  --eltz-green-900: #3f5a10;
  --eltz-green-700: #5f8a1c;
  --eltz-green-600: #6fa321;
  --eltz-green-500: #87bd26; /* PRIMARY */
  --eltz-green-400: #9ecd4d;
  --eltz-green-300: #bcdd85;
  --eltz-green-200: #d9ecbb;
  --eltz-green-100: #eef6df;
  --eltz-green-50:  #f6faed;

  /* ---- Action: Rot (Actionfarbe, nur Conversion-CTA) ---- */
  --eltz-red-700: #a80020;
  --eltz-red-600: #c60027;
  --eltz-red-500: #e4002c; /* ACTION */
  --eltz-red-400: #f23052;
  --eltz-red-100: #fde5ea;
  --eltz-red-50:  #fef2f5;

  /* ---- Neutrals: warme, klinische Weißtöne → Fast-Schwarz ---- */
  --eltz-white:    #ffffff;
  --eltz-paper:    #fbfbf9;
  --eltz-mist:     #f4f5f1;
  --eltz-cloud:    #eceee8;
  --eltz-line:     #e2e4dd;
  --eltz-grey-400: #b7bab0;
  --eltz-grey-500: #8b8f84;
  --eltz-grey-600: #63665d;
  --eltz-grey-700: #444741;
  --eltz-ink:      #23261f;
  --eltz-black:    #14150f;

  /* ---- Semantik ---- */
  --eltz-success: var(--eltz-green-500);
  --eltz-warning: #e8a400;
  --eltz-error:   var(--eltz-red-500);
  --eltz-info:    #2f7fb8;

  /* ---- Aliase (in Komponenten nur diese verwenden) ---- */
  --color-primary:        var(--eltz-green-500);
  --color-primary-hover:  var(--eltz-green-600);
  --color-primary-active: var(--eltz-green-700);
  --color-primary-soft:   var(--eltz-green-100);
  --color-on-primary:     #ffffff;

  --color-action:         var(--eltz-red-500);
  --color-action-hover:   var(--eltz-red-600);
  --color-action-active:  var(--eltz-red-700);
  --color-action-soft:    var(--eltz-red-100);
  --color-on-action:      #ffffff;

  --color-bg:            var(--eltz-paper);
  --color-surface:       var(--eltz-white);
  --color-surface-muted: var(--eltz-mist);
  --color-border:        var(--eltz-line);
  --color-border-strong: var(--eltz-cloud);

  --text-strong:  var(--eltz-black);
  --text-body:    var(--eltz-ink);
  --text-muted:   var(--eltz-grey-600);
  --text-subtle:  var(--eltz-grey-500);
  --text-on-dark: #ffffff;

  --focus-ring: rgba(135, 189, 38, 0.55);

  /* ---- Typografie ---- */
  --font-display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Mulish', 'Segoe UI', system-ui, sans-serif;
  --font-serif:   'PT Serif', Georgia, 'Times New Roman', serif;

  --fs-display:  min(max(2.4rem, 1.5rem + 2.6vw), 3.6rem);
  --fs-h1:       min(max(2.1rem, 1.5rem + 2.4vw), 3.25rem);
  --fs-h2:       min(max(1.7rem, 1.3rem + 1.6vw), 2.5rem);
  --fs-h3:       min(max(1.35rem, 1.15rem + 0.8vw), 1.75rem);
  --fs-h4:       1.25rem;
  --fs-lead:     min(max(1.1rem, 1rem + 0.4vw), 1.375rem);
  --fs-body:     1.0625rem;
  --fs-sm:       0.9375rem;
  --fs-xs:       0.8125rem;
  --fs-eyebrow:  0.8125rem;

  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-extra:    800;

  --lh-tight:   1.08;
  --lh-heading: 1.18;
  --lh-snug:    1.4;
  --lh-body:    1.62;

  --ls-tight:   -0.02em;
  --ls-eyebrow: 0.14em;

  /* ---- Raster & Layout (4px-Basis) ---- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --section-y: clamp(56px, 4vw + 40px, 112px);
  --container: 1200px;
  --container-narrow: 780px;
  --gutter: clamp(20px, 5vw, 48px);

  /* ---- Radius — weich, freundlich (Ring-Licht-Motiv) ---- */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill: 999px;

  /* ---- Elevation — weich, hell, diffus ---- */
  --shadow-xs: 0 1px 2px rgba(35, 38, 31, 0.06);
  --shadow-sm: 0 2px 8px rgba(35, 38, 31, 0.06);
  --shadow-md: 0 8px 24px rgba(35, 38, 31, 0.08);
  --shadow-lg: 0 18px 48px rgba(35, 38, 31, 0.10);
  --shadow-green:  0 12px 28px rgba(135, 189, 38, 0.28);
  --shadow-action: 0 12px 28px rgba(228, 0, 44, 0.26);

  /* ---- Motion — ruhig & sanft, kein Bounce ---- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 380ms;
}
