/* ===== CSS Variables (newdesign · FRESH mint/green) ===== */
:root {
  /* brand blue scale (kept under --mint-* names; main tone #569ff7) */
  --mint-50:#eff5fe; --mint-100:#dcebfd; --mint-200:#c3ddfb; --mint-300:#9fc8f9;
  --mint-400:#7ab2f8; --mint-500:#66a8f8; --mint-600:#569ff7; --mint-700:#3f86e6;
  --mint-800:#2f6cc0; --mint-900:#285699;
  /* citrus accent + coral */
  --citrus-300:#ffe48a; --citrus-400:#ffd24c; --citrus-500:#f5b400; --coral-500:#ff5a4e;
  --mint-950:#1d3e6e;
  /* gold (premium accents) */
  --gold-soft:#fff0c9; --gold:#f6d27a; --gold-deep:#8a5e00; --gold-line:#d9a93a; --gold-border:#ecd9a8;
  /* VIP royal gold + night-blue */
  --gold-royal:#c9a84c; --gold-royal-lt:#e7c879; --vip-ink:#0c1426;
  /* warm ink neutrals */
  --ink-950:#0a1410; --ink-900:#0f1d18; --ink-700:#2a3b34; --ink-500:#5b6b65;
  --ink-400:#7e8c87; --ink-300:#b6c1bd; --ink-200:#d9e0dd; --ink-100:#ecf0ee; --ink-50:#f6f8f7;
  --paper:#ffffff;
  --surface-2:#eff5fe;
  --fg-muted:#5b6b65; --fg-faint:#7e8c87; --border-strong:#b6c1bd;

  /* newdesign radius + shadow tokens */
  --r-sm:10px; --r:14px; --r-md:18px; --r-lg:24px; --r-xl:32px; --r-pill:999px;
  --sh-xs:0 1px 2px rgba(15,29,24,.04);
  --sh-sm:0 1px 3px rgba(15,29,24,.06),0 1px 2px rgba(15,29,24,.04);
  --sh:0 6px 16px -4px rgba(15,29,24,.08),0 2px 4px rgba(15,29,24,.04);
  --sh-mint:0 12px 30px -6px rgba(86,159,247,.40);
  --dur:.22s; --ease:cubic-bezier(.22,1,.36,1);

  /* mapped to the names used across booking.css */
  --primary: #569ff7;
  --primary-light: #eff5fe;
  --primary-dark: #3f86e6;
  --accent: #ffd24c;
  --accent-light: #ffe48a;
  --text: #0f1d18;
  --text-light: #5b6b65;
  --bg: #f6f8f7;
  --white: #ffffff;
  --border: #d9e0dd;
  --border-hover: #b6c1bd;
  --success: #569ff7;
  --danger: #ff5a4e;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 1px 3px rgba(15,29,24,.06), 0 1px 2px rgba(15,29,24,.04);
  --shadow-md: 0 14px 30px -8px rgba(15,29,24,.12), 0 4px 8px rgba(15,29,24,.05);
  --shadow-lg: 0 30px 60px -20px rgba(15,29,24,.18), 0 8px 16px rgba(15,29,24,.06);
  --transition: all .22s cubic-bezier(.22,1,.36,1);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Tailwind Preflight is disabled, but its border-* / divide-* utilities only set
   border-width and rely on a base that sets border-style: solid. Re-add just that
   base so those utilities render. Low specificity, so Tailwind utilities and
   booking.css class borders still win. */
*, ::before, ::after {
  border-width: 0;
  border-style: solid;
  border-color: var(--border);
}

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(900px 600px at 110% -10%, rgba(86,159,247,0.12), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(255,210,76,0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Display font for headings */
.step-title, .booking-header .headline, .package-name, .summary-panel h3 {
  font-family: var(--font-display);
}

/* ===== Layout ===== */
.booking-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
}

/* ===== Header ===== */
.booking-header {
  text-align: center;
  padding: 24px 0 20px;
}

.booking-header .logo {
  width: auto;
  height: 56px;
  max-width: 240px;
  object-fit: contain;
  margin-bottom: 12px;
}

.booking-header .headline {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 480px) {
  .booking-header {
    padding: 18px 0 16px;
  }
  .booking-header .logo {
    height: 44px;
    max-width: 200px;
  }
  .booking-header .headline {
    font-size: 18px;
  }
}

/* ===== Stepper ===== */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 0 auto 32px;
  max-width: 600px;
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.stepper-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  background: var(--ink-100);
  color: var(--ink-400);
  transition: var(--transition);
  flex-shrink: 0;
}

.stepper-circle.active {
  background: var(--mint-900);
  color: #fff;
  box-shadow: 0 0 0 5px var(--mint-100);
}

.stepper-circle.done {
  background: var(--mint-500);
  color: #fff;
}

/* newdesign stepper is number-only (no text labels) */
.stepper-label {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.stepper-label.active { color: var(--primary); }
.stepper-label.done { color: var(--success); }

.stepper-line {
  flex: 1 1 auto;
  height: 3px;
  background: var(--ink-200);
  margin: 0 8px;
  border-radius: 3px;
  transition: var(--transition);
}

.stepper-line.done { background: var(--mint-500); }

/* ===== Step Panels ===== */
.step-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.step-panel.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .step-panel { animation: none !important; }
}

.step-title {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink-900);
}

.step-subtitle {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

/* ===== Search Input ===== */
.search-box {
  position: relative;
  margin-bottom: 20px;
}

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 15px 16px 15px 46px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--paper);
  transition: var(--transition);
  outline: none;
}

.search-box input:focus {
  border-color: var(--mint-500);
  box-shadow: 0 0 0 3px var(--mint-100);
}

.search-box input::placeholder { color: var(--ink-400); }

.search-box .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--ink-400);
}

/* ===== Card Grids ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.card-grid--models {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.card-grid--colors {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.color-item { padding-top: 20px; }

.color-phone {
  width: 56px;
  height: auto;
  display: block;
}

.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
  flex: 0 0 auto;
}

.card-item {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  box-shadow: var(--sh-xs);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.card-item:hover {
  border-color: var(--mint-300);
}

.card-item.selected {
  border: 2px solid var(--mint-500);
  background: var(--mint-50);
  box-shadow: 0 10px 24px -10px rgba(86,159,247,.4);
}

/* brand-mono tile holds the logo */
.card-item .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  line-height: 1;
}

.card-item .brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.card-item .card-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-900);
  word-break: break-word;
}

.card-item .card-img {
  width: 64px;
  height: 80px;
  object-fit: contain;
}

/* ===== Model sections / rows (sorted newest-first, iPad separated) ===== */
.model-section-head {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin: 10px 0 2px;
}

.model-row-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.model-meta {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-400);
}

.model-badge {
  background: #d1fadf;
  color: #0a7c3f;
  border-radius: var(--r-pill);
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.model-chevron {
  display: none;
  width: 18px;
  height: 18px;
  color: var(--ink-300);
  flex-shrink: 0;
}

/* ===== Repair List ===== */
.repair-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.repair-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  cursor: pointer;
  box-shadow: var(--sh-xs);
  transition: all var(--dur) var(--ease);
}

/* radio circle (left) */
.repair-item::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  transition: var(--transition);
}

.repair-item:hover { border-color: var(--mint-300); }

.repair-item.selected {
  border: 2px solid var(--mint-500);
  background: var(--mint-50);
  box-shadow: 0 10px 24px -12px rgba(86,159,247,.4);
}

.repair-item.selected::before {
  content: "\2713";
  border: 0;
  background: var(--mint-500);
}

.repair-item .repair-name {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
}

.repair-item .repair-price {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--mint-700);
  white-space: nowrap;
  margin-left: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
}

/* Reparaturbonus price in a repair-list row */
.repair-item .repair-price-bonus {
  color: var(--success);
  font-weight: 800;
}

.repair-item .repair-price-original {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: line-through;
}

/* ===== Package Cards ===== */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.package-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 28px 20px 24px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.package-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-light), var(--shadow-lg);
}

/* Premium = dark-green hero card (newdesign) */
.package-card.recommended {
  background: linear-gradient(160deg, #11653b 0%, #0e5333 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.package-card.recommended:hover { border-color: transparent; }
.package-card.recommended.selected {
  background: linear-gradient(160deg, #11653b 0%, #0e5333 100%);
  box-shadow: 0 0 0 3px var(--mint-300), var(--shadow-md);
}
.package-card.recommended .package-name { color: #fff; }
.package-card.recommended .package-tagline { color: var(--mint-200); font-style: normal; }
.package-card.recommended .package-features li { color: #f0fff6; }
.package-card.recommended .package-features li::before { color: var(--mint-300); }
.package-card.recommended .package-icon { color: var(--citrus-400); }
.package-card.recommended .package-price-row { border-top-color: rgba(255,255,255,0.18); }
.package-card.recommended .package-price,
.package-card.recommended .package-price .price-bonus { color: #fff; }
.package-card.recommended .package-price .price-original { color: rgba(255,255,255,0.6); }
.package-card.recommended .package-price .price-bonus-note { color: var(--mint-200); }
.package-card.recommended .package-cta {
  background: #fff;
  color: var(--mint-800);
  border-color: #fff;
}
.package-card.recommended .package-cta:hover { background: var(--mint-50); color: var(--mint-900); }

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--citrus-400);
  color: var(--mint-900);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(245,180,0,0.35);
}

.package-card .package-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 13px;
  background: var(--mint-50);
  display: grid;
  place-items: center;
}

/* Local package icons rendered as CSS masks so the color follows the card */
.package-card .package-icon::before {
  content: "";
  width: 26px;
  height: 26px;
  background-color: var(--mint-700);
  -webkit-mask: var(--pkg-icon) center / contain no-repeat;
  mask: var(--pkg-icon) center / contain no-repeat;
}
.package-card[data-package="standard"] .package-icon::before { --pkg-icon: url(/packages/standard.svg); }
.package-card[data-package="premium"]  .package-icon::before { --pkg-icon: url(/packages/premium.svg); }
.package-card[data-package="vip"]      .package-icon::before { --pkg-icon: url(/packages/vip.svg); }

/* On the dark-green Premium hero: translucent tile + citrus icon */
.package-card.recommended .package-icon { background: rgba(255,255,255,0.14); }
.package-card.recommended .package-icon::before { background-color: var(--citrus-400); }

.package-card .package-name {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}

.package-card .package-tagline {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 16px;
  font-style: italic;
  min-height: 20px;
}

.package-features {
  list-style: none;
  flex: 1;
  margin-bottom: 20px;
}

.package-features li {
  font-size: 13px;
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text);
}

.package-features li::before {
  content: "\2713";
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.package-price-row {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.package-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}

.package-price .currency {
  font-size: 18px;
  font-weight: 600;
}

/* Reparaturbonus price display inside a package card */
.package-price .price-bonus {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--success);
  line-height: 1.1;
}

.package-price .price-original {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: line-through;
  margin-top: 2px;
}

.package-price .price-bonus-note {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--success);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.package-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.package-cta:hover,
.package-card.selected .package-cta {
  background: var(--primary);
  color: var(--white);
}

/* ===== Step 2 — newdesign (premium hero + compact cards) ===== */
.ic { width:1em; height:1em; display:inline-block; fill:none; stroke:currentColor;
  stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }

.package-stack { max-width:480px; margin:0 auto; display:grid; gap:18px; }

.compact-card .btn { margin-top:15px; }

/* Desktop: Premium / Standard / VIP side by side, equal height */
/* Hidden by default; the swipe hint + dots only exist on the mobile carousel.
   Declared before the media queries so the mobile overrides win on source order. */
.carousel-hint, .carousel-dots { display:none; }

@media (min-width:769px) {
  .package-stack {
    max-width:none;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    align-items:stretch;
  }
  .package-stack .reco-label,
  .package-stack .section-label { display:none; }

  /* Stretch all cards to equal height and pin the price block + CTA to the
     bottom on a shared line. The features list absorbs the extra height so the
     divider/price/button group stays together at the bottom (instead of the
     price floating high with a gap above the button). */
  .package-stack .compact-card { display:flex; flex-direction:column; padding-bottom:24px; }
  .package-stack .compact-card .cc-divider { margin-top:auto; }
  .package-stack .compact-card .btn { margin-top:15px; }

  .package-stack .premium-hero { display:flex; flex-direction:column; }
  .package-stack .premium-hero .inner { flex:1; display:flex; flex-direction:column; }
  .package-stack .premium-hero .ph-divider { margin-top:auto; }

  /* Narrow column: move the BESTSELLER badge to its own line (top) so it
     doesn't overflow the right edge. Mobile keeps it inline at top-right. */
  .package-stack .premium-hero .ph-top { flex-wrap:wrap; }
  .package-stack .premium-hero .badge-bestseller { order:-1; margin-bottom:8px; }
}

/* Mobile/tablet: horizontal swipe carousel so Premium & VIP aren't off-screen.
   Each card takes ~84% width so the next one peeks, signalling swipeability. */
@media (max-width:768px) {
  .package-stack {
    max-width:none;
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    gap:14px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    padding-bottom:10px;
    scrollbar-width:none;            /* Firefox */
  }
  .package-stack::-webkit-scrollbar { display:none; }   /* WebKit */
  .package-stack > .compact-card,
  .package-stack > .premium-hero {
    flex:0 0 84%;
    scroll-snap-align:center;
  }
  .package-stack > .reco-label { display:none; }

  /* Swipe affordance + pagination — only meaningful for the mobile carousel */
  .carousel-hint {
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin:0 0 12px;
    font-size:13px;
    font-weight:600;
    color:var(--fg-muted);
  }
  .carousel-hint svg {
    width:18px; height:18px;
    color:var(--mint-600);
    animation:swipeNudge 1.8s var(--ease) infinite;
  }

  .carousel-dots {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:7px;
    margin:14px 0 2px;
  }
  .carousel-dots .dot {
    width:8px; height:8px;
    padding:0;
    border:0;
    border-radius:999px;
    background:var(--ink-200);
    cursor:pointer;
    transition:width var(--dur) var(--ease), background var(--dur) var(--ease);
  }
  .carousel-dots .dot.active {
    width:22px;
    background:var(--mint-600);
  }
}

@keyframes swipeNudge {
  0%, 100% { transform:translateX(0); }
  50%      { transform:translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-hint svg { animation:none; }
}

.reco-label, .section-label { display:flex; align-items:center; gap:10px; }
.reco-label .line, .section-label .line { height:1px; flex:1; background:var(--border); }
.reco-label .txt { display:inline-flex; align-items:center; gap:7px; font-size:12px; font-weight:800;
  letter-spacing:.12em; text-transform:uppercase; color:var(--mint-700); }
.reco-label .txt .ic { width:14px; height:14px; stroke-width:2; }
.section-label .txt { font-size:12px; font-weight:700; color:var(--fg-faint); letter-spacing:.04em; }

.premium-hero { position:relative; overflow:hidden; border-radius:var(--r-xl); color:#fff; cursor:pointer;
  background:linear-gradient(155deg,var(--mint-700) 0%,var(--mint-800) 55%,var(--mint-950) 100%);
  box-shadow:0 32px 70px -24px rgba(40,86,153,.55); }
.premium-hero .glow { position:absolute; top:-90px; right:-70px; width:260px; height:260px; border-radius:50%;
  background:radial-gradient(circle,rgba(159,200,249,.5),transparent 65%); pointer-events:none; }
.premium-hero .inner { position:relative; padding:24px 22px; }
.ph-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ph-id { display:flex; align-items:center; gap:12px; }
.ph-glyph { width:46px; height:46px; border-radius:13px; display:grid; place-items:center;
  background:rgba(255,255,255,.16); color:#fff; } .ph-glyph .ic { width:24px; height:24px; }
.ph-name { font-family:var(--font-display); font-weight:800; font-size:23px; letter-spacing:-.02em; }
.ph-tag { font-size:12.5px; font-weight:600; color:rgba(255,255,255,.85); }
.badge-bestseller { display:inline-flex; align-items:center; gap:5px; padding:6px 11px; border-radius:var(--r-pill);
  background:linear-gradient(135deg,#ffd24c,#f5871f); color:#3a2400; font-size:11px; font-weight:800;
  letter-spacing:.05em; white-space:nowrap; } .badge-bestseller .ic { width:12px; height:12px; stroke-width:2.4; }
.ph-divider { height:1px; background:rgba(255,255,255,.18); margin:20px 0 16px; }
.ph-price-row { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:16px; }
/* Price stack: full price on top (not struck), "Inkl. Förderung", then the
   funded price slightly larger, then the save badge. */
.ph-price { display:flex; flex-direction:column; align-items:flex-start; }
.ph-orig { font-family:var(--font-display); font-weight:700; font-size:28px; letter-spacing:-.02em; line-height:1.05; color:rgba(255,255,255,.72); white-space:nowrap; }
.ph-bonus { display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:800; letter-spacing:.06em; color:var(--mint-300); margin-top:7px; }
.ph-now { font-family:var(--font-display); font-weight:800; font-size:40px; letter-spacing:-.03em; line-height:1; color:#fff; white-space:nowrap; margin-top:3px; }
.ph-save { display:inline-flex; align-items:center; gap:5px; margin-top:12px; padding:7px 12px; border-radius:var(--r-pill);
  background:rgba(255,255,255,.16); font-size:11.5px; font-weight:700; white-space:nowrap; }
.ph-save .ic { width:12px; height:12px; stroke-width:3; }

.compact-card { background:var(--paper); border:1px solid var(--border); border-radius:var(--r-lg);
  padding:18px; box-shadow:var(--sh-xs); cursor:pointer; transition:all var(--dur) var(--ease); }
.compact-card:hover { border-color:var(--mint-300); }
.cc-top { display:flex; align-items:center; gap:13px; }
.cc-glyph { width:46px; height:46px; flex:0 0 auto; border-radius:13px; display:grid; place-items:center; }
.cc-glyph.mint { background:var(--mint-100); color:var(--mint-700); }
.cc-glyph.gold { background:linear-gradient(135deg,var(--gold-royal-lt),var(--gold-royal)); color:var(--vip-ink); }
.cc-glyph .ic { width:24px; height:24px; }
.cc-name { font-family:var(--font-display); font-weight:800; font-size:17px; letter-spacing:-.01em; color:var(--ink-900); }
.cc-tag { font-size:12.5px; color:var(--fg-muted); font-weight:600; }
/* Bottom price block — mirrors the Premium hero layout (.ph-*), light theme */
.cc-divider { height:1px; background:var(--border); margin:18px 0 14px; }
/* Price stack: full price on top (not struck), "Inkl. Förderung", then the
   funded price slightly larger, then the save badge. */
.cc-pay { display:flex; flex-direction:column; align-items:flex-start; }
.cc-orig { font-family:var(--font-display); font-weight:700; font-size:26px; letter-spacing:-.02em; line-height:1.05; color:var(--ink-400); white-space:nowrap; }
.cc-bonus { display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:800; letter-spacing:.06em; color:var(--mint-700); white-space:nowrap; margin-top:7px; }

/* Small info trigger beside the "inkl. Reparaturbonus" label — opens the same
   popup as the summary info button. stopPropagation keeps the card from being
   selected when tapping it. */
.bonus-info { appearance:none; -webkit-appearance:none; background:transparent; border:0; padding:0; margin:0;
  cursor:pointer; color:inherit; opacity:.8; line-height:0; display:inline-grid; place-items:center; }
.bonus-info svg { width:14px; height:14px; display:block; }
.bonus-info:hover { opacity:1; }
.cc-now { font-family:var(--font-display); font-weight:800; font-size:36px; letter-spacing:-.03em; line-height:1; color:var(--mint-700); white-space:nowrap; margin-top:3px; }
.cc-save { display:inline-flex; align-items:center; gap:5px; margin-top:12px; padding:7px 12px; border-radius:var(--r-pill);
  background:var(--mint-100); color:var(--mint-800); font-size:11.5px; font-weight:700; white-space:nowrap; }
.cc-save .ic { width:12px; height:12px; stroke-width:3; }

.features { margin:0; padding:0; list-style:none; display:grid; gap:11px; }
.features.tight { gap:9px; }
.feature { display:flex; align-items:flex-start; gap:11px; }
.feature .tick { flex:0 0 auto; width:21px; height:21px; margin-top:1px; border-radius:50%;
  display:grid; place-items:center; background:var(--mint-100); color:var(--mint-700); }
.feature .tick .ic { width:13px; height:13px; stroke-width:2.6; }
.feature .ft { font-size:14px; line-height:1.45; font-weight:500; color:var(--ink-700); }
.feature.strong .ft { font-weight:700; }
.feature.gold .tick { background:#fbe7c2; color:#9a6b00; }
.feature.glass .tick { background:rgba(255,255,255,.2); color:#fff; }
.feature.glass .ft { color:rgba(255,255,255,.95); }

/* ===== VIP — "Königsklasse": night-blue card with royal-gold accents ===== */
.compact-card[data-package="vip"] {
  background:linear-gradient(160deg,#1c2c4d 0%,#13203c 55%,var(--vip-ink) 100%);
  border:1px solid rgba(201,168,76,.45);
  box-shadow:0 28px 60px -26px rgba(12,20,38,.7);
  color:#fff;
}
.compact-card[data-package="vip"]:hover { border-color:var(--gold-royal); }
.compact-card[data-package="vip"] .cc-name { color:#fff; }
.compact-card[data-package="vip"] .cc-tag { color:rgba(255,255,255,.8); }
.compact-card[data-package="vip"] .feature.gold .tick { background:rgba(201,168,76,.22); color:var(--gold-royal); }
.compact-card[data-package="vip"] .feature .ft { color:rgba(255,255,255,.92); }
.compact-card[data-package="vip"] .cc-divider { background:rgba(255,255,255,.16); }
.compact-card[data-package="vip"] .cc-now { color:var(--gold-royal); }
.compact-card[data-package="vip"] .cc-orig { color:rgba(255,255,255,.6); }
.compact-card[data-package="vip"] .cc-bonus { color:var(--gold-royal); }
.compact-card[data-package="vip"] .cc-save { background:rgba(201,168,76,.18); color:#f0dca0; }
.compact-card[data-package="vip"] .btn-dark {
  background:linear-gradient(135deg,var(--gold-royal-lt),var(--gold-royal));
  color:var(--vip-ink);
}
.compact-card[data-package="vip"] .btn-dark:hover { filter:brightness(1.05); }

/* ===== Branch Selector ===== */
.branch-select-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 18px;
}

.branch-select-wrapper label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0;
  display: block;
  color: var(--fg-muted);
}

/* When only one location exists we render a compact inline pill rather than a
   full-width select, so the label and value sit on a single tidy row. */
.branch-select-wrapper select {
  flex: 1 1 100%;
  width: 100%;
  min-height: 54px;
  padding: 15px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  background: var(--paper);
  outline: none;
  transition: var(--transition);
  appearance: auto;
}

.branch-select-wrapper select:focus {
  border-color: var(--mint-500);
  box-shadow: 0 0 0 3px var(--mint-100);
}

/* Static info shown when only one location exists — a compact pill instead of a
   tall full-width box, freeing vertical space above the calendar. */
.branch-static {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  min-height: 0;
  padding: 8px 14px 8px 11px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--mint-800);
  background: var(--mint-50);
  border: 1px solid var(--mint-200);
}

.branch-static::before {
  content: "";
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ===== Calendar & Time ===== */
.calendar-time-wrapper {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.calendar-container {
  flex: 1;
  min-width: 0;
}

/* Desktop: let the calendar grow to fill the space beside the time slots.
   Flatpickr hard-codes pixel widths on its inner containers, so we also have
   to stretch those for the day grid to actually widen. */
@media (min-width: 769px) {
  .calendar-container {
    flex: 1;
  }

  .cal-skeleton { max-width: none; }

  .flatpickr-calendar.inline {
    max-width: none !important;
  }

  .flatpickr-calendar.inline .flatpickr-rContainer,
  .flatpickr-calendar.inline .flatpickr-days,
  .flatpickr-calendar.inline .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
  }

  /* Days fill 1/7 of the row instead of a fixed 39px box */
  .flatpickr-calendar.inline .flatpickr-day {
    max-width: none !important;
    height: 44px;
    line-height: 44px;
  }
}

/* Calendar loading placeholder — a Calendly-style skeleton: month nav, weekday
   row and a 6×7 day grid, with one soft shimmer wave sweeping across the whole
   card. Sized like the inline calendar so the real one swaps in with no jump. */
.cal-skeleton {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 18px 16px 20px;
}

/* single light wave passing over the whole skeleton */
.cal-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.6) 50%, transparent 75%);
  transform: translateX(-100%);
  animation: cskShimmer 1.6s ease-in-out infinite;
}
@keyframes cskShimmer {
  100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .cal-skeleton::after { animation: none; }
}

.cal-skeleton .csk-block { background: var(--ink-100); border-radius: 6px; display: block; }

.cal-skeleton .csk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cal-skeleton .csk-month { width: 92px; height: 16px; border-radius: 7px; }
.cal-skeleton .csk-actions { display: inline-flex; gap: 8px; }
.cal-skeleton .csk-nav { width: 24px; height: 24px; border-radius: 8px; }

.cal-skeleton .csk-week,
.cal-skeleton .csk-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.cal-skeleton .csk-week { margin-bottom: 12px; }
.cal-skeleton .csk-wd {
  width: 60%;
  max-width: 16px;
  height: 9px;
  margin: 0 auto;
  border-radius: 4px;
}
.cal-skeleton .csk-day { aspect-ratio: 1 / 1; border-radius: 9px; }

/* Flatpickr overrides */
.flatpickr-calendar.inline {
  border: 2px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 340px;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}

.flatpickr-day:hover {
  background: var(--primary-light) !important;
  border-color: var(--primary) !important;
}

.time-slots {
  width: 160px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.time-slot-btn {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink-900);
  box-shadow: var(--sh-xs);
  cursor: pointer;
  transition: var(--transition);
}

.time-slot-btn:hover {
  border-color: var(--mint-300);
}

.time-slot-btn.selected {
  border: 0;
  background: var(--mint-800);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(47,108,192,.5);
}

/* ===== Upgrade Slots ===== */
.upgrade-no-slots {
  text-align: center;
  padding: 16px 12px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.upgrade-section {
  margin-bottom: 16px;
}

.upgrade-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.upgrade-tier-icon {
  font-size: 18px;
  line-height: 1;
}

.upgrade-tier-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.upgrade-price-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: auto;
}

.upgrade-slots-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.upgrade-slots-row .time-slot-btn {
  width: auto;
  min-width: 70px;
  flex: 0 0 auto;
}

/* ===== Contact Form ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.form-group label .required { color: var(--danger); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  min-height: 54px;
  padding: 15px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--ink-900);
  background: var(--paper);
  outline: none;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.form-group select { appearance: auto; }

.form-group textarea { min-height: 96px; resize: none; line-height: 1.5; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--mint-500);
  box-shadow: 0 0 0 3px var(--mint-100);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: var(--danger);
}

.form-group .invalid-feedback {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
  display: none;
}

.form-group input.is-invalid ~ .invalid-feedback,
.form-group textarea.is-invalid ~ .invalid-feedback { display: block; }

/* ===== Summary Panel ===== */
.summary-panel {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.summary-panel h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
}

.summary-row + .summary-row {
  border-top: 1px solid var(--border);
}

.summary-row .label { color: var(--text-light); }
.summary-row .value { font-weight: 600; }

.summary-row.total {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 2px solid var(--text);
}

.summary-row.total .label {
  font-weight: 700;
  color: var(--text);
  font-size: 16px;
}

.summary-row.total .value {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

/* ===== Reparaturbonus ===== */
.bonus-box {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--success);
  border-radius: var(--radius);
  background: rgba(16, 185, 129, 0.06);
}

.bonus-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.bonus-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--success);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.bonus-info-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: var(--success);
}

.bonus-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 4px 0;
}

.bonus-label { color: var(--text-light); }

.bonus-deduction {
  font-weight: 700;
  color: var(--success);
}

.bonus-row--final {
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px dashed var(--success);
}

.bonus-row--final .bonus-label {
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
}

.bonus-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--success);
}

.bonus-disclaimer {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

.bonus-disclaimer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

/* ===== Buttons ===== */
.btn-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* Payment notice — subtle but visible, used in step 2 and on the thanks page */
.payment-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
  padding: 11px 16px;
  border-radius: var(--r-md);
  background: var(--ink-50, #f6f8f7);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.payment-hint svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--mint-600, #569ff7);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  border: 1.5px solid transparent;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  flex: 1;
  background: linear-gradient(135deg, var(--mint-600), var(--mint-800));
  color: #fff;
  box-shadow: var(--sh-mint);
}

.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-secondary {
  flex: 0 0 auto;
  background: var(--paper);
  border-color: var(--border-strong);
  color: var(--fg-muted);
  font-weight: 700;
}

.btn-secondary:hover { border-color: var(--ink-400); }

.btn-full { width: 100%; }

/* Step-2 package button variants (after .btn so they override its border/radius) */
.btn-white { width:100%; background:#fff; color:var(--mint-800); border:0; border-radius:var(--r-pill);
  box-shadow:0 12px 26px -10px rgba(0,0,0,.4); }
.btn-outline { width:100%; background:var(--paper); color:var(--mint-700); border:1.5px solid var(--border-strong);
  border-radius:var(--r-pill); }
.btn-outline:hover { border-color:var(--ink-400); }
.btn-dark { width:100%; background:var(--mint-900); color:#fff; border:0; border-radius:var(--r-pill);
  box-shadow:0 10px 24px -8px rgba(40,86,153,.5); }

/* ===== Checkbox ===== */
.checkbox-group {
  margin: 20px 0;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: underline;
}

.agb-invalid-feedback {
  font-size: 12px;
  color: var(--danger);
  margin-top: 6px;
  display: none;
}

/* ===== Selected Info Pill ===== */
.selection-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.selection-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint-50);
  color: var(--mint-800);
  border: 1.5px solid var(--mint-300);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 700;
}

.selection-pill .pill-clear {
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  opacity: 0.7;
}

.selection-pill .pill-clear:hover { opacity: 1; }

/* ===== Loading spinner ===== */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.loading-spinner::after {
  content: "";
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Empty state ===== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light);
  font-size: 14px;
}

/* ===== Footer ===== */
.booking-footer {
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: var(--text-light);
}

.booking-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.booking-footer img {
  width: 24px;
  vertical-align: middle;
  margin-right: 4px;
  border: 1px solid var(--border);
  border-radius: 3px;
}

/* ===== Thanks Page ===== */
.thanks-panel {
  text-align: center;
}

.thanks-icon {
  width: 56px;
  height: 56px;
  margin: 4px auto 16px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-title { margin-bottom: 6px; }
.thanks-subtitle { margin-bottom: 20px; }

.thanks-text {
  text-align: left;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.thanks-business {
  text-align: left;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.thanks-business strong {
  display: block;
  margin-bottom: 2px;
}

.thanks-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 11px 18px;
  border-radius: var(--r-md);
  background: #25D366;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.thanks-whatsapp:hover {
  background: #1ebe5a;
}

.thanks-whatsapp svg {
  flex-shrink: 0;
}

/* ===== Trust reviews (Google) ===== */
.reviews-section { max-width: 480px; margin: 22px auto 28px; }

.reviews-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap; margin-bottom: 12px;
}
.reviews-rating { display: inline-flex; align-items: center; gap: 7px; }
.reviews-g { display: inline-flex; }
.reviews-score { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--ink-900); }
.reviews-rating .reviews-stars { color: #f5b400; font-size: 14px; letter-spacing: 1px; }
.reviews-count { font-size: 12.5px; color: var(--fg-muted); font-weight: 600; }
.reviews-link {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-size: 13px; font-weight: 700; color: var(--mint-700); text-decoration: none;
}
.reviews-link:hover { text-decoration: underline; text-underline-offset: 2px; }

.reviews { display: grid; grid-template-columns: 1fr; gap: 14px; }
/* mobile: show only the first review */
.reviews .review:nth-child(n+2) { display: none; }

.review {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--sh-xs);
}
.review-top { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.review-avatar {
  width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%;
  display: grid; place-items: center; object-fit: cover;
  background: var(--mint-100); color: var(--mint-700);
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
}
.review-id { flex: 1; min-width: 0; }
.review-author {
  font-size: 14px; font-weight: 700; color: var(--ink-900); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.review-stars { color: #f5b400; font-size: 13px; letter-spacing: 1px; line-height: 1.5; }
.review-google { flex: 0 0 auto; display: inline-flex; }
.review-text {
  font-size: 13.5px; line-height: 1.5; color: var(--ink-700);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

@media (min-width: 769px) {
  .reviews-section { max-width: none; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .reviews .review:nth-child(n+2) { display: block; }
}

/* ===== Modal ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.show { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow-lg);
}

.modal-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-box p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 8px;
}

.modal-box .btn { margin-top: 16px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .package-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .package-card { padding: 24px 16px 20px; }

  /* Reclaim vertical space so the calendar shows in full above the sticky CTA:
     the logo/headline carry little weight here, and step 3 needs the room. */
  .booking-header {
    padding: 12px 0 10px;
  }
  .booking-header .logo {
    height: 34px;
    margin-bottom: 6px;
  }
  .booking-header .headline {
    font-size: 16px;
  }
  .stepper {
    margin-bottom: 20px;
  }
  #step-3-panel .step-title {
    margin-bottom: 4px;
  }
  #step-3-panel .step-subtitle {
    margin-bottom: 14px;
  }

  .calendar-time-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .calendar-container {
    display: flex;
    justify-content: center;
  }

  .flatpickr-calendar {
    margin: 0 auto;
  }

  .time-slots {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
  }

  .time-slot-btn { width: auto; flex: 1; min-width: 80px; }

  .time-slots {
    max-height: none;
  }

  .upgrade-slots-row .time-slot-btn { min-width: 70px; flex: 1; }

  .form-grid { grid-template-columns: 1fr; }

  .stepper-label { display: none; }

  .stepper { gap: 0; }

  .card-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }

  /* Models become a compact list on mobile so 6-8 fit without scrolling */
  .card-grid--models {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .card-grid--models .model-row {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 12px;
    padding: 10px 12px;
  }
  .card-grid--models .model-row .card-img {
    width: 38px;
    height: 46px;
  }
  .card-grid--models .model-row .model-row-main {
    flex: 1;
    align-items: flex-start;
  }
  .card-grid--models .model-row .model-chevron { display: block; }
  .card-grid--models .model-section-head { margin: 6px 0 0; }

  .btn-row { flex-direction: column; }

  .flatpickr-calendar.inline { max-width: 100% !important; }
}

@media (max-width: 480px) {
  .booking-wrapper { padding: 12px 10px 32px; padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
  .step-title { font-size: 18px; }
  .package-price { font-size: 24px; }
}
