/* =========================================================================
   AirLST · Conversion-Strecken (Termin, Kontakt, Newsletter)
   Ein Satz Muster fuer alle Kontaktpunkte. Felder, Buttons und Hinweise
   kommen aus dem Design System (ds-field, ds-input, btn, ds-alert); hier
   steht nur das Layout der Strecken und der Slot-Picker.
   ========================================================================= */

/* ---------------------------------------------------------- Seitenrahmen */
.cv-hero { padding: clamp(48px, 7vw, 88px) 0 var(--ds-space-8); }
.cv-hero .section-label { margin-bottom: var(--ds-space-3); }
.cv-hero h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.02em; line-height: 1.08; margin: 0 0 var(--ds-space-4); max-width: 18ch; }
.cv-hero .hero-sub { max-width: 60ch; margin: 0; color: var(--ds-text-secondary); }
.cv-proof { display: flex; flex-wrap: wrap; gap: var(--ds-space-2) var(--ds-space-6); list-style: none; padding: 0; margin: var(--ds-space-6) 0 0; color: var(--ds-text-secondary); font-size: var(--ds-font-size-sm); }
.cv-proof li { display: inline-flex; align-items: center; gap: var(--ds-space-2); }
.cv-proof svg { color: var(--ds-text-success); flex: none; }
/* Terminseite: Kasten „Ihr Ansprechpartner“ neben der Überschrift (render_booking_host, components.php) */
.cv-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--ds-space-8); align-items: center; }
.cv-host { padding: 20px 22px; border: 1px solid var(--ds-border-default); border-radius: var(--ds-radius-xl); background: var(--ds-surface-default); box-shadow: var(--ds-shadow-card); }
.cv-host-kicker { display: block; font: 700 11px/1.4 var(--font-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--ds-text-brand); }
.cv-host-row { display: flex; align-items: center; gap: var(--ds-space-4); margin-top: var(--ds-space-3); }
.cv-host-photo { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.cv-host-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cv-host-id b { font-size: 17px; color: var(--ds-text-primary); }
.cv-host-id span, .cv-host-id a { font-size: 14px; color: var(--ds-text-secondary); }
.cv-host-id a { color: var(--ds-text-brand); overflow-wrap: anywhere; }
@media (min-width: 981px) { .cv-host { min-width: 300px; } }
@media (max-width: 980px) { .cv-hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--ds-space-6); } }
.cv-body { padding-bottom: clamp(56px, 8vw, 104px); }

/* Kontextzeile: "Sie kommen von der Preisliste, Plan Professional" */

/* ----------------------------------------------------- Karte und Raster */
.bkx { background: var(--ds-surface-default); border: 1px solid var(--ds-border-card); border-radius: var(--ds-radius-card); box-shadow: var(--ds-shadow-card); padding: clamp(20px, 3.4vw, 40px); }
.bkx-h { font-family: var(--font-display); font-size: var(--ds-font-size-lg); font-weight: var(--ds-font-weight-bold); letter-spacing: -.01em; margin: 0 0 var(--ds-space-1); }
.bkx-sub { margin: 0 0 var(--ds-space-5); color: var(--ds-text-secondary); font-size: var(--ds-font-size-sm); }
.bkx-alert { margin-bottom: var(--ds-space-6); }
.bkx-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------- Schritte (Termin, Kontakt, Fertig) */
.bkc { padding: clamp(24px, 4vw, 56px); }
.bkc-steps { display: flex; justify-content: center; align-items: center; gap: var(--ds-space-4); list-style: none; padding: 0; margin: 0 0 clamp(28px, 4vw, 48px); counter-reset: none; }
.bkc-steps li { display: flex; align-items: center; gap: var(--ds-space-4); font-family: var(--font-micro); font-size: var(--ds-font-size-xs); font-weight: var(--ds-font-weight-medium); letter-spacing: .14em; text-transform: uppercase; color: var(--ds-text-secondary); }
.bkc-steps li + li::before { content: ""; width: clamp(20px, 4vw, 48px); height: 1px; background: var(--ds-border-strong); }
.bkc-steps li.is-on { color: var(--ds-text-brand); font-weight: var(--ds-font-weight-bold); }
.bkc-steps li.is-done { color: var(--ds-text-primary); }

/* Ohne JavaScript stehen beide Schritte untereinander; mit JavaScript nur der aktive */
.bkc.is-js[data-bkc-step="1"] [data-bkc-panel="2"],
.bkc.is-js[data-bkc-step="2"] [data-bkc-panel="1"] { display: none; }
.bkc:not(.is-js) [data-bkc-panel="2"] { margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--ds-border-subtle); }
.bkc:not(.is-js) [data-bkc-back] { display: none; }

/* -------------------------------------------------------- Monatskalender */
.bkc-pick { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) { .bkc-pick { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.bkc-cal { min-width: 0; }
.bkc-month[hidden] { display: none; }
.bkc-head { display: flex; align-items: center; justify-content: space-between; gap: var(--ds-space-4); margin-bottom: var(--ds-space-6); }
.bkc-title { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: var(--ds-font-weight-medium); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.bkc-nav { display: flex; gap: var(--ds-space-3); }
.bkc-arrow { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ds-border-strong); color: var(--ds-text-primary); text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.bkc-arrow:hover { border-color: var(--ds-border-brand); color: var(--ds-text-brand); }
.bkc-arrow:focus-visible { outline: 2px solid var(--ds-border-focus); outline-offset: 2px; }
.bkc-arrow.is-off { border-color: var(--ds-border-subtle); color: var(--ds-border-strong); }

.bkc-grid { display: grid; gap: var(--ds-space-2); }
.bkc-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--ds-space-2); }
.bkc-wd span { text-align: center; font-family: var(--font-micro); font-size: var(--ds-font-size-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ds-text-secondary); padding-bottom: var(--ds-space-3); }
.bkc-cell { display: grid; place-items: center; min-width: 0; }
.bkc-day { display: grid; place-items: center; width: 100%; max-width: 64px; aspect-ratio: 1; border-radius: 50%; font-size: var(--ds-font-size-md); font-variant-numeric: tabular-nums; color: var(--ds-text-secondary); text-decoration: none; }
span.bkc-day { color: var(--ds-text-secondary); }
.bkc-day.is-free { background: var(--ds-surface-brand); color: var(--ds-text-primary); font-weight: var(--ds-font-weight-medium); transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.bkc-day.is-free:hover { box-shadow: inset 0 0 0 1.5px var(--ds-border-brand); }
.bkc-day.is-free:focus-visible { outline: 2px solid var(--ds-border-focus); outline-offset: 2px; }
.bkc-day.is-sel { background: var(--ds-surface-brand-strong); color: var(--ds-text-inverse); }
.bkc-day.is-today { box-shadow: inset 0 0 0 1px var(--ds-border-strong); }

/* -------------------------------------------------------------- Uhrzeiten */
.bkc-times { min-width: 0; }
.bkc-times .bkc-title { margin-bottom: var(--ds-space-4); }
.bkc-hint p { margin: 0 0 var(--ds-space-4); color: var(--ds-text-secondary); font-size: var(--ds-font-size-md); line-height: 1.6; }
.bkc-sub { color: var(--ds-text-secondary); font-size: var(--ds-font-size-sm) !important; }
.bkc-slots { border: 0; padding: 0; margin: 0; min-width: 0; }
.bkc-slots[hidden] { display: none; }
.bkc-legend { padding: 0; margin: 0 0 var(--ds-space-4); color: var(--ds-text-secondary); }
.bkc-slotlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ds-space-2); }
.bkx-time { position: relative; display: block; cursor: pointer; }
.bkx-time input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bkx-time span { display: block; padding: 13px 0; text-align: center; border: 1px solid var(--ds-border-default); border-radius: var(--ds-radius-pill); font-variant-numeric: tabular-nums; font-weight: var(--ds-font-weight-medium); transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.bkx-time:hover span { border-color: var(--ds-border-brand); color: var(--ds-text-brand); }
.bkx-time input:focus-visible + span { outline: 2px solid var(--ds-border-focus); outline-offset: 2px; }
.bkx-time input:checked + span { background: var(--ds-surface-brand-strong); border-color: var(--ds-surface-brand-strong); color: var(--ds-text-inverse); }

/* ---------------------------------------------------------- Schritt Kontakt */
.bkc-contact { max-width: 760px; margin: 0 auto; }
.bkc-summary { display: grid; grid-template-columns: auto 1fr auto; gap: var(--ds-space-4); align-items: center; padding: var(--ds-space-4) var(--ds-space-5); border-radius: var(--ds-radius-lg); background: var(--ds-surface-brand); margin-bottom: var(--ds-space-6); }
.bkc-summary-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ds-surface-default); color: var(--ds-text-brand); }
.bkc-summary b { display: block; font-weight: var(--ds-font-weight-semibold); color: var(--ds-text-primary); }
.bkc-summary span { color: var(--ds-text-primary); font-size: var(--ds-font-size-sm); }
.bkc-fields { display: grid; gap: var(--ds-space-4); }
@media (min-width: 640px) { .bkc-fields { grid-template-columns: 1fr 1fr; } .bkc-wide { grid-column: 1 / -1; } }
/* Themenauswahl, Phase und weitere Gaeste im Kontaktschritt */
.bkc-choice { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: var(--ds-space-3); }
.bkc-choice legend { padding: 0; margin-bottom: var(--ds-space-2); }
.bkc-other { display: flex; align-items: center; gap: 9px; min-width: 0; }
.bkc-other .ds-input { flex: 1; min-width: 0; }
.bkc-guests { display: grid; gap: var(--ds-space-3); }
.bkc-guests > summary { justify-self: start; list-style: none; cursor: pointer; }
.bkc-guests > summary::-webkit-details-marker { display: none; }
.bkc-guests[open] > summary { margin-bottom: var(--ds-space-1); }
.bkc-guests .ds-field__hint { margin: 0; }
.bkc-actions { display: grid; gap: var(--ds-space-3); margin-top: var(--ds-space-6); }
.bkc-actions .btn { justify-self: start; }
.bkc-done { max-width: 640px; margin: 0 auto; text-align: center; }
.bkc-done .bkx-next { justify-items: center; }
.bkc-done h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); letter-spacing: -.015em; margin: 0 0 var(--ds-space-3); }
.bkc-done p { color: var(--ds-text-secondary); margin: 0 0 var(--ds-space-4); }
@media (max-width: 520px) {
  .bkc-summary { grid-template-columns: auto 1fr; }
  .bkc-summary .btn { grid-column: 1 / -1; justify-self: start; }
  .bkc-arrow { width: 40px; height: 40px; }
  .bkc-row { gap: 4px; }
}

.bkx-note, .cv-note { margin: 0; font-size: var(--ds-font-size-xs); line-height: 1.6; color: var(--ds-text-secondary); }
.bkx-note a, .cv-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Ladezustand beim Absenden (conv.js setzt .is-busy) */
.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-color: var(--ds-text-inverse) var(--ds-text-inverse) transparent transparent; animation: cv-spin .7s linear infinite; }
.btn-outline.is-busy::after { border-color: var(--ds-text-brand) var(--ds-text-brand) transparent transparent; }
@keyframes cv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-busy::after { animation-duration: 2s; } }

/* --------------------------------------------- Bestaetigung und Hinweise */
.bkx--msg { max-width: 640px; }
.bkx--msg h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); letter-spacing: -.015em; margin: 0 0 var(--ds-space-3); }
.bkx--msg p { color: var(--ds-text-secondary); margin: 0 0 var(--ds-space-4); }
.bkx--msg p:last-child { margin-bottom: 0; }
.bkx-check { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ds-color-green-100); color: var(--ds-text-success); margin-bottom: var(--ds-space-4); }
.bkx-when { font-size: var(--ds-font-size-lg); font-weight: var(--ds-font-weight-semibold); color: var(--ds-text-primary) !important; }
.bkx-next { list-style: none; padding: 0; margin: 0 0 var(--ds-space-5); display: grid; gap: var(--ds-space-2); color: var(--ds-text-secondary); }
.bkx-next li { display: flex; gap: var(--ds-space-2); align-items: baseline; }
.bkx-next svg { color: var(--ds-text-success); flex: none; }
.bkx-foot { font-size: var(--ds-font-size-sm); }
.bkx-actions { display: flex; flex-wrap: wrap; gap: var(--ds-space-3); }

/* ---------------------------------------------------- Kontaktformular */
.cv-split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .cv-split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.cv-form { display: flex; flex-direction: column; gap: var(--ds-space-4); }
.cv-row { display: grid; gap: var(--ds-space-4); }
@media (min-width: 640px) { .cv-row { grid-template-columns: 1fr 1fr; } }
.cv-form .btn { align-self: flex-start; }
.cv-side { display: grid; gap: var(--ds-space-3); }
.cv-way { display: grid; grid-template-columns: auto 1fr; gap: var(--ds-space-1) var(--ds-space-4); align-items: start; padding: var(--ds-space-5); border: 1px solid var(--ds-border-card); border-radius: var(--ds-radius-lg); background: var(--ds-surface-default); color: var(--ds-text-primary); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
a.cv-way:hover { border-color: var(--ds-border-brand); box-shadow: var(--ds-shadow-sm); }
.cv-way:focus-visible { outline: 2px solid var(--ds-border-focus); outline-offset: 2px; }
.cv-way-ic { grid-row: span 2; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--ds-radius-md); background: var(--ds-surface-brand); color: var(--ds-text-brand); }
.cv-way b { font-weight: var(--ds-font-weight-semibold); }
.cv-way span { color: var(--ds-text-secondary); font-size: var(--ds-font-size-sm); line-height: 1.5; }
.cv-way--primary { border-color: var(--ds-border-brand); background: var(--ds-surface-brand); }
.cv-address { margin-top: var(--ds-space-3); color: var(--ds-text-secondary); font-size: var(--ds-font-size-sm); line-height: 1.6; font-style: normal; }

/* -------------------------------------------------------------- Newsletter */
.nl-form { display: grid; gap: var(--ds-space-3); }
.nl-row { display: flex; gap: var(--ds-space-2); flex-wrap: wrap; }
.nl-row .ds-input { flex: 1 1 220px; min-width: 0; }
.nl-row .btn { flex: 0 0 auto; }
.bkx--narrow { max-width: 640px; }
/* Auf getoenter Markenflaeche reicht Sekundaergrau nicht fuer 4,5:1 */
.cv-way--primary span { color: var(--ds-text-primary); }

/* Illustrative Icons ohne Hintergrundkachel (Martin, 08.10.2026) */
.cv-way-ic { width: 44px; height: 44px; background: none; border-radius: 0; }
.cv-way-ic .illuicon { width: 44px; height: 44px; }

/* ---------- Eigenes Auswahlfeld (assets/js/ds-select.js, Martin 08.10.2026) ----------
   Knopf im Look von .ds-select, Liste als schwebendes Panel; das native <select> liegt
   unsichtbar darunter, damit Formular und Pflichtfeld-Meldung weiter funktionieren. */
.ds-cs { position: relative; margin-top: 6px; }
.ds-field .ds-cs .ds-cs-btn { margin-top: 0; }
.ds-cs-btn { display: flex; align-items: center; width: 100%; text-align: left; cursor: pointer; }
.ds-cs-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-cs-btn.is-placeholder .ds-cs-val { color: var(--ds-text-muted); }
.ds-cs.is-open .ds-cs-btn { border-color: var(--ds-input-border-focus); box-shadow: 0 0 0 3px var(--ds-input-focus-ring); }
.ds-cs .ds-cs-btn:focus-visible { outline: none; border-radius: var(--ds-input-radius); border-color: var(--ds-input-border-focus); box-shadow: 0 0 0 3px var(--ds-input-focus-ring); }
.ds-cs-native { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ds-cs-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 300px; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 6px; list-style: none; background: var(--ds-surface-default, #fff); border: 1px solid var(--ds-border-default, #E5E7EB); border-radius: 12px; box-shadow: 0 14px 36px rgba(28, 16, 51, .14), 0 2px 6px rgba(28, 16, 51, .06); outline: none; scrollbar-width: thin; transform-origin: top center; animation: ds-cs-in .14s ease-out; }
.ds-cs-list:focus, .ds-cs-list:focus-visible { outline: none; }
.ds-cs.is-up .ds-cs-list { top: auto; bottom: calc(100% + 6px); transform-origin: bottom center; }
@keyframes ds-cs-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.ds-cs.is-up .ds-cs-list { animation-name: ds-cs-in-up; }
@keyframes ds-cs-in-up { from { opacity: 0; transform: translateY(4px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .ds-cs-list { animation: none; } }
.ds-cs-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 15px; line-height: 1.35; color: var(--ds-text-primary); cursor: pointer; user-select: none; }
.ds-cs-opt svg { flex: none; color: var(--violet, #7531AE); opacity: 0; }
.ds-cs-opt.is-placeholder { color: var(--ds-text-muted); }
.ds-cs-opt.is-active { background: var(--ds-color-violet-50, #F7F2FD); }
.ds-cs-opt[aria-selected="true"] { font-weight: 600; color: var(--ds-text-brand, #7531AE); }
.ds-cs-opt[aria-selected="true"] svg { opacity: 1; }
.ds-cs-opt.is-placeholder[aria-selected="true"] { font-weight: 400; color: var(--ds-text-muted); }
.ds-cs-opt.is-placeholder[aria-selected="true"] svg { opacity: 0; }
.ds-cs-opt[aria-disabled="true"] { opacity: .45; cursor: default; }
[data-theme="dark"] .ds-cs-list { box-shadow: 0 14px 36px rgba(0, 0, 0, .5); }
[data-theme="dark"] .ds-cs-opt.is-active { background: rgba(117, 49, 174, .22); }
