/* ==========================================================================
   Heat-Kings — Zentrale Design-Tokens (einzige Quelle für alle Stylesheets)
   Technik-Papier, tiefes Graphit & Kupfer-Terrakotta (#B83C0C), IBM Plex.
   ========================================================================== */
:root {
  color-scheme: light;

  /* Primäre Design-Tokens */
  --paper:         #f7f6f2;
  --paper-alt:     #efede6;
  --surface:       #ffffff;
  --obsidian:      #14171c;
  --obsidian-2:    #1c2128;

  --ink:           #141619;
  --ink-2:         #4a515c;
  --ink-3:         #6a717d;
  --ink-inv:       #f5f4ef;
  --ink-inv-2:     #b2b8c2;

  --rule:          #ddd8cc;
  --rule-strong:   #c5bfb0;
  --rule-dark:     #2a303a;

  --brand:         #b83c0c;
  --brand-hover:   #963008;
  --brand-soft:    #f8ebe5;
  --brand-border:  #e7c6b8;

  --data-blue:     #1f4e79;
  --data-blue-bg:  #edf3f8;
  --data-blue-soft:#edf3f8;
  --data-green:    #1e6b47;
  --data-green-bg: #eaf4ef;

  --good:          #1e6b47;
  --good-bg:       #eaf4ef;
  --good-soft:     #eaf4ef;
  --warn:          #92400e;
  --warn-bg:       #fdf3e2;
  --warn-soft:     #fef3c7;
  --bad:           #b91c1c;
  --bad-bg:        #fceaea;
  --bad-soft:      #fee2e2;

  /* Typografie (lokal gehostet über /src/fonts.css) */
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans:      var(--font-sans);
  --serif:     var(--font-sans);
  --mono:      var(--font-mono);

  /* Layout & Schatten */
  --wrap:         1180px;
  --gutter:       clamp(20px, 4vw, 40px);
  --radius-sm:    4px;
  --radius-md:    8px;
  --shadow:       0 1px 2px rgba(20, 22, 25, 0.05), 0 8px 22px -14px rgba(20, 22, 25, 0.09);
  --shadow-inst:  0 1px 2px rgba(20, 22, 25, 0.05), 0 14px 36px -18px rgba(20, 22, 25, 0.14);

  /* Kompatibilitäts-Aliase für Blog-, Stadt- & Rechner-Styles */
  --bg:           var(--paper);
  --surface-2:    var(--paper-alt);
  --line:         var(--rule);
  --line-strong:  var(--rule-strong);
  --text:         var(--ink);
  --text-2:       var(--ink-2);
  --text-3:       var(--ink-3);
  --accent:       var(--brand);
  --accent-hover: var(--brand-hover);
  --accent-soft:  var(--brand-soft);
}
