/* ==========================================================================
   IncidentWatch – Webauftritt NFB.Dispatch & NFB.Note
   Farben & Typografie aus dem NFB-Designsystem (nfb-theme.css)
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: dark;
  --canvas: #0b1017;
  --canvas-deep: #070a0f;
  --surface: #131a24;
  --surface-2: #18212e;
  --surface-3: #1f2a39;
  --border: #223042;
  --border-strong: #32445c;
  --text: #e8eef6;
  --text-2: #9dadc2;
  --muted: #6c7e95;
  --brand: #e2001a;
  --brand-deep: #a80014;
  --brand-soft: #ff5c6a;
  --primary: #3d7bff;
  --primary-strong: #2c63da;
  --primary-text: #8fb4ff;
  --green: #34c77b;
  --amber: #f0a92a;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-text); text-decoration: none; }
a:hover { color: #b3ccff; }
:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(226, 0, 26, .55); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.icon { width: 1em; height: 1em; stroke-width: 1.8; flex: none; }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--primary-text);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--brand); }
.eyebrow--plain::before { display: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; font-weight: 750; }
h2.section-title { font-size: clamp(34px, 5.2vw, 68px); margin-top: 18px; }
h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); max-width: 62ch; margin: 22px 0 0; }
.grad {
  background: linear-gradient(100deg, #fff 10%, #c9d8ee 45%, #ff8a95 75%, var(--brand) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
  font: 600 16px/1 var(--font); color: #fff; background: var(--bg);
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  box-shadow: 0 10px 30px rgba(226, 0, 26, .35);
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(226, 0, 26, .45); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--ghost { background: rgba(255, 255, 255, .04); border-color: var(--border-strong); box-shadow: none; color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; color: var(--text); }
.btn--sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; box-shadow: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(9, 13, 19, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: rgba(50, 68, 92, .55); }
.nav__inner { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; }
.brand__name { font-weight: 750; font-size: 18px; letter-spacing: -.02em; line-height: 1.1; }
.brand__sub { display: block; font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.nav__links { display: flex; gap: 26px; margin-left: auto; list-style: none; padding: 0; }
.nav__links a { color: var(--text-2); font-size: 15px; font-weight: 500; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--brand); transition: right .3s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { right: 0; }
.nav__inner > nav { margin-left: auto; }
.nav__links { margin-block: 0; align-items: center; }
@media (min-width: 1201px) {
  .nav__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav__inner > nav { margin: 0; }
  .nav__links { margin-left: 0; }
  .nav .btn--sm { justify-self: end; }
}
.nav .btn--sm { white-space: nowrap; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border-strong); color: var(--text); width: 44px; height: 44px; border-radius: 10px; }
.nav__toggle .icon { width: 22px; height: 22px; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 101; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--brand), var(--primary)); }

/* ---------- Geräte-Rahmen ---------- */
.frame {
  position: relative; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 0 8px 8px; box-shadow: var(--shadow-lg);
}
.frame__bar { height: 34px; display: flex; align-items: center; gap: 7px; padding-left: 4px; }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--brand-soft); }
.frame__bar i:nth-child(2) { background: var(--amber); }
.frame__bar i:nth-child(3) { background: var(--green); }
.frame__bar span { margin-left: 10px; font: 600 12px/1 var(--font); color: var(--text-2); letter-spacing: .01em; }
.frame__bar span b { color: var(--primary-text); font-weight: 700; }
.frame img { border-radius: 8px; width: 100%; height: auto; }
.phone { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
.phone img { width: 100%; height: auto; }

/* ==========================================================================
   HERO (gepinnte Szene)
   ========================================================================== */
.hero { position: relative; height: 290vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__bg { position: absolute; inset: -5%; background: url("../img/bg-hero.webp") center/cover no-repeat; transform: scale(calc(1 + var(--p, 0) * .12)); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 70%, rgba(61, 123, 255, .16), transparent 70%),
    radial-gradient(45% 40% at 12% 8%, rgba(226, 0, 26, .28), transparent 70%),
    linear-gradient(180deg, rgba(11, 16, 23, 0) 60%, var(--canvas) 100%);
}
.hero__grid {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(143, 180, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 180, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 60%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 60%, #000 30%, transparent 80%);
}
.hero__intro {
  position: absolute; left: 0; right: 0; top: clamp(110px, 16vh, 170px); text-align: center; z-index: 3;
  padding-inline: var(--gutter);
  will-change: transform, opacity;
}
.hero__intro h1 { font-size: clamp(40px, 6.2vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin-top: 18px; }
.hero__intro .lead { margin: 22px auto 0; text-align: center; }
.hero__cta { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.hero__stage { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__web, .hero__phone { position: absolute; left: 50%; top: 50%; will-change: transform, opacity, filter; }
.hero__web { width: min(1040px, 78vw); }
.hero__phone { width: min(240px, 18vw, 27vh); }
.hero__glow {
  position: absolute; left: 50%; top: 62%; width: 70vw; height: 40vw; max-width: 1100px; max-height: 620px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(61, 123, 255, .28), rgba(226, 0, 26, .10) 60%, transparent);
  filter: blur(40px); opacity: calc(.6 + var(--p, 0) * .4);
}
.hero__ticker {
  position: absolute; z-index: 4; width: 320px; padding: 14px 16px; border-radius: 14px;
  background: rgba(19, 26, 36, .88); border: 1px solid var(--border-strong); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg); left: 50%; top: 50%; will-change: transform, opacity;
}
.ticker__head { display: flex; align-items: center; justify-content: space-between; font: 600 11px/1 var(--mono); letter-spacing: .14em; color: var(--text-2); text-transform: uppercase; margin-bottom: 10px; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 199, 123, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 199, 123, .6); } 70% { box-shadow: 0 0 0 8px rgba(52, 199, 123, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 123, 0); } }
.ticker__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ticker__list li {
  display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: baseline;
  padding: 8px 10px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border);
  font-size: 13px; line-height: 1.35; opacity: 0; transform: translateY(8px);
  animation: tick .6s var(--ease) forwards;
}
.ticker__list li:nth-child(1) { animation-delay: .6s; }
.ticker__list li:nth-child(2) { animation-delay: 1.4s; }
.ticker__list li:nth-child(3) { animation-delay: 2.2s; }
.ticker__list li:nth-child(4) { animation-delay: 3.0s; }
@keyframes tick { to { opacity: 1; transform: none; } }
.ticker__list time { font: 600 12px/1.35 var(--mono); color: var(--primary-text); }
.ticker__list b { display: block; font-size: 12px; letter-spacing: .02em; }
.ticker__list span { color: var(--text-2); font-size: 12px; }
.ticker__list li.is-critical time { color: var(--brand-soft); }

.hero__captions { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.caption {
  position: absolute; max-width: 420px; opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.caption.is-on { opacity: 1; transform: none; pointer-events: auto; }
.caption h2 { font-size: clamp(34px, 4.4vw, 60px); margin: 14px 0 12px; }
.caption p { color: var(--text-2); margin: 0; font-size: 18px; }
.caption ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.caption li { display: flex; gap: 10px; align-items: center; color: var(--text); font-size: 15.5px; }
.caption li .icon { color: var(--green); width: 18px; height: 18px; }
.caption--dispatch { right: var(--gutter); top: 50%; translate: 0 -50%; }
.caption--note { right: var(--gutter); top: 50%; translate: 0 -50%; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 600 11px/1 var(--mono); letter-spacing: .2em; color: var(--muted); text-transform: uppercase;
  opacity: calc(1 - var(--p, 0) * 8);
}
.scroll-hint i { width: 22px; height: 36px; border: 2px solid var(--border-strong); border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--brand-soft); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ==========================================================================
   Allgemeine Sektionen
   ========================================================================== */
.section { position: relative; padding: clamp(90px, 14vh, 160px) 0; }
.section--tight { padding: clamp(60px, 9vh, 100px) 0; }
.section__head { max-width: 900px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }

/* Reveal-Animationen */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--scale { transform: translateY(30px) scale(.96); }
.reveal--left { transform: translateX(-50px); }
.reveal--right { transform: translateX(50px); }

/* Statement mit Wort-für-Wort-Reveal */
.statement { padding: clamp(110px, 18vh, 200px) 0; text-align: center; }
.statement__text { font-size: clamp(34px, 5.6vw, 82px); font-weight: 780; letter-spacing: -.04em; line-height: 1.06; margin: 26px auto 0; max-width: 18ch; }
.statement__text .w { opacity: .14; transition: opacity .4s linear, color .4s; }
.statement__text .w.is-lit { opacity: 1; }
.statement__text .w--accent.is-lit { color: var(--brand-soft); }
.pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 44px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); font-size: 15px; color: var(--text-2); }
.pill .icon { color: var(--primary-text); width: 18px; height: 18px; }

/* Marquee */
.marquee { border-block: 1px solid var(--border); background: var(--canvas-deep); overflow: hidden; padding: 20px 0; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font: 600 clamp(18px, 2vw, 26px)/1 var(--font); letter-spacing: -.01em; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ==========================================================================
   Produkte
   ========================================================================== */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 64px; }
.product {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 40px;
  background: linear-gradient(180deg, var(--surface) 0%, #0f151e 100%); border: 1px solid var(--border-strong);
  display: flex; flex-direction: column; min-height: 640px; isolation: isolate;
}
.product::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 30%), rgba(61, 123, 255, .16), transparent 60%);
}
.product:hover::before { opacity: 1; }
.product__tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: rgba(61, 123, 255, .14); color: var(--primary-text); border: 1px solid rgba(61, 123, 255, .38); }
.product--note .product__tag { background: rgba(52, 199, 123, .12); color: var(--green); border-color: rgba(52, 199, 123, .4); }
.product h3 { font-size: clamp(32px, 3.4vw, 46px); margin-top: 18px; letter-spacing: -.035em; }
.product h3 span { color: var(--brand-soft); }
.product p { color: var(--text-2); margin: 12px 0 0; max-width: 46ch; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checklist .icon { color: var(--green); width: 20px; height: 20px; margin-top: 2px; }
.product__media { margin-top: auto; padding-top: 36px; position: relative; }
.product--dispatch .product__media .frame { transform: perspective(1400px) rotateX(8deg) translateY(10px); transform-origin: 50% 100%; transition: transform .8s var(--ease); }
.product--dispatch:hover .product__media .frame { transform: perspective(1400px) rotateX(0) translateY(0); }
.product--note .product__media { display: flex; justify-content: center; gap: 16px; align-items: flex-end; }
.product--note .phone { width: 36%; transition: transform .8s var(--ease); }
.product--note .phone:nth-child(1) { transform: rotate(-6deg) translateY(24px); }
.product--note .phone:nth-child(3) { transform: rotate(6deg) translateY(24px); }
.product--note:hover .phone:nth-child(1) { transform: rotate(-9deg) translate(-8px, 16px); }
.product--note:hover .phone:nth-child(3) { transform: rotate(9deg) translate(8px, 16px); }
.product--note:hover .phone:nth-child(2) { transform: translateY(-10px); }

/* ==========================================================================
   Ablauf (Scrollytelling)
   ========================================================================== */
.story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: 80px; }
.story__visual { position: sticky; top: 110px; height: calc(100vh - 150px); display: flex; align-items: center; }
.story__device { position: relative; width: 100%; aspect-ratio: 1.36 / 1; }
.story__web, .story__app { position: absolute; transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s; }
.story__web { left: 0; top: 4%; width: 84%; }
.story__app { right: 0; bottom: 0; width: 25%; }
.story__web.is-off, .story__app.is-off { opacity: 0; transform: translateY(26px) scale(.98); filter: blur(6px); }
.story__sync {
  position: absolute; right: 21%; top: 50%; z-index: 3; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: var(--primary); color: #fff; box-shadow: 0 0 0 8px rgba(61, 123, 255, .18), 0 12px 30px rgba(0, 0, 0, .5);
  animation: syncpulse 2.4s infinite;
}
.story__sync .icon { width: 24px; height: 24px; }
@keyframes syncpulse { 0%, 100% { box-shadow: 0 0 0 8px rgba(61, 123, 255, .18), 0 12px 30px rgba(0, 0, 0, .5); } 50% { box-shadow: 0 0 0 16px rgba(61, 123, 255, .06), 0 12px 30px rgba(0, 0, 0, .5); } }
.story__labels { position: absolute; left: 0; bottom: -6px; display: flex; gap: 10px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); font: 600 12px/1 var(--font); color: var(--text-2); }
.tag b { color: var(--primary-text); }
.tag--green b { color: var(--green); }
.story__steps { display: flex; flex-direction: column; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .5s; }
.step.is-active { opacity: 1; }
.step__num { font: 600 13px/1 var(--mono); letter-spacing: .16em; color: var(--brand-soft); display: flex; align-items: center; gap: 12px; }
.step__num::after { content: ""; flex: 0 0 60px; height: 1px; background: var(--border-strong); }
.step h3 { font-size: clamp(28px, 3vw, 40px); margin: 16px 0 14px; letter-spacing: -.03em; line-height: 1.1; }
.step p { color: var(--text-2); margin: 0; max-width: 48ch; }
.step__benefits { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; max-width: 48ch; }
.step__benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: var(--text); }
.step__benefits .icon { color: var(--green); width: 19px; height: 19px; margin-top: 2px; }
.step__media { display: none; }

/* ==========================================================================
   Drive Mode (Explosionsansicht)
   ========================================================================== */
.drive { position: relative; height: 240vh; background: radial-gradient(60% 50% at 50% 50%, rgba(240, 169, 42, .08), transparent 70%), var(--canvas-deep); }
.drive__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 3vh, 34px); padding: 84px var(--gutter) clamp(18px, 4vh, 44px);
}
.drive__head { text-align: center; }
.drive__head h2 { font-size: clamp(30px, 4.4vw, 60px); margin-top: 12px; }
.drive__phones { position: relative; flex: none; width: min(1000px, 92vw); height: min(44vh, 470px); }
.drive__phone { position: absolute; left: 50%; top: 50%; width: min(210px, 17vw, 20.5vh); will-change: transform, opacity; }
.drive__callouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: min(1100px, 92vw); }
.drive__callout {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  background: rgba(19, 26, 36, .9); border: 1px solid var(--border-strong);
  font-size: 15px; font-weight: 600; line-height: 1.3; opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.drive__callout small { display: block; font-weight: 400; color: var(--text-2); font-size: 13px; margin-top: 3px; line-height: 1.35; }
.drive__callout .ic { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(240, 169, 42, .14); color: var(--amber); border: 1px solid rgba(240, 169, 42, .45); }
.drive__callout .ic .icon { width: 20px; height: 20px; }
.drive__callout.is-on { opacity: 1; transform: none; }

/* ==========================================================================
   Funktionen (Konsole mit Reitern)
   ========================================================================== */
.console {
  display: grid; grid-template-columns: minmax(250px, 310px) minmax(0, 1fr); margin-top: 64px;
  border-radius: var(--radius-lg); border: 1px solid var(--border-strong); overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, #0f151e 100%); box-shadow: var(--shadow-lg);
}
.console__side { min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 14px; border-right: 1px solid var(--border); background: rgba(7, 10, 15, .38); }
.console__tabs { display: flex; flex-direction: column; gap: 4px; }
.console__tab {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 12px;
  border: 1px solid transparent; border-radius: 12px; background: none; color: var(--text-2);
  font: 600 15px/1.25 var(--font); text-align: left; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.console__tab:hover { background: rgba(255, 255, 255, .035); color: var(--text); }
.console__tab[aria-selected="true"] { background: var(--surface-3); border-color: var(--border-strong); color: #fff; }
.console__tab[aria-selected="true"]::before { content: ""; position: absolute; left: -15px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--brand); }
.console__tabic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); transition: color .2s, background .2s, border-color .2s; }
.console__tabic .icon { width: 18px; height: 18px; }
.console__tab[aria-selected="true"] .console__tabic { color: var(--primary-text); background: rgba(61, 123, 255, .14); border-color: rgba(61, 123, 255, .45); }
.console__tabtxt small { display: block; margin-top: 4px; font: 500 11px/1.2 var(--mono); letter-spacing: .03em; }
.console__tabtxt .who--dispatch { color: var(--primary-text); }
.console__tabtxt .who--note { color: var(--green); }
.console__tabtxt .who--both { color: var(--muted); }
.console__legend { margin: auto 0 4px; padding: 14px 6px 0; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13px; color: var(--muted); }
.who { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; border: 1px solid; font: 600 11.5px/1 var(--mono); letter-spacing: .04em; }
.who.who--dispatch { color: var(--primary-text); background: rgba(61, 123, 255, .12); border-color: rgba(61, 123, 255, .38); }
.who.who--note { color: var(--green); background: rgba(52, 199, 123, .1); border-color: rgba(52, 199, 123, .4); }
.who.who--both { color: var(--text); background: rgba(255, 255, 255, .05); border-color: var(--border-strong); }
.console__legend .who { padding: 4px 8px; font-size: 10.5px; }
.console__panels { min-width: 0; padding: clamp(24px, 3vw, 44px); min-height: 540px; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.console__panel { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.45fr); gap: clamp(24px, 3vw, 48px); align-items: center; }
.console__panel + .console__panel { margin-top: 56px; }
.console.is-ready .console__panel + .console__panel { margin-top: 0; }
.console__panel[hidden] { display: none; }
.console.is-ready .console__panel { grid-area: 1 / 1; animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.console__panel:focus-visible { outline-offset: 8px; }
.console__copy h3 { font-size: clamp(25px, 2.5vw, 34px); margin-top: 18px; }
.console__copy p { color: var(--text-2); margin: 12px 0 0; font-size: 16px; }
.console__points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.console__points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; }
.console__points .icon { color: var(--green); width: 19px; height: 19px; margin-top: 2px; }
.console__media .frame img { max-height: 430px; object-fit: cover; object-position: top left; }
.console__panel--phone .console__media { display: flex; justify-content: center; }
.console__panel--phone .phone { width: min(230px, 62%); }

/* ==========================================================================
   Galerie (horizontaler Scroll)
   ========================================================================== */
.gallery { position: relative; }
.gallery__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 72px; }
.gallery__head { margin-bottom: 44px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.gallery__head h2 { font-size: clamp(32px, 4.4vw, 60px); margin-top: 14px; }
.gallery__count { font: 600 14px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.gallery__track { display: flex; gap: 28px; padding-inline: var(--gutter); will-change: transform; width: max-content; }
.shot { width: min(760px, 78vw); flex: none; }
.shot figcaption { margin-top: 16px; display: flex; gap: 14px; align-items: baseline; }
.shot figcaption b { font: 600 13px/1 var(--mono); color: var(--brand-soft); }
.shot figcaption span { color: var(--text-2); font-size: 15px; }
.shot--phone { width: min(300px, 60vw); }

/* ==========================================================================
   Branchen
   ========================================================================== */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.sector { padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.sector__ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); }
.sector__ic .icon { width: 28px; height: 28px; }
.sector h3 { font-size: 21px; margin-top: 22px; }
.sector p { color: var(--text-2); margin: 10px 0 0; font-size: 15px; }
.sector__badge { position: absolute; top: 24px; right: 24px; font: 600 11px/1 var(--mono); letter-spacing: .1em; color: var(--amber); padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(240, 169, 42, .45); background: rgba(240, 169, 42, .08); }

/* ==========================================================================
   Einstieg (Phasen)
   ========================================================================== */
.phases { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 70px; }
.phases__line { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--border); }
.phases__line i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--lp, 0)); background: linear-gradient(90deg, var(--brand), var(--primary), var(--green)); }
.phase { position: relative; }
.phase__dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas); border: 2px solid var(--border-strong); font: 600 16px/1 var(--mono); color: var(--text); position: relative; z-index: 1; transition: border-color .4s, box-shadow .4s; }
.phase.is-in .phase__dot { border-color: var(--brand); box-shadow: 0 0 0 6px rgba(226, 0, 26, .14); }
.phase__card { margin-top: 26px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.phase__time { font: 600 13px/1 var(--mono); letter-spacing: .12em; color: var(--primary-text); text-transform: uppercase; }
.phase h3 { margin-top: 12px; font-size: 24px; }
.phase p { color: var(--text-2); margin: 10px 0 0; font-size: 15.5px; }
.phase ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 15px; }
.phase li { display: flex; gap: 10px; }
.phase li .icon { color: var(--green); width: 18px; height: 18px; margin-top: 3px; }
.note { margin-top: 36px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 14px; background: rgba(61, 123, 255, .07); border: 1px solid rgba(61, 123, 255, .3); color: var(--text-2); font-size: 15px; }
.note .icon { color: var(--primary-text); width: 22px; height: 22px; margin-top: 1px; }

/* ==========================================================================
   Datenschutz & isolierte Umgebungen
   ========================================================================== */
.privacy { background: radial-gradient(45% 55% at 82% 32%, rgba(61, 123, 255, .1), transparent 70%), var(--canvas-deep); border-block: 1px solid var(--border); }
.privacy__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 5vw, 84px); align-items: center; }
.privacy__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 32px; width: 100%; }
.privacy__cta-btn-group { display: flex; flex-direction: column; gap: 10px; width: max-content; max-width: 100%; }
.privacy__cta-btn-group .btn { display: inline-flex !important; width: 100% !important; white-space: nowrap !important; font-size: 14.5px !important; padding: 12px 18px !important; box-sizing: border-box !important; justify-content: flex-start !important; text-align: left !important; }
.privacy__cta p { margin: 0; color: var(--text-2); font-size: 15px; }
.privacy__cta .btn .icon { width: 18px; height: 18px; }
.privacy__cta .btn:hover .icon { transform: none; }
.iso { padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); }
.iso__envs { display: grid; grid-template-columns: minmax(0, 2.3fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr); align-items: stretch; }
.iso__env { padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.iso__env--you { background: linear-gradient(180deg, rgba(61, 123, 255, .12), rgba(61, 123, 255, .03)); border-color: rgba(61, 123, 255, .55); box-shadow: 0 0 0 4px rgba(61, 123, 255, .08); }
.iso__env--other { opacity: .62; }
.iso__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; white-space: nowrap; }
.iso__lock { display: inline-grid; color: var(--primary-text); }
.iso__lock .icon { width: 16px; height: 16px; }
.iso__badge { margin-left: auto; padding: 5px 8px; border-radius: 999px; border: 1px solid rgba(52, 199, 123, .4); background: rgba(52, 199, 123, .08); color: var(--green); font: 600 10.5px/1 var(--mono); letter-spacing: .08em; }
.iso__layers, .iso__ghost { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.iso__layers li { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 10px; background: var(--canvas); border: 1px solid var(--border); }
.iso__layers b { display: block; font-size: 14px; line-height: 1.25; }
.iso__layers small { display: block; color: var(--text-2); font-size: 12.5px; line-height: 1.3; }
.iso__ic { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; background: rgba(61, 123, 255, .12); color: var(--primary-text); }
.iso__ic .icon { width: 16px; height: 16px; }
.iso__ghost li { height: 60px; border-radius: 10px; border: 1px dashed var(--border-strong); background: var(--canvas); }
.iso__wall { position: relative; display: flex; align-items: center; justify-content: center; }
.iso__wall::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 50%; border-left: 2px dashed rgba(255, 92, 106, .45); }
.iso__wall span { position: relative; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid rgba(255, 92, 106, .55); color: var(--brand-soft); }
.iso__wall .icon { width: 12px; height: 12px; }
.iso__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--canvas); border: 1px solid var(--border); color: var(--text-2); font-size: 13.5px; }
.iso__base > span { display: inline-flex; align-items: center; gap: 8px; }
.iso__base .icon { width: 16px; height: 16px; color: var(--primary-text); }
.iso__base .iso__dev .icon { color: var(--amber); }
.pfacts { list-style: none; padding: 0; margin: clamp(56px, 8vh, 90px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.pfacts li { padding: 30px 30px 30px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.pfacts li:nth-child(3n) { border-right: 0; padding-right: 0; }
.pfacts li:nth-child(3n + 1) { padding-left: 0; }
.pfacts h3 { font-size: 19px; margin-top: 16px; }
.pfacts p { color: var(--text-2); font-size: 15px; margin: 8px 0 0; max-width: 40ch; }
.pfact__ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--primary-text); }
.pfact__ic .icon { width: 20px; height: 20px; }

/* ==========================================================================
   Roadmap
   ========================================================================== */
.road { position: relative; list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.road::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--green) 0 25%, var(--amber) 25% 50%, rgba(61, 123, 255, .55) 50% 100%); opacity: .7; }
.road__item { position: relative; padding-top: 40px; }
.road__dot { position: absolute; top: 0; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--canvas); border: 3px solid var(--border-strong); }
.road__item--live .road__dot { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 6px rgba(52, 199, 123, .16); }
.road__item--adapt .road__dot { border-color: var(--amber); box-shadow: 0 0 0 6px rgba(240, 169, 42, .12); }
.road__item--dev .road__dot { border-color: var(--primary); border-style: dashed; }
.road__status { font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--primary-text); }
.road__item--live .road__status { color: var(--green); }
.road__item--adapt .road__status { color: var(--amber); }
.road__item h3 { font-size: 21px; margin-top: 12px; }
.road__item h3 span { color: var(--brand-soft); }
.road__item p { color: var(--text-2); font-size: 15px; margin: 8px 0 0; }
.soon__badge { display: inline-flex; font: 600 12px/1 var(--mono); letter-spacing: .14em; color: var(--amber); padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(240, 169, 42, .5); background: rgba(240, 169, 42, .1); }
.soon__disclaimer { margin-top: 40px; color: var(--muted); font-size: 14px; font-style: italic; }
.module { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.5fr); gap: clamp(32px, 4vw, 64px); align-items: center; margin-top: clamp(70px, 10vh, 120px); }
.module--flip { grid-template-columns: minmax(0, 1.5fr) minmax(0, .72fr); }
.module--flip .module__copy { order: 2; }
.module__copy h3 { font-size: clamp(30px, 3vw, 42px); margin-top: 18px; letter-spacing: -.035em; }
.module__copy h3 span { color: var(--brand-soft); }
.module__copy p { color: var(--text-2); margin: 14px 0 0; }
.module__pts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.module__pts li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; }
.module__pts .icon { color: var(--green); width: 19px; height: 19px; margin-top: 2px; }
.mockframe { user-select: none; }

/* Skizze NFB.Plan */
.pm, .ir { overflow: hidden; border-radius: 8px; border: 1px solid var(--border); background: #0e141c; color: var(--text); font-size: 12px; line-height: 1.35; }
.pm__top, .ir__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--surface); }
.pm__title, .ir__title { display: flex; align-items: center; gap: 12px; }
.pm__title > b, .ir__title > b { font-size: 14px; letter-spacing: -.01em; }
.pm__range { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font: 500 11.5px/1 var(--mono); }
.pm__nav { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--border-strong); display: grid; place-items: center; }
.pm__nav .icon { width: 12px; height: 12px; }
.pm__tools, .ir__tools { display: flex; align-items: center; gap: 8px; }
.pm__seg { display: inline-flex; overflow: hidden; border-radius: 7px; border: 1px solid var(--border-strong); }
.pm__seg span { padding: 6px 10px; color: var(--text-2); }
.pm__seg .is-on { background: var(--surface-3); color: #fff; }
.pm__chip, .ir__ghostbtn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 7px; border: 1px solid var(--border-strong); color: var(--text-2); white-space: nowrap; }
.pm__chip .icon, .ir__ghostbtn .icon, .ir__btn .icon { width: 13px; height: 13px; }
.pm__btn, .ir__btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 7px; background: var(--brand); color: #fff; font-weight: 600; white-space: nowrap; }
.pm__body { display: grid; grid-template-columns: minmax(0, 1fr) 190px; }
.pm__grid { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 6px 10px; align-items: center; padding: 12px 14px; }
.pm__corner { font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pm__days, .pm__lane { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pm__day { padding: 5px 0; border-radius: 6px; text-align: center; font: 600 13px/1.1 var(--font); }
.pm__day small { display: block; font: 500 10px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; }
.pm__day.is-we { background: rgba(255, 255, 255, .03); }
.pm__day.is-today { background: rgba(61, 123, 255, .15); color: var(--primary-text); box-shadow: inset 0 0 0 1px rgba(61, 123, 255, .45); }
.pm__name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pm__name b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm__name small { display: block; color: var(--muted); font-size: 10.5px; }
.pm__av { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); font: 600 10px/1 var(--mono); }
.pm__lane { height: 34px; padding: 3px; border-radius: 8px; background: rgba(255, 255, 255, .025); }
.pm__shift { grid-row: 1; display: flex; align-items: center; min-width: 0; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm__shift--nd, .pm__legend .pm__shift--nd { background: rgba(52, 199, 123, .2); color: #93e8ba; box-shadow: inset 3px 0 0 var(--green); }
.pm__shift--d, .pm__legend .pm__shift--d { background: rgba(61, 123, 255, .22); color: var(--primary-text); box-shadow: inset 3px 0 0 var(--primary); }
.pm__shift--u, .pm__legend .pm__shift--u { background: repeating-linear-gradient(45deg, #1b2533 0 6px, #243246 6px 12px); color: var(--text-2); }
.pm__shift--k, .pm__legend .pm__shift--k { background: rgba(255, 77, 94, .14); color: #ff9aa5; border: 1.5px dashed #ff4d5e; }
.pm-s1 { grid-column-start: 1; } .pm-s2 { grid-column-start: 2; } .pm-s3 { grid-column-start: 3; } .pm-s4 { grid-column-start: 4; } .pm-s5 { grid-column-start: 5; } .pm-s6 { grid-column-start: 6; } .pm-s7 { grid-column-start: 7; }
.pm-w1 { grid-column-end: span 1; } .pm-w2 { grid-column-end: span 2; } .pm-w3 { grid-column-end: span 3; } .pm-w4 { grid-column-end: span 4; } .pm-w5 { grid-column-end: span 5; }
.pm__name--cov, .pm__lane--cov { margin-top: 6px; }
.pm__lane--cov { height: 28px; padding: 0; background: none; }
.pm__cov { display: grid; place-items: center; border-radius: 6px; font: 600 10.5px/1 var(--mono); }
.pm__cov--ok { background: rgba(52, 199, 123, .1); color: var(--green); }
.pm__cov--warn { background: rgba(240, 169, 42, .13); color: var(--amber); }
.pm__cov--gap { background: rgba(255, 77, 94, .16); color: #ff8a95; box-shadow: inset 0 0 0 1px rgba(255, 77, 94, .55); }
.pm__side { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-left: 1px solid var(--border); background: rgba(7, 10, 15, .42); }
.pm__sidehead, .ir__tochead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pm__sidehead span { padding: 3px 7px; border-radius: 999px; background: rgba(255, 77, 94, .2); color: #ff9aa5; letter-spacing: 0; }
.pm__hint { display: flex; gap: 8px; padding: 9px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); }
.pm__hint .icon { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.pm__hint b { display: block; font-size: 11.5px; }
.pm__hint small { display: block; color: var(--text-2); font-size: 10.5px; line-height: 1.35; }
.pm__hint--red { border-color: rgba(255, 77, 94, .4); }
.pm__hint--red .icon { color: #ff6b78; }
.pm__hint--amber .icon { color: var(--amber); }
.pm__hint--ok .icon { color: var(--green); }
.pm__legend { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 10px 14px; border-top: 1px solid var(--border); color: var(--text-2); font-size: 11px; }
.pm__legend i { display: inline-block; width: 18px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }

/* Skizze NFB.IncidentReview */
.ir__id { font: 500 11.5px/1 var(--mono); color: var(--text-2); }
.ir__chip { padding: 5px 8px; border-radius: 999px; border: 1px solid rgba(240, 169, 42, .45); background: rgba(240, 169, 42, .08); color: var(--amber); font: 600 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ir__body { display: grid; grid-template-columns: 178px minmax(0, 1fr); }
.ir__toc { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-right: 1px solid var(--border); background: rgba(7, 10, 15, .42); }
.ir__tochead { margin-bottom: 6px; }
.ir__s { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; color: var(--text-2); font-size: 12px; white-space: nowrap; }
.ir__s .icon { width: 13px; height: 13px; flex: none; color: var(--muted); }
.ir__s u { margin-right: 6px; text-decoration: none; font-family: var(--mono); color: var(--muted); }
.ir__s em { margin-left: 6px; padding: 3px 6px; border-radius: 999px; background: var(--surface-3); font: 600 10px/1 var(--mono); font-style: normal; }
.ir__s.is-done .icon { color: var(--green); }
.ir__s.is-open .icon { color: var(--amber); }
.ir__s.is-on { background: var(--surface-3); color: #fff; }
.ir__prog { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-top: auto; padding-top: 14px; color: var(--text-2); font-size: 11px; }
.ir__prog b { color: #fff; }
.ir__prog i { grid-column: 1 / -1; display: block; height: 6px; overflow: hidden; border-radius: 6px; background: var(--surface-3); }
.ir__prog s { display: block; width: 68%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--primary), var(--green)); }
.ir__doc { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; background: #111925; min-width: 0; }
.ir__sechead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.ir__sechead h4 { margin: 0; font-size: 14px; letter-spacing: -.01em; }
.ir__auto { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(61, 123, 255, .38); background: rgba(61, 123, 255, .1); color: var(--primary-text); font-size: 11px; }
.ir__auto .icon { width: 12px; height: 12px; }
.ir__tl { list-style: none; margin: 0; padding: 0; overflow: hidden; border-radius: 9px; border: 1px solid var(--border); }
.ir__tl li { display: grid; grid-template-columns: 62px 124px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 8px 12px; border-bottom: 1px solid var(--border); background: var(--surface); }
.ir__tl li:last-child { border-bottom: 0; }
.ir__tl time { font: 600 11px/1.3 var(--mono); color: var(--primary-text); }
.ir__tl li.crit time { color: var(--brand-soft); }
.ir__tl li.ok time { color: var(--green); }
.ir__tl b { font-size: 11.5px; }
.ir__tl span { color: var(--text-2); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ir__wx { padding: 10px 12px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); }
.ir__wxhead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; font-size: 11.5px; }
.ir__wxhead span { color: var(--muted); font: 500 10.5px/1.4 var(--mono); }
.ir__wxgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.ir__wxcell { padding: 9px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); }
.ir__wxcell .icon { width: 15px; height: 15px; color: var(--primary-text); }
.ir__wxcell b { display: block; margin-top: 6px; font-size: 15px; letter-spacing: -.01em; }
.ir__wxcell small { color: var(--text-2); font-size: 10.5px; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 20%, rgba(226, 0, 26, .14), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(61, 123, 255, .12), transparent 70%); pointer-events: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__info h2 { font-size: clamp(34px, 4vw, 54px); margin-top: 18px; }
.contact__list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 14px; align-items: center; color: var(--text-2); }
.contact__list .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-strong); color: var(--primary-text); }
.contact__list .ic .icon { width: 20px; height: 20px; }
.contact__list a, .contact__list strong { color: var(--text); font-weight: 600; }
.form { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: rgba(19, 26, 36, .9); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field label em { color: var(--brand-soft); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--text); background: var(--canvas); border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(61, 123, 255, .2); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); margin: 6px 0 22px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__status { font-size: 15px; min-height: 22px; }
.form__status.is-ok { color: var(--green); }
.form__status.is-err { color: var(--brand-soft); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.contact__sub { margin: 38px 0 14px; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.people { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.person { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-strong); }
.person b { display: block; color: var(--text); font-size: 16px; line-height: 1.25; }
.person small { color: var(--muted); font-size: 13px; }
.person__av { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, var(--brand), var(--brand-deep)); color: #fff; font: 700 15px/1 var(--font); letter-spacing: .02em; }
.person__av--b { background: linear-gradient(160deg, var(--primary), var(--primary-strong)); }
.contact__mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--text); font-weight: 600; }
.contact__mail .icon { width: 18px; height: 18px; color: var(--primary-text); }
.nextsteps { list-style: none; counter-reset: ns; padding: 0; margin: 0; display: grid; gap: 14px; }
.nextsteps li { counter-increment: ns; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: start; }
.nextsteps li::before { content: counter(ns); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); background: var(--surface); color: var(--primary-text); font: 600 13px/1 var(--mono); }
.nextsteps b { color: var(--text); font-size: 15.5px; line-height: 1.35; }
.nextsteps span { color: var(--text-2); font-size: 14.5px; }
.form__head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.form__head h3 { font-size: 26px; }
.form__head p { margin: 6px 0 0; color: var(--text-2); font-size: 14px; }
.form__head em { color: var(--brand-soft); font-style: normal; }
.form__privacy { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.form__privacy .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--green); }
.footnote { display: flex; gap: 8px; margin-top: 32px; color: var(--text-2); font-size: 14.5px; max-width: 80ch; }
.fn { color: var(--brand-soft); font-weight: 700; }
sup.fn { margin-left: 2px; font-size: .6em; }


/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--border); background: var(--canvas-deep); padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer p { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 42ch; }
.footer h4 { margin: 0 0 14px; font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer ul a { color: var(--text-2); }
.footer ul a:hover { color: var(--text); }
.footer__bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; align-items: center; }
.footer__software-logo { display: inline-block !important; height: 32px !important; max-height: 32px !important; width: auto !important; max-width: 180px !important; vertical-align: middle !important; background: #ffffff !important; padding: 4px 10px !important; border-radius: 6px !important; margin-left: 8px !important; object-fit: contain !important; }

/* ==========================================================================
   Rechtstexte (Impressum / Datenschutz)
   ========================================================================== */
.legal { padding: 150px 0 100px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(38px, 5vw, 58px); margin-top: 16px; }
.legal h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -.02em; }
.legal h3 { font-size: 18px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal strong { color: var(--text); }
.legal .todo { background: rgba(240, 169, 42, .14); color: var(--amber); padding: 1px 6px; border-radius: 5px; font-family: var(--mono); font-size: .9em; }
.legal address { font-style: normal; color: var(--text); line-height: 1.7; }
.legal .iw-meta { color: var(--muted); font-size: 15px; }
.legal .iw-toc { margin: 30px 0 10px; padding: 20px 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.legal .iw-toc ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 22px; }
.legal .iw-toc li { break-inside: avoid; margin-bottom: 6px; }
.legal h2[id] { scroll-margin-top: 100px; }
.legal .iw-table { overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--border); border-radius: 12px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; color: var(--text-2); }
.legal th { background: var(--surface-2); color: var(--text); font: 600 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.legal tr:last-child td { border-bottom: 0; }
.legal code { padding: 2px 6px; border-radius: 5px; background: var(--surface-2); color: var(--primary-text); font: .88em var(--mono); word-break: break-all; }
.legal .iw-box { margin: 22px 0; padding: 18px 22px; border-radius: 14px; border: 1px solid rgba(61, 123, 255, .4); background: rgba(61, 123, 255, .07); }
.legal .iw-box p:last-child { margin-bottom: 0; }
.legal .iw-dse address { margin: 0 0 20px; padding: 16px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.legal .legal__switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
@media (max-width: 640px) { .legal .iw-toc ol { columns: 1; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .console { grid-template-columns: minmax(220px, 260px) minmax(0, 1fr); }
  .console__panel { grid-template-columns: minmax(0, 1fr); }
  .console__panels { min-height: 680px; align-items: start; }
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .road::before { display: none; }
  .pfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfacts li, .pfacts li:nth-child(3n), .pfacts li:nth-child(3n + 1) { border-right: 1px solid var(--border); padding: 28px; }
  .pfacts li:nth-child(2n) { border-right: 0; padding-right: 0; }
  .pfacts li:nth-child(2n + 1) { padding-left: 0; }
  .privacy__top { grid-template-columns: 1fr; }
  .module, .module--flip { grid-template-columns: 1fr; }
  .module--flip .module__copy { order: 0; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .caption { max-width: 340px; }
}
@media (max-width: 1200px) {
  .nav__links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px var(--gutter) 20px; background: rgba(9, 13, 19, .97); border-bottom: 1px solid var(--border); }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
  .nav__links a::after { display: none; }
  .nav__toggle { display: grid; place-items: center; margin-left: 12px; }
  .nav .btn--sm { margin-left: auto; white-space: nowrap; }
}
@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px var(--gutter) 20px; background: rgba(9, 13, 19, .97); border-bottom: 1px solid var(--border); }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
  .nav__links a::after { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav .btn--sm { display: none; }
  .nav__toggle { margin-left: auto; }
  .products, .contact__grid, .footer__grid { grid-template-columns: 1fr; }
  .product { min-height: 0; padding: 28px; }
  .story { grid-template-columns: 1fr; margin-top: 40px; }
  .story__visual { display: none; }
  .step { min-height: 0; opacity: 1; padding: 34px 0; border-top: 1px solid var(--border); }
  .step__media { display: grid; grid-template-columns: 1fr 30%; gap: 14px; align-items: end; margin-top: 26px; }
  .phases { grid-template-columns: 1fr; }
  .phases__line { display: none; }
  .hero__web { width: 92vw; }
  .hero__phone { width: 34vw; }
  .hero__ticker { display: none; }
  .caption { left: var(--gutter) !important; right: var(--gutter) !important; top: auto !important; bottom: 7vh; translate: none !important; max-width: none; background: rgba(11, 16, 23, .86); backdrop-filter: blur(8px); padding: 20px; border-radius: 16px; border: 1px solid var(--border-strong); }
  .caption h2 { font-size: 30px; margin: 10px 0 8px; }
  .caption ul { display: none; }
  .drive__phones { height: min(38vh, 400px); }
  .drive__phone { width: min(170px, 30vw, 17.5vh); }
  .drive__callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .drive__callout { font-size: 13.5px; padding: 10px 12px; }
  .drive__callout small { display: none; }
  .drive__callout .ic { width: 32px; height: 32px; }
  .console { grid-template-columns: minmax(0, 1fr); }
  .console__side { border-right: 0; border-bottom: 1px solid var(--border); padding: 10px; }
  .console__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
  .console__tab { width: auto; flex: none; white-space: nowrap; padding: 9px 12px; }
  .console__tab[aria-selected="true"]::before { left: 12px; right: 12px; top: auto; bottom: -5px; width: auto; height: 3px; }
  .console__tabtxt small, .console__legend { display: none; }
  .console__tabic { width: 30px; height: 30px; }
  .console__panels { min-height: 0; padding: 24px; }
  .iso__envs { grid-template-columns: minmax(0, 1.8fr) 22px minmax(0, 1fr); }
  .iso__envs > :nth-child(4), .iso__envs > :nth-child(5) { display: none; }
  .pm__body, .ir__body { grid-template-columns: 1fr; }
  .pm__side, .ir__toc { display: none; }
  .people { grid-template-columns: 1fr; }
  .gallery__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr; }
  .pfacts { grid-template-columns: 1fr; }
  .pfacts li, .pfacts li:nth-child(n) { border-right: 0; padding: 24px 0; }
  .iso { padding: 14px; }
  .iso__envs { grid-template-columns: 1fr; }
  .iso__envs > :nth-child(n + 2) { display: none; }
  .pm__grid { grid-template-columns: 78px minmax(0, 1fr); padding: 10px; }
  .pm__name .pm__av, .pm__name small { display: none; }
  .pm__shift { padding: 0 4px; font-size: 9.5px; }
  .pm__tools .pm__seg, .pm__tools .pm__chip, .ir__ghostbtn { display: none; }
  .ir__tl li { grid-template-columns: 58px 1fr; }
  .ir__tl span { display: none; }
  .ir__wxgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drive__callouts { grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* Reduzierte Bewegung: keine gepinnten Szenen, keine Animationen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .statement__text .w { opacity: 1 !important; transform: none !important; }
  .ticker__list li { opacity: 1; transform: none; }
  /* Laufband bleibt auch bei reduzierter Bewegung aktiv – deutlich langsamer, per Mauszeiger anhaltbar */
  .marquee__track { animation: marquee 110s linear infinite !important; }
  .marquee:hover .marquee__track { animation-play-state: paused !important; }
}

/* Ausgangslage ohne JavaScript */
.hero__web { transform: translate(-50%, -12%) scale(.86); }
.hero__phone { transform: translate(40%, 10%); }
.hero__ticker { transform: translate(-130%, 20%); }
.drive__phone { transform: translate(-50%, -50%); }
.nav__back { margin-left: auto; }
.is-legal .nav__back { display: inline-flex; }

/* Reduzierte Bewegung: Szenen entpinnen */
.rm .hero { height: 100vh; height: 100svh; }
.rm .hero__captions, .rm .scroll-hint { display: none; }
.rm .drive { height: auto; }
.rm .drive__sticky { position: relative; height: auto; min-height: 100vh; padding: 120px var(--gutter) 80px; }
.rm .drive__callout { opacity: 1; transform: none; }
.rm .gallery { height: auto !important; }
.rm .gallery__sticky { position: relative; height: auto; padding: 100px 0; overflow: visible; }
.rm .gallery__track { width: auto; overflow-x: auto; padding-bottom: 20px; }
