/* ==========================================================================
   CURALYS – verbandbuch.css (nur Unterseite /verbandbuch/)
   Ergänzt tokens.css und site.css, überschreibt dort nichts Gemeinsames.
   1 Seitenfarben · 2 Hero und Bühne · 3 Ausgangslage · 4 Ablauf · 5 Video
   6 Anwendung · 7 Funktionen · 8 Vertraulichkeit · 9 FAQ · 10 Bewegung/ohne JS
   ========================================================================== */

/* ---------- 1 Seitenfarben ---------- */
:root {
  --lime-tint: #f3f6d2;   /* Rechtskasten; Fläche, kein Text */
  --lime-ink: #5c6b00;    /* Text/Symbol auf --lime-tint, 5,3:1 */
}
sup { font-size: 0.7em; line-height: 0; }

/* ---------- 2 Hero und Bühne ---------- */
.vb-hero { padding-top: calc(var(--header-h) + clamp(20px, 2.5vw, 32px)); }
.vb-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13.5px; color: var(--ink-3); }
.vb-crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--ink-3); }
.vb-crumbs a { color: var(--ink-2); text-decoration: none; }
.vb-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.vb-crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.vb-hero .hero__head { margin-top: clamp(32px, 5vw, 64px); }
/* Zwei Sätze, je eine Zeile ab ca. 1200 px; deshalb etwas kleiner als die Display-Größe der Startseite */
.vb-hero .hero__head .display { max-width: none; font-size: clamp(2.375rem, 1.5rem + 3.2vw, 4.5rem); text-wrap: balance; }
.vb-hero__line { display: block; color: var(--petrol); }
.vb-ic-play { fill: currentColor; stroke: none; }

.vb-stage { position: relative; max-width: 1180px; margin: clamp(48px, 6vw, 88px) auto 0; }
.vb-stage__in { position: relative; display: grid; gap: 28px; }
.vb-stage__col { display: grid; justify-items: center; align-content: start; gap: 14px; min-width: 0; }
.vb-stage__step { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.vb-stage__step span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--petrol); color: #fff; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.vb-stage .stage__cap { margin-top: 28px; }

/* Aushang – schematisch, Muster-QR nicht scanbar */
.vb-poster {
  display: grid; justify-items: center; gap: 10px; width: 250px; padding: 18px 22px 20px;
  border-radius: var(--r-lg); border-top: 4px solid var(--lime); background: #fff; text-align: center;
  box-shadow: 0 0 0 1px var(--line-2), var(--sh-float); transform: rotate(-3deg);
}
.vb-poster__h { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.vb-poster__t { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.vb-poster .qr { width: 120px; height: 120px; margin-block: 4px; }
.vb-poster__ort { padding: 4px 12px; border-radius: var(--r-pill); background: var(--tint); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }

/* Handy – Originalaufnahme (2x) im Rahmen */
.vb-phone { width: 300px; max-width: 100%; padding: 10px; border-radius: 44px; background: #10181c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), var(--sh-hero); }
.vb-phone img { width: 100%; border-radius: 34px; }

/* Akte – Originalaufnahme */
.vb-akte { width: 400px; max-width: 100%; overflow: hidden; border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-float); }
.vb-akte img { width: 100%; }

@media (min-width: 1024px) {
  .vb-stage__in { grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(24px, 3.5vw, 56px); }
  .vb-stage__col--poster { justify-items: end; }
  .vb-stage__col--akte { justify-items: start; }
  .vb-stage__col--poster .vb-stage__step { margin-right: 46px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .vb-stage__in { grid-template-columns: 1fr auto; grid-template-areas: "poster phone" "akte phone"; align-items: center; gap: 32px; }
  .vb-stage__col--poster { grid-area: poster; align-self: end; }
  .vb-stage__col--phone { grid-area: phone; }
  .vb-stage__col--akte { grid-area: akte; align-self: start; }
  .vb-phone { width: 270px; }
}
/* Mobil: Handy im Mittelpunkt, Aushang klein davor, Akte erst im Abschnitt „In CURALYS“ */
@media (max-width: 639px) {
  .vb-stage { max-width: 360px; }
  .vb-stage__in { display: block; padding-bottom: 8px; }
  .vb-stage__col--phone { width: min(250px, 72%); margin-left: auto; justify-items: end; }
  .vb-phone { width: 100%; padding: 8px; border-radius: 34px; }
  .vb-phone img { border-radius: 26px; }
  .vb-stage__col--poster { position: absolute; z-index: 2; left: 0; bottom: 14%; width: 46%; }
  .vb-stage__col--poster .vb-stage__step, .vb-stage__col--akte, .vb-stage__step span { display: none; }
  .vb-poster { width: 100%; gap: 6px; padding: 12px 12px 14px; }
  .vb-poster__h { font-size: 16px; }
  .vb-poster__t { display: none; }
  .vb-poster .qr { width: 72px; height: 72px; }
  .vb-poster__ort { padding: 3px 8px; font-size: 11.5px; }
  .vb-stage .stage__cap { margin-top: 20px; text-align: left; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .vb-facts { grid-template-columns: repeat(2, max-content); justify-content: center; gap: 14px 48px; }
}

/* ---------- 3 Ausgangslage ---------- */
.vb-paper { display: grid; gap: 24px var(--gap); margin-bottom: clamp(48px, 5vw, 72px); }
@media (min-width: 640px) { .vb-paper { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .vb-paper { grid-template-columns: repeat(4, 1fr); } }
.vb-paper li { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-3); }
.vb-paper .ic { width: 22px; height: 22px; color: var(--petrol); }
.vb-paper p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

.vb-roles { display: grid; gap: 20px; }
@media (min-width: 960px) { .vb-roles { grid-template-columns: repeat(3, 1fr); } }
.vb-role { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 32px); border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.vb-role__who { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--petrol); }
.vb-role__who .ic { width: 18px; height: 18px; }
.vb-role__t { font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); font-weight: 600; letter-spacing: -0.018em; line-height: 1.2; }
.vb-role p:last-child { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

.vb-law { margin-top: clamp(40px, 4.5vw, 64px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--lime-tint); box-shadow: inset 4px 0 0 var(--lime); }
.vb-law__h { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.vb-law__h .ic { color: var(--lime-ink); }
.vb-law__list { display: grid; gap: 12px 40px; margin-top: 18px; }
@media (min-width: 768px) { .vb-law__list { grid-template-columns: 1fr 1fr; } }
.vb-law__list li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.vb-law__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-ink); }
.vb-law__src { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(92, 107, 0, 0.2); font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

/* ---------- 4 Ablauf ---------- */
/* Unter 1024 px zeigt jeder Schritt, wer ihn ausführt; darüber übernehmen das die beiden Bahnen. */
.vb-flow__lane { display: none; }
.step .vb-who { display: inline-flex; margin-top: 16px; padding: 4px 10px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.5; }
.step .vb-who--a { background: rgba(199, 212, 1, 0.14); color: var(--lime); }
.step .vb-who--b { background: rgba(255, 255, 255, 0.1); color: #fff; }
@media (min-width: 1024px) {
  .vb-flow { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .vb-flow .vb-steps { grid-column: 1 / -1; }
  .vb-flow__lane { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: #fff; }
  .vb-flow__lane .ic { width: 18px; height: 18px; }
  .vb-flow__lane--a { border-bottom: 2px solid var(--lime); }
  .vb-flow__lane--a .ic { color: var(--lime); }
  .vb-flow__lane--b { border-bottom: 2px solid rgba(255, 255, 255, 0.4); }
  .vb-steps .step { border-top: 0; }
  .step .vb-who { display: none; }
}
.vb-steps .step__t { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); }
.vb-steps .step p { font-size: 16px; }

.vb-mail { display: grid; gap: 24px; margin-top: clamp(40px, 4.5vw, 64px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
@media (min-width: 960px) { .vb-mail { grid-template-columns: 7fr 5fr; align-items: center; gap: clamp(32px, 4vw, 64px); } }
.vb-mail__text { display: grid; gap: 12px; }
.vb-mail__h { display: flex; align-items: center; gap: 10px; font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); font-weight: 600; letter-spacing: -0.012em; color: #fff; }
.vb-mail__h .ic { color: var(--lime); }
.vb-mail__text p { max-width: 38em; font-size: 16px; line-height: 1.6; color: var(--on-night-2); }
.vb-mail__schema { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.vb-mail__tag { font-size: var(--fs-tag); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-night-2); }
.vb-mail__in { display: flex; flex-wrap: wrap; gap: 8px; }
.vb-mail__in li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); font-size: 14px; font-weight: 500; color: #fff; }
.vb-mail__in li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.vb-mail__out { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, 0.18); font-size: 14px; }
.vb-mail__out s { color: rgba(255, 255, 255, 0.62); text-decoration-color: rgba(255, 255, 255, 0.62); }
.vb-mail__out span { display: inline-flex; align-items: center; gap: 6px; color: var(--on-night-2); }
.vb-mail__out .ic { width: 16px; height: 16px; color: var(--lime); }

.vb-fn { margin-top: 24px; font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.vb-fn--night { color: var(--on-night-2); }

/* ---------- 5 Video ---------- */
.vb-video { display: grid; gap: 24px; }
@media (min-width: 1024px) { .vb-video { grid-template-columns: minmax(0, 8fr) minmax(0, 3.3fr); align-items: start; gap: 28px; } }
.vb-video__frame { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--night); box-shadow: var(--sh-frame); }
.vb-video__frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--night); }
.vb-video__play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 0; border: 0; border-radius: inherit; color: #fff;
  background: linear-gradient(to bottom, rgba(15, 42, 51, 0.05), rgba(15, 42, 51, 0.5));
}
.vb-video__btn { display: flex; align-items: center; justify-content: center; width: clamp(60px, 7vw, 84px); height: clamp(60px, 7vw, 84px); border-radius: 50%; background: var(--lime); color: var(--night); box-shadow: 0 0 0 10px rgba(199, 212, 1, 0.24), 0 16px 32px -12px rgba(0, 0, 0, 0.5); transition: transform .3s var(--ease); }
.vb-video__btn .ic { width: 42%; height: 42%; margin-left: 6%; fill: currentColor; stroke: none; }
.vb-video__label { padding: 6px 14px; border-radius: var(--r-pill); background: rgba(15, 42, 51, 0.82); font-size: 15px; font-weight: 600; }
.vb-video__dur { margin-left: 6px; font-weight: 500; color: var(--on-night-2); font-variant-numeric: tabular-nums; }
.vb-video__play:hover .vb-video__btn { transform: scale(1.06); }
.vb-video__play:focus-visible { outline: 3px solid var(--lime); outline-offset: -6px; }
@media (max-width: 479px) { .vb-video__label { display: none; } }
.vb-video__cap { margin-top: 14px; font-size: var(--fs-caption); line-height: 1.6; color: var(--ink-3); }

.vb-chapters { padding: 18px 10px 10px; border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.vb-chapters__h { padding: 0 10px 10px; font-size: var(--fs-tag); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.vb-chapters ol { display: grid; gap: 2px; }
@media (min-width: 560px) and (max-width: 1023px) { .vb-chapters ol { grid-template-columns: 1fr 1fr; column-gap: 8px; } }
.vb-chapters button {
  display: flex; align-items: baseline; gap: 12px; width: 100%; min-height: 40px; padding: 8px 10px;
  border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink-2);
  font-size: 14.5px; line-height: 1.35; text-align: left; transition: background-color .2s, color .2s;
}
.vb-chapters button:hover { background: var(--tint); color: var(--ink); }
.vb-chapters button[aria-current="true"] { background: var(--petrol-soft); color: var(--ink); font-weight: 600; }
.vb-chapters__t { flex: none; min-width: 2.6em; font-size: 13.5px; font-weight: 600; color: var(--petrol); font-variant-numeric: tabular-nums; }

.vb-video__more { display: grid; gap: 20px; margin-top: 28px; }
.vb-status { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--tint); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.vb-status .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--petrol); }
.vb-status strong { color: var(--ink); }
.vb-transcript summary { font-weight: 600; }
.vb-transcript__body { display: grid; gap: 6px; max-width: 46em; padding-bottom: 28px; }
.vb-transcript__body h3 { margin-top: 14px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--petrol); font-variant-numeric: tabular-nums; }
.vb-transcript__body h3:first-child { margin-top: 0; }
.acc .vb-transcript__body p { padding: 0; font-size: 16px; }

/* ---------- 6 Anwendung ---------- */
.vb-row { display: grid; gap: 28px; }
.vb-row + .vb-row { margin-top: clamp(56px, 6vw, 96px); }
@media (min-width: 960px) {
  .vb-row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
  .vb-row:nth-of-type(2n) { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .vb-row:nth-of-type(2n) .vb-row__text { order: 2; }
}
.vb-row__text { display: grid; gap: 16px; align-content: center; justify-items: start; }
.vb-row__k { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--petrol); }
.vb-row__media { min-width: 0; }

.vb-band { display: grid; gap: 32px; margin-top: clamp(56px, 6vw, 96px); padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
@media (min-width: 960px) { .vb-band { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(32px, 5vw, 72px); } }
.vb-band__text { display: grid; gap: 18px; justify-items: start; }
.vb-band__steps { display: grid; gap: 14px; counter-reset: n; }
.vb-band__steps li { counter-increment: n; position: relative; padding-left: 40px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.vb-band__steps li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--petrol-soft); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--petrol); }
.vb-band__steps strong { color: var(--ink); }
.vb-band__text .btn { margin-top: 6px; }
.vb-band__media { min-width: 0; }

/* ---------- 7 Funktionen ---------- */
.vb-feats { display: grid; gap: var(--gap); }
@media (min-width: 640px) { .vb-feats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .vb-feats { grid-template-columns: repeat(3, 1fr); } }
.vb-feats li { display: grid; gap: 8px; align-content: start; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.vb-feats .ic { width: 40px; height: 40px; padding: 9px; margin-bottom: 6px; border-radius: var(--r-md); background: var(--petrol-soft); color: var(--petrol); }
.vb-feats h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
.vb-feats p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.vb-feats .vb-feats__note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 4px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- 8 Vertraulichkeit ---------- */
.vb-secure { display: grid; gap: 28px var(--gap); }
@media (min-width: 640px) { .vb-secure { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .vb-secure { grid-template-columns: repeat(3, 1fr); } }
.vb-secure li { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-3); }
.vb-secure .ic { width: 24px; height: 24px; margin-bottom: 4px; color: var(--petrol); }
.vb-secure h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.vb-secure p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.vb-proof { margin-top: clamp(40px, 4.5vw, 64px); }
/* Der Ausschnitt ist ein schmales Band; verkleinert wäre er unlesbar. Der Inhalt steht oben im Text. */
@media (max-width: 1023px) { .vb-proof { display: none; } }
.vb-aside { display: flex; align-items: flex-start; gap: 10px; margin-top: 32px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.vb-aside .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--petrol); }

/* ---------- 9 FAQ ---------- */
.vb-faq__src { margin-top: 24px; font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }

/* ---------- 10 Vorführung ---------- */
.vb-buchen { display: grid; gap: 14px; justify-items: start; width: 100%; padding: 20px 22px; border-radius: var(--r-lg); background: var(--lime-tint); box-shadow: inset 4px 0 0 var(--lime); }
.vb-buchen p { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.vb-buchen strong { color: var(--ink); }
/* Mit dem Buchungskasten ist die linke Spalte höher; auf niedrigen Bildschirmen würde sie beim Haften unten abgeschnitten. */
@media (min-width: 1024px) and (max-height: 919px) { .demo__intro { position: static; } }

/* ---------- 11 Bewegung und ohne JavaScript ---------- */
.js .hero .vb-stage[data-reveal] { transition-delay: .26s; transform: translateY(24px); }
.js .hero .vb-stage[data-reveal].is-in { transform: none; }
.no-js .vb-chapters button { pointer-events: none; }
@media (max-width: 959px) { .no-js .vb-hero { padding-top: 20px; } }
@media print {
  .vb-video__play, .vb-chapters { display: none; }
  .vb-mail { background: #fff; }
}
.vb-stage__in > *, .vb-video > *, .vb-row > *, .vb-band > *, .vb-mail > * { min-width: 0; }
