/* ----------------------------------------------------------------------------
   Designsystem v5 — Tokens
   Quelle: DESIGNSYSTEM_v5.md (Stand 28.04.2026)
   ---------------------------------------------------------------------------- */

:root {
  /* Marke — global */
  --brand-bg:           #ffffff;
  --brand-fg:           #0a0a0a;
  --brand-fg-muted:     #6b6b6b;
  --brand-fg-subtle:    #9a9a9a;
  --brand-line:         #e5e5e5;
  --brand-line-strong:  #1a1a1a;
  --brand-accent:       #c19842;        /* HD-Institut-Gold (Logo) */
  --brand-surface:      #fafaf8;
  --brand-info-bg:      #f6f5f0;        /* dezent warmes Beige für Info-Raster */

  /* HD-Standard-Farben (Bodygraph) */
  --hd-personality:     #000000;        /* schwarz — bewusst */
  --hd-design:          #d83a2c;        /* HD-Rot — unbewusst + Sakral definiert */
  --hd-both:            #5e1a14;        /* dunkler Mischton wenn Tor in P+D aktiviert */
  --hd-brown:           #b08a4a;        /* ochre — Spleen/SP/Wurzel/Heart/Throat definiert */

  /* Schriftfamilien */
  --font-display:       "Optima", "Iowan Old Style", Georgia, serif;
  --font-body:          "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --font-mono:          "JetBrains Mono", "SF Mono", monospace;

  /* Schriftgrößenskala */
  --fs-11:  11px;       /* Eyebrows, Meta, kleine Labels */
  --fs-13:  13px;       /* Hilfetexte, Captions */
  --fs-15:  15px;       /* Fließtext, Aktivierungs-Tabellenzellen */
  --fs-17:  17px;       /* Lead-Text, Inputwerte */
  --fs-22:  22px;       /* H2 */
  --fs-36:  36px;       /* H1 (Display) */
  --fs-38:  38px;       /* Name auf Ergebnisseite */

  /* 8-Punkt-Spacing-Raster */
  --sp-1:   8px;
  --sp-2:   16px;
  --sp-3:   24px;
  --sp-4:   32px;
  --sp-5:   40px;
  --sp-6:   56px;
  --sp-7:   80px;
  --sp-8:   120px;
}

/* ----------------------------------------------------------------------------
   Reset und Basis
   ---------------------------------------------------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-15);
  line-height: 1.5;
  color: var(--brand-fg);
  background: var(--brand-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
