/* Krapf Metallbau: half-width photographs, alternating copy and a quiet white page. */
.service-intro{padding-block:96px 128px}
.service-intro .lead{margin-top:56px;max-width:1100px}
.service-feature{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;scroll-margin-top:calc(var(--header-height) + 20px)}
.service-feature+.service-feature{margin-top:128px}
.service-feature--reverse>.service-media{grid-column:2;grid-row:1}
.service-feature--reverse>.service-copy{grid-column:1;grid-row:1;padding-inline:0 32px}
.service-media{display:block;position:relative;min-width:0}
.service-media>img{width:100%;aspect-ratio:3/2;object-fit:cover}
.service-expand{position:absolute;right:0;bottom:0;display:grid;place-items:center;width:44px;height:44px;background:rgb(0 0 0/.35);color:#fff;transition:background var(--duration) var(--ease)}
.service-expand svg{width:27px;height:27px}
.service-media:hover .service-expand,.service-media:focus-visible .service-expand{background:var(--color-red)}
.service-copy{min-width:0;padding-left:32px}
.service-copy h2,.service-reference-heading h2{font-size:35px;line-height:1.2}
.service-copy p{margin-top:24px}
.service-copy ul{list-style:none;padding:0;margin:24px 0 0}
.service-copy li{position:relative;padding-left:18px;margin-top:20px}
.service-copy li::before{content:'–';position:absolute;left:0}
.service-references{padding-block:128px}
.service-reference-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:48px}
.service-reference-heading>div{max-width:650px}
.service-reference-heading p{margin-top:32px}
.service-reference-heading .button{flex-shrink:0}
.service-reference-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:96px;align-items:start}
.service-reference-gallery img{width:100%;aspect-ratio:852/766;object-fit:cover}
.service-image-dialog:not([open]){display:none}
.service-image-dialog{border:0;max-width:min(1328px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:64px 24px 24px;background:var(--color-paper);color:var(--color-ink);overflow:auto}
.service-image-dialog::backdrop{background:rgb(0 0 0/.8)}
.service-image-dialog>img{display:block;max-width:100%;max-height:calc(100dvh - 190px);width:auto;height:auto;object-fit:contain;margin:auto}
.service-image-dialog>p{font-size:16px;margin-top:20px}
.service-image-close{position:absolute;right:12px;top:10px;display:grid;place-items:center;width:44px;height:44px;background:transparent}
.service-image-close svg{width:26px;height:26px}
.service-image-close:hover{color:var(--color-red)}
body.service-image-open{overflow:hidden}
@media(max-width:760px){
 .service-intro{padding-block:64px 80px}
 .service-intro .lead{margin-top:48px}
 .service-feature{display:flex;flex-direction:column;gap:32px}
 .service-feature+.service-feature{margin-top:80px}
 .service-media,.service-copy{width:100%}
 .service-copy,.service-feature--reverse>.service-copy{padding:0}
 .service-copy h2,.service-reference-heading h2{font-size:28px}
 .service-references{padding-block:96px 80px}
 .service-reference-heading{flex-direction:column;gap:32px}
 .service-reference-heading p{margin-top:24px}
 .service-reference-heading .button{font-size:16px}
 .service-reference-gallery{grid-template-columns:1fr;gap:32px;margin-top:64px}
 .service-image-dialog{padding:60px 16px 20px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 .service-image-dialog>img{max-height:calc(100dvh - 220px)}
}
