/* =================================================================
   RED TEAMING EXTREM — Landingpage
   Tactical / dark / red-accent style
   ================================================================= */

/* Self-hosted fonts (DSGVO-konform — keine Google-Übermittlung) */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/bebas-neue-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/rajdhani-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/rajdhani-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/rajdhani-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/rajdhani-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/share-tech-mono-400.woff2') format('woff2');
}

:root {
  --bg: #0a0a0c;
  --bg-2: #111114;
  --bg-3: #1a1a1f;
  --line: #26262d;
  --text: #e9e9ec;
  --text-dim: #9a9aa3;
  --accent: #d92e1c;          /* patch red */
  --accent-2: #ff6a3d;        /* sunset orange */
  --accent-glow: rgba(217, 46, 28, 0.45);
  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Rajdhani', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* =============== TYPOGRAPHY =============== */
.h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.lead {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.center { text-align: center; }
.eyebrow.center { display: block; }
.accent { color: var(--accent); }

/* =============== NAV =============== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,12,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 42px; height: auto; filter: drop-shadow(0 0 10px var(--accent-glow)); }
.nav__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
}
.nav__name em { color: var(--accent); font-style: normal; }
.nav__links {
  display: flex; gap: 28px; align-items: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav__links a { color: var(--text-dim); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  transition: all .2s;
}
.nav__cta:hover { background: transparent; color: var(--accent) !important; }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
}
.lang-switch__btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font: inherit;
  letter-spacing: inherit;
  padding: 8px 8px;
  cursor: pointer;
  transition: color .15s;
  text-transform: uppercase;
  min-width: 28px;
}
.lang-switch__btn:hover { color: var(--text); }
.lang-switch__btn.is-active {
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}
.lang-switch__sep {
  color: var(--line);
  user-select: none;
}

/* Nav tools cluster (always visible: lang + hamburger) */
.nav__tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: transform .25s, opacity .2s;
  transform-origin: center;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__inner { padding: 12px 20px; gap: 12px; }
  .nav__logo { width: 36px; }
  .nav__name { font-size: 17px; letter-spacing: 0.06em; }

  .nav__hamburger { display: flex; }

  /* Drawer */
  .nav__links {
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 30px 24px 80px;
    background: rgba(8, 8, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .2s ease, visibility 0s linear .2s;
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform .25s ease, opacity .2s ease, visibility 0s linear 0s;
  }
  .nav__links a {
    display: block;
    padding: 18px 16px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }
  .nav__links a.nav__cta {
    margin-top: 24px;
    text-align: center;
    border: 1px solid var(--accent);
    background: var(--accent);
    padding: 18px 16px;
  }

  /* Body scroll lock when menu open */
  body.menu-open { overflow: hidden; }
}

@media (max-width: 380px) {
  .nav__name { display: none; }
}

/* =============== HERO =============== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 32px 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.25) 40%, rgba(10,10,12,0.85) 100%),
    url('assets/img/hero.png') center/cover no-repeat,
    linear-gradient(180deg, #0a0a0c 0%, #1a0d0c 60%, #2a1208 100%);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.6) 0%, transparent 30%, rgba(10,10,12,0.85) 100%);
}
/* Tactical grid backdrop */
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(217,46,28,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217,46,28,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero__content {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
}
.hero__patch {
  width: 130px;
  margin-bottom: 28px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6)) drop-shadow(0 0 25px var(--accent-glow));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%     { transform: translateY(-10px) rotate(1deg); }
}
.hero__eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 28px;
  text-shadow: 0 6px 30px rgba(0,0,0,0.6);
}
.hero__sub {
  font-size: 19px;
  max-width: 640px;
  color: #d4d4d9;
  margin-bottom: 40px;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 70px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 700px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero__stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1;
}
.hero__stats span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}
.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--text-dim);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }
@media (max-width: 600px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* =============== BUTTONS =============== */
.btn {
  display: inline-block;
  padding: 16px 28px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn--primary:hover {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--text); }
.btn--big { padding: 20px 40px; font-size: 14px; }

/* =============== SECTIONS =============== */
.section { padding: 120px 32px; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: #060608; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 50px; }
  .section { padding: 80px 24px; }
}

/* =============== CHECKLIST =============== */
.checks { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.checks li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  color: #d4d4d9;
}
.checks li::before {
  content: "▶";
  position: absolute;
  left: 0; top: 2px;
  color: var(--accent);
  font-size: 12px;
}

/* =============== VISUAL CARDS (image placeholders) =============== */
.visual-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  background-size: cover;
  background-position: center;
}
.visual-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
}
.visual-card__tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 6px 12px;
}
.visual-card__bottom {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #fff;
  text-transform: uppercase;
}
.visual-card__bottom .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: blink 1.4s infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Photographic backgrounds */
.visual-card--operator {
  background: url('assets/img/operator.png') center/cover no-repeat;
}
.visual-card--training {
  background: url('assets/img/training.png') center/cover no-repeat;
}

/* =============== CARDS GRID (Szenarien) =============== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all .25s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width .3s;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px var(--accent-glow);
}
.card:hover::before { width: 100%; }
.card__num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.25em;
  margin-bottom: 16px;
}
.card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.card p { color: var(--text-dim); margin-bottom: 20px; font-size: 15px; }
.card__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card__meta li {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line);
  padding: 5px 10px;
}

/* =============== EQUIPMENT GRID =============== */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.equip {
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .25s;
}
.equip:hover { border-color: var(--accent); transform: translateY(-3px); }
.equip--big { grid-column: span 2; }
.equip__img {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.equip--big .equip__img { aspect-ratio: 16/8; }
.equip__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.9));
}
.equip__body { padding: 26px 26px 30px; }
.equip__tag {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.25em;
  margin-bottom: 10px;
}
.equip h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.equip p { color: var(--text-dim); font-size: 14px; }

/* Equipment photos */
.equip__img--fpv        { background: url('assets/img/fpv-fleet.png')  center/cover no-repeat #0a0a0c; }
.equip__img--raupe      { background: url('assets/img/raupenquad.jpg') center/cover no-repeat #0a0a0c; }
.equip__img--amphib     { background: url('assets/img/amphibie.jpg')   center/cover no-repeat #0a0a0c; }
.equip__img--boote      { background: url('assets/img/boote.jpg')      center/cover no-repeat #0a0a0c; }
.equip__img--offroad    { background: url('assets/img/offroad.png')    center/cover no-repeat #0a0a0c; }
.equip__img--leitstelle { background: url('assets/img/leitstelle.png') center/cover no-repeat #0a0a0c; }
.equip__img--werkstatt  { background: url('assets/img/werkstatt.png')  center/cover no-repeat #0a0a0c; }

@media (max-width: 900px) {
  .equip-grid { grid-template-columns: 1fr; }
  .equip--big { grid-column: span 1; }
}

/* =============== SCHULUNG MODULES =============== */
.modules { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.module {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  transition: all .2s;
}
.module:hover { background: var(--bg-3); transform: translateX(4px); }
.module > span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.2em;
  padding-top: 2px;
}
.module strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  display: block;
  text-transform: uppercase;
}
.module p { color: var(--text-dim); font-size: 14px; }

/* =============== STEPS / PROZESS =============== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 60px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 30px; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step span {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 60px; height: 60px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  background: var(--bg);
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.step h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.step p { color: var(--text-dim); font-size: 14px; }
@media (max-width: 800px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .steps::before { display: none; }
}

/* =============== TRUST =============== */
.trust {
  background: #050507;
  padding: 60px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust__title {
  text-align: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.trust__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: #555;
  opacity: 0.85;
}
.trust__row span { transition: color .2s; cursor: default; }
.trust__row span:hover { color: var(--accent); }
.trust__note {
  text-align: center;
  margin-top: 28px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: #555;
  letter-spacing: 0.2em;
}

/* =============== FPV SCROLL-SCRUB =============== */
.fpv-scroll {
  position: relative;
  /* Total scroll distance: ~4 viewports = comfortable scrub length */
  height: 400vh;
  background: #050507;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fpv-scroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at center, #1a1416 0%, #050507 60%);
}
.fpv-scroll__video {
  position: relative;
  z-index: 0;
  /* Centered, contained — not full-bleed */
  width: min(86vw, 1100px);
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: #000;
  pointer-events: none;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.7),
    0 0 60px rgba(217,46,28,0.18);
}
.fpv-scroll__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
/* ----- PHASE 0: Intro (black, title top, hint bottom) ----- */
.fpv-scroll__intro {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: clamp(60px, 10vh, 120px) 32px clamp(40px, 8vh, 80px);
  transition: opacity .2s linear;
  will-change: opacity;
}
.fpv-scroll__intro-top { max-width: 900px; }
.fpv-scroll__intro-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 14px;
}
.fpv-scroll__intro-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.fpv-scroll__hint {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  animation: scrubPulse 1.8s ease-in-out infinite;
}
@keyframes scrubPulse {
  0%, 100% { opacity: 0.55; transform: translateY(0); }
  50%      { opacity: 1;    transform: translateY(6px); }
}

/* ----- PHASE 1+: Stage title at the top, video stays centered ----- */
.fpv-scroll__stage {
  position: absolute;
  top: clamp(120px, 16vh, 180px);
  left: 0; right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
  text-align: center;
  opacity: 0;
  transition: opacity .2s linear;
  will-change: opacity;
  pointer-events: none;
}
.fpv-scroll__stage-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 22px rgba(0,0,0,0.9), 0 2px 8px rgba(0,0,0,0.7);
}
.fpv-scroll__progress {
  width: clamp(180px, 28vw, 300px);
  height: 2px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
}
.fpv-scroll__bar {
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 12px var(--accent);
  will-change: transform;
}

/* Key facts — revealed at the end of the scrub */
.fpv-scroll__facts {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: 24px;
  padding: 0 5vw;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.65) 100%);
  transition: opacity .2s linear;
  will-change: opacity;
  pointer-events: none;
}
.fpv-fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 28px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,10,12,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 3px solid var(--accent);
  min-width: 0;
  width: 100%;
  max-width: 260px;
  transform: translateY(20px);
  transition: transform .5s cubic-bezier(.2,.7,.3,1) .05s;
}
.fpv-scroll__facts.is-active .fpv-fact { transform: translateY(0); }
.fpv-fact strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
  text-shadow: 0 4px 18px rgba(0,0,0,0.6);
}
.fpv-fact span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
}
@media (max-width: 800px) {
  .fpv-scroll__facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 6vw;
  }
  .fpv-fact { padding: 18px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .fpv-scroll { height: 100vh; }
  .fpv-scroll__hud { opacity: 1 !important; }
  .fpv-scroll__bar { display: none; }
}

/* =============== CLOSING BANNER =============== */
.closing {
  position: relative;
  width: 100%;
  aspect-ratio: 1657 / 949;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 0 32px 6vw;
  overflow: hidden;
  isolation: isolate;
  background: #0a0a0c;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.closing__img {
  position: absolute; inset: 0; z-index: -2;
  background: url('assets/img/abschlussbild.png') center/cover no-repeat;
  /* slight brightness/contrast lift so the image isn't too dark */
  filter: brightness(1.15) saturate(1.05);
}
.closing__overlay {
  position: absolute; inset: 0; z-index: -1;
  /* Only a soft bottom fade so text stays readable — image is otherwise untouched */
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 55%,
    rgba(10,10,12,0.45) 80%,
    rgba(10,10,12,0.85) 100%);
}
.closing__content {
  max-width: 820px;
  position: relative;
  padding-bottom: 1vw;
}
.closing__content .eyebrow {
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.closing__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5.2vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 12px 0 18px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.9), 0 2px 8px rgba(0,0,0,0.7);
}
.closing__sub {
  font-size: clamp(15px, 1.4vw, 19px);
  color: #ececef;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.8);
}
/* On narrow screens the image gets too short — switch to a taller layout */
@media (max-width: 700px) {
  .closing {
    aspect-ratio: auto;
    min-height: 60vh;
    padding: 80px 24px;
    align-items: center;
  }
}

/* =============== CTA / KONTAKT =============== */
.section--cta {
  background:
    radial-gradient(ellipse at center, rgba(217,46,28,0.18), transparent 60%),
    #0a0a0c;
  text-align: center;
}
.cta { max-width: 800px; margin: 0 auto; }
.cta__patch {
  width: 100px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 25px var(--accent-glow));
}
.form { margin-top: 40px; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.form input, .form textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  transition: border-color .2s;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form button { width: 100%; margin-top: 8px; }
.form__note {
  text-align: center;
  margin-top: 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__hp { position: absolute; left: -9999px; }

/* Mail-Card (Kontakt) */
.mail-card {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin: 20px auto 0;
  padding: 36px 52px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  text-decoration: none;
  color: var(--text);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.mail-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px var(--accent-glow);
}
.mail-card__label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}
.mail-card__addr {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: 0.04em;
  color: #fff;
  word-break: break-all;
  text-align: center;
}
.mail-card__cta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  margin-top: 4px;
  transition: color .2s;
}
.mail-card:hover .mail-card__cta { color: var(--accent); }
@media (max-width: 600px) {
  .mail-card { padding: 28px 24px; }
}

/* =============== LEGAL / IMPRESSUM =============== */
.legal {
  padding: 160px 32px 100px;
  background: var(--bg);
}
.legal__inner { max-width: 880px; }
.legal__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 7vw, 84px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}
.legal__sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.legal__h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 50px 0 8px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  color: var(--accent);
}
.legal__block {
  margin-bottom: 36px;
}
.legal__block h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.legal__block h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.legal__block p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal__block strong { color: var(--text); }
.legal__block ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.legal__block ul li {
  position: relative;
  padding: 6px 0 6px 24px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}
.legal__block ul li::before {
  content: "▶";
  position: absolute;
  left: 0; top: 9px;
  color: var(--accent);
  font-size: 10px;
}
.legal__block a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(217,46,28,0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.legal__block a:hover { text-decoration-color: var(--accent); }
.legal__back { margin-top: 60px; }
.legal__en-notice {
  margin: 30px 0 40px;
  padding: 18px 22px;
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}
.legal__en-notice:empty { display: none; }

/* =============== FOOTER =============== */
.footer {
  background: #050507;
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}
.footer__brand { display: flex; gap: 16px; align-items: center; }
.footer__brand img { width: 60px; }
.footer__brand strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
}
.footer__brand span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__cols h5 {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.footer__cols a {
  display: block;
  padding: 4px 0;
  color: var(--text-dim);
  font-size: 14px;
  transition: color .2s;
}
.footer__cols a:hover { color: var(--text); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #555;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* =================================================================
   MOBILE PASS — phones & small tablets
   ================================================================= */
@media (max-width: 900px) {
  /* Section padding */
  .section { padding: 70px 20px; }
  .container { padding: 0 20px; }

  /* Hero */
  .hero { padding: 110px 20px 70px; min-height: auto; }
  .hero__patch { width: 96px; margin-bottom: 20px; }
  .hero__title { font-size: clamp(36px, 9vw, 56px); margin-bottom: 22px; }
  .hero__sub { font-size: 16px; margin-bottom: 32px; }
  .hero__ctas { gap: 12px; margin-bottom: 44px; }
  .hero__ctas .btn { flex: 1 1 auto; text-align: center; min-width: 160px; }
  .hero__stats { gap: 18px; padding-top: 22px; }
  .hero__stats strong { font-size: 32px; }
  .hero__stats span { font-size: 10px; }
  .hero__scroll { display: none; }

  /* H2 */
  .h2 { font-size: clamp(30px, 7vw, 44px); margin-bottom: 16px; }
  .lead { font-size: 16px; }
  .two-col { gap: 36px; }

  /* Cards & equip & schulung */
  .card { padding: 26px 22px; }
  .card h3 { font-size: 24px; }
  .equip__body { padding: 20px 20px 24px; }
  .equip h3 { font-size: 22px; }
  .modules { gap: 10px; }
  .module { padding: 14px 16px; gap: 14px; }
  .module strong { font-size: 18px; }

  /* Visual cards become wider on mobile (don't stay tall) */
  .visual-card { aspect-ratio: 16 / 11; max-width: 100%; }

  /* Trust */
  .trust { padding: 44px 20px; }
  .trust__row { gap: 22px 28px; font-size: 16px; }
  .trust__title { font-size: 11px; letter-spacing: 0.22em; }

  /* Mail card — important: don't overflow on small screens */
  .mail-card { padding: 24px 18px; max-width: 100%; }
  .mail-card__addr { font-size: clamp(18px, 5.5vw, 28px); word-break: break-word; }

  /* Steps */
  .steps { margin-top: 36px; gap: 24px; }
  .step span { width: 50px; height: 50px; font-size: 22px; margin-bottom: 12px; }
  .step h4 { font-size: 19px; }

  /* Closing */
  .closing__title { font-size: clamp(28px, 7.5vw, 44px); margin: 10px 0 14px; }
  .closing__sub { font-size: 15px; }

  /* CTA section */
  .cta__patch { width: 80px; margin-bottom: 20px; }

  /* Footer */
  .footer { padding: 50px 0 24px; }
  .footer__inner { gap: 36px; margin-bottom: 36px; padding: 0 20px; }
  .footer__bottom { padding: 20px 20px 0; flex-direction: column; align-items: flex-start; font-size: 10px; }
}

/* Extra small screens (iPhone SE etc.) */
@media (max-width: 420px) {
  .hero__title { font-size: 34px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .hero__stats { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .hero__stats > div { align-items: center; }
  .trust__row { gap: 14px 22px; font-size: 14px; }
  .nav__cta { padding: 8px 12px; font-size: 11px; }
}

/* =================================================================
   FPV SCROLL-SCRUB — mobile adjustments
   - Shorter track so it doesn't take forever to scroll past
   - Video sized to viewport with safe inset
   - Stage title pushed below mobile nav (64px)
   - Facts switch to 2 cols
   ================================================================= */
@media (max-width: 900px) {
  .fpv-scroll { height: 260vh; }
  .fpv-scroll__video {
    width: 92vw;
    max-height: 60vh;
    box-shadow:
      0 18px 50px rgba(0,0,0,0.7),
      0 0 40px rgba(217,46,28,0.18);
  }
  .fpv-scroll__intro {
    padding: 100px 20px 60px;
  }
  .fpv-scroll__intro-title { font-size: clamp(44px, 11vw, 70px); }
  .fpv-scroll__hint { font-size: 12px; letter-spacing: 0.22em; }
  .fpv-scroll__stage { top: clamp(80px, 12vh, 110px); gap: 18px; }
  .fpv-scroll__stage-title { font-size: clamp(28px, 7vw, 42px); }
  .fpv-scroll__progress { width: clamp(140px, 50vw, 220px); }
}
