/* v6.5: requested image alignment, quieter surfaces and larger original branding. */
.head-inner{min-height:108px;padding-block:8px}
.brand{gap:16px}.brand img{width:81px;height:88px;object-fit:contain;mix-blend-mode:normal}
.brand strong{font-size:1.9rem}.brand small{font-size:10px}
.nav a.nav-contact[aria-current=page]{color:#fff;border-color:#213a30}
.about-opening:before{display:none}.about-opening{background:none}
.about-page main{background:#f3f5ed}
.about-page .gallery-section{background:none}

/* Both genuine work photos share the same right-hand column and frame. */
.service-details .heat-feature,.service-details .service-duo{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:56px;align-items:center;padding:36px;border-radius:9px}
.service-details .heat-feature{min-height:0}
.service-details .feature-copy{padding:0}
.service-details .service-duo{margin-top:32px;row-gap:28px;background:#e8ede5}
.service-details .service-duo article{grid-column:1;padding:0}
.service-details .service-duo article:nth-of-type(2){grid-row:2}
.service-details .service-duo figure{grid-column:2;grid-row:1/3;align-self:center}
.service-details .feature-image,.service-details .service-duo figure{margin:0;min-height:0;height:auto;overflow:hidden;border:1px solid #c7cfc2;border-radius:5px;background:#f8f9f3}
.service-details .feature-image img,.service-details .service-duo img{display:block;position:static;width:100%;height:360px;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;transform:none!important}
.service-details .feature-image figcaption,.service-details .service-duo figcaption{position:static;padding:16px 18px;margin:0;background:#f8f9f3;color:#3c5144;font-size:.75rem;line-height:1.6;min-height:72px;border-top:1px solid #d7ded0}
.service-details .feature-image figcaption span{display:none}
.service-details .service-duo h3{margin-bottom:15px}
.service-details .service-duo p{margin-bottom:0}

/* Reuse the existing illustration; opaque form surfaces preserve contrast. */
.contact-page main{position:relative;isolation:isolate;background:#f3f5ed}
.contact-page main:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#f3f5edeb 0%,#f3f5edcc 42%,#f3f5ed91 100%),url('assets/rohbau-gebaeudetechnik-v6.webp') center top/auto 100% no-repeat}
.contact-page .contact-intro{position:relative;background:none}
.contact-page .contact-intro .lead{color:#344b3e}
.contact-page .contact-aside{background:#e7ece2}
.contact-page .wizard{background:#fffefa;box-shadow:0 15px 45px #213a3012}
.contact-page .location-section{background:#e4eae2}

@media(max-width:1100px){
 .service-details .heat-feature,.service-details .service-duo{column-gap:30px;padding:28px}
 .service-details .feature-image img,.service-details .service-duo img{height:330px}
}
@media(max-width:850px){
 .head-inner{min-height:98px}.brand img{width:72px;height:78px}.brand strong{font-size:1.8rem}
 .nav.open{top:100%}
 .service-details .heat-feature,.service-details .service-duo{column-gap:24px;padding:24px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
 .service-details .feature-image img,.service-details .service-duo img{height:310px}
 .contact-page main:before{background-position:center top;background-size:auto 100%;opacity:.8}
}
@media(max-width:600px){
 .head-inner{min-height:92px;padding-block:6px;gap:12px}.brand{gap:11px}.brand img{width:66px;height:72px}.brand strong{font-size:1.55rem}.brand small{font-size:8px}
 .menu{min-height:44px}
 .service-details .heat-feature,.service-details .service-duo{grid-template-columns:minmax(0,1fr);padding:24px 20px;gap:28px}
 .service-details .service-duo article,.service-details .service-duo figure,.service-details .service-duo article:nth-of-type(2){grid-column:1;grid-row:auto;margin:0}
 .service-details .service-duo figure{grid-row:3}
 .service-details .feature-image img,.service-details .service-duo img{height:280px}
 .service-details .feature-image figcaption,.service-details .service-duo figcaption{font-size:.72rem;min-height:72px;padding:13px 14px}
 .contact-page main:before{background-position:58% top;background-size:auto 100%;opacity:.65}
}
@media(max-width:380px){.brand{gap:8px}.brand img{width:61px;height:67px}.brand strong{font-size:1.45rem}.brand small{font-size:7px}}
