/* ═══════════════════════════════════════════════
   DocBot — Global Styles
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --navy:        #0f172a;
  --navy-light:  #1e293b;
  --navy-dim:    rgba(15, 23, 42, 0.6);
  --blue-grey:   #64748b;
  --accent:      #3b82f6;
  --accent-dim:  rgba(59, 130, 246, 0.12);
  --white:       #ffffff;
  --light:       #f4f5f7;
  --muted:       #94a3b8;
  --border:      #e2e8f0;
  --border-dark: rgba(255,255,255,0.1);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.12), 0 4px 12px rgba(15,23,42,0.06);
  --shadow-xl: 0 24px 64px rgba(15,23,42,0.16), 0 8px 24px rgba(15,23,42,0.08);

  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-full: 9999px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ─── Container ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ─── Scroll Reveal ─────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition:
    opacity  0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}
[data-reveal="up"]    { transform: translateY(36px); }
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: translateY(20px) scale(0.95); }
[data-reveal].visible { opacity: 1; transform: none; }

/* ─── Typography ────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-grey);
  margin-bottom: 14px;
}
.section-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--blue-grey);
  line-height: 1.65;
  max-width: 520px;
}

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--r-sm);
  padding: 10px 20px;
  transition: all 0.18s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { transition: transform 0.18s ease; flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
  box-shadow: 0 1px 2px rgba(15,23,42,0.2);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15,23,42,0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-grey);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--light); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }

.btn-white-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-white-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

.btn-lg { font-size: 15px; padding: 12px 24px; }

/* ─── Section Base ──────────────────────────────── */
section { padding: 112px 0; }


/* ═══════════════════════════════════════════════
   PROBLEM SECTION
   ═══════════════════════════════════════════════ */
#problem {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* Subtle noise overlay */
#problem::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left copy */
.problem-eyebrow { color: rgba(239,68,68,0.8); }
.problem-eyebrow .section-eyebrow-dot { background: #ef4444; }

.problem-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.problem-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 40px;
}

.pain-list { display: flex; flex-direction: column; gap: 20px; }

.pain-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pain-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.pain-icon svg { color: #f87171; }
.pain-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.pain-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

/* Right: Chaos widget */
.chaos-widget {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}

.chaos-topbar {
  background: rgba(255,255,255,0.06);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.chaos-dots { display: flex; gap: 6px; }
.chaos-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.chaos-title { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.4); letter-spacing: 0.02em; }
.chaos-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #f87171;
  background: rgba(239,68,68,0.12);
  padding: 3px 10px;
  border-radius: var(--r-full);
}
.chaos-indicator::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: chaosFlash 1s ease-in-out infinite;
}

@keyframes chaosFlash { 0%,100% { opacity:1; } 50% { opacity:0.2; } }

.chaos-counter {
  margin: 16px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--r-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chaos-counter-num {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #f87171;
}
.chaos-counter-label { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.35); margin-top: 2px; }
.chaos-counter-right { text-align: right; }
.chaos-counter-trend {
  font-size: 11px;
  font-weight: 700;
  color: #f87171;
  background: rgba(239,68,68,0.1);
  padding: 3px 8px;
  border-radius: var(--r-full);
}

.chaos-lines { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.chaos-section-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.2); padding: 8px 4px 4px; }

.chaos-line {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  padding: 11px 14px;
  animation: chaosPulse 2.5s ease-in-out infinite;
}
.chaos-line:nth-child(2) { animation-delay: 0.3s; }
.chaos-line:nth-child(3) { animation-delay: 0.8s; }
.chaos-line:nth-child(4) { animation-delay: 1.4s; }

@keyframes chaosPulse {
  0%,100% { border-color: rgba(255,255,255,0.06); }
  50% { border-color: rgba(239,68,68,0.25); }
}

.chaos-line-icon {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  background: rgba(239,68,68,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: phoneRing 0.6s ease-in-out infinite alternate;
}
.chaos-line:nth-child(3) .chaos-line-icon { animation-delay: 0.15s; }
.chaos-line:nth-child(4) .chaos-line-icon { animation: none; background: rgba(255,255,255,0.06); }

@keyframes phoneRing {
  0% { transform: rotate(-6deg); }
  100% { transform: rotate(6deg); }
}

.chaos-line-info { flex: 1; }
.chaos-line-name { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); }
.chaos-line-sub  { font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.3); margin-top: 1px; }
.chaos-line-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-full);
}
.chaos-badge-ring  { background: rgba(239,68,68,0.12); color: #f87171; }
.chaos-badge-busy  { background: rgba(234,179,8,0.12); color: #fbbf24; }

@media (max-width: 900px) {
  .problem-inner { grid-template-columns: 1fr; gap: 56px; }
}


/* ═══════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════ */
#features {
  background: var(--white);
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}
.features-header .section-subtitle { margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* First feature card: full-width highlight */
.feature-card-main {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--navy);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid transparent;
}
.feature-card-main-copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-card-main .f-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.feature-card-main .f-icon-wrap svg { color: var(--white); }
.feature-card-main h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-card-main p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.65; max-width: 360px; }

.feature-card-main-visual {
  background: rgba(255,255,255,0.04);
  border-left: 1px solid rgba(255,255,255,0.08);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mini call widget inside feature card */
.mini-call-widget {
  width: 100%;
  max-width: 280px;
}
.mcw-header {
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-md) var(--r-md) 0 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
}
.mcw-title { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.4); }
.mcw-live {
  font-size: 10px; font-weight: 700; color: #4ade80;
  display: flex; align-items: center; gap: 5px;
}
.mcw-live::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%; background: #4ade80;
  animation: pulse 2s infinite;
}
.mcw-body {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0 0 var(--r-md) var(--r-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mcw-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--r-sm);
  padding: 9px 12px;
}
.mcw-row-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(74,222,128,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mcw-row-text { flex: 1; }
.mcw-row-name { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.7); }
.mcw-row-sub { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 1px; }
.mcw-row-badge {
  font-size: 9px; font-weight: 700;
  background: rgba(74,222,128,0.12); color: #4ade80;
  padding: 2px 7px; border-radius: var(--r-full);
}
.mcw-row.faded { opacity: 0.5; }

/* Regular feature cards */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
}
.feature-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.f-icon-wrap {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.f-icon-blue  { background: rgba(59,130,246,0.1);  }
.f-icon-blue  svg { color: var(--accent); }
.f-icon-grey  { background: rgba(100,116,139,0.1); }
.f-icon-grey  svg { color: var(--blue-grey); }
.f-icon-green { background: rgba(34,197,94,0.1);   }
.f-icon-green svg { color: #16a34a; }
.f-icon-amber { background: rgba(234,179,8,0.1);   }
.f-icon-amber svg { color: #b45309; }
.f-icon-violet { background: rgba(139,92,246,0.1); }
.f-icon-violet svg { color: #7c3aed; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-card p { font-size: 14px; color: var(--blue-grey); line-height: 1.6; }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-main { grid-template-columns: 1fr; }
  .feature-card-main-visual { display: none; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════
   HOW IT WORKS SECTION
   ═══════════════════════════════════════════════ */
#wie-es-funktioniert {
  background: var(--light);
}

.hiw-header {
  text-align: center;
  margin-bottom: 72px;
}
.hiw-header .section-subtitle { margin: 0 auto; }

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

/* Connecting line between steps */
.hiw-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.666% + 14px);
  right: calc(16.666% + 14px);
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--border) 0,
    var(--border) 6px,
    transparent 6px,
    transparent 12px
  );
}

.hiw-step {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hiw-step:first-child { padding-left: 0; }
.hiw-step:last-child  { padding-right: 0; }

.hiw-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.hiw-step:hover .hiw-number {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.hiw-step-visual {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.hiw-step:hover .hiw-step-visual {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step-visual-header {
  background: var(--light);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.step-visual-dots { display: flex; gap: 4px; }
.step-visual-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.step-visual-title { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
.step-visual-body { padding: 16px; }

/* Step 1 visual: Phone forwarding */
.step1-visual .forward-from,
.step1-visual .forward-to {
  display: flex; align-items: center; gap: 10px;
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 10px 12px;
}
.step1-visual .forward-from { margin-bottom: 4px; }
.forward-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.fi-grey  { background: rgba(100,116,139,0.1); }
.fi-blue  { background: rgba(59,130,246,0.1); }
.fi-grey svg { color: var(--blue-grey); }
.fi-blue svg { color: var(--accent); }
.forward-text { font-size: 11px; font-weight: 600; color: var(--navy); }
.forward-sub  { font-size: 10px; color: var(--muted); margin-top: 1px; }
.forward-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 3px 0; color: var(--muted);
  font-size: 10px; font-weight: 700;
}

/* Step 2 visual: KI bearbeitet */
.step2-visual .ai-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.ai-row:last-child { margin-bottom: 0; }
.ai-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6366f1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ai-avatar svg { color: white; }
.ai-bubble {
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 0 10px 10px 10px;
  line-height: 1.4;
  flex: 1;
}
.ai-bubble.patient {
  background: var(--light);
  color: var(--navy);
  border-radius: 10px 0 10px 10px;
  text-align: right;
}
.patient-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Step 3 visual: Dashboard */
.step3-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 9px 10px;
  margin-bottom: 6px;
}
.step3-row:last-child { margin-bottom: 0; }
.step3-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.step3-row-text { flex: 1; font-size: 11px; font-weight: 600; color: var(--navy); }
.step3-row-tag {
  font-size: 9px; font-weight: 700;
  padding: 2px 7px; border-radius: var(--r-full);
}

.hiw-step-copy h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 8px;
}
.hiw-step-copy p { font-size: 14px; color: var(--blue-grey); line-height: 1.6; }
.hiw-step-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: var(--r-full);
  padding: 3px 10px;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .hiw-steps { grid-template-columns: 1fr; gap: 48px; }
  .hiw-steps::before { display: none; }
  .hiw-step { padding: 0; }
}


/* ═══════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════ */
#testimonials {
  background: var(--white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}
.testimonials-header .section-subtitle { margin: 0 auto; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #d1d9e0;
}

.testi-stars { display: flex; gap: 3px; margin-bottom: 20px; }
.testi-stars svg { color: #f59e0b; }

.testi-quote {
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}
.testi-quote::before { content: '"'; }
.testi-quote::after  { content: '"'; }

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.av-1 { background: rgba(59,130,246,0.12); color: var(--accent); }
.av-2 { background: rgba(100,116,139,0.12); color: var(--blue-grey); }
.av-3 { background: rgba(15,23,42,0.08); color: var(--navy); }

.testi-name { font-size: 14px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.testi-role { font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 2px; }

.testimonials-social {
  margin-top: 56px;
  text-align: center;
}
.testimonials-social p {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 24px;
}
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.logo-placeholder {
  height: 20px;
  background: var(--border);
  border-radius: var(--r-full);
  opacity: 0.6;
}

@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }


/* ═══════════════════════════════════════════════
   DEMO / CTA SECTION
   ═══════════════════════════════════════════════ */
#demo {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* Grid pattern on dark bg */
#demo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
#demo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 20%, rgba(15,23,42,0.8) 100%);
  pointer-events: none;
}

.demo-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.demo-copy-eyebrow { color: rgba(255,255,255,0.4); }
.demo-copy-eyebrow .section-eyebrow-dot { background: #4ade80; }

.demo-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 18px;
}
.demo-title span { color: rgba(255,255,255,0.4); }

.demo-subtitle { font-size: 17px; color: rgba(255,255,255,0.5); line-height: 1.65; margin-bottom: 36px; }

.demo-perks { display: flex; flex-direction: column; gap: 12px; }
.demo-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}
.demo-perk-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.demo-perk-check svg { color: #4ade80; }

/* Form */
.demo-form-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
}
.demo-form-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.demo-form-sub { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 28px; }

.form-field { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
  margin-bottom: 7px;
}
.form-input {
  width: 100%;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  padding: 11px 16px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.form-input::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus {
  border-color: rgba(59,130,246,0.6);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

.form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.form-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
}
.form-trust-item svg { color: rgba(255,255,255,0.25); }

@media (max-width: 900px) {
  .demo-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img { height: 24px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.65; max-width: 240px; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--navy); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12px; font-weight: 500; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; font-weight: 500; color: var(--muted); transition: color 0.15s; }
.footer-legal a:hover { color: var(--navy); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


/* ═══════════════════════════════════════════════
   SMOOTH SCROLL OFFSET (for sticky nav)
   ═══════════════════════════════════════════════ */
html { scroll-padding-top: 72px; }


/* ═══════════════════════════════════════════════
   STATS STRIP
   ═══════════════════════════════════════════════ */
#stats-strip {
  background: var(--navy);
  padding: 0;
}
.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid rgba(255,255,255,0.08);
}
.stat-item {
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-number .stat-prefix { font-size: 0.5em; font-weight: 700; color: var(--blue-grey); margin-right: 2px; }
.stat-number .stat-suffix { font-size: 0.5em; font-weight: 700; color: var(--blue-grey); }
.stat-number .stat-accent { color: var(--accent); }

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats-strip-inner { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 28px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 400px) {
  .stats-strip-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; }
  .stat-item:last-child { border-bottom: none; }
}


/* ═══════════════════════════════════════════════
   FÜR WEN IST DOCBOT?
   ═══════════════════════════════════════════════ */
#fuer-wen { background: var(--light); }

.fuer-wen-header { text-align: center; margin-bottom: 56px; }
.fuer-wen-header .section-subtitle { margin: 0 auto; }

.fuer-wen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fw-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.fw-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(15,23,42,0.15);
}
.fw-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.fw-card:nth-child(1)::before { background: var(--accent); }
.fw-card:nth-child(2)::before { background: #8b5cf6; }
.fw-card:nth-child(3)::before { background: #0ea5e9; }

.fw-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.fw-card:nth-child(1) .fw-icon { background: rgba(59,130,246,0.1); }
.fw-card:nth-child(1) .fw-icon svg { color: var(--accent); }
.fw-card:nth-child(2) .fw-icon { background: rgba(139,92,246,0.1); }
.fw-card:nth-child(2) .fw-icon svg { color: #8b5cf6; }
.fw-card:nth-child(3) .fw-icon { background: rgba(14,165,233,0.1); }
.fw-card:nth-child(3) .fw-icon svg { color: #0ea5e9; }

.fw-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 6px;
}
.fw-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.fw-pains {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex: 1;
}
.fw-pains li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--blue-grey);
  line-height: 1.45;
}
.fw-pain-x {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(239,68,68,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.fw-pain-x svg { color: #ef4444; }
.fw-result {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fw-result-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fw-result-check svg { color: #16a34a; }
.fw-result-text { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.35; }

@media (max-width: 900px) { .fuer-wen-grid { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 600px) { .fuer-wen-grid { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════════════
   VERGLEICH: MIT vs. OHNE DOCBOT
   ═══════════════════════════════════════════════ */
#vergleich { background: var(--white); }

.vergleich-header { text-align: center; margin-bottom: 56px; }
.vergleich-header .section-subtitle { margin: 0 auto; }

.vergleich-table {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.vt-col-header {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.vt-col-header.without { background: rgba(239,68,68,0.03); border-right: 1px solid var(--border); }
.vt-col-header.with    { background: rgba(34,197,94,0.04); }
.vt-col-header-icon {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.vt-col-header.without .vt-col-header-icon { background: rgba(239,68,68,0.1); }
.vt-col-header.without .vt-col-header-icon svg { color: #ef4444; }
.vt-col-header.with    .vt-col-header-icon { background: rgba(34,197,94,0.1); }
.vt-col-header.with    .vt-col-header-icon svg { color: #16a34a; }
.vt-col-title { font-size: 14px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.vt-col-sub   { font-size: 12px; color: var(--muted); margin-top: 1px; }

.vt-divider-header {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vt-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}
.vt-cell.without { background: rgba(239,68,68,0.02); }
.vt-cell.with    { background: rgba(34,197,94,0.02); }
/* letzte Zeile (= letzte 3 Grid-Kinder) ohne border-bottom */
.vergleich-table > :nth-last-child(-n+3) { border-bottom: none; }

.vt-mark {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.vt-mark.bad  { background: rgba(239,68,68,0.1); }
.vt-mark.bad svg { color: #ef4444; }
.vt-mark.good { background: rgba(34,197,94,0.12); }
.vt-mark.good svg { color: #16a34a; }

.vt-divider-mark {
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}

@media (max-width: 768px) {
  .vergleich-table {
    grid-template-columns: 1fr 1fr;
  }
  .vt-divider-header, .vt-divider-mark { display: none; }
  .vt-cell.without { border-right: 1px solid var(--border); }
}


/* ═══════════════════════════════════════════════
   INTEGRATIONEN
   ═══════════════════════════════════════════════ */
#integrationen { background: var(--light); }

.integrationen-header { text-align: center; margin-bottom: 48px; }
.integrationen-header .section-subtitle { margin: 0 auto; }

.integration-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.integration-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
  cursor: default;
}
.integration-chip:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  border-color: #d1d9e0;
}
.integration-chip-icon {
  width: 28px; height: 28px;
  background: var(--light);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}

.integration-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.integration-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ═══════════════════════════════════════════════
   PREISE
   ═══════════════════════════════════════════════ */
#preise { background: var(--white); }

.preise-header { text-align: center; margin-bottom: 56px; }
.preise-header .section-subtitle { margin: 0 auto; }

.preise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.preis-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.preis-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.preis-card.featured {
  background: var(--navy);
  border-color: transparent;
}
.preis-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  padding: 4px 14px;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.preis-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-grey);
  margin-bottom: 8px;
}
.preis-card.featured .preis-name { color: rgba(255,255,255,0.5); }

.preis-headline {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.2;
}
.preis-card.featured .preis-headline { color: var(--white); }

.preis-sub {
  font-size: 14px;
  color: var(--blue-grey);
  margin-bottom: 24px;
  line-height: 1.5;
}
.preis-card.featured .preis-sub { color: rgba(255,255,255,0.5); }

.preis-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.preis-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--navy);
  line-height: 1.4;
}
.preis-card.featured .preis-features li { color: rgba(255,255,255,0.8); }
.preis-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.preis-check svg { color: #16a34a; }
.preis-card.featured .preis-check {
  background: rgba(74,222,128,0.12);
  border-color: rgba(74,222,128,0.25);
}
.preis-card.featured .preis-check svg { color: #4ade80; }

.preis-anfrage {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 4px;
}
.preis-card.featured .preis-anfrage { color: var(--white); }
.preis-anfrage-sub { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.preis-card.featured .preis-anfrage-sub { color: rgba(255,255,255,0.35); }

@media (max-width: 640px) { .preise-grid { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════ */
#faq { background: var(--light); }

.faq-header { text-align: center; margin-bottom: 56px; }
.faq-header .section-subtitle { margin: 0 auto; }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open { border-color: rgba(15,23,42,0.15); box-shadow: var(--shadow-sm); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.faq-q:hover { background: rgba(15,23,42,0.02); }

.faq-q-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), background 0.2s, border-color 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--navy);
  border-color: var(--navy);
}
.faq-icon svg { color: var(--blue-grey); transition: color 0.2s; }
.faq-item.open .faq-icon svg { color: var(--white); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
}
.faq-item.open .faq-a { max-height: 1000px; }

.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--blue-grey);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq-a-inner strong { color: var(--navy); font-weight: 600; }


/* ═══════════════════════════════════════════════
   STICKY CTA BAR
   ═══════════════════════════════════════════════ */
#sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(15,23,42,0.1);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#sticky-cta.visible { transform: translateY(0); }

.sticky-cta-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sticky-cta-left img { height: 22px; }
.sticky-cta-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.sticky-cta-sub {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 1px;
}
.sticky-cta-right { display: flex; align-items: center; gap: 10px; }
.sticky-cta-dismiss {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.15s, border-color 0.15s;
}
.sticky-cta-dismiss:hover { color: var(--navy); border-color: var(--navy); }

@media (max-width: 600px) {
  #sticky-cta { padding: 12px 16px; }
  .sticky-cta-left img, .sticky-cta-sub { display: none; }
  .sticky-cta-text { font-size: 13px; }
}


/* ═══════════════════════════════════════════════
   ACTIVE NAV LINK
   ═══════════════════════════════════════════════ */
.nav-links a.nav-active {
  color: var(--navy);
  background: var(--light);
}


/* ═══════════════════════════════════════════════
   WORKFLOW / KANBAN SCROLL SECTION
   ═══════════════════════════════════════════════ */

.workflow-header {
  padding: 112px 0 64px;
  text-align: center;
}
.workflow-header .section-subtitle { margin: 0 auto; }

/* Scroll wrapper – defines scroll distance */
#workflow-wrapper {
  height: 400vh;
  position: relative;
}

/* Sticky container – stays in view */
#workflow-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--light);
}

/* Progress bar */
.wf-progress-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
}
.wf-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #6366f1);
  width: 0%;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Phase step dots */
.wf-phase-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}
.wf-dot-item {
  display: flex;
  align-items: center;
  gap: 0;
}
.wf-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.wf-dot.done  { background: var(--navy); border-color: var(--navy); color: var(--white); }
.wf-dot.active {
  background: var(--accent); border-color: var(--accent); color: var(--white);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.2);
}
.wf-dot-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.3s;
  margin: 0 6px;
  display: none;
}
.wf-dot-label.active { color: var(--navy); display: block; }
.wf-dot-connector {
  width: 40px; height: 2px;
  background: var(--border);
  transition: background 0.4s ease;
  flex-shrink: 0;
}
.wf-dot-connector.done { background: var(--navy); }

@media (min-width: 600px) {
  .wf-dot-label { display: block; }
  .wf-dot-connector { width: 24px; }
}

/* Main layout: left narrative + right kanban */
.wf-main {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* ─── Left: Narrative Steps ─── */
.wf-left {
  position: relative;
  height: 260px;
}
.wf-step {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s cubic-bezier(0.16,1,0.3,1), transform 0.45s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.wf-step.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.wf-step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.wf-step h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 10px;
}
.wf-step p {
  font-size: 15px;
  color: var(--blue-grey);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 340px;
}

/* Incoming Call Widget (Phase 0) */
.wf-call-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 280px;
  box-shadow: var(--shadow-md);
}
.wcw-header {
  background: var(--navy);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wcw-phone-icon {
  width: 32px; height: 32px;
  background: rgba(74,222,128,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wfRing 0.7s ease-in-out infinite alternate;
}
@keyframes wfRing {
  0%  { transform: rotate(-10deg); box-shadow: 0 0 0 0 rgba(74,222,128,0.3); }
  100%{ transform: rotate(10deg);  box-shadow: 0 0 0 8px rgba(74,222,128,0); }
}
.wcw-phone-icon svg { color: #4ade80; }
.wcw-caller { flex: 1; }
.wcw-caller-name { font-size: 13px; font-weight: 700; color: var(--white); }
.wcw-caller-sub  { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 1px; }
.wcw-status {
  font-size: 10px; font-weight: 700;
  color: #4ade80;
  background: rgba(74,222,128,0.12);
  padding: 3px 9px; border-radius: var(--r-full);
  animation: pulse 1.5s infinite;
}
.wcw-body {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wcw-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--light);
  border-radius: var(--r-sm);
}
.wcw-row-label { font-size: 11px; color: var(--muted); font-weight: 500; min-width: 60px; }
.wcw-row-value { font-size: 12px; color: var(--navy); font-weight: 600; }
.wcw-channel-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700;
  background: rgba(59,130,246,0.1); color: var(--accent);
  padding: 4px 10px; border-radius: var(--r-full);
}

/* MFA working widget (Phase 2) */
.wf-mfa-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  max-width: 280px;
  box-shadow: var(--shadow-sm);
}
.wf-mfa-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.wf-mfa-avatar {
  width: 32px; height: 32px;
  background: rgba(100,116,139,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  color: var(--blue-grey);
  flex-shrink: 0;
}
.wf-mfa-name  { font-size: 13px; font-weight: 700; color: var(--navy); }
.wf-mfa-role  { font-size: 11px; color: var(--muted); margin-top: 1px; }
.wf-mfa-action {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--r-sm);
}
.wf-mfa-action svg { color: #16a34a; flex-shrink: 0; }
.wf-mfa-action-text { font-size: 12px; font-weight: 600; color: var(--navy); }
.wf-mfa-action-sub  { font-size: 10px; color: var(--muted); margin-top: 1px; }

/* Email notification widget (Phase 3) */
.wf-email-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 300px;
  box-shadow: var(--shadow-md);
}
.wem-header {
  background: var(--light);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.wem-icon {
  width: 26px; height: 26px;
  background: rgba(34,197,94,0.12);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wem-icon svg { color: #16a34a; }
.wem-subject { font-size: 12px; font-weight: 700; color: var(--navy); }
.wem-to      { font-size: 10px; color: var(--muted); margin-top: 1px; }
.wem-body { padding: 14px 16px; }
.wem-greeting { font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.wem-text { font-size: 12px; color: var(--blue-grey); line-height: 1.55; margin-bottom: 10px; }
.wem-highlight {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 10px;
}
.wem-footer-text { font-size: 11px; color: var(--muted); }

/* ─── Right: Kanban Board ─── */
.wf-right { display: flex; flex-direction: column; gap: 16px; }

.kanban-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kanban-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.kanban-col-header {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--light);
}
.kch-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-grey);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 7px;
}
.kch-title::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.col-offen .kch-title::before    { background: var(--accent); }
.col-bearb  .kch-title::before   { background: #f59e0b; }
.col-erled  .kch-title::before   { background: #22c55e; }

.kch-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--border);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.kch-count.has-card {
  background: var(--navy);
  color: var(--white);
}

.kanban-col-body {
  padding: 10px;
  min-height: 130px;
  position: relative;
}

/* Empty state */
.kanban-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 120px;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.kanban-empty.hidden { opacity: 0; }
.kanban-empty svg { color: var(--border); margin-bottom: 6px; }
.kanban-empty span { font-size: 11px; color: var(--muted); font-weight: 500; }

/* Kanban card */
.wf-kanban-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition:
    opacity 0.5s cubic-bezier(0.16,1,0.3,1),
    transform 0.5s cubic-bezier(0.16,1,0.3,1),
    border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.wf-kanban-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
}
.col-offen .wf-kanban-card::before  { background: var(--accent); }
.col-bearb  .wf-kanban-card::before { background: #f59e0b; }
.col-erled  .wf-kanban-card::before { background: #22c55e; }

.wf-kanban-card.visible {
  opacity: 1;
  transform: none;
}
.col-offen .wf-kanban-card.visible  { border-color: rgba(59,130,246,0.25); }
.col-bearb  .wf-kanban-card.visible { border-color: rgba(245,158,11,0.25); }
.col-erled  .wf-kanban-card.visible { border-color: rgba(34,197,94,0.25);  }

.wkc-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  width: fit-content;
  margin-bottom: 8px;
}
.col-offen .wkc-badge  { background: rgba(59,130,246,0.1);  color: var(--accent); }
.col-bearb  .wkc-badge { background: rgba(245,158,11,0.12); color: #b45309; }
.col-erled  .wkc-badge { background: rgba(34,197,94,0.1);   color: #16a34a; }

.wkc-type {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wkc-patient { font-size: 12px; color: var(--blue-grey); font-weight: 500; margin-bottom: 2px; }
.wkc-meta    { font-size: 11px; color: var(--muted); font-weight: 500; }
.wkc-assignee {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.wkc-assignee-dot {
  width: 16px; height: 16px;
  background: rgba(100,116,139,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* "Done check" animation on Erledigt card */
.wkc-done-check {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(34,197,94,0.2);
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
}

/* Notification appeared banner */
.wf-notification-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--r-md);
  padding: 10px 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}
.wf-notification-hint.visible {
  opacity: 1;
  transform: none;
}
.wfnh-icon {
  width: 28px; height: 28px;
  background: rgba(34,197,94,0.12);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wfnh-icon svg { color: #16a34a; }
.wfnh-text { flex: 1; font-size: 12px; font-weight: 600; color: var(--navy); }
.wfnh-sub  { font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 1px; }
.wfnh-badge {
  font-size: 10px; font-weight: 700;
  background: rgba(34,197,94,0.1); color: #16a34a;
  padding: 2px 8px; border-radius: var(--r-full);
}

/* Scroll hint at bottom */
.wf-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  animation: wfScrollBounce 2s ease-in-out infinite;
  transition: opacity 0.3s;
}
.wf-scroll-hint.hidden { opacity: 0; pointer-events: none; }
@keyframes wfScrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(5px); }
}

/* Mobile: static layout */
@media (max-width: 900px) {
  #workflow-wrapper { height: auto; }
  #workflow-sticky  {
    position: static;
    height: auto;
    padding: 48px 0 80px;
  }
  .wf-main { grid-template-columns: 1fr; gap: 32px; }
  .wf-left { position: static; height: auto; }
  .wf-step {
    position: static;
    opacity: 1 !important;
    transform: none !important;
    display: none;
  }
  .wf-step[data-phase="3"] { display: block; }
  .wf-phase-dots { display: none; }
  .wf-progress-bar { display: none; }
  .wf-scroll-hint { display: none; }
  .wf-kanban-card { opacity: 1 !important; transform: none !important; }
  .col-erled .wf-kanban-card { border-color: rgba(34,197,94,0.25); }
  .wf-notification-hint { opacity: 1 !important; transform: none !important; }
}


/* ═══════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════ */
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
