/* Freigegebene Fotos: Originaldateien, Ausschnitte ausschließlich per CSS. */
.hero__content { container-type: inline-size; }
#hero-title {
  max-width: 100%;
  font-size: min(3.5rem, 13cqi);
  line-height: 1.15;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.hero__visual > img { object-position: right center; }
.gallery img { contain: size; aspect-ratio: 3 / 2; }
.gallery .photo-playroom { object-position: center 62%; }
.gallery .photo-treatment { object-position: center 55%; }
.photo-comfort { object-position: 48% center; }
.image-band__grid .photo-youth { object-position: center 20%; }
.image-band__grid .photo-equipment { object-position: 35% bottom; }

/* Fotos ersetzen die bisherigen Symbolbilder in den bestehenden Karten. */
.age-card img.photo-age,
.cert-card img.photo-method {
  width: 100%; height: 150px; margin: 0 0 20px; border-radius: 8px;
  object-fit: cover; object-position: center; filter: none;
}
.cert-card img.photo-method { height: 116px; }
.age-card img.photo-youth-treatment { object-position: center 35%; }
.faq-photo { width: 100%; max-width: 420px; height: auto; margin-top: 24px; border-radius: 12px; }

.team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-card img.photo-portrait {
  width: 140px; height: 140px; object-fit: cover; object-position: center top; padding: 0;
}

/* Weitere freigegebene Motive im vorhandenen Praxisbereich. */
.photo-collection { margin-top: 32px; border: 1px solid var(--color-border); border-radius: 12px; background: #fff; }
.photo-collection > summary {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px;
  cursor: pointer; list-style: none; font-weight: 700; color: var(--color-deep);
}
.photo-collection > summary::-webkit-details-marker { display: none; }
.photo-collection > summary::after { content: "+"; font-size: 24px; font-weight: 400; }
.photo-collection[open] > summary::after { content: "−"; }
.photo-count { margin-left: auto; white-space: nowrap; font-size: .85rem; font-weight: 400; color: var(--color-muted); }
.photo-collection__body { padding: 0 24px 28px; }
.photo-collection__hint { color: var(--color-muted); font-size: .94rem; margin: 0 0 28px; }
.photo-group + .photo-group { margin-top: 36px; }
.photo-group > h3 { font-size: 1.15rem; margin-bottom: 16px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.photo-card { margin: 0; min-width: 0; }
.photo-card a { display: block; border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; }
.photo-frame { display: flex; align-items: center; justify-content: center; height: 210px; background: #f2f6f8; overflow: hidden; }
.photo-frame img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.photo-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 12px 14px; font-size: .9rem; color: var(--color-deep); }
.photo-caption > span { color: var(--color-logo-blue-dark); }
.photo-card a:hover { border-color: var(--color-logo-blue-dark); }
.photo-card a:focus-visible, .photo-collection > summary:focus-visible { outline: 3px solid var(--color-logo-blue-dark); outline-offset: 4px; }

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .brand__logo { max-width: calc(100vw - 175px); }
  .hero__visual > img { height: auto; min-height: 0; aspect-ratio: 6 / 5; object-position: right center; }
  .gallery .photo-playroom { object-position: center 72%; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .photo-grid { grid-template-columns: minmax(0, 1fr); }
  .photo-collection > summary { gap: 10px; padding: 18px 16px; }
  .photo-collection__body { padding: 0 16px 20px; }
  .photo-count { font-size: .76rem; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: minmax(0, 1fr); }
}
