/* AI Decision Matrix: eigenes Look & Feel (Research-Briefing-Stil).
   Ersetzt das Launch-Labs-Stylesheet. Die Token-Namen (--color-*, --stack-gap, ...)
   bleiben gleich, damit die Tool-Komponenten in index.html unveraendert funktionieren. */

@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --font-heading: "Instrument Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --color-paper: #ffffff;     /* Seitenhintergrund */
  --color-surface: #ffffff;   /* Karten, Felder */
  --color-canvas: #ebe7de;    /* Quadranten, ruhige Flaechen */
  --color-line: #dad5ca;
  --color-ink: #141a2b;
  --color-copy: #3b4050;
  --color-muted: #767a87;
  --color-primary: #1f3a5f;   /* Navy */
  --color-primary-hover: #2c4f7d;
  --color-accent: #a3283a;    /* Kardinalrot, sparsam */
  --color-accent-tint: #f1d6d6;

  --size-display: 2.5rem;
  --size-title: 1.75rem;
  --size-heading: 1.3rem;
  --size-body: 1rem;
  --size-small: .875rem;
  --lh-title: 1.15;
  --lh-heading: 1.3;
  --lh-body: 1.6;

  --stack-gap: 1rem;
  --section-py: 4.5rem;
  --shell-px: 1.25rem;
  --page-max: 76rem;
  --header-h: 4rem;
}
@media (width >= 48rem) {
  :root { --size-display: 3.5rem; --size-title: 2.25rem; --size-heading: 1.5rem; --section-py: 6.5rem; --shell-px: 2rem; }
}
@media (width >= 80rem) {
  :root { --size-display: 4rem; }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--color-paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--color-paper); color: var(--color-copy);
  font-family: var(--font-sans); font-size: var(--size-body); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { color: var(--color-ink); font-family: var(--font-heading); font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
ol, ul { padding: 0; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.frame { overflow-x: clip; }
.shell { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--shell-px); }
.section { padding-block-start: var(--section-py); }
.stack { display: grid; gap: var(--stack-gap); align-content: start; }
.layout-1col { display: grid; gap: calc(var(--stack-gap) * 2); }
.layout-1col--center { justify-items: center; text-align: center; }
.layout-2col { display: grid; gap: calc(var(--stack-gap) * 2); }
@media (width >= 48rem) { .layout-2col { grid-template-columns: 1fr 1fr; align-items: start; } }
@media (width >= 64rem) { .layout-2col { column-gap: calc(var(--stack-gap) * 2.5); } }
.measure { max-width: 36rem; }
.max-w-4xl { max-width: 56rem; }

/* ---------- Typo-Helfer (gleiche Namen wie bisher) ---------- */
.text-display { font-family: var(--font-heading); font-size: var(--size-display); line-height: 1.05; letter-spacing: -.03em; }
.text-title { font-family: var(--font-heading); font-size: var(--size-title); line-height: var(--lh-title); letter-spacing: -.02em; }
.text-heading { font-family: var(--font-heading); font-size: var(--size-heading); line-height: var(--lh-heading); }
.text-lead { font-size: 1.125rem; line-height: 1.6; color: var(--color-copy); }
@media (width >= 48rem) { .text-lead { font-size: 1.25rem; } }
.text-small { font-size: var(--size-small); }
.text-ink { color: var(--color-ink); }
.text-muted { color: var(--color-muted); }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.eyebrow {
  font-family: var(--font-sans); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-accent);
}

/* Hervorhebung: ersetzt die gelbe Launch-Labs-Unterstreichung (auch in den Key facts) */
.mark { position: relative; display: inline; }
.mark > img { display: none; }
.mark > span {
  background: linear-gradient(transparent 64%, var(--color-accent-tint) 64%, var(--color-accent-tint) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border: 1px solid transparent; border-radius: 2px;
  font-size: var(--size-body); font-weight: 500; line-height: 1; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--color-primary); color: var(--color-surface); }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--quiet { background: var(--color-canvas); color: var(--color-ink); }
.btn--quiet:hover { background: var(--color-line); }
.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-line); }
.btn--ghost:hover { border-color: var(--color-ink); }
.arrow { font-family: var(--font-sans); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: color-mix(in oklab, var(--color-paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.site-header .shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--color-ink); }
.wordmark__icon { width: 1.25rem; height: 1.25rem; }
.wordmark__text { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; font-size: var(--size-small); }
.site-nav a:not(.btn) { text-decoration: none; color: var(--color-copy); }
.site-nav a:not(.btn):hover { color: var(--color-ink); }
.site-nav .nav-link { display: none; }
@media (width >= 48rem) { .site-nav .nav-link { display: inline; } }
.site-nav .btn { padding: .6em 1em; font-size: var(--size-small); }

/* ---------- Hero ---------- */
.hero { padding-block: calc(var(--section-py) * .9) calc(var(--section-py) * .6); }
.hero__inner { display: grid; gap: 1.75rem; justify-items: center; text-align: center; max-width: 52rem; margin-inline: auto; }
.hero__inner .text-lead { max-width: 40rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Abschnittskopf ---------- */
.section-head { display: grid; gap: .75rem; padding-bottom: 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--color-line); }
@media (width >= 64rem) { .section-head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 4rem; align-items: end; } }

/* ---------- Briefing ---------- */
.briefing { background: var(--color-primary); color: #dfe5ee; }
.briefing h2, .briefing h3 { color: #fff; }
.briefing .eyebrow { color: #f0b8bf; }
.briefing__inner { display: grid; gap: 2.5rem; padding-block: var(--section-py); }
@media (width >= 64rem) { .briefing__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; } }
.briefing .btn--primary { background: #fff; color: var(--color-primary); }
.briefing .btn--primary:hover { background: #e6ebf2; }
.cite-box { border: 1px solid rgba(255, 255, 255, .25); padding: 1.25rem; display: grid; gap: .75rem; font-size: var(--size-small); }
.cite-box p { color: #fff; }
.cite-box button { justify-self: start; background: none; border: 0; padding: 0; color: #f0b8bf; cursor: pointer; font-weight: 500; }
.cite-box button:hover { text-decoration: underline; }
.facts-list { display: grid; gap: .75rem; list-style: none; }
.facts-list li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: .75rem; font-size: var(--size-small); }
.facts-list span { color: #aab6c7; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--color-line); padding-block: 2rem 2.5rem; font-size: var(--size-small); color: var(--color-muted); }
.site-footer .shell { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--color-ink); text-decoration: underline; }
.site-footer .powered { display: inline-flex; align-items: center; gap: .75rem; color: var(--color-ink); font-weight: 500; }
.site-footer .powered:hover { text-decoration: none; }
.site-footer .powered:hover img { opacity: .8; }
.powered img { height: 2.25rem; width: auto; transition: opacity .15s ease; }
