/* ============================================================
   AXIOM AI — Global Stylesheet
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --accent-dark:   #1B2A6B;
  --accent-light:  #4AABF0;
  --accent-glow:   rgba(74, 171, 240, 0.35);
  --transition:    0.3s ease;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(0,0,0,0.2);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.3);
}

[data-theme="dark"] {
  --bg-primary:    #0A0A0A;
  --bg-secondary:  #0f1117;
  --bg-card:       #111827;
  --bg-card-hover: #1a2436;
  --bg-nav:        rgba(10,10,10,0.85);
  --text-primary:  #FFFFFF;
  --text-secondary:#A0AEC0;
  --text-muted:    #6B7280;
  --border:        rgba(255,255,255,0.06);
  --border-accent: rgba(74,171,240,0.3);
}

[data-theme="light"] {
  --bg-primary:    #FFFFFF;
  --bg-secondary:  #F0F4FF;
  --bg-card:       #FFFFFF;
  --bg-card-hover: #EBF3FF;
  --bg-nav:        rgba(255,255,255,0.85);
  --text-primary:  #0A0A0A;
  --text-secondary:#4A5568;
  --text-muted:    #718096;
  --border:        rgba(0,0,0,0.08);
  --border-accent: rgba(27,42,107,0.25);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
  /* `clip` statt `hidden` — verhindert dass sticky-Elemente
     auf mobile Safari/Chrome iOS abreißen */
  overflow-x: clip;
}
.hero, .page-hero, .st-section, section { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p  { color: var(--text-secondary); }

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-light);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 6rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

/* ── Scroll Animations ──────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-light));
  color: #fff;
  box-shadow: 0 0 20px rgba(74,171,240,0.4);
  animation: pulse-glow 2.5s infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(74,171,240,0.7);
}

.btn-secondary {
  border: 1.5px solid var(--accent-light);
  color: var(--accent-light);
  background: transparent;
}
.btn-secondary:hover {
  background: rgba(74,171,240,0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(74,171,240,0.2);
}

.btn-outline {
  border: 1.5px solid var(--border-accent);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 0.85rem 1.2rem;
}
.btn-ghost:hover {
  color: var(--accent-light);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(74,171,240,0.4); }
  50%       { box-shadow: 0 0 36px rgba(74,171,240,0.75); }
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 28px var(--accent-glow), var(--shadow-lg);
  border-color: var(--border-accent);
}

/* ── Gradient Border ────────────────────────────────────────── */
.gradient-border {
  position: relative;
  border-radius: var(--radius-lg);
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-light), var(--accent-dark));
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  z-index: -1;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.15);
  padding: 0.6rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar-logo {
  height: 56px;
  width: auto;
  flex-shrink: 0;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--accent-light);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.theme-toggle:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  background: rgba(74,171,240,0.1);
}
.theme-toggle svg { width: 18px; height: 18px; }
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 8px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  display: flex;
}
.mobile-menu .nav-link {
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
}
.mobile-menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   HERO — Startseite
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(27,42,107,0.25) 0%, transparent 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74,171,240,0.1);
  border: 1px solid rgba(74,171,240,0.25);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.hero-badge span.dot {
  width: 6px; height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.hero-headline {
  overflow: hidden;
}
.hero-headline h1 {
  clip-path: inset(0 100% 0 0);
  animation: reveal-text 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
  white-space: normal;
}
.hero-headline h1 .highlight {
  background: linear-gradient(135deg, var(--accent-light), #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes reveal-text {
  to { clip-path: inset(0 0% 0 0); }
}

.hero-subtext {
  font-size: 1.15rem;
  max-width: 580px;
  margin: 1.5rem 0 2.5rem;
  color: var(--text-secondary);
  opacity: 0;
  animation: fade-up 0.8s ease 1.1s forwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fade-up 0.8s ease 1.4s forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: bounce-scroll 2s ease infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }
@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  padding: 9rem 0 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74,171,240,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services { background: var(--bg-secondary); }

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 32px var(--accent-glow), var(--shadow-lg);
  border-color: var(--border-accent);
}

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(27,42,107,0.4), rgba(74,171,240,0.15));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { font-size: 1.3rem; }
.service-card p  { font-size: 0.95rem; flex: 1; }

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.service-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.service-feature::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   WHY SECTION — Scroll-getabbtes Karussell (Desktop)
                 + statischer Stack (Mobile)
   ============================================================ */
.why-carousel {
  position: relative;
  height: 600svh;                 /* 6 Schritte × 100svh — treibt den Scroll */
}
.why-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.why-stage { width: 100%; }
.why-header { margin-bottom: 3rem; }
.why-layout {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 4rem;
  align-items: center;
}
.why-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-left: 1px solid var(--border);
  padding-left: 1.5rem;
}
.why-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-align: left;
  padding: 0.4rem 0;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}
.why-tab:hover { color: var(--text-primary); }
.why-tab.active { color: var(--accent-light); transform: translateX(8px); }

.why-panels { position: relative; min-height: 320px; }
.why-panel {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.why-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.why-panel-icon {
  width: 64px; height: 64px;
  background: rgba(74,171,240,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}
.why-panel-icon svg { width: 32px; height: 32px; }
.why-panel h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.why-panel p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  color: var(--text-muted);
}

/* Mobile: Scrollytelling bleibt aktiv, aber Layout vertikal
   (Tabs als horizontale Pill-Reihe oberhalb des Panels) */
@media (max-width: 768px) {
  .why-pin {
    /* Padding-top damit Header nicht hinter der Navbar verschwindet */
    padding-top: 80px;
    align-items: flex-start;
  }
  .why-header { margin-bottom: 1.5rem; }
  .why-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .why-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    border-left: none;
    border-bottom: 1px solid var(--border);
    padding-left: 0;
    padding-bottom: 0.9rem;
    overflow: visible;
  }
  .why-tab {
    flex: 0 0 auto;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
  .why-tab.active {
    transform: none;
    border-color: var(--accent-light);
    background: rgba(74, 171, 240, 0.18);
    color: var(--accent-light);
  }
  .why-panels { min-height: 260px; }
  .why-panel-icon {
    width: 48px; height: 48px;
    margin-bottom: 1rem;
  }
  .why-panel-icon svg { width: 24px; height: 24px; }
  .why-panel h3 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    margin-bottom: 0.6rem;
  }
  .why-panel p { font-size: 0.95rem; line-height: 1.6; }
}

/* Sehr kleine Phones (< 380px) — Tabs noch kompakter */
@media (max-width: 380px) {
  .why-tabs { gap: 0.3rem; }
  .why-tab { padding: 0.3rem 0.55rem; font-size: 0.6rem; letter-spacing: 0.08em; }
  .why-panels { min-height: 280px; }
}

/* ============================================================
   TARGET AUDIENCE
   ============================================================ */
.audience { background: var(--bg-secondary); }

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

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 28px var(--accent-glow);
  border-color: var(--border-accent);
}
.audience-card .audience-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(27,42,107,0.4), rgba(74,171,240,0.15));
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent-light);
}
.audience-card .audience-icon svg { width: 36px; height: 36px; }
.audience-card h3 { margin-bottom: 0.75rem; }

/* ============================================================
   STATS / COUNTERS
   ============================================================ */
.stats { background: var(--bg-primary); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 1rem;
  text-align: center;
}
.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-light), #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}
.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   REFERENCES (Placeholder)
   ============================================================ */
.references { background: var(--bg-secondary); }

.references-placeholder {
  border: 2px dashed var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 5rem 2rem;
  text-align: center;
  color: var(--text-muted);
}
.references-placeholder svg {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  opacity: 0.4;
}
.references-placeholder h3 {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* ============================================================
   LEISTUNGEN PAGE — Detail Sections
   ============================================================ */
.service-detail { padding: 5rem 0; }
.service-detail:nth-child(even) { background: var(--bg-secondary); }

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }

.service-detail-content h2 { margin-bottom: 1rem; }
.service-detail-content p  { margin-bottom: 1.5rem; }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.step-content h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.step-content p  { font-size: 0.88rem; margin: 0; }

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.benefit-item svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--accent-light);
}

.service-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.service-visual-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--accent-dark), rgba(74,171,240,0.3));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}
.service-visual-icon svg { width: 44px; height: 44px; }

.use-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.use-case-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.use-case-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.use-case-item svg {
  width: 24px; height: 24px;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}
.use-case-item h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.use-case-item p  { font-size: 0.82rem; margin: 0; }

/* ============================================================
   ÜBER UNS PAGE
   ============================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}
.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 28px var(--accent-glow);
  border-color: var(--border-accent);
}
.mission-card .mission-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(27,42,107,0.4), rgba(74,171,240,0.15));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}
.mission-card .mission-icon svg { width: 28px; height: 28px; }
.mission-card h3 { margin-bottom: 0.75rem; }

.founder-story {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 5rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.founder-story::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 6rem;
  color: var(--accent-light);
  opacity: 0.12;
  font-family: Georgia, serif;
  line-height: 1;
}
.founder-story p {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 750px;
}
.founder-story p + p { margin-top: 1rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 28px var(--accent-glow);
  border-color: var(--border-accent);
}
.team-avatar {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), rgba(74,171,240,0.3));
  border: 3px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  overflow: hidden;
}
.team-avatar svg {
  width: 60px; height: 60px;
  color: rgba(255,255,255,0.5);
}
.team-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  border-radius: 50%;
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.team-card .team-desc { font-size: 0.9rem; margin-bottom: 1.25rem; }
.team-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border-accent);
  color: var(--text-muted);
  transition: all 0.3s ease;
}
.team-social a:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  background: rgba(74,171,240,0.1);
}
.team-social a svg { width: 16px; height: 16px; }

/* ============================================================
   KONTAKT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

/* Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(74,171,240,0.15);
}
.form-group textarea {
  min-height: 150px;
  resize: vertical;
}
.form-success {
  display: none;
  padding: 1rem;
  background: rgba(74,171,240,0.1);
  border: 1px solid rgba(74,171,240,0.3);
  border-radius: var(--radius);
  color: var(--accent-light);
  font-size: 0.95rem;
  margin-top: 1rem;
  text-align: center;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.3s ease;
}
.contact-info-card:hover { border-color: var(--border-accent); }
.contact-info-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(74,171,240,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-text h4 { font-size: 0.9rem; margin-bottom: 0.3rem; }
.contact-info-text a,
.contact-info-text p { font-size: 0.9rem; color: var(--text-secondary); }
.contact-info-text a:hover { color: var(--accent-light); }

/* Social Links */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  min-height: 44px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.social-link:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  background: rgba(74,171,240,0.07);
}
.social-link svg { width: 16px; height: 16px; }

/* ============================================================
   CHATBOT
   ============================================================ */
.chatbot-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.chatbot-toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-light));
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(74,171,240,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-glow 2.5s infinite;
  cursor: pointer;
}
.chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(74,171,240,0.65);
}
.chatbot-toggle svg { width: 26px; height: 26px; }
.chatbot-toggle .icon-close { display: none; }
.chatbot-toggle.open .icon-chat  { display: none; }
.chatbot-toggle.open .icon-close { display: block; }

.chatbot-window {
  width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 48px rgba(0,0,0,0.35);
  overflow: hidden;
  transform: scale(0.85) translateY(20px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s ease;
}
.chatbot-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--accent-dark), rgba(74,171,240,0.5));
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chatbot-avatar {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chatbot-avatar svg { width: 20px; height: 20px; color: #fff; }
.chatbot-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  display: block;
}
.chatbot-status {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
}
.chatbot-online {
  display: inline-block;
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 4px;
  animation: blink 2s infinite;
}

.chatbot-messages {
  height: 320px;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: smooth;
}
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 4px; }

.chat-message {
  max-width: 80%;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  animation: msg-in 0.3s ease;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-message.bot {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 4px 12px 12px 12px;
  align-self: flex-start;
}
.chat-message.user {
  background: linear-gradient(135deg, var(--accent-dark), rgba(74,171,240,0.5));
  color: #fff;
  border-radius: 12px 4px 12px 12px;
  align-self: flex-end;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.7rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px 12px 12px 12px;
  align-self: flex-start;
  max-width: 80px;
}
.typing-indicator span {
  display: block;
  width: 6px; height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border);
}
.suggestion-chip {
  padding: 0.35rem 0.7rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--accent-light);
  cursor: pointer;
  transition: background 0.2s ease;
}
.suggestion-chip:hover {
  background: rgba(74,171,240,0.1);
}

.chatbot-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
}
.chatbot-input {
  flex: 1;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}
.chatbot-input:focus { border-color: var(--accent-light); }
.chatbot-send {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-light));
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}
.chatbot-send:hover { opacity: 0.85; }
.chatbot-send svg { width: 16px; height: 16px; }

/* ============================================================
   IMPRESSUM / DATENSCHUTZ
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 6rem;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 0.75rem;
  color: var(--text-primary);
}
.legal-content h3 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--text-primary);
}
.legal-content p, .legal-content li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.legal-content a { color: var(--accent-light); }
.legal-content a:hover { text-decoration: underline; }
.legal-placeholder {
  display: inline-block;
  background: rgba(74,171,240,0.1);
  border: 1px dashed rgba(74,171,240,0.4);
  border-radius: 4px;
  padding: 0 0.4em;
  color: var(--accent-light);
  font-style: italic;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  z-index: 9999;
  display: none;
  animation: slide-up 0.4s ease;
}
.cookie-banner.show { display: block; }
@keyframes slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p { font-size: 0.88rem; margin-bottom: 1rem; }
.cookie-banner a { color: var(--accent-light); }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-accept {
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-light));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.cookie-accept:hover { opacity: 0.9; }
.cookie-decline {
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  border-radius: 8px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.cookie-decline:hover { border-color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.9rem;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}
.footer-social-link:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  background: rgba(74,171,240,0.08);
}
.footer-social-link svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-col ul li a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--accent-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-inner.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .navbar-nav { display: none; }
  .hamburger { display: flex; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .chatbot-window { width: calc(100vw - 3rem); }

  .use-case-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .hero-badge { font-size: 0.75rem; }

  .chatbot-wrapper { bottom: 1rem; right: 1rem; }
  .chatbot-window { width: calc(100vw - 2rem); right: -1rem; position: relative; }

  .cookie-banner { left: 1rem; right: 1rem; bottom: 1rem; }
}

/* ── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   SCROLLYTELLING-HERO — "Das Netzwerk erwacht"
   5 Kapitel · Three.js + GSAP ScrollTrigger
   ============================================================ */

#st-bloom {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 50% 50%,
      rgba(26,107,255,0) 0%,
      rgba(26,107,255,0) 30%,
      rgba(4,8,16,1) 75%);
  transition: background .05s linear;
  pointer-events: none;
}
#st-scene {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
}
#st-vignette {
  position: fixed; inset: 0; z-index: 3;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(2,5,11,.85) 100%);
  pointer-events: none;
}

.st-story {
  position: relative;
  z-index: 2;
  width: 100%;
  font-family: 'Space Mono', ui-monospace, 'Cascadia Code', Menlo, monospace;
  color: #e8f4ff;
  background: transparent;
}

.st-chapter {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
}
.st-panel {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  padding: 0 6vw;
  pointer-events: none;
}

/* Kapitel 0: Hero */
.st-hero { text-align: center; opacity: 0; }
.st-eyebrow {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: #00c8ff;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.st-eyebrow::before, .st-eyebrow::after {
  content: '';
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, #00c8ff, transparent);
}
.st-hero h1 {
  font-family: 'Syne', 'Segoe UI', Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 8.5vw, 128px);
  line-height: .95;
  letter-spacing: -.03em;
  margin: 0;
  color: #e8f4ff;
}
.st-hero h1 .line { display: block; overflow: hidden; }
.st-hero h1 .line span { display: inline-block; }
.st-hero h1 .accent {
  background: linear-gradient(180deg, #fff 0%, #00c8ff 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.st-hero .sub {
  margin-top: 32px;
  font-size: 14px;
  color: rgba(232,244,255,.55);
  letter-spacing: .02em;
}
.st-scroll-cue {
  position: absolute;
  left: 50%; bottom: 6vh;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(232,244,255,.35);
  text-transform: uppercase;
  font-family: inherit;
}
.st-scroll-cue .rail {
  width: 1px; height: 56px;
  background: linear-gradient(180deg, #00c8ff, transparent);
  position: relative; overflow: hidden;
}
.st-scroll-cue .rail::after {
  content: '';
  position: absolute; top: -20px; left: 0;
  width: 1px; height: 20px;
  background: #e8f4ff;
  animation: stScrollDot 2.4s ease-in-out infinite;
}
@keyframes stScrollDot {
  0%   { transform: translateY(0);   opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateY(76px); opacity: 0; }
}

/* Kapitel 1–3: Textblöcke */
.st-block {
  max-width: 540px;
  padding-left: max(2vw, 24px);
  border-left: 1px solid rgba(232,244,255,.12);
  opacity: 0;
  transform: translateY(40px);
}
.st-block.right { margin-left: auto; }
.st-block .tag {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .4em;
  color: #00c8ff;
  margin-bottom: 22px;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.st-block .tag::before {
  content: '';
  width: 6px; height: 6px;
  background: #00c8ff;
  border-radius: 50%;
  box-shadow: 0 0 12px #00c8ff;
}
.st-block h2 {
  font-family: 'Syne', 'Segoe UI', Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 28px;
  text-wrap: balance;
  color: #e8f4ff;
  -webkit-text-fill-color: #e8f4ff;
  background: none;
}
.st-block p {
  color: rgba(232,244,255,.55);
  font-size: 15px;
  max-width: 440px;
  line-height: 1.7;
  text-wrap: pretty;
}
.st-block .meta {
  margin-top: 32px;
  display: flex;
  gap: 28px;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: .25em;
  color: rgba(232,244,255,.35);
  text-transform: uppercase;
}
.st-block .meta b {
  display: block;
  color: #e8f4ff;
  font-weight: 400;
  margin-top: 6px;
  font-size: 18px;
  letter-spacing: 0;
  font-family: 'Syne', 'Segoe UI', Inter, sans-serif;
}

/* Kapitel 4: Reveal */
.st-reveal { text-align: center; opacity: 0; }
.st-logo-wrap {
  display: inline-block;
  transform: scale(.6);
  opacity: 0;
}
.st-logo-wrap img {
  width: clamp(180px, 22vw, 320px);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 40px rgba(0,150,255,.7))
    drop-shadow(0 0 80px rgba(26,107,255,.35));
}
.st-tagline {
  margin-top: 36px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: rgba(232,244,255,.55);
  opacity: 0;
}
.st-tagline span { color: #00c8ff; }
.st-ctas {
  margin-top: 44px;
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  pointer-events: auto;
}
.st-cta {
  font-family: inherit;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  color: #e8f4ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.st-cta.primary {
  background: linear-gradient(135deg, #00c8ff 0%, #1a6bff 100%);
  color: #02050b;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,200,255,.35), inset 0 1px 0 rgba(255,255,255,.4);
}
.st-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,200,255,.55), inset 0 1px 0 rgba(255,255,255,.4);
}
.st-cta.ghost {
  background: rgba(232,244,255,.02);
  border-color: rgba(232,244,255,.25);
}
.st-cta.ghost:hover {
  border-color: #00c8ff;
  background: rgba(0,200,255,.06);
}

/* Progress-Rail (rechts, fixed) */
.st-progress {
  position: fixed;
  top: 50%; right: 28px;
  transform: translateY(-50%);
  z-index: 5;
  display: flex; flex-direction: column;
  gap: 14px;
  pointer-events: none;
  font-family: 'Space Mono', ui-monospace, monospace;
}
.st-progress .step {
  display: flex; align-items: center; gap: 10px;
  font-size: 9px;
  letter-spacing: .25em;
  color: rgba(232,244,255,.35);
  text-transform: uppercase;
  transition: color .3s ease;
}
.st-progress .step .pip {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(232,244,255,.35);
  transition: all .3s ease;
}
.st-progress .step.active { color: #e8f4ff; }
.st-progress .step.active .pip {
  background: #00c8ff;
  border-color: #00c8ff;
  box-shadow: 0 0 12px #00c8ff;
}

/* Auf der Hero-Seite Body-Hintergrund auf "Void" stellen,
   damit die Three.js-Szene ohne weiße Ränder durchläuft. */
body.st-active {
  background: #040810;
}
/* Im Scrollytelling-Bereich ersetzt die Three.js-Szene das Noise-Pseudo */
body.st-active::after { display: none; }
body.st-active.st-faded::after { display: block; }

/* Mobile (Tablet & kleiner) */
@media (max-width: 768px) {
  .st-panel { padding: 0 24px; }
  .st-progress { display: none; }
  .st-block p { font-size: 14px; line-height: 1.65; }
  .st-block h2 { font-size: clamp(34px, 7.5vw, 52px); margin-bottom: 22px; }
  .st-hero h1 { font-size: clamp(46px, 13vw, 92px); }
  .st-hero .sub { font-size: 13px; padding: 0 12px; }
  .st-eyebrow { font-size: 10px; letter-spacing: .35em; margin-bottom: 22px; }
  .st-eyebrow::before, .st-eyebrow::after { width: 24px; }
  .st-block .meta { gap: 14px 22px; flex-wrap: wrap; }
  .st-block .meta b { font-size: 16px; }
  .st-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 24px;
    width: min(420px, 90vw);
  }
  .st-cta {
    justify-content: center;
    padding: 14px 22px;
    font-size: 11px;
    letter-spacing: .14em;
  }
  .st-tagline { font-size: 10px; letter-spacing: .35em; padding: 0 16px; }
  .st-logo-wrap img { width: clamp(150px, 38vw, 240px); }
}

/* Phone (sehr schmal) */
@media (max-width: 480px) {
  .st-panel { padding: 0 18px; }
  .st-hero h1 { font-size: clamp(38px, 12.5vw, 64px); }
  .st-block { padding-left: 14px; }
  .st-block h2 { font-size: clamp(28px, 8.5vw, 42px); }
  .st-block .meta { gap: 12px 20px; }
  .st-block .meta b { font-size: 15px; }
  .st-logo-wrap img { width: clamp(130px, 42vw, 200px); }
  .st-tagline { font-size: 9px; letter-spacing: .3em; }
}

/* Ultra-Small (Galaxy Fold, iPhone SE 1st gen) — Chatbot/Cookie schmaler */
@media (max-width: 380px) {
  .chatbot-window {
    width: calc(100vw - 1rem);
    right: 0.5rem;
    bottom: 5rem;
  }
  .cookie-banner {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    padding: 1rem;
  }
  .cookie-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  .cookie-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Reduced Motion: Animation deaktivieren */
@media (prefers-reduced-motion: reduce) {
  .st-hero, .st-block, .st-reveal, .st-logo-wrap, .st-ctas, .st-tagline {
    opacity: 1 !important;
    transform: none !important;
  }
  #st-scene, #st-bloom, #st-vignette { opacity: .4; }
}

/* ============================================================
   AUFGABE 2 — CUSTOM CURSOR
   ============================================================ */

/* Systemcursor ausblenden wenn Custom Cursor aktiv */
.has-custom-cursor,
.has-custom-cursor * {
  cursor: none !important;
}

/* Cursor-Kreis: 12px, Akzentfarbe, Lag-Effekt via JS */
#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-light);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease,
              background 0.2s ease, opacity 0.2s ease,
              border 0.2s ease;
  opacity: 0.85;
  mix-blend-mode: screen;
  will-change: transform;
}

/* Hover-Zustand: wächst auf 40px, Glow-Rahmen */
#cursor-dot.hovering {
  width: 40px;
  height: 40px;
  background: rgba(74,171,240,0.15);
  border: 1.5px solid #4AABF0;
  opacity: 0.9;
}

/* Auf Mobile ausgeblendet */
@media (pointer: coarse) {
  #cursor-dot { display: none; }
}

/* ============================================================
   AUFGABE 2 — SCROLL PROGRESS BAR
   ============================================================ */

#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #1B2A6B, #4AABF0);
  z-index: 10000;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
}

/* ============================================================
   AUFGABE 2 — NOISE TEXTUR (subtile Körnung, 3% Opacity)
   Nur außerhalb des Scrollytelling-Bereichs: kein Extra-Layer
   über dem Video, der die Schärfe/Performance beeinträchtigt.
   ============================================================ */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  /* Unterhalb des Scrollytelling-Contents (z-index 2) halten */
  z-index: 1;
  will-change: transform;
}

/* ============================================================
   AUFGABE 2 — FOOTER GRADIENT-GLOW
   ============================================================ */

footer {
  position: relative;
}

/* Glow-Effekt von oben in den Footer */
footer::before {
  content: '';
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 180px;
  background: radial-gradient(ellipse at center, rgba(74,171,240,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   AUFGABE 2 — GRADIENT TEXT auf Key-Headlines
   ============================================================ */

/* Gradient auf allen Section-Header h2 Überschriften */
.section-header h2 {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Page-Hero h1 auf Unterseiten ebenfalls mit Gradient */
.page-hero h1 {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   AUFGABE 2 — VERBESSERTE CARD-HOVER & STAGGER-ANIMATIONEN
   ============================================================ */

/* Schärfere Hover-Transition auf allen Karten */
.service-card,
.why-item,
.audience-card,
.team-card,
.mission-card,
.use-case-item {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Staggered Scroll-Animationen: überarbeitertes translateY für Karten */
.services-grid .fade-in,
.why-grid .fade-in,
.audience-grid .fade-in,
.team-grid .fade-in,
.mission-grid .fade-in {
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.services-grid .fade-in.visible,
.why-grid .fade-in.visible,
.audience-grid .fade-in.visible,
.team-grid .fade-in.visible,
.mission-grid .fade-in.visible {
  transform: translateY(0);
}

/* Stagger-Versatz: 0.15s pro Kind-Element */
.services-grid .fade-in:nth-child(1) { transition-delay: 0.00s; }
.services-grid .fade-in:nth-child(2) { transition-delay: 0.15s; }
.audience-grid .fade-in:nth-child(1) { transition-delay: 0.00s; }
.audience-grid .fade-in:nth-child(2) { transition-delay: 0.15s; }
.why-grid .fade-in:nth-child(1)      { transition-delay: 0.00s; }
.why-grid .fade-in:nth-child(2)      { transition-delay: 0.15s; }
.why-grid .fade-in:nth-child(3)      { transition-delay: 0.30s; }
.why-grid .fade-in:nth-child(4)      { transition-delay: 0.45s; }
.why-grid .fade-in:nth-child(5)      { transition-delay: 0.60s; }
.why-grid .fade-in:nth-child(6)      { transition-delay: 0.75s; }
.team-grid .fade-in:nth-child(1)     { transition-delay: 0.00s; }
.team-grid .fade-in:nth-child(2)     { transition-delay: 0.15s; }
.team-grid .fade-in:nth-child(3)     { transition-delay: 0.30s; }
.mission-grid .fade-in:nth-child(1)  { transition-delay: 0.00s; }
.mission-grid .fade-in:nth-child(2)  { transition-delay: 0.15s; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .st-btn      { transition: none; }
  .st-headline { transition: none; }
  #cursor-dot         { transition: none; }
  #scroll-progress-bar{ transition: none; }
}

/* ============================================================
   PAGE-CONTENT-WRAPPER (überlagert Scrollytelling-Backdrop)
   ============================================================ */
.page-content {
  position: relative;
  z-index: 10;                  /* > #st-vignette (3) */
  background: var(--bg-primary); /* überdeckt fixed Backdrop ab hier */
}

/* Wenn Scrollytelling aktiv ist (nur Hero-Seite), Body-Hintergrund auf "Void" */
body.st-active { background: #040810; }

/* Beim Verlassen des Scrollytelling-Bereichs faden die fixed Layers aus */
body.st-faded #st-bloom,
body.st-faded #st-scene,
body.st-faded #st-vignette {
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
#st-bloom, #st-scene, #st-vignette {
  transition: opacity .4s ease;
}

/* Navbar im Scrollytelling-Bereich transparenter + heller Text */
body.st-active .navbar:not(.scrolled) .nav-link { color: rgba(232,244,255,.65); }
body.st-active .navbar:not(.scrolled) .nav-link:hover,
body.st-active .navbar:not(.scrolled) .nav-link.active { color: #e8f4ff; }
body.st-active .navbar { background: transparent; }

/* Auf der Hero-Seite (Body st-active) den globalen Cursor-Dot über die
   Scrollytelling-Layers heben — sonst wird er von #st-vignette verdeckt */
#cursor-dot, #scroll-progress-bar { z-index: 100000; }
