/* ALEX Design-System (Hybrid, Gold/Graphit). Gemeinsame Quelle fuer Startseite und Unterseiten:
   Tokens, Header, Footer, Buttons, Section-Label, Status-Pill. Schriften kommen ausschliesslich aus
   /fonts/homepage-fonts.css (selbst gehostet, kein Google-CDN). Seitenspezifisches liegt in der jeweiligen Seite. */
:root {
  --ink: #090b0e;
  --ink-soft: #101419;
  --panel: #151a20;
  --panel-raised: #1b2229;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #e8e6e1;
  --muted: #9a958c;
  --faint: #8a857c;
  --gold: #c4a03a;
  --gold-soft: #e0cb8a;
  --gold-deep: #a38428;
  --gold-dim: rgba(196, 160, 58, .15);
  --violet: #b4a4f5;
  --blue: #7ec4d9;
  --danger: #e08b86;
  --radius: 2px;
  --max: 1120px;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); }
a { color: inherit; text-decoration: none; }
p a:not([class]), .vid-note a, .note a, .akte-foot a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell { min-height: 100vh; overflow: hidden; background: var(--ink); }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(9, 11, 14, .88); backdrop-filter: blur(18px); }
.header-inner { width: min(var(--max), calc(100% - 48px)); height: 64px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; letter-spacing: .18em; font-size: 14px; font-weight: 700; }
.brand-mark { position: relative; display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--gold); transform: rotate(45deg); }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; position: absolute; background: var(--gold); }
.brand-mark::before { width: 1px; height: 16px; }
.brand-mark::after { width: 16px; height: 1px; }
.brand-mark span { width: 5px; height: 5px; }
.brand-name { color: var(--text); }
.main-nav { display: flex; gap: 31px; margin-left: auto; margin-right: 34px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.main-nav a, .header-link, .footer-links a { transition: color .2s ease; }
.main-nav a:hover, .header-link:hover, .footer-links a:hover { color: var(--gold-soft); }
.header-actions, .header-link { display: inline-flex; align-items: center; gap: 7px; }
.header-link { border-left: 1px solid var(--line); padding-left: 22px; color: var(--gold-soft); font-family: "IBM Plex Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; padding: 8px; cursor: pointer; color: var(--text); }
.menu-check { position: absolute; opacity: 0; pointer-events: none; }
.menu-check:focus-visible + .menu-toggle { outline: 2px solid var(--gold); outline-offset: 2px; }

main { display: block; }
.section-label { display: flex; align-items: center; gap: 10px; color: var(--gold); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.section-label > span:first-child { color: var(--gold-soft); }
.section-label__line { display: block; width: 34px; height: 1px; background: var(--gold); opacity: .6; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Space Grotesk", "IBM Plex Sans", sans-serif; font-weight: 500; letter-spacing: -.055em; }
h1 em, h2 em { color: var(--gold-soft); font-style: normal; }
.button-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 47px; padding: 0 17px; border: 1px solid var(--gold); color: #17130a; background: var(--gold); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button-link:hover { background: var(--gold-soft); transform: translateY(-2px); }
.button-link--secondary { border-color: var(--line-strong); color: var(--text); background: transparent; }
.button-link--secondary:hover { border-color: var(--gold); color: var(--gold-soft); background: transparent; }
.evidence-card__topline, .evidence-card__foot, .timeline-foot, .lab-foot, .footer-bottom, .pilot-steps { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.eyebrow, .mono, .card-kicker, .evidence-card__foot, .evidence-grid span, .timeline-head__meta, .timeline-time, .timeline-label, .control-row__label, .pilot-card__eyebrow, .pilot-steps, .metric > span:last-child, .tool-card__footer, .lab-foot, .footer-bottom { font-family: "IBM Plex Mono", monospace; }
.eyebrow, .card-kicker, .evidence-grid span, .timeline-label, .control-row__label, .pilot-card__eyebrow { font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--gold-soft); }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(196, 160, 58, .12); }
.mono { color: var(--faint); font-size: 11px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--gold-soft); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .03em; text-transform: uppercase; }
.text-link:hover { color: white; }

.status-pill { display: inline-flex; align-items: center; width: fit-content; padding: 7px 9px; border: 1px solid rgba(196, 160, 58, .38); color: var(--gold-soft); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.status-pill--muted { border-color: var(--line); color: var(--faint); }

.site-footer { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 64px 0 31px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 35px; align-items: start; padding-bottom: 72px; }
.footer-message { color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 24px; letter-spacing: -.03em; line-height: 1.15; }
.footer-message em { color: var(--gold-soft); font-style: normal; }
.footer-links { display: flex; flex-direction: column; align-items: start; gap: 11px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 11px; text-transform: uppercase; }
.footer-links a:last-child { display: inline-flex; align-items: center; gap: 6px; margin-top: 11px; color: var(--gold-soft); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; letter-spacing: .04em; }
.footer-bottom span:last-child { display: flex; gap: 21px; }
.footer-bottom a:hover { color: var(--gold-soft); }

@media (max-width: 1050px) {
  .main-nav { gap: 18px; margin-right: 20px; }
}

@media (max-width: 760px) {
  .header-inner, .section-grid, .proof-metrics, .timeline-section, .limits-section, .site-footer { width: min(100% - 36px, 600px); }
  .header-inner { height: 68px; }
  .header-link { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav { position: absolute; top: 67px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; margin: 0; padding: 7px 18px 16px; border-bottom: 1px solid var(--line); background: rgba(9, 11, 14, .98); }
  .main-nav.is-open, .site-header:has(.menu-check:checked) .main-nav { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 45px 25px; padding-bottom: 50px; }
  .footer-message { grid-column: 1 / -1; grid-row: 1; font-size: 22px; }
  .footer-links { grid-column: 2; grid-row: 2; }
  .footer-top .brand { grid-column: 1; grid-row: 2; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 13px; }
  .footer-bottom span:last-child { flex-wrap: wrap; gap: 12px 18px; }
}

.site-shell { background: transparent; }
.site-header { background: rgba(7, 8, 9, .85); border-bottom-color: var(--line); }
.brand-mark { border-radius: 3px; box-shadow: 0 0 22px rgba(196,160,58,.14); }
.button-link { border-radius: 8px; background: linear-gradient(180deg, #d1ae42 0%, var(--gold) 100%); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 0 0 1px rgba(196,160,58,.35); }
.button-link:hover { background: linear-gradient(180deg, #dbb84c 0%, #d1ae42 100%); }
.button-link--secondary { background: transparent; box-shadow: none; }
.button-link--secondary:hover { background: var(--panel-raised); }
.status-pill { border-radius: 6px; }
.site-footer { padding-top: 64px; }
.site-footer { border-top: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
