/* ============================================================
   CODE HIVE ACADEMY — Landingpage
   Cyberpunk Dark Theme nach STYLEGUIDE.md
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Ardela Edge X03";
  src: url("../assets/fonts/ArdelaEdgeX03-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Oxanium";
  src: url("../assets/fonts/Oxanium-Regular.ttf") format("truetype");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Oxanium";
  src: url("../assets/fonts/Oxanium-Medium.ttf") format("truetype");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Oxanium";
  src: url("../assets/fonts/Oxanium-SemiBold.ttf") format("truetype");
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Oxanium";
  src: url("../assets/fonts/Oxanium-Bold.ttf") format("truetype");
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: "Oxanium";
  src: url("../assets/fonts/Oxanium-ExtraBold.ttf") format("truetype");
  font-weight: 800; font-display: swap;
}
/* Chakra Petch — lokal eingebunden (latin), kein Google-Fonts-CDN mehr */
@font-face {
  font-family: "Chakra Petch";
  src: url("../assets/fonts/ChakraPetch-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../assets/fonts/ChakraPetch-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../assets/fonts/ChakraPetch-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../assets/fonts/ChakraPetch-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --teal-light: #2ab5b9;
  --dark-blue: #21657f;
  --teal-dark: #00857b;
  --bg: #0f100f;
  --bg-2: #090a09;
  --card: #181a18;
  --card-2: #20231f;
  --white: #ffffff;
  --grey: #99a09a;

  --font-head: "Oxanium", system-ui, sans-serif;
  --font-body: "Chakra Petch", system-ui, sans-serif;
  --font-display: "Ardela Edge X03", "Oxanium", sans-serif;

  --maxw: 1200px;
  --radius: 0px;            /* Cyberpunk: harte, eckige Kanten */
  --notch: 14px;           /* Größe der gekerbten Ecken */
  --notch-sm: 9px;
  --glow: 0 0 24px rgba(42, 181, 185, 0.35);
  --border: 1px solid rgba(42, 181, 185, 0.30);

  /* Custom-Easing — kräftiger als die eingebauten Kurven */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Cyberpunk Clip-Shapes ---------- */
/* Notch oben-rechts + unten-links (Signatur-Form) */
.cyber-notch {
  clip-path: polygon(
    0 0,
    calc(100% - var(--notch)) 0,
    100% var(--notch),
    100% 100%,
    var(--notch) 100%,
    0 calc(100% - var(--notch))
  );
}
/* nur ein Eck gekappt (oben-rechts) — für Pills/kleine Elemente */
.cyber-cut {
  clip-path: polygon(0 0, calc(100% - var(--notch-sm)) 0, 100% var(--notch-sm), 100% 100%, 0 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Endzeit-Backdrop: feines Film-Grain (dreckig/analog) */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}
/* Bedrückende Vignette + leichter Staub-Haze, sehr dezent */
body::after {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(130% 100% at 50% 32%, transparent 52%, rgba(0,0,0,0.5) 100%),
    radial-gradient(80% 60% at 78% 8%, rgba(0,133,123,0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.wrap--full { max-width: none; width: 100%; padding: 0 40px; }
section { padding: 96px 0; position: relative; z-index: 1; }
.section-head { max-width: 760px; margin: 0 0 48px; }
/* Eyebrow als Terminal-Prompt */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12.5px;
  color: var(--teal-light);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
}
.eyebrow::before { content: ">"; color: var(--teal-dark); font-weight: 800; }
@keyframes caret { 50% { opacity: 0; } }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 0.98; letter-spacing: -0.025em; }
h2 { font-size: clamp(29px, 5.4vw, 58px); overflow-wrap: break-word; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.lead { color: var(--grey); font-size: 18px; max-width: 600px; line-height: 1.55; }
.text-teal { color: var(--teal-light); }
/* Ardela Edge — Display: nur Mission-Codes & Big Numbers, bewusst sparsam */
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: 0; line-height: 1; }

/* ---------- Buttons (Cyberpunk: eckig, Corner-Cut, Tech-Frame) ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 0;
  /* Notch oben-rechts + unten-links */
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform .14s var(--ease-out), box-shadow .2s var(--ease-out), background .2s var(--ease-out), color .2s var(--ease-out);
}
.btn-primary {
  background: var(--teal-light);
  color: #04120f;
  box-shadow: var(--glow);
}
.btn-primary:hover { background: var(--white); color: #04120f; box-shadow: 0 0 36px rgba(42,181,185,0.7); }
.btn-ghost {
  background: transparent;
  color: var(--teal-light);
  box-shadow: inset 0 0 0 1px rgba(42,181,185,0.5);
}
.btn-ghost:hover { background: rgba(42,181,185,0.10); box-shadow: inset 0 0 0 1px var(--teal-light); }
/* Press-Feedback auf jedem Button */
.btn:active { transform: scale(0.97); }
/* Hover-Lift nur auf echten Zeigegeräten */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-2px); }
}
.btn-lg { padding: 18px 40px; font-size: 16px;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px)); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, padding .3s ease, box-shadow .3s ease;
}
/* Solid-State beim Scrollen */
.nav--solid {
  background: rgba(13,15,13,0.92);
  backdrop-filter: blur(14px);
  border-bottom: var(--border);
  padding: 11px 32px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 44px; width: auto; display: block; }
.nav__logo .hive { color: var(--teal-light); }

/* Menü rechts */
.nav__menu { display: flex; align-items: center; gap: 24px; }
.nav__links {
  list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 0;
}
.nav__links a {
  font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.10em; font-size: 13px;
  color: #ced2cc; position: relative; padding: 4px 0; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--teal-light); transition: width .2s ease;
}
.nav__links a:hover { color: var(--teal-light); }
.nav__links a:hover::after { width: 100%; }
.nav__links--sub a { color: var(--grey); font-size: 12px; }
.nav__sep { width: 1px; height: 22px; background: rgba(42,181,185,0.3); }
.nav__cta { font-size: 13px; padding: 11px 22px; }

/* Burger (mobil) */
.nav__burger {
  display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110;
}
.nav__burger span {
  width: 26px; height: 2px; background: var(--white); transition: transform .25s ease, opacity .25s ease;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav__burger { display: flex; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 22px; padding: 96px 32px 40px;
    background: rgba(9,10,9,0.98); backdrop-filter: blur(16px);
    border-left: var(--border);
    transform: translateX(105%); transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav__links--sub { gap: 14px; }
  .nav__sep { width: 100%; height: 1px; }
  .nav__cta { width: 100%; justify-content: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 90px;
  overflow: hidden;
}
/* Hintergrundbild — Programmierer sitzt rechts */
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../assets/img/hero.webp") 62% 38% / cover no-repeat;
}
/* Overlay: links dunkel für Textkontrast, rechts frei für den Programmierer */
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(13,15,13,0.94) 0%, rgba(13,15,13,0.80) 32%, rgba(13,15,13,0.30) 60%, rgba(13,15,13,0.12) 100%),
    linear-gradient(180deg, rgba(13,15,13,0.55) 0%, transparent 22%, transparent 70%, var(--bg) 100%);
}
.hero .wrap { z-index: 2; max-width: none; width: 100%; margin: 0; padding-left: clamp(28px, 9vw, 190px); }

/* ---- Hero-Console: HUD-Frame um den Textblock (Signature) ---- */
.hero__brand {
  margin-bottom: 32px;
  max-width: 330px;
}
.hero__logo-img {
  width: 100%;
  height: auto;
  display: block;
  /* Weißer Effekt für PNG */
  filter: brightness(0) invert(1);
  opacity: 1;
}
.hero__error-code {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 140px);
  line-height: 1;
  font-weight: 800;
  color: var(--teal-light);
  text-shadow: 0 0 20px rgba(42,181,185,0.4);
  opacity: 0.9;
  letter-spacing: -0.05em;
}
.hero__console {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin: 0;                     /* linksbündig am Wrap-Padding */
  padding: 26px 30px;
}
/* nur zwei diagonale Eck-Brackets — bewusst sparsam */
.hero__console::before,
.hero__console::after {
  content: ""; position: absolute; width: 26px; height: 26px;
  border: 2px solid var(--teal-light); opacity: 0.8;
}
.hero__console::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero__console::after { bottom: 0; right: 0; border-left: none; border-top: none; }

.hero__boot {
  font-family: var(--font-body); font-weight: 500;
  font-size: 13px; letter-spacing: 0.04em; color: var(--teal-dark);
  margin-bottom: 18px; display: grid; gap: 3px;
}
.hero__boot .boot__line { white-space: nowrap; }
.hero__boot .boot__line:last-child { color: var(--teal-light); }

.hero__audience {
  display: flex; gap: 22px; margin-bottom: 40px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 14px; color: var(--grey);
}
.hero__audience a { transition: color .2s; }
.hero__audience a:hover { color: var(--teal-light); }
.hero__audience .sep { opacity: 0.4; }

.hero__logo {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.hero__logo .hive { color: var(--teal-light); }

.hero__title {
  font-size: clamp(34px, 4.4vw, 58px);
  margin-bottom: 24px;
}
.hero__title .t-line { display: block; position: relative; }
.hero__title .grad {
  background: linear-gradient(120deg, var(--teal-light), var(--teal-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Typing-Cursor an der aktuell getippten Zeile */
.hero__title .t-line.typing::after {
  content: ""; display: inline-block; width: 0.5ch; height: 0.9em;
  background: var(--teal-light); margin-left: 4px; transform: translateY(2px);
  animation: caret 1.05s steps(1) infinite;
}

/* Orchestrierter Load: Boot-Zeilen → Headline tippen → USPs/CTA (nur mit JS) */
.js .hero__boot .boot__line,
.js .hero__sub,
.js .hero__cta { opacity: 0; transform: translateY(8px); }
.hero.booted .hero__boot .boot__line {
  opacity: 1; transform: none; transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.hero.booted .hero__boot .boot__line:nth-child(2) { transition-delay: .15s; }
.hero.ready .hero__sub,
.hero.ready .hero__cta {
  opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.hero.ready .hero__cta { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  .js .hero__boot .boot__line, .js .hero__sub, .js .hero__cta { opacity: 1; transform: none; }
}
.hero__sub {
  margin-bottom: 32px; max-width: 34ch;
  font-size: 16px; line-height: 1.55; color: #d6dad5;
}
.hero__cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
/* beide CTA-Buttons gleich breit + zentrierter Text */
.hero__cta .btn-lg { flex: 1 1 0; min-width: max-content; justify-content: center; }
.hero__cta-label {
  font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 14px; color: var(--grey);
}
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--grey); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust { padding: 80px 5%; border-top: var(--border); border-bottom: var(--border); background: var(--bg-2); }
.trust__label {
  text-align: center; color: var(--grey); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 22px; font-weight: 600;
}
.trust__logos {
  display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: clamp(10px, 4vw, 60px);
  font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #757b75;
}
.trust__logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  max-width: 240px;
  height: clamp(50px, 8vh, 100px);
  transition: color .2s; cursor: default;
}
@media (max-width: 768px) {
  .trust { padding: 80px 5%; }
  .trust__logos { flex-wrap: wrap; gap: 32px 40px; }
  .trust__logo-item { flex: 1 1 40%; max-width: 180px; height: 60px; }
}
.trust__logos img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter .3s var(--ease-out), transform .3s var(--ease-out), opacity .3s var(--ease-out);
  opacity: 0.8;
}
.trust__logo-item:hover img {
  transform: scale(1.05);
  opacity: 1;
  filter: none;
}
.trust__logo-item--small {
  max-width: 180px;
}
.trust__logo-item--small img {
  max-height: 80%;
}
.trust__logo-item:hover { color: var(--white); }

/* ============================================================
   TRAILER VIDEO
   ============================================================ */
.trailer .video-frame {
  position: relative; aspect-ratio: 16/9; border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
  overflow: hidden; border: var(--border);
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(0,133,123,0.4), transparent),
    var(--card);
  display: block;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.video-frame wistia-player {
  width: 100%;
  height: 100%;
  display: block;
}
/* Wistia internal container override if needed */
.video-frame wistia-player::part(container) {
  border-radius: 0 !important;
}
.video-frame .wistia_embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video-frame__play {
  width: 92px; height: 92px; border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow); transition: transform .2s;
}
@media (hover: hover) and (pointer: fine) {
  .video-frame:hover .video-frame__play { transform: scale(1.08); }
}
.video-frame__play::after {
  content: ""; border-style: solid; border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #04120f; margin-left: 5px;
}
.video-frame__badge {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal-light);
  background: rgba(13,15,13,0.7); padding: 6px 12px; border-radius: 0;
  border: var(--border);
}
.video-frame__hint {
  position: absolute; left: 0; right: 0; bottom: 26px; text-align: center;
  font-family: var(--font-body); font-weight: 600; font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.04em; color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  padding: 0 20px; pointer-events: none;
}

/* Trailer-Conversion: CTA direkt nach dem Video */
.trailer__convert {
  margin: 28px auto 0; max-width: 560px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.trailer__convert-text {
  font-family: var(--font-body); font-weight: 600; font-size: 17px; color: #d6dad5;
}

/* Trailer-CTA: animierter Pfeil zeigt aufs Video */
.trailer__cta {
  display: block; margin: 0 auto 26px; width: 100%; max-width: 560px;
  text-align: center; cursor: pointer; color: var(--teal-light);
  background: rgba(42,181,185,0.06); border: 1px solid rgba(42,181,185,0.35);
  padding: 16px 36px 18px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out);
}
.trailer__cta:hover { background: rgba(42,181,185,0.12); border-color: var(--teal-light); }
.trailer__cta:active { transform: scale(0.99); }
.trailer__cta-text {
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 14px;
}
/* Doppelter Down-Chevron (zeigt aufs Video darunter) */
.trailer__chev { position: relative; display: block; height: 22px; margin-top: 6px; }
.trailer__chev::before, .trailer__chev::after {
  content: ""; position: absolute; left: 50%; width: 13px; height: 13px;
  border-bottom: 2px solid var(--teal-light); border-right: 2px solid var(--teal-light);
  transform: translateX(-50%) rotate(45deg);
}
.trailer__chev::before { top: 10px; }
.trailer__chev::after { top: 2px; opacity: 0.55; }
@media (hover: hover) and (pointer: fine) {
  .trailer__cta:hover .trailer__chev { animation-duration: 1s; }
}
@media (prefers-reduced-motion: no-preference) {
  .trailer__chev { animation: chevBob 1.6s ease-in-out infinite; }
}
@keyframes chevBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ============================================================
   TECH STRIP
   ============================================================ */
.tech__logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.tech__logos span {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.04em; padding: 8px 16px; border-radius: 0;
  border: var(--border); color: var(--grey);
  background: var(--card); transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.tech__logos span:hover { color: var(--teal-light); border-color: var(--teal-light); }
/* Monochrome Logo-Glyphen per CSS-Mask, folgen der Textfarbe */
.tech__ico {
  width: 18px; height: 18px; flex-shrink: 0; object-fit: contain;
  /* gleichmäßiges Monochrom: jede Logofarbe -> ein Grauton */
  filter: brightness(0) invert(0.62);
  transition: filter .2s var(--ease-out);
}
.tech__logos span:hover .tech__ico { filter: brightness(0) invert(0.85); }

/* ============================================================
   COURSE / MODULES
   ============================================================ */
.stats { display: flex; gap: 48px; flex-wrap: wrap; margin: 40px 0 64px; }
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 56px; color: var(--teal-light); line-height: 1;
}
.stat__label { color: var(--grey); font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 8px; }

/* ---- Mission-Tree: echte Sequenz mit verbundenem Pfad ---- */
.missions { list-style: none; position: relative; margin: 0; padding: 0; max-width: 860px; }
.missions::before {
  content: ""; position: absolute; left: 43px; top: 32px; bottom: 56px; width: 2px;
  background: linear-gradient(var(--teal-light), rgba(42,181,185,0.12));
}
.mission {
  position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 24px;
  padding-bottom: 18px; align-items: start;
}
.mission__node { position: relative; z-index: 1; display: flex; justify-content: center; }
.mission__code {
  font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1;
  width: 88px; height: 66px; display: flex; align-items: center; justify-content: center;
  color: var(--teal-light); background: var(--bg-2);
  border: 1px solid rgba(42,181,185,0.45);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
  transition: box-shadow .2s, transform .2s;
}
.mission__card {
  background: var(--card); border: var(--border); padding: 22px 26px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
@media (hover: hover) and (pointer: fine) {
  .mission:hover .mission__card { transform: translateX(4px); border-color: rgba(42,181,185,0.55); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
  .mission:hover .mission__code { box-shadow: var(--glow); transform: translateY(-2px); }
}
.mission__name {
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: 0.18em; color: var(--teal-light); text-transform: uppercase;
}
.mission__card h3 { margin: 6px 0 0; }
.mission__card ul { list-style: none; display: grid; gap: 7px; }
.mission__card li { color: var(--grey); font-size: 14px; padding-left: 18px; position: relative; }
.mission__card li::before { content: "›"; position: absolute; left: 0; color: var(--teal-dark); }
/* Status */
.mission[data-status="locked"] { opacity: 0.6; }
.mission[data-status="locked"] .mission__code { color: var(--grey); border-color: rgba(150,160,150,0.3); }
.mission[data-status="bonus"] .mission__code {
  color: #04120f; background: var(--teal-light); border-color: var(--teal-light);
}
.mission[data-status="bonus"] .mission__name { color: var(--teal-light); }

@media (max-width: 560px) {
  .mission { grid-template-columns: 60px 1fr; gap: 16px; }
  .missions::before { left: 29px; }
  .mission__code { width: 60px; height: 56px; font-size: 20px; }
  .mission__card { padding: 18px 20px; }
}

/* ---- Kursübersicht: Module (kompakt) links + Monitor rechts ---- */
.course__layout {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px; align-items: center; margin-top: 4px;
}
/* Kurs-Abschnitt kompakter, damit Überschrift + Module + Foto auf einen Screen passen */
.course { padding-top: 64px; padding-bottom: 72px; }
.course .section-head { margin-bottom: 28px; }
.course .section-head h2 { margin-bottom: 14px; }
.course__layout { align-items: start; }

/* Rechte Spalte: Stats über dem Monitor */
.course__right { display: flex; flex-direction: column; gap: 22px; margin-top: -22px; }
.course__right .stats { margin: 0; gap: 22px; flex-wrap: nowrap; }
.course__right .stat__num { font-size: 34px; }
.course__right .stat__label { font-size: 11.5px; margin-top: 5px; }
@media (max-width: 860px) {
  .course__right { gap: 20px; margin-top: 0; }
  .course__right .stats { flex-wrap: wrap; }
}

.missions-head {
  font-family: var(--font-body); font-size: 14px; color: var(--grey);
  line-height: 1.5; margin-bottom: 16px;
}
.missions-head__count {
  font-family: var(--font-head); font-weight: 800; color: var(--teal-light);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.missions--compact { max-width: 100%; }
.missions--compact::before { left: 25px; top: 23px; bottom: 28px; }
.missions--compact .mission { grid-template-columns: 52px 1fr; gap: 14px; padding-bottom: 10px; }
.missions--compact .mission__code {
  width: 52px; height: 46px; font-size: 19px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.missions--compact .mission__card { padding: 11px 16px; }
.missions--compact .mission__name { font-size: 10.5px; letter-spacing: 0.14em; }
.missions--compact .mission__card h3 { font-size: 15px; margin-top: 3px; }

/* ---- 2-Spalten-Raster: 01–05 links | 06–11 rechts ---- */
.missions--grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; max-width: 100%;
}
.missions--grid::before { display: none; }   /* verbindende Linie entfällt im Raster */
.missions--grid .mission { padding-bottom: 0; }
/* feste Platzierung: 1–5 Spalte 1, 6–11 Spalte 2 */
.missions--grid .mission:nth-child(1)  { grid-area: 1 / 1; }
.missions--grid .mission:nth-child(2)  { grid-area: 2 / 1; }
.missions--grid .mission:nth-child(3)  { grid-area: 3 / 1; }
.missions--grid .mission:nth-child(4)  { grid-area: 4 / 1; }
.missions--grid .mission:nth-child(5)  { grid-area: 5 / 1; }
.missions--grid .mission:nth-child(6)  { grid-area: 1 / 2; }
.missions--grid .mission:nth-child(7)  { grid-area: 2 / 2; }
.missions--grid .mission:nth-child(8)  { grid-area: 3 / 2; }
.missions--grid .mission:nth-child(9)  { grid-area: 4 / 2; }
.missions--grid .mission:nth-child(10) { grid-area: 5 / 2; }
.missions--grid .mission:nth-child(11) { grid-area: 6 / 2; }
@media (max-width: 860px) {
  .missions--grid { grid-template-columns: 1fr; }
  .missions--grid .mission { grid-area: auto !important; }
}

/* Monitor mit Scroll-Aufricht-Effekt (wie ein echter Bildschirm) */
.monitor { perspective: 1300px; }
.monitor__bezel {
  border: 5px solid #2e322e; border-radius: 20px; background: #181a18; padding: 10px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(42,181,185,0.15);
  transform-origin: center 78%;
  transform: rotateX(0deg) scale(1);     /* Endzustand & Fallback */
}
.monitor__bezel img { width: 100%; display: block; border-radius: 11px; }
.course__monitor-cap { margin-top: 16px; text-align: center; color: var(--grey); font-size: 13px; }
@keyframes monitor-rise {
  from { transform: rotateX(28deg) scale(0.9); }
  to   { transform: rotateX(0deg) scale(1); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .monitor__bezel {
      animation: monitor-rise linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 42%;
    }
  }
}
@media (max-width: 860px) {
  .course__layout { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   CODE RUNNERS — Your World Your Rules
   ============================================================ */
.runners { background: var(--bg-2); border-top: var(--border); border-bottom: var(--border); }
.runners h2 .grad {
  background: linear-gradient(120deg, var(--teal-light), var(--teal-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.districts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 48px;
}
.district {
  position: relative; border-radius: 0; overflow: hidden;
  aspect-ratio: 4/5; border: var(--border);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.district img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .district:hover img { transform: scale(1.06); }
}
.district__info {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; background: linear-gradient(transparent 30%, rgba(13,15,13,0.92));
}
.district__info h3 { font-size: 18px; }
.district__info p { color: var(--grey); font-size: 13px; margin-top: 4px; }

/* ---- Danach gehört die Welt dir: Headline + nummerierte Möglichkeiten ---- */
.world-next { margin-top: 56px; }
.world-next__head { max-width: 720px; margin-bottom: 26px; }
.world-next__head h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.14; }
.world-next__foot { margin-top: 12px; color: var(--grey); font-size: 16px; line-height: 1.5; }
.world-next__grid {
  list-style: none; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.world-next__grid li {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: var(--border); padding: 18px 20px;
  color: #d6dad5; font-size: 15px; line-height: 1.3; font-weight: 500;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .world-next__grid li:hover { border-color: rgba(42,181,185,0.55); transform: translateY(-3px); }
}
.world-next__ico {
  font-family: system-ui, "Segoe UI Symbol", sans-serif;
  font-size: 22px; line-height: 1; color: var(--teal-light);
  flex-shrink: 0; width: 26px; text-align: center;
}
@media (max-width: 560px) { .world-next__grid { grid-template-columns: 1fr; } }

.no-limits {
  margin-top: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.no-limits__list { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.no-limits__list li {
  display: flex; gap: 12px; align-items: flex-start; color: #d6dad5; font-size: 16px;
}
.no-limits__list li::before { content: "⬡"; color: var(--teal-light); }
.runners-shot {
  border: var(--border); background: var(--card);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.runners-shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Zwei Sprite-Charaktere statt eines Shots */
/* Laser-Duell-Arena (ohne Hintergrund-Blase) */
.sprite-arena {
  position: relative; aspect-ratio: 16 / 10; border: var(--border); background: var(--card);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 7% 6%; overflow: hidden;
}
.fighter {
  height: 74%; width: auto; object-fit: contain; image-rendering: pixelated;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.5));
}
.fighter--r { transform: scaleX(-1); }   /* Roboter schaut nach links */

/* Laserschüsse zwischen beiden */
.laser {
  position: absolute; top: 44%; height: 4px; width: 40px; border-radius: 2px;
  opacity: 0; pointer-events: none;
}
.laser--a { background: linear-gradient(90deg, transparent, var(--teal-light)); box-shadow: 0 0 10px var(--teal-light), 0 0 20px var(--teal-light); }
.laser--b { background: linear-gradient(90deg, #ff5a5a, transparent); box-shadow: 0 0 10px #ff5a5a, 0 0 20px #ff5a5a; }

@media (prefers-reduced-motion: no-preference) {
  .laser--a { animation: laserA 2.6s linear infinite; }
  .laser--b { animation: laserB 2.6s linear infinite; }
  .fighter--l { animation: recoilL 2.6s linear infinite; }
  .fighter--r { animation: recoilR 2.6s linear infinite; }
}
@keyframes laserA {
  0% { left: 24%; opacity: 0; } 4% { opacity: 1; }
  34% { left: 66%; opacity: 1; } 39% { left: 70%; opacity: 0; } 100% { opacity: 0; }
}
@keyframes laserB {
  0%, 50% { left: 64%; opacity: 0; } 54% { opacity: 1; }
  84% { left: 22%; opacity: 1; } 89% { left: 18%; opacity: 0; } 100% { opacity: 0; }
}
@keyframes recoilL {
  0%, 2% { transform: translateX(0); } 6% { transform: translateX(-7px); } 16% { transform: translateX(0); }
}
@keyframes recoilR {
  0%, 52% { transform: scaleX(-1) translateX(0); } 56% { transform: scaleX(-1) translateX(-7px); } 66% { transform: scaleX(-1) translateX(0); }
}

/* ============================================================
   COMING SOON / ADD-ONS
   ============================================================ */
.soon__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px; margin-top: 48px;
}
.soon-card {
  position: relative; overflow: hidden; aspect-ratio: 4/5;
  border: var(--border); background: var(--card);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.soon-card__media { position: absolute; inset: 0; }
.soon-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* Schwarz-weiß + gedimmt: signalisiert "noch nicht live" */
  filter: grayscale(1) contrast(0.92) brightness(0.6);
  transition: filter .5s var(--ease-out), transform .6s var(--ease-out);
}
.soon-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(transparent 32%, rgba(13,15,13,0.95));
}
.soon-card__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 11px; color: var(--teal-light);
  background: rgba(13,15,13,0.7); border: 1px solid rgba(42,181,185,0.5);
  padding: 7px 12px; backdrop-filter: blur(4px);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.soon-card__badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px;
  background: var(--teal-light); box-shadow: 0 0 8px var(--teal-light);
  animation: soon-pulse 1.6s ease-in-out infinite;
}
@keyframes soon-pulse { 50% { opacity: 0.25; } }
.soon-card__info {
  position: absolute; inset: 0; z-index: 2; padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.soon-card__subtitle {
  display: block; font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em; font-size: 11px;
  color: var(--teal-light); margin-bottom: 6px; opacity: 0.8;
}
.soon-card__info h3 { font-size: 22px; margin-bottom: 8px; }
.soon-card__info p { color: var(--grey); font-size: 14px; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
  .soon-card:hover .soon-card__media img { filter: grayscale(0.35) brightness(0.8); transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .soon-card__badge::before { animation: none; }
}

/* ============================================================
   WHY / EMPOWERMENT
   ============================================================ */
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.why__card {
  position: relative; background: var(--card); border: var(--border); border-radius: 0; padding: 24px 24px 26px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.why__num {
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  color: var(--teal-light); opacity: 0.55; display: block; margin-bottom: 12px;
}
.why__card h3 { font-size: 18px; line-height: 1.1; margin-bottom: 8px; }
.why__card p { color: var(--grey); font-size: 14.5px; line-height: 1.45; }

.earn {
  margin-top: 36px; background: linear-gradient(135deg, rgba(0,133,123,0.18), rgba(0,133,123,0.1));
  border: var(--border); border-radius: 0; padding: 40px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  display: flex; gap: 40px; align-items: center; flex-wrap: wrap;
}
.earn__big { font-family: var(--font-display); font-weight: 800; font-size: 50px; color: var(--teal-light); line-height: 1; }
.earn p { color: var(--grey); flex: 1; min-width: 260px; }
.earn small { display: block; margin-top: 8px; color: #757b75; }

/* ============================================================
   KI / VIBE CODING
   ============================================================ */
.ai {
  background:
    radial-gradient(90% 70% at 80% 0%, rgba(42,181,185,0.10), transparent 60%),
    var(--bg-2);
  border-top: var(--border); border-bottom: var(--border);
}
.ai h2 .grad {
  background: linear-gradient(120deg, var(--teal-light), var(--teal-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ai__split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px;
}
.ai__col {
  padding: 34px; border-radius: 0; position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.ai__col .ai__tag {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px;
  margin-bottom: 16px; padding: 5px 12px;
}
.ai__col h3 { font-size: 21px; line-height: 1.25; margin-bottom: 14px; }
.ai__col p { color: var(--grey); font-size: 15px; }
/* Mythos — gedämpft */
.ai__col--myth {
  background: var(--card); border: 1px solid rgba(150,160,150,0.14); opacity: 0.92;
}
.ai__col--myth .ai__tag { color: var(--grey); background: rgba(150,160,150,0.12); }
.ai__col--myth h3 { color: #aab0aa; }
/* Realität — hervorgehoben */
.ai__col--real {
  background: linear-gradient(150deg, rgba(42,181,185,0.14), rgba(0,133,123,0.06));
  border: 1px solid rgba(42,181,185,0.45); box-shadow: var(--glow);
}
.ai__col--real .ai__tag { color: #04120f; background: var(--teal-light); }
.ai__col--real h3 { color: var(--white); }
.ai__col--real::before {
  content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(var(--teal-light), var(--teal-dark));
}

.ai__statement {
  background: var(--card); border: var(--border); padding: 38px 40px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
}
.ai__statement p {
  flex: 1; min-width: 280px; font-size: 18px; line-height: 1.6; color: #d6dad5;
}
.ai__statement strong { color: var(--white); }
.ai__statement .btn { flex-shrink: 0; }

@media (max-width: 760px) {
  .ai__split { grid-template-columns: 1fr; }
  .ai__statement { padding: 28px; }
}

/* ============================================================
   PRICING / SELLING
   ============================================================ */
.pricing { background: var(--bg-2); border-top: var(--border); }
.price-card {
  max-width: 520px; margin: 0 auto; background: var(--card);
  border: 1px solid rgba(42,181,185,0.4); border-radius: 0; padding: 44px;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  text-align: center; box-shadow: var(--glow);
}
.price-card__tag {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px;
  color: var(--teal-light); background: rgba(42,181,185,0.12);
  padding: 6px 14px; border-radius: 0; margin-bottom: 22px;
}
.price-card__price { font-family: var(--font-display); font-weight: 800; font-size: 68px; line-height: 1; }
.price-card__price small { font-size: 22px; color: var(--grey); }
.price-card__old { color: var(--grey); text-decoration: line-through; margin: 6px 0 26px; }
.price-card ul { list-style: none; text-align: left; display: grid; gap: 12px; margin: 28px 0; }
.price-card li { display: flex; gap: 12px; color: #d6dad5; font-size: 15px; }
.price-card li::before { content: "✓"; color: var(--teal-light); font-weight: 700; }
.price-card .btn { width: 100%; justify-content: center; }
.price-card__note { color: #757b75; font-size: 13px; margin-top: 16px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.tcard {
  background: var(--card); border: var(--border); border-radius: 0; padding: 28px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  display: flex; flex-direction: column; gap: 18px;
}
.tcard p { color: #d6dad5; font-size: 15px; font-style: italic; flex: 1; }
.tcard__person { display: flex; align-items: center; gap: 14px; }
.tcard__avatar {
  width: 50px; height: 50px; border-radius: 0; object-fit: cover;
  border: 1px solid var(--teal-dark); background: var(--card-2);
}
.tcard__avatar.ph {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; color: var(--teal-light);
}
.tcard__name { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.tcard__role { color: var(--grey); font-size: 13px; }
.tcard__stars { color: var(--teal-light); letter-spacing: 2px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: var(--card); border: var(--border); border-radius: 0; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.faq__q {
  width: 100%; text-align: left; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
}
.faq__q .plus { color: var(--teal-light); font-size: 24px; transition: transform .25s; flex-shrink: 0; }
.faq__item.open .faq__q .plus { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 24px 22px; color: var(--grey); font-size: 15px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { text-align: center; }
.cta-banner__box {
  background: linear-gradient(135deg, rgba(0,133,123,0.25), rgba(0,133,123,0.15));
  border: 1px solid rgba(42,181,185,0.4); border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  padding: 72px 40px; box-shadow: var(--glow);
}
.cta-banner h2 { margin-bottom: 18px; }
.cta-banner .lead { margin: 0 auto 32px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-2); border-top: var(--border); padding: 72px 0 32px; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px;
}
.footer__brand .logo { margin-bottom: 14px; }
.footer__brand .logo img { height: 56px; width: auto; display: block; }
.footer__brand .logo .hive { color: var(--teal-light); }
.footer__brand p { color: var(--grey); font-size: 14px; max-width: 280px; }
.footer__col h4 {
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 12px; color: var(--white); margin-bottom: 16px;
}
.footer__col a { display: block; color: var(--grey); font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--teal-light); }
.footer__bottom {
  margin-top: 56px; padding-top: 24px; border-top: var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: #757b75; font-size: 13px;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .no-limits { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .stats { gap: 28px; }
  .stat__num { font-size: 42px; }
  .earn { padding: 28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .nav { padding: 12px 18px; }
  .hero__brand { max-width: 230px; margin-bottom: 24px; }
  .hero__console { padding: 24px 22px 28px; }
  .hero__boot { font-size: 11px; }
  .hero__boot .boot__line { white-space: normal; }
}

/* ============================================================
   COACH
   ============================================================ */
.coach { border-top: var(--border); }
.coach__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 56px; align-items: center; }
.coach__photo { position: relative; }
.coach__photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block;
  border: var(--border); background: var(--card); filter: grayscale(0.25) contrast(1.05);
}
/* HUD-Eck-Brackets (wie im Hero) */
.coach__photo::before, .coach__photo::after {
  content: ""; position: absolute; width: 30px; height: 30px;
  border: 2px solid var(--teal-light); opacity: 0.85; pointer-events: none;
}
.coach__photo::before { top: -6px; right: -6px; border-left: none; border-bottom: none; }
.coach__photo::after { bottom: -6px; left: -6px; border-right: none; border-top: none; }

.coach__name {
  font-size: clamp(46px, 6.4vw, 92px); line-height: 0.9;
  text-transform: uppercase; margin: 14px 0 30px;
}
.coach__facts { list-style: none; border-top: var(--border); max-width: 620px; }
.coach__facts li {
  position: relative; padding: 14px 0 14px 24px; border-bottom: var(--border);
  font-family: var(--font-body); font-size: 14.5px; letter-spacing: 0.02em; color: #c3cdc5;
}
.coach__facts li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; background: var(--teal-light);
}
.coach__quote {
  margin-top: 30px; padding-left: 22px; border-left: 2px solid var(--teal-light);
  font-style: italic; font-size: 18px; line-height: 1.5; color: #d6dad5; max-width: 52ch;
}
@media (max-width: 860px) {
  .coach__grid { grid-template-columns: 1fr; gap: 36px; }
  .coach__photo img { aspect-ratio: 1 / 1; }
}

/* ============================================================
   SIGNUP
   ============================================================ */
.signup { background: var(--bg-2); border-top: var(--border); border-bottom: var(--border); }
.signup__box { max-width: 720px; margin: 0 auto; text-align: center; }
.signup__kicker {
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 12.5px; color: var(--teal-light); margin-bottom: 16px;
}
.signup__box h2 { margin-bottom: 16px; }
.signup__box .lead { margin: 0 auto 32px; }
.signup__form { max-width: 540px; margin: 0 auto; text-align: left; }
.signup__label {
  display: block; font-family: var(--font-body); font-weight: 600;
  font-size: 13px; letter-spacing: 0.04em; color: #ced2cc; margin-bottom: 8px;
}
.signup__row { display: flex; gap: 12px; }
.signup__input {
  flex: 1; min-width: 0; font-family: var(--font-body); font-size: 16px;
  color: var(--white); background: var(--card); border: 1px solid rgba(42,181,185,0.4);
  padding: 0 18px; height: 56px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.signup__input::placeholder { color: #828983; }
.signup__input:focus { outline: none; border-color: var(--teal-light); box-shadow: var(--glow); }
.signup__form .btn { flex-shrink: 0; }
.signup__error { color: #ff7b7b; font-size: 14px; margin-top: 10px; }
.signup__success { color: var(--teal-light); font-size: 15px; font-weight: 600; margin-top: 12px; }
.signup__perks {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 26px 0 0;
}
.signup__perks li { color: var(--grey); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.signup__perks li::before { content: "›"; color: var(--teal-light); font-weight: 700; }
@media (max-width: 560px) {
  .signup__row { flex-direction: column; }
  .signup__form .btn { width: 100%; justify-content: center; }
}

/* ---- Partner-Strip (Punkt 7) ---- */
.partners {
  margin-top: 28px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center;
  background: var(--card); border: var(--border); padding: 32px 34px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.partners h3 { margin-bottom: 10px; }
.partners p { color: var(--grey); font-size: 15px; }
.partners__logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.partners__logos span {
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--white);
  border: var(--border); padding: 10px 16px; background: var(--bg-2);
}
@media (max-width: 760px) { .partners { grid-template-columns: 1fr; } .partners__logos { justify-content: flex-start; } }

/* ---- Was sind wir nicht ---- */
.notwe { border-top: var(--border); }
.notwe__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.notwe__card {
  background: var(--card); border: var(--border); padding: 30px 32px;
  border-left: 3px solid var(--teal-dark);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.notwe__card h3 { margin-bottom: 12px; }
.notwe__card p { color: var(--grey); font-size: 15px; }
@media (max-width: 760px) { .notwe__grid { grid-template-columns: 1fr; } }

/* ---- Footer Social ---- */
.footer__social { display: flex; gap: 16px; margin-top: 20px; }
.footer__social a { display: inline-flex; opacity: 0.78; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); }
.footer__social a:hover { opacity: 1; transform: translateY(-2px); }
.footer__social img { display: block; }

/* ============================================================
   CROSSHAIR — Fadenkreuz folgt dem Mauszeiger
   ============================================================ */
.crosshair-overlay {
  display: none;                 /* nur auf echten Maus-Geräten (siehe Media) */
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
}
.crosshair-line-h, .crosshair-line-v {
  position: absolute; top: 0; left: 0;
  background: rgba(42,181,185,0.15);
  will-change: transform;
}
.crosshair-line-h { width: 100%; height: 1px; }
.crosshair-line-v { width: 1px; height: 100%; }
.crosshair-dot {
  position: absolute; top: 0; left: 0;
  width: 13px; height: 13px; border: 1px solid rgba(42,181,185,0.45);
  border-radius: 50%; box-shadow: 0 0 6px rgba(42,181,185,0.18);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .crosshair-overlay { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .crosshair-dot { box-shadow: none; }
}

/* ============================================================
   REDUCED MOTION — Bewegung weg, Verständlichkeit bleibt
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-primary:hover { transform: none; }
  .mech-seam__dot { animation: none; }
}

/* ============================================================
   PHP Email Form Status
   ============================================================ */
.php-email-form .loading {
  display: none;
  background: var(--card);
  text-align: center;
  padding: 15px;
  border: var(--border);
  margin-bottom: 15px;
}
.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--teal-light);
  border-top-color: transparent;
  animation: php-email-form-loading 1s linear infinite;
}
.php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
  border: var(--border);
  margin-bottom: 15px;
}
.php-email-form .sent-message {
  display: none;
  color: #fff;
  background: var(--teal-dark);
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border: var(--border);
  margin-bottom: 15px;
}
.php-email-form .php-email-form-loading {
  display: block;
}
@keyframes php-email-form-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.d-block {
  display: block !important;
}

/* ============================================================
   MECH-SEAM — industrieller Sektions-Übergang (à la Cyberpunk)
   Wiederverwendbar: <div class="mech-seam" aria-hidden="true">...
   ============================================================ */
.mech-seam {
  position: relative;
  height: 96px;
  /* Frame nach oben ziehen, damit die Teal-Naht (bei 50%) exakt auf dem
     sichtbaren grau/schwarz-Übergang sitzt. margin-top + margin-bottom = -96
     (volle Höhe), damit die Signup-Sektion an ihrer Position bleibt. */
  margin-top: -60px;
  margin-bottom: -36px;
  pointer-events: none;
  z-index: 2;
  /* Harte Kante an der Teal-Naht (50%): knapp darüber leicht aufgehellt (Grau),
     exakt an der Linie harter Sprung auf Schwarz, das nach unten weich ausläuft
     und sich in die Signup-Sektion blendet. Erzeugt eine eindeutige Grenze
     genau an der Linie, ohne sichtbare Zweitkanten. */
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) calc(50% - 1px),
    rgba(0, 0, 0, 0.92) 50%,
    rgba(0, 0, 0, 0.92) 72%,
    transparent 100%
  );
}

/* Die gezahnte Rahmenlinie: oben solide Teal-Kante, darunter weicher Tint.
   Notches werden per clip-path in die Kante geschnitten. */
.mech-seam__bar {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 30px;
  background:
    linear-gradient(180deg,
      var(--teal-light) 0,
      var(--teal-light) 2px,
      rgba(42, 181, 185, 0.14) 2px,
      rgba(42, 181, 185, 0.04) 14px,
      transparent 100%);
  clip-path: polygon(
    0 7px,
    5% 7px, 5% 0, 9% 0, 9% 7px,
    20% 7px, 21% 3px, 25% 3px, 26% 7px,
    46% 7px, 46% 0, 54% 0, 54% 7px,
    74% 7px, 75% 3px, 79% 3px, 80% 7px,
    91% 7px, 91% 0, 95% 0, 95% 7px,
    100% 7px,
    100% 100%, 0 100%
  );
}

/* Zweite, dünnere Linie darunter — gibt der Naht Tiefe */
.mech-seam__bar::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 20px;
  height: 1px;
  background: rgba(42, 181, 185, 0.25);
}

/* Eckklammern links/unten und rechts/unten */
.mech-seam__bracket {
  position: absolute;
  bottom: 14px;
  width: 22px; height: 22px;
}
.mech-seam__bracket--l { left: clamp(16px, 5vw, 64px); border-left: 2px solid var(--teal-light); border-bottom: 2px solid var(--teal-light); }
.mech-seam__bracket--r { right: clamp(16px, 5vw, 64px); border-right: 2px solid var(--teal-light); border-bottom: 2px solid var(--teal-light); }

/* Mono-Label oben links */
.mech-seam__label {
  position: absolute;
  top: 14px;
  left: clamp(16px, 5vw, 64px);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-light);
  white-space: nowrap;
}
.mech-seam__label small {
  color: var(--grey);
  font-weight: 500;
  letter-spacing: 0.12em;
}
.mech-seam__dot {
  width: 7px; height: 7px;
  background: var(--teal-light);
  box-shadow: 0 0 10px var(--teal-light);
  animation: mechBlink 1.4s steps(1, end) infinite;
}
@keyframes mechBlink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.15; } }

/* Barcode-Ticks oben rechts */
.mech-seam__ticks {
  position: absolute;
  top: 14px;
  right: clamp(16px, 5vw, 64px);
  width: 96px; height: 14px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--teal-light) 0, var(--teal-light) 2px,
    transparent 2px, transparent 5px,
    var(--teal-light) 5px, var(--teal-light) 6px,
    transparent 6px, transparent 11px
  );
  opacity: 0.7;
}

@media (max-width: 640px) {
  .mech-seam { height: 78px; }
  .mech-seam__label small { display: none; }
  .mech-seam__ticks { width: 60px; }
}

/* ============================================================
   GLOW-CARD — Spotlight-Hover (folgt dem Cursor)
   Nur für Felder, die bisher keinen Hover-Effekt hatten.
   --mx/--my werden per JS gesetzt (main.js).
   ============================================================ */
.glow-card {
  transition: transform .28s var(--ease-out), border-color .28s var(--ease-out);
}
/* Spotlight: weicher Teal-Schein an der Cursor-Position. screen-Blend, damit
   Text lesbar bleibt; wird durch das clip-path der Card automatisch beschnitten. */
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 50%),
    rgba(42, 181, 185, 0.20),
    transparent 62%
  );
  mix-blend-mode: screen;
}
@media (hover: hover) and (pointer: fine) {
  .glow-card:hover {
    transform: translateY(-4px);
    border-color: rgba(42, 181, 185, 0.55);
  }
  .glow-card:hover::after { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .glow-card { transition: border-color .28s ease; }
  .glow-card:hover { transform: none; }
}
