/* ============================================================
   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.
   Geteilte Landing-Page-Bausteine (.vb-alt, .vb-triplet,
   .vb-demo*, .vb-mgmt*, .vb-cta, Bildunterschriften) liegen
   in styles.css.
   ============================================================ */

/* ---- 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 und die Basis der .vb-means-Box liegen als
   geteilte Landing-Page-Bausteine in styles.css. */
.vb-means { margin-top: 26px; max-width: 920px; }
.vb-means b { color: var(--blue-dark); }

/* ---- Ergebnis-Bento (eine grosse Kachel + drei kleine) ---- */
.vb-bento {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: minmax(150px, auto); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.vb-bento-tile { background: var(--paper); padding: 26px 24px; }
.vb-bento-tile.lead { grid-row: span 2; background: var(--blue-soft); }
.vb-bento-tile.wide { grid-column: 2 / span 2; }
.vb-bento-tile .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-bento-tile.lead .ic { width: 46px; height: 46px; background: #fff; }
.vb-bento-tile h3 { font-size: 16.5px; margin-bottom: 7px; }
.vb-bento-tile.lead h3 { font-size: 22px; letter-spacing: -0.01em; }
.vb-bento-tile p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.vb-bento-tile.lead p { font-size: 16px; color: var(--ink-2); }

/* ---- 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; }

/* ---- 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; }

/* ---- Checkliste "Das bedeutet für dich" (Haarlinien statt Karten) ---- */
.vb-checklist { max-width: 920px; margin: 8px 0 0; border-top: 1px solid var(--line); }
.vb-check {
  display: grid; grid-template-columns: 34px 1fr; gap: 18px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.vb-check .tick {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
}
.vb-check h3 { margin: 0 0 5px; font-size: 17.5px; }
.vb-check p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ---- Demo-Sektion: Seitenspezifisches (Basis liegt in styles.css) ---- */
.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; }
#voicebot-demo-success-state[hidden] { display: none; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .vb-grid { grid-template-columns: 1fr; }
  .vb-modes { grid-template-columns: 1fr; }
  .vb-scenarios { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .vb-bento { grid-template-columns: 1fr; }
  .vb-bento-tile.lead { grid-row: auto; }
  .vb-bento-tile.wide { grid-column: auto; }
}
@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-scenarios { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .vb-bento-tile { padding: 22px 20px; }
}

/* ============================================================
   Hero-Ticketkarte (Variante 2) . bleibt in beiden Modi hell,
   da sie ein echtes Ticket/Mail-Objekt nachbildet.
   ============================================================ */
.vb-ticket {
  background: #ffffff; border: 1px solid #e4e7ec; border-radius: 14px;
  box-shadow: 0 18px 50px rgba(15, 23, 34, 0.10);
  overflow: hidden; font-size: 14px; color: #2c2c2a;
}
.vb-tk-pad { padding: 16px 20px; }
.vb-tk-row { border-top: 1px solid #edeff2; }
.vb-tk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vb-tk-brand { display: flex; align-items: center; gap: 10px; }
.vb-tk-logo { background: #185fa5; color: #fff; font-weight: 700; font-size: 12px; padding: 6px 10px; border-radius: 6px; }
.vb-tk-name { font-size: 13px; font-weight: 600; color: #5f5e5a; }
.vb-tk-badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.vb-tk-badge-status { background: #eaf3de; color: #27500a; }
.vb-tk-id { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; color: #5f5e5a; }
.vb-tk-title { margin: 8px 0 0; font-size: 16px; font-weight: 700; color: #2c2c2a; line-height: 1.4; }
.vb-tk-two { display: flex; gap: 12px; margin-top: 14px; }
.vb-tk-two > .vb-tk-box { flex: 1; }
.vb-tk-box { border-radius: 8px; padding: 12px 14px; }
.vb-tk-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.vb-tk-big { font-size: 19px; font-weight: 700; line-height: 1.2; }
.vb-tk-prio { background: #faece7; border-left: 4px solid #d85a30; }
.vb-tk-prio .vb-tk-lbl { color: #712b13; }
.vb-tk-prio .vb-tk-big { color: #4a1b0c; }
.vb-tk-cat { background: #fbeaf0; border-left: 4px solid #d4537e; }
.vb-tk-cat .vb-tk-lbl { color: #72243e; }
.vb-tk-cat .vb-tk-big { color: #4b1528; }
.vb-tk-assign { margin-top: 12px; background: #f8f8f6; border-radius: 6px; padding: 10px 12px; font-size: 13px; color: #2c2c2a; }
.vb-tk-assign span { color: #5f5e5a; }
.vb-tk-caller { display: flex; align-items: center; gap: 12px; }
.vb-tk-avatar { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: #e6f1fb; color: #0c447c; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.vb-tk-callermeta { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.vb-tk-cn { font-size: 14px; font-weight: 700; color: #2c2c2a; }
.vb-tk-cc { font-size: 12px; color: #5f5e5a; }

/* Transkript zum Aufklappen (natives <details>) */
.vb-tk-transcript > summary { cursor: pointer; list-style: none; padding: 12px 20px; font-size: 13px; font-weight: 600; color: #056aa3; }
.vb-tk-transcript > summary::-webkit-details-marker { display: none; }
.vb-tk-transcript > summary::before { content: "\25B8"; margin-right: 6px; color: #0693e3; }
.vb-tk-transcript[open] > summary::before { content: "\25BE"; }
.vb-tk-turns { padding: 0 20px 14px; max-height: 300px; overflow-y: auto; }
.vb-tk-turn { display: grid; grid-template-columns: 38px 58px 1fr; gap: 8px; padding: 7px 0; font-size: 12.5px; line-height: 1.5; border-top: 1px solid #f1f1ef; }
.vb-tk-turn .ts { font-family: "JetBrains Mono", ui-monospace, monospace; color: #9aa3ad; font-size: 11px; }
.vb-tk-turn .who { font-weight: 700; font-size: 11px; }
.vb-tk-turn.bot .who { color: #056aa3; }
.vb-tk-turn.caller .who { color: #c4500a; }
.vb-tk-foot { background: #f8f8f6; font-size: 12px; color: #5f5e5a; line-height: 1.5; }

/* ---- Horizontale Prozess-Grafik (Abschnitt 03, zwischen den Box-Zeilen) ---- */
.vb-process {
  background: #ffffff; border: 1px solid #dde2e8; border-radius: 14px;
  padding: 18px 18px 6px; box-shadow: 0 1px 2px rgba(15, 23, 34, 0.04);
  margin: 20px 0; overflow-x: auto;
}
.vb-process svg { display: block; width: 100%; min-width: 820px; height: auto; }

/* ============================================================
   Ergaenzungen: Hero-Teaser, volle Detailkarte, Detail-Sektion.
   ============================================================ */
.vb-tk-badge-demo { background: #faeeda; color: #854f0b; }
.vb-tk-idrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vb-tk-brandtext { display: flex; flex-direction: column; }
.vb-tk-slogan { font-size: 11.5px; color: #8a8a85; }
.vb-tk-mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

/* Volle Detailkarte */
.vb-tk-h2 { font-size: 17px; font-weight: 700; color: #2c2c2a; margin: 0; }
.vb-tk-sub { margin: 4px 0 0; font-size: 12.5px; color: #5f5e5a; line-height: 1.5; }
.vb-tk-desc { font-size: 12px; line-height: 1.45; margin-top: 6px; color: #4a4a46; }
.vb-tk-prio .vb-tk-desc { color: #4a1b0c; }
.vb-tk-cat .vb-tk-desc { color: #4b1528; }
.vb-tk-soft { background: #f8f8f6; }
.vb-tk-soft .vb-tk-lbl { color: #5f5e5a; }
.vb-tk-lblstrip { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #5f5e5a; margin-bottom: 12px; }
.vb-tk-ident { margin-top: 14px; padding: 10px 12px; background: #f8f8f6; border-radius: 6px; font-size: 12px; color: #5f5e5a; line-height: 1.6; }
.vb-tk-ident strong { color: #2c2c2a; }
.vb-tk-text { font-size: 14px; line-height: 1.7; color: #2c2c2a; margin: 0 0 14px; }
.vb-tk-steps { list-style: none; margin: 0; padding: 0; }
.vb-tk-steps li { position: relative; padding: 6px 0 6px 26px; font-size: 13.5px; color: #2c2c2a; line-height: 1.5; }
.vb-tk-steps li::before { content: "\25A2"; position: absolute; left: 0; top: 5px; color: #9aa3af; }
.vb-tk-detrows { font-size: 13px; }
.vb-tk-detrow { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; border-bottom: 1px dashed #ececea; }
.vb-tk-detrow span:first-child { color: #5f5e5a; }
.vb-tk-footnote { font-size: 12px; color: #5f5e5a; line-height: 1.6; margin: 0 0 14px; }

/* Teaser-Fuss mit Button */
.vb-tk-teaserfoot { background: #f8f8f6; }
.vb-tk-teaserfoot .btn { width: 100%; justify-content: center; }

/* Detail-Sektion: Karte mittig, etwas breiter */
.vb-ticketdetail-wrap { max-width: 660px; margin: 0 auto; }
.vb-ticketdetail-wrap .vb-tk-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
