/* ============================================================
   Novacore AI — Onepager
   Ported from the Claude Design source (Novacore AI.dc.html)
   into standalone, production HTML/CSS/JS.
   ============================================================ */

:root {
  --c1: #ff3b4a;          /* accent red   */
  --c2: #4fd8ff;          /* accent cyan  */
  --chrome: #c8cdd6;
  --dim: rgba(232, 234, 240, .55);
  --line: rgba(255, 255, 255, .08);
  --surface: #0a0a12;
  --bg: #050508;
  --text: #e8eaf0;

  --font-body: 'Space Grotesk', sans-serif;
  --font-display: 'Orbitron', sans-serif;
  --font-head: 'Michroma', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Live height of the fixed nav. The fallback matches the expanded desktop bar
     (16px padding + 56px mark + 16px padding + 1px border); initNavShrink()
     overwrites it from the measured element, so the mobile menu panel and the
     anchor offset stay correct at every breakpoint and in both nav sizes. */
  --nav-h: 89px;
}

/* Accent schemes (toggled via body[data-accent]) */
body[data-accent="rot"]  { --c1: #ff3b4a; --c2: #ff8a6b; }
body[data-accent="cyan"] { --c1: #4fd8ff; --c2: #7b8cff; }

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip;
  /* keeps the taller nav from covering a section heading it just scrolled to */
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a { color: var(--c2); text-decoration: none; }
a:hover { color: #fff; }

::selection { background: rgba(255, 59, 74, .35); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1c1c28; border-radius: 5px; }

/* ---------- keyframes ---------- */
@keyframes nvcPulse   { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes nvcDash    { to { stroke-dashoffset: -240; } }
@keyframes nvcScan    { 0% { transform: translateY(-100%); } 100% { transform: translateY(100vh); } }
@keyframes nvcBlink   { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes nvcPlasma  { 0% { background-position: 0% 50%, 0% 0%; } 100% { background-position: 200% 50%, 0% 0%; } }
@keyframes nvcShine   { 0%,55% { transform: translateX(-130%) skewX(-18deg); } 100% { transform: translateX(280%) skewX(-18deg); } }

/* ---------- shared shell ---------- */
.nvc-page { position: relative; min-height: 100vh; min-height: 100svh; background: var(--bg); }

/* 96 keeps the bar on top of the nav, which now sits at 95 to clear the scanlines */
.nvc-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 96;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  transform-origin: left; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(79, 216, 255, .5);
}

.nvc-aurora {
  position: fixed; inset: -20%; z-index: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(38% 30% at 18% 30%, rgba(255, 59, 74, .09), transparent 70%),
    radial-gradient(42% 34% at 82% 70%, rgba(79, 216, 255, .1), transparent 70%);
  will-change: transform;
}

.section { max-width: 1240px; margin: 0 auto; }

.section-kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .4em;
  color: var(--c1); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head); font-size: clamp(28px, 3.6vw, 46px);
  margin: 0; color: #fff;
}
.section-motto {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em;
  color: rgba(232, 234, 240, .3); font-style: italic;
}
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

/* ---------- NAV ---------- */
/* z-index 95 lifts the whole bar above .scanlines (90) and .scanbeam (91), so the
   CRT rasterisation never crawls across the brand mark. A fixed element always
   opens its own stacking context, so the brand cannot be raised on its own — the
   bar has to travel with it. .nvc-progress is raised to 96 to stay visible. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 95;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: linear-gradient(to bottom, rgba(5, 5, 8, .92), rgba(5, 5, 8, .75) 70%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: padding .32s cubic-bezier(.2, .7, .2, 1);
}
/* shrink-on-scroll — .is-compact is toggled by initNavShrink() in main.js */
.nav.is-compact { padding: 9px 40px; }
.nav__brand { display: flex; align-items: center; gap: 14px; }
/* animated core mark — SVG is generated by initBrandMark() in main.js */
.nav__mark {
  display: block; flex: none;
  width: 56px; height: 56px;
  /* the glow bleeds past the box on purpose; nothing here clips it */
  overflow: visible;
  transition: width .32s cubic-bezier(.2, .7, .2, 1), height .32s cubic-bezier(.2, .7, .2, 1);
}
.nav.is-compact .nav__mark { width: 36px; height: 36px; }
.nav__mark .nc-wrap {
  display: block; width: 100%; height: 100%;
  transform-origin: 50% 50%; will-change: transform;
}
.nav__mark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.nav__logo {
  font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: .06em;
  transition: font-size .32s cubic-bezier(.2, .7, .2, 1);
  color: transparent;
  background-image: linear-gradient(112deg, #e8eef5 0%, #97a8ba 12%, #ff3b4a 28%, #f2f6fa 45%, #4fd8ff 62%, #e8eef5 78%, #bfe9f7 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: nvcPlasma 12s linear infinite alternate;
}
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-size: 13px; letter-spacing: .12em; color: var(--dim); text-transform: uppercase;
  transition: color .25s;
}
.nav__link:hover { color: #fff; }
.nav__cta {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  color: #050508; background: var(--c2); padding: 9px 18px; border-radius: 2px; font-weight: 700;
  transition: background .25s;
}
.nav__cta:hover { background: #fff; color: #050508; }
.nav__toggle { display: none; }
.nav.is-compact .nav__logo { font-size: 17px; }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 700px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, rgba(0, 0, 0, .88) 84%, rgba(0, 0, 0, .35) 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 76%, rgba(0, 0, 0, .88) 84%, rgba(0, 0, 0, .35) 94%, transparent 100%);
}
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 72%, rgba(5, 5, 8, .28) 84%, var(--bg) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(5, 5, 8, .55) 75%, #050508 100%);
}
.hero__inner {
  position: relative; z-index: 2; text-align: center; padding: 0 24px;
  max-width: 1100px; pointer-events: none;

  /* The galaxy core renders dead centre — exactly where the lead paragraph sits.
     Two measures share this one distance so they stay in register: the copy below
     the subtitle slides down out of the brightest zone, and the scrim below slides
     with it. Viewport-relative, so a short window keeps the buttons above the fold
     instead of pushing them past it. */
  --hero-shift: clamp(34px, 6.5vh, 62px);
}
/* feathered, edgeless ground for the body copy — the core stays the focal point,
   it just stops competing with 19px text for the same pixels */
.hero__inner::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 40%; width: min(1000px, 96vw); height: 78%;
  transform: translate(-50%, var(--hero-shift));
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
    rgba(5, 5, 8, .58) 0%, rgba(5, 5, 8, .43) 36%, rgba(5, 5, 8, .17) 66%, transparent 100%);
}
.hero__lead, .hero__motto, .hero__actions { transform: translateY(var(--hero-shift)); }
.hero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(46px, 8.5vw, 122px); line-height: 1.02; margin: 0; letter-spacing: .01em;
  color: transparent;
  background-image:
    linear-gradient(112deg, #e8eef5 0%, #97a8ba 7%, #ff3b4a 15%, #8c1622 23%, #f2f6fa 31%, #4fd8ff 41%, #14323f 50%, #e8eef5 58%, #ff5a3c 68%, #6e1119 75%, #bfe9f7 84%, #2a7d9c 92%, #e8eef5 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, .35) 52%, rgba(255, 255, 255, .18) 100%);
  background-size: 220% 100%, 100% 100%;
  background-blend-mode: overlay;
  -webkit-background-clip: text; background-clip: text;
  animation: nvcPlasma 12s linear infinite alternate;
  filter: drop-shadow(0 3px 26px rgba(79, 216, 255, .3)) drop-shadow(0 2px 6px rgba(0, 0, 0, .7));
}
.hero__subtitle {
  font-family: var(--font-head); font-size: clamp(13px, 1.6vw, 20px); letter-spacing: .42em;
  color: #fff; margin-top: 26px;
  text-shadow: 0 0 24px rgba(79, 216, 255, .5), 0 2px 10px rgba(0, 0, 0, .8);
}
.hero__lead {
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; color: rgba(238, 241, 248, .88);
  max-width: 640px; margin: 30px auto 0; font-weight: 400;
  text-shadow: 0 2px 18px rgba(5, 5, 8, .95), 0 1px 4px rgba(5, 5, 8, .9);
}
.hero__motto {
  font-family: var(--font-mono); font-size: clamp(12.5px, 1.3vw, 15px); letter-spacing: .28em;
  color: rgba(226, 244, 252, .82); margin-top: 24px; font-style: italic;
  text-shadow: 0 0 18px rgba(79, 216, 255, .35), 0 2px 14px rgba(5, 5, 8, .95), 0 1px 4px rgba(5, 5, 8, .9);
}
.hero__actions {
  display: flex; gap: 16px; justify-content: center; margin-top: 44px; pointer-events: auto; flex-wrap: wrap;
}

/* buttons with sweeping shine */
.btn {
  position: relative; overflow: hidden;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .15em;
  padding: 15px 32px; border-radius: 2px; font-weight: 700;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s, color .25s;
}
.btn::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%;
}
.btn--primary { color: #050508; background: #fff; }
.btn--primary::before {
  background: linear-gradient(105deg, transparent, rgba(79, 216, 255, .5), transparent);
  animation: nvcShine 3.2s ease-in-out infinite;
}
.btn--primary:hover {
  background: var(--c2); color: #050508; transform: translateY(-3px);
  box-shadow: 0 10px 34px rgba(79, 216, 255, .35);
}
.btn--ghost {
  color: #fff; font-weight: 400; border: 1px solid rgba(255, 255, 255, .25);
}
.btn--ghost::before {
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .14), transparent);
  animation: nvcShine 3.2s ease-in-out 1.6s infinite;
}
.btn--ghost:hover {
  border-color: var(--c2); color: var(--c2); transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(79, 216, 255, .15), inset 0 0 24px rgba(79, 216, 255, .08);
}

/* ---------- 01 // NOVACORE-OS ---------- */
.os {
  position: relative; z-index: 1;
  padding: 120px 40px 120px;
}
.os__band {
  /* sitzt zwischen Lead und Wirkungs-Panels — die Maske laesst oben und unten
     je 20% auslaufen, deshalb reichen knappe Aussenabstaende */
  position: relative;
  width: 100%; height: clamp(200px, 30vh, 420px);
  margin: 0 0 44px;
}
.os__canvas {
  display: block; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
}
.os .section-head { margin-bottom: 30px; }
.os__lead {
  font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.75;
  color: rgba(238, 241, 248, .82); max-width: 760px; margin: 0 0 36px;
}

.os__note {
  font-family: var(--font-mono); font-size: 12px; line-height: 1.9; font-style: italic;
  color: rgba(232, 234, 240, .3); max-width: 720px; margin: 24px 0 0;
}

/* Inhaltsbloecke (Befundlage, Ebenen, Modularitaet, Modell) */
.os-block { margin-top: 72px; }
.os-block__head { margin-bottom: 14px; }
.os-block__label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .35em;
  color: rgba(232, 234, 240, .4);
}
.os-block__title {
  font-family: var(--font-head); font-size: clamp(19px, 2.1vw, 26px); font-weight: 400;
  margin: 0 0 28px; color: #fff; letter-spacing: .01em;
}
.os-block__text {
  font-size: 14.8px; line-height: 1.8; color: var(--dim);
  max-width: 760px; margin: 26px 0 0;
}
.os-block__punch {
  font-family: var(--font-head); font-size: clamp(15px, 1.7vw, 19px); line-height: 1.6;
  color: #fff; margin: 34px 0 0; padding-left: 18px;
  border-left: 2px solid var(--c1);
}
/* Erster Block direkt unter dem Band — das Band bringt seinen Abstand schon mit */
.os-block--tight { margin-top: 0; }

/* Begriffs-Abgrenzung — Vibe Coding vs. Vibe Engineering */
.os-vibe {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.os-vibe__item { background: var(--surface); padding: 32px 30px; position: relative; }
.os-vibe__item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
}
/* Der abgelehnte Weg bleibt farblos, der eigene bekommt die Akzentfarbe */
.os-vibe__item--no::before { background: rgba(232, 234, 240, .18); }
.os-vibe__item--yes::before { background: var(--c2); }
.os-vibe__item--yes { background: #0a0f16; }
.os-vibe__tag {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .2em;
  color: rgba(232, 234, 240, .42);
}
.os-vibe__item--yes .os-vibe__tag { color: var(--c2); }
.os-vibe__desc { font-size: 14.8px; line-height: 1.75; color: var(--dim); margin: 18px 0 0; }
.os-vibe__desc strong { color: #fff; font-weight: 600; }

.os-study__framing {
  font-size: 14px; line-height: 1.7; color: rgba(232, 234, 240, .58);
  margin: -14px 0 20px;
}

/* Studientabelle */
.os-study { border: 1px solid var(--line); background: rgba(8, 8, 14, .55); }
.os-study__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr) minmax(0, 1.55fr);
  gap: 18px; align-items: baseline;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
}
.os-study__row:last-child { border-bottom: 0; }
.os-study__row--head {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .3em;
  color: rgba(232, 234, 240, .32); background: rgba(255, 255, 255, .02);
}
.os-study__src { font-family: var(--font-mono); font-size: 12px; color: rgba(232, 234, 240, .6); }
.os-study__val {
  font-family: var(--font-mono); font-size: 17px; font-weight: 700; color: var(--c2);
}
/* Einheit unter der Zahl — haelt den Zahlenschlag gross, ohne die Spalte zu sprengen */
.os-study__val small {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em;
  color: rgba(232, 234, 240, .42); margin-top: 5px;
}
/* Befunde ohne Zahl (Duplikation, Wartungsaufwand, liegengebliebene Arbeit) */
.os-study__val--text { font-size: 13.5px; line-height: 1.55; letter-spacing: .02em; }
.os-study__ctx { font-size: 13.8px; line-height: 1.65; color: var(--dim); }
/* Gegenbefund: gleich gross, gleiche Prominenz — nur andere Farbe */
.os-study__row--counter { background: rgba(255, 59, 74, .04); }
.os-study__row--counter .os-study__val { color: var(--c1); }
.os-study__row--counter strong { color: #fff; font-weight: 700; }

/* Risiko-Tabelle: der Befund IST die Warnung, deshalb durchgehend rot */
.os-study--risk .os-study__val { color: var(--c1); }
/* Wahrnehmungs-Gap: gefuehlt durchgestrichen, real in voller Staerke — die Luecke ist der Befund */
.os-study__felt {
  display: block; font-size: 12.5px; font-weight: 500;
  color: rgba(232, 234, 240, .45); text-decoration: line-through;
}
.os-study__real { display: block; font-size: 18px; font-weight: 700; margin-top: 5px; }

/* Die Kurve — Nutzen gegen Kontextvorsprung.
   Zwei Diagramme: der allgemeine Befund und unsere Lage darauf. Nebeneinander
   erst ab 1100px, weil jede Spalte darunter schmaler als die Scroll-Mindestbreite
   des SVG wuerde und beide Diagramme dann horizontal scrollen muessten. */
.os-curves { display: grid; gap: 20px; margin-top: 30px; }
@media (min-width: 1100px) { .os-curves { grid-template-columns: 1fr 1fr; } }
.os-curve {
  margin: 0; border: 1px solid var(--line); background: rgba(8, 8, 14, .55);
  display: flex; flex-direction: column;
}
.os-curve__label {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .24em;
  color: rgba(232, 234, 240, .42); padding: 15px 22px 0;
}
/* Unter ~460px wird die Beschriftung unlesbar klein, deshalb scrollt das Diagramm
   in seinem eigenen Container statt die Seite breit zu machen. */
.os-curve__scroll { overflow-x: auto; }
.os-curve__svg {
  display: block; width: 100%; min-width: 460px; height: auto;
  font-family: var(--font-body);
  /* Einspaltig fuellt sonst ein 560er viewBox die ganze Sektionsbreite und die
     Beschriftung skaliert auf ueber 20px mit. Deckel plus Zentrierung halten die
     Schriftgroesse in beiden Layouts vergleichbar. */
  max-width: 720px; margin-inline: auto;
}
.os-curve__cap {
  font-size: 13.2px; line-height: 1.75; color: var(--dim);
  margin: 0; padding: 14px 22px 20px;
}

/* Philosophie — fuenf tragende Saeulen */
.os-pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 14px;
}
.os-pillar {
  background: var(--surface); border: 1px solid var(--line);
  padding: 28px 26px 30px; position: relative;
  transition: background .3s, transform .35s cubic-bezier(.2, .7, .2, 1);
}
.os-pillar::before {
  content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px;
  background: rgba(79, 216, 255, .45);
}
/* Die Zwang-Saeule ist die deterministische — gleiche Farbcodierung wie Ebene 01 */
.os-pillar--red::before { background: var(--c1); }
.os-pillar:hover { background: #0e0e18; transform: translateY(-4px); }
.os-pillar__tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em;
  color: rgba(232, 234, 240, .42);
}
.os-pillar__title {
  font-family: var(--font-head); font-size: 14.5px; font-weight: 400; letter-spacing: .01em;
  color: #fff; margin: 14px 0 12px;
}
.os-pillar__desc { font-size: 14px; line-height: 1.7; color: var(--dim); margin: 0; }

/* Vier Leistungsfelder */
.os-fields {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.os-field {
  background: var(--surface); padding: 26px 30px;
  display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: baseline;
  transition: background .3s;
}
.os-field:hover { background: #0e0e18; }
.os-field__num { font-family: var(--font-mono); font-size: 12px; color: var(--c2); }
.os-field__name {
  font-family: var(--font-head); font-size: 15px; font-weight: 400; letter-spacing: .01em;
  color: #fff; margin: 0 0 10px;
}
.os-field__desc {
  grid-column: 2; font-size: 14.3px; line-height: 1.7; color: var(--dim); margin: 0;
}

/* Zwei Ebenen */
.os-layers {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.os-layer { background: var(--surface); padding: 34px 30px; position: relative; }
.os-layer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
}
.os-layer--hard::before { background: var(--c1); }
.os-layer--soft::before { background: rgba(79, 216, 255, .5); }
.os-layer__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; color: rgba(232, 234, 240, .42); }
.os-layer__title {
  font-family: var(--font-head); font-size: 17px; font-weight: 400;
  margin: 16px 0 14px; color: #fff;
}
.os-layer__desc { font-size: 14.5px; line-height: 1.75; color: var(--dim); margin: 0; }

/* Modell */
.os-model {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.os-model__item { background: var(--surface); padding: 32px 30px; }
.os-model__tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; color: var(--c2);
}
.os-model__desc { font-size: 14.5px; line-height: 1.75; color: var(--dim); margin: 16px 0 0; }

/* Versiegeltes Zugangs-Gate */
.os-gate {
  margin-top: 64px; border: 1px solid var(--line);
  background: rgba(8, 8, 14, .7); position: relative; overflow: hidden;
}
.os-gate__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 24px; border-bottom: 1px solid var(--line); font-family: var(--font-mono);
}
.os-gate__bar-left { font-size: 10px; letter-spacing: .35em; color: rgba(232, 234, 240, .4); }
.os-gate__bar-right { font-size: 10px; letter-spacing: .25em; color: var(--c1); }
.os-gate__caret { animation: nvcBlink 1.1s step-end infinite; }
.os-gate__body { padding: 48px 32px 42px; text-align: center; }
.os-gate__text {
  font-size: 15px; line-height: 1.75; color: rgba(238, 241, 248, .78);
  max-width: 560px; margin: 0 auto;
}
.os-gate__seal {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin: 34px 0 20px;
}
.os-gate__hatch {
  flex: 0 1 130px; height: 26px;
  background: repeating-linear-gradient(115deg,
    rgba(255, 59, 74, .32) 0 5px, transparent 5px 11px);
}
.os-gate__cta {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .15em; font-weight: 700;
  padding: 15px 32px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 2px;
  color: rgba(232, 234, 240, .45); background: rgba(255, 255, 255, .02);
  cursor: not-allowed; user-select: none; white-space: nowrap;
}
.os-gate__status {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .35em; color: var(--c1);
}
.os-gate__fallback {
  font-size: 13.5px; color: var(--dim); margin: 26px 0 0;
}

/* ---------- LEISTUNGEN ---------- */
.leistungen { padding: 130px 40px 90px; }
.leistungen .section-head { margin-bottom: 64px; }

.svc-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.svc-card {
  background: var(--surface); padding: 40px 32px; position: relative;
  transition: background .3s, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
.svc-card:hover {
  background: #0e0e18; transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(79, 216, 255, .25);
}
.svc-card--red:hover {
  box-shadow: 0 16px 44px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 59, 74, .25);
}
.svc-card__top {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 60px;
}
.svc-card__num { font-family: var(--font-mono); font-size: 12px; color: var(--c2); }
.svc-card__title {
  font-family: var(--font-head); font-size: 15.5px; font-weight: 400; letter-spacing: .04em;
  margin: 0 0 14px; color: #fff;
}
.svc-card__desc { font-size: 14.5px; line-height: 1.7; color: var(--dim); margin: 0; }

/* orchestrator (spans 2 cols) */
.orch {
  grid-column: span 2; background: var(--surface);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.orch__head {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 28px 0;
}
.orch__label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .35em; color: rgba(232, 234, 240, .4);
}
.orch__svg { display: block; width: 100%; height: 100%; flex: 1; }

/* ---------- PROJEKTE ---------- */
.projekte { border-top: 1px solid var(--line); background: linear-gradient(to bottom, #07070d, #050508); }
.projekte__inner { padding: 110px 40px 100px; }
.projekte .section-head { margin-bottom: 20px; }

.ops { border: 1px solid var(--line); background: rgba(8, 8, 14, .7); position: relative; }
.ops__bar {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 24px;
  border-bottom: 1px solid var(--line); font-family: var(--font-mono);
}
.ops__bar-left { font-size: 10px; letter-spacing: .35em; color: rgba(232, 234, 240, .4); }
.ops__bar-right { font-size: 10px; letter-spacing: .25em; color: var(--c2); }
.ops__caret { animation: nvcBlink 1.1s step-end infinite; }
.ops__list { display: flex; flex-direction: column; }

.op-row {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: start;
  padding: 34px 24px; border-bottom: 1px solid var(--line); position: relative;
  border-left: 2px solid transparent; transition: background .3s, border-left-color .3s;
}
.op-row:hover {
  background: linear-gradient(90deg, rgba(79, 216, 255, .06), rgba(79, 216, 255, .015) 40%, transparent);
  border-left-color: var(--c2);
}

/* NOVACORE-OS sits above the delivered projects: it is the system they were
   built with, not another entry in the list. Red keeps it on the same colour
   code as the deterministic layer in the OS section. */
.op-row--flagship {
  border-left-width: 3px; border-left-color: var(--c1);
  border-bottom-color: rgba(255, 59, 74, .22);
  background: linear-gradient(90deg, rgba(255, 59, 74, .075), rgba(255, 59, 74, .02) 45%, transparent);
}
.op-row--flagship:hover {
  border-left-color: var(--c1);
  background: linear-gradient(90deg, rgba(255, 59, 74, .12), rgba(255, 59, 74, .035) 45%, transparent);
}
.op-row--flagship .op-row__num { color: var(--c1); }
.op-row--flagship .op-row__badge {
  color: #050508; background: var(--c1); border-color: var(--c1); font-weight: 700;
}
.op-row__flag {
  display: block; margin-bottom: 10px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .28em; color: var(--c1);
}
.op-row--flagship .op-row__name {
  font-size: 25px; letter-spacing: .05em;
  text-shadow: 0 0 26px rgba(255, 59, 74, .3);
}
.op-row--flagship .op-row__desc { color: rgba(232, 234, 240, .72); }
.op-row--flagship .op-row__corner--tr,
.op-row--flagship .op-row__corner--br { border-color: rgba(255, 59, 74, .55); }
.op-row__jump {
  margin-top: 8px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em;
  color: rgba(255, 59, 74, .8); transition: color .25s;
}
.op-row__jump:hover { color: #fff; }
.op-row__meta { display: flex; flex-direction: column; gap: 10px; padding-top: 2px; font-family: var(--font-mono); }
.op-row__num { font-size: 13px; color: var(--c2); letter-spacing: .1em; }
.op-row__badge {
  font-size: 9.5px; letter-spacing: .2em; color: var(--c1);
  border: 1px solid rgba(255, 59, 74, .3); padding: 3px 8px; text-align: center;
}
.op-row__name {
  font-family: var(--font-head); font-size: 18px; font-weight: 400; letter-spacing: .03em;
  margin: 0; color: #fff;
}
.op-row__desc { font-size: 15px; line-height: 1.7; color: var(--dim); margin: 12px 0 0; max-width: 620px; }
.op-row__tags { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding-top: 2px; }
.op-tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .15em; color: rgba(232, 234, 240, .45);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); padding: 4px 10px;
  white-space: nowrap; transition: color .25s, border-color .25s;
}
.op-tag:hover { color: #fff; border-color: var(--c2); }
.op-row__status {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .25em;
  color: rgba(232, 234, 240, .25); margin-top: 10px;
}
.op-row__open {
  margin-top: 8px; padding: 7px 9px; border: 1px solid rgba(79, 216, 255, .22); background: transparent;
  color: var(--c2); font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; cursor: pointer;
  transition: color .25s, background .25s, border-color .25s;
}
.op-row__open:hover, .op-row__open[aria-expanded="true"] {
  color: #fff; border-color: var(--c2); background: rgba(79, 216, 255, .07);
}
.case-file {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  margin: 2px 0 -10px; background: var(--line); border: 1px solid var(--line);
}
.case-file[hidden] { display: none; }
.case-file > div { padding: 18px 20px; background: rgba(5, 5, 8, .76); }
.case-file span {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em; color: var(--c1);
}
.case-file p { margin: 9px 0 0; color: var(--dim); font-size: 13px; line-height: 1.6; }
.op-row__corner { position: absolute; width: 14px; height: 14px; pointer-events: none; }
.op-row__corner--tr { top: 10px; right: 10px; border-top: 1px solid rgba(79, 216, 255, .4); border-right: 1px solid rgba(79, 216, 255, .4); }
.op-row__corner--br { bottom: 10px; right: 10px; border-bottom: 1px solid rgba(79, 216, 255, .4); border-right: 1px solid rgba(79, 216, 255, .4); }
.ops__foot {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 24px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .25em; color: rgba(232, 234, 240, .3);
}
.projekte__more { display: flex; justify-content: flex-end; margin-top: 28px; }
.ghost-link {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--dim);
  display: flex; align-items: center; gap: 10px; transition: color .25s;
}
.ghost-link:hover { color: var(--c2); }

/* ---------- classified case-file overlay ---------- */
.casefile {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 28px;
}
.casefile[hidden] { display: none; }
.casefile__backdrop {
  position: absolute; inset: 0; background: rgba(2, 2, 6, .82);
  opacity: 0; transition: opacity .4s ease;
}
@supports (backdrop-filter: blur(3px)) { .casefile__backdrop { backdrop-filter: blur(3px); } }
.casefile.is-open .casefile__backdrop { opacity: 1; }

.casefile__panel {
  position: relative; width: 100%; max-width: 720px; max-height: 86vh;
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(8, 8, 14, .96); border: 1px solid rgba(79, 216, 255, .35);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(14px) scale(.985); clip-path: inset(0 0 100% 0);
  transition: opacity .5s ease,
    transform .5s cubic-bezier(.2, .8, .2, 1),
    clip-path .55s cubic-bezier(.2, .8, .2, 1);
}
.casefile.is-open .casefile__panel { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* reticle brackets snap in from spread — mirrors the recon target lock */
.casefile__corner {
  position: absolute; width: 26px; height: 26px; border: 0 solid var(--c2); z-index: 4; pointer-events: none;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1) .12s, border-color .3s;
}
.casefile__corner--tl { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; transform: translate(-16px, -16px); }
.casefile__corner--tr { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; transform: translate(16px, -16px); }
.casefile__corner--bl { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; transform: translate(-16px, 16px); }
.casefile__corner--br { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; transform: translate(16px, 16px); }
.casefile.is-open .casefile__corner { transform: none; }
.casefile.is-live .casefile__corner { border-color: var(--c1); }

.casefile__hud {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 120% at 50% 30%, transparent 60%, rgba(2, 2, 6, .5) 100%),
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(to right, rgba(255, 255, 255, .02) 0 1px, transparent 1px 72px);
}
.casefile__sweep {
  position: absolute; left: 0; right: 0; top: -12%; height: 12%; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(79, 216, 255, .10), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .casefile.is-open .casefile__sweep { animation: nvcSweep 3.4s linear infinite; }
}
.casefile.is-live .casefile__sweep { display: none; }

.casefile__bar {
  position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--line); font-family: var(--font-mono);
}
.casefile__bar-left { font-size: 10px; letter-spacing: .3em; color: rgba(232, 234, 240, .5); }
.casefile__bar-left [data-cf-num] { color: var(--c2); }
.casefile__close {
  border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: rgba(232, 234, 240, .6);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; padding: 7px 11px; cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}
.casefile__close:hover { color: #fff; border-color: var(--c1); background: rgba(255, 59, 74, .08); }

.casefile__scroll { position: relative; z-index: 3; padding: 26px 28px 30px; overflow-y: auto; }
.casefile__status { font-family: var(--font-mono); font-size: 10px; letter-spacing: .32em; color: var(--c1); }
.casefile.is-live .casefile__status { color: var(--c2); }
.casefile__status::after { content: "▮"; margin-left: 5px; animation: nvcBlink 1.1s step-end infinite; }

.casefile__head { margin-top: 16px; }
.casefile__badge {
  display: inline-block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .2em; color: var(--c1);
  border: 1px solid rgba(255, 59, 74, .3); padding: 3px 9px;
}
.casefile__name {
  font-family: var(--font-head); font-size: 26px; font-weight: 400; letter-spacing: .03em; color: #fff;
  margin: 14px 0 0;
}
.casefile__desc { font-size: 14.5px; line-height: 1.7; color: var(--dim); margin: 12px 0 0; max-width: 60ch; }

.casefile__fields {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px;
  margin-top: 26px; background: var(--line); border: 1px solid var(--line);
}
.casefile__fields > div { padding: 18px 20px; background: rgba(5, 5, 8, .72); border-left: 2px solid rgba(79, 216, 255, .35); }
.casefile__fields span { font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em; color: var(--c1); }
.casefile__fields p { margin: 9px 0 0; color: var(--dim); font-size: 13px; line-height: 1.6; }

.casefile__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.casefile__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.casefile__status-line { font-family: var(--font-mono); font-size: 9px; letter-spacing: .25em; color: rgba(232, 234, 240, .3); }

@media (max-width: 560px) {
  .casefile { padding: 0; }
  .casefile__panel { max-width: 100%; max-height: 100%; height: 100%; border: 0; }
  .casefile__name { font-size: 22px; }
  .casefile__scroll { padding: 22px 20px 26px; }
  .casefile__fields { grid-template-columns: 1fr; }
}

/* ---------- VERIFIKATION / PROOF ---------- */
.proof { border-top: 1px solid var(--line); background: #050508; }
.proof__inner { padding: 110px 40px; }
.proof .section-head { margin-bottom: 52px; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }

.quality-gate, .artifact { border: 1px solid var(--line); background: rgba(8, 8, 14, .86); min-width: 0; }
/* the grid stretches both cards to the taller one — same trick as .artifact__foot
   below, so the release bar closes the card instead of leaving a gap under it */
.quality-gate { display: flex; flex-direction: column; }
.quality-gate__head, .artifact__head, .artifact__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 13px 18px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: rgba(232, 234, 240, .38);
}
.quality-gate__head, .artifact__head { border-bottom: 1px solid var(--line); }
.quality-gate__head span:last-child { color: var(--c1); }
.artifact__head span:last-child { color: var(--c2); }
.quality-gate__body { padding: 10px 18px; }
.gate-row {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .055);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
}
.gate-row:last-child { border-bottom: 0; }
.gate-row > span { color: rgba(232, 234, 240, .25); }
.gate-row strong { color: rgba(232, 234, 240, .72); font-weight: 500; }
.gate-row em {
  position: relative; padding-left: 15px; color: var(--c2); font-style: normal; opacity: 0;
  transform: translateX(-6px); transition: opacity .3s, transform .3s;
}
.gate-row em::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c2); box-shadow: 0 0 8px rgba(79, 216, 255, .7); transform: translateY(-50%);
}
/* same colour code as the OS section: red = deterministic (.os-layer--hard),
   cyan = probabilistic and reviewed (.os-layer--soft) */
.gate-row--forced em { color: var(--c1); }
.gate-row--forced em::before { background: var(--c1); box-shadow: 0 0 8px rgba(255, 59, 74, .7); }
.quality-gate.is-active .gate-row em { opacity: 1; transform: translateX(0); }
.quality-gate.is-active .gate-row:nth-child(1) em { transition-delay: .15s; }
.quality-gate.is-active .gate-row:nth-child(2) em { transition-delay: .3s; }
.quality-gate.is-active .gate-row:nth-child(3) em { transition-delay: .45s; }
.quality-gate.is-active .gate-row:nth-child(4) em { transition-delay: .6s; }
.quality-gate.is-active .gate-row:nth-child(5) em { transition-delay: .75s; }
.quality-gate__legend {
  display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 12px 18px 14px;
  border-top: 1px solid rgba(255, 255, 255, .055);
}
.gate-key {
  position: relative; padding-left: 14px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em;
  color: rgba(232, 234, 240, .38);
}
.gate-key::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%;
  background: var(--c2); transform: translateY(-50%);
}
.gate-key--forced::before { background: var(--c1); }
.quality-gate__result {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center; min-height: 102px; padding: 18px 22px;
  border-top: 1px solid var(--line); background: linear-gradient(90deg, rgba(79, 216, 255, .055), transparent);
}
.quality-gate__result div:first-child { display: flex; flex-direction: column; gap: 8px; }
.quality-gate__result span { font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em; color: var(--dim); }
.quality-gate__result strong {
  font-family: var(--font-head); font-size: 20px; letter-spacing: .12em; color: var(--c2);
  opacity: 0; transition: opacity .5s .95s;
}
.quality-gate.is-active .quality-gate__result strong { opacity: 1; }
.quality-gate__seal {
  display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(79, 216, 255, .4);
  color: var(--c2); font-family: var(--font-mono); font-size: 23px; opacity: 0; transform: scale(.75) rotate(-12deg);
  transition: opacity .4s 1.05s, transform .5s 1.05s cubic-bezier(.2, .8, .2, 1);
}
.quality-gate.is-active .quality-gate__seal { opacity: 1; transform: scale(1) rotate(0); }

.artifact { display: flex; flex-direction: column; }
.artifact__doc { flex: 1; margin: 18px; padding: 24px; border: 1px solid rgba(255, 255, 255, .1); background: #090910; }
.artifact__eyebrow { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .25em; color: var(--c1); }
.artifact__doc h3 { margin: 16px 0 24px; font-family: var(--font-head); font-size: 16px; line-height: 1.5; color: #fff; }
.artifact__doc dl { display: flex; flex-direction: column; gap: 0; margin: 0; }
.artifact__doc dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.artifact__doc dt { font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; color: rgba(232, 234, 240, .32); }
.artifact__doc dd { margin: 0; font-size: 13px; line-height: 1.55; color: var(--dim); }
.artifact__doc dd i { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--c2); }
.artifact__foot { margin-top: auto; border-top: 1px solid var(--line); font-size: 8px; }
.artifact__foot span:last-child { color: rgba(79, 216, 255, .55); text-align: right; }

/* ---------- AUFKLÄRUNG / RECON ---------- */
@keyframes nvcSweep   { 0% { top: -12%; } 100% { top: 108%; } }
@keyframes nvcEnhance { 0%, 100% { opacity: 0; } 15%, 45%, 85% { opacity: 1; } 30%, 65% { opacity: .2; } }

.recon { border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.recon__inner { padding: 110px 40px; position: relative; }
.recon .section-head { margin-bottom: 44px; }

/* feed monitor */
.recon-feed { border: 1px solid var(--line); background: rgba(8, 8, 14, .7); position: relative; }
.recon-feed__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 24px;
  border-bottom: 1px solid var(--line); font-family: var(--font-mono);
}
.recon-feed__bar-left { font-size: 10px; letter-spacing: .35em; color: rgba(232, 234, 240, .4); }
.recon-feed__bar--bottom { border-bottom: 0; border-top: 1px solid var(--line); }
.recon-feed__bar--bottom span { font-size: 10px; letter-spacing: .2em; color: rgba(232, 234, 240, .45); }
.recon-feed__bar--bottom [data-recon-alt] { color: var(--c2); }
.recon-feed__bar--bottom [data-recon-level] { color: var(--c1); }

/* viewport + zoom layers */
.recon-feed__viewport {
  position: relative; height: clamp(320px, 42vw, 470px); overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(79, 216, 255, .04), transparent 65%), #04040a;
}
/* slight overscale so the search pan never exposes the feed edges */
.recon-layers { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform: scale(1.14); }
.recon-layers text { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; }
.recon-layer {
  opacity: 0; transform: scale(.55); transform-box: view-box; transform-origin: 50% 50%;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .4s;
}
.recon-layer.is-active { opacity: 1; transform: scale(1); }
.recon-layer.is-past { opacity: 0; transform: scale(2.4); }

/* fixed HUD overlay (does not zoom) */
.recon-hud {
  position: absolute; inset: 0; pointer-events: none;
  background:
    /* vignette — darken the frame edges like an optical sensor */
    radial-gradient(ellipse 120% 120% at 50% 50%, transparent 56%, rgba(2, 2, 6, .6) 100%),
    /* scanlines — faint monitor rasterisation */
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px),
    /* existing HUD grid */
    repeating-linear-gradient(to right, rgba(255, 255, 255, .025) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .025) 0 1px, transparent 1px 80px);
}
/* procedural film grain blended onto the satellite art beneath the HUD */
.recon-hud::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px; opacity: .55; mix-blend-mode: soft-light;
}
@media (prefers-reduced-motion: no-preference) {
  .recon-hud::before { animation: nvcGrain 1.1s steps(4) infinite; }
}
@keyframes nvcGrain {
  0% { background-position: 0 0; }
  25% { background-position: -32px 18px; }
  50% { background-position: 22px -24px; }
  75% { background-position: -18px -14px; }
  100% { background-position: 16px 26px; }
}
.recon-hud__sweep {
  position: absolute; left: 0; right: 0; top: -12%; height: 10%;
  background: linear-gradient(to bottom, transparent, rgba(79, 216, 255, .08), transparent);
  animation: nvcSweep 3.4s linear infinite;
}
.recon.is-locked .recon-hud__sweep { display: none; }
.recon-reticle {
  position: absolute; top: 50%; left: 50%; width: 190px; height: 150px;
  transform: translate(-50%, -50%); opacity: 1;
  transition: opacity .6s ease,
    width .7s cubic-bezier(.2, .8, .2, 1),
    height .7s cubic-bezier(.2, .8, .2, 1);
}
/* once the target is resolved the brackets sweep out into the container corners,
   framing the whole team feed instead of just vanishing */
.recon-feed.is-lock-resolved .recon-reticle { width: 100%; height: 100%; }
.recon-reticle__corner {
  position: absolute; width: 22px; height: 22px; border: 0 solid var(--c2);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .3s;
}
.recon-reticle__corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.recon-reticle__corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.recon-reticle__corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.recon-reticle__corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
/* while the sequence runs the brackets sit wide open; on lock they snap shut */
.recon--armed:not(.is-locked) .recon-reticle__corner--tl { transform: translate(-28px, -28px); }
.recon--armed:not(.is-locked) .recon-reticle__corner--tr { transform: translate(28px, -28px); }
.recon--armed:not(.is-locked) .recon-reticle__corner--bl { transform: translate(-28px, 28px); }
.recon--armed:not(.is-locked) .recon-reticle__corner--br { transform: translate(28px, 28px); }
.recon.is-locked .recon-reticle__corner { border-color: var(--c1); }
.recon-reticle__axis { position: absolute; top: 50%; left: 50%; background: rgba(79, 216, 255, .5); transition: background .3s; }
.recon-reticle__axis--h { width: 56px; height: 1px; transform: translate(-50%, -50%); }
.recon-reticle__axis--v { width: 1px; height: 56px; transform: translate(-50%, -50%); }
.recon.is-locked .recon-reticle__axis { background: rgba(255, 59, 74, .65); }
.recon-enhance {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .35em; color: var(--c2); opacity: 0;
}
.recon-feed.is-enhancing .recon-enhance { animation: nvcEnhance .3s linear; }
.recon-lock {
  position: absolute; left: 50%; bottom: 26px; transform: translate(-50%, 0);
  display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center;
  font-family: var(--font-mono); transition: opacity .6s ease, transform .6s ease;
}
/* once the operators are identified, the badge has done its job — let it drift away
   so it doesn't sit on top of the dossiers the visitor actually came to see */
.recon-feed.is-lock-resolved .recon-lock {
  opacity: 0; transform: translate(-50%, 14px); pointer-events: none;
}
.recon-lock__badge {
  font-size: 12px; letter-spacing: .3em; color: var(--c1);
  border: 1px solid rgba(255, 59, 74, .45); padding: 6px 14px; background: rgba(5, 5, 8, .72);
}
.recon-lock__sub { font-size: 9px; letter-spacing: .3em; color: var(--c2); }
.recon--armed:not(.is-locked) .recon-lock { opacity: 0; }

/* payoff: operator dossiers */
.recon-dossiers { margin-top: 18px; border: 1px solid var(--line); background: rgba(8, 8, 14, .7); }
.recon-dossiers__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; color: rgba(232, 234, 240, .4);
}
.recon-dossiers__head span:last-child { color: var(--c1); }
.recon-dossiers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.dossier {
  position: relative; background: var(--surface); padding: 22px 22px 20px;
  display: flex; flex-direction: column; gap: 14px;
  transition: opacity .5s, transform .5s cubic-bezier(.2, .8, .2, 1), filter .5s;
}
.recon--armed:not(.is-locked) .dossier { opacity: 0; transform: translateY(14px); filter: blur(6px); }
.recon.is-locked .dossier:nth-child(2) { transition-delay: .12s; }
.recon.is-locked .dossier:nth-child(3) { transition-delay: .24s; }
.dossier__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--font-mono); }
.dossier__id { font-size: 9.5px; letter-spacing: .18em; color: var(--c2); }
.dossier__status {
  display: flex; align-items: center; gap: 7px;
  font-size: 9px; letter-spacing: .22em; color: rgba(232, 234, 240, .5);
}
.dossier__status i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--c2);
  box-shadow: 0 0 8px rgba(79, 216, 255, .7); animation: nvcPulse 2s infinite;
}
.dossier__name {
  margin: 0; font-family: var(--font-head); font-size: 15px; font-weight: 400;
  letter-spacing: .04em; color: #fff;
}
.dossier__meta { display: flex; flex-direction: column; margin: 0; }
.dossier__meta > div { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.dossier__meta dt { font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; color: rgba(232, 234, 240, .32); }
.dossier__meta dd { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--dim); }
.dossier__link {
  margin-top: auto; align-self: flex-start;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--c2);
  border: 1px solid rgba(79, 216, 255, .25); padding: 8px 12px;
  transition: color .25s, border-color .25s, background .25s;
}
.dossier__link:hover { color: #fff; border-color: var(--c2); background: rgba(79, 216, 255, .07); }

/* Einsatzdoktrin (übernommen aus ÜBER) */
.recon-doctrine {
  margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.recon-doctrine__label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .35em; color: var(--c1); margin-bottom: 20px;
}
.recon-doctrine__text { font-size: 16px; line-height: 1.75; color: var(--dim); margin: 0 0 18px; }
.recon-doctrine__motto {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .15em; color: var(--c2);
  margin-top: 30px; font-style: italic;
}
.doctrine { border: 1px solid var(--line); background: rgba(8, 8, 14, .82); }
.doctrine__head {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .22em; color: rgba(232, 234, 240, .4);
}
.doctrine__list { display: flex; flex-direction: column; }
.doctrine-row {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 20px 18px; border-bottom: 1px solid var(--line); border-left: 2px solid transparent;
  transition: background .3s, border-color .3s, padding-left .3s;
}
.doctrine-row:hover { padding-left: 24px; border-left-color: var(--c2); background: rgba(79, 216, 255, .045); }
.doctrine-row:nth-child(even):hover { border-left-color: var(--c1); background: rgba(255, 59, 74, .035); }
.doctrine-row__num { font-family: var(--font-mono); font-size: 11px; color: var(--c2); }
.doctrine-row:nth-child(even) .doctrine-row__num { color: var(--c1); }
.doctrine-row h3 { margin: 0; font-family: var(--font-head); font-size: 13px; font-weight: 400; color: #fff; }
.doctrine-row p { margin: 7px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--dim); }
.doctrine-row__mark {
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .18em; color: rgba(232, 234, 240, .28);
  writing-mode: vertical-rl;
}
.doctrine__flow {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px;
  padding: 13px 16px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .16em; color: rgba(232, 234, 240, .32);
}
.doctrine__flow b { color: var(--c2); font-weight: 400; }

/* ---------- KONTAKT / FOOTER ---------- */
.kontakt { border-top: 1px solid var(--line); background: var(--surface); position: relative; overflow: hidden; }
.kontakt__inner { padding: 110px 40px 60px; text-align: center; position: relative; z-index: 2; }
/* closing mark — big enough that the filaments actually read (see .nav__mark) */
.kontakt__mark {
  display: block; width: 168px; height: 168px;
  margin: 0 auto 34px; overflow: visible;
}
.kontakt__mark .nc-wrap {
  display: block; width: 100%; height: 100%;
  transform-origin: 50% 50%; will-change: transform;
}
.kontakt__mark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.kontakt__title { font-family: var(--font-head); font-size: clamp(28px, 4vw, 52px); margin: 0 0 24px; color: #fff; }
.kontakt__lead { font-size: 16px; color: var(--dim); max-width: 520px; margin: 0 auto 40px; line-height: 1.7; }
.kontakt__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-btn {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .15em; padding: 16px 34px;
  border-radius: 2px; transition: background .25s, border-color .25s, color .25s;
}
.contact-btn--primary { color: #050508; background: #fff; font-weight: 700; }
.contact-btn--primary:hover { background: var(--c2); color: #050508; }
.contact-btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.contact-btn--ghost:hover { border-color: var(--c2); color: var(--c2); }
.kontakt__foot {
  margin-top: 90px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.kontakt__foot span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: rgba(232, 234, 240, .35);
}
.kontakt__foot .kontakt__qed { font-size: 12px; letter-spacing: .25em; color: rgba(232, 234, 240, .45); font-style: italic; }
.kontakt__foot .dim { opacity: .4; }

/* ---------- scanlines overlay ---------- */
.scanlines {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(0, 0, 0, .12) 3px, rgba(0, 0, 0, .12) 4px);
}
.scanbeam {
  position: fixed; left: 0; right: 0; top: 0; height: 120px; z-index: 91; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(79, 216, 255, .03), transparent);
  animation: nvcScan 7s linear infinite;
}

/* ---------- reveal defaults (progressively enhanced by JS) ---------- */
[data-reveal] { will-change: opacity, transform; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { padding: 12px 20px; }
  .nav.is-compact { padding: 8px 20px; }
  .nav__brand { gap: 10px; }
  .nav__mark { width: 44px; height: 44px; }
  .nav.is-compact .nav__mark { width: 30px; height: 30px; }
  .nav__logo { font-size: 19px; }
  .nav.is-compact .nav__logo { font-size: 15px; }
  /* the panel hangs off the nav's measured height (--nav-h), so it stays flush
     with the bottom edge in both the expanded and the compact nav */
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 5, 8, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; transform: translateY(-140%);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { text-align: center; margin-top: 12px; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px; background: none;
    border: 0; cursor: pointer; padding: 8px;
  }
  .nav__toggle span { width: 24px; height: 2px; background: var(--text); display: block; transition: .25s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .svc-grid { grid-template-columns: 1fr; }
  .os-vibe { grid-template-columns: 1fr; }
  .os-layers { grid-template-columns: 1fr; }
  .os-model { grid-template-columns: 1fr; }
  .os { padding-left: 20px; padding-right: 20px; }
  .orch { grid-column: span 1; }
  .orch__svg { aspect-ratio: 760 / 300; height: auto; }
  .recon-doctrine > *, .proof-grid > * { min-width: 0; }
  .proof-grid { grid-template-columns: 1fr; }
  .recon-doctrine { grid-template-columns: 1fr; gap: 44px; }
  .recon-dossiers__grid { grid-template-columns: 1fr; }
  .recon-feed__viewport { height: clamp(300px, 56vw, 420px); }
  .op-row { grid-template-columns: 1fr; gap: 16px; }
  .op-row__meta { flex-direction: row; align-items: center; }
  .op-row__tags { align-items: flex-start; }

  .leistungen, .projekte__inner, .proof__inner, .recon__inner, .kontakt__inner { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 720px) {
  /* Studientabelle bricht zu gestapelten Zeilen um — niemals horizontal scrollen */
  .os-study__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 18px; }
  .os-study__row--head {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    clip-path: inset(50%); overflow: hidden; white-space: nowrap;
  }
  .os-study__val { font-size: 20px; }
  .os-study__val--text { font-size: 14.5px; }
  .os-study__val small { margin-top: 3px; }
  .os-curve__cap { padding: 0 18px 18px; }
}

@media (max-width: 560px) {
  .hero__title { font-size: clamp(30px, 9.5vw, 46px); }
  .hero__subtitle { font-size: 11px; letter-spacing: .22em; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .leistungen { padding: 104px 20px 70px; }
  .leistungen .section-head { margin-bottom: 44px; }
  .projekte__inner, .proof__inner, .recon__inner { padding-top: 84px; padding-bottom: 76px; }
  .kontakt__inner { padding-top: 84px; }
  .svc-card { padding: 32px 24px; }
  .svc-card__top { margin-bottom: 44px; }
  .os-vibe__item { padding: 28px 22px; }
  .os-pillar { padding: 24px 22px 26px; }
  /* Nummer ueber den Namen statt daneben — 42px Rinne kostet auf 360px zu viel Textbreite */
  .os-field { grid-template-columns: 1fr; gap: 8px; padding: 24px 22px; }
  .os-field__desc { grid-column: 1; }
  .op-row { padding: 26px 18px; }
  .op-row__open { padding: 10px 12px; }
  .ops__bar { gap: 12px; }
  .orch__head { flex-wrap: wrap; gap: 4px 12px; padding: 18px 20px 0; }
  .ops__bar-left { font-size: 9px; letter-spacing: .14em; }
  .ops__bar-right { display: none; }
  .doctrine__head { flex-wrap: wrap; }
  .quality-gate__head, .artifact__head { flex-wrap: wrap; }
  .kontakt__actions .contact-btn { width: 100%; text-align: center; }
  .kontakt__foot { margin-top: 64px; }
  .kontakt__mark { width: 116px; height: 116px; margin-bottom: 26px; }
  .case-file { grid-template-columns: 1fr; }
  .quality-gate__head, .artifact__head { align-items: flex-start; }
  .gate-row { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; font-size: 8.5px; letter-spacing: .08em; }
  .artifact__doc { margin: 12px; padding: 18px; }
  .artifact__doc dl > div { grid-template-columns: 1fr; gap: 7px; }
  .artifact__foot span:last-child { display: none; }
  .doctrine__head { align-items: flex-start; }
  .doctrine-row { grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 18px 14px; }
  .doctrine-row:hover { padding-left: 18px; }
  .doctrine-row__mark { display: none; }
  .doctrine__flow { gap: 7px; letter-spacing: .1em; }
  .recon-feed__bar-left { font-size: 9px; letter-spacing: .14em; }
  .recon-reticle { width: 140px; height: 110px; }
  .recon-reticle__axis--h { width: 44px; }
  .recon-reticle__axis--v { height: 44px; }
  .recon-lock__badge { font-size: 10px; letter-spacing: .2em; }
  .recon-dossiers__head { flex-wrap: wrap; letter-spacing: .18em; }
  .dossier { padding: 20px 18px 18px; }
  .kontakt__foot { justify-content: center; text-align: center; }
  .os { padding-top: 84px; padding-bottom: 84px; }
  .os__band { height: clamp(160px, 34vw, 220px); margin-bottom: 32px; }
  .os-effect { padding: 30px 24px; }
  .os-gate__hatch { display: none; }
  .os-gate__body { padding: 36px 20px 32px; }
  .os-gate__cta { width: 100%; text-align: center; }
  .os-gate__bar-right { display: none; }
  .os-gate__bar-left { font-size: 9px; letter-spacing: .18em; }
  .os-block { margin-top: 56px; }
  .os-layer { padding: 28px 22px; }
  .os-block__punch { padding-left: 14px; }
}

@media (max-width: 360px) {
  .hero__subtitle { font-size: 10px; letter-spacing: .16em; }
  .section-kicker { letter-spacing: .28em; }
  .section-title { font-size: clamp(24px, 8vw, 46px); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}
