:root {
  --border-color: tomat;
  --outer-margin: 2rem;
  --gap-xs: 12px;
  --gap-s: 24px;
  --gap-m: 48px;
  --gap-l: 96px;
  --gap-xl: 144px;

  --body-text-color: var(--grayblue);  /* Standardfarbe für Fließtext, wie .subtile; .highlighted setzt auf var(--black) */

  /* ---- Farb-Rollen (Light, wie bisher) ---- */
  --paper: #FFFFFF;                 /* Seiten-/Flächen-Hintergrund, Text auf Dunkel */
  --ink: #161718;                   /* Primärtext, dunkle UI-Flächen */
  --ink-80: rgba(22, 23, 24, 0.8);
  --muted: #8f9095;                 /* sekundärer Text */
  --muted-strong: #494E5F;
  --surface: rgba(0, 0, 0, 0.05);   /* zarte Flächen-Tönung */
  --surface-strong: #22252C;
  --accent: #4647C8;   
  --accent-supersoft: rgba(137, 138, 201, 0.2);            /* Blau */
  --accent-soft: #BDBEFF;
  --accent-strong: #4243C6;
  --slate: #313842;                 /* Icons / Press-Zustand */
  --shape: #E4E4EF;                 /* dekorative Kopf-Form (bg-shape) */
  --pill-soft: #F5F6FF;             /* heller Pill-Button (Contact) */
  --panel-blue: rgba(177, 194, 231, 0.3);
  --shadow: rgba(59, 59, 77, 0.3);
  --shadow-strong: rgba(59, 59, 77, 0.4);
  --overlay: rgba(0, 0, 0, 0.5);    /* Modal-Schleier */
  --scrim: rgba(0, 0, 0, 0.85);     /* Bild-Lightbox */
  --scrim-solid: #000000;
  --purple: #944C77;
  --grayblue: #6F757F;
  --grayblue-light: #A4AEBD;
  --modal-pulse-a: #FFFFFF;
  --modal-pulse-b: #A4A4E6;
  --hero-a: #000000;                /* Hero-Verlauf Anfang */
  --hero-b: #4647D0;                /* Hero-Verlauf Ende */

  /* ---- Alt-Namen zeigen auf Rollen (Kompatibilitaet) ---- */
  --white: var(--paper);
  --black: var(--ink);
  --black-80: var(--ink-80);
  --gray: var(--muted-strong);
  --lighter-gray: var(--muted);
  --light-gray: var(--surface);
  --blue: var(--accent);
  --lightblue: var(--accent-supersoft);
  --darkblue: var(--accent-strong);
  --darkerblue: var(--slate);
  //--bborder: rgba(255, 190, 0, 1.0);

  --p-xs: 1.15rem;
  --p-s: 1.25rem;
  --p-m: 1.35rem;
  --p-l: 1.6rem;
  --p-xl: 2rem;
  --h1-s: 3.8rem;
  --h1-m: 5rem;
  --h1-l: 6rem;
  --h1-xl: 7rem;
  --h2-s: 1.6rem;
  --h2-m: 2rem;
  --h3-m: 1.5rem;
  --h3-s: 1.35rem;
}

/* ===== Dark Mode (testweise umschaltbar mit Taste D) ===== */
:root[data-theme="dark"] {
  background-color: #17181A;
  color: #ECECEE;
  --paper: #17181A;
  --ink: #ECECEE;
  --ink-80: rgba(236, 236, 238, 0.8);
  --muted: #9A9CA3;
  --muted-strong: #AAB0BE;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: #23262E;
  --accent: #8688F5;
  --accent-soft: #9FA0E8;
  --accent-strong: #A5A6FF;
  --slate: #C2C7D2;
  --shape: #202233;
  --pill-soft: #262833;
  --panel-blue: rgba(120, 140, 190, 0.18);
  --shadow: rgba(0, 0, 0, 0.55);
  --shadow-strong: rgba(0, 0, 0, 0.6);
  --overlay: rgba(0, 0, 0, 0.6);
  --purple: #C77BA8;
  --grayblue: #8791A0;
  --grayblue-light: #A4AEBD;
  --modal-pulse-a: #23262E;
  --hero-a: #ECECEE;
  --hero-b: #8688F5;
}