/* ==========================================================
   DLTB Booking Plugin – Frontend Styles
========================================================== */

.dltb-booking {
  --pd-blue-dark:   #29465b;
  --pd-blue-darker: #21394d;
  --pd-blue-soft:   #bceaf2;
  --pd-blue-pale:   #f4f8fa;
  --pd-blue-mid:    #6f9ca8;
  --pd-orange:      #ff9600;
  --pd-orange-dark: #e68600;
  --pd-green:       #1a7f4b;
  --pd-green-dark:  #145e38;
  --pd-white:       #ffffff;
  --pd-text:        #233f55;
  --pd-muted:       #5f7280;
  --pd-border:      rgba(41,70,91,0.16);
  --pd-border-strong: rgba(41,70,91,0.28);
  --pd-shadow:      0 8px 20px rgba(32,57,76,0.08);

  position: relative; width: 100%; margin: 24px 0;
  padding: clamp(20px,2.4vw,36px); overflow: hidden;
  color: var(--pd-text); background: var(--pd-blue-pale);
  border: 1px solid var(--pd-border); border-radius: 0;
  box-shadow: var(--pd-shadow); font-family: inherit;
}

.dltb-booking *, .dltb-booking *::before, .dltb-booking *::after { box-sizing: border-box; }

.dltb-grid {
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(320px,0.95fr);
  gap: clamp(20px,2.4vw,36px); align-items: start;
}
.dltb-map-wrap, .dltb-booking-flow { min-width: 0; }
.dltb-booking-flow { container-type: inline-size; }

/* ==========================================================
   Karten / Panels
========================================================== */
.dltb-map, .dltb-panel, .dltb-step, .dltb-decision {
  border: 1px solid var(--pd-border); border-radius: 0;
  background: var(--pd-white); box-shadow: 0 4px 14px rgba(32,57,76,0.07);
}

.dltb-map {
  position: relative; width: 100%; min-height: 340px; overflow: hidden;
  background: linear-gradient(90deg,rgba(102,143,155,.18) 0%,rgba(188,234,242,.38) 100%), var(--pd-blue-pale);
}
.dltb-map::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border: 6px solid rgba(255,255,255,.52);
}
.dltb-map-image { position: relative; z-index: 0; display: block; width: 100%; height: auto; }
.dltb-map-placeholder {
  position: relative; z-index: 2; display: grid; min-height: 340px; place-items: center;
  padding: 80px 24px; color: var(--pd-muted); font-size: 16px; font-weight: 700;
  line-height: 1.45; text-align: center;
}

.dltb-panel { position: relative; padding: clamp(15px,2.8vw,15px); overflow: hidden; }

.dltb-panel::before, .dltb-step::before, .dltb-decision::before {
  content: ""; display: block; width: 42px; height: 3px; margin: 0 0 12px; background: var(--pd-blue-dark);
}

.dltb-panel h3, .dltb-step h4, .dltb-decision h4 {
  margin: 0 0 10px; color: var(--pd-blue-dark);
  font-size: clamp(22px,2vw,34px); line-height: 1.08;
  font-weight: 900; text-transform: uppercase; letter-spacing: .025em;
}
.dltb-step h4, .dltb-decision h4 { font-size: clamp(20px,1.45vw,28px); }

.dltb-meta, .dltb-help, .dltb-panel p, .dltb-step p, .dltb-decision p {
  color: var(--pd-muted); font-size: 15px; line-height: 1.55;
}
.dltb-meta { margin: 0 0 16px; color: var(--pd-orange); font-weight: 900; text-transform: uppercase; letter-spacing: .035em; }
.dltb-help { margin: 14px 0 0; font-weight: 600; }

/* ==========================================================
   Marker
========================================================== */
.dltb-marker {
  position: absolute; z-index: 3; transform: translate(-50%,-50%);
  display: flex; align-items: center; justify-content: center;
  width: 26px !important; height: 26px !important;
  min-width: 26px; min-height: 26px; max-width: 26px; max-height: 26px;
  padding: 0 !important; margin: 0 !important;
  border: 2px solid #135e96; border-radius: 999px;
  color: #fff; background: rgba(19,94,150,.88);
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
  cursor: pointer; font-size: 12px; font-weight: 700; line-height: 1;
  box-sizing: border-box; white-space: nowrap;
  transition: box-shadow .12s ease, outline-color .12s ease, background-color .12s ease;
}
.dltb-marker:hover, .dltb-marker:focus-visible {
  z-index: 10; background: rgba(19,94,150,.96);
  outline: 3px solid rgba(19,94,150,.28); outline-offset: 1px;
  box-shadow: 0 3px 10px rgba(0,0,0,.22);
}
.dltb-marker.is-selected {
  z-index: 10; color: #fff; background: var(--pd-orange);
  border-color: var(--pd-orange-dark); outline: 3px solid rgba(255,150,0,.25); outline-offset: 1px;
  box-shadow: 0 3px 10px rgba(0,0,0,.22);
}

.dltb-marker-icon {
  position: relative; display: block; width: 10px; height: 7px;
  border: 2px solid currentColor; border-radius: 2px; box-sizing: border-box;
  pointer-events: none;
}
.dltb-marker-icon::before, .dltb-marker-icon::after {
  content: ""; position: absolute; top: 0; width: 2px; height: 4px;
  border-radius: 1px; background: currentColor;
}
.dltb-marker-icon::before { left: -5px; }
.dltb-marker-icon::after { right: -5px; }

/* ==========================================================
   Galerie
========================================================== */
.dltb-gallery { margin: 18px 0 20px; }
.dltb-gallery-main {
  display: block; width: 100%; max-height: 280px; object-fit: cover;
  background: var(--pd-blue-soft); border: 1px solid var(--pd-border); border-radius: 0;
}
.dltb-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.dltb-gallery-thumbs button {
  padding: 0; border: 2px solid transparent; border-radius: 0; background: transparent;
  cursor: pointer; transition: border-color .2s ease, transform .2s ease;
}
.dltb-gallery-thumbs button:hover, .dltb-gallery-thumbs button:focus-visible {
  border-color: var(--pd-blue-mid); outline: 0; transform: translateY(-1px);
}
.dltb-gallery-thumbs button.is-active { border-color: var(--pd-orange); }
.dltb-gallery-thumbs img { display: block; width: 62px; height: 62px; object-fit: cover; border-radius: 0; }

/* ==========================================================
   Stepper
========================================================== */
.dltb-stepper {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 6px; margin: 12px 0;
}
.dltb-stepper-item {
  display: flex; align-items: center; gap: 7px; min-height: 44px;
  padding: 8px 10px; color: var(--pd-muted); background: #fff;
  border: 1px solid var(--pd-border); border-radius: 0;
  font-size: 13px; font-weight: 900; letter-spacing: .025em; text-transform: uppercase;
}
.dltb-step-number {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center;
  width: 26px; height: 26px; color: #fff; background: var(--pd-blue-mid);
  border-radius: 0; font-size: 13px; font-weight: 900;
}
.dltb-stepper-item.is-current { color: var(--pd-blue-dark); border-color: var(--pd-blue-dark); background: #fff; }
.dltb-stepper-item.is-current .dltb-step-number { color: #fff; background: var(--pd-blue-dark); }
.dltb-stepper-item.is-complete { color: var(--pd-blue-dark); border-color: var(--pd-orange); background: rgba(255,150,0,.08); }
.dltb-stepper-item.is-complete .dltb-step-number { color: #fff; background: var(--pd-orange); }

/* Step boxes – mehr Padding */
.dltb-step { padding: clamp(18px,2vw,24px); margin-top: 8px; }
.dltb-decision { padding: clamp(18px,2vw,24px); }

.dltb-selected-date { margin: 0 0 10px; color: var(--pd-blue-dark); font-weight: 900; text-transform: uppercase; }

/* ==========================================================
   Formulare
========================================================== */
.dltb-label, .dltb-form label {
  display: block; margin: 8px 0; color: var(--pd-blue-dark);
  font-size: 14px; font-weight: 900; line-height: 1.2;
  text-transform: uppercase; letter-spacing: .025em;
}
.dltb-label input, .dltb-form input, .dltb-form textarea {
  display: block; width: 100%; min-height: 46px; box-sizing: border-box;
  margin-top: 6px; padding: 9px 11px; color: var(--pd-text); background: #fff;
  border: 1px solid var(--pd-border-strong); border-radius: 0; font: inherit;
  font-size: 15px; font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease;
}
.dltb-form textarea { min-height: 72px; resize: vertical; }
.dltb-label input:focus, .dltb-form input:focus, .dltb-form textarea:focus {
  border-color: var(--pd-orange); outline: 0; box-shadow: 0 0 0 3px rgba(255,150,0,.18);
}
.dltb-hp { position: absolute !important; left: -9999px !important; }

/* AGB */
.dltb-agb-wrap {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 12px 0 10px; padding: 11px 12px;
  background: var(--pd-blue-pale); border: 1px solid var(--pd-border);
}
.dltb-agb-wrap input[type="checkbox"] { flex: 0 0 auto; margin-top: 2px; width: 18px; height: 18px; cursor: pointer; }
.dltb-agb-wrap label {
  margin: 0; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0;
  color: var(--pd-text); cursor: pointer;
}
.dltb-agb-wrap label a { color: var(--pd-blue-dark); text-decoration: underline; }
.dltb-agb-wrap label a:hover { color: var(--pd-orange); }

/* ==========================================================
   Kalender (Monatsansicht)
========================================================== */
.dltb-calendar-wrap { margin: 20px 0 0; }
.dltb-cal-loading { color: var(--pd-muted); font-size: 14px; }

.dltb-cal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--pd-blue-dark); color: #fff; margin-bottom: 0;
}
.dltb-cal-title { font-size: 16px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.dltb-cal-nav {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 2px solid rgba(255,255,255,.4); border-radius: 0;
  background: transparent; color: #fff; cursor: pointer; font-size: 20px; font-weight: 900;
  transition: background-color .2s ease, border-color .2s ease;
}
.dltb-cal-nav:hover:not(:disabled) { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.8); }
.dltb-cal-nav:disabled, .dltb-cal-nav.is-disabled { opacity: .35; cursor: not-allowed; }

/* Kompakte Terminliste: pro Monat nur tatsächlich buchbare Tage. */
.dltb-calendar-wrap { margin: 12px 0 0; }
.dltb-available-days {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px;
  padding: 10px; border: 1px solid var(--pd-border); border-top: 0; background: #fff;
}
.dltb-available-day {
  width: 100%; min-width: 0; display: grid;
  grid-template-columns: minmax(0,1fr) auto 16px; align-items: center; gap: 8px;
  min-height: 58px; padding: 9px 10px;
  border: 1px solid rgba(26,127,75,.28); border-radius: 0;
  background: rgba(26,127,75,.055); color: var(--pd-text);
  font: inherit; text-align: left; cursor: pointer;
}
.dltb-available-day:hover, .dltb-available-day:focus-visible {
  background: rgba(26,127,75,.12); border-color: var(--pd-green); outline: 2px solid rgba(26,127,75,.16); outline-offset: 1px;
}
.dltb-available-day__date { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dltb-available-day__date strong { color: var(--pd-blue-dark); font-size: 13px; line-height: 1.2; }
.dltb-available-day__date span { color: var(--pd-muted); font-size: 12px; line-height: 1.2; }
.dltb-available-day__meta { white-space: nowrap; color: var(--pd-green); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.dltb-available-day__arrow { color: var(--pd-green); font-size: 20px; font-weight: 900; line-height: 1; text-align: right; }
.dltb-available-days__empty {
  grid-column: 1/-1; display: flex; flex-direction: column; gap: 3px;
  padding: 13px 14px; border: 1px dashed var(--pd-border-strong); background: var(--pd-blue-pale); color: var(--pd-muted);
}
.dltb-available-days__empty strong { color: var(--pd-blue-dark); }

/* Kompakter Kundendatenbereich. Name/E-Mail können nebeneinander stehen, lange Felder bleiben breit. */
.dltb-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 10px; }
.dltb-form label { margin: 0; min-width: 0; }
.dltb-field-half { grid-column: span 1; }
.dltb-field-wide, .dltb-form .dltb-agb-wrap, .dltb-form > .dltb-primary { grid-column: 1/-1; }
.dltb-form .dltb-primary { justify-self: start; margin-top: 2px; }

/* ==========================================================
   Slots
========================================================== */
.dltb-slots { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

.dltb-date, .dltb-slot, .dltb-primary, .dltb-secondary, .dltb-back-btn, .dltb-cancel-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px; border: 2px solid currentColor; border-radius: 0;
  cursor: pointer; font: inherit; font-size: 13px; font-weight: 900; line-height: 1;
  text-align: center; text-decoration: none; text-transform: uppercase; letter-spacing: .02em;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease, transform .2s ease;
}
.dltb-date::before, .dltb-slot::before, .dltb-primary::before, .dltb-secondary::before {
  content: "›"; margin-right: 9px; color: var(--pd-orange); font-size: 19px; font-weight: 900; line-height: 1;
}
.dltb-date, .dltb-slot { color: var(--pd-blue-dark); background: #fff; border-color: var(--pd-border-strong); }
.dltb-date:hover, .dltb-date:focus-visible, .dltb-slot:hover, .dltb-slot:focus-visible {
  color: #fff; background: var(--pd-blue-dark); border-color: var(--pd-blue-dark); outline: 0; transform: translateY(-1px);
}
.dltb-date:hover::before, .dltb-date:focus-visible::before,
.dltb-slot:hover::before, .dltb-slot:focus-visible::before,
.dltb-slot.is-selected::before, .dltb-primary::before { color: #fff; }

.dltb-slot.is-selected { color: #fff; background: var(--pd-orange); border-color: var(--pd-orange); box-shadow: 0 0 0 3px rgba(255,150,0,.22); }
.dltb-date:disabled, .dltb-date[disabled] {
  color: rgba(41,70,91,.35); background: rgba(255,255,255,.58); border-color: rgba(41,70,91,.12);
  cursor: not-allowed; opacity: 1; transform: none;
}
.dltb-date:disabled::before, .dltb-date[disabled]::before { color: rgba(41,70,91,.22); }

/* ==========================================================
   Buttons
========================================================== */
.dltb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.dltb-primary, .dltb-secondary { min-height: 46px; }

.dltb-primary {
  color: #fff; background: var(--pd-orange); border-color: var(--pd-white);
}
.dltb-primary:hover, .dltb-primary:focus-visible, .dltb-primary:active {
  color: #fff; background: var(--pd-orange-dark); border-color: var(--pd-white); outline: 0;
}

/* Grüner "Termin vormerken" Button */
.dltb-btn-green { background: var(--pd-green) !important; border-color: var(--pd-green-dark) !important; }
.dltb-btn-green:hover, .dltb-btn-green:focus-visible, .dltb-btn-green:active {
  background: var(--pd-green-dark) !important; border-color: var(--pd-green-dark) !important;
}
.dltb-btn-green::before { color: rgba(255,255,255,.7) !important; }

.dltb-secondary {
  color: #fff; background: var(--pd-blue-dark); border-color: var(--pd-white);
}
.dltb-secondary:hover, .dltb-secondary:focus-visible, .dltb-secondary:active {
  color: #fff; background: var(--pd-blue-darker); border-color: var(--pd-white); outline: 0;
}
.dltb-secondary::before { color: var(--pd-orange); }

/* Zurück-Button als Box */
.dltb-back-btn {
  min-height: 40px; padding: 0 16px; margin: 10px 0 18px;
  color: var(--pd-blue-dark); background: #fff;
  border: 2px solid var(--pd-border-strong); border-radius: 0;
  font-size: 13px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase;
}
.dltb-back-btn:hover, .dltb-back-btn:focus-visible {
  background: var(--pd-blue-pale); border-color: var(--pd-blue-dark); outline: 0;
}

/* Abbrechen-Button */
.dltb-cancel-btn {
  color: #8a2424; background: #fdeeee; border-color: #e0b8b8;
  font-size: 13px; text-transform: uppercase;
}
.dltb-cancel-btn:hover, .dltb-cancel-btn:focus-visible {
  background: #f5d4d4; border-color: #c0707070; outline: 0;
}

/* ==========================================================
   Summary
========================================================== */
.dltb-summary {
  display: grid; gap: 0; margin: 16px 0 20px; padding: 0;
  color: #fff; background: linear-gradient(to right, #29465b, #688399);
  border: 1px solid var(--pd-blue-dark); border-radius: 0;
}
.dltb-summary-row {
  display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 15px; line-height: 1.35;
}
.dltb-summary-row:last-child { border-bottom: 0; }
.dltb-summary-row strong, .dltb-summary-row b, .dltb-summary-row span:last-child { color: var(--pd-blue-soft); font-weight: 900; }

/* Status boxes */
.dltb-hold-info, .dltb-success, .dltb-error, .dltb-status {
  margin: 14px 0; padding: 14px 16px; border-radius: 0; font-size: 15px; font-weight: 700; line-height: 1.45;
}
.dltb-hold-info { color: var(--pd-blue-dark); background: rgba(255,150,0,.16); border: 1px solid rgba(255,150,0,.55); }
.dltb-countdown-wrap { border-left: 6px solid var(--pd-orange); }
.dltb-countdown-wrap.is-expired { color: #8a2424; background: #fdeeee; border-color: #d63638; }
.dltb-countdown { color: var(--pd-orange-dark); font-variant-numeric: tabular-nums; font-weight: 900; }
.dltb-success { color: #fff; background: var(--pd-blue-dark); border: 1px solid var(--pd-blue-dark); }
.dltb-error, .dltb-status { color: #8a2424; background: #fdeeee; border: 1px solid #e0b8b8; }

/* Der rechte Buchungsbereich kann auf großen Bildschirmen trotzdem schmal sein.
   Container Queries halten Formular und Terminliste dort kompakt und lesbar. */
@container (max-width: 520px) {
  .dltb-available-days { grid-template-columns: 1fr; }
  .dltb-form { grid-template-columns: 1fr; }
  .dltb-field-half, .dltb-field-wide, .dltb-form .dltb-agb-wrap, .dltb-form > .dltb-primary { grid-column: 1; }
}
@container (max-width: 410px) {
  .dltb-stepper-item { justify-content: center; min-height: 38px; padding: 6px 4px; }
  .dltb-step-label { display: none; }
  .dltb-step-number { width: 24px; height: 24px; }
  .dltb-available-day { grid-template-columns: minmax(0,1fr) 16px; }
  .dltb-available-day__meta { grid-column: 1/-1; grid-row: 2; justify-self: start; white-space: normal; }
  .dltb-available-day__arrow { grid-column: 2; grid-row: 1; }
}

/* ==========================================================
   Responsive
========================================================== */
@media (max-width: 1280px) { .dltb-grid { grid-template-columns: minmax(0,1.4fr) minmax(300px,1fr); } }

@media (max-width: 920px) {
  .dltb-booking { padding: 20px; }
  .dltb-grid { grid-template-columns: 1fr; }
  .dltb-map, .dltb-map-placeholder { min-height: 300px; }
  .dltb-stepper { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .dltb-booking { margin: 18px 0; padding: 16px; }
  .dltb-panel, .dltb-step, .dltb-decision { padding: 18px; }
  .dltb-panel h3, .dltb-step h4, .dltb-decision h4 { font-size: clamp(20px,6vw,28px); }
  .dltb-slots, .dltb-actions { width: 100%; flex-direction: column; }
  .dltb-slot, .dltb-primary, .dltb-secondary { width: 100%; min-height: 46px; }
  .dltb-back-btn, .dltb-cancel-btn { width: 100%; }
  .dltb-summary-row { flex-direction: column; gap: 4px; }
  .dltb-marker { width: 28px !important; height: 28px !important; min-width: 28px; min-height: 28px; max-width: 28px; max-height: 28px; font-size: 12px; }
  .dltb-available-days { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .dltb-booking { padding: 14px; }
  .dltb-panel, .dltb-step, .dltb-decision { padding: 18px 14px; }
  .dltb-form { grid-template-columns: 1fr; }
  .dltb-field-half, .dltb-field-wide, .dltb-form .dltb-agb-wrap, .dltb-form > .dltb-primary { grid-column: 1; }
  .dltb-available-day { grid-template-columns: minmax(0,1fr) 16px; }
  .dltb-available-day__meta { grid-column: 1/-1; grid-row: 2; justify-self: start; white-space: normal; }
  .dltb-available-day__arrow { grid-column: 2; grid-row: 1; }
}

/* Mindestvorlauf Geburtstagsreservierung – 1.4.4 */
.dltb-booking-notice {
  margin: 0 0 12px;
  padding: 10px 12px;
  color: var(--pd-blue-dark);
  background: rgba(255,150,0,.09);
  border: 1px solid rgba(230,134,0,.42);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

/* ==========================================================
   Cleaner Birthday Booking UI – 1.5.3
   One visual container, lightweight steps, fewer nested cards.
========================================================== */
.dltb-panel {
  padding: clamp(18px,2.2vw,24px);
  box-shadow: 0 2px 10px rgba(32,57,76,.05);
}

/* The outer panel is the card. Steps themselves are content sections, not cards. */
.dltb-step,
.dltb-decision {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.dltb-step::before,
.dltb-decision::before {
  display: none;
}
.dltb-step h4,
.dltb-decision h4 {
  margin: 0 0 12px;
  font-size: clamp(19px,1.35vw,24px);
  line-height: 1.15;
  letter-spacing: .015em;
}

/* Lightweight progress indicator instead of three nested cards. */
.dltb-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0;
  margin: 14px 0 18px;
  border-bottom: 1px solid var(--pd-border);
}
.dltb-stepper-item {
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 5px 6px 9px;
  color: var(--pd-muted);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  font-size: 12px;
}
.dltb-stepper-item.is-current {
  color: var(--pd-blue-dark);
  background: transparent;
  border-color: var(--pd-blue-dark);
}
.dltb-stepper-item.is-complete {
  color: var(--pd-blue-dark);
  background: transparent;
  border-color: rgba(255,150,0,.52);
}
.dltb-step-number {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
}

/* Fields: compact, clear, no unnecessary vertical length. */
.dltb-label,
.dltb-form label {
  margin: 6px 0;
  font-size: 12px;
  letter-spacing: .02em;
}
.dltb-label input,
.dltb-form input,
.dltb-form textarea {
  min-height: 42px;
  margin-top: 5px;
  padding: 8px 10px;
  font-size: 14px;
}
.dltb-form textarea {
  min-height: 64px;
}
.dltb-form {
  gap: 7px 10px;
}

/* Availability is a list of choices, not another framed card. */
.dltb-calendar-wrap {
  margin-top: 12px;
}
.dltb-cal-header {
  padding: 9px 10px;
  border-radius: 4px;
}
.dltb-cal-title {
  font-size: 14px;
}
.dltb-cal-nav {
  width: 32px;
  height: 32px;
  border-width: 1px;
  border-radius: 4px;
}
.dltb-available-days {
  gap: 7px;
  padding: 8px 0 0;
  border: 0;
  background: transparent;
}
.dltb-available-day {
  min-height: 54px;
  padding: 8px 10px;
  border-radius: 5px;
  box-shadow: none;
}
.dltb-available-days__empty {
  padding: 12px 0;
  border: 0;
  background: transparent;
}

/* Navigation should read as navigation, not as another boxed action. */
.dltb-back-btn {
  min-height: auto;
  margin: 4px 0 12px;
  padding: 3px 0;
  color: var(--pd-blue-dark);
  background: transparent;
  border: 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dltb-back-btn:hover,
.dltb-back-btn:focus-visible {
  color: var(--pd-orange-dark);
  background: transparent;
  border: 0;
  outline: 0;
}

.dltb-slots {
  gap: 8px;
  margin-top: 10px;
}
.dltb-slot,
.dltb-primary,
.dltb-secondary,
.dltb-cancel-btn {
  border-radius: 4px;
}

/* Summary: simple key/value list rather than a large nested blue card. */
.dltb-summary {
  gap: 0;
  margin: 8px 0 14px;
  padding: 3px 0;
  color: var(--pd-text);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--pd-border);
  border-bottom: 1px solid var(--pd-border);
}
.dltb-summary-row {
  padding: 8px 2px;
  color: var(--pd-text);
  border-bottom: 1px solid rgba(41,70,91,.10);
  font-size: 13px;
}
.dltb-summary-row strong,
.dltb-summary-row b {
  color: var(--pd-muted);
  font-weight: 700;
}
.dltb-summary-row span:last-child {
  color: var(--pd-blue-dark);
  font-weight: 800;
  text-align: right;
}

/* Important notices remain visually distinct, but compact. */
.dltb-booking-notice,
.dltb-hold-info,
.dltb-success,
.dltb-error,
.dltb-status {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.45;
}
.dltb-agb-wrap {
  margin: 7px 0 5px;
  padding: 9px 10px;
  border-radius: 4px;
}
.dltb-form .dltb-primary {
  margin-top: 5px;
}

@container (max-width: 410px) {
  .dltb-stepper-item {
    min-height: 34px;
    padding: 4px 2px 7px;
  }
  .dltb-step-number {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 640px) {
  .dltb-panel {
    padding: 16px;
  }
  .dltb-step,
  .dltb-decision {
    padding: 0;
  }
  .dltb-panel h3 {
    font-size: clamp(20px,6vw,27px);
  }
  .dltb-step h4,
  .dltb-decision h4 {
    font-size: clamp(18px,5vw,22px);
  }
  .dltb-back-btn {
    width: auto;
  }
  .dltb-summary-row {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .dltb-panel {
    padding: 14px;
  }
  .dltb-step,
  .dltb-decision {
    padding: 0;
  }
  .dltb-summary-row {
    flex-direction: column;
    gap: 2px;
  }
  .dltb-summary-row span:last-child {
    text-align: left;
  }
}



/* Tischnamen im Kunden-Lageplan – Hover/Fokus, keine Legende – 1.5.18 */
.dltb-marker{overflow:visible}
.dltb-marker-name{position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%) translateX(4px);z-index:20;display:block;max-width:190px;padding:4px 7px 4px 10px;border:1px solid rgba(41,70,91,.28);border-radius:7px;background:rgba(255,255,255,.98);box-shadow:0 2px 7px rgba(32,57,76,.14);color:var(--pd-blue-dark);font-size:11px;font-weight:800;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .12s ease,transform .12s ease,visibility .12s ease}
.dltb-marker.has-label-left .dltb-marker-name{left:auto;right:calc(100% + 8px);padding-left:7px;padding-right:10px;transform:translateY(-50%) translateX(-4px)}
.dltb-marker:hover .dltb-marker-name,.dltb-marker:focus-visible .dltb-marker-name{opacity:1;visibility:visible;transform:translateY(-50%) translateX(0);border-color:currentColor;background:#fff}
@media(max-width:700px){.dltb-marker-name{max-width:125px;font-size:10px}}



/* Preisinfo fuer Geburtstagstische – 1.5.19 */
.dltb-marker-name{max-width:210px;white-space:normal;overflow:visible;text-overflow:clip}
.dltb-marker-name__title,.dltb-marker-name__price{display:block;white-space:nowrap}
.dltb-marker-name__price{margin-top:2px;color:var(--pd-muted);font-size:10px;font-weight:700}
.dltb-table-price-info{display:grid;grid-template-columns:auto auto;justify-content:start;align-items:baseline;gap:2px 10px;width:max-content;max-width:100%;margin:-5px 0 16px;padding:8px 10px;border:1px solid #d8e4ee;border-radius:8px;background:#f7fafc;color:var(--pd-blue-dark);font-size:13px;line-height:1.35}
.dltb-table-price-info strong{font-weight:800}
.dltb-table-price-info>span{font-size:15px;font-weight:900}
.dltb-table-price-info small{grid-column:1/-1;color:var(--pd-muted);font-size:11px;font-weight:600}
@media(max-width:700px){.dltb-marker-name{max-width:150px}.dltb-marker-name__price{font-size:9px}.dltb-table-price-info{width:100%;grid-template-columns:1fr auto}}


/* Geburtstagsbuchung – kompakter Introtext und prominente Preisdarstellung – 1.5.22 */
.dltb-booking .dltb-booking__header{max-width:1080px}
.dltb-booking__intro{white-space:nowrap}
.dltb-marker-name{min-width:128px;padding:6px 9px 6px 11px}
.dltb-marker-name__title{font-size:11px;font-weight:800;color:var(--pd-blue-dark)}
.dltb-marker-name__price{display:inline-flex;align-items:center;margin-top:4px;padding:2px 7px;border-radius:999px;background:#fff3df;color:var(--pd-orange-dark);font-size:11px;font-weight:900;line-height:1.2}
.dltb-table-price-info{grid-template-columns:auto auto;gap:4px 14px;margin:-2px 0 18px;padding:12px 14px;border:1px solid #f1cf8a;border-radius:10px;background:linear-gradient(180deg,#fffdf7 0%,#fff6e7 100%);box-shadow:0 6px 18px rgba(230,134,0,.08)}
.dltb-table-price-info strong{font-size:13px;letter-spacing:.02em;text-transform:uppercase;color:var(--pd-blue-dark)}
.dltb-table-price-info>span{font-size:28px;line-height:1;font-weight:900;color:var(--pd-orange-dark)}
.dltb-table-price-info small{grid-column:1/-1;margin-top:2px;font-size:12px;line-height:1.35;color:var(--pd-muted)}
.dltb-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;width:100%}
.dltb-slot{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:12px 14px}
.dltb-slot__time{font-size:16px;font-weight:900;color:inherit}
.dltb-slot__price{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;background:#fff3df;color:var(--pd-orange-dark);font-size:16px;font-weight:900;line-height:1.1;white-space:nowrap}
.dltb-slot.is-selected .dltb-slot__price{background:rgba(255,255,255,.18);color:#fff}
@media(max-width:980px){.dltb-booking__intro{white-space:normal}}
@media(max-width:700px){.dltb-table-price-info>span{font-size:24px}.dltb-slot{min-height:54px}.dltb-slot__time,.dltb-slot__price{font-size:15px}}
@media(max-width:420px){.dltb-slot{align-items:flex-start;flex-direction:column}.dltb-slot__price{align-self:flex-start}.dltb-booking .dltb-booking__header{max-width:none}}


/* Tischwahl: Zielbereich beim automatischen Sprung nicht unter einem Sticky-Header verstecken. */
.dltb-booking-flow{scroll-margin-top:clamp(80px,10vh,120px)}
