/* Reiseanfrage Conversion V2 — nur diese Seite, progressive Enhancement. */
.request-progress,
.request-step__nav,
.request-step__count,
.request-type-choices {
  display: none;
}

.request-step + .request-step {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.request-step h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 500;
}

.request-step__intro {
  max-width: 650px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.js .request-form--wizard .request-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.request-progress li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a877f;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.request-progress li::after {
  content: "";
  height: 1px;
  flex: 1;
  margin-right: 8px;
  background: #ddd7ca;
}

.request-progress li:last-child::after {
  display: none;
}

.request-progress span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #cfc8b9;
  border-radius: 50%;
  background: #fff;
  color: #777269;
  font-size: 11px;
}

.request-progress li.is-active,
.request-progress li.is-complete {
  color: var(--ink);
}

.request-progress li.is-active span,
.request-progress li.is-complete span {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.js .request-form--wizard .request-step {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.js .request-form--wizard .request-step.is-active {
  display: block;
  animation: request-step-in .28s ease both;
}

/* The script moves screen-reader focus to each step heading. Because these
   headings are not interactive, suppress the browser's heavy default ring. */
.request-step h3[tabindex="-1"]:focus {
  outline: none;
}

.js .request-form--wizard .request-step__count {
  display: block;
  margin: 0 0 7px;
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.js .request-form--wizard .request-type-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.js .request-form--wizard .request-type-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.request-type-choice {
  position: relative;
  min-height: 132px;
  padding: 20px 18px 18px;
  border: 1px solid #d9d3c7;
  background: #fbfaf7;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.request-type-choice:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26,26,26,.08);
}

.request-type-choice:has(input:focus-visible) {
  outline: 3px solid rgba(201,168,76,.34);
  outline-offset: 2px;
}

.request-type-choice:has(input:checked) {
  border-color: var(--gold);
  background: #f8f3e6;
  box-shadow: inset 0 0 0 1px var(--gold);
}

.request-type-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.request-type-choice__icon {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 13px;
  place-items: center;
  border: 1px solid rgba(201,168,76,.5);
  color: #8d702b;
  font-size: 17px;
}

.request-type-choice strong,
.request-type-choice small {
  display: block;
}

.request-type-choice strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

.request-type-choice small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.js .request-form--wizard .request-step__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.request-back {
  min-height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6f6b63;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.request-next {
  min-height: 50px;
  padding: 0 24px;
}

.request-step__nav--submit .request-submit {
  width: auto;
  min-width: 260px;
  margin: 0;
}

@keyframes request-step-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .js .request-form--wizard .request-progress {
    margin-bottom: 28px;
  }

  .request-progress li {
    display: block;
    text-align: center;
    font-size: 9px;
  }

  .request-progress li::after {
    position: absolute;
    top: 13px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
  }

  .request-progress span {
    margin: 0 auto 7px;
  }

  .js .request-form--wizard .request-type-choices {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .request-type-choice {
    min-height: 0;
    padding: 15px 15px 15px 58px;
  }

  .request-type-choice__icon {
    position: absolute;
    top: 16px;
    left: 15px;
    width: 30px;
    height: 30px;
    margin: 0;
  }

  .js .request-form--wizard .request-step__nav,
  .request-step__nav--submit {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .request-next,
  .request-step__nav--submit .request-submit {
    width: 100%;
    min-width: 0;
  }

  .request-back {
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .request-form--wizard .request-step.is-active {
    animation: none;
  }
  .request-type-choice {
    transition: none;
  }
}
