/* =========================================================================
   nijodex — site.css
   Dark hero + light content hybrid. Poppins throughout.
   ========================================================================= */

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

:root {
  /* Entwurf-Palette + Design-System-Anker */
  --navy-900: #050A14;
  --navy-800: #0A1528;
  --navy-700: #0C2550;
  --navy-600: #122E5E;
  --navy-500: #1D3D75;
  --bg-dark:  #070F1F;        /* Entwurf-Hintergrund */
  --bg-dark-2:#080D1A;

  --blue:     #0F8BE4;
  --blue-600: #0D7DCF;
  --blue-700: #0B6FB8;
  --mid:      #3533CD;
  --lemon:    #A5B400;        /* offizielles Olive-Lime */
  --lemon-2:  #8E9B00;

  /* Neutrale (hell) */
  --white:    #FFFFFF;
  --n-50:     #F5F7FA;
  --n-100:    #EEF2F7;
  --n-200:    #E3E8EF;
  --n-300:    #CBD3DE;
  --n-400:    #8A96A8;
  --n-500:    #5A6578;
  --n-600:    #4A5566;
  --n-700:    #2B3344;
  --n-900:    #0B1220;

  /* Primary action accent */
  --accent:       var(--lemon);
  --accent-hover: var(--lemon-2);
  --accent-soft:  rgba(165, 180, 0, 0.12);
  --accent-line:  rgba(165, 180, 0, 0.3);

  /* Type */
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Poppins', system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Layout */
  --max: 1200px;
  --nav-h: 72px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--font);
  background: linear-gradient(to right, #0a1f4a 0%, #030c1a 60%, #000508 100%);
  background-attachment: fixed;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-160%);
  background: var(--lemon);
  color: #07101f;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 160ms var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid #fff;
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--lemon) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px rgba(165, 180, 0, 0.18) !important;
}

#fp-wrap:focus-visible {
  outline-offset: -6px !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(24px, 6vw, 64px);
  background: rgba(7, 15, 31, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-mobile-cta { display: none; }
.nav-links a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  transition: color 180ms var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #0a1f4a;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 9px 20px; border-radius: 4px;
  transition: background 180ms var(--ease), transform 120ms var(--ease);
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.nav-burger { display: none; background: none; border: 0; color: #fff; cursor: pointer; }
html.nav-open,
html.nav-open body { overflow: hidden; }

/* =========================================================================
   Utility
   ========================================================================= */
.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
main { padding-top: var(--nav-h); }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--lemon);
  margin-bottom: 16px;
}
.eyebrow--lemon { color: var(--lemon); }

.accent { color: var(--accent); }
.accent-lemon { color: var(--lemon); }

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.01em; }
h2 .punct { color: var(--lemon); }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.5rem); font-weight: 700; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; line-height: 1.15; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }

.lead { font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,0.72); max-width: 60ch; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.divider { border: 0; border-top: 1px solid rgba(255,255,255,0.06); }

.subpage-section {
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 84px)) 0 clamp(64px, 8vw, 96px);
}
.subpage-hero {
  padding-bottom: clamp(28px, 5vw, 52px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: clamp(28px, 5vw, 48px);
}
.subpage-hero h1,
.subpage-hero h2 {
  max-width: 13ch;
  margin-bottom: 16px;
}
.subpage-hero .lead {
  max-width: 58ch;
}
.subpage-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 32px;
  max-width: 820px;
  border-top: 1px solid rgba(255,255,255,0.11);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.subpage-proof__item {
  padding: 18px 24px 18px 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.subpage-proof__item + .subpage-proof__item { padding-left: 24px; }
.subpage-proof__item:last-child { border-right: none; }
.subpage-proof__num {
  color: var(--lemon);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
}
.subpage-proof__label {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  line-height: 1.45;
  margin-top: 7px;
}
.surface-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
}
.page-note {
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  padding: 28px;
  overflow-wrap: anywhere;
}
.page-note p,
.page-note li { overflow-wrap: anywhere; }
.page-note strong { color: #fff; }
.page-note + .page-note { margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 25px; border-radius: 4px;
  font-family: var(--font); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; border: 0;
  transition: background 180ms var(--ease), border-color 180ms var(--ease),
              color 180ms var(--ease), transform 120ms var(--ease);
}
.btn-primary { background: var(--accent); color: #0a1f4a; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark {
  background: var(--navy-900); color: #fff;
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.fp-slide--cta .btn {
  padding: 13px 32px !important;
  font-size: .95rem !important;
}

/* Tags */
.tag {
  display: inline-block;
  background: var(--accent-soft); color: var(--accent);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px; border-radius: 4px;
  margin: 3px;
}

/* =========================================================================
   Fullpage slide component
   ========================================================================= */
#fp-wrap {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
#fp-wrap::-webkit-scrollbar { display: none; }
.fp-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.fp-slide .container {
  width: 100%;
  max-width: 1160px;
  padding: 0 clamp(20px, 5vw, 80px);
}
.fp-slide .slide-inner {
  width: 100%;
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity .75s cubic-bezier(.22, 1, .36, 1),
    transform .75s cubic-bezier(.22, 1, .36, 1);
}
.fp-slide.active .slide-inner {
  opacity: 1;
  transform: none;
}
.fp-slide .slide-inner > * {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity .6s cubic-bezier(.22, 1, .36, 1),
    transform .6s cubic-bezier(.22, 1, .36, 1);
}
.fp-slide.active .slide-inner > *:nth-child(1) { opacity: 1; transform: none; transition-delay: .10s; }
.fp-slide.active .slide-inner > *:nth-child(2) { opacity: 1; transform: none; transition-delay: .20s; }
.fp-slide.active .slide-inner > *:nth-child(3) { opacity: 1; transform: none; transition-delay: .30s; }
.fp-slide.active .slide-inner > *:nth-child(4) { opacity: 1; transform: none; transition-delay: .40s; }
.fp-slide.active .slide-inner > *:nth-child(n+5) { opacity: 1; transform: none; transition-delay: .45s; }

#fp-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}
.fp-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  color: transparent;
  font-size: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.fp-dot:hover,
.fp-dot:focus-visible { background: rgba(255,255,255,.6); }
.fp-dot.active {
  background: var(--accent);
  transform: scale(1.4);
}
#fp-counter {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 150;
  color: rgba(255,255,255,.3);
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  letter-spacing: .1em;
  transform: translateX(-50%);
}
.scroll-hint {
  position: absolute;
  bottom: 86px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(165,180,0,.9);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 145;
  transform: translateX(-50%);
  animation: nj-fp-bounce 1.65s ease-in-out infinite;
  text-shadow: 0 0 18px rgba(165,180,0,.26);
  appearance: none;
}
.scroll-hint:hover,
.scroll-hint:focus-visible {
  color: rgba(165,180,0,1);
  outline: none;
}
.scroll-hint svg {
  width: 20px;
  height: 20px;
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(165,180,0,.42));
}
@keyframes nj-fp-bounce {
  0%, 100% { transform: translateX(-50%) translateY(-4px); opacity: .7; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

@media (max-width: 768px) {
  #fp-wrap {
    height: 100dvh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-padding-top: 0;
    -webkit-overflow-scrolling: touch;
  }
  .fp-slide {
    min-height: 100svh;
    height: auto;
    overflow: visible;
    padding: 92px 0 84px;
  }
  .fp-slide--hero {
    padding-top: calc(var(--nav-h) + 58px);
    padding-bottom: 88px;
  }
  .fp-slide .container {
    padding-inline: 24px 38px;
  }
  .fp-slide .slide-inner,
  .fp-slide .slide-inner > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #fp-dots {
    right: 11px;
    top: 56%;
    gap: 8px;
    padding: 8px 5px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(3,12,26,.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .fp-dot {
    width: 6px;
    height: 6px;
  }
  .fp-dot.active { transform: scale(1.55); }
  #fp-counter,
  .scroll-hint { display: none; }
}

/* =========================================================================
   Technical hero console
   ========================================================================= */
.hero-console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}
.hero-console-copy .lead {
  margin-top: 18px;
  max-width: 62ch;
}
.hero-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.025)),
    rgba(3,12,26,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  padding: 22px;
}
.hero-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .42;
  pointer-events: none;
}
.hero-console > * {
  position: relative;
  z-index: 1;
}
.hero-console__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 14px;
  margin-bottom: 12px;
}
.hero-console__label,
.hero-console__key {
  font-family: 'JetBrains Mono', var(--font-mono, monospace);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero-console__label {
  color: var(--lemon);
  font-size: 11px;
}
.hero-console__meta {
  color: rgba(255,255,255,.46);
  font-family: 'JetBrains Mono', var(--font-mono, monospace);
  font-size: 11px;
  text-align: right;
  line-height: 1.45;
}
.hero-console__flow {
  display: grid;
  gap: 0;
}
.hero-console__row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 13px 0;
}
.hero-console__row:last-child {
  border-bottom: 0;
}
.hero-console__key {
  color: rgba(255,255,255,.38);
  font-size: 10px;
  padding-top: 3px;
}
.hero-console__value strong {
  display: block;
  color: #fff;
  font-size: .96rem;
  line-height: 1.35;
  margin-bottom: 3px;
}
.hero-console__value span {
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  line-height: 1.5;
}
.hero-console__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 12px;
  padding-top: 16px;
}
.hero-console__stats strong {
  display: block;
  color: var(--lemon);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  line-height: 1.15;
}
.hero-console__stats span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .hero-console-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hero-console-copy .lead {
    margin-top: 14px;
    max-width: none;
  }
  .hero-console {
    padding: 16px;
    border-radius: 10px;
  }
  .hero-console__head {
    padding-bottom: 10px;
    margin-bottom: 8px;
  }
  .hero-console__row {
    grid-template-columns: 68px 1fr;
    gap: 12px;
    padding: 10px 0;
  }
  .hero-console__value strong {
    font-size: .86rem;
  }
  .hero-console__value span {
    display: none;
  }
  .hero-console__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 12px;
  }
  .hero-console__stats strong {
    font-size: .92rem;
  }
  .hero-console__stats span {
    font-size: 9px;
  }
}

/* =========================================================================
   Hero base — radiant-gradient style
   ========================================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 72% 40%, rgba(53, 51, 205, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 85%, rgba(12, 38, 82, 0.8) 0%, transparent 60%),
    var(--bg-dark);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='none' stroke='%230f8be4' stroke-width='0.3' stroke-opacity='0.08'><path d='M0 30h60M30 0v60'/></g></svg>");
}
.hero > .container { position: relative; z-index: 1; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(165, 180, 0, 0.12);
  border: 1px solid rgba(165, 180, 0, 0.3);
  color: var(--lemon);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lemon);
  box-shadow: 0 0 0 0 rgba(165,180,0,0.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(165,180,0,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(165,180,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(165,180,0,0); }
}
.hero h1 { max-width: 18ch; margin-bottom: 24px; }
.hero-sub { max-width: 56ch; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 72px; }

/* Stat row */
.stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); }
.stats.stats--section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 8px;
}
.stats--section .stat {
  padding: 28px 28px 28px 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stats--section .stat .label {
  font-size: 12.5px;
  line-height: 1.45;
  white-space: normal;
  /* Verhindert 3. Zeile: der Zeilenumbruch kommt nur vom <br/> */
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}
.stats--section .stat:last-child { border-right: none; }
.stats--section .stat + .stat { padding-left: 28px; }
@media (max-width: 820px) {
  .stats.stats--section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats--section .stat:nth-child(2n) { border-right: none; }
  .stats--section .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 480px) {
  .stats.stats--section { grid-template-columns: 1fr; }
  .stats--section .stat { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px 0 !important; }
  .stats--section .stat:last-child { border-bottom: none; }
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  color: var(--accent);
  line-height: 1;
}
.stat .label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-top: 8px;
  max-width: 22ch;
}

/* =========================================================================
   Hero variants
   ========================================================================= */

/* 2 — Split (dark hero, right panel teaser) */
.hero--split { align-items: stretch; padding: 0; }
.hero--split .split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: calc(100vh - var(--nav-h));
  width: 100%;
  max-width: none;
  padding: 0;
}
.hero--split .split-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px clamp(40px, 6vw, 96px) 80px;
  background:
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(12,38,82,0.7), transparent 60%),
    var(--bg-dark);
}
.hero--split .split-right {
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px clamp(40px, 6vw, 96px) 80px;
  background: transparent;
  color: rgba(255,255,255,0.88);
  border-left: 1px solid rgba(255,255,255,0.08);
}
.hero--split .split-right h2 { color: var(--n-900); max-width: 18ch; }
.hero--split .split-right p { color: var(--n-600); max-width: 44ch; line-height: 1.7; margin-top: 16px; }
.hero--split .split-right .match-big { color: var(--navy-700); }
.hero--split .stats .label { color: var(--n-500); }

/* 3 — Constellation (olive-dot motif) */
.hero--constellation { background: var(--navy-900); }
.hero--constellation::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 1000px 600px at 80% 20%, rgba(165,180,0,0.08), transparent 60%),
    radial-gradient(ellipse 800px 500px at 15% 90%, rgba(12,38,82,0.9), transparent 60%);
}
.hero--constellation::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 15%, rgba(165,180,0,0.9) 0, rgba(165,180,0,0.9) 2px, transparent 2.5px),
    radial-gradient(circle at 25% 40%, rgba(165,180,0,0.6) 0, rgba(165,180,0,0.6) 3px, transparent 3.5px),
    radial-gradient(circle at 55% 12%, rgba(165,180,0,0.8) 0, rgba(165,180,0,0.8) 2px, transparent 2.5px),
    radial-gradient(circle at 75% 65%, rgba(165,180,0,0.7) 0, rgba(165,180,0,0.7) 3px, transparent 3.5px),
    radial-gradient(circle at 88% 30%, rgba(165,180,0,0.9) 0, rgba(165,180,0,0.9) 4px, transparent 4.5px),
    radial-gradient(circle at 35% 82%, rgba(165,180,0,0.5) 0, rgba(165,180,0,0.5) 2.5px, transparent 3px),
    radial-gradient(circle at 65% 90%, rgba(165,180,0,0.7) 0, rgba(165,180,0,0.7) 2px, transparent 2.5px),
    radial-gradient(circle at 90% 78%, rgba(165,180,0,0.6) 0, rgba(165,180,0,0.6) 2.5px, transparent 3px),
    radial-gradient(circle at 5%  65%, rgba(165,180,0,0.5) 0, rgba(165,180,0,0.5) 2px, transparent 2.5px),
    radial-gradient(circle at 45% 55%, rgba(165,180,0,0.4) 0, rgba(165,180,0,0.4) 2.5px, transparent 3px);
}

/* 4 — Editorial (giant typo, terminal-ish) */
.hero--editorial {
  background: linear-gradient(to right, #0a1f4a 0%, #030c1a 60%, #000508 100%);
  padding: 140px 0 100px;
  min-height: auto;
}
.hero--editorial::after { display: none; }
.hero--editorial h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.005em;
  max-width: none;
}
.hero--editorial .terminal {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 18px 22px;
  margin: 32px 0 40px;
  max-width: 640px;
  line-height: 1.9;
}
.hero--editorial .terminal .prompt { color: var(--lemon); margin-right: 8px; }
.hero--editorial .terminal .comment { color: rgba(165,180,0,0.6); }
.hero--editorial .terminal .ok { color: var(--lemon); }

/* Terminal-Block in der Original-Hero-Variante (unter den Stats) */
.hero-terminal-original {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 40px;
  max-width: 640px;
  line-height: 1.9;
}
.hero-terminal-original .prompt { color: var(--lemon); margin-right: 8px; }
.hero-terminal-original .comment { color: rgba(255,255,255,0.38); }
.hero-terminal-original .ok { color: var(--lemon); }
/* Nur in Original-Variante anzeigen */
.hero--split .hero-terminal-original,
.hero--constellation .hero-terminal-original,
.hero--editorial .hero-terminal-original { display: none; }

/* Editorial: Vertragsarten-Zeile anzeigen (alt: Stats-Zeile) */
.hero--editorial .hero-contracts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  max-width: 960px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero--editorial .hero-contracts .hc-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 28px 24px 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero--editorial .hero-contracts .hc-item:last-child { border-right: none; }
.hero--editorial .hero-contracts .hc-item + .hc-item { padding-left: 28px; }
.hero--editorial .hero-contracts .hc-num {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--lemon);
  letter-spacing: 0.08em;
  padding-top: 2px;
  flex-shrink: 0;
}
.hero--editorial .hero-contracts .hc-title {
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.hero--editorial .hero-contracts .hc-meta {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 5px;
}
/* Non-editorial: Vertragsarten-Zeile soll nicht erscheinen */
.hero-contracts { display: none; }
.hero--editorial .hero-contracts { display: grid; }

/* Vertragsarten-Sektion (unter Spezialisierungen) */
.contracts-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 8px;
}
.contracts-row .hc-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 32px 28px 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.contracts-row .hc-item:last-child { border-right: none; }
.contracts-row .hc-item + .hc-item { padding-left: 32px; }
.contracts-row .hc-num {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--lemon);
  letter-spacing: 0.08em;
  padding-top: 2px;
  flex-shrink: 0;
}
.contracts-row .hc-title {
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.contracts-row .hc-meta {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 5px;
}
@media (max-width: 720px) {
  .contracts-row { grid-template-columns: 1fr; }
  .contracts-row .hc-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px 0 !important; }
  .contracts-row .hc-item:last-child { border-bottom: none; }
  .contracts-row .hc-item + .hc-item { padding-left: 0; }
}

/* =========================================================================
   Problem section (light)
   ========================================================================= */
.section--light {
  background: transparent; color: rgba(255,255,255,0.88);
}
.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4 { color: #fff; }
.section--light .eyebrow { color: var(--accent); }
.section--light p { color: rgba(255,255,255,0.72); }

.section--navy {
  background: rgba(10,31,74,0.35);
  border-top: 3px solid var(--lemon);
  border-bottom: 3px solid var(--accent);
  color: #fff;
}
.section--navy p { color: rgba(255,255,255,0.75); }

.section--dark { background: rgba(0,0,0,0.25); }

/* Cards — pain */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 180ms var(--ease),
              transform 180ms var(--ease),
              box-shadow 180ms var(--ease);
}
.pain-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(15, 139, 228, 0.08);
}
.pain-card .pain-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.pain-card h3 { color: #fff; margin-bottom: 8px; }
.pain-card p { color: rgba(255,255,255,0.72); font-size: 0.94rem; line-height: 1.65; }

/* Dark variant of pain cards (for dark mode) */
.pain--dark .pain-card {
  background: rgba(12, 38, 82, 0.35);
  border-color: rgba(15, 139, 228, 0.12);
}
.pain--dark .pain-card:hover { border-color: var(--accent); }
.pain--dark .pain-card h3 { color: #fff; }
.pain--dark .pain-card p { color: rgba(255,255,255,0.7); }

/* Solution strip */
.solution-grid {
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.solution-big {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 16ch;
}
.match-big {
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 9rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--mid));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
:root[data-accent="lemon"] .match-big {
  background: linear-gradient(135deg, var(--lemon), #6a7600);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Specializations tags */
.spec-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* CTA band */
.cta-band { text-align: center; padding: clamp(64px, 9vw, 112px) 0; background: var(--bg-dark-2); }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 48ch; margin: 0 auto 36px; line-height: 1.7; }
.section--light.cta-band { background: transparent; }
.section--light.cta-band p { color: rgba(255,255,255,0.72); }

/* =========================================================================
   Method page
   ========================================================================= */
.step-grid { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: start;
}
.step:last-child { border-bottom: 0; }
.section--light .step { border-bottom-color: rgba(255,255,255,0.08); }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.25rem;
}
.step-body h3 { margin-bottom: 10px; }
.step-body p { line-height: 1.75; font-size: 0.96rem; margin-top: 6px; }
.step-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }

.method-result {
  margin-top: 56px;
  padding: 32px 36px;
  background: rgba(165, 180, 0, 0.06);
  border: 1px solid rgba(165, 180, 0, 0.25);
  border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.method-result h3 { color: var(--lemon); margin-bottom: 6px; }

/* =========================================================================
   Services page
   ========================================================================= */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: rgba(12, 38, 82, 0.3);
  border: 1px solid rgba(15, 139, 228, 0.12);
  border-radius: 12px;
  padding: 36px 32px;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.service-card .s-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: rgba(255,255,255,0.7); line-height: 1.7; font-size: 0.94rem; }
.service-kicker {
  margin-top: 20px;
  color: var(--lemon); font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 8px;
}

.spec-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px; margin-top: 28px;
}
.spec-pill {
  background: rgba(12, 38, 82, 0.5);
  border: 1px solid rgba(15, 139, 228, 0.18);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.94rem; font-weight: 600;
}
.spec-pill .cat {
  display: block; margin-bottom: 4px;
  color: var(--lemon); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================================================================
   About page
   ========================================================================= */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.quote-card {
  position: relative;
  padding: 40px 36px;
  background: linear-gradient(135deg, rgba(12, 38, 82, 0.6), rgba(53, 51, 205, 0.18));
  border: 1px solid rgba(53, 51, 205, 0.3);
  border-radius: 16px;
}
.quote-card::before {
  content: '"'; position: absolute; top: 6px; left: 24px;
  font-family: Georgia, serif; font-size: 8rem; line-height: 1;
  color: rgba(15, 139, 228, 0.18);
}
.quote-card blockquote {
  position: relative; font-size: 1.08rem; line-height: 1.8;
  color: rgba(255,255,255,0.82);
}
.quote-card cite {
  display: block; margin-top: 18px;
  color: var(--accent); font-style: normal; font-weight: 600; font-size: 0.9rem;
}

.name-key {
  margin-top: 28px; padding: 18px 22px;
  background: rgba(165, 180, 0, 0.08);
  border-left: 3px solid var(--lemon);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem; color: rgba(255,255,255,0.72);
  line-height: 1.7;
}
.name-key strong { color: #fff; }

.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  margin-top: 36px;
}
.value-card {
  background: rgba(12, 38, 82, 0.3);
  border-left: 3px solid var(--accent);
  padding: 24px 26px;
  border-radius: 0 10px 10px 0;
}
.value-card h3 { color: var(--accent); margin-bottom: 8px; }
.value-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; }

/* =========================================================================
   Contact page
   ========================================================================= */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.contact-info p { color: rgba(255,255,255,0.72); line-height: 1.8; margin-bottom: 28px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-item .ci-icon {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.ci-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 2px; }
.ci-value { font-size: 0.96rem; font-weight: 600; }

.contact-stat {
  margin-top: 32px;
  padding: 22px 24px;
  background: rgba(165, 180, 0, 0.07);
  border: 1px solid rgba(165, 180, 0, 0.25);
  border-radius: 10px;
}
.contact-stat .big {
  font-family: var(--font-display);
  font-weight: 800; font-size: 2.2rem; color: var(--lemon); line-height: 1;
}
.contact-stat p { margin-top: 6px; font-size: 0.86rem; line-height: 1.6; }

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.06);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: #0C2550; }
.form-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  margin: 22px 0;
  color: rgba(255,255,255,0.62);
  font-size: 0.82rem;
  line-height: 1.6;
}
.form-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--lemon);
}
.form-check a { color: var(--lemon); text-decoration: underline; text-underline-offset: 3px; }
.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.48);
  margin-top: 12px;
  line-height: 1.5;
}
.form-status.is-success { color: rgba(165,180,0,0.95); }
.form-status.is-error { color: #ffb4a8; }
.form-btn {
  width: 100%;
  background: var(--accent); color: #fff; border: 0;
  border-radius: 6px; padding: 14px;
  font-family: var(--font); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms var(--ease), transform 120ms var(--ease);
}
.form-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.form-btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
  background: #040810;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 0;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer img { height: 30px; width: auto; opacity: 0.9; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,255,255,0.45); font-size: 13px;
  transition: color 150ms var(--ease);
}
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: rgba(255,255,255,0.35); font-size: 12px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 960px) {
  .nav {
    display: grid;
    grid-template-columns: auto minmax(36px, 1fr) auto auto;
    column-gap: clamp(14px, 3vw, 24px);
  }
  .nav-logo { min-width: 0; }
  .nav-logo img { height: 34px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    height: calc(100dvh - var(--nav-h));
    background:
      linear-gradient(120deg, rgba(10,31,74,.98) 0%, rgba(5,15,32,.99) 48%, rgba(0,5,8,.99) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: clamp(22px, 5vw, 42px) clamp(24px, 6vw, 64px) 48px;
    z-index: 390;
    border-top: 1px solid rgba(255,255,255,0.06);
    overflow-y: auto;
    list-style: none;
  }
  .nav-links.open li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open li:last-child { border-bottom: none; }
  .nav-links.open a {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 15px 0;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
  }
  .nav-links.open a:hover,
  .nav-links.open a[aria-current="page"] { color: var(--accent); }
  .nav-links.open .nav-mobile-cta {
    display: block;
    border-bottom: none;
    padding-top: 18px;
  }
  .nav-links.open .nav-mobile-cta a {
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    font-size: .95rem;
    background: var(--accent);
    color: #07101f;
    border-radius: 8px;
  }
  .nav-burger {
    display: grid;
    place-items: center;
    justify-self: end;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    font-size: 22px;
    line-height: 1;
  }
  .nav-cta {
    justify-self: end;
    padding: 11px clamp(16px, 2.7vw, 27px);
    white-space: nowrap;
  }
  .pain-grid, .service-grid, .two-col, .solution-grid, .contact-grid,
  .values-grid, .hero--split .split-grid {
    grid-template-columns: 1fr;
  }
  .hero--split .split-grid { min-height: auto; }
  .hero--split .split-right { border-left: 0; border-top: 1px solid var(--n-200); }
  .step { grid-template-columns: 64px 1fr; gap: 20px; }
  .step-num { width: 52px; height: 52px; font-size: 1rem; }
  h1 { font-size: 2.4rem; }
}

@media (max-width: 720px) {
  .nav {
    grid-template-columns: auto 1fr auto;
    padding-inline: clamp(18px, 6vw, 28px);
  }
  .nav-cta { display: none; }
  .subpage-section { padding-top: calc(var(--nav-h) + 32px); }
  .subpage-proof { grid-template-columns: 1fr; }
  .subpage-proof__item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0 !important;
  }
  .subpage-proof__item:last-child { border-bottom: none; }
  .contact-form { padding: 24px; }
}
