/* Layout, image wrappers and breakpoints come from the shared location template.
   Only the framing of Endingen photos is local. */
/* Borrow width from this section's gap, not from the text track: its existing
   46% text width stays intact, the photograph gets 49%, and the gap 5%.
   Keep the established text track intact. */
@media(min-width:701px) {
  .endingen-page main > .local-floristry {
    grid-template-columns:minmax(0,46fr) minmax(0,49fr);
    column-gap:5%;
  }
}
body.endingen-page main > .local-floristry > .home-picture {
  width:100%;
  height:auto;
  aspect-ratio:41 / 50;
  min-height:0;
  max-height:none;
  align-self:center;
  justify-self:center;
}
.endingen-page .freiburg-hero .hero-photo > img {
  object-fit: cover;
  object-position: 58% 48%;
  transform: none;
  scale: 1;
}
.endingen-page .freiburg-hero .hero-photo::after {
  background: linear-gradient(90deg, rgba(15,19,16,.70) 0%, rgba(15,19,16,.48) 38%, rgba(15,19,16,.08) 72%), linear-gradient(0deg, rgba(15,19,16,.30), transparent 35%);
}
.endingen-page .local-selection .home-picture > img {
  object-fit: cover;
  object-position: 58% 68%;
}
.endingen-page .local-floristry .home-picture > img {
  object-fit: cover;
  object-position: 62% 28%;
  /* Preserve the bouquet and both hands, including during scrolling/hover. */
  transform: none;
  scale: 1;
}
/* Compact desktop window: bouquet and hands, with less foreground below.
   Width still follows the existing location track and XXL fluid token. */
@media(min-width:701px) {
  body.endingen-page main > .local-floristry > .home-picture {
    aspect-ratio:11 / 10;
  }
  .endingen-page .local-floristry .home-picture > img {
    object-position:62% 12%;
  }
}
@media (max-width: 700px) {
  .endingen-page .freiburg-hero .hero-photo > img {
    object-position: 72% 46%;
  }
  .endingen-page .freiburg-hero .hero-photo::after {
    background: linear-gradient(90deg, rgba(15,19,16,.66), rgba(15,19,16,.24)), linear-gradient(0deg, rgba(15,19,16,.38), transparent 36%);
  }
  .endingen-page .local-selection .home-picture > img {
    object-position: 58% 70%;
    transform: none;
    scale: 1;
  }
}

/* Keep the existing additional location photo inside the shared map column. */
.endingen-page .arrival-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
  margin-bottom: 24px;
}
.endingen-page .arrival-photo img {
  object-position: center;
}
