/* ==========================================================================
   MUSTERMANN Sicherheitsdienst – Demo
   Designrichtung „Nachtschicht“: Graphit, Natriumdampf-Amber, HUD-Elemente
   ========================================================================== */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #0a0b0d;
  --ink-2: #101216;
  --ink-3: #16191e;
  --ink-4: #1f232a;
  --line: rgba(238, 234, 226, 0.1);
  --line-2: rgba(238, 234, 226, 0.2);
  --text: #eeeae2;
  --muted: #a6a39a;
  --dim: #77756e;

  --amber: #ffa51f;
  --amber-hi: #ffbb4f;
  --amber-ink: #1a1206;
  --amber-soft: rgba(255, 165, 31, 0.12);
  --amber-deep: #8a4f00;
  --alert: #ff4b3e;
  --ok: #5be38a;

  --paper: #ece6da;
  --paper-2: #e1d9ca;
  --paper-ink: #141517;
  --paper-muted: #55534d;

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --topbar-h: 36px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  /* Nachtsicht-Modus tauscht diesen Filter für alle Bilder aus */
  --nvf: brightness(1);
}

html.nv {
  --amber: #9cff6e;
  --amber-hi: #b8ff95;
  --amber-ink: #061204;
  --amber-soft: rgba(156, 255, 110, 0.12);
  --nvf: grayscale(1) sepia(1) hue-rotate(58deg) saturate(3.2) brightness(0.95) contrast(1.15);
}

/* ---------- Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; filter: var(--nvf); transition: filter 0.6s ease; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { line-height: 1; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--amber); color: var(--amber-ink); padding: 0.7rem 1rem; font-weight: 700;
}
.skip:focus { top: 12px; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }

.eyebrow {
  display: flex; align-items: center; gap: 0.8rem;
  margin: 0 0 1.4rem;
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.h2 {
  margin: 0;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1; letter-spacing: 0.005em;
}
.h2 em, .hero__title em { font-style: normal; color: var(--amber); }

.sec { padding: clamp(5rem, 11vw, 9.5rem) 0; }
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.sec-head__lead { margin: 0; color: var(--muted); max-width: 32rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1.05rem 1.6rem;
  font: 700 0.95rem/1 var(--f-body); letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.btn .i { transition: transform 0.35s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--amber {
  background: var(--amber); color: var(--amber-ink);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.btn--amber:hover { background: var(--amber-hi); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(10, 11, 13, 0.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn--sm { padding: 0.75rem 1.1rem; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: top 0.45s var(--ease);
}
.site-header.is-scrolled { top: calc(-1 * var(--topbar-h)); }

.topbar {
  background: #060708; border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--topbar-h); }
.topbar a { color: var(--text); }
.topbar a:hover { color: var(--amber); }
.status { display: inline-flex; align-items: center; gap: 0.55rem; }
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none;
  box-shadow: 0 0 0 0 rgba(91, 227, 138, 0.55); animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(91, 227, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 227, 138, 0); }
}

.nav { border-bottom: 1px solid transparent; transition: background 0.35s, border-color 0.35s; }
.is-scrolled .nav, .menu-open .nav {
  background: rgba(10, 11, 13, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--line);
}
.nav__in { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 0.75rem; margin-right: auto; }
.brand__mark { width: 40px; height: 40px; color: var(--text); }
.brand__mark .w { stroke: var(--amber); }
.brand__name { display: block; font-family: var(--f-display); font-weight: 900; font-size: 1.7rem; letter-spacing: 0.07em; line-height: 1; }
.brand__sub { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.34em; color: var(--muted); }

.nav__links { display: flex; gap: 1.8rem; font-weight: 600; font-size: 0.92rem; }
.nav__links a { position: relative; padding: 0.4rem 0; white-space: nowrap; color: rgba(238, 234, 226, 0.8); transition: color 0.2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.nv-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.8rem;
  background: none; border: 1px solid var(--line-2); color: var(--text); cursor: pointer;
  font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s;
}
.nv-toggle:hover, .nv-toggle[aria-pressed="true"] { border-color: var(--amber); color: var(--amber); }

.burger {
  display: none; position: relative; width: 46px; height: 46px;
  background: none; border: 1px solid var(--line-2); color: var(--text); cursor: pointer;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Mobiles Menü liegt außerhalb des Headers (backdrop-filter würde fixed-Positionierung einfangen) */
.mnav {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 2rem;
  background: var(--ink);
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.mnav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mnav__links { display: flex; flex-direction: column; }
.mnav__links a {
  display: flex; align-items: baseline; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 9vw, 3.2rem);
  text-transform: uppercase; line-height: 1;
}
.mnav__links a span { font-family: var(--f-mono); font-size: 0.7rem; color: var(--amber); font-weight: 500; }
.mnav__foot { display: grid; gap: 1rem; }
.mnav__foot .btn { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  --x: 76%; --y: 44%; --r: clamp(170px, 21vw, 340px);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--topbar-h) + var(--header-h) + 3rem);
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: #050607; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 50%;
}
.hero__base { filter: var(--nvf) brightness(0.3) saturate(0.7) contrast(1.05); }
.hero__lit {
  filter: var(--nvf) brightness(1.15) saturate(1.1);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgba(0, 0, 0, 0.82) 38%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgba(0, 0, 0, 0.82) 38%, transparent 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.92) 0%, rgba(10, 11, 13, 0.55) 38%, rgba(10, 11, 13, 0) 66%),
    linear-gradient(0deg, var(--ink) 0%, rgba(10, 11, 13, 0) 30%);
}
.hero__grain {
  position: absolute; inset: 0; opacity: 0.16; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.frame { position: absolute; inset: calc(var(--topbar-h) + var(--header-h) + 18px) var(--gutter) 92px; pointer-events: none; z-index: 0; }
.frame i { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(238, 234, 226, 0.4); }
.frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.hero__rec {
  position: absolute; z-index: 1; top: calc(var(--topbar-h) + var(--header-h) + 36px); right: calc(var(--gutter) + 22px);
  display: flex; align-items: center; gap: 0.55rem; color: rgba(238, 234, 226, 0.8);
}
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--alert); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }

.hero__content { position: relative; z-index: 1; padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.hero__title {
  margin: 0 0 1.8rem;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.5rem, min(9.4vw, 13vh), 9.8rem); line-height: 1; letter-spacing: -0.005em;
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .ln > span { display: block; }
.hero__title em { text-shadow: 0 0 60px rgba(255, 165, 31, 0.35); }
.hero__lead { max-width: 35rem; margin: 0 0 2.3rem; color: rgba(238, 234, 226, 0.86); font-size: clamp(1.02rem, 1.3vw, 1.2rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
/* Niedrige Fenster: Titel und Abstände kompakter, damit die HUD-Leiste im ersten Bild bleibt */
@media (max-height: 820px) {
  .hero__title { font-size: clamp(3.5rem, min(9.4vw, 11vh), 9.8rem); margin-bottom: 1.3rem; }
  .hero__lead { margin-bottom: 1.6rem; }
}

.js .hero__title .ln > span { transform: translateY(108%); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(0.15s + var(--i, 0) * 0.12s); }
.js .hero__fade { opacity: 0; animation: fadeUp 1s var(--ease) forwards; animation-delay: calc(0.55s + var(--i, 0) * 0.12s); }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* HUD-Leiste am unteren Rand des Heros */
.hero__bar { position: relative; z-index: 1; border-top: 1px solid var(--line-2); background: rgba(6, 7, 8, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__bar-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; height: 64px; }
.hero__bar-in > * { display: flex; align-items: center; gap: 0.6rem; height: 100%; padding: 0 1.4rem; border-left: 1px solid var(--line); white-space: nowrap; }
.hero__bar-in > :first-child { padding-left: 0; border-left: 0; color: var(--amber); }
.hero__bar b { font-family: var(--f-display); font-size: 1.35rem; font-weight: 800; letter-spacing: 0.02em; color: var(--text); }
.hero__bar span { color: var(--muted); }
.log { position: relative; overflow: hidden; color: var(--text); }
.log__entry { display: flex; align-items: center; gap: 0.9rem; min-width: 0; width: 100%; white-space: nowrap; }
.log__entry time, .log__entry .ok { flex: none; }
.log__entry time { color: var(--amber); }
.log__entry .txt { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.log__entry .ok { color: var(--ok); }
.log__entry.is-new { animation: logIn 0.6s var(--ease); }
@keyframes logIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; padding: 1.15rem 0; background: var(--ink-2); border-block: 1px solid var(--line); }
.ticker__track {
  display: flex; width: max-content; animation: marquee 46s linear infinite;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem); line-height: 1;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; }
.ticker__track span:nth-child(odd) { color: transparent; -webkit-text-stroke: 1px rgba(238, 234, 226, 0.55); }
.ticker__track span::after { content: "✦"; color: var(--amber); -webkit-text-stroke: 0; font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Kennzahlen ---------- */
.stats { padding: clamp(4rem, 8vw, 6.5rem) 0; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 0.25rem clamp(1rem, 2.5vw, 2.25rem); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  display: flex; align-items: baseline; gap: 0.06em;
  font-family: var(--f-display); font-weight: 800; line-height: 1;
  font-size: clamp(3.2rem, 6vw, 5.6rem); font-variant-numeric: tabular-nums;
}
.stat__num small { font-size: 0.46em; color: var(--amber); font-weight: 800; }
.stat p { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.95rem; max-width: 15rem; }

/* ---------- Leistungen ---------- */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__link {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 64px minmax(0, 1fr) 52px; gap: 0.7rem clamp(1rem, 2vw, 2rem);
  padding: clamp(1.6rem, 2.4vw, 2.1rem) 0; border-bottom: 1px solid var(--line);
}
.svc__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--amber-soft), transparent 70%);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease);
}
.svc__no { grid-column: 1; grid-row: 1; color: var(--dim); transition: color 0.3s; }
.svc__title {
  grid-column: 2; grid-row: 1;
  margin: 0; font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1;
  transition: color 0.3s, transform 0.5s var(--ease);
}
.svc__body { grid-column: 2; grid-row: 2; }
.svc__text { margin: 0 0 0.55rem; color: var(--muted); font-size: 0.98rem; }
.svc__tags { color: var(--dim); }
.svc__arrow {
  grid-column: 3; grid-row: 1 / 3;
  display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line-2);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.5s var(--ease);
}
.svc__thumb { display: none; }
.svc__link:hover::before, .svc__link:focus-visible::before { transform: scaleY(1); }
.svc__link:hover .svc__title, .svc__link:focus-visible .svc__title { color: var(--amber); transform: translateX(10px); }
.svc__link:hover .svc__no { color: var(--amber); }
.svc__link:hover .svc__arrow { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); transform: rotate(-45deg); }

/* Monitor steht neben der Liste und wechselt beim Hover das Motiv – so wird kein Text überdeckt */
.svc-monitor {
  position: sticky; top: calc(var(--header-h) + 2rem); margin: 0;
  padding: 6px; background: #000; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.svc-monitor__screen { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.svc-monitor__screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 0.45s ease, transform 1.2s var(--ease), filter 0.6s ease;
}
.svc-monitor__screen img.is-on { opacity: 1; transform: none; }
.svc-monitor__screen::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55));
}
.svc-monitor .cam__osd { z-index: 2; }
@media (min-width: 1025px) { .svc > li.is-active .svc__no { color: var(--amber); } }

/* ---------- Videoüberwachung / Videowand ---------- */
.wall { background: var(--ink-2); border-top: 1px solid var(--line); }
.wall__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  padding: 6px; background: #000; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.cam { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.cam img {
  width: 100%; height: 100%; object-fit: cover;
  filter: var(--nvf) grayscale(0.92) contrast(1.2) brightness(0.78);
  transition: filter 0.6s ease, transform 1.4s var(--ease);
}
.cam::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.6));
}
.cam__osd {
  position: absolute; inset: 0; z-index: 2; padding: 0.7rem 0.85rem;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 2px #000;
}
.cam__row { display: flex; justify-content: space-between; gap: 0.6rem; }
.cam__row .rec { display: inline-block; margin-right: 0.4rem; vertical-align: 1px; }
.cam__info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 2.6rem 1rem 1rem; background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent);
  transform: translateY(100%); transition: transform 0.5s var(--ease);
}
.cam__info h3 { margin: 0; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1; }
.cam__info p { margin: 0.3rem 0 0; font-size: 0.86rem; color: var(--muted); }
.cam:hover img, .cam:focus-within img { filter: var(--nvf) grayscale(0) contrast(1.05) brightness(0.95); transform: scale(1.05); }
.cam:hover .cam__info, .cam:focus-within .cam__info { transform: none; }

.cam--alarm { outline: 2px solid var(--alert); outline-offset: -2px; animation: alarm 1.6s ease-in-out infinite; }
.cam--alarm img { filter: var(--nvf) grayscale(0.4) contrast(1.15) brightness(0.85); }
.cam__alert { align-self: flex-start; padding: 0.25rem 0.5rem; background: var(--alert); color: #fff; text-shadow: none; animation: blink 1.2s steps(1) infinite; }
@keyframes alarm { 50% { outline-color: rgba(255, 75, 62, 0.25); } }

.lst {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center; margin-top: clamp(4.5rem, 9vw, 8rem);
}
.shot { position: relative; margin: 0; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot::before, .shot::after {
  content: ""; position: absolute; width: 44px; height: 44px; border: 0 solid var(--amber); pointer-events: none;
}
.shot::before { top: -14px; left: -14px; border-top-width: 2px; border-left-width: 2px; }
.shot::after { bottom: -14px; right: -14px; border-bottom-width: 2px; border-right-width: 2px; }
.shot__chip {
  position: absolute; left: clamp(-1rem, -2vw, 0rem); bottom: 2rem; z-index: 2;
  display: grid; gap: 0.2rem; padding: 1rem 1.2rem;
  background: var(--ink); border: 1px solid var(--line-2);
}
.shot__chip b { font-family: var(--f-display); font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--amber); }
.shot__chip span { color: var(--muted); }

.lst__text p:not(.eyebrow) { color: var(--muted); margin: 1.4rem 0 0; }
.checks { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 1rem; align-items: baseline; padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.checks li::before { content: ""; width: 9px; height: 9px; flex: none; background: var(--amber); transform: translateY(-1px) rotate(45deg); }

/* ---------- Eine Nacht (horizontale Zeitleiste) ---------- */
.night { position: relative; background: var(--ink); border-top: 1px solid var(--line); }
.night__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 0.5rem);
}
@media (max-height: 820px) {
  .night__head .h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
  .night__clock b { font-size: clamp(2.6rem, 5vw, 4.2rem); }
  .nt__body { padding: 1rem 1.25rem 1.2rem; }
  .nt__time { font-size: 2.1rem; }
  .nt p { font-size: 0.86rem; }
}
.night__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(1.5rem, 4vh, 2.8rem); }
.night__head .h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.night__clock { text-align: right; flex: none; }
.night__clock b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 0.9; color: var(--amber); font-variant-numeric: tabular-nums; }
.night__clock span { color: var(--muted); }

.night__track {
  display: flex; gap: clamp(1rem, 2vw, 1.75rem);
  padding-left: max(var(--gutter), (100vw - var(--wrap)) / 2);
  will-change: transform;
}
.nt { flex: 0 0 clamp(260px, min(30vw, 44vh), 440px); display: flex; flex-direction: column; background: var(--ink-3); border: 1px solid var(--line); }
.nt__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.nt__img img { width: 100%; height: 100%; object-fit: cover; }
.nt__img .mono { position: absolute; top: 0.8rem; left: 0.8rem; padding: 0.3rem 0.5rem; background: rgba(6, 7, 8, 0.75); }
.nt__body { padding: 1.3rem 1.5rem 1.6rem; }
.nt__time { display: block; font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--amber); }
.nt h3 { margin: 0.55rem 0 0.35rem; font-size: 1.15rem; font-weight: 700; }
.nt p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.nt--end { justify-content: center; padding: 2rem; background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }
.nt--end h3 { margin: 0 0 1rem; font-family: var(--f-display); font-weight: 900; font-size: clamp(2.4rem, 3.4vw, 3.4rem); line-height: 1; text-transform: uppercase; }
.nt--end p { color: rgba(26, 18, 6, 0.8); margin-bottom: 1.6rem; }
.nt--end .btn { background: var(--amber-ink); color: var(--amber); align-self: flex-start; }

.night__progress { display: flex; align-items: center; gap: 1.2rem; margin-top: clamp(1.5rem, 4vh, 2.5rem); color: var(--muted); }
.night__bar { position: relative; flex: 1; height: 2px; background: var(--line-2); }
.night__bar i { position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }

/* Fallback: kein Pinning (Mobil / reduzierte Bewegung) */
.night--native .night__sticky { position: static; height: auto; padding: clamp(5rem, 11vw, 8rem) 0; }
.night--native .night__head { flex-direction: column; align-items: flex-start; }
.night--native .night__clock { display: none; }
.night--native .night__track {
  overflow-x: auto; scroll-snap-type: x mandatory; padding-right: var(--gutter); padding-bottom: 1rem;
  scroll-padding-left: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--amber) transparent;
}
.night--native .nt { scroll-snap-align: start; flex-basis: min(82vw, 400px); }
.night--native .night__progress { display: none; }

/* ---------- Ablauf (Kontrollgang) ---------- */
.process { border-top: 1px solid var(--line); }
.route { position: relative; }
.route__svg { display: block; width: 100%; height: auto; overflow: visible; }
.route__base { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 3 9; }
.route__draw { fill: none; stroke: var(--amber); stroke-width: 2.5; }
.route__node { fill: var(--ink); stroke: var(--line-2); stroke-width: 2; transition: fill 0.4s, stroke 0.4s; }
.route__node.is-on { fill: var(--amber); stroke: var(--amber); }
.route__dot { fill: var(--amber); }
.route__halo { fill: var(--amber); opacity: 0.25; transform-box: fill-box; transform-origin: center; animation: halo 1.8s ease-out infinite; }
@keyframes halo { from { transform: scale(0.6); opacity: 0.45; } to { transform: scale(2.4); opacity: 0; } }

.steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { padding: 0 clamp(0.75rem, 2vw, 2rem); text-align: center; opacity: 0.45; transition: opacity 0.5s; }
.step.is-on { opacity: 1; }
.step__no { color: var(--amber); }
.step h3 { margin: 0.7rem 0 0.6rem; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Über uns (helle Sektion) ---------- */
.about { background: var(--paper); color: var(--paper-ink); }
.about .eyebrow { color: var(--amber-deep); }
.about .h2 em { color: var(--amber-deep); }
html.nv .about .eyebrow, html.nv .about .h2 em { color: #2f6b12; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); }
.about__text > p { color: var(--paper-muted); margin: 1.5rem 0 0; }
.certs { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.certs li { padding: 0.5rem 0.8rem; border: 1px solid rgba(20, 21, 23, 0.22); font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.quote { position: relative; margin: 2.6rem 0 0; padding: 1.8rem 0 0 0; border-top: 2px solid var(--paper-ink); }
.quote p { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.05; text-transform: uppercase; }
.quote footer { margin-top: 1rem; color: var(--paper-muted); }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.member { margin: 0; }
.member__img { overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--paper-2); }
.member__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--nvf) grayscale(1) contrast(1.05); transition: filter 0.6s, transform 1.2s var(--ease); }
.member:hover .member__img img { filter: var(--nvf) grayscale(0); transform: scale(1.04); }
.member figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; padding: 0.9rem 0 0; border-bottom: 1px solid rgba(20, 21, 23, 0.18); padding-bottom: 0.9rem; }
.member h3 { margin: 0; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.55rem; line-height: 1; }
.member .mono { color: var(--paper-muted); font-size: 0.64rem; text-align: right; }
.team .member:nth-child(even) { transform: translateY(3rem); }

.refs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 2.4rem; margin-top: clamp(5rem, 9vw, 7rem); padding-top: 2rem; border-top: 1px solid rgba(20, 21, 23, 0.18); }
.refs > span { color: var(--paper-muted); }
.refs b { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(20, 21, 23, 0.55); }

/* ---------- Karriere ---------- */
.jobs__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.duo { position: relative; margin: 0; background: var(--amber); overflow: hidden; }
.duo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: multiply; }
.duo figcaption {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; padding: 1.1rem 1.2rem;
  background: var(--ink); display: grid; gap: 0.25rem;
}
.duo figcaption b { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.duo figcaption span { color: var(--muted); font-size: 0.9rem; }

.joblist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.job a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.job h3 { margin: 0 0 0.4rem; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; transition: color 0.3s; }
.job .mono { color: var(--muted); }
.job .svc__arrow { width: 46px; height: 46px; }
.job a:hover h3 { color: var(--amber); }
.job a:hover .svc__arrow { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); transform: rotate(-45deg); }

.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 2.5rem; background: var(--line); border: 1px solid var(--line); }
.perk { padding: 1.3rem 1.4rem; background: var(--ink); }
.perk b { display: block; margin-bottom: 0.3rem; font-weight: 700; }
.perk span { color: var(--muted); font-size: 0.92rem; }
.perk .mono { display: block; margin-bottom: 0.7rem; color: var(--amber); font-size: 0.66rem; }

/* ---------- Kontakt ---------- */
.contact { background: var(--ink-2); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 6rem); }
.contact__grid > div > p { color: var(--muted); margin: 1.5rem 0 0; max-width: 30rem; }
.sos {
  margin-top: 2.5rem; padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--amber); background: linear-gradient(135deg, var(--amber-soft), transparent 70%);
}
.sos .status { color: var(--amber); }
.sos .dot { background: var(--amber); box-shadow: 0 0 0 0 rgba(255, 165, 31, 0.5); }
.sos a { display: block; margin-top: 0.6rem; font-family: var(--f-display); font-weight: 900; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: 0.01em; }
.sos a:hover { color: var(--amber); }
.sos p { margin: 0.6rem 0 0; color: var(--muted); font-size: 0.92rem; }
.addr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 2.2rem 0 0; }
.addr dt { color: var(--dim); margin-bottom: 0.4rem; }
.addr dd { margin: 0; font-size: 0.98rem; }
.addr a:hover { color: var(--amber); }

.form { padding: clamp(1.5rem, 3.2vw, 2.6rem); background: var(--ink-3); border: 1px solid var(--line); }
.form__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.6rem; }
.form__head h3 { margin: 0; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.form__head .mono { color: var(--dim); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.5rem; }
.field { display: grid; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field > span, .field legend { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; color: var(--text); font: 500 1rem/1.4 var(--f-body);
  transition: border-color 0.25s;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffa51f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat; cursor: pointer; }
.field select option { background: var(--ink-3); color: var(--text); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--amber); }
.field input:user-invalid, .field textarea:user-invalid { border-bottom-color: var(--alert); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 0.7rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-block; padding: 0.55rem 0.85rem; border: 1px solid var(--line-2); font-size: 0.88rem; font-weight: 600; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.pill input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.pill input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.pill:hover span { border-color: var(--amber); }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 0.2rem; width: 18px; height: 18px; accent-color: var(--amber); flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.form__foot .mono { color: var(--dim); }
.form__ok { margin-top: 1.4rem; padding: 1rem 1.2rem; border-left: 3px solid var(--ok); background: rgba(91, 227, 138, 0.08); }
.form__ok:focus { outline: none; }

/* ---------- Unterseiten: Impressum & Datenschutz ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--topbar-h) + var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3rem, 6vw, 4.5rem);
  background: radial-gradient(ellipse 55% 90% at 88% 0%, rgba(255, 165, 31, 0.1), transparent 70%), var(--ink-2);
  border-bottom: 1px solid var(--line);
}
/* Raster wie auf einem Leitstellen-Monitor, nach links ausgeblendet */
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000);
  mask-image: linear-gradient(90deg, transparent 20%, #000);
}
.page-hero__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--amber); }
.page-hero__rec { display: flex; align-items: center; gap: 0.55rem; color: var(--muted); }
.page-hero__title {
  margin: 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.2rem, 9vw, 8.5rem); letter-spacing: 0.005em;
}

.legal { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(5rem, 10vw, 8rem); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 48rem); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.legal__grid--single { grid-template-columns: minmax(0, 52rem); }

.toc { position: sticky; top: calc(var(--header-h) + 2rem); }
.toc__label { margin: 0 0 1rem; color: var(--dim); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); counter-reset: toc; }
.toc a {
  display: flex; gap: 0.7rem; margin-left: -1px; padding: 0.45rem 0 0.45rem 1rem;
  border-left: 1px solid transparent; color: var(--muted); font-size: 0.88rem; line-height: 1.35;
  transition: color 0.2s, border-color 0.2s;
}
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); flex: none; padding-top: 0.15em; font-family: var(--f-mono); font-size: 0.66rem; color: var(--dim); }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--amber); border-left-color: var(--amber); }
.toc a.is-active::before { color: var(--amber); }

.legal__body { color: var(--muted); }
.legal__body h2 {
  margin: 3.4rem 0 1.1rem; padding-top: 2.2rem; border-top: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--text);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.legal__body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body h3 { margin: 2.1rem 0 0.6rem; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.legal__body p { margin: 0 0 1rem; }
.legal__body a { color: var(--amber); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__body a:hover { color: var(--amber-hi); }
.legal__body ul, .legal__body ol { margin: 0 0 1.3rem; padding-left: 1.4rem; }
.legal__body li { margin-bottom: 0.5rem; padding-left: 0.3rem; }
.legal__body ol { list-style: lower-alpha; }
.legal__body li::marker { color: var(--amber); font-family: var(--f-mono); font-size: 0.85em; }

.legal__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.4rem; }
.legal__card { position: relative; padding: 1.6rem 1.7rem; background: var(--ink-2); border: 1px solid var(--line); }
.legal__card::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 18px; height: 18px;
  border-top: 2px solid var(--amber); border-left: 2px solid var(--amber);
}
.legal__body .legal__card h2 { margin: 0 0 1rem; padding: 0; border: 0; font-size: 1.6rem; }
.legal__card p { margin: 0; color: var(--text); }

@media (max-width: 1024px) {
  .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
  .toc ol { columns: 2; column-gap: 2rem; border-left: 0; }
  .toc li { break-inside: avoid; }
  .toc a { padding-left: 0; margin-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  .toc ol { columns: 1; }
  .legal__cards { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Footer ---------- */
.footer { background: #060708; border-top: 1px solid var(--line); padding-top: clamp(4rem, 8vw, 6rem); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer__grid p { color: var(--muted); font-size: 0.93rem; max-width: 22rem; margin: 1.2rem 0 0; }
.footer h4 { margin: 0 0 1rem; font-family: var(--f-mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; font-size: 0.95rem; }
.footer ul a { color: rgba(238, 234, 226, 0.8); }
.footer ul a:hover { color: var(--amber); }
.footer__word {
  margin: clamp(3rem, 6vw, 5rem) 0 0; text-align: center; white-space: nowrap; user-select: none;
  font-family: var(--f-display); font-weight: 900; font-size: 15.2vw; line-height: 1; letter-spacing: 0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(238, 234, 226, 0.14);
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); color: var(--dim); }
.footer__bottom a:hover { color: var(--amber); }
.footer__bottom a[aria-current] { color: var(--text); }
.footer__bottom nav { display: flex; gap: 1.5rem; }

/* ---------- Nachtsicht-Overlay ---------- */
.nv-badge {
  position: fixed; left: 50%; bottom: 18px; z-index: 70; transform: translate(-50%, 20px);
  padding: 0.45rem 0.8rem; background: rgba(6, 12, 4, 0.85); border: 1px solid var(--amber); color: var(--amber);
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--ease);
}
html.nv .nv-badge { opacity: 1; transform: translate(-50%, 0); }
html.nv body::after {
  content: ""; position: fixed; inset: 0; z-index: 65; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 18, 0, 0.6));
}

/* ---------- Scroll-Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Clipping am inneren Bild: ein clip-path am beobachteten Element verhindert in Chrome das Auslösen des Observers */
.js [data-reveal="img"] { opacity: 1; transform: none; }
.js [data-reveal="img"] > img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease), filter 0.6s ease; transition-delay: var(--d, 0s); }
.js [data-reveal="img"].is-in > img { clip-path: inset(0 0 0 0); }
.js [data-reveal="img"] > figcaption { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease) 0.7s, transform 0.6s var(--ease) 0.7s; }
.js [data-reveal="img"].is-in > figcaption { opacity: 1; transform: none; }
.js .team [data-reveal].is-in:nth-child(even) { transform: translateY(3rem); }

/* ---------- Responsive ---------- */
/* Navigation braucht mit „Videoüberwachung“ rund 1190 px Innenbreite */
@media (max-width: 1320px) {
  .nav__links, .nav__actions .btn { display: none; }
  .burger { display: block; }
}
@media (max-width: 1024px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .svc-layout { grid-template-columns: minmax(0, 1fr); }
  .svc-monitor { display: none; }
  .svc__link { grid-template-columns: 56px minmax(0, 1fr) 46px; }
  .svc__arrow { width: 46px; height: 46px; }
  .lst, .about__grid, .jobs__grid, .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo img { aspect-ratio: 16 / 10; }
}
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .route__svg { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; margin: 0; border-left: 2px solid var(--line-2); margin-left: 7px; }
  .step { position: relative; text-align: left; padding: 0 0 2.4rem 2rem; }
  .step::before {
    content: ""; position: absolute; left: -9px; top: 2px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--ink); border: 2px solid var(--line-2); transition: background 0.4s, border-color 0.4s;
  }
  .step.is-on::before { background: var(--amber); border-color: var(--amber); }
  .step:last-child { padding-bottom: 0; }
}
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .topbar .hide-sm { display: none; }
  .topbar { letter-spacing: 0.06em; white-space: nowrap; }
  .nv-toggle span { display: none; }
  .hero__media img { object-position: 74% 50%; }
  .hero::before {
    background:
      linear-gradient(0deg, var(--ink) 4%, rgba(10, 11, 13, 0.82) 42%, rgba(10, 11, 13, 0.2) 78%),
      linear-gradient(90deg, rgba(10, 11, 13, 0.6), rgba(10, 11, 13, 0) 80%);
  }
  .frame, .hero__rec { display: none; }
  .hero__bar-in { grid-template-columns: minmax(0, 1fr); height: 54px; }
  .hero__bar-in > :not(.log) { display: none; }
  .hero__bar-in > .log { padding-left: 0; border-left: 0; }
  .svc__link { grid-template-columns: 1fr 46px; gap: 0.9rem 1rem; }
  .svc__no { grid-column: 1; grid-row: 1; }
  .svc__arrow { grid-column: 2; grid-row: 1 / 3; align-self: start; }
  .svc__title { grid-column: 1; grid-row: 2; }
  .svc__body { grid-column: 1 / -1; grid-row: 4; }
  .svc__thumb { display: block; grid-column: 1 / -1; grid-row: 3; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
  .wall__grid { grid-template-columns: 1fr; }
  .cam__info { transform: none; }
  .shot__chip { left: 0.8rem; bottom: 0.8rem; }
  .team .member:nth-child(even), .js .team [data-reveal].is-in:nth-child(even) { transform: none; }
  .member h3 { font-size: 1.3rem; }
  .member figcaption { flex-direction: column; gap: 0.3rem; }
  .member .mono { text-align: left; }
  .perks, .fields, .addr { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .hero__title .ln > span, .js .hero__fade { transform: none; opacity: 1; }
  .ticker__track { animation: none; }
}
