/* BagCab Buchung – Formular. Alles unter .bcb gekapselt, damit Theme und Elementor nicht hineinregieren. */
.bcb {
  --bcb-ink: #0b1a3a;
  --bcb-muted: #56607a;
  --bcb-line: #d6dbe6;
  --bcb-soft: #f4f6fa;
  --bcb-accent: #d14300;
  --bcb-accent-dark: #b03800;
  --bcb-accent-soft: #fff1ea;
  --bcb-error: #b42318;
  --bcb-ok: #0a6b3d;
  --bcb-radius: 14px;
  box-sizing: border-box;
  max-width: 760px;
  margin: 0 auto;
  color: var(--bcb-ink);
  font-family: Montserrat, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}
.bcb *, .bcb *::before, .bcb *::after { box-sizing: border-box; }
.bcb [hidden] { display: none !important; }

.bcb .bcb-card {
  background: #fff;
  border: 1px solid var(--bcb-line);
  border-radius: 20px;
  box-shadow: 0 18px 50px -28px rgba(11, 26, 58, .45);
  overflow: hidden;
}

/* Kopf */
.bcb .bcb-head { padding: 28px 32px 8px; }
.bcb .bcb-eyebrow {
  margin: 0 0 6px;
  color: var(--bcb-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bcb .bcb-title {
  margin: 0 0 8px;
  color: var(--bcb-ink);
  font-family: inherit;
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.bcb .bcb-intro { margin: 0; color: var(--bcb-muted); font-size: 15px; max-width: 60ch; }

/* Schritte */
.bcb .bcb-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 20px 32px 0;
  padding: 0;
  list-style: none;
}
.bcb .bcb-step { margin: 0; padding: 0; min-width: 0; }
.bcb .bcb-step::before { content: none; }
.bcb .bcb-step-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 0 0;
  border: 0;
  border-top: 4px solid var(--bcb-line);
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--bcb-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.bcb .bcb-step-btn:hover, .bcb .bcb-step-btn:focus { background: none; color: var(--bcb-ink); }
.bcb .bcb-step-btn:disabled { cursor: default; opacity: 1; }
.bcb .bcb-step-no {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bcb-soft);
  color: var(--bcb-muted);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.bcb .bcb-step-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bcb .bcb-step.is-current .bcb-step-btn { border-top-color: var(--bcb-accent); color: var(--bcb-ink); }
.bcb .bcb-step.is-current .bcb-step-no { background: var(--bcb-accent); color: #fff; }
.bcb .bcb-step.is-done .bcb-step-btn { border-top-color: var(--bcb-ink); color: var(--bcb-ink); }
.bcb .bcb-step.is-done .bcb-step-no { background: var(--bcb-ink); color: #fff; }

/* Felder */
.bcb .bcb-form { margin: 0; padding: 24px 32px 28px; }
.bcb .bcb-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bcb .bcb-panel h3 {
  margin: 0 0 18px;
  color: var(--bcb-ink);
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  outline: none;
}
.bcb .bcb-field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.bcb .bcb-field > label, .bcb .bcb-field > legend {
  display: block;
  width: 100%;
  margin: 0 0 6px;
  padding: 0;
  color: var(--bcb-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.bcb input[type="text"], .bcb input[type="date"], .bcb input[type="number"], .bcb select, .bcb textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 14px;
  border: 1.5px solid var(--bcb-line);
  border-radius: 10px;
  background-color: #fff;
  box-shadow: none;
  color: var(--bcb-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.bcb textarea { min-height: 72px; resize: vertical; }
.bcb select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230b1a3a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.bcb select:disabled { background-color: var(--bcb-soft); color: var(--bcb-muted); cursor: not-allowed; opacity: 1; }
.bcb input::placeholder, .bcb textarea::placeholder { color: #8a93a8; opacity: 1; }
.bcb input:hover, .bcb select:hover:not(:disabled), .bcb textarea:hover { border-color: #aab2c5; }
.bcb input:focus, .bcb select:focus, .bcb textarea:focus {
  border-color: var(--bcb-ink);
  box-shadow: 0 0 0 3px rgba(11, 26, 58, .16);
  outline: none;
}
.bcb .bcb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bcb .bcb-hint, .bcb .bcb-note { margin: 6px 0 0; color: var(--bcb-muted); font-size: 13px; }
.bcb .bcb-note { margin: -8px 0 18px; }
.bcb .bcb-info {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bcb-soft);
  color: var(--bcb-ink);
  font-size: 14px;
}
.bcb .bcb-error { margin: 6px 0 0; color: var(--bcb-error); font-size: 14px; font-weight: 600; }
.bcb .bcb-error:empty { display: none; }
.bcb .has-error input, .bcb .has-error select, .bcb .has-error textarea, .bcb .has-error .bcb-chip span { border-color: var(--bcb-error); }

/* Auswahl-Kacheln */
.bcb .bcb-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bcb .bcb-choice--two .bcb-chips { grid-template-columns: repeat(2, 1fr); max-width: 360px; }
.bcb .bcb-chip { position: relative; display: block; margin: 0; cursor: pointer; }
.bcb .bcb-chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.bcb .bcb-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 12px;
  border: 1.5px solid var(--bcb-line);
  border-radius: 10px;
  background: #fff;
  color: var(--bcb-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.bcb .bcb-chip:hover span { border-color: #aab2c5; }
.bcb .bcb-chip input:checked + span { border-color: var(--bcb-accent); background: var(--bcb-accent-soft); box-shadow: inset 0 0 0 1px var(--bcb-accent); }
.bcb .bcb-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(11, 26, 58, .25); border-color: var(--bcb-ink); }

/* Zähler */
.bcb .bcb-counter { display: inline-grid; grid-template-columns: 48px 76px 48px; gap: 8px; align-items: center; }
.bcb .bcb-counter input { text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; padding: 11px 6px; }
.bcb .bcb-counter input::-webkit-outer-spin-button, .bcb .bcb-counter input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bcb .bcb-counter-btn {
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--bcb-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  color: var(--bcb-ink);
  font: inherit;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.bcb .bcb-counter-btn:hover, .bcb .bcb-counter-btn:focus { background: var(--bcb-soft); color: var(--bcb-ink); border-color: #aab2c5; }
.bcb .bcb-counter-btn:active { transform: scale(.96); }

/* Knöpfe */
.bcb .bcb-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.bcb .bcb-actions--end { justify-content: flex-end; }
.bcb .bcb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0;
  padding: 12px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .1s;
}
.bcb .bcb-btn:active { transform: scale(.98); }
.bcb .bcb-btn:focus-visible, .bcb .bcb-step-btn:focus-visible, .bcb .bcb-counter-btn:focus-visible, .bcb .bcb-link:focus-visible { outline: 3px solid rgba(11, 26, 58, .45); outline-offset: 2px; }
.bcb .bcb-btn--primary { background: var(--bcb-accent); border-color: var(--bcb-accent); color: #fff; }
.bcb .bcb-btn--primary:hover, .bcb .bcb-btn--primary:focus { background: var(--bcb-accent-dark); border-color: var(--bcb-accent-dark); color: #fff; }
.bcb .bcb-btn--primary:disabled { background: #c7ccd8; border-color: #c7ccd8; color: #fff; cursor: progress; }
.bcb .bcb-btn--ghost { background: #fff; border-color: var(--bcb-line); color: var(--bcb-ink); }
.bcb .bcb-btn--ghost:hover, .bcb .bcb-btn--ghost:focus { background: var(--bcb-soft); border-color: #aab2c5; color: var(--bcb-ink); }
.bcb .bcb-btn--pay { min-width: 190px; }
.bcb .bcb-link {
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--bcb-accent);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.bcb .bcb-link:hover, .bcb .bcb-link:focus { background: none; color: var(--bcb-accent-dark); }

/* Zusammenfassung */
.bcb .bcb-review { display: grid; gap: 12px; }
.bcb .bcb-review-block { margin: 0; padding: 16px 18px; border: 1px solid var(--bcb-line); border-radius: var(--bcb-radius); }
.bcb .bcb-review-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.bcb .bcb-review-block h4 { margin: 0; color: var(--bcb-ink); font-family: inherit; font-size: 16px; font-weight: 700; }
.bcb .bcb-review dl { display: grid; grid-template-columns: minmax(110px, 30%) 1fr; gap: 4px 16px; margin: 0; }
.bcb .bcb-review dt { margin: 0; color: var(--bcb-muted); font-size: 14px; font-weight: 500; }
.bcb .bcb-review dd { margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.bcb .bcb-price { background: var(--bcb-soft); border-color: transparent; }
.bcb .bcb-price h4 { margin-bottom: 8px; }
.bcb .bcb-price table { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: none; font-size: 15px; }
.bcb .bcb-price th, .bcb .bcb-price td { padding: 8px 0; border: 0; border-top: 1px solid var(--bcb-line); background: none; vertical-align: top; }
.bcb .bcb-price tr:first-child th, .bcb .bcb-price tr:first-child td { border-top: 0; }
.bcb .bcb-price th { font-weight: 600; text-align: left; }
.bcb .bcb-price th span { display: block; }
.bcb .bcb-price th small { display: block; color: var(--bcb-muted); font-size: 13px; font-weight: 500; }
.bcb .bcb-price td { padding-left: 16px; font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bcb .bcb-price-total th span, .bcb .bcb-price-total td { font-size: 19px; font-weight: 800; }
.bcb .bcb-message { margin: 14px 0 0; font-size: 15px; font-weight: 600; }
.bcb .bcb-message:empty { display: none; }
.bcb .bcb-message.is-error { color: var(--bcb-error); }
.bcb .bcb-message.is-ok { color: var(--bcb-ok); }

/* Preiszeile */
.bcb .bcb-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 32px;
  border-top: 1px solid var(--bcb-line);
  background: var(--bcb-ink);
  color: #fff;
}
.bcb .bcb-total-label { font-size: 14px; font-weight: 600; opacity: .85; }
.bcb .bcb-total-value { text-align: right; }
.bcb .bcb-total-value strong { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bcb .bcb-total-value small { font-size: 13px; opacity: .8; }
.bcb .bcb-noscript { margin: 12px 0 0; color: var(--bcb-error); font-weight: 600; }

@media (max-width: 600px) {
  .bcb .bcb-card { border-radius: 16px; }
  .bcb .bcb-head { padding: 22px 18px 6px; }
  .bcb .bcb-steps { margin: 16px 18px 0; gap: 6px; }
  .bcb .bcb-step-name { display: none; }
  .bcb .bcb-step.is-current .bcb-step-name { display: block; }
  .bcb .bcb-steps { grid-template-columns: auto auto auto auto; }
  .bcb .bcb-step.is-current { grid-column: span 1; }
  .bcb .bcb-form { padding: 20px 18px 22px; }
  .bcb .bcb-chips { grid-template-columns: repeat(2, 1fr); }
  .bcb .bcb-row { grid-template-columns: 1fr; gap: 0; }
  .bcb .bcb-actions { flex-direction: column-reverse; }
  .bcb .bcb-actions .bcb-btn { width: 100%; }
  .bcb .bcb-total { padding: 12px 18px; }
  .bcb .bcb-review dl { grid-template-columns: 1fr; gap: 0; }
  .bcb .bcb-review dd { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .bcb * { transition: none !important; }
}

.bcb .bcb-consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: 14px; line-height: 1.45; color: var(--bcb-muted); cursor: pointer; }
.bcb .bcb-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #D14300; }
