/* =====================================================================
   NOG Technologien – Designsystem
   Konzept: "Technisches Datenblatt". Jede Seite ist ein Blatt aus einer
   Anlagendokumentation: Zeichnungskopf, Registermarken, Maßketten.
   Graphit (Nacht im Leitstand) wechselt mit Aluminium (Gehäuse, Papier).
   Signalorange = Not-Halt / Handlung, Datencyan = Messwerte.
   ===================================================================== */
:root {
  color-scheme: dark;
  --graphite-0: #07090d;
  --graphite-1: #0d1117;
  --graphite-2: #141a22;
  --graphite-3: #1e2631;
  --rule: #263140;
  --rule-2: #364253;
  --alu-0: #dce1e5;
  --alu-1: #cdd3d9;
  --alu-2: #b9c1c9;
  --alu-ink: #0f141b;
  --alu-ink-2: #3b4652;
  --alu-rule: #a9b2bc;
  --text: #e8edf2;
  --text-2: #a6b1be;
  --text-3: #6d7a89;
  --signal: #ff5a1f;
  --signal-2: #ff7a47;
  --signal-ink: #1a0800;
  --data: #6fd3ff;
  --ok: #43d48f;
  --warn: #ffb547;
  --crit: #ff4d4d;

  --f-display: "Archivo", "Arial Narrow", "Segoe UI", sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 7rem; --s-10: 10rem;
  --t-xs: .72rem; --t-sm: .875rem; --t-md: 1rem; --t-lg: 1.1875rem; --t-xl: 1.5rem;
  --t-2xl: clamp(1.7rem, 3.2vw, 2.6rem);
  --t-3xl: clamp(2.2rem, 5vw, 4.2rem);
  --t-hero: clamp(2.3rem, 8vw, 8rem);
  --t-phero: clamp(2.2rem, 6.6vw, 6.4rem);

  --maxw: 1320px;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--graphite-0);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--t-md);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--signal-ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
main > section > .wrap > *, .svc-block > *, .svc-layout > * { min-width: 0; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.mono { font-family: var(--f-mono); }
.tnum { font-variant-numeric: tabular-nums; }
.eyebrow {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
  display: inline-flex; align-items: center; gap: var(--s-3);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--signal); }
.eyebrow b { color: var(--text); font-weight: 500; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--text-2); max-width: 44rem; line-height: 1.55; }
.prose { max-width: 42rem; display: grid; gap: var(--s-4); color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Grain + Registermarken ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-4%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.reg { position: absolute; width: 14px; height: 14px; pointer-events: none; opacity: .5; }
.reg::before, .reg::after { content: ""; position: absolute; background: currentColor; }
.reg::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.reg::after { top: 50%; left: 0; right: 0; height: 1px; }
@media (max-width: 760px) { .reg { display: none; } .hero h1 { font-size: 9.4vw; } }
.reg.tl { top: 18px; left: 18px; } .reg.tr { top: 18px; right: 18px; } .reg.bl { bottom: 18px; left: 18px; } .reg.br { bottom: 18px; right: 18px; }

/* ---------- Scroll-Fortschritt ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: var(--signal); }

/* ---------- Header ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.solid { background: rgba(7, 9, 13, .82); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-bottom-color: var(--rule); }
.site-head.hide { transform: translateY(-110%); }
.head-in { display: flex; align-items: center; gap: var(--s-5); height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; flex: none; }
.brand-signet { width: 34px; height: 42px; flex: none; overflow: visible; }
.brand-signet .hex, .brand-signet .trace { fill: none; stroke: #f2f5f8; stroke-width: 7; stroke-linejoin: round; stroke-linecap: round; }
.brand-signet .node { fill: var(--signal); }
.brand:hover .brand-signet .node { animation: nodePulse 1s var(--ease); }
@keyframes nodePulse { 50% { transform: scale(1.5); } }
.brand-signet .node { transform-box: fill-box; transform-origin: center; }
.brand-word { height: 15px; width: auto; }
.brand-sub { display: block; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: clamp(.8rem, 1.6vw, 1.6rem); margin-left: auto; }
.nav a {
  position: relative; text-decoration: none; font-family: var(--f-display); font-stretch: 80%; font-variation-settings: "wdth" 80;
  font-weight: 600; font-size: .92rem; letter-spacing: .02em; text-transform: uppercase; color: var(--text-2);
  padding-block: 6px; overflow: hidden; display: inline-block;
}
.nav a .roll { display: block; transition: transform .45s var(--ease); }
.nav a .roll::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--signal); }
.nav a:hover .roll { transform: translateY(-100%); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--signal); }
.head-cta { flex: none; }
.lang { display: inline-flex; border: 1px solid var(--rule-2); flex: none; }
.lang a { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; padding: .38rem .55rem; text-decoration: none; color: var(--text-3); transition: color .2s, background .2s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: var(--text); color: var(--graphite-0); }
.head-in > .lang { margin-left: var(--s-2); }
.menu-foot .lang { justify-self: start; margin-bottom: var(--s-3); }
@media (max-width: 1100px) { .head-in > .lang { margin-left: auto; } .burger { margin-left: var(--s-3); } }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--rule-2); background: transparent; border-radius: 2px; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:nth-child(1) { top: 17px; } .burger i:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1100px) { .head-in .nav, .head-in .head-cta { display: none; } .burger { display: block; } }

/* Mobil-/Overlay-Menü */
.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--graphite-1);
  padding-top: calc(var(--head-h) + env(safe-area-inset-top, 0px) + 24px); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  padding-left: var(--gl); padding-right: var(--gr);
  display: grid; align-content: space-between; gap: var(--s-6);
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease-io), visibility 0s linear .7s;
  overflow-y: auto;
}
.menu.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.menu ol { list-style: none; margin: 0; padding: 0; display: grid; }
.menu li { border-bottom: 1px solid var(--rule); overflow: hidden; }
.menu li a {
  display: flex; justify-content: space-between; align-items: baseline; padding-block: .55rem; text-decoration: none;
  font-family: var(--f-display); font-weight: 700; font-stretch: 118%; font-variation-settings: "wdth" 118;
  font-size: clamp(1.8rem, 8vw, 3.4rem); letter-spacing: -.03em; line-height: 1.05;
  transition: color .25s;
}
.menu li a small { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--text-3); letter-spacing: .1em; font-weight: 400; }
.menu li a:hover, .menu li a[aria-current="page"] { color: var(--signal); }
.menu-foot { display: grid; gap: var(--s-2); font-family: var(--f-mono); font-size: var(--t-sm); color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: .82rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  padding: .95rem 1.35rem; border-radius: 2px; text-decoration: none; cursor: pointer; overflow: hidden;
  border: 1px solid var(--rule-2); background: transparent; color: var(--text);
  transform: translate(var(--mx), var(--my)); transition: transform .25s ease-out, border-color .3s, color .3s;
  isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--text); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover { color: var(--graphite-0); border-color: var(--text); }
.btn:hover::before { transform: none; }
.btn .lbl { display: inline-block; position: relative; overflow: hidden; }
.btn .lbl > span { display: inline-block; transition: transform .5s var(--ease); }
.btn .lbl > span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; }
.btn:hover .lbl > span { transform: translateY(-100%); }
.btn svg { width: 15px; height: 15px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-signal { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.btn-signal::before { background: var(--text); }
.btn-signal:hover { color: var(--graphite-0); }
.btn-sm { padding: .62rem .95rem; font-size: .74rem; }
.is-light .btn { border-color: var(--alu-ink); color: var(--alu-ink); }
.is-light .btn::before { background: var(--alu-ink); }
.is-light .btn:hover { color: var(--alu-0); }
.is-light .btn-signal { color: var(--signal-ink); border-color: var(--signal); }

/* ---------- Seitenwechsel & Loader ---------- */
.wipe { position: fixed; inset: 0; z-index: 150; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.wipe i { background: var(--graphite-1); transform: scaleY(0); transform-origin: 50% 0; border-right: 1px solid var(--rule); }
.wipe i:nth-child(3) { background: var(--signal); }
.wipe.cover i { transform: scaleY(1); }
.loader {
  position: fixed; inset: 0; z-index: 160; background: var(--graphite-0); display: grid; place-items: center;
  padding-left: var(--gl); padding-right: var(--gr);
}
.loader-in { display: grid; justify-items: center; gap: var(--s-5); width: min(420px, 100%); }
.loader svg { width: 86px; height: 106px; overflow: visible; }
.loader .hex, .loader .trace { fill: none; stroke: #f2f5f8; stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; }
.loader .node { fill: var(--signal); transform-box: fill-box; transform-origin: center; }
.loader-log { width: 100%; font-family: var(--f-mono); font-size: .72rem; color: var(--text-3); line-height: 1.8; min-height: 5.4em; }
.loader-log b { color: var(--ok); font-weight: 500; }
.loader-bar { width: 100%; height: 2px; background: var(--rule); position: relative; overflow: hidden; }
.loader-bar i { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
.loader-pct { font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: 3rem; letter-spacing: -.04em; line-height: 1; }

/* ---------- Sektionen ---------- */
.sec { position: relative; padding-block: var(--s-9); }
.sec-sm { padding-block: var(--s-8); }
.is-light { background: var(--alu-0); color: var(--alu-ink); }
.is-light .eyebrow { color: var(--alu-ink-2); }
.is-light .eyebrow b { color: var(--alu-ink); }
.is-light .lead, .is-light .prose { color: var(--alu-ink-2); }
.is-light .prose strong { color: var(--alu-ink); }
.is-signal { background: var(--signal); color: var(--signal-ink); }
.is-panel { background: var(--graphite-1); }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-6) var(--s-7); align-items: end; margin-bottom: var(--s-8); }
.sec-head h2 { font-size: var(--t-3xl); margin-top: var(--s-4); }
.sec-head .lead { justify-self: end; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; margin-bottom: var(--s-7); } .sec-head .lead { justify-self: start; } .sec { padding-block: var(--s-8); } }

/* Zeichnungskopf (Titelblock) */
.titleblock {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--rule); margin-top: var(--s-8);
  font-family: var(--f-mono); font-size: .68rem; color: var(--text-3);
}
.titleblock div { padding: .55rem .75rem; border-right: 1px solid var(--rule); display: grid; gap: 2px; min-width: 0; }
.titleblock div:last-child { border-right: 0; }
.titleblock b { font-weight: 500; color: var(--text); font-size: .74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-light .titleblock { border-color: var(--alu-rule); color: var(--alu-ink-2); }
.is-light .titleblock div { border-color: var(--alu-rule); }
.is-light .titleblock b { color: var(--alu-ink); }
@media (max-width: 760px) { .titleblock { grid-template-columns: repeat(3, minmax(0, 1fr)); } .titleblock div:nth-child(3) { border-right: 0; } .titleblock div:nth-child(-n+3) { border-bottom: 1px solid var(--rule); } }

/* ---------- Split-Text ---------- */
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: inline-block; will-change: transform; }
.char { display: inline-block; will-change: transform; }
.word { display: inline-block; }

/* ---------- Page Hero (Unterseiten) ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(var(--head-h) + var(--s-9)); padding-bottom: var(--s-8); border-bottom: 1px solid var(--rule); }
.phero-media { position: absolute; inset: 0; z-index: -2; }
.phero-media img { width: 100%; height: 115%; object-fit: cover; opacity: .55; will-change: transform; }
.phero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,13,.75) 0%, rgba(7,9,13,.55) 40%, var(--graphite-0) 100%), linear-gradient(90deg, rgba(7,9,13,.85), transparent 70%); }
.phero h1 { font-size: var(--t-phero); font-stretch: 118%; font-variation-settings: "wdth" 118; font-weight: 800; letter-spacing: -.045em; line-height: .92; margin-top: var(--s-5); }
.phero h1 em { font-style: normal; color: var(--signal); }
.phero .lead { margin-top: var(--s-6); }
.phero-meta { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-7); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--rule); }
.phero-meta div { display: grid; gap: 3px; }
.phero-meta span:first-child { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.phero-meta span:last-child { font-family: var(--f-mono); font-size: var(--t-sm); }
.crumbs { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--text-3); letter-spacing: .08em; display: flex; gap: .5rem; flex-wrap: wrap; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--signal); }

/* ---------- Home Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 980px); display: grid; align-items: end; padding-top: calc(var(--head-h) + var(--s-8)); padding-bottom: var(--s-7); border-bottom: 1px solid var(--rule); }
.hero canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
.hero-top { display: flex; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }
.hero h1 { font-size: var(--t-hero); font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -.05em; line-height: .9; }
.hero h1 .o { color: var(--signal); }
.hero-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: end; }
.hero-copy { display: grid; gap: var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hud {
  position: relative; aspect-ratio: 21 / 9; max-width: 100%; overflow: hidden; border: 1px solid var(--rule-2);
  clip-path: inset(0 0 0 0);
}
.hud img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.hud::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); pointer-events: none; mix-blend-mode: multiply; }
.hud-c { position: absolute; width: 18px; height: 18px; border: 2px solid var(--signal); z-index: 2; }
.hud-c.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; } .hud-c.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.hud-c.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; } .hud-c.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.hud-x { position: absolute; z-index: 2; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; pointer-events: none; transition: transform .25s ease-out; }
.hud-x::before, .hud-x::after { content: ""; position: absolute; background: rgba(255,255,255,.8); }
.hud-x::before { left: 50%; top: 0; bottom: 0; width: 1px; } .hud-x::after { top: 50%; left: 0; right: 0; height: 1px; }
.hud-x i { position: absolute; inset: 12px; border: 1px solid var(--signal); border-radius: 50%; animation: spinSlow 6s linear infinite; border-top-color: transparent; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.hud-read { position: absolute; z-index: 2; left: 14px; bottom: 12px; font-family: var(--f-mono); font-size: .66rem; color: rgba(255,255,255,.85); letter-spacing: .06em; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.hud-read b { color: var(--signal); font-weight: 500; }
.hero-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.hero-specs div { padding: var(--s-4) var(--s-4) 0 0; display: grid; gap: 4px; }
.hero-specs .v { font-family: var(--f-display); font-stretch: 120%; font-variation-settings: "wdth" 120; font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -.03em; }
.hero-specs .k { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--text-3); letter-spacing: .06em; }
.scroll-hint { position: absolute; right: var(--gr); bottom: var(--s-6); writing-mode: vertical-rl; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); display: flex; align-items: center; gap: .8rem; }
.scroll-hint::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--signal), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: 50% 0; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 960px) { .hero-row { grid-template-columns: 1fr; } .hero-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .scroll-hint { display: none; } }

/* ---------- Laufband ---------- */
.band { overflow: hidden; border-block: 1px solid var(--rule); }
.band.is-signal { border-color: transparent; }
.band-track { display: flex; width: max-content; will-change: transform; }
.band-item { display: inline-flex; align-items: center; gap: var(--s-5); padding: var(--s-4) var(--s-5); white-space: nowrap; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: clamp(1.4rem, 3.4vw, 2.8rem); letter-spacing: -.035em; text-transform: uppercase; }
.band-item::after { content: ""; width: .5em; height: .5em; background: currentColor; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.band.small .band-item { font-family: var(--f-mono); font-weight: 400; font-size: var(--t-sm); letter-spacing: .04em; text-transform: none; color: var(--text-3); padding-block: var(--s-3); }
.band.small .band-item::after { width: 5px; height: 5px; background: var(--signal); }

/* ---------- Manifest (Wort-Scrub) ---------- */
.manifest p { font-family: var(--f-display); font-weight: 600; font-stretch: 105%; font-variation-settings: "wdth" 105; font-size: clamp(1.6rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -.03em; max-width: 26ch; }
.manifest .word { opacity: .16; transition: opacity .2s; }
.manifest .word.on { opacity: 1; }
.manifest .word.hl.on { color: var(--signal); }
.manifest-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--s-7); }
.manifest-side { display: grid; gap: var(--s-4); align-content: start; font-family: var(--f-mono); font-size: var(--t-sm); color: var(--alu-ink-2); }
@media (max-width: 860px) { .manifest-grid { grid-template-columns: 1fr; } }

/* ---------- Horizontale Leistungsstrecke ---------- */
.hscroll { position: relative; overflow: hidden; }
.hs-track { display: flex; gap: var(--s-5); padding-left: var(--gl); padding-right: var(--gr); will-change: transform; }
.hs-card {
  position: relative; flex: none; width: min(78vw, 560px); display: grid; grid-template-rows: auto 1fr; background: var(--graphite-1);
  border: 1px solid var(--rule); text-decoration: none; overflow: hidden; min-width: 0;
}
.hs-card .media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; max-width: 100%; }
.hs-card .media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.35) contrast(1.05); }
.hs-card:hover .media img { transform: scale(1.12); filter: none; }
.hs-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(7,9,13,.85)); }
.hs-card .code { position: absolute; z-index: 2; left: var(--s-5); top: var(--s-5); font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .14em; color: #fff; background: rgba(7,9,13,.6); padding: .3rem .55rem; border: 1px solid rgba(255,255,255,.25); }
.hs-card .body { padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.hs-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.hs-card p { color: var(--text-2); font-size: var(--t-sm); }
.hs-card .more { font-family: var(--f-mono); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--signal); display: inline-flex; gap: .5rem; align-items: center; margin-top: var(--s-2); }
.hs-intro { flex: none; width: min(80vw, 420px); display: grid; align-content: end; gap: var(--s-4); padding-bottom: var(--s-4); }
.hs-intro h2 { font-size: var(--t-3xl); }
.hs-count { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--text-3); letter-spacing: .1em; }
@media (max-width: 860px) {
  .hs-track { flex-direction: column; transform: none !important; }
  .hs-card, .hs-intro { width: 100%; }
}

/* ---------- Karten, Raster ---------- */
.grid { display: grid; gap: var(--s-5); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
.cell { border: 1px solid var(--rule); padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; position: relative; min-width: 0; background: var(--graphite-0); transition: background .3s, border-color .3s; }
.cell:hover { background: var(--graphite-1); border-color: var(--rule-2); }
.cell h3 { font-size: var(--t-xl); }
.cell p { color: var(--text-2); font-size: var(--t-sm); }
.cell .k { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.is-light .cell { background: transparent; border-color: var(--alu-rule); }
.is-light .cell:hover { background: var(--alu-1); }
.is-light .cell p { color: var(--alu-ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { font-family: var(--f-mono); font-size: .68rem; padding: .22rem .55rem; border: 1px solid var(--rule-2); color: var(--text-2); border-radius: 1px; }
.is-light .tag { border-color: var(--alu-rule); color: var(--alu-ink-2); }

/* Spotlight-Karten */
.spot { --px: 50%; --py: 50%; }
.spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(340px circle at var(--px) var(--py), rgba(255,90,31,.10), transparent 60%); opacity: 0; transition: opacity .3s; }
.spot:hover::after { opacity: 1; }

/* Bild-Reveal */
.reveal-img { position: relative; overflow: hidden; max-width: 100%; }
.reveal-img img { width: 100%; height: 100%; object-fit: cover; }
.reveal-img .cover { position: absolute; inset: 0; background: var(--signal); transform-origin: 100% 50%; transform: scaleX(0); z-index: 2; pointer-events: none; }

/* ---------- Service-Detail (Leistungen) ---------- */
.svc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-8); }
.svc-index { position: sticky; top: calc(var(--head-h) + 24px); align-self: start; display: grid; gap: 2px; }
.svc-index a { display: grid; grid-template-columns: 3.2rem 1fr; gap: .5rem; padding: .55rem 0; text-decoration: none; font-size: var(--t-sm); color: var(--text-3); border-bottom: 1px solid var(--rule); transition: color .3s; }
.svc-index a span:first-child { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; }
.svc-index a.on { color: var(--text); }
.svc-index a.on span:first-child { color: var(--signal); }
.svc-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); padding-block: var(--s-8); border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--head-h) + 20px); }
.svc-block:first-child { padding-top: 0; }
.svc-block .reveal-img { aspect-ratio: 4 / 3; }
.svc-block h2 { font-size: clamp(1.3rem, 5.2vw, 2.6rem); margin-block: var(--s-3) var(--s-4); }
@media (min-width: 761px) { .svc-block h2 { font-size: clamp(1.4rem, 2.4vw, 2.4rem); } }
.svc-block .prose { font-size: var(--t-md); }
.checks { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-2); font-size: var(--t-sm); color: var(--text-2); }
.checks li::before { content: ""; width: 12px; height: 12px; margin-top: .35em; border: 1.5px solid var(--signal); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); background: linear-gradient(var(--signal), var(--signal)) center / 4px 4px no-repeat; }
.is-light .checks li { color: var(--alu-ink-2); }
.deliver { margin-top: var(--s-5); border-top: 1px solid var(--rule); padding-top: var(--s-4); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-5); }
.deliver div { display: grid; gap: 2px; }
.deliver span:first-child { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; }
.deliver span:last-child { font-size: var(--t-sm); }
@media (max-width: 1000px) { .svc-layout { grid-template-columns: 1fr; } .svc-index { display: none; } }
@media (max-width: 760px) { .svc-block { grid-template-columns: 1fr; gap: var(--s-5); } }

/* Explosionszeichnung mit Hotspots */
.explode { position: relative; max-width: 100%; }
.explode img { width: 100%; height: auto; }
.hot { position: absolute; width: 0; height: 0; }
.hot button { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--signal); cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255,90,31,.5); animation: hotPing 2.2s infinite; }
.hot button::after { content: "+"; font-family: var(--f-mono); color: var(--signal-ink); font-size: 1rem; line-height: 1; transition: transform .3s; }
.hot.open button::after { transform: rotate(45deg); }
@keyframes hotPing { 70% { box-shadow: 0 0 0 14px rgba(255,90,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,31,0); } }
.hot .tip { position: absolute; left: 22px; top: -14px; width: max-content; max-width: min(240px, 60vw); background: var(--alu-ink); color: var(--alu-0); padding: .55rem .75rem; font-size: .78rem; line-height: 1.45; opacity: 0; transform: translateX(-6px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); z-index: 3; }
.hot .tip b { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--signal); font-weight: 500; margin-bottom: 2px; }
.hot.left .tip { left: auto; right: 22px; transform: translateX(6px); }
.hot.open .tip, .hot:hover .tip { opacity: 1; transform: none; }
.explode-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: center; }
@media (max-width: 900px) { .explode-grid { grid-template-columns: 1fr; } }

/* ---------- Stapelkarten (Ablauf) ---------- */
.stack { display: grid; gap: var(--s-5); }
.stack-card {
  position: sticky; top: calc(var(--head-h) + 28px); min-height: 340px; background: var(--graphite-1); border: 1px solid var(--rule-2);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-6); padding: var(--s-6); transform-origin: 50% 0; will-change: transform;
}
.stack-card:nth-child(2) { top: calc(var(--head-h) + 48px); } .stack-card:nth-child(3) { top: calc(var(--head-h) + 68px); } .stack-card:nth-child(4) { top: calc(var(--head-h) + 88px); }
.stack-card .n { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: clamp(4rem, 10vw, 8rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--signal); letter-spacing: -.05em; }
.stack-card h3 { font-size: var(--t-2xl); margin-bottom: var(--s-4); }
.stack-card .dur { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--text-3); letter-spacing: .1em; text-transform: uppercase; margin-top: var(--s-3); display: block; }
.stack-card ul { margin: var(--s-4) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem var(--s-5); font-size: var(--t-sm); color: var(--text-2); }
.stack-card li::before { content: "→ "; color: var(--signal); font-family: var(--f-mono); }
@media (max-width: 760px) { .stack-card { grid-template-columns: 1fr; padding: var(--s-5); gap: var(--s-3); min-height: 0; position: relative; top: auto !important; } .stack-card ul { grid-template-columns: 1fr; } }

/* ---------- Leitstand-Komponenten ---------- */
.dash { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-3); }
.panel { background: var(--graphite-1); border: 1px solid var(--rule); padding: var(--s-4) var(--s-5); min-width: 0; position: relative; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.panel-h b { color: var(--text); font-weight: 500; }
.sim { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; color: var(--warn); border: 1px solid rgba(255,181,71,.45); padding: .12rem .45rem; }
.kpis { grid-column: span 12; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.kpi { display: grid; gap: 2px; }
.kpi .num { font-family: var(--f-display); font-weight: 700; font-stretch: 118%; font-variation-settings: "wdth" 118; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi .num small { font-family: var(--f-mono); font-size: .75rem; color: var(--text-3); margin-left: 4px; letter-spacing: 0; font-weight: 400; }
.kpi .d { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ok); }
.kpi .d.warn { color: var(--warn); }
.p-chart { grid-column: span 8; } .p-radar { grid-column: span 4; } .p-log { grid-column: span 7; } .p-pol { grid-column: span 5; } .p-zones { grid-column: span 5; } .p-term { grid-column: span 7; }
.chart { width: 100%; height: 220px; display: block; }
.radar { width: 100%; aspect-ratio: 1; max-width: 320px; margin-inline: auto; display: block; }
.legend { display: flex; gap: var(--s-4); font-family: var(--f-mono); font-size: var(--t-xs); color: var(--text-3); text-transform: none; letter-spacing: 0; }
.legend i { display: inline-block; width: 10px; height: 2px; margin-right: 6px; vertical-align: 3px; }
.log { font-family: var(--f-mono); font-size: .74rem; line-height: 1.8; height: 15rem; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; -webkit-mask-image: linear-gradient(0deg, #000 70%, transparent); mask-image: linear-gradient(0deg, #000 70%, transparent); }
.log div { display: grid; grid-template-columns: 5.4rem 3.4rem minmax(0, 1fr); gap: var(--s-3); white-space: nowrap; animation: logIn .45s ease-out; }
.log div span:last-child { overflow: hidden; text-overflow: ellipsis; }
.log .t { color: var(--text-3); font-variant-numeric: tabular-nums; }
.sev-info { color: var(--data); } .sev-warn { color: var(--warn); } .sev-crit { color: var(--crit); } .sev-ok { color: var(--ok); }
@keyframes logIn { from { transform: translateY(8px); opacity: 0; } }
.pols { display: grid; gap: var(--s-3); }
.pol { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--s-3); font-size: var(--t-sm); color: var(--text-2); }
.pol b { font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.bar { grid-column: span 2; height: 4px; background: var(--rule); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--data); transition: width 1.4s var(--ease); }
.bar.am i { background: var(--warn); }
.zones { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.zc { aspect-ratio: 1; background: var(--rule); transition: background .6s, box-shadow .6s; max-width: 100%; }
.zc.l1 { background: rgba(111,211,255,.25); } .zc.l2 { background: rgba(111,211,255,.6); } .zc.hot { background: var(--signal); box-shadow: 0 0 10px rgba(255,90,31,.6); }
.zone-names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-4); margin-top: var(--s-4); font-family: var(--f-mono); font-size: .68rem; color: var(--text-3); }
@media (max-width: 1000px) { .p-chart, .p-radar, .p-log, .p-pol, .p-zones, .p-term { grid-column: span 12; } .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Interaktives Terminal ---------- */
.term { background: #05070a; border: 1px solid var(--rule-2); font-family: var(--f-mono); font-size: .8rem; line-height: 1.7; min-width: 0; display: grid; grid-template-rows: auto 1fr; }
.term-bar { display: flex; align-items: center; gap: .45rem; padding: .55rem .85rem; border-bottom: 1px solid var(--rule); background: var(--graphite-1); }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule-2); }
.term-bar i:nth-child(1) { background: var(--crit); } .term-bar i:nth-child(2) { background: var(--warn); } .term-bar i:nth-child(3) { background: var(--ok); }
.term-bar span { margin-left: auto; color: var(--text-3); font-size: .7rem; }
.term-out { padding: var(--s-4); height: 21rem; overflow-y: auto; white-space: pre-wrap; word-break: break-word; color: var(--text-2); }
.term-out .p { color: var(--signal); } .term-out .ok { color: var(--ok); } .term-out .warn { color: var(--warn); } .term-out .crit { color: var(--crit); } .term-out .dim { color: var(--text-3); } .term-out .w { color: var(--text); } .term-out .d { color: var(--data); }
.term-in { display: flex; gap: .5rem; align-items: center; padding: .6rem var(--s-4); border-top: 1px solid var(--rule); }
.term-in label { color: var(--signal); flex: none; }
.term-in input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; outline: none; caret-color: var(--signal); }
.term-hints { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 var(--s-4) var(--s-4); }
.term-hints button { font-family: var(--f-mono); font-size: .7rem; background: var(--graphite-2); border: 1px solid var(--rule); color: var(--text-2); padding: .25rem .55rem; cursor: pointer; }
.term-hints button:hover { border-color: var(--signal); color: var(--text); }
.caret { display: inline-block; width: .55em; height: 1.05em; background: var(--signal); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Architektur (Purdue) ---------- */
.arch { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: start; }
.arch-wrap { overflow-x: auto; border: 1px solid var(--rule); background: var(--graphite-1); padding: var(--s-4); position: sticky; top: calc(var(--head-h) + 24px); }
.arch-svg { width: 100%; min-width: 560px; height: auto; display: block; }
.arch-svg .lv rect.box { fill: var(--graphite-0); stroke: var(--rule-2); transition: stroke .4s, fill .4s; }
.arch-svg .lv.on rect.box { stroke: var(--signal); fill: #160d09; }
.arch-svg .lv.dmz rect.box { stroke-dasharray: 5 4; }
.arch-svg text { font-family: var(--f-mono); font-size: 11.5px; fill: var(--text-2); }
.arch-svg .lid { fill: var(--signal); font-size: 10.5px; letter-spacing: .1em; }
.arch-svg .lname { fill: var(--text); font-family: var(--f-body); font-size: 14px; font-weight: 600; }
.arch-svg .node { fill: var(--graphite-2); stroke: var(--rule-2); }
.arch-svg .nt { font-size: 10px; fill: var(--text-2); }
.arch-svg .cd { stroke: var(--data); stroke-width: 1.5; fill: none; }
.arch-svg .cd.flow { stroke-dasharray: 3 7; animation: flow 1.2s linear infinite; }
.arch-svg .cd.am { stroke: var(--signal); }
.arch-svg .fw { fill: var(--graphite-0); stroke: var(--signal); }
.arch-svg .fwt { fill: var(--signal); font-size: 9.5px; }
.arch-svg .atk { stroke: var(--crit); stroke-width: 2; fill: none; stroke-dasharray: 6 5; }
.arch-svg .blk { fill: var(--crit); font-size: 10px; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.arch-steps { display: grid; gap: var(--s-2); }
.arch-step { padding: var(--s-5); border: 1px solid var(--rule); transition: border-color .4s, background .4s; cursor: pointer; }
.arch-step.on { border-color: var(--signal); background: var(--graphite-1); }
.arch-step .code { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--signal); letter-spacing: .1em; }
.arch-step h3 { font-family: var(--f-body); font-weight: 600; font-stretch: 100%; font-variation-settings: normal; letter-spacing: 0; font-size: var(--t-lg); margin-block: .3rem .4rem; }
.arch-step p { color: var(--text-2); font-size: var(--t-sm); }
@media (max-width: 1000px) { .arch { grid-template-columns: 1fr; } .arch-wrap { position: relative; top: 0; } }

/* Angriffspfad */
.chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.chain-step { padding: var(--s-5) var(--s-4); border-left: 1px solid var(--alu-rule); display: grid; gap: var(--s-2); align-content: start; position: relative; min-width: 0; }
.chain-step:first-child { border-left: 0; }
.chain-step .st { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; }
.chain-step h3 { font-size: var(--t-lg); font-stretch: 100%; font-variation-settings: normal; }
.chain-step p { font-size: var(--t-sm); color: var(--alu-ink-2); }
.chain-step.stop { background: var(--alu-ink); color: var(--alu-0); }
.chain-step.stop p { color: var(--alu-2); }
.chain-step.stop .st { color: var(--signal); }
.chain-step.dead { opacity: .35; text-decoration: line-through; text-decoration-color: var(--signal); }
.chain-line { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--alu-rule); }
.chain-line i { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 900px) { .chain { grid-template-columns: 1fr; } .chain-step { border-left: 0; border-top: 1px solid var(--alu-rule); } .chain-line { display: none; } }

/* Normen */
.std { position: relative; border: 1px solid var(--rule); padding: var(--s-5); min-height: 220px; display: grid; align-content: space-between; gap: var(--s-4); overflow: hidden; background: var(--graphite-0); }
.std .id { font-family: var(--f-display); font-weight: 800; font-stretch: 120%; font-variation-settings: "wdth" 120; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.03em; }
.std p { font-size: var(--t-sm); color: var(--text-2); }
.std .fill { position: absolute; inset: 0; background: var(--signal); transform: translateY(101%); transition: transform .6s var(--ease); z-index: 0; }
.std > * { position: relative; z-index: 1; }
.std:hover .fill { transform: none; }
.std:hover { color: var(--signal-ink); }
.std:hover p, .std:hover .eyebrow { color: var(--signal-ink); }
.std:hover .eyebrow::before { background: var(--signal-ink); }

/* ---------- Tools ---------- */
.tools-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s-7); align-items: start; }
.tool-nav { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 2px; }
.tool-nav button { text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--rule); padding: .7rem 0; cursor: pointer; display: grid; grid-template-columns: 2.6rem 1fr; gap: .5rem; color: var(--text-3); font-size: var(--t-sm); transition: color .3s, padding .3s var(--ease); }
.tool-nav button span:first-child { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; }
.tool-nav button:hover { color: var(--text); padding-left: 6px; }
.tool-nav button[aria-selected="true"] { color: var(--text); }
.tool-nav button[aria-selected="true"] span:first-child { color: var(--signal); }
.tools-layout .tool-select { display: none; }
.tool { border: 1px solid var(--rule); background: var(--graphite-1); }
.tool-h { padding: var(--s-5) var(--s-6); border-bottom: 1px solid var(--rule); display: grid; gap: var(--s-2); }
.tool-h h2 { font-size: var(--t-2xl); }
.tool-h p { color: var(--text-2); max-width: 48rem; }
.tool-b { padding: var(--s-6); display: grid; gap: var(--s-5); }
.priv { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ok); display: inline-flex; gap: .5rem; align-items: center; }
.priv::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.field { display: grid; gap: .45rem; min-width: 0; }
.field label, .flabel { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.input, .field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--graphite-0); border: 1px solid var(--rule-2); border-radius: 1px; padding: .8rem .9rem; width: 100%; min-width: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 8rem; resize: vertical; font-family: var(--f-mono); font-size: .82rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(255,90,31,.15); }
.mono-in { font-family: var(--f-mono) !important; }
.row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: end; }
.row > .field { flex: 1 1 200px; }
.out { background: var(--graphite-0); border: 1px solid var(--rule); padding: var(--s-4); font-family: var(--f-mono); font-size: .8rem; word-break: break-all; color: var(--text); min-height: 3rem; position: relative; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.kv div { background: var(--graphite-0); padding: .8rem .9rem; display: grid; gap: 3px; min-width: 0; }
.kv span:first-child { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; }
.kv span:last-child { font-family: var(--f-mono); font-size: .88rem; word-break: break-all; }
.meter { height: 8px; background: var(--rule); position: relative; overflow: hidden; }
.meter i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); transition: transform .6s var(--ease), background .3s; background: var(--crit); }
.meter-lbl { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: var(--t-xs); color: var(--text-2); }
.chk { display: inline-flex; gap: .5rem; align-items: center; font-size: var(--t-sm); color: var(--text-2); cursor: pointer; }
.chk input { accent-color: var(--signal); width: 16px; height: 16px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--rule-2); }
.seg button { background: transparent; border: 0; border-right: 1px solid var(--rule-2); padding: .5rem .8rem; cursor: pointer; font-family: var(--f-mono); font-size: .74rem; color: var(--text-2); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--signal); color: var(--signal-ink); }
.cvss-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-5); }
.cvss-score { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.cvss-score .big { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 4rem; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sev-pill { font-family: var(--f-mono); font-size: .78rem; padding: .3rem .7rem; border: 1px solid currentColor; text-transform: uppercase; letter-spacing: .1em; }
.list-check { display: grid; gap: .5rem; }
.list-check div { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: .5rem; font-size: var(--t-sm); padding: .6rem .8rem; background: var(--graphite-0); border: 1px solid var(--rule); }
.list-check .y { color: var(--ok); } .list-check .n { color: var(--crit); } .list-check .m { color: var(--warn); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--rule); }
table.tbl { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 560px; }
.tbl th, .tbl td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--rule); }
.tbl th { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-weight: 500; background: var(--graphite-0); position: sticky; top: 0; }
.tbl td:first-child { font-family: var(--f-mono); color: var(--signal); white-space: nowrap; }
.tbl tr:hover td { background: var(--graphite-2); }
.quiz { display: grid; gap: var(--s-4); }
.q { display: grid; gap: .6rem; padding-bottom: var(--s-4); border-bottom: 1px solid var(--rule); }
.q p { font-weight: 500; }
@media (max-width: 1000px) {
  .tools-layout { grid-template-columns: 1fr; gap: var(--s-5); }
  .tool-nav { display: none; }
  .tools-layout .tool-select { display: grid; position: sticky; top: calc(var(--head-h) + 8px); z-index: 5; }
  .tool-b { padding: var(--s-5); } .tool-h { padding: var(--s-5); }
}
@media (max-width: 640px) { .cvss-grid { grid-template-columns: 1fr; } .cvss-score .big { font-size: 3rem; } }

/* ---------- News / Blog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--s-6); }
.filters button { background: transparent; border: 1px solid var(--rule-2); color: var(--text-2); padding: .5rem .9rem; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: all .25s; }
.filters button:hover { border-color: var(--text); color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--rule); text-decoration: none; background: var(--graphite-1); margin-bottom: var(--s-6); overflow: hidden; }
.feature .media { overflow: hidden; min-height: 320px; position: relative; }
.feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .media img { transform: scale(1.05); }
.feature .body { padding: var(--s-6); display: grid; gap: var(--s-4); align-content: center; }
.feature h2 { font-size: var(--t-2xl); }
.feature p { color: var(--text-2); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.post { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--rule); text-decoration: none; background: var(--graphite-0); transition: border-color .3s, transform .5s var(--ease); min-width: 0; }
.post:hover { border-color: var(--rule-2); transform: translateY(-4px); }
.post .media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; max-width: 100%; }
.post .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); filter: grayscale(.3); }
.post:hover .media img { transform: scale(1.06); filter: none; }
.post .body { padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.post h3 { font-size: var(--t-lg); font-stretch: 105%; font-variation-settings: "wdth" 105; line-height: 1.2; letter-spacing: -.01em; }
.post p { font-size: var(--t-sm); color: var(--text-2); }
.post .src { font-family: var(--f-mono); font-size: .68rem; color: var(--text-3); margin-top: auto; }
.post.news .media { display: none; }
.post.news { border-left: 3px solid var(--signal); }
.meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-family: var(--f-mono); font-size: .7rem; color: var(--text-3); letter-spacing: .04em; align-items: center; }
.cat { color: var(--signal); text-transform: uppercase; letter-spacing: .1em; }
.post.hide { display: none; }
@media (max-width: 1000px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feature { grid-template-columns: 1fr; } .feature .media { min-height: 220px; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } .feature .body { padding: var(--s-5); } }

/* Artikel */
.article-hero { padding-top: calc(var(--head-h) + var(--s-8)); padding-bottom: var(--s-6); }
.article-hero h1 { font-size: clamp(2rem, 5vw, 4rem); font-stretch: 112%; font-variation-settings: "wdth" 112; margin-block: var(--s-5); max-width: 22ch; }
.article-hero .lead { margin-bottom: var(--s-5); }
.article-cover { aspect-ratio: 21 / 9; overflow: hidden; border: 1px solid var(--rule); max-width: 100%; }
.article-cover img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.article { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-8); padding-block: var(--s-8); }
.toc { position: sticky; top: calc(var(--head-h) + 24px); align-self: start; display: grid; gap: 2px; }
.toc a { font-size: var(--t-sm); color: var(--text-3); text-decoration: none; padding: .45rem 0 .45rem .8rem; border-left: 1px solid var(--rule); transition: color .3s, border-color .3s; }
.toc a.on { color: var(--text); border-left-color: var(--signal); }
.body-text { max-width: 44rem; display: grid; gap: var(--s-5); font-size: 1.06rem; color: var(--text-2); line-height: 1.75; }
.body-text h2 { font-size: var(--t-xl); color: var(--text); margin-top: var(--s-5); scroll-margin-top: calc(var(--head-h) + 24px); font-stretch: 105%; font-variation-settings: "wdth" 105; }
.body-text strong { color: var(--text); font-weight: 600; }
.body-text ul, .body-text ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.body-text a { color: var(--signal); text-underline-offset: 3px; }
.callout { border: 1px solid var(--rule-2); border-left: 3px solid var(--signal); background: var(--graphite-1); padding: var(--s-5); display: grid; gap: var(--s-2); font-size: var(--t-md); }
.callout b { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--signal); font-weight: 500; }
.sources { border-top: 1px solid var(--rule); padding-top: var(--s-5); font-size: var(--t-sm); display: grid; gap: .4rem; }
.sources a { color: var(--text-2); word-break: break-word; }
.read-progress { position: fixed; left: 0; right: 0; top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); height: 2px; z-index: 98; background: var(--data); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 1000px) { .article { grid-template-columns: 1fr; gap: var(--s-5); } .toc { display: none; } }

/* ---------- Unternehmen ---------- */
.values { counter-reset: v; }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--alu-rule); }
.facts-row div { padding: var(--s-5) var(--s-4) var(--s-5) 0; display: grid; gap: 4px; border-right: 1px solid var(--alu-rule); padding-left: var(--s-4); }
.facts-row div:first-child { padding-left: 0; }
.facts-row div:last-child { border-right: 0; }
.facts-row .v { font-family: var(--f-display); font-weight: 800; font-stretch: 120%; font-variation-settings: "wdth" 120; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -.03em; }
.facts-row .k { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--alu-ink-2); }
@media (max-width: 800px) { .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts-row div:nth-child(2) { border-right: 0; } .facts-row div:nth-child(3) { padding-left: 0; } }
.radar-loc { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; }
.radar-loc canvas { width: 100%; height: 100%; display: block; }
.loc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
@media (max-width: 860px) { .loc-grid { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s-5) 0; display: flex; justify-content: space-between; gap: var(--s-4); font-weight: 600; font-size: var(--t-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: .35em; background: linear-gradient(var(--signal), var(--signal)) center / 100% 2px no-repeat, linear-gradient(var(--signal), var(--signal)) center / 2px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .a { padding-bottom: var(--s-5); color: var(--text-2); max-width: 46rem; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); }
.c-card { border: 1px solid var(--rule); padding: var(--s-5); display: grid; gap: var(--s-3); background: var(--graphite-1); }
.c-card address { font-style: normal; line-height: 1.75; }
.c-card .big { font-family: var(--f-display); font-weight: 700; font-stretch: 110%; font-variation-settings: "wdth" 110; font-size: clamp(1.1rem, 2.2vw, 1.5rem); word-break: break-all; letter-spacing: -.02em; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.form .full { grid-column: span 2; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; font-size: var(--t-sm); padding: .45rem .85rem; border: 1px solid var(--rule-2); cursor: pointer; transition: all .2s; color: var(--text-2); }
.chip input:checked + span { border-color: var(--signal); background: rgba(255,90,31,.12); color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.form-msg { grid-column: span 2; border: 1px solid var(--ok); background: rgba(67,212,143,.06); padding: var(--s-5); display: grid; gap: var(--s-3); }
.form-msg pre { margin: 0; white-space: pre-wrap; font-family: var(--f-mono); font-size: .78rem; color: var(--text-2); max-height: 14rem; overflow: auto; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: var(--s-6); } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .form .full, .form-msg { grid-column: span 1; } }

/* ---------- Rechtstexte ---------- */
.legal-text { max-width: 46rem; display: grid; gap: var(--s-5); color: var(--text-2); }
.legal-text h2 { font-size: var(--t-xl); color: var(--text); margin-top: var(--s-5); font-stretch: 105%; font-variation-settings: "wdth" 105; }
.legal-text h3 { font-size: var(--t-lg); color: var(--text); font-stretch: 100%; font-variation-settings: normal; letter-spacing: 0; }
.legal-text a { color: var(--signal); }
.legal-text address { font-style: normal; }
.note { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--warn); border: 1px solid rgba(255,181,71,.4); padding: .7rem .9rem; }

/* ---------- CTA + Footer ---------- */
.cta { position: relative; overflow: hidden; padding-block: var(--s-10) var(--s-9); text-align: left; }
.cta h2 { font-size: clamp(3rem, 13vw, 13rem); font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -.06em; line-height: .86; }
.cta h2 .sig { color: var(--signal); }
.cta-row { display: flex; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; align-items: end; margin-top: var(--s-7); }
.site-foot { background: var(--graphite-1); border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom, 0px); position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--s-6); padding-block: var(--s-8) var(--s-7); }
.foot-grid h4 { font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-4); font-stretch: 100%; font-variation-settings: normal; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: var(--t-sm); color: var(--text-2); }
.foot-grid a { text-decoration: none; transition: color .2s; } .foot-grid a:hover { color: var(--signal); }
.foot-brand p { color: var(--text-2); font-size: var(--t-sm); max-width: 26rem; margin-top: var(--s-4); }
.foot-word-wrap { position: relative; overflow: hidden; border-top: 1px solid var(--rule); padding-block: var(--s-6); }
.foot-legal { border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-4); font-family: var(--f-mono); font-size: .7rem; color: var(--text-3); }
.foot-legal a { text-decoration: none; } .foot-legal a:hover { color: var(--signal); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: span 2; } }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, calc(100% + 48px)); visibility: hidden; background: var(--graphite-2); border: 1px solid var(--signal); color: var(--text); font-family: var(--f-mono); font-size: var(--t-sm); padding: .75rem 1.1rem; z-index: 210; transition: transform .45s var(--ease); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* Startzustand nur, wenn JS + GSAP aktiv sind (sonst bleibt alles sichtbar) */
.js-anim [data-fade] { opacity: 0; transform: translateY(30px); }

/* Reduzierte Bewegung: per JS gesetzt (Systemeinstellung oder Schalter im Footer) */
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
.reduce-motion .grain { display: none; }
.reduce-motion [data-fade] { opacity: 1 !important; transform: none !important; }
.reduce-motion .manifest .word { opacity: 1; }
.hscroll:not(.is-pinned) .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-4); scrollbar-width: thin; }
.hscroll:not(.is-pinned) .hs-card { scroll-snap-align: start; }
.motion-toggle { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.motion-toggle:hover { color: var(--signal); }

/* Inline-Icons */
.ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.12em; }
.hs-card .more .ico { width: 14px; height: 14px; }

/* Mobil-Feinschliff */
.arch-wrap::before { content: attr(data-hint); display: none; font-family: var(--f-mono); font-size: var(--t-xs); color: var(--text-3); letter-spacing: .08em; margin-bottom: var(--s-3); position: sticky; left: 0; }
@media (max-width: 760px) {
  .arch-wrap::before { display: block; }
  .hot button { width: 20px; height: 20px; left: -10px; top: -10px; }
  .hot button::after { font-size: .8rem; }
  .hot .tip { max-width: 52vw; font-size: .72rem; }
}

/* Footer-Logo (Signet + Wortmarke) */
.foot-lockup { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 3vw, 3rem); text-decoration: none; }
.foot-signet { height: clamp(72px, 12vw, 190px); width: auto; overflow: visible; }
.foot-signet .hex, .foot-signet .trace { fill: none; stroke: #f2f5f8; stroke-width: 7; stroke-linejoin: round; stroke-linecap: round; }
.foot-signet .node { fill: var(--signal); transform-box: fill-box; transform-origin: center; }
.foot-word-img { display: block; overflow: hidden; min-width: 0; }
.foot-word-img img { width: 100%; max-width: 900px; height: auto; display: block; }
.foot-claim { font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); line-height: 1.8; text-align: right; }
.foot-lockup:hover .foot-signet .node { animation: nodePulse 1s var(--ease); }
@media (max-width: 760px) { .foot-lockup { grid-template-columns: auto minmax(0, 1fr); } .foot-claim { grid-column: span 2; text-align: left; } }
