/* Contact Section, Consent Banner & Legal Pages */
.nexus .contact-live {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 6%;
  padding: 112px var(--pad);
  background:
    radial-gradient(ellipse at 8% 72%, rgba(255, 119, 50, 0.12), transparent 55%),
    radial-gradient(ellipse at 92% 20%, rgba(110, 168, 254, 0.08), transparent 50%),
    #09111f;
  border-top: 1px solid rgba(154, 182, 219, 0.16);
  scroll-margin-top: 84px;
  color: #eef4ff;
  align-items: center;
}

.nexus .contact-live h2 {
  font-size: clamp(54px, 6.2vw, 98px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin: 18px 0 24px;
  color: #eef4ff;
}

.nexus .contact-live h2 em {
  font-style: normal;
  color: #ffab7b;
}

.nexus .contact-live h2 > span {
  display: inline-block;
  font-size: 0.72em;
  margin-left: 16px;
  color: #ffab7b;
  vertical-align: baseline;
}

.contact-intro > p:not(.eyebrow) {
  color: #c2d0e4;
  line-height: 1.75;
  font-size: 18px;
  max-width: 440px;
}

.contact-person {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 16px 22px 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(154, 182, 219, 0.16);
  background: rgba(14, 25, 45, 0.72);
}

.person-monogram {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 153, 94, 0.48);
  border-radius: 50%;
  color: #ffba8f;
  background: rgba(255, 142, 66, 0.12);
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.contact-person strong,
.contact-person small {
  display: block;
}

.contact-person strong {
  font-size: 16px;
  color: #f0f6ff;
}

.contact-person small {
  color: #9cb0cc;
  margin-top: 3px;
  font-size: 13px;
}

.contact-person .person-location {
  color: #7e93b2;
  font-size: 12px;
}

.contact-card {
  min-width: 0;
  padding: clamp(28px, 3.8vw, 44px);
  border: 1px solid rgba(154, 182, 219, 0.2);
  background: linear-gradient(145deg, #15243c 0%, #0d1729 100%);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.contact-card .eyebrow {
  margin-bottom: 10px;
}

.contact-card h3 {
  font-size: clamp(28px, 2.8vw, 38px);
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  color: #f0f6ff;
}

.form-intro {
  color: #b8c8df;
  font-size: 16px;
  margin: 0 0 28px;
  line-height: 1.68;
  max-width: 480px;
}

.contact-direct-actions {
  display: grid;
  gap: 18px;
}

.contact-action-item {
  display: grid;
  gap: 8px;
}

.contact-action-label {
  font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9cb0cc;
}

.contact-card .button {
  width: 100%;
  justify-content: space-between;
  padding: 17px 24px;
  font-size: 16px;
  border-radius: 14px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.footer-legal a,
.footer-legal button {
  background: none;
  border: 0;
  padding: 0;
  color: #b7c8df;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-legal a:hover,
.footer-legal button:hover,
.footer-legal a[aria-current="page"] {
  color: #ffb78b;
}

/* Consent Banner (injected by js/consent.js) */
.consent-box {
  position: fixed;
  bottom: 22px;
  left: 22px;
  width: min(440px, calc(100vw - 44px));
  z-index: 10000;
  background: #f6f7fb;
  color: #121c2d;
  padding: 24px;
  box-sizing: border-box;
  border-radius: 18px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.48);
  font-family: inherit;
}

.consent-box h2 {
  font-size: 19px;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  color: #121c2d;
}

.consent-box p {
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 16px;
  color: #424d63;
}

.consent-box a {
  color: #121c2d;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.consent-box button {
  border: 1px solid #c2c9d6;
  border-radius: 9px;
  background: #fff;
  color: #141e30;
  padding: 11px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex: 1;
}

.consent-box .consent-save {
  background: #141e30;
  border-color: #141e30;
  color: #fff;
}

.consent-box label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #141e30;
  margin: 12px 0;
}

.consent-box input {
  accent-color: #141e30;
  width: 16px;
  height: 16px;
}

.consent-box :focus-visible {
  outline: 2px solid #d96b2b;
  outline-offset: 3px;
}

.contact-card [hidden],
.consent-box [hidden] {
  display: none !important;
}

/* Legal Pages (impressum.html & datenschutz.html) */
.legal-page {
  max-width: 820px;
  margin: 124px auto 80px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 24px;
  border: 1px solid rgba(154, 182, 219, 0.16);
  background: linear-gradient(155deg, #111e34 0%, #0a1323 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  color: #e4ecf8;
  line-height: 1.8;
}

.legal-page > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #ffb78b;
  margin-bottom: 20px;
  text-decoration: none;
}

.legal-page h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}

.legal-page h2 {
  font-size: 21px;
  letter-spacing: -0.03em;
  margin: 34px 0 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(154, 182, 219, 0.14);
}

.legal-page p,
.legal-page li {
  color: #c2d0e4;
  font-size: 16px;
  margin-bottom: 14px;
}

.legal-page a {
  color: #ffb78b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page .button {
  margin-top: 12px;
  background: rgba(253, 156, 103, 0.14);
  border: 1px solid rgba(253, 156, 103, 0.45);
  color: #ffd0b0;
  padding: 12px 20px;
  font-size: 14px;
}

.legal-page .button:hover {
  background: #fd9c67;
  color: #0b1322;
}

@media (max-width: 900px) {
  .nexus .contact-live {
    gap: 36px;
    padding: 80px var(--pad);
    grid-template-columns: 1fr;
  }
  .contact-intro {
    max-width: 600px;
  }
}

@media (max-width: 720px) {
  .nexus .contact-live {
    padding: 64px 16px;
    scroll-margin-top: 68px;
  }
  .nexus .contact-live h2 {
    font-size: clamp(44px, 12vw, 64px);
  }
  .contact-person {
    width: 100%;
    margin-top: 24px;
  }
  .contact-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .contact-card .button {
    font-size: 14px;
    padding: 15px 18px;
  }
  .consent-box {
    bottom: 12px;
    left: 12px;
    width: calc(100vw - 24px);
    padding: 20px;
  }
  .legal-page {
    margin: 84px 16px 48px;
    padding: 24px 20px;
    border-radius: 18px;
  }
}
