.animated-service{min-height:210svh;position:relative;align-items:start}
.animated-service>div{position:sticky;top:110px;min-width:0}
.animated-service .designer-media{margin:0;overflow:visible;aspect-ratio:auto!important;border-radius:0}
.service-animation{position:relative;height:auto}
.service-animation-pin{position:relative;top:auto}
.service-animation iframe{display:block;width:100%;aspect-ratio:3/2;height:auto;border:0;border-radius:0;background:#fff}
.service-animation[data-scene="wardrobe"] iframe{aspect-ratio:709/607}
.service-finish{display:inline-block;position:relative;isolation:isolate;z-index:0;opacity:1!important;transform:none!important}
.service-finish::before,.service-finish::after{content:none!important}
.service-type-label{white-space:pre}
.service-type-label>span{transition:none}
.service-marker{position:absolute;inset:0;width:100%;height:100%;z-index:-1;overflow:visible;transform:scaleX(var(--service-line,0));transform-origin:left;pointer-events:none}
@media(max-width:800px){
.animated-service{display:block;min-height:0}
.animated-service>div{position:relative;top:auto}
.animated-service .service-animation{height:calc(150svh + var(--scene-height,70vw) + 160px)}
.service-animation-pin{position:sticky;top:100px;background:#fff;z-index:1}
.service-animation-pin>h2{margin:20px 0 0;padding-bottom:20px}
.animated-service>div+div{padding-top:24px}
}
@media(prefers-reduced-motion:reduce){
.animated-service{min-height:0}
.animated-service>div,.service-animation-pin{position:relative;top:auto}
.animated-service .service-animation{height:auto}
.service-type-label>span{opacity:1!important}
.service-marker{transform:none}
}
/* The generic heading observer must not draw a second marker. */
.animated-service h2>.marker-stroke{display:none!important}
/* Decorative scenes must let touch and wheel gestures reach the page timeline. */
.service-animation iframe{pointer-events:none}

.service-animation[data-scene="katzennetz"] iframe,.service-animation[data-scene="balkonkraftwerk"] iframe{aspect-ratio:1536/1088}

.service-animation[data-scene="balkonkraftwerk"] iframe{aspect-ratio:1536/1152}

.service-animation[data-scene="katzennetz"] iframe,.service-animation[data-scene="balkonkraftwerk"] iframe{aspect-ratio:3/2}

/* More physical scroll distance, with a longer wardrobe assembly. */
.animated-service{min-height:calc(260svh + var(--scene-height,40vw))}
.animated-service:has([data-scene="wardrobe"]){min-height:calc(340svh + var(--scene-height,50vw))}
@media(max-width:800px){.animated-service,.animated-service:has([data-scene="wardrobe"]){min-height:0}.animated-service .service-animation{height:calc(260svh + var(--scene-height,70vw) + 160px)}.animated-service .service-animation[data-scene="wardrobe"]{height:calc(340svh + var(--scene-height,85vw) + 160px)}}
@media(prefers-reduced-motion:reduce){.animated-service,.animated-service:has([data-scene="wardrobe"]){min-height:0}.animated-service .service-animation,.animated-service .service-animation[data-scene="wardrobe"]{height:auto}}

.service-animation[data-scene="wardrobe"] iframe{aspect-ratio:3/2}

/* Keep the finished heading and its service list visually connected. */
.animated-service>div:last-child>.checklist{margin-top:20px}
@media(max-width:800px){
.service-animation-pin>h2{padding-bottom:0}
.animated-service>div+div{padding-top:16px}
.animated-service>div:last-child>.checklist{margin-top:0}
}

/* Keep introduction and assembly together from the first desktop scroll. */
.desktop-service-runway,.desktop-service-pin{display:contents}
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
.desktop-service-runway{display:block;position:relative;height:calc(var(--desktop-pin-height,760px) + 260svh)}
.desktop-service-runway:has([data-scene="wardrobe"]){height:calc(var(--desktop-pin-height,760px) + 340svh)}
.desktop-service-pin{display:block;position:sticky;top:97px;background:#fff;padding-bottom:20px}
.desktop-service-pin>.service-intro{padding-top:28px;padding-bottom:24px}
.desktop-service-pin>.service-intro>p:last-child{font-size:17px;line-height:1.5;max-width:760px;margin-top:18px}
.desktop-service-pin>.service-intro .eyebrow{margin-bottom:14px}
.desktop-service-pin>.detail-layout{min-height:0!important;padding-top:0;padding-bottom:0}
.desktop-service-pin>.detail-layout>div{position:relative;top:auto}
}

@media(min-width:801px) and (max-height:800px) and (prefers-reduced-motion:no-preference){
.desktop-service-pin>.service-intro{padding-block:14px}
.desktop-service-pin>.service-intro h1{font-size:clamp(2.5rem,5vw,4rem)}
.desktop-service-pin>.service-intro .eyebrow{margin-bottom:8px}
.desktop-service-pin>.service-intro>p:last-child{font-size:15px;line-height:1.4;max-width:1000px;margin-top:12px}
.desktop-service-pin .service-animation iframe,.desktop-service-pin .wall-inline-scene{max-width:calc((100svh - 310px)*1.5);margin-inline:auto}
.desktop-service-pin .detail-layout h2{font-size:32px}
.desktop-service-pin .checklist{margin-block:16px}
.desktop-service-pin .checklist li{font-size:14px;padding-block:8px}
.desktop-service-pin .button{padding-block:12px}
}
