/* ============================================================
   voicebot.css . Seitenspezifische Styles für die
   Voicebot-Detailseite „/voicebot".
   Nutzt die globalen Design-Tokens aus styles.css, daher
   greift der Dark-Mode automatisch. Alle Klassen sind mit
   .vb- geprefixt, um Kollisionen zu vermeiden.
   ============================================================ */

/* ---- Hero: Überschrift volle Breite oben, Text + Bild nebeneinander darunter ---- */
.vb-hero-head { max-width: 85%; margin-bottom: 48px; }
.vb-hero-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; position: relative; z-index: 1;
}
.vb-hero-text { min-width: 0; }
.vb-hero-text .hero-lead { margin-top: 0; }
.vb-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; }

@media (max-width: 860px) {
  .vb-hero-head { max-width: none; margin-bottom: 36px; }
  .vb-hero-body { grid-template-columns: 1fr; gap: 44px; }
}

/* ---- Callout-Box (Hero-Proof + "Das heißt für ..."-Boxen) ---- */
.vb-hero-proof,
.vb-means {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
  border-radius: 12px;
  padding: 14px 18px;
}
.vb-hero-proof { margin-top: 28px; max-width: 560px; }
.vb-hero-proof strong { color: var(--blue-dark); font-weight: 600; }
.vb-means { margin-top: 26px; max-width: 920px; }
.vb-means b { color: var(--blue-dark); }

/* ---- Abschnitts-Abwechslung wie auf der Startseite ---- */
.vb-alt {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---- Figure / Diagramm-Karte (bleibt in beiden Modi hell) ---- */
.vb-figure {
  background: #ffffff;
  border: 1px solid #dde2e8;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 34, 0.04);
}
.vb-figure svg { display: block; width: 100%; height: auto; }
.vb-figure-cap {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: #9aa3ad;
  text-align: center;
  padding: 12px 14px 8px;
  letter-spacing: 0.02em;
}

/* ---- Problem-Triplet ---- */
.vb-triplet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vb-triplet .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 14px;
}
.vb-triplet h3 { margin-bottom: 8px; }
.vb-triplet p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.vb-closer { margin-top: 40px; font-size: 17px; line-height: 1.6; color: var(--ink); max-width: 920px; }
.vb-closer strong { font-weight: 600; }

/* ---- Ergebnis-Band ---- */
.vb-benefits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.vb-benefit { background: var(--paper); padding: 26px 24px; }
.vb-benefit .ic {
  width: 38px; height: 38px; border-radius: 9px; background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--blue);
}
.vb-benefit h3 { font-size: 16.5px; margin-bottom: 7px; }
.vb-benefit p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---- Bausteine (Ende-zu-Ende-Stapel) ---- */
.vb-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.vb-piece {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 26px 28px; background: var(--paper);
  position: relative; overflow: hidden;
}
.vb-piece::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px; background: var(--blue);
}
.vb-piece-num {
  font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600;
  color: var(--blue); letter-spacing: 0.03em; margin-bottom: 12px;
}
.vb-piece h3 { margin-bottom: 8px; }
.vb-piece p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---- Split (Tools) ---- */
.vb-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.vb-split .col { padding: 30px 30px 34px; }
.vb-split .col.sys { background: var(--blue-soft); }
.vb-split .col.human { background: var(--soft-2); border-left: 1px solid var(--line); }
.vb-split .tag {
  font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em; margin-bottom: 14px;
}
.vb-split .col.sys .tag { color: var(--blue-dark); }
.vb-split .col.human .tag { color: var(--orange-dark); }
.vb-split ul { list-style: none; margin: 6px 0 0; padding: 0; }
.vb-split li {
  position: relative; padding-left: 22px; margin-bottom: 11px;
  font-size: 15.5px; line-height: 1.55; color: var(--ink);
}
.vb-split li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: 0.5;
}
.vb-split .line {
  font-size: 14.5px; color: var(--muted); margin-top: 14px;
  border-top: 1px dashed var(--line-strong); padding-top: 12px;
}

/* ---- Nachverarbeitung-Grid (nutzt globale .svc-Karten) ---- */
.vb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vb-grid .svc-num { color: var(--blue); }

/* ---- Modi (Bot, Mensch, beides) ---- */
.vb-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vb-mode { border: 1px solid var(--line); border-radius: 12px; padding: 24px 24px 26px; background: var(--paper); }
.vb-mode.featured { border-color: var(--blue-line); background: var(--blue-soft); }
.vb-mode-tag {
  font-family: "JetBrains Mono", monospace; font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--blue-dark); margin-bottom: 10px;
}
.vb-mode h3 { font-size: 18px; margin-bottom: 8px; }
.vb-mode p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---- Management (zwei Karten) ---- */
.vb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vb-note-card { border: 1px solid var(--line); border-radius: 12px; padding: 26px; background: var(--paper); }
.vb-note-card.accent { border-color: var(--blue-line); background: var(--blue-soft); }
.vb-note-card h3 { margin-bottom: 10px; }
.vb-note-card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.vb-note-card.accent p { color: var(--ink-2); }

/* ---- Einstiegsszenarien ---- */
.vb-scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vb-scenario {
  border-left: 3px solid var(--blue-line); padding: 4px 0 4px 18px;
}
.vb-scenario h3 { font-size: 16.5px; margin-bottom: 6px; }
.vb-scenario p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---- Demo-Sektion ---- */
.vb-demo { background: var(--blue-soft); border-top: 1px solid var(--blue-line); border-bottom: 1px solid var(--blue-line); }
.vb-demo-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.vb-demo-lead { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 16px 0 24px; max-width: 540px; }
.vb-demo-steps { list-style: none; padding: 0; margin: 0 0 18px; }
.vb-demo-steps li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.5px; line-height: 1.5; color: var(--ink); margin-bottom: 14px;
}
.vb-step-n {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.vb-demo-hint { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 540px; }

.vb-demo-form-wrap { position: sticky; top: 90px; }
.vb-demo-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 48px rgba(15, 23, 34, 0.10);
}
.vb-demo-head {
  background: #172230; color: #fff; padding: 18px 28px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.005em;
}
.vb-demo-card #voicebot-demo-form-state,
.vb-demo-card #voicebot-demo-success-state { padding: 28px; }
#voicebot-demo-form { display: flex; flex-direction: column; gap: 16px; }
.vb-demo-submit { align-self: stretch; justify-content: center; margin-top: 6px; }
.vb-demo-submit:disabled { opacity: 0.65; cursor: wait; }
.vb-demo-card .form-disclaimer { margin: 18px 0 0; }

#voicebot-demo-success-state[hidden] { display: none; }
.vb-demo-success-steps { display: flex; flex-direction: column; gap: 18px; }
.vb-demo-success-steps .step { display: flex; flex-direction: column; gap: 4px; }
.vb-demo-success-steps .step-num {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: var(--blue-dark); letter-spacing: 0.04em;
}
.vb-demo-success-steps .step-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.vb-demo-success-steps .step p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---- Abschluss-CTA ---- */
.vb-cta { background: var(--orange-tint); border-top: 1px solid var(--orange-dark); }
.vb-cta .section-eyebrow { color: var(--orange-dark); }
.vb-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.vb-cta-text { max-width: 760px; }
.vb-cta-text .section-eyebrow { margin-bottom: 14px; }
.vb-cta h2 { margin-bottom: 14px; }
.vb-cta p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .vb-benefits { grid-template-columns: repeat(2, 1fr); }
  .vb-grid { grid-template-columns: 1fr; }
  .vb-modes { grid-template-columns: 1fr; }
  .vb-scenarios { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .vb-triplet { grid-template-columns: 1fr; gap: 24px; }
  .vb-demo-grid { grid-template-columns: 1fr; gap: 36px; }
  .vb-demo-form-wrap { position: static; }
}
@media (max-width: 760px) {
  .vb-stack { grid-template-columns: 1fr; }
  .vb-split { grid-template-columns: 1fr; }
  .vb-split .col.human { border-left: none; border-top: 1px solid var(--line); }
  .vb-two { grid-template-columns: 1fr; }
  .vb-scenarios { grid-template-columns: 1fr; }
  .vb-cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
}
@media (max-width: 560px) {
  .vb-benefits { grid-template-columns: 1fr; }
}
