/* Original photograph with a left-only shelving extension. */
.service-page .page-hero::before {
 left:0;
 right:0;
 width:auto;
 height:100%;
 aspect-ratio:auto;
 background-image:var(--hero-image),var(--shelf-extension, url('/assets/interior-design-regalerweiterung-web.webp'));
 background-size:auto 100%,auto 100%;
 background-position:right center,right center;
 background-repeat:no-repeat;
 background-color:#524841;
 filter:none;
 -webkit-mask-image:none;
 mask-image:none;
}
.service-page .page-hero::after {
 background:linear-gradient(90deg,
 rgba(255,255,255,1) 0%,
 rgba(255,255,255,.94) 40%,
 rgba(255,255,255,.88) 55%,
 rgba(255,255,255,.68) 65%,
 rgba(255,255,255,.28) 75%,
 rgba(255,255,255,0) 85%);
}
.service-page .page-hero > .container { position:relative; z-index:1; }
@media(max-width:900px) {
 .service-page .page-hero::after {
  background:linear-gradient(90deg,rgba(255,255,255,.94),rgba(255,255,255,.82));
 }
}

/* Reverse the Home photo so Jacqueline faces the text on this page. */
.service-page #home-harmony-session .service-product-image img {
 transform:scaleX(-1);
 object-position:center 40%;
}
.service-page #home-harmony-session .service-product-image:hover img,
.service-page #home-harmony-session .service-product-image:focus-visible img {
 transform:scaleX(-1) scale(1.02);
}

/* Let the text determine the row height; crop the portrait to that height. */
@media(min-width:901px) {
 .service-page #home-harmony-session .service-product-image {
  position:relative;
  height:auto;
  min-height:0;
  align-self:stretch;
 }
 .service-page #home-harmony-session .service-product-image img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
 }
}

/* Raise the portrait slightly above the headline, keeping the image edge filled. */
@media(min-width:901px) {
 .service-page .page-hero::before {
  top:-56px;
  height:calc(100% + 56px);
 }
}

@media (max-width: 600px) {
 .service-page .page-hero { --shelf-extension:url('/assets/interior-design-regalerweiterung-web-1024.webp'); }
}
