/* Motif-specific framing: preserve faces, equipment and complete groups. */
img[data-image="care"]{--focal:64% 40%}
img[data-image="studio"]{--focal:76% 28%}
img[data-image="training"]{--focal:56% 46%}
img[data-image="lymph"]{--focal:47% 18%}
img[data-image="food"]{--focal:66% 50%}
img[data-image="coach"]{--focal:50% 30%}
img[data-image="coaching"]{--focal:50% 35%}
img[data-image="pelvic"]{--focal:64% 12%}
img[data-image="teltow"]{--focal:58% 28%}
.hero-img[data-image],.editorial-image>img[data-image],.offer-img[data-image],.club-story>img[data-image],.modal-art>img[data-image]{object-position:var(--focal,50% 30%)}
/* Portrait originals keep their native proportions rather than becoming landscapes. */
.subhero .hero-img:is([data-image="pelvic"],[data-image="coaching"],[data-image="coach"]){width:auto;height:calc(100% - 210px);aspect-ratio:2/3;right:10vw;object-fit:cover;border-radius:140px 140px 30px 30px / 100px 100px 30px 30px}
.subhero .hero-img[data-image="coaching"]{aspect-ratio:1439/1800}
.offer-img:is([data-image="pelvic"],[data-image="coaching"],[data-image="coach"]){height:auto;aspect-ratio:2/3;max-height:700px;width:auto;max-width:100%;margin-inline:auto;object-fit:contain;border-radius:130px 130px 28px 28px / 90px 90px 28px 28px}
.offer-img[data-image="coaching"]{aspect-ratio:1439/1800}
.offer-img[data-image="lymph"]{height:auto;aspect-ratio:3/2;border-radius:90px 90px 25px 25px / 60px 60px 25px 25px;object-position:center}
/* Groups and class scenes use a landscape frame, including on club pages. */
.subhero .hero-img:is([data-image="hero"],[data-image="teltow"],[data-image="lymph"]){height:auto;aspect-ratio:3/2;top:220px;border-radius:130px 130px 30px 30px / 90px 90px 30px 30px;object-position:50% 40%}
.team-preview img[data-image="hero"],.club-story>img:is([data-image="hero"],[data-image="teltow"],[data-image="lymph"]){height:auto;aspect-ratio:3/2;object-fit:cover;object-position:50% 40%;border-radius:80px 80px 24px 24px / 55px 55px 24px 24px}
.person img[data-image]{object-position:50% 12%;border-radius:70px 70px 20px 20px / 50px 50px 20px 20px}
.person img[data-image="maria"]{object-position:48% 5%}
.person img[data-image="viktor"]{object-position:50% 10%}
.editorial-image>img[data-image="viktor"]{height:auto;max-height:660px;aspect-ratio:3/4;object-fit:cover;object-position:50% 10%;border-radius:100px 100px 30px 30px / 70px 70px 30px 30px}
.editorial-image>img[data-image="coaching"]{height:auto;aspect-ratio:1439/1800;border-radius:100px 100px 30px 30px / 70px 70px 30px 30px}
@media(max-width:1100px) and (min-width:801px){.subhero .hero-img:is([data-image="pelvic"],[data-image="coaching"],[data-image="coach"]){right:6vw}}
@media(max-width:800px){
 .subhero .hero-img:is([data-image="pelvic"],[data-image="coaching"],[data-image="coach"]){inset:auto;width:min(78%,390px);height:auto;max-width:none;max-height:none;margin:5px auto 65px;aspect-ratio:2/3;border-radius:110px 110px 26px 26px / 80px 80px 26px 26px}
 .subhero .hero-img[data-image="coaching"]{aspect-ratio:1439/1800}
 .subhero .hero-img:is([data-image="hero"],[data-image="teltow"],[data-image="lymph"]){inset:auto;width:86%;height:auto;max-height:none;aspect-ratio:3/2;margin:5px 7% 65px;border-radius:70px 70px 24px 24px / 50px 50px 24px 24px}
 .offer-img:is([data-image="pelvic"],[data-image="coaching"],[data-image="coach"]){width:min(84%,380px);height:auto;max-height:none;border-radius:90px 90px 25px 25px / 65px 65px 25px 25px}
 .editorial-image>img[data-image="studio"]{height:auto;aspect-ratio:1/1;object-position:76% 25%;border-radius:90px 90px 25px 25px / 60px 60px 25px 25px}
 .editorial-image>img[data-image="care"]{height:auto;aspect-ratio:1/1;object-position:64% 35%;border-radius:90px 90px 25px 25px / 60px 60px 25px 25px}
 .person img[data-image]{height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:45px 45px 18px 18px / 35px 35px 18px 18px}
}

@media(min-width:801px){.subhero .hero-content{max-width:53%}.subhero h1{max-width:100%}.subhero .hero-img[data-image="studio"]{border-radius:120px 120px 30px 30px / 75px 75px 30px 30px}}
