/* Car Care Customs — geführte Besichtigungsanfrage, 2026-09 */
.booking-page {
  --booking-paper: #f3f0ea;
  --booking-ink: #0d0e10;
  --booking-panel: rgba(21, 23, 26, .94);
  --booking-line: rgba(244, 241, 235, .13);
  --booking-soft: rgba(244, 241, 235, .065);
  --booking-ease: cubic-bezier(.16, 1, .3, 1);
  background:
    radial-gradient(900px 620px at 7% 3%, rgba(225, 37, 27, .12), transparent 62%),
    radial-gradient(700px 520px at 96% 34%, rgba(255, 255, 255, .045), transparent 68%),
    #090a0c;
  padding-inline: clamp(12px, 2.3vw, 34px);
}

.booking-page .wrap {
  max-width: 1440px;
}

/* Der allgemeine Konto-Hinweis darf die eigentliche Terminauswahl nicht überdecken.
   Nach dem Absenden bleibt die Konto-Verknüpfung im Erfolgsbereich erhalten. */
.booking-page .ccc-ag-banner {
  display: none !important;
}

.booking-page .bk-top {
  min-height: 62px;
  margin-bottom: clamp(14px, 2vw, 24px);
}

.booking-page #formView {
  display: grid;
  gap: clamp(18px, 2.4vw, 34px);
  align-items: start;
}

.booking-stage {
  position: relative;
  min-width: 0;
  min-height: clamp(370px, 58svh, 560px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: clamp(22px, 3vw, 34px);
  isolation: isolate;
  background: #111216;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .38);
}

.booking-stage::before,
.booking-stage::after {
  position: absolute;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.booking-stage::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 10, .3) 0 24%, rgba(7, 8, 10, .18) 42%, rgba(7, 8, 10, .96) 100%),
    linear-gradient(112deg, rgba(7, 8, 10, .75), transparent 62%);
}

.booking-stage::after {
  right: -18%;
  bottom: -42%;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .018), 0 0 0 140px rgba(255, 255, 255, .012);
}

.booking-stage__media,
.booking-stage__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.booking-stage__media video {
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(.74) contrast(1.08) brightness(.82);
  transform: scale(1.035);
  transition: filter .8s ease, transform 1.2s var(--booking-ease);
}

@media (hover: hover) and (pointer: fine) {
  .booking-stage:hover .booking-stage__media video {
    filter: saturate(.9) contrast(1.08) brightness(.86);
    transform: scale(1.015);
  }
}

.booking-stage__beam {
  position: absolute;
  top: -18%;
  bottom: -18%;
  left: -42%;
  width: 32%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
  mix-blend-mode: overlay;
  animation: booking-film-beam 7.5s ease-in-out infinite;
}

.booking-stage__topline {
  position: absolute;
  z-index: 4;
  top: clamp(16px, 2.4vw, 28px);
  right: clamp(16px, 2.4vw, 28px);
  left: clamp(16px, 2.4vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.booking-stage__topline > span,
.booking-film-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(8, 9, 11, .56);
  color: rgba(255, 255, 255, .78);
  font-family: "JetBrains Mono", monospace;
  font-size: .6rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.booking-stage__topline > span {
  gap: 8px;
  padding: 0 12px;
}

.booking-stage__topline > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f04438;
  box-shadow: 0 0 14px rgba(240, 68, 56, .85);
  animation: booking-live 2.2s ease-in-out infinite;
}

.booking-film-toggle {
  position: relative;
  min-width: 44px;
  justify-content: center;
  padding: 0 12px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.booking-film-toggle:hover,
.booking-film-toggle:focus-visible {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(8, 9, 11, .8);
}

.booking-stage__content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(76px, 8vw, 112px) clamp(20px, 4vw, 54px) clamp(22px, 4vw, 46px);
}

.booking-stage .kicker {
  align-self: flex-start;
  margin-bottom: 18px;
  border-color: rgba(255, 255, 255, .2);
  background: rgba(8, 9, 11, .28);
  color: rgba(255, 255, 255, .78);
  backdrop-filter: blur(12px);
}

.booking-stage h1 {
  max-width: 10.5ch;
  margin: 0;
  color: #f5f2ec;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: .89;
  text-shadow: 0 18px 44px rgba(0, 0, 0, .34);
}

.booking-stage h1 span {
  display: block;
  color: #ff5147;
}

.booking-stage .lead {
  max-width: 54ch;
  margin: 20px 0 0;
  color: rgba(244, 241, 235, .76);
  font-size: clamp(.92rem, 1.25vw, 1.06rem);
  line-height: 1.68;
}

.booking-stage .advisor-inline {
  align-self: flex-start;
  margin: 18px 0 0;
  border-color: rgba(255, 92, 81, .42);
  background: rgba(13, 14, 16, .66);
  color: #fff;
}

.booking-recap {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: clamp(22px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 16px;
  background: rgba(255, 255, 255, .13);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  backdrop-filter: blur(16px);
}

.booking-recap__item {
  min-width: 0;
  padding: 13px 14px;
  background: rgba(9, 10, 12, .74);
  transition: background .28s ease, box-shadow .28s ease;
}

.booking-recap__item.is-current {
  background: linear-gradient(145deg, rgba(225, 37, 27, .24), rgba(9, 10, 12, .8));
  box-shadow: inset 3px 0 #ef3b31;
}

.booking-recap__item span,
.booking-final-summary span {
  display: block;
  color: rgba(244, 241, 235, .5);
  font-family: "JetBrains Mono", monospace;
  font-size: .58rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.booking-recap__item strong {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: .68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-page #bkForm {
  min-width: 0;
}

.booking-flow-head {
  position: relative;
  display: grid;
  align-items: end;
  gap: 8px 16px;
  margin-bottom: 10px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--booking-line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  grid-template-columns: 1fr auto;
}

.booking-flow-head__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #ef4a40;
  font-family: "JetBrains Mono", monospace;
  font-size: .6rem;
  font-weight: 760;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.booking-flow-head strong {
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  letter-spacing: -.025em;
}

.booking-flow-head__count {
  color: rgba(244, 241, 235, .58);
  font-family: "JetBrains Mono", monospace;
  font-size: .64rem;
  letter-spacing: .12em;
}

.booking-progress {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  grid-column: 1 / -1;
}

.booking-progress i {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c61f18, #ff5f55);
  box-shadow: 0 0 18px rgba(255, 81, 71, .52);
  transition: width .62s var(--booking-ease);
}

.booking-flow-message {
  display: none;
  margin: 4px 0 0;
  color: #ff7b72;
  font-size: .76rem;
  grid-column: 1 / -1;
}

.booking-flow-message:not(:empty) {
  display: block;
}

.booking-stepper {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.booking-stepper button {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 64px;
  gap: 3px;
  align-content: center;
  padding: 10px 11px;
  overflow: hidden;
  border: 1px solid var(--booking-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
  color: rgba(244, 241, 235, .58);
  text-align: left;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s var(--booking-ease);
}

.booking-stepper button::after {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: .32;
}

.booking-stepper button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}

.booking-stepper button.is-active {
  border-color: rgba(239, 74, 64, .62);
  background: linear-gradient(145deg, rgba(225, 37, 27, .18), rgba(255, 255, 255, .045));
  color: #fff;
}

.booking-stepper button.is-complete::after {
  width: 8px;
  height: 8px;
  background: #68b77b;
  box-shadow: 0 0 10px rgba(104, 183, 123, .62);
  opacity: 1;
}

.booking-stepper b {
  color: #ef4a40;
  font-family: "JetBrains Mono", monospace;
  font-size: .6rem;
  letter-spacing: .11em;
}

.booking-stepper span {
  overflow: hidden;
  font-family: "Archivo", sans-serif;
  font-size: .72rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-page .booking-panel {
  position: relative;
  margin-bottom: 0;
  overflow: hidden;
  border-color: var(--booking-line);
  border-radius: clamp(20px, 2.5vw, 28px);
  background:
    radial-gradient(460px 240px at 100% 0, rgba(225, 37, 27, .09), transparent 72%),
    var(--booking-panel);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
}

.booking-page.ccc-booking-ready .booking-panel:not(.is-active) {
  display: none;
}

.booking-page.ccc-booking-ready .booking-panel.is-active {
  animation: booking-panel-in .62s var(--booking-ease) both;
}

.booking-panel > h2 {
  max-width: 17ch;
  margin: 0;
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .98;
}

.booking-panel__intro {
  max-width: 57ch;
  margin: 13px 0 22px;
  color: rgba(244, 241, 235, .62);
  font-size: .86rem;
  line-height: 1.62;
}

.booking-page input[type=text],
.booking-page input[type=tel],
.booking-page input[type=email],
.booking-page input[type=date],
.booking-page textarea,
.booking-page select {
  border-color: rgba(255, 255, 255, .15);
  border-radius: 13px;
  background-color: rgba(255, 255, 255, .055);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.booking-page input:hover,
.booking-page textarea:hover,
.booking-page select:hover {
  border-color: rgba(255, 255, 255, .28);
  background-color: rgba(255, 255, 255, .075);
}

.service-preview {
  position: relative;
  display: grid;
  gap: 4px;
  margin-top: 12px;
  overflow: hidden;
  padding: 16px 17px 16px 20px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 14px;
  background: linear-gradient(125deg, rgba(225, 37, 27, .12), rgba(255, 255, 255, .035));
}

.service-preview::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #ef4338;
  content: "";
  box-shadow: 0 0 18px rgba(239, 67, 56, .64);
}

.service-preview span {
  color: #ef5c53;
  font-family: "JetBrains Mono", monospace;
  font-size: .5rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.service-preview strong {
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: .95rem;
}

.service-preview p {
  margin: 2px 0 0;
  color: rgba(244, 241, 235, .6);
  font-size: .72rem;
  line-height: 1.5;
}

.quick-days {
  display: grid;
  gap: 8px;
  margin: 5px 0 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-day {
  display: grid;
  min-height: 74px;
  gap: 2px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 13px;
  background: rgba(255, 255, 255, .045);
  color: rgba(244, 241, 235, .72);
  text-align: center;
  cursor: pointer;
  transition: transform .25s var(--booking-ease), border-color .2s ease, background .2s ease, color .2s ease;
}

.quick-day:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
}

.quick-day.is-selected {
  border-color: #ef4338;
  background: linear-gradient(145deg, #d52a21, #a91610);
  color: #fff;
  box-shadow: 0 14px 28px rgba(169, 22, 16, .22);
}

.quick-day span {
  font-family: "JetBrains Mono", monospace;
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quick-day strong {
  font-family: "Archivo", sans-serif;
  font-size: .9rem;
}

.booking-page .chip {
  border-radius: 12px;
}

.booking-page .chip.on {
  box-shadow: 0 12px 30px rgba(169, 22, 16, .22);
}

.booking-panel__actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  grid-template-columns: minmax(120px, .55fr) minmax(220px, 1.45fr);
}

.booking-panel__actions--end {
  grid-template-columns: minmax(240px, .62fr);
  justify-content: end;
}

.booking-panel__actions .btn {
  width: 100%;
  margin-top: 0;
  text-decoration: none;
}

.booking-panel__actions .btn.secondary {
  background: rgba(255, 255, 255, .025);
}

.booking-final-summary {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 22px 0 6px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 15px;
  background: rgba(255, 255, 255, .1);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-final-summary > div {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, .035);
}

.booking-final-summary strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 5px;
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: .76rem;
}

.booking-page .success {
  max-width: 760px;
  margin: 7vh auto 0;
  padding: clamp(30px, 7vw, 70px);
  border: 1px solid var(--booking-line);
  border-radius: 28px;
  background: var(--booking-panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

@media (min-width: 980px) {
  .booking-page #formView {
    grid-template-columns: minmax(370px, .88fr) minmax(540px, 1.12fr);
  }

  .booking-stage {
    position: sticky;
    top: 22px;
    min-height: min(790px, calc(100svh - 44px));
  }

  .booking-page #bkForm {
    grid-column: auto;
    grid-row: auto;
  }

  .booking-page .card {
    padding: clamp(28px, 3.5vw, 42px);
  }
}

@media (max-width: 760px) {
  .booking-stage__topline > span {
    max-width: calc(100% - 54px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .booking-film-toggle {
    width: 42px;
    padding: 0;
    overflow: hidden;
    color: transparent;
  }

  .booking-film-toggle::before {
    position: absolute;
    color: #fff;
    content: "Ⅱ";
    font-size: .7rem;
    letter-spacing: 0;
  }

  .booking-film-toggle[aria-pressed="true"]::before {
    content: "▶";
    font-size: .62rem;
  }

  .booking-stage__content {
    padding-inline: 20px;
  }

  .booking-stage h1 {
    font-size: clamp(2.4rem, 12.2vw, 4rem);
  }

  .booking-stage .lead {
    max-width: 40ch;
    font-size: .86rem;
    line-height: 1.55;
  }

  .booking-stage .advisor-inline {
    min-height: 42px;
    padding: 8px 12px;
    font-size: .68rem;
  }

  .booking-recap {
    display: block;
    margin-top: 18px;
  }

  .booking-recap__item {
    display: none;
  }

  .booking-recap__item.is-current,
  .booking-recap__item.is-last-current {
    display: block;
  }

  .booking-stepper {
    display: flex;
    overflow-x: auto;
    padding: 2px 1px 5px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .booking-stepper::-webkit-scrollbar {
    display: none;
  }

  .booking-stepper button {
    min-width: 112px;
    flex: 1 0 112px;
    scroll-snap-align: start;
  }

  .quick-days {
    display: flex;
    margin-right: -20px;
    overflow-x: auto;
    padding: 2px 20px 8px 0;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .quick-days::-webkit-scrollbar {
    display: none;
  }

  .quick-day {
    min-width: 92px;
    flex: 0 0 92px;
    scroll-snap-align: start;
  }

  .booking-panel__actions,
  .booking-panel__actions--end,
  .booking-final-summary {
    grid-template-columns: 1fr;
  }

  .booking-panel__actions .booking-back {
    order: 2;
  }
}

@media (min-width: 600px) and (max-width: 979px) {
  .booking-stage {
    min-height: 500px;
  }

  .booking-stage__content {
    padding-right: clamp(24px, 26vw, 180px);
  }

  .booking-recap {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .booking-stepper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding: 2px 1px 5px;
  }

  .booking-stepper button {
    min-width: 0;
    flex: none;
  }
}

@media (max-width: 390px) {
  .booking-page {
    padding-inline: 10px;
  }

  .booking-page .bk-top {
    margin-bottom: 10px;
  }

  .booking-stage {
    min-height: 350px;
    border-radius: 20px;
  }

  .booking-stage__content {
    padding: 70px 16px 17px;
  }

  .booking-stage .kicker {
    display: none;
  }

  .booking-stage h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .booking-stage .lead {
    margin-top: 12px;
    font-size: .8rem;
  }

  .booking-stage .advisor-inline {
    margin-top: 12px;
  }

  .booking-flow-head {
    padding: 17px;
  }

  .booking-page .booking-panel {
    padding: 21px 17px;
  }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 620px) {
  .booking-stage {
    min-height: 330px;
  }

  .booking-stage__content {
    padding-top: 64px;
  }

  .booking-stage h1 {
    max-width: 15ch;
    font-size: clamp(2.1rem, 7vw, 3.5rem);
  }

  .booking-stage h1 span {
    display: inline;
  }

  .booking-stage .lead {
    max-width: 60ch;
  }

  .booking-recap {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .booking-stepper button:hover,
  .quick-day:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-stage__beam,
  .booking-stage__topline > span i,
  .booking-page.ccc-booking-ready .booking-panel.is-active {
    animation: none !important;
  }

  .booking-stage__media video,
  .booking-progress i,
  .quick-day,
  .booking-stepper button {
    transition: none !important;
  }
}

@keyframes booking-panel-in {
  from { opacity: 0; transform: translateY(20px) scale(.99); }
  to { opacity: 1; transform: none; }
}

@keyframes booking-film-beam {
  0%, 22% { transform: translateX(-10%) skewX(-18deg); opacity: 0; }
  40%, 62% { opacity: .7; }
  78%, 100% { transform: translateX(520%) skewX(-18deg); opacity: 0; }
}

@keyframes booking-live {
  0%, 100% { opacity: .45; transform: scale(.82); }
  50% { opacity: 1; transform: scale(1); }
}
