/* The photograph stays in the scene while the opaque Stimmen section covers it. */
.home-page .gmr-cover-scene { position: relative; isolation: isolate; }
.home-page .gmr-cover-photo {
  position: sticky;
  top: 0;
  height: 100svh;
  z-index: 0;
  overflow: hidden;
  background: #282825;
}
.home-page .gmr-cover-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.home-page .gmr-cover-scene > .voices {
  position: relative;
  z-index: 1;
  background: var(--paper);
}
@media (max-width: 600px) {
  .home-page .gmr-cover-photo > img { object-position: 49% center; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .gmr-cover-photo { position: relative; height: clamp(320px, 65svh, 720px); }
}

/* A separate layer lets photo parallax coexist with the existing entrance/hover. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .gmr-hero-parallax {
    position: absolute;
    inset: -56px 0;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
    transform: translate3d(0, var(--gmr-hero-y, 0px), 0);
    will-change: transform;
  }
  .gmr-hero-parallax .hero__bg { z-index: 0; }
  .gmr-scroll-photo { position: relative; }
  .gmr-photo-parallax {
    display: block;
    position: absolute;
    inset: -32px 0;
    pointer-events: none;
    transform: translate3d(0, var(--gmr-photo-y, 0px), 0);
    will-change: transform;
  }
  .gmr-photo-parallax > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .gmr-reading-statement .gmr-read-word {
    color: color-mix(in srgb, var(--ink) calc(var(--gmr-read, 0) * 100%), #797972);
  }
  @media (max-width: 600px) {
    .gmr-hero-parallax { inset-block: -32px; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gmr-hero-parallax, .gmr-photo-parallax { transform: none !important; will-change: auto; }
  .gmr-reading-statement .gmr-read-word { color: var(--ink); }
}
