/* ========================================================================== 
   SKYTIME – GEMEINSAME UNTERSEITEN
   Rundflug buchen / Gutschein erwerben
   ========================================================================== */

.subpage {
  background: #27496f;
}

.subpage main {
  background: #365f99;
}

.subpage .current-link,
.subpage .current-link span {
  color: #f2d088;
}


/* ========================================================================== 
   HERO – gleiche linke Sicherheitskante wie die Startseite
   ========================================================================== */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 690px;
  overflow: hidden;
  padding: 180px 0 84px;
  isolation: isolate;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero-flight {
  background-image: url("../legacypage/Bilder/slider/Bild_6.jpg");
}

.page-hero-gift {
  background-image: url("../legacypage/Bilder/slider/Bild_8.jpg");
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgb(11 29 49 / 78%) 0%, rgb(11 29 49 / 18%) 38%, rgb(17 42 69 / 22%) 66%, rgb(27 56 91 / 92%) 100%),
    linear-gradient(90deg, rgb(7 24 41 / 78%) 0%, rgb(7 24 41 / 48%) 32%, transparent 60%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 120px;
  background: linear-gradient(180deg, transparent, #365f99);
}

.page-hero-copy {
  position: relative;
  z-index: 2;
  width: min(610px, calc(100vw - 96px));
  margin-left: max(clamp(36px, 4vw, 72px), calc((100vw - 1956px) / 2));
  margin-right: 0;
}

.page-hero .eyebrow {
  margin-bottom: 12px;
}

.page-hero h1 {
  max-width: 610px;
  margin: 0 0 18px;
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 24px rgb(0 0 0 / 48%);
}

.page-hero p {
  max-width: 560px;
  margin: 0;
  color: #f2f6f9;
  font-size: 18px;
  line-height: 1.62;
  text-shadow: 0 3px 16px rgb(0 0 0 / 58%);
}

.page-hero .actions {
  margin-top: 26px;
}


/* ========================================================================== 
   INHALTSBEREICHE
   ========================================================================== */

.content-section {
  padding: 82px 0;
  background: linear-gradient(180deg, #365f99 0%, #426da2 100%);
}

.content-section.compact {
  padding: 64px 0;
}

.content-section.alt {
  background: linear-gradient(180deg, #294d77 0%, #213f65 100%);
}

.content-section.deep {
  background: linear-gradient(180deg, #1f3b60 0%, #172f4f 100%);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 36px;
}

.subpage h2 {
  margin: 9px 0 16px;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.subpage h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.14;
}

.section-intro,
.narrative-copy p,
.gift-copy p,
.simple-copy p,
.order-note {
  color: #d5e0eb;
  line-height: 1.7;
}

.section-intro {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
}

.narrative-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.narrative-copy p {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: 17px;
}

.narrative-copy p:last-child {
  margin-bottom: 0;
}

/* Der Wrap bleibt auf derselben linken Layoutachse wie die übrigen Bereiche. */
.simple-copy {
  max-width: none;
}

.simple-copy > .eyebrow,
.simple-copy > h2,
.simple-copy > p {
  max-width: 800px;
}

.simple-copy > p {
  margin: 0 0 18px;
  font-size: 17px;
}


/* ========================================================================== 
   AUSWAHL – deutlich sichtbarer ausgewählter Zustand
   ========================================================================== */

.booking-flow {
  margin: 0;
}

.choice-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.duration-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.duration-option,
.route-choice,
.route-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.duration-option > input,
.route-choice > input,
.route-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.duration-body,
.route-body,
.route-card-body {
  position: relative;
}

.duration-body {
  display: block;
  min-height: 190px;
  padding: 25px;
  border: 1px solid #7190b2;
  border-radius: 18px;
  background: linear-gradient(155deg, #4773a8, #2d5689);
  color: #fff;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.duration-option:hover .duration-body,
.duration-option:focus-within .duration-body {
  transform: translateY(-4px);
  border-color: #b8d8e9;
  box-shadow: 0 18px 48px rgb(0 0 0 / 24%);
}

.duration-body::after,
.route-body::after,
.route-card-body::after {
  content: "✓";
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0c76f;
  color: #203d64;
  box-shadow: 0 7px 22px rgb(0 0 0 / 28%);
  font-size: 18px;
  font-weight: 950;
  opacity: 0;
  transform: scale(0.55) rotate(-10deg);
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.duration-option input:checked + .duration-body,
.route-choice input:checked + .route-body,
.route-option input:checked + .route-card-body {
  border: 2px solid #f0c76f;
  background:
    radial-gradient(circle at 88% 12%, rgb(240 199 111 / 22%), transparent 33%),
    linear-gradient(155deg, #557fae, #315f94);
  box-shadow:
    0 0 0 5px rgb(240 199 111 / 24%),
    0 22px 58px rgb(0 0 0 / 28%);
  transform: translateY(-5px) scale(1.015);
  animation: skytime-select 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.duration-option input:checked + .duration-body::after,
.route-choice input:checked + .route-body::after,
.route-option input:checked + .route-card-body::after {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.duration-body b {
  display: block;
  font-size: 44px;
  line-height: 1;
}

.duration-body small {
  display: block;
  margin-top: 4px;
  color: #d5e0eb;
}

.duration-body em {
  display: block;
  margin-top: 30px;
  color: #f2d088;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}

@keyframes skytime-select {
  0% {
    box-shadow: 0 0 0 0 rgb(240 199 111 / 55%), 0 12px 30px rgb(0 0 0 / 18%);
  }
  60% {
    box-shadow: 0 0 0 11px rgb(240 199 111 / 9%), 0 24px 62px rgb(0 0 0 / 30%);
  }
  100% {
    box-shadow: 0 0 0 5px rgb(240 199 111 / 24%), 0 22px 58px rgb(0 0 0 / 28%);
  }
}


/* ========================================================================== 
   SKYTIME-ROUTENVORSCHLÄGE NACH FLUGZEIT
   ========================================================================== */

.route-hint {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 760px;
  padding: 25px 28px;
  border: 1px dashed #86a1bd;
  border-radius: 17px;
  background: rgb(31 65 104 / 54%);
}

.route-hint strong {
  font-size: 19px;
}

.route-hint span {
  color: #d5e0eb;
  line-height: 1.55;
}

.route-set[hidden],
.individual-request[hidden] {
  display: none;
}

.route-set {
  margin-top: 4px;
}

.route-set-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 17px;
  border-bottom: 1px solid #7190b2;
}

.route-set-head div {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.route-set-head span {
  color: #f0c76f;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.route-set-head strong {
  font-size: 20px;
}

.route-set-head small {
  color: #b8d8e9;
  font-size: 13px;
}

.route-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.route-card-body {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 25px;
  border: 1px solid #7190b2;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 8%, rgb(184 216 233 / 10%), transparent 34%),
    linear-gradient(150deg, #335f92, #244a76);
  color: #fff;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.route-option:hover .route-card-body,
.route-option:focus-within .route-card-body {
  transform: translateY(-4px);
  border-color: #b8d8e9;
  box-shadow: 0 18px 48px rgb(0 0 0 / 24%);
}

.route-card-body small {
  display: block;
  margin-bottom: 12px;
  color: #f0c76f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.route-card-body strong {
  display: block;
  max-width: calc(100% - 28px);
  font-size: 21px;
  line-height: 1.2;
}

.route-card-body em {
  display: block;
  margin-top: auto;
  padding-top: 22px;
  color: #d5e0eb;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}


/* ========================================================================== 
   INDIVIDUELLE WUNSCHROUTE
   ========================================================================== */

.personal-route {
  display: block;
}

.route-choice-single {
  max-width: 760px;
}

.route-body {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 32px;
  border: 1px solid #7190b2;
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 5%, rgb(240 199 111 / 12%), transparent 34%),
    linear-gradient(150deg, #335f92, #244a76);
  color: #fff;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.route-choice:hover .route-body,
.route-choice:focus-within .route-body {
  transform: translateY(-4px);
  border-color: #b8d8e9;
  box-shadow: 0 18px 48px rgb(0 0 0 / 24%);
}

.choice-kicker {
  display: block;
  margin-bottom: 10px;
  color: #f0c76f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.route-body > strong {
  max-width: calc(100% - 45px);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.12;
}

.choice-text {
  display: block;
  max-width: 650px;
  margin-top: 14px;
  color: #d5e0eb;
  line-height: 1.65;
}

.choice-action {
  display: block;
  margin-top: auto;
  padding-top: 26px;
  color: #f2d088;
  font-weight: 850;
}

.individual-request {
  max-width: 780px;
  margin-top: 24px;
  padding: 28px;
  border: 1px solid #7190b2;
  border-radius: 18px;
  background: rgb(27 58 94 / 72%);
}

.individual-request label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.individual-request textarea {
  width: 100%;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid #86a1bd;
  border-radius: 10px;
  background: #f7fafc;
  color: #18314f;
  font: inherit;
  line-height: 1.5;
}

.individual-request textarea:focus {
  outline: 2px solid #f0c76f;
  outline-offset: 2px;
}

.individual-request p {
  margin: 12px 0 0;
  color: #d5e0eb;
  font-size: 14px;
  line-height: 1.55;
}

.inline-contact-link {
  color: #f2d088;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ========================================================================== 
   PERSPEKTIVEN – größere Originaldateien aus dem Skytime-Archiv
   ========================================================================== */

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.region-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid #7190b2;
  border-radius: 20px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 48px rgb(0 0 0 / 22%);
}

.region-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(15 37 61 / 92%) 0%, rgb(15 37 61 / 22%) 42%, transparent 66%);
}

.region-karlsruhe {
  background-image: url("../legacypage/Bilder/rundflug/fullscreen/Karlsruher-Schloss_1.jpg");
}

.region-rhein {
  background-image: url("../legacypage/Bilder/rundflug/fullscreen/Rhein.jpg");
}

.region-pfalz {
  background-image: url("../legacypage/Bilder/rundflug/fullscreen/Bad-Bergzabern.jpg");
}

.region-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 24px;
}

.region-card p {
  margin: 6px 0 0;
  color: #d5e0eb;
  font-size: 14px;
  line-height: 1.5;
}


/* ========================================================================== 
   BESTELLABLAUF
   ========================================================================== */

.booking-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid #7190b2;
  border-radius: 18px;
  background: #7190b2;
}

.booking-path > div {
  padding: 26px;
  background: #23476f;
}

.booking-path b {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  border-radius: 50%;
  background: #f0c76f;
  color: #29496f;
}

.booking-path strong,
.booking-path span {
  display: block;
}

.booking-path strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.booking-path span {
  color: #d5e0eb;
  font-size: 14px;
  line-height: 1.55;
}

.order-note {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 14px;
}


/* ========================================================================== 
   GUTSCHEIN
   ========================================================================== */

.gift-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.voucher-stack {
  position: relative;
  min-height: 430px;
}

.voucher-card-image {
  position: absolute;
  width: min(500px, 86%);
  margin: 0;
  overflow: hidden;
  border: 1px solid #86a1bd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgb(0 0 0 / 30%);
}

.voucher-card-image img {
  display: block;
  width: 100%;
  height: auto;
}

.voucher-front {
  top: 10px;
  left: 0;
  z-index: 2;
  transform: rotate(-2deg);
}

.voucher-back {
  right: 0;
  bottom: 8px;
  z-index: 1;
  transform: rotate(2deg);
}

.gift-copy p {
  margin: 0 0 16px;
  font-size: 17px;
}

.gift-benefits {
  margin-top: 24px;
  border-top: 1px solid #7190b2;
}

.gift-benefit {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 15px 0;
  border-bottom: 1px solid #7190b2;
}

.gift-benefit strong {
  font-size: 15px;
}

.gift-benefit span {
  color: #d5e0eb;
  text-align: right;
  font-size: 14px;
}


/* ========================================================================== 
   ABSCHLUSS-CTA
   ========================================================================== */

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-band p {
  max-width: 650px;
  margin: 0;
  color: #d5e0eb;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}


/* ========================================================================== 
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
  .page-hero-copy {
    width: min(610px, calc(100vw - 64px));
    margin-left: clamp(28px, 3.5vw, 48px);
  }

  .duration-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .route-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .page-hero {
    min-height: 640px;
  }

  .page-hero-copy {
    width: min(600px, calc(100vw - 48px));
    margin-left: 24px;
  }

  .narrative-grid,
  .gift-showcase {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .booking-path {
    grid-template-columns: 1fr;
  }

  .region-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .voucher-stack {
    min-height: 470px;
  }
}

@media (max-width: 680px) {
  .page-hero {
    min-height: 590px;
    padding-bottom: 54px;
    background-position: 58% center;
  }

  .page-hero-copy {
    width: calc(100vw - 32px);
    margin-left: 16px;
  }

  .page-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .page-hero p {
    font-size: 16px;
  }

  .content-section,
  .content-section.compact {
    padding: 54px 0;
  }

  .duration-grid,
  .route-options-grid,
  .region-grid {
    grid-template-columns: 1fr;
  }

  .duration-body {
    min-height: 150px;
  }

  .route-set-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .route-set-head div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .route-body {
    min-height: 220px;
  }

  .voucher-stack {
    min-height: 360px;
  }

  .voucher-card-image {
    width: 88%;
  }

  .gift-benefit,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .gift-benefit span {
    text-align: left;
  }

  .cta-actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .duration-body,
  .route-body,
  .route-card-body,
  .duration-body::after,
  .route-body::after,
  .route-card-body::after {
    animation: none !important;
    transition: none !important;
  }
}
