/* Seitenspezifische Stile fuer /funktionen/terminbuchung/ -- nur diese Seite. */

/* --- Echte Aufnahmen in Handy- bzw. Kartenbreite ------------------------- */
.tb-phone-shot { max-width: 360px; margin: 0 auto; }
.tb-real .tb-phone-shot { max-width: 300px; }
.tb-phone-fig figcaption { text-align: center; }
.tb-confirm-shot { max-width: 460px; margin: 0 auto; }

/* --- Nachbau "Wer zuerst bucht": zwei Buchungsseiten nebeneinander ------- */
.tb-duel { display: grid; grid-template-columns: 1fr; gap: 18px; }
.tb-duel__col { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.tb-duel__label { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-strong); }
.tb-step {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 22px; height: 22px; border-radius: 9999px;
  background: var(--accent-fill); border: 1px solid var(--accent-border); color: var(--accent);
  font-size: 12px; font-weight: 600;
}
.tb-ok { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--text-heading); }
.tb-ok svg { color: #059669; }
.tb-note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text); }
.tb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tb-alert {
  display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 8px;
  background: #fef2f2; border: 1px solid #fecaca; font-size: 13px; line-height: 1.5; color: #991b1b;
}
.tb-alert b { font-weight: 600; }
.tb-day { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--text-heading); }
.tb-times { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.tb-time {
  display: flex; align-items: center; justify-content: center; min-height: 38px;
  border: 1px solid var(--border); border-radius: 9999px; background: #fff;
  font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--text-strong);
}

/* --- Ablauf-Diagramm: breit als SVG, schmal als Liste -------------------- */
.tb-flow__wide { display: none; }
.tb-flow__narrow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: tbflow; }
.tb-flow__narrow li {
  counter-increment: tbflow; position: relative; display: flex; flex-direction: column; gap: 3px;
  padding: 12px 14px 12px 50px; background: #fff; border: 1px solid var(--accent-border-s1); border-radius: 10px;
  font-size: 14px; line-height: 1.5; color: var(--text);
}
.tb-flow__narrow li::before {
  content: counter(tbflow); position: absolute; left: 14px; top: 13px;
  width: 24px; height: 24px; border-radius: 9999px; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.tb-flow__narrow b { font-size: 15px; font-weight: 600; color: var(--text-heading); }
.tb-flow__who { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

/* --- Abstaende ------------------------------------------------------------ */
.art-section > .prose + .compare, .compare + .prose { margin-top: 26px; }
#technik .compare + .prose h3 { margin-top: 0; }
.art-section > .duo { margin-top: clamp(32px, 5vw, 56px); }
.prose.tb-gap { margin-top: clamp(40px, 6vw, 64px); }
.prose.tb-gap-s { margin-top: 22px; }

@media (min-width: 720px) {
  .tb-duel { grid-template-columns: 1fr 1fr; gap: 22px; }
  .tb-flow__wide { display: block; }
  .tb-flow__narrow { display: none; }
}
@media (min-width: 1024px) {
  .tb-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .duo.tb-real { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: start; }
}
