/* ========================================================================== 
   SKYTIME – KONTAKTSEITE
   ========================================================================== */

.contact-page main {
  background: #23486f;
}

.contact-page footer a {
  color: inherit;
  text-decoration: none;
}

.contact-page footer a:hover,
.contact-page footer a:focus-visible {
  color: #f2d088;
}


/* ========================================================================== 
   HERO + SCHWEBENDES KONTAKT-DOCK
   ========================================================================== */

.contact-hero {
  position: relative;
  padding: 168px 0 104px;
  overflow: visible;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 30%, rgb(240 199 111 / 18%), transparent 24%),
    radial-gradient(circle at 18% 48%, rgb(91 148 196 / 20%), transparent 30%),
    linear-gradient(150deg, #132f4c 0%, #214b76 52%, #325f8d 100%);
}

.contact-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  right: -180px;
  top: 90px;
  border: 1px solid rgb(240 199 111 / 18%);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgb(240 199 111 / 3%),
    0 0 0 140px rgb(184 216 233 / 2%);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  min-height: 570px;
}

.contact-hero-copy {
  max-width: 770px;
}

.contact-hero-copy h1 {
  max-width: 780px;
  margin: 10px 0 22px;
  font-size: clamp(56px, 6.6vw, 102px);
  line-height: 0.92;
  letter-spacing: -0.052em;
}

.contact-hero-copy > p {
  max-width: 680px;
  margin: 0;
  color: #e2ebf2;
  font-size: 19px;
  line-height: 1.68;
}

.contact-hero-copy .actions {
  margin-top: 30px;
}

.contact-pilot-card {
  position: relative;
  justify-self: end;
  width: min(430px, 100%);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(184 216 233 / 42%);
  border-radius: 28px;
  background: #173654;
  box-shadow: 0 32px 90px rgb(0 0 0 / 34%);
  transform: rotate(1.1deg);
}

.contact-pilot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgb(11 31 51 / 88%) 100%);
}

.contact-pilot-card img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 34%;
}

.contact-pilot-card figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
}

.contact-pilot-card figcaption span,
.contact-pilot-card figcaption strong {
  display: block;
}

.contact-pilot-card figcaption span {
  margin-bottom: 4px;
  color: #f0c76f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-pilot-card figcaption strong {
  font-size: 28px;
  line-height: 1.1;
}

.contact-direct-dock {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: -58px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1240px, 92vw);
  overflow: hidden;
  border: 1px solid rgb(184 216 233 / 45%);
  border-radius: 22px;
  background: rgb(31 65 104 / 88%);
  box-shadow: 0 24px 70px rgb(0 0 0 / 30%);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.contact-direct-card {
  min-width: 0;
  padding: 19px 24px 20px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.contact-direct-card + .contact-direct-card {
  border-left: 1px solid rgb(184 216 233 / 30%);
}

.contact-direct-card:hover,
.contact-direct-card:focus-visible {
  background: rgb(77 124 168 / 48%);
  box-shadow: inset 0 -3px 0 #f0c76f;
  outline: none;
}

.contact-direct-card span,
.contact-direct-card strong,
.contact-direct-card small {
  display: block;
}

.contact-direct-card span {
  margin-bottom: 7px;
  color: #f0c76f;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.contact-direct-card strong {
  overflow-wrap: anywhere;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.15;
}

.contact-direct-card small {
  margin-top: 7px;
  color: #cddbe7;
  font-size: 11px;
  line-height: 1.45;
}


/* ========================================================================== 
   PERSÖNLICHER EINSTIEG
   ========================================================================== */

.contact-personal-section {
  padding: 126px 0 68px;
  background: linear-gradient(180deg, #365f99 0%, #426da2 100%);
}

.contact-personal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(44px, 6vw, 84px);
  align-items: start;
}

.contact-personal-grid h2 {
  max-width: 650px;
  margin: 9px 0 0;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.contact-personal-copy p {
  max-width: 720px;
  margin: 0 0 18px;
  color: #d9e4ee;
  font-size: 17px;
  line-height: 1.72;
}

.contact-personal-copy p:last-child {
  margin-bottom: 0;
}


/* ========================================================================== 
   KOMPAKTE THEMENAUSWAHL
   ========================================================================== */

.contact-topics-section {
  padding: 54px 0 60px;
  background: linear-gradient(180deg, #294d77 0%, #213f65 100%);
}

.contact-topics-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.contact-topics-copy h2 {
  max-width: 560px;
  margin: 8px 0 14px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.contact-topics-copy p {
  max-width: 560px;
  margin: 0;
  color: #d5e0eb;
  font-size: 15px;
  line-height: 1.65;
}

.contact-topic-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-topic-chip {
  position: relative;
  flex: 1 1 210px;
  min-width: 190px;
  padding: 15px 18px 15px 38px;
  border: 1px solid #7190b2;
  border-radius: 15px;
  background: rgb(43 82 126 / 74%);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 30px rgb(0 0 0 / 12%);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.contact-topic-chip::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0c76f;
  box-shadow: 0 0 0 4px rgb(240 199 111 / 12%);
}

.contact-topic-chip span,
.contact-topic-chip small {
  display: block;
}

.contact-topic-chip span {
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
}

.contact-topic-chip small {
  margin-top: 5px;
  color: #cddbe7;
  font-size: 11px;
  line-height: 1.4;
}

.contact-topic-chip:hover,
.contact-topic-chip:focus-visible {
  transform: translateY(-2px);
  border-color: #b8d8e9;
  background: rgb(55 102 151 / 86%);
  box-shadow: 0 15px 34px rgb(0 0 0 / 18%);
  outline: none;
}

.contact-topic-chip.is-active {
  border-color: #f0c76f;
  background:
    radial-gradient(circle at 92% 12%, rgb(240 199 111 / 14%), transparent 34%),
    rgb(55 102 151 / 90%);
  box-shadow:
    0 0 0 3px rgb(240 199 111 / 16%),
    0 15px 34px rgb(0 0 0 / 18%);
}

.contact-topic-chip.is-active span {
  color: #f6d88f;
}


/* ========================================================================== 
   KONTAKTFORMULAR
   ========================================================================== */

.contact-form-section {
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 16% 18%, rgb(240 199 111 / 7%), transparent 26%),
    linear-gradient(180deg, #1f3b60 0%, #172f4f 100%);
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 46px;
  align-items: start;
}

.contact-form-intro {
  position: sticky;
  top: 24px;
}

.contact-form-intro h2 {
  max-width: 560px;
  margin: 9px 0 18px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.contact-form-intro > p {
  max-width: 550px;
  margin: 0;
  color: #d5e0eb;
  font-size: 16px;
  line-height: 1.7;
}

.contact-location-note {
  max-width: 560px;
  margin-top: 30px;
  padding: 20px 22px;
  border-left: 3px solid #f0c76f;
  background: rgb(49 94 142 / 38%);
}

.contact-location-note strong,
.contact-location-note span {
  display: block;
}

.contact-location-note strong {
  margin-bottom: 7px;
}

.contact-location-note span {
  color: #cddbe7;
  font-size: 13px;
  line-height: 1.55;
}

.contact-form-card {
  overflow: hidden;
  border: 1px solid #7190b2;
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 4%, rgb(240 199 111 / 10%), transparent 28%),
    rgb(31 65 104 / 78%);
  box-shadow: 0 26px 70px rgb(0 0 0 / 24%);
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: 32px;
}

.contact-form-grid {
  display: grid;
  gap: 18px;
}

.contact-form-grid.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form label > span {
  display: block;
  margin-bottom: 8px;
  color: #e8eff5;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #86a1bd;
  border-radius: 10px;
  background: #f7fafc;
  color: #18314f;
  font: inherit;
  line-height: 1.45;
}

.contact-form select {
  cursor: pointer;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgb(240 199 111 / 45%);
  outline-offset: 2px;
  border-color: #f0c76f;
}

.contact-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  padding: 4px 0;
}

.contact-check input {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  accent-color: #f0c76f;
}

.contact-check > span {
  margin: 0 !important;
  color: #d5e0eb !important;
  font-weight: 500 !important;
  line-height: 1.55;
}

.contact-privacy-note {
  margin: 0;
  color: #b9cada;
  font-size: 12px;
  line-height: 1.55;
}

.contact-privacy-note a {
  color: #f2d088;
  font-weight: 800;
  text-underline-offset: 2px;
}

.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 5px;
}

.contact-submit-row .btn {
  flex: 0 0 auto;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.contact-submit-row > span {
  color: #cddbe7;
  font-size: 12px;
  line-height: 1.45;
}

.contact-demo-message {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 17px 19px;
  border: 1px solid #f0c76f;
  border-radius: 13px;
  background: rgb(240 199 111 / 9%);
}

.contact-demo-message strong {
  color: #f0c76f;
}

.contact-demo-message span {
  color: #d5e0eb;
  font-size: 13px;
  line-height: 1.5;
}

.contact-demo-message[hidden] {
  display: none;
}

.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* ========================================================================== 
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
  .contact-hero-grid {
    grid-template-columns: 1fr 330px;
    gap: 40px;
  }

  .contact-pilot-card img {
    height: 440px;
  }

  .contact-topics-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 34px;
  }

  .contact-topic-chip {
    flex-basis: 190px;
  }
}

@media (max-width: 900px) {
  .contact-hero {
    padding-top: 136px;
    padding-bottom: 32px;
  }

  .contact-hero-grid,
  .contact-personal-grid,
  .contact-topics-layout,
  .contact-form-layout {
    grid-template-columns: 1fr;
  }

  .contact-pilot-card {
    justify-self: start;
    width: min(420px, 78vw);
  }

  .contact-direct-dock {
    position: relative;
    left: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    width: min(1240px, 92vw);
    margin: 34px auto -54px;
    transform: none;
  }

  .contact-direct-card + .contact-direct-card {
    border-top: 1px solid rgb(184 216 233 / 30%);
    border-left: 0;
  }

  .contact-personal-section {
    padding-top: 112px;
  }

  .contact-topics-layout {
    gap: 26px;
  }

  .contact-form-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .contact-hero {
    padding-top: 118px;
  }

  .contact-hero-copy h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .contact-hero-copy > p {
    font-size: 16px;
  }

  .contact-pilot-card {
    width: 100%;
    transform: none;
  }

  .contact-pilot-card img {
    height: 420px;
  }

  .contact-direct-dock {
    margin-bottom: -44px;
    border-radius: 18px;
  }

  .contact-direct-card {
    padding: 18px 20px;
  }

  .contact-personal-section,
  .contact-topics-section,
  .contact-form-section {
    padding-top: 50px;
    padding-bottom: 54px;
  }

  .contact-personal-section {
    padding-top: 100px;
  }

  .contact-topic-selector {
    gap: 10px;
  }

  .contact-topic-chip {
    flex-basis: 100%;
    min-width: 0;
  }

  .contact-form-grid.two-columns {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }

  .contact-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-direct-card,
  .contact-topic-chip {
    transition: none;
  }
}
