/* Theme 1.0.590 — kompakter Einstieg der Kontaktseite. */
#contact-page > .contact-section {
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

#contact-page > .contact-section > h1 {
  margin: 0 0 1.4rem;
  line-height: 1.2;
}

#contact-page .contact-hero-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.8vw, 1.1rem);
  margin: 0 0 1rem;
}

#contact-page .contact-hero-photo {
  display: block;
  position: relative;
  min-width: 0;
  aspect-ratio: 982 / 555;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
}

/* Die unveränderte 2048 × 597-Datei enthält beide Fotos und weiße Ränder.
 * Bildflächen: links (23, 23, 982, 555), rechts (1047, 23, 982, 555).
 * CSS zeigt nur die jeweilige Bildfläche; beide Bilder teilen den Download.
 */
#contact-page .contact-hero-photo img {
  position: absolute;
  display: block;
  width: 208.554%;
  max-width: none;
  height: auto;
  top: -4.144%;
  left: -2.342%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}

#contact-page .contact-hero-photo--therapist img {
  left: -106.619%;
}

#contact-page .appointment-box__button {
  border-radius: 999px;
}

/* Theme 1.0.591 — einheitliche Kontaktaktionen und lesbare Anfahrtstitel. */
#contact-page .contact-buttons {
  gap: 0.75rem;
}

#contact-page .contact-buttons > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-align: center;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#contact-page .direction-item {
  padding: 0.65rem 1rem;
}

#contact-page .direction-item summary {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr) 1.1rem;
  gap: 0.75rem;
  align-items: center;
  min-height: 44px;
  font-family: var(--site-font-heading);
  font-weight: 600;
  line-height: 1.4;
}

#contact-page .direction-item summary::before {
  content: none;
}

#contact-page .direction-item summary::after {
  content: "+";
  color: var(--site-link);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

#contact-page .direction-item[open] summary::after {
  content: "−";
}

#contact-page .direction-icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--site-link);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#contact-page .direction-label {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

#contact-page .direction-detail {
  margin: 0.75rem 0 0;
  font-size: 1rem;
}

@media (max-width: 640px) {
  #contact-page .contact-buttons {
    flex-direction: column;
  }

  #contact-page .contact-buttons > a {
    width: 100%;
  }
}
