/* ── PalaWheels Multi-Step Booking Widget ── */
/* Service → Fahrzeug → Cal.com (Kontaktdaten dort) */

/* Overlay */
.pw-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.75); z-index: 99999;
  display: none; justify-content: center; align-items: center;
  opacity: 0; transition: opacity 0.3s;
}
.pw-overlay.open { display: flex; opacity: 1; }

.booking-widget {
  background: var(--oil); width: 94%; max-width: 680px;
  max-height: 90vh; overflow-y: auto; position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  transform: scale(0.95); transition: transform 0.3s;
}
.pw-overlay.open .booking-widget { transform: scale(1); }
.booking-widget::-webkit-scrollbar { width: 6px; }
.booking-widget::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* Close Button */
.bw-close {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  width: 32px; height: 32px; border: none; background: rgba(255,255,255,0.05);
  color: var(--cream); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; border-radius: 0;
}
.bw-close:hover { background: var(--orange); color: var(--oil); }

/* Header */
.bw-headline {
  font-family: var(--display); font-size: 1.5rem; font-weight: 400;
  color: var(--cream); margin: 28px 28px 4px; text-align: center;
}
.bw-sub {
  font-family: var(--body); font-size: 0.82rem; color: rgba(255,255,255,0.4);
  margin: 0 28px 0; text-align: center;
}

/* Progress Bar */
.bw-progress {
  display: flex; justify-content: center; gap: 8px;
  padding: 20px 28px 24px;
}
.progress-step {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 1px; color: rgba(255,255,255,0.2); transition: color 0.3s;
}
.progress-step .num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600; transition: all 0.3s;
  flex-shrink: 0;
}
.progress-step.active { color: var(--cream); }
.progress-step.active .num {
  background: var(--orange); border-color: var(--orange); color: var(--oil);
}
.progress-step.done { color: var(--orange); }
.progress-step.done .num {
  background: var(--orange); border-color: var(--orange); color: var(--oil);
}
.progress-step:not(:last-child)::after {
  content: ''; width: 24px; height: 1px;
  background: rgba(255,255,255,0.1); display: inline-block;
}

/* Body */
.bw-body { padding: 0 28px 28px; }

.step-label {
  font-family: var(--sans); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 2px; color: var(--orange); margin-bottom: 6px;
}
.step-title {
  font-family: var(--display); font-size: 1.2rem; font-weight: 400;
  color: var(--cream); margin-bottom: 20px;
}

/* Form Elements */
.bw-field { margin-bottom: 16px; }
.bw-field label {
  display: block; font-family: var(--sans); font-size: 0.72rem;
  font-weight: 500; text-transform: uppercase; letter-spacing: 1.2px;
  margin-bottom: 4px; color: rgba(255,255,255,0.5);
}
.bw-field select,
.bw-field input {
  width: 100%; padding: 11px 14px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04); color: var(--cream);
  font-family: var(--body); font-size: 0.9rem; appearance: none;
  -webkit-appearance: none; border-radius: 0;
  transition: border-color 0.2s;
}
.bw-field select:focus,
.bw-field input:focus { border-color: var(--orange); outline: none; }
.bw-field select option { color: var(--oil); background: var(--cream); }
.bw-field input::placeholder { color: rgba(255,255,255,0.2); }

/* Inline row for tire dimensions */
.bw-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

/* Service Cards */
.service-options { display: grid; gap: 10px; }
.service-option {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  transition: all 0.2s; position: relative;
}
.service-option:hover { border-color: rgba(255,255,255,0.2); }
.service-option.selected {
  border-color: var(--orange);
  background: rgba(208,93,38,0.08);
}
.service-option .radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.2s;
}
.service-option.selected .radio {
  border-color: var(--orange);
}
.service-option.selected .radio::after {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--orange);
}
.service-option .service-info { flex: 1; }
.service-option .service-name {
  font-family: var(--sans); font-weight: 600;
  font-size: 0.9rem; color: var(--cream); text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-option .service-desc {
  font-size: 0.78rem; color: rgba(255,255,255,0.35);
  margin-top: 2px;
}
.service-option .service-price {
  font-family: var(--display); font-size: 1.3rem;
  color: var(--orange); white-space: nowrap;
}

/* Extras / Addons */
.extras-section { margin-top: 20px; }
.extras-title {
  font-family: var(--sans); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 1.2px; color: rgba(255,255,255,0.4); margin-bottom: 10px;
}
.extra-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 6px; transition: all 0.2s;
}
.extra-option:hover { border-color: rgba(255,255,255,0.15); }
.extra-option.checked { border-color: var(--orange); background: rgba(208,93,38,0.05); }
.extra-option .check {
  width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.extra-option.checked .check {
  background: var(--orange); border-color: var(--orange); color: var(--oil);
  font-size: 11px; font-weight: bold;
}
.extra-option .extra-label { flex: 1; font-size: 0.85rem; color: var(--cream); }
.extra-option .extra-price { font-size: 0.85rem; color: var(--orange); }

/* Navigation Buttons */
.bw-nav {
  display: flex; gap: 10px; margin-top: 24px;
}
.bw-nav .bw-btn {
  padding: 12px 28px; font-family: var(--sans); font-weight: 600;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 2px;
  border: none; cursor: pointer; transition: all 0.2s; flex: 1;
}
.bw-nav .bw-btn-prev {
  background: transparent; color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}
.bw-nav .bw-btn-prev:hover { border-color: var(--cream); color: var(--cream); }
.bw-nav .bw-btn-next {
  background: var(--orange); color: var(--oil);
}
.bw-nav .bw-btn-next:hover { background: var(--orange-dark); }
.bw-nav .bw-btn-next:disabled { opacity: 0.3; cursor: not-allowed; }

/* Success */
.booking-success {
  text-align: center; padding: 48px 0;
}
.booking-success .check-icon {
  width: 72px; height: 72px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--oil);
}
.booking-success h3 {
  font-family: var(--display); font-size: 1.4rem;
  color: var(--cream); margin-bottom: 8px;
}
.booking-success p {
  color: rgba(255,255,255,0.4); font-size: 0.9rem; max-width: 400px;
  margin: 0 auto 24px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .booking-widget { width: 100%; max-height: 100vh; border: none; }
  .bw-headline { margin: 20px 16px 4px; font-size: 1.3rem; }
  .bw-sub { margin: 0 16px; font-size: 0.75rem; }
  .bw-progress { padding: 14px 16px 18px; gap: 4px; }
  .progress-step:not(:last-child)::after { width: 16px; }
  .bw-body { padding: 0 16px 20px; }
  .bw-row { grid-template-columns: 1fr; }
  .service-option .service-price { font-size: 1rem; }
}
