/* Huerth opt-in. Tokens from current rm-city-pilot.css / original RM components. */
body:has(#huerth-intro) .hero-section h1{line-height:1.65!important}
#main-content .rm-huerth{padding:72px 0!important}
.rm-huerth .rm-pilot-wrap{max-width:1184px;padding:0 28px}
.rm-huerth .rm-pilot-block{min-width:0}
.rm-huerth .rm-pilot-block p,.rm-huerth .rm-pilot-block li{max-width:75ch}
.rm-huerth h2,.rm-huerth h3{overflow-wrap:break-word}
.rm-huerth-intro-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:64px;align-items:start}
.rm-huerth-intro-grid>aside{width:100%;max-width:380px;margin:10px auto 0}
.rm-huerth-detail-grid,.rm-huerth-cost-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;margin-top:36px;align-items:start}
.rm-huerth-detail-grid>article{position:relative;margin:0;padding:28px;min-width:0;background:#fff;border-radius:12px;box-shadow:0 3px 16px rgba(26,40,16,.035)}
.rm-huerth-detail-grid>article:before{content:'';position:absolute;top:0;left:28px;right:28px;height:3px;background:linear-gradient(90deg,transparent,#5A8B14,#FFCE02,transparent)}
.rm-huerth-cost-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px}
.rm-huerth-factors ul{margin-top:0}
.rm-huerth-factors li::marker,.rm-huerth-preparation li::marker{color:#5A8B14}
.rm-huerth-reading{max-width:900px}
.rm-huerth-image-band{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:start;margin-top:36px}
.rm-huerth-image-band--reverse{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.rm-huerth-image-band--reverse>.rm-huerth-editorial-photo{grid-column:2;grid-row:1}
.rm-huerth-image-band--reverse>div{grid-column:1;grid-row:1}
.rm-huerth-editorial-photo{position:relative;margin:8px 0 0;min-width:0}
.rm-huerth-editorial-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.rm-huerth-editorial-photo .rm-pilot-frame{position:relative;overflow:visible}
.rm-huerth-sensitive{margin:44px auto 0;padding-top:28px;border-top:1px solid rgba(90,139,20,.18)}
.rm-huerth-service-followup{margin:32px 0 48px}
.rm-huerth-service-followup .rm-pilot-block p,.rm-huerth-sensitive .rm-pilot-block p{max-width:90ch}
.rm-huerth-preparation .rm-huerth-editorial-photo{align-self:center}
.rm-huerth-cost{background:linear-gradient(180deg,#fff 0,#f4f9ec 80px,#f4f9ec 100%)}
.rm-huerth-process,.rm-huerth-municipal{background:linear-gradient(180deg,#f4f9ec 0,#fff 80px,#fff 100%)}
body:has(#huerth-intro) .rm-faq-section{background:#f4f9ec!important}
body:has(#huerth-intro) #kontaktformular{scroll-margin-top:110px}
body:has(#huerth-intro) .hero-section .flex.items-center.gap-3.mt-5{flex-wrap:wrap;row-gap:6px}
body:has(#huerth-intro) .hero-section .flex.items-center.gap-3.mt-5>span:first-of-type{white-space:nowrap;flex-shrink:0}
body:has(#huerth-intro) .rm-widget-fullbleed{margin-bottom:0}
/* Same accepted paired carousel on Mira's light-green surface, scoped to Huerth. */
body:has(#huerth-intro) .rm-huerth-cta-trust-carousel{padding:72px 0!important}
body:has(#huerth-intro) .rm-huerth-cta-trust-carousel>div[style*="position:absolute"],body:has(#huerth-intro) .rm-huerth-cta-trust-particles{display:none}
body:has(#huerth-intro) .rm-huerth-cta-trust-header h2{color:#202020}
body:has(#huerth-intro) .rm-huerth-cta-trust-header h2 span{background:linear-gradient(90deg,#5A8B14,#416310)}
body:has(#huerth-intro) .rm-huerth-cta-trust-header p{color:#42483d}
body:has(#huerth-intro) .rm-huerth-cta-trust-eyebrow strong{color:#5A8B14}
body:has(#huerth-intro) .rm-huerth-cta-trust-eyebrow span{background:#5A8B14}
body:has(#huerth-intro) .rm-huerth-cta-trust-card{border-color:rgba(90,139,20,.2);background:#fff;box-shadow:0 8px 28px rgba(26,40,16,.08)}
body:has(#huerth-intro) .rm-huerth-cta-trust-caption{border-color:rgba(90,139,20,.2)}
body:has(#huerth-intro) .rm-huerth-cta-trust-caption p{color:#202020}
body:has(#huerth-intro) .rm-huerth-cta-trust-pair img{aspect-ratio:3/4;object-fit:contain}
@media(max-width:1023px){.rm-huerth-intro-grid{gap:36px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}}
@media(max-width:900px){
 .rm-huerth-image-band,.rm-huerth-image-band--reverse{grid-template-columns:1fr;gap:28px}
 .rm-huerth-image-band--reverse>.rm-huerth-editorial-photo,.rm-huerth-image-band--reverse>div{grid-column:auto;grid-row:auto}
 .rm-huerth-editorial-photo{width:100%;max-width:650px;margin:8px auto 0}
}
@media(max-width:767px){
 #main-content .rm-huerth,body:has(#huerth-intro) .rm-huerth-cta-trust-carousel{padding:48px 0!important}
 .rm-huerth .rm-pilot-wrap{padding-left:24px;padding-right:24px}
 .rm-huerth-intro-grid,.rm-huerth-detail-grid,.rm-huerth-cost-grid{grid-template-columns:1fr;gap:30px}
 .rm-huerth-intro-grid>aside{max-width:360px;margin:8px auto 0}
 .rm-huerth-detail-grid>article{padding:24px 20px}
 .rm-huerth-detail-grid>article:before{left:20px;right:20px}
 .rm-huerth-image-band{margin-top:30px}
}
