/* Startseite: ergänzende, seitenbezogene Gestaltung. */
.map .map-art {
  position: absolute;
  inset: -50px 0;
  z-index: 0;
  max-width: none;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  line-height: 0;
}

.map-art .practice-marker-link {
  display: block;
  margin: 0;
  font-weight: 400;
}

.gallery {
  height: 430px;
  gap: 8px;
  padding: 0;
  background: var(--olive);
}

.gallery figure {
  margin: 0;
  overflow: hidden;
}

.gallery img {
  height: 430px;
  transform: scale(1.01);
  transition: transform .55s ease, filter .55s ease;
  filter: saturate(.88) contrast(.98);
}

.gallery figure:hover img,
.gallery figure:focus-within img {
  transform: scale(1.07);
  filter: saturate(1.04) contrast(1);
}

.gallery figure:nth-child(1) img { object-position: 62% center; }
.gallery figure:nth-child(2) img { object-position: center 42%; }
.gallery figure:nth-child(3) img { object-position: 44% center; }

.nav {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.masthead {
  background-color: var(--cream);
  background-image: url("../img/optimized/wellen-1900.webp");
  background-blend-mode: multiply;
}

.parallax-strip-target::after {
  background-image: url("../img/originale/Osteopathie-Jona-Witte-Köln-Glockengasse.jpg");
}

.portrait-small img {
  width: 300px;
  height: 300px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.intro-grid {
  grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr);
}

.intro-grid > div {
  align-self: start;
}

.practice-marker-link {
  left: 50.1%;
  top: 46.9%;
}

.welcome { border-top: 0; }

.hero-content > p:first-of-type { margin: 12px 0 0; }

.hero-appointment {
  display: inline-block;
  margin-top: 20px;
  text-align: center;
}

.hero-content .phone { margin: 26px 0 0; }
.hero-content .phone + p { margin: 18px 0 0; }

@media (min-width: 901px) {
  .masthead {
    background-position: left calc(36px + var(--hero-parallax-y, 0px));
  }

  main > .content:not(.welcome) { font-size: 18px; }
}

@media (max-width: 900px) {
  .masthead {
    height: 710px;
    background-image: url("../img/optimized/wellen-1440.webp");
    background-position: left var(--hero-parallax-y, 0px);
  }

  .hero-content {
    top: clamp(150px, 24vh, 170px);
  }

  .hero-content h1 {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .hero-content p { margin: 10px 0; }
  .hero-content > p:first-of-type { margin-top: 8px; }
  .hero-appointment { margin-top: 12px; }
  .hero-content .phone { margin-top: 14px; }
  .hero-content .phone + p { margin-top: 14px; }

  .intro-grid { grid-template-columns: 1fr; }
  .intro-grid .portrait-small { order: 0; }
  main > .content:not(.welcome) { font-size: 16px; }

  .gallery {
    height: auto;
    gap: 5px;
  }

  .gallery img { height: 280px; }
  .parallax-strip-target::after {
    background-image: url("../img/optimized/glockengasse-960.webp");
  }
}
