/* Contact page specific styles. */

#contact-page svg {
  width: auto;
  height: auto;
  max-width: none;
}#contact-page .contact-chip span,
#contact-page .contact-icon-btn span {
  display: inline-block;
}#contact-page {
  overflow-x: hidden;
}#contact-page .app-subpage-hero {
  position: relative;
  overflow: hidden;
}#contact-page .app-subpage-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 260px;
  align-items: center;
  gap: 48px;
}#contact-page .app-subpage-hero-copy {
  max-width: 680px;
  text-align: left;
  padding-bottom: 12px;
}#contact-page .app-subpage-lead {
  max-width: 620px;
  margin: 0;
}#contact-page .gradient-text {
  line-height: 1.25;
}#contact-page .contact-hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  justify-self: end;
  width: 260px;
  pointer-events: none;
  z-index: 1;
}#contact-page .contact-hero-visual::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -120px;
  background: radial-gradient(
    circle,
    rgba(0,214,255,0.25) 0%,
    rgba(0,214,255,0.12) 35%,
    transparent 70%
  );
  filter: blur(60px);
  z-index: -1;
}#contact-page .contact-hero-visual::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -160px;
  bottom: -120px;
  background: radial-gradient(
    circle,
    rgba(255,0,153,0.18) 0%,
    rgba(255,0,153,0.08) 40%,
    transparent 70%
  );
  filter: blur(60px);
  z-index: -1;
}#contact-page .contact-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 112px;
  padding: 16px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  color: #e9f6ff;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.35);
  animation: contactFloat 6s ease-in-out infinite;
}#contact-page .contact-chip svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: visible;
  stroke: #7ce7ff;
  stroke-width: 2;
}#contact-page .chip-chat {
  animation-delay: 1s;
}#contact-page .chip-call {
  animation-delay: 2s;
}#contact-page .chip-mail {
  grid-column: 1;
}#contact-page .chip-chat {
  grid-column: 2;
}#contact-page .chip-call {
  grid-column: 1 / span 2;
}#contact-page .section-head {
  width: min(1280px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
  text-align: left;
}#contact-page .section-head h2,
#contact-page .section-head p {
  max-width: none;
}#contact-page .section-head p {
  margin-left: 0;
  margin-right: 0;
}#contact-page .app-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 380px);
  justify-content: center;
  gap: 40px;
  margin: 32px auto 40px;
}#contact-page .contact-person-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 720px;
  height: 100%;
  padding: 40px 32px 30px;
  border-radius: 32px;
  text-align: center;
  gap: 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05)),
    radial-gradient(circle at top right, rgba(124,231,255,0.08), transparent 34%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 26px 60px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}#contact-page .contact-person-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background:
    radial-gradient(circle at 20% 18%, rgba(0,214,255,0.12), transparent 34%),
    radial-gradient(circle at 84% 14%, rgba(255,0,153,0.10), transparent 30%);
}#contact-page .contact-person-card:hover {
  transform: translateY(-8px);
  border-color: rgba(92,225,230,0.28);
  box-shadow:
    0 35px 80px rgba(0,0,0,0.36),
    0 0 30px rgba(0,214,255,0.08);
}#contact-page .contact-person-card:hover::before {
  opacity: 1;
}#contact-page .contact-person-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  width: 100%;
  z-index: 1;
}#contact-page .contact-person-image {
  width: 250px;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  flex: 0 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #1a2f45, #0d1a2b);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 20px 45px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}#contact-page .contact-person-card:hover .contact-person-image {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 26px 55px rgba(0,0,0,0.45),
    0 0 25px rgba(0,214,255,0.08);
}#contact-page .contact-person-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center -5%;
  display: block;
}#contact-page .contact-person-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  width: 100%;
}#contact-page .contact-person-meta h3 {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  color: #f7f9fc;
  letter-spacing: -0.02em;
}#contact-page .contact-person-role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}#contact-page .contact-person-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  flex: 0 0 auto;
  z-index: 1;
}#contact-page .contact-icon-btn {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.04)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 10px 25px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}#contact-page .contact-icon-btn svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex: 0 0 22px;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: visible;
  stroke: #e9f6ff;
  stroke-width: 1.8;
  transition: stroke 0.25s ease;
}#contact-page .contact-icon-btn:hover {
  transform: translateY(-4px);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.06)
  );
  border-color: rgba(92,225,230,0.35);
  box-shadow:
    0 18px 35px rgba(0,0,0,0.45),
    0 0 20px rgba(0,214,255,0.12);
}#contact-page .contact-icon-btn:hover svg {
  stroke: #7ce7ff;
}#contact-page .contact-calendar-btn {
  width: 100%;
  margin-top: auto;
  z-index: 1;
}#contact-page .contact-cta {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}#contact-page .contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 34%),
    radial-gradient(circle at 82% 18%, rgba(0,214,255,0.10) 0%, rgba(0,214,255,0) 30%),
    radial-gradient(circle at 16% 78%, rgba(255,0,153,0.08) 0%, rgba(255,0,153,0) 28%);
}#contact-page .contact-cta:hover {
  transform: translateY(-6px);
  border-color: rgba(92,225,230,0.24);
  box-shadow:
    0 28px 60px rgba(0,0,0,0.30),
    0 0 28px rgba(0,214,255,0.08);
}#contact-page .contact-cta:hover::before {
  opacity: 1;
}#contact-page .contact-cta h3 {
  max-width: 32ch;
  margin: 0;
}#contact-page .contact-cta p {
  max-width: 70ch;
  margin: 10px 0 0;
}@media (max-width: 900px) {#contact-page .app-subpage-hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }#contact-page .app-subpage-hero-copy {
    max-width: 640px;
    text-align: left;
    padding-bottom: 0;
  }#contact-page .app-subpage-lead {
    max-width: 520px;
  }#contact-page .contact-hero-visual {
    display: none;
  }}@media (max-width: 960px) {#contact-page .app-contact-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    gap: 22px;
    margin-top: 28px;
    margin-bottom: 36px;
  }#contact-page .contact-person-card {
    min-height: 620px;
    padding: 34px 28px 26px;
    gap: 18px;
  }#contact-page .contact-person-image {
    width: 220px;
  }#contact-page .contact-person-meta {
    min-height: 76px;
  }}@media (max-width: 760px) {#contact-page .app-subpage-hero {
    padding-top: 130px;
  }#contact-page .section-head {
    margin: 0 auto 22px;
  }#contact-page .app-contact-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    max-width: none;
    margin: 24px 0 34px;
    padding: 0px 12px 10px 14px;
    scrollbar-width: none;
  }#contact-page .app-contact-grid::-webkit-scrollbar {
    display: none;
  }#contact-page .contact-person-card {
    scroll-snap-align: center;
    min-height: 500px;
    padding: 28px 22px 22px;
    gap: 16px;
    border-radius: 28px;
  }#contact-page .contact-person-image {
    width: 190px;
    border-radius: 20px;
  }#contact-page .contact-person-meta {
    min-height: 70px;
  }#contact-page .contact-person-actions {
    gap: 10px;
  }#contact-page .contact-icon-btn {
    width: 50px;
    height: 50px;
  }}@media (max-width: 480px) {#contact-page .app-contact-grid {
    grid-auto-columns: 96%;
    gap: 12px;
    padding-right: 14px;
  }#contact-page .contact-person-card {
    min-height: 520px;
    padding: 24px 18px 20px;
  }#contact-page .contact-person-image {
    width: 190px;
  }}@media (prefers-reduced-motion: reduce) {#contact-page .contact-chip,
  #contact-page .contact-person-card,
  #contact-page .contact-icon-btn,
  #contact-page .contact-person-image,
  #contact-page .contact-cta {
    animation: none;
    transition: none;
  }#contact-page .contact-person-card:hover,
  #contact-page .contact-icon-btn:hover,
  #contact-page .contact-cta:hover,
  #contact-page .contact-person-card:hover .contact-person-image {
    transform: none;
  }}


/* =====================================
   Mobile fine-tuning contact cards
   Mehr Luft nach oben, damit die Karten-Animation nicht beschnitten wird
   ===================================== */

@media (max-width: 760px) {
  #contact-page .app-contact-grid {
    padding-top: 14px;
  }
}

@media (max-width: 480px) {
  #contact-page .app-contact-grid {
    padding-top: 16px;
  }
}

/* Container-Abstände an andere Seiten angleichen */
#contact-page .section-head {
  margin-bottom: 22px;
}

#contact-page .app-contact-grid {
  margin: 24px auto 32px;
  gap: 28px;
}

/* CTA Text links / rechts */
@media (min-width: 1101px) {
  #contact-page .contact-cta {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(260px,420px);
    align-items: end;
    column-gap: 56px;
  }

  #contact-page .contact-cta h3 {
    grid-column: 1;
    margin: 0;
  }

  #contact-page .contact-cta p {
    grid-column: 2;
    margin: 0;
    text-align: right;
    justify-self: end;
  }
}

@media (max-width: 1100px) {
  #contact-page .contact-cta p {
    text-align: left;
  }
}

#contact-page .legal-footer p {
  white-space: nowrap;
  max-width: none;
}

/* Mobile Line Break */
.mobile-break {
  display: none;
}

@media (max-width: 760px) {
  .mobile-break {
    display: inline;
  }
}