.hero-subtitle{font-size:clamp(17px,1.8vw,25px);line-height:1.35;margin:12px 0 0;color:white;font-weight:500}
.hero-title:has(.hero-subtitle){max-width:700px}
.model-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}
.model-photo-grid .editorial-photo{margin:0}.model-photo-grid .editorial-photo img{height:auto;width:100%;aspect-ratio:1;object-fit:cover}
.method-grid img{height:auto!important;aspect-ratio:4/3!important;max-width:none!important;object-fit:cover!important}
.module-hero-photo{max-width:560px;justify-self:center;width:100%}.module-hero-photo img{display:block;width:100%;max-height:540px;object-fit:cover;aspect-ratio:1}
.project-showcase{max-width:1280px;margin:40px auto 0}.project-showcase .editorial-photo{margin:0}.project-showcase .editorial-photo img{aspect-ratio:16/9}
.project-subheading{max-width:1280px;margin:32px auto 20px;font-size:24px;line-height:1.3}
.editorial-photo:has(img[src*="modul-grundriss"]) img{aspect-ratio:auto}
.contact-person>.editorial-photo>img[src*="ansprechpartner"],.contact-layout .editorial-photo img[src*="ansprechpartner"]{object-position:50% 65%;aspect-ratio:4/3}
.reference-card .reference-image img[src*="edventure-einsatz"],.reference-card .reference-image img[src*="schalensitz-bauteil"],.reference-card .reference-image img[src*="front-einsatz"]{object-position:50% 40%}
.reference-image{position:relative}.reference-image:has(img.image-format-portrait){aspect-ratio:3/2}
@media(max-width:700px){.hero-subtitle{font-size:18px}.model-photo-grid{gap:10px}.project-showcase{margin-top:28px}.module-hero-photo{max-width:400px}.method-grid img{max-height:320px}.project-subheading{font-size:21px}}
.reference-card .reference-image:has(img.image-format-portrait){display:flex;justify-content:center;align-items:flex-start}
.reference-card .reference-image img.image-format-portrait{height:100%;width:auto;max-width:100%;object-fit:contain}
/* Bottom anchored hero crops and reference overview anchor. */
.real-hero .hero-image>img{object-position:center bottom}
#projektuebersicht{scroll-margin-top:100px}
.edventure-finished{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1280px;margin:28px auto 0}
.edventure-finished>.editorial-photo{grid-column:2 / span 2;margin:0}
.edventure-finished>.editorial-photo img{aspect-ratio:auto;height:auto;width:100%;object-fit:cover}
@media(max-width:700px){#projektuebersicht{scroll-margin-top:76px}.edventure-finished{grid-template-columns:1fr}.edventure-finished>.editorial-photo{grid-column:1}}
#projektuebersicht{scroll-margin-top:0}
#projektuebersicht{scroll-margin-top:0!important}
