/* ═══════════════════════════════════════════════════
   K-AI Solutions – Website Design System
   Basierend auf dem K-AI Solutions Branding
   Navy #0d1520 · Cyan #19a7c1 · Inter
   ═══════════════════════════════════════════════════ */

/* Inter – lokal eingebunden (DSGVO-konform, keine Google-Server) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-variable.woff2') format('woff2-variations');
}

:root {
  --bg: #0d1520;
  --bg-deep: #0a111a;
  --cyan: #19a7c1;
  --cyan-soft: rgba(25, 167, 193, 0.12);
  --cyan-border: rgba(25, 167, 193, 0.35);
  --blue-glow: rgba(8, 40, 81, 0.5);
  --white: #ffffff;
  --text: rgba(255, 255, 255, 0.78);
  --text-dim: rgba(255, 255, 255, 0.45);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.09);
  --radius: 18px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 68px 68px;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--cyan); color: #06222b; }

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }

/* ── Container ── */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ═══════════ Navigation ═══════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(10, 17, 26, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07), 0 10px 40px rgba(0,0,0,0.35);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.7); opacity: 0.6; }
}
.nav-logo .accent { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--cyan-soft);
  border: 1.5px solid var(--cyan-border);
  color: var(--cyan) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14.5px !important;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: rgba(25, 167, 193, 0.22);
  box-shadow: 0 0 24px rgba(25, 167, 193, 0.35);
  transform: translateY(-1px);
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}
.nav-burger span {
  width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ═══════════ Hero ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 25%, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero .container { z-index: 2; }
.hero-content { max-width: 820px; }

/* Pill-Badge */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cyan-soft);
  border: 1.5px solid var(--cyan-border);
  border-radius: 100px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 34px;
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 74px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 28px;
}
.accent { color: var(--cyan); }
.accent-glow {
  color: var(--cyan);
  text-shadow: 0 0 38px rgba(25, 167, 193, 0.55);
}

/* Typing-Effekt */
.typed-wrap { display: inline; }
.typed-cursor {
  display: inline-block;
  width: 4px;
  height: 0.9em;
  background: var(--cyan);
  margin-left: 6px;
  vertical-align: -0.08em;
  border-radius: 2px;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.separator {
  width: 84px; height: 4px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  border-radius: 4px;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text);
  max-width: 640px;
  margin-bottom: 44px;
}

/* Buttons */
.btn-row { display: flex; gap: 18px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 100px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: var(--cyan);
  color: #06222b;
  box-shadow: 0 0 32px rgba(25, 167, 193, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 52px rgba(25, 167, 193, 0.6);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: var(--white);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn svg { width: 19px; height: 19px; }

/* Scroll-Hinweis */
.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.scroll-hint .mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--cyan);
  border-radius: 3px;
  animation: scroll-wheel 1.8s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0%   { opacity: 1; transform: translateY(0); }
  70%  { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ═══════════ Sektionen ═══════════ */
.section { padding: 110px 0; position: relative; }
.section-deep {
  background: var(--bg-deep);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), inset 0 -1px 0 rgba(255,255,255,0.05);
}
.section-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 40%, rgba(25,167,193,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .separator { margin-left: auto; margin-right: auto; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--white);
  margin: 18px 0 24px;
}
.section-head p { font-size: 18px; color: var(--text); }

/* ── Karten-Grid ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 38px 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25,167,193,0.5), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-border);
  box-shadow: 0 18px 48px rgba(0,0,0,0.35), 0 0 36px rgba(25,167,193,0.12);
  background: rgba(255,255,255,0.055);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--cyan-soft);
  border: 1.5px solid var(--cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.card-icon svg { width: 27px; height: 27px; stroke: var(--cyan); }
.card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.card p { font-size: 16px; color: var(--text); }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 700;
  font-size: 15px;
}
.card .card-link svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.card:hover .card-link svg { transform: translateX(5px); }

/* ── Stats ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.stat-box {
  text-align: center;
  padding: 42px 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.stat-box:hover {
  border-color: var(--cyan-border);
  box-shadow: 0 0 36px rgba(25,167,193,0.12);
}
.stat-num {
  font-size: clamp(40px, 4.5vw, 58px);
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 14px;
  text-shadow: 0 0 30px rgba(25,167,193,0.35);
}
.stat-label {
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ── Nummerierte Schritte ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.step:hover { transform: translateY(-6px); border-color: var(--cyan-border); }
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cyan);
  color: #06222b;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 26px rgba(25,167,193,0.4);
}
.step h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.step p { font-size: 15.5px; }

/* ── Check-Liste ── */
.check-list { display: flex; flex-direction: column; gap: 16px; }
.check-item { display: flex; align-items: flex-start; gap: 14px; }
.check-box {
  flex-shrink: 0;
  width: 26px; height: 26px;
  margin-top: 2px;
  border-radius: 8px;
  background: var(--cyan-soft);
  border: 1.5px solid var(--cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-box svg { width: 15px; height: 15px; }
.check-text { font-size: 16.5px; color: var(--text); }
.check-text strong { color: var(--white); }

/* ═══════════ Voice-Agent-Demo (Waveform + Chat) ═══════════ */
.voice-demo {
  background: rgba(10, 17, 26, 0.75);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.45), 0 0 60px rgba(25,167,193,0.08);
}
.voice-demo-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 22px;
}
.voice-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cyan-soft);
  border: 1.5px solid var(--cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.voice-avatar svg { width: 22px; height: 22px; stroke: var(--cyan); }
.voice-avatar::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(25,167,193,0.35);
  animation: ring-pulse 2.2s ease-out infinite;
}
@keyframes ring-pulse {
  0%   { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.45); opacity: 0; }
}
.voice-demo-title { flex: 1; }
.voice-demo-title strong { display: block; color: var(--white); font-size: 16px; }
.voice-demo-title span { font-size: 13px; color: var(--text-dim); }
.voice-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #3ddc84;
}
.voice-status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 10px #3ddc84;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

/* Waveform-Balken */
.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 64px;
  margin: 6px 0 22px;
}
.waveform span {
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--cyan), rgba(25,167,193,0.35));
  animation: wave 1.1s ease-in-out infinite;
  height: 12px;
}
@keyframes wave {
  0%, 100% { height: 10px; opacity: 0.55; }
  50%      { height: var(--h, 42px); opacity: 1; }
}

/* Chat-Verlauf */
.voice-chat { display: flex; flex-direction: column; gap: 14px; min-height: 230px; }
.chat-bubble {
  max-width: 85%;
  padding: 13px 18px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.chat-bubble.visible { opacity: 1; transform: translateY(0); }
.chat-bubble.agent {
  align-self: flex-start;
  background: var(--cyan-soft);
  border: 1px solid var(--cyan-border);
  color: var(--white);
  border-bottom-left-radius: 4px;
}
.chat-bubble.caller {
  align-self: flex-end;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  border-bottom-right-radius: 4px;
}
.chat-bubble .who {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: var(--text-dim);
}
.chat-bubble.agent .who { color: var(--cyan); }

.chat-replay {
  margin-top: 18px;
  background: none;
  border: 1.5px solid rgba(255,255,255,0.18);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 100px;
  cursor: pointer;
  align-self: center;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.chat-replay:hover { color: var(--cyan); border-color: var(--cyan-border); }

/* ── Produkt-Teaser Layout ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── Tag-Reihe (Einsatzbeispiele) ── */
.tag-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  padding: 9px 20px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.13);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.tag:hover { border-color: var(--cyan-border); color: var(--cyan); }

/* ═══════════ FAQ Accordion ═══════════ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item.open { border-color: var(--cyan-border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 22px 26px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--cyan-soft);
  border: 1.5px solid var(--cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}
.faq-q .faq-icon svg { width: 14px; height: 14px; stroke: var(--cyan); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}
.faq-a p {
  padding: 0 26px 24px;
  font-size: 15.5px;
  color: var(--text);
}

/* ═══════════ Über uns ═══════════ */
.profile-img-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}
.profile-img {
  width: 300px; height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid rgba(25,167,193,0.4);
  box-shadow: 0 0 60px rgba(25,167,193,0.28);
}
.profile-img-wrap::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1.5px dashed rgba(25,167,193,0.3);
  animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.quote-block {
  border-left: 4px solid var(--cyan);
  padding: 6px 0 6px 26px;
  margin: 30px 0;
}
.quote-block p {
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
}

/* ═══════════ CTA-Sektion ═══════════ */
.cta-section {
  position: relative;
  text-align: center;
  padding: 120px 0;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.12;
}
.cta-section p {
  font-size: 18.5px;
  max-width: 580px;
  margin: 0 auto 42px;
}
.cta-section .btn-row { justify-content: center; }
.cta-mail {
  display: block;
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 15.5px;
}
.cta-mail a { font-weight: 700; }

/* ═══════════ Footer ═══════════ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 54px 0 38px;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-brand .nav-logo { margin-bottom: 14px; font-size: 19px; }
.footer-brand p { font-size: 14.5px; color: var(--text-dim); }
.footer h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--text); font-size: 15px; transition: color 0.25s ease; }
.footer ul a:hover { color: var(--cyan); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.3);
}

/* ═══════════ Scroll-Reveal ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ═══════════ Responsive ═══════════ */
@media (max-width: 980px) {
  .grid-3, .steps, .steps-4 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .grid-3, .grid-2, .steps, .steps-4 { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 80px; }
  .scroll-hint { display: none; }
  .profile-img { width: 220px; height: 220px; }

  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10, 17, 26, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.3, 1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 21px; }
}

/* ═══════════ GEO Vergleichstabelle ═══════════ */
.geo-table-wrap {
  max-width: 940px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius);
  background: var(--card-bg);
}
.geo-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.geo-table th, .geo-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
  vertical-align: top;
}
.geo-table thead th { background: var(--bg-deep); color: var(--white); font-weight: 700; }
.geo-table tbody tr:last-child td { border-bottom: none; }
.geo-table tbody tr:nth-child(even) td { background: rgba(255,255,255,0.025); }
.geo-table td:first-child { font-weight: 600; color: var(--white); }
.geo-table .yes { color: var(--cyan); font-weight: 700; }
.geo-source { max-width: 940px; margin: 14px auto 0; font-size: 13px; color: var(--text-dim); }
.geo-source a { color: var(--text-dim); text-decoration: underline; }

/* ═══════════ KI-Antwort-Mockup (GEO-Seite) ═══════════ */
.ai-mock {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(8,40,81,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ai-mock-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ai-mock-head strong { color: var(--white); font-size: 15px; }
.ai-mock-head .ai-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.ai-mock-head .ai-tag {
  margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--cyan);
  background: var(--cyan-soft); border: 1px solid var(--cyan-border);
  padding: 3px 10px; border-radius: 20px;
}
.ai-q {
  background: rgba(255,255,255,0.06); border-radius: 12px;
  padding: 12px 16px; font-size: 14.5px; color: var(--white);
  margin-bottom: 14px; font-weight: 600;
}
.ai-a p { font-size: 14.5px; color: var(--text); margin-bottom: 12px; }
.ai-a strong { color: var(--white); }
.ai-cite {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--cyan); font-weight: 600;
  background: var(--cyan-soft); border: 1px solid var(--cyan-border);
  padding: 5px 12px; border-radius: 8px;
}
.ai-cite-num {
  width: 18px; height: 18px; border-radius: 5px; flex: 0 0 auto;
  background: var(--cyan); color: #06222b; font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.ai-mock-foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--card-border);
  font-size: 12.5px; color: var(--text-dim);
}
.ai-mock-foot em { color: var(--cyan); font-style: normal; font-weight: 700; }

/* ═══════════ Rechtsseiten (Impressum / Datenschutz) ═══════════ */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { color: var(--white); font-size: 22px; font-weight: 800; margin: 40px 0 12px; letter-spacing: -0.3px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { color: var(--white); font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 15.5px; color: var(--text); margin: 10px 0; }
.legal ul { margin: 10px 0 10px 22px; }
.legal a { color: var(--cyan); text-decoration: underline; }
.legal strong { color: var(--white); }
.legal .legal-todo {
  background: var(--cyan-soft); border: 1px dashed var(--cyan-border);
  border-radius: 8px; padding: 2px 8px; color: var(--cyan); font-weight: 600; font-size: 14px;
}
.legal .legal-meta { color: var(--text-dim); font-size: 14px; margin-top: 40px; }
