@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/Inter-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Inter-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Inter-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Inter-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Inter-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Sora-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/Sora-800.ttf') format('truetype');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/Sora-900.ttf') format('truetype');
}

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

:root {
  /* Brand colors from logo */
  --navy:       #0f0d1e;      /* tiefes Hintergrundblau */
  --navy2:      #141228;      /* leicht heller */
  --navy3:      #1d1a36;      /* Karten-BG */
  --navy4:      #252140;      /* Hover-States */
  --blue:       #5b6be8;      /* Kompass-Blau */
  --blue-light: #7a88ee;      /* Hover */
  --pink:       #c571ed;      /* Kompass-Pink */
  --pink-light: #d48cf2;
  --white:      #ffffff;
  --ivory:      #f0eeff;      /* leicht lila getöntes Weiß */
  --mid:        #a5a2c4;      /* mittlerer Text */
  --border:     rgba(91,107,232,0.15);
  --border2:    rgba(255,255,255,0.06);

  /* Gradient für Akzente */
  --gradient:   linear-gradient(135deg, var(--blue) 0%, var(--pink) 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Sora', sans-serif;
  letter-spacing: -.02em;
}

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

/* ─── LAYOUT ─────────────────────────── */

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 6rem 1.5rem; }
section.alt { background: var(--navy2); }

#prozess {
  position: relative;
  overflow: hidden;
  background-color: var(--navy2);
}

#prozess .prozess-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('assets/gptweltkarte.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(1) brightness(.55) contrast(1.15);
}

#prozess .prozess-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--pink) 100%);
  mix-blend-mode: color;
  opacity: .9;
}

#prozess::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(15, 13, 30, 0.78);
}

#prozess .container {
  position: relative;
  z-index: 3;
}

/* ─── GRADIENT TEXT ──────────────────── */

.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.strike {
  position: relative;
  color: var(--mid);
  opacity: .55;
}

.strike::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 50%;
  height: 3px;
  background: var(--pink);
  transform: rotate(-4deg);
  border-radius: 2px;
}

/* ─── NAV ────────────────────────────── */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 1.5rem;
  transition: background .3s, border-color .3s;
}

#navbar.scrolled {
  background: rgba(15,13,30,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 32px;
  width: auto;
}

.logo-fallback {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.logo-fallback .mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-fallback .word-marken { color: var(--ivory); font-weight: 700; }
.logo-fallback .word-pilot  { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  font-size: .875rem;
  font-weight: 500;
  color: var(--mid);
}

.nav-links a:hover { color: var(--ivory); transition: color .15s; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all .2s;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  box-shadow: 0 4px 20px rgba(91,107,232,.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(91,107,232,.5);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--ivory);
  padding: .9rem 2rem;
  font-size: 1rem;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--blue);
  background: rgba(91,107,232,.06);
}

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Hamburger */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ivory);
  cursor: pointer;
}

#mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border2);
  background: var(--navy);
  font-size: .875rem;
  color: var(--mid);
}

#mobile-menu a:hover { color: var(--ivory); }
#mobile-menu .btn-primary { width: fit-content; margin-top: .5rem; border-radius: 9999px; }

/* ─── HERO ───────────────────────────── */

/*
   ─── BACKUP: vorherige Version (animiertes Farb-Mesh, kein Foto) ───
   Zum Zurückwechseln: diesen Block aktivieren und den aktiven #hero-Block
   weiter unten (mit headerhg.jpg) stattdessen auskommentieren.

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
}

#hero::before {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 45% 40% at 20% 25%, rgba(91,107,232,.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 45% at 80% 20%, rgba(197,113,237,.28) 0%, transparent 70%),
    radial-gradient(ellipse 50% 45% at 75% 80%, rgba(91,107,232,.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(197,113,237,.2) 0%, transparent 70%);
  filter: blur(40px);
  animation: meshDrift 22s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-3%, 2%) scale(1.08); }
  100% { transform: translate(2%, -2%) scale(1); }
}

   ─── ENDE BACKUP ───
*/

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
  background-image: url('assets/headerhg3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(15, 13, 30, 0.78);
}

#hero .container {
  position: relative;
  z-index: 1;
}

/* Hintergrundglow */
.hero-glow-blue {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(91,107,232,.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow-pink {
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(197,113,237,.08) 0%, transparent 65%);
  pointer-events: none;
}

/* Subtiles Raster */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91,107,232,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,107,232,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 2rem;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(91,107,232,.1);
  border: 1px solid rgba(91,107,232,.25);
  border-radius: 9999px;
  padding: .35rem 1rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.hero-h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: .95;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-sub {
  color: var(--mid);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
  justify-content: center;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(91, 107, 232, 0.08);
  border: 1px solid rgba(91, 107, 232, 0.18);
  border-radius: 9999px;
  padding: .5rem 1rem .5rem .6rem;
  color: var(--ivory);
  font-size: .875rem;
  font-weight: 500;
}

.trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.trust-sep { display: none; }

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: var(--mid);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: pulse 2s infinite;
}

@keyframes pulse { 0%,100%{opacity:.4} 50%{opacity:1} }

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-h1 .line-1 {
  display: block;
  animation: slideInRight .7s cubic-bezier(.22,.68,0,1.2) .1s both;
}

.hero-h1 .line-2 {
  display: block;
  animation: slideInRight .7s cubic-bezier(.22,.68,0,1.2) .3s both;
}

/* ─── SECTION HEADERS ────────────────── */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--gradient);
}

.section-header { max-width: 620px; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: .75rem; }
.section-header p { color: var(--mid); font-size: 1.0625rem; line-height: 1.7; }

/* ─── LEISTUNGEN ─────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

/* Scroll-Animation */
.service-card {
  padding: 2rem;
  background: var(--navy3);
  border-radius: 1.25rem;
  position: relative;
  overflow: hidden;
  cursor: default;

  /* Gradient-Border via pseudo */
  border: 1px solid transparent;
  background-clip: padding-box;

  /* Einflug-Ausgangszustand */
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity .55s ease,
    transform .55s ease,
    box-shadow .3s ease;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtiler Hintergrund-Glow oben links */
.service-card::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,107,232,.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

/* Gradient-Border-Effekt via outline-Box */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  padding: 1px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}

.service-card:hover { box-shadow: 0 8px 40px rgba(91,107,232,.15); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { opacity: 1; }

/* Dezente statische Border */
.service-card { border: 1px solid var(--border); }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(91,107,232,.3);
}

.card-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255,255,255,.04);
  line-height: 1;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .6rem;
}

.service-card p { color: var(--mid); font-size: .875rem; line-height: 1.7; }

/* ─── PROZESS ────────────────────────── */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.step {
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(91,107,232,.1);
  border: 1px solid rgba(91,107,232,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 1.25rem;
}

.step-phase {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: .4rem;
}

.step h3 { font-size: 1.0625rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.step p  { color: var(--mid); font-size: .875rem; line-height: 1.65; }

.process-footer {
  border-top: 1px solid var(--border2);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.process-fact {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--mid);
  font-size: .8rem;
}

.process-fact svg { color: var(--blue); flex-shrink: 0; }

/* ─── ABOUT ──────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-visual { position: relative; max-width: 260px; }

.about-img-box {
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: var(--navy3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder wenn kein Foto */
.about-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.about-monogram {
  font-family: 'Sora', sans-serif;
  font-size: 6rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .15;
}

/* Logo im About-Bild (Fallback) */
.about-logo {
  position: relative;
  z-index: 1;
  opacity: .3;
  filter: brightness(0) invert(1);
  width: 60%;
  max-width: 220px;
}

/* Foto im About-Bild */
.about-photo {
  position: relative;
  z-index: 1;
}

.stat-card {
  position: absolute;
  border-radius: .65rem;
  padding: .6rem .8rem;
  z-index: 10;
}

.stat-card.blue {
  background: var(--gradient);
  bottom: -.5rem;
  right: -.75rem;
  box-shadow: 0 10px 28px rgba(91,107,232,.35);
}

.stat-card.dark {
  background: rgba(29,26,54,.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  top: -.5rem;
  left: -.75rem;
}

.stat-card .num {
  font-family: 'Sora', sans-serif;
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

.stat-card .label { font-size: .6rem; font-weight: 600; margin-top: .15rem; color: rgba(255,255,255,.7); }

.about-text h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 900; line-height: 1.15; color: var(--white); margin-bottom: 1.25rem; }
.about-text > p { color: var(--mid); line-height: 1.75; margin-bottom: 1rem; }
.about-text p strong { color: var(--ivory); font-weight: 600; }

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.value-item { border-top: 1px solid var(--border); padding-top: .75rem; }
.value-item strong { display: block; font-size: .875rem; color: var(--white); margin-bottom: .25rem; }
.value-item span { color: var(--mid); font-size: .75rem; line-height: 1.5; }

/* ─── REFERENZEN ─────────────────────── */

.ref-tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.ref-tab {
  background: none;
  border: none;
  color: var(--mid);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  padding: .75rem 1.25rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}

.ref-tab:hover { color: var(--ivory); }

.ref-tab.active {
  color: var(--ivory);
  border-bottom-color: var(--blue);
}

.ref-panel { display: none; }
.ref-panel.active { display: block; }

/* Logo Grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@keyframes flyIn {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s ease, transform .5s ease;
}

.logo-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.logo-card img {
  max-height: 160px;
  width: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(91, 107, 232, 0.18);
  transition: box-shadow .2s, transform .2s;
}

.logo-card img:hover {
  box-shadow: 0 0 0 1.5px rgba(91, 107, 232, 0.4);
  transform: scale(1.18);
}

/* Karussell-Punkte (nur Mobile sichtbar) */
.logo-dots {
  display: none;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(91, 107, 232, 0.25);
  transition: background .25s, transform .25s;
}

.logo-dot.active {
  background: var(--blue);
  transform: scale(1.3);
}

/* Landing Page Video */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.video-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s ease, transform .5s ease, border-color .2s;
}

.video-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.video-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.video-card:hover {
  border-color: rgba(91,107,232,.4);
}

.video-card video {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.video-card:hover .video-overlay {
  background: rgba(15, 13, 30, 0.08);
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(91, 107, 232, 0.25);
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, background .2s;
  backdrop-filter: blur(2px);
}

.video-card:hover .play-btn {
  transform: scale(1.1);
  background: rgba(91, 107, 232, 0.65);
}

/* Karussell-Punkte (nur Mobile sichtbar) */
.video-dots {
  display: none;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}

.video-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(91, 107, 232, 0.25);
  transition: background .25s, transform .25s;
}

.video-dot.active {
  background: var(--blue);
  transform: scale(1.3);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.lightbox-inner video {
  width: 100%;
  border-radius: 1rem;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  opacity: .7;
  transition: opacity .2s;
}

.lightbox-close:hover { opacity: 1; }

/* Empty state */
.ref-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 5rem 2rem;
  color: var(--mid);
  font-size: .9rem;
  border: 1px dashed var(--border);
  border-radius: 1rem;
}

/* ─── PREISE ─────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin-bottom: 1.5rem;
}

.price-card {
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.regular {
  background: var(--navy3);
  border: 1px solid var(--border);
}

.price-card.highlight {
  background: var(--gradient);
  color: #fff;
}

.badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  border: 1px solid var(--border);
  color: var(--blue-light);
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem 1.1rem;
  border-radius: 9999px;
  letter-spacing: .05em;
  white-space: nowrap;
}

.price-name { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 900; margin-bottom: .5rem; color: var(--white); }
.price-card.highlight .price-name { color: #fff; }

.price-amount { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 900; margin-bottom: .15rem; color: var(--white); }
.price-card.highlight .price-amount { color: #fff; }

.price-note  { font-size: .75rem; font-weight: 500; opacity: .6; margin-bottom: .75rem; }
.price-desc  { font-size: .875rem; line-height: 1.65; opacity: .7; margin-bottom: 1.5rem; }

.price-features { list-style: none; flex: 1; margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .875rem;
  color: var(--ivory);
}

.price-features li svg { flex-shrink: 0; margin-top: .1rem; color: var(--blue-light); }
.price-card.highlight .price-features li { color: rgba(255,255,255,.9); }
.price-card.highlight .price-features li svg { color: rgba(255,255,255,.9); }

.btn-white {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  padding: .9rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: .875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  backdrop-filter: blur(4px);
  transition: background .2s;
  font-family: 'Inter', sans-serif;
}

.btn-white:hover { background: rgba(255,255,255,.25); }

.pricing-note { color: var(--mid); font-size: .875rem; }

/* ─── JOBS / CO-PILOTEN ──────────────── */

#jobs {
  position: relative;
  overflow: hidden;
  background-color: var(--navy2);
  background-image:
    linear-gradient(135deg, rgba(91,107,232,.07) 1px, transparent 1px),
    linear-gradient(45deg, rgba(197,113,237,.05) 1px, transparent 1px),
    radial-gradient(circle, rgba(91,107,232,.12) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px, 28px 28px;
  background-position: 0 0, 0 0, 14px 14px;
}

#jobs::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 20%, rgba(91,107,232,.1) 0%, transparent 60%),
              radial-gradient(ellipse 50% 50% at 80% 80%, rgba(197,113,237,.08) 0%, transparent 60%);
  z-index: 0;
}

#jobs .container {
  position: relative;
  z-index: 1;
}

.jobs-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.jobs-text {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.jobs-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.jobs-text h1,
.jobs-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.jobs-text > p { color: var(--mid); line-height: 1.75; margin-bottom: 1rem; }
.jobs-text > p strong { color: var(--ivory); font-weight: 600; }

.jobs-roles {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.75rem 0 2.25rem;
}

.role-pill {
  background: rgba(91,107,232,.08);
  border: 1px solid rgba(91,107,232,.22);
  color: var(--ivory);
  font-size: .8rem;
  font-weight: 500;
  padding: .45rem 1rem;
  border-radius: 9999px;
  transition: background .2s, border-color .2s, transform .2s;
}

.role-pill:hover {
  background: rgba(91,107,232,.16);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.jobs-cta { margin-bottom: 1rem; }

.jobs-note { color: var(--mid); font-size: .8rem; margin-bottom: 0; }

/* Orbit Visual */
.jobs-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .7s ease, transform .7s ease;
}

.jobs-visual.visible {
  opacity: 1;
  transform: scale(1);
}

.jobs-orbit {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(91,107,232,.18);
  border-radius: 50%;
}

.ring-1 { width: 100%; height: 100%; animation: spin 30s linear infinite; }
.ring-2 { width: 70%; height: 70%; border-color: rgba(197,113,237,.18); animation: spin 22s linear infinite reverse; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.orbit-center {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--navy3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(91,107,232,.25);
  z-index: 2;
}

.orbit-logo { width: 46px; height: auto; }

.orbit-node {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(91,107,232,.35);
  animation: floatNode 6s ease-in-out infinite;
}

.node-1 { top: 0;    left: 50%; transform: translate(-50%, -50%); animation-delay: 0s; }
.node-2 { top: 50%;  right: 0;  transform: translate(50%, -50%);  animation-delay: 1.5s; }
.node-3 { bottom: 0; left: 50%; transform: translate(-50%, 50%);  animation-delay: 3s; }
.node-4 { top: 50%;  left: 0;   transform: translate(-50%, -50%); animation-delay: 4.5s; }

@keyframes floatNode {
  0%, 100% { transform: translate(var(--tx, 0), var(--ty, 0)) translateY(0); }
  50%      { transform: translate(var(--tx, 0), var(--ty, 0)) translateY(-8px); }
}

.node-1 { --tx: -50%; --ty: -50%; }
.node-2 { --tx: 50%;  --ty: -50%; }
.node-3 { --tx: -50%; --ty: 50%; }
.node-4 { --tx: -50%; --ty: -50%; }

@media (max-width: 900px) {
  .jobs-grid { grid-template-columns: 1fr; gap: 3rem; }
  .jobs-orbit { width: 280px; height: 280px; }
}

/* ─── ROLLEN GRID (Jobs-Seite) ───────── */

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.role-card {
  background: var(--navy3);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease, border-color .2s, box-shadow .2s;
}

.role-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.role-card:hover {
  border-color: rgba(91,107,232,.35);
  box-shadow: 0 8px 32px rgba(91,107,232,.12);
}

.role-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(91,107,232,.3);
}

.role-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.role-card p  { color: var(--mid); font-size: .875rem; line-height: 1.65; }

/* ─── FAQ ─────────────────────────────── */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 720px;
}

.faq-item {
  background: var(--navy3);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease, border-color .2s;
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item:hover { border-color: rgba(91,107,232,.3); }

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  font-size: .9375rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--blue-light);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform .2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  color: var(--mid);
  font-size: .875rem;
  line-height: 1.7;
  margin-top: .875rem;
}

/* ─── BEWERBUNG / APPLY BOX ──────────── */

.apply-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.apply-box .section-label { justify-content: center; }
.apply-box h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
.apply-box > p { color: var(--mid); line-height: 1.75; margin-bottom: 2rem; }
.apply-box .jobs-cta { margin-bottom: 1rem; }
.apply-box .jobs-note { color: var(--mid); font-size: .85rem; }
.apply-box .jobs-note strong { color: var(--ivory); }

/* ─── KONTAKT ────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-info h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
.contact-info > p { color: var(--mid); line-height: 1.75; margin-bottom: 2rem; }

.contact-facts { display: flex; flex-direction: column; gap: 1rem; }

.contact-fact {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--mid);
  font-size: .875rem;
}

.fact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(91,107,232,.1);
  border: 1px solid rgba(91,107,232,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-light);
}

/* Form */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.field { display: flex; flex-direction: column; gap: .4rem; }

.field label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
}

.field input,
.field select,
.field textarea {
  background: var(--navy3);
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: .875rem 1rem;
  color: var(--ivory);
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.18); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(91,107,232,.12);
}

.field select { appearance: none; }
.field textarea { resize: none; }

.btn-submit {
  background: var(--gradient);
  color: #fff;
  padding: 1rem;
  border-radius: .75rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  transition: opacity .2s, transform .2s;
  width: 100%;
  box-shadow: 0 6px 24px rgba(91,107,232,.3);
}

.btn-submit:hover { opacity: .9; transform: translateY(-1px); }

.form-note { text-align: center; color: var(--mid); font-size: .75rem; }

.form-success {
  text-align: center;
  padding: 3rem 1.5rem;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(91,107,232,.1);
  border: 1px solid rgba(91,107,232,.3);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.form-success h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .5rem;
}

.form-success p { color: var(--mid); }

/* ─── LEGAL PAGES (Impressum/Datenschutz) ── */

#legal-content { padding-bottom: 6rem; }

.legal-block {
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--border2);
}

.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-block h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
}

.legal-block p {
  color: var(--mid);
  font-size: .9375rem;
  line-height: 1.75;
}

.legal-block a { color: var(--blue-light); text-decoration: underline; }
.legal-block a:hover { color: var(--blue); }

/* ─── FOOTER ─────────────────────────── */

footer {
  background: #080714;
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  margin-bottom: .35rem;
  display: block;
}

.footer-logo small { color: var(--mid); font-size: .72rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  font-size: .8rem;
  color: var(--mid);
}

.footer-links a:hover { color: var(--ivory); transition: color .15s; }
.footer-sep { width: 1px; height: 1rem; background: var(--border2); align-self: center; }

.social-links { display: flex; gap: .75rem; }

.social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  transition: color .15s, border-color .15s, background .15s;
}

.social-link:hover {
  color: var(--ivory);
  border-color: var(--blue);
  background: rgba(91,107,232,.1);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.03);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  color: rgba(125,122,156,.4);
  font-size: .72rem;
}

/* ─── RESPONSIVE ─────────────────────── */

@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual  { max-width: 220px; margin: 0 auto; }
  .about-values  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 4rem 1.25rem; }
  .nav-links, .nav-cta { display: none; }
  #menu-toggle { display: block; }
  #hero { background-position: left center; }
  .hero-ctas { flex-direction: column; }
  .form-row  { grid-template-columns: 1fr; }
  .about-values  { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .footer-inner  { flex-direction: column; align-items: flex-start; }
  .process-grid  { grid-template-columns: 1fr; }
  /* Videos als wischbares Karussell */
  .video-grid {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -1.25rem;
    padding: 0 1.25rem;
  }

  .video-grid::-webkit-scrollbar { display: none; }

  .video-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    opacity: 1;
    transform: none;
  }

  .video-dots { display: flex; }

  /* Logos als wischbares Karussell */
  .logo-grid {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -1.25rem;
    padding: 0 1.25rem;
  }

  .logo-grid::-webkit-scrollbar { display: none; }

  .logo-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    /* Einflug-Animation auf Mobile deaktivieren, damit nichts unsichtbar bleibt */
    opacity: 1;
    transform: none;
  }

  .logo-card img { max-height: 200px; }

  .logo-dots { display: flex; }
}
