:root {
  --text: #ffffff;
  --content-bg: #0f1b30;
  --card-bg: #172641;
  --headline: #ffffff;
  --body: #e6eefc;
  --accent: #7ea2e6;
  --line: #2c3f60;
  --radius: 14px;
  --shadow: 0 14px 30px rgba(4, 10, 23, 0.36);
}

.contact-hero {
  position: relative;
  min-height: clamp(220px, 38vh, 340px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(9, 20, 44, 0.35), rgba(9, 20, 44, 0.35)), url("../Startseite-Hintergrund.webp");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.contact-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--headline);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.contact-main {
  padding: clamp(2.2rem, 5vw, 4rem) 1rem;
  background: linear-gradient(180deg, #10203a 0%, #0f2a4e 100%);
}

.contact-card {
  width: min(720px, 94%);
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3.2vw, 2.2rem);
  text-align: center;
}

.contact-name {
  margin: 0 0 1.4rem;
  color: var(--headline);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
}

.contact-details {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  font-size: clamp(1.06rem, 2.2vw, 1.38rem);
  line-height: 1.4;
}

.contact-details a {
  color: var(--headline);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-note {
  background: #091122;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.2rem, 3vw, 1.8rem) 1rem;
  text-align: center;
}

.contact-note p {
  margin: 0;
  color: var(--headline);
  font-size: clamp(1.02rem, 2vw, 1.3rem);
  line-height: 1.45;
}

@media (max-width: 920px) {
  .contact-hero::before {
    background-position: 66.67% center;
  }
}