/* Medium reading scale; section headers must never inherit the navigation layout. */
body{font-size:16px;line-height:1.65}
main .section-header,main .site-section-heading{display:block;height:auto;min-height:0;max-width:1000px;width:100%;padding:0;margin:0 0 28px;gap:0;border:0;text-align:left;align-items:normal}
.home-page .section-header{display:block;height:auto;width:100%;max-width:1000px;padding:0;border:0;margin-left:0!important;margin-right:0!important;margin-bottom:28px!important;text-align:left!important}
main .site-section-heading h2,.home-page .section-title,.home-page .home-configurator h2,.product-story h2,.product-faq h2{font-size:clamp(30px,2.7vw,39px)!important;font-weight:500!important;line-height:1.2!important;letter-spacing:-.85px!important;max-width:1000px;margin:10px 0 16px;color:#242b27}
.site-eyebrow,.home-page .section-label{font-size:13px;line-height:1.5;letter-spacing:1.2px}
.site-main-nav a,.site-service-nav a{font-size:14px}.site-header-contact>span{font-size:12px}.site-header-contact>a{font-size:16px}.site-button{font-size:15px;line-height:1.45}.site-header-cta{font-size:14px}
.site-messengers{gap:8px}.site-messengers a{width:40px;height:40px;border:0;background:transparent}.site-messengers svg{width:27px;height:27px;display:block}.site-messengers .messenger-wa{color:#159447}.site-messengers .messenger-tg{color:#248fc4}.site-messengers a:hover{background:#f0f4f1}.messenger-text-link{display:inline-flex!important;gap:9px;align-items:center}.messenger-text-link svg{width:21px;height:21px;flex-shrink:0}
.site-section-heading p,.product-hero p,.product-video-copy p,.product-story p,.product-decisions p{font-size:17px;line-height:1.75;color:#5b635e}.product-hero h1{font-size:clamp(34px,3vw,46px);line-height:1.17}.product-hero small,.product-video-copy small,.product-note,.product-points{font-size:14px;line-height:1.65}
.product-video-section{padding:26px;column-gap:30px;row-gap:20px}.product-video-section>.product-section-heading{grid-column:1/-1;margin-bottom:0}.product-video-copy{padding:0}.product-video-media{margin:0}.product-story{display:block}.product-story>.product-section-heading{margin-bottom:22px}.product-story>div:not(.product-section-heading){max-width:1000px;margin-left:0}.product-faq{max-width:none}.product-faq details{margin-left:0;max-width:1000px}.product-faq summary{font-size:20px}.product-faq details p{font-size:17px}.product-decisions h3{font-size:23px}.product-video-poster span{font-size:14px}.page-consultation>.site-section-heading{grid-column:1/-1}
.home-page{font-size:17px}.home-page main{max-width:1440px}.home-page .section-subtitle{font-size:17px;line-height:1.75;max-width:1000px;color:#626a64}.home-page .section-title{max-width:1000px}.home-page .section-header .section-title{margin-bottom:16px!important}
.home-hero{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:40px;padding:40px 0 55px}.home-hero h1{font-size:clamp(41px,4.1vw,58px);letter-spacing:-1.7px;line-height:1.07;max-width:14ch;margin-bottom:20px}.home-hero-copy>p:not(.site-eyebrow){font-size:17px;line-height:1.75;color:#5e665f;max-width:500px}.home-hero-copy>.home-hero-promise{font-size:26px!important;line-height:1.3!important;font-weight:400;color:#545d57;margin-bottom:20px}.home-hero-actions .site-button{font-size:15px;padding:15px 21px}.home-secondary{font-size:15px}.home-hero-points{font-size:13px;gap:16px}.home-hero-image{height:clamp(500px,65vh,650px);border-radius:14px}
.hero-slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .65s ease}.hero-slide.is-active{opacity:1;visibility:visible}.hero-slide img{width:100%;height:100%;object-fit:cover;display:block}.hero-slide:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#0009)}.hero-slide figcaption{position:absolute;z-index:2;left:235px;right:88px;bottom:29px;font-size:22px;line-height:1.25;color:white;font-weight:500;max-width:none}.home-hero-image:after{display:none}.hero-slider-controls{position:absolute;z-index:3;bottom:22px;left:24px;right:24px;display:flex;gap:10px;align-items:center;pointer-events:none}.hero-slider-controls button{pointer-events:auto;width:44px;height:44px;background:#fffef2;border:1px solid #fff9;color:#26332d;border-radius:50%;font:24px Inter,Arial,sans-serif;cursor:pointer}.hero-slider-controls button:focus-visible{outline:3px solid #ff8c00;outline-offset:3px}.hero-slider-dots{display:flex;gap:8px;align-items:center}.hero-slider-dots button{width:13px;height:13px;padding:0;border:1px solid white;background:transparent}.hero-slider-dots button[aria-pressed=true]{background:white}.hero-slider-controls [data-hero-pause]{margin-left:auto;font-size:17px}
.home-page .home-configurator{padding:30px;gap:22px 35px;margin:30px 0 35px}.home-configurator>.section-header{grid-column:1/-1;margin-bottom:0!important}.home-configurator-copy{padding:0}.home-configurator-copy>p:not(.site-eyebrow){font-size:17px;line-height:1.75}.home-configurator-copy>small{font-size:14px;line-height:1.65}.home-configurator ol{font-size:15px;line-height:1.5;list-style:decimal;padding-left:20px;display:block}.home-configurator li{margin-bottom:8px}.home-configurator-preview{margin:0}.home-configurator-preview>small,.configurator-preview-badge{font-size:13px}.home-page .design-services{margin-top:30px}
.home-page .system-name{font-size:25px;font-weight:500}.home-page .system-desc{font-size:16px;line-height:1.75;min-height:100px;color:#656b66}.home-page .system-tag{font-size:12px}.home-page .system-price,.home-page .system-link{font-size:15px}.home-page .system-demo-toggle{font-size:13px!important;min-height:34px;padding:6px 9px}.system-demo-status{font-size:12px!important;max-width:48%;line-height:1.35;bottom:15px}
.home-page .app-scroll-title{font-size:21px}.home-page .app-scroll-text{font-size:16px;line-height:1.6}.application-link{font-size:15px}.home-page .app-scroll-track{gap:20px;padding-right:0}.home-page .app-scroll-card{flex:0 0 calc((100% - 40px)/3)}.home-page .app-scroll-outer:after{display:none}.home-page .app-scroll-btn{align-items:center}
.home-page .specs-adv-name{font-size:19px;line-height:1.35}.home-page .specs-adv-text{font-size:16px;line-height:1.65;color:#626a64}.home-page .specs-adv-item{padding:20px}.home-page .specs-adv-grid{gap:18px}.home-page .home-benefits .specs-adv-grid{margin-top:28px}.home-page main [style*="font-size:0.78rem"],.home-page main [style*="font-size:0.8rem"]{font-size:15px!important;line-height:1.6!important}
.home-page .step-title,.home-page .design-service-title{font-size:21px}.home-page .step-text,.home-page .design-service-text{font-size:16px;line-height:1.75;color:#646b66}.home-page .design-service-action{font-size:14px}.home-page .design-renders-title,.home-page .design-comparison-title{margin-left:0;font-size:29px;max-width:1000px;line-height:1.25}.home-page .comparison-project-name{font-size:19px}.home-page .comparison-hint{font-size:14px}.home-page .img-compare-badge{font-size:13px}.home-page .faq-question{font-size:19px;line-height:1.5}.home-page .faq-answer,.home-page .faq-answer p{font-size:16px;line-height:1.75}.home-page .faq-tab-btn{font-size:15px}.home-page .cert-text{font-size:16px;line-height:1.75}.home-page .cert-title{font-size:21px}.home-page .cert-year{font-size:14px}.home-page .design-cta p{font-size:16px}
/* The approved bottom contact block and footer use their original home/site styles. */
.home-page #consultation .cta-content h2{font-size:36px;font-weight:500;line-height:1.2}.home-page #consultation .cta-content>p{font-size:15px}.home-page #consultation .cta-feature{font-size:13px}
.product-miro-roof{padding:50px 0}.miro-roof-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin:30px 0}.miro-roof-feature{border:1px solid #e2e5df;border-radius:12px;overflow:hidden;background:#fff}.miro-roof-feature img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.miro-roof-feature>div{padding:22px}.miro-roof-feature h3{font-size:24px;line-height:1.25;font-weight:500;margin:0 0 12px}.miro-roof-feature p{font-size:17px;line-height:1.75;color:#626a64;margin:0}
@media(max-width:1100px){.home-hero{gap:26px}.home-hero h1{font-size:46px}.hero-slide figcaption{left:24px;right:24px;bottom:83px;font-size:23px}.home-page .app-scroll-card{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:800px){.home-page main{padding:0 22px}.home-hero{grid-template-columns:1fr;padding-top:28px;gap:25px}.home-hero h1{font-size:44px}.home-hero-image{height:auto;aspect-ratio:4/3;min-height:320px;max-height:540px}.home-page .section-title,.home-page .home-configurator h2,main .site-section-heading h2{font-size:32px!important;line-height:1.2!important}.home-page .section,.home-page .ruf-sticky-section{padding:40px 0}.home-page .home-configurator{grid-template-columns:1fr;gap:16px;padding:24px;margin-top:25px}.home-page .system-desc{min-height:0}.home-page .design-renders-title,.home-page .design-comparison-title{font-size:27px}.product-video-section{padding:24px;gap:16px}.site-messengers a{width:38px;height:38px}.site-messengers svg{width:25px;height:25px}.home-page #consultation .cta-content h2{font-size:30px}.home-page #consultation .cta-content>p{font-size:13px}.home-page #consultation .cta-feature{font-size:12px}.miro-roof-feature-grid{grid-template-columns:1fr}}
@media(max-width:600px){.home-page .app-scroll-card{flex-basis:100%}.home-page .system-demo-status{display:none}.hero-slide figcaption{left:20px;right:20px;bottom:82px;font-size:22px}}
@media(max-width:480px){.home-page main{padding:0 18px}.home-hero h1{font-size:41px}.home-hero-copy>.home-hero-promise{font-size:24px!important}.home-hero-image{aspect-ratio:1/1}.home-page .home-configurator{padding:20px}.site-messengers{gap:3px}.home-page .section-title,.home-page .home-configurator h2,main .site-section-heading h2{font-size:30px!important}}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}}

@media(max-width:540px){
  .home-page .home-benefits .section-title{
    font-size:clamp(16px,5.6vw,30px)!important;
  }
}

.project-showcase .showcase-selector{
  display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;
}
.showcase-selector button,.showcase-detail,.showcase-enlarge{
  min-height:44px;padding:9px 15px;border:1px solid #d4d9d3;border-radius:5px;
  background:#fff;color:#292e2a;font:inherit;cursor:pointer;
}
.showcase-selector button[aria-pressed=true]{
  color:#fff;background:#252e29;border-color:#252e29;
}
.showcase-project{
  display:grid;grid-template-columns:minmax(0,2.25fr) minmax(0,1fr);
  min-height:420px;background:#f1f2ed;border:1px solid #e0e3dc;border-radius:9px;overflow:hidden;
}
.showcase-project[hidden],.showcase-detail-note[hidden]{display:none}
.showcase-photo{position:relative;overflow:hidden;min-width:0;background:#e5e9e2}
.showcase-photo img{
  display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;
  transform-origin:var(--detail-focus);transition:transform .35s ease;
}
.showcase-zoom .showcase-photo img{transform:scale(1.65)}
.showcase-enlarge{position:absolute;right:12px;bottom:12px;font-size:14px}
.showcase-copy{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  padding:clamp(18px,3vw,44px);gap:14px;
}
.showcase-copy h3{color:#242b26;font-size:clamp(24px,2.5vw,36px);font-weight:500;line-height:1.14;margin:0}
.showcase-copy p{color:#4c574f;font-size:16px;line-height:1.55;margin:0}
.showcase-copy .site-button{margin-top:5px;white-space:normal}
.showcase-detail{font-size:15px;text-align:left}
.showcase-detail[aria-expanded=true]{border-color:#995400}
@media(max-width:800px){
  .showcase-project{grid-template-columns:1fr;min-height:0}
  .showcase-photo{aspect-ratio:4/3}
}
@media(prefers-reduced-motion:reduce){
  .showcase-photo img{transition:none}
}

.roof-page-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:clamp(24px,4vw,64px);align-items:center;padding:24px 0 48px}
.roof-page-hero h1{font-size:clamp(35px,4.4vw,64px);font-weight:500;line-height:1.08;letter-spacing:-.04em;margin:0 0 21px}
.roof-page-intro p{font-size:18px;line-height:1.6;max-width:43ch;margin:0 0 22px;color:#46534c}
.roof-page figure{margin:0}
.roof-page figure img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.roof-page-hero figure img{aspect-ratio:16/9}
.roof-page figcaption{margin-top:9px;font-size:14px;color:#46534c}
.roof-materials,.roof-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.roof-materials article{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:clamp(20px,3vw,35px);background:#f1f2ed;border-radius:8px;border:1px solid #e0e3dc}
.roof-materials h3{font-size:clamp(24px,2.7vw,34px);font-weight:500;line-height:1.15;margin:0}
.roof-materials p,.roof-page-design dd{font-size:16px;line-height:1.6;margin:0;color:#46534c}
.roof-materials a{margin-top:auto}
.roof-examples figure:first-child img{object-position:50% 28%}
.roof-page-design dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0}
.roof-page-design dl div{border-top:1px solid #d4d9d3;padding-top:14px}
.roof-page-design dt{font-size:20px;font-weight:600;margin-bottom:8px}
@media(max-width:850px){
 .roof-page-hero,.roof-materials,.roof-examples,.roof-page-design dl{grid-template-columns:1fr}
 .roof-page-hero{padding:15px 0 30px}
 .roof-page-hero h1{font-size:clamp(29px,9vw,46px)}
}

.product-video-portrait{width:min(100%,420px);justify-self:center}
.product-video-media.product-video-portrait video{aspect-ratio:4/5}

#terrace-mode .price-board{
 position:sticky;top:var(--price-board-top,0px);z-index:10;
 grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:4px 20px;
 padding:12px 20px;background:#fff8ee;
}
#terrace-mode .price-board .eyebrow{grid-column:1;grid-row:1}
#terrace-mode .price-board strong{grid-column:1;grid-row:2;font-size:clamp(26px,3.4vw,48px)}
#terrace-mode .price-board .price-change{grid-column:2;grid-row:2;max-width:40ch}
.quote-group{margin-top:14px}
.quote-group h4{margin:0 0 4px}
@media(max-width:650px){
 #terrace-mode .price-board{display:grid;grid-template-columns:1fr;padding:9px 13px}
 #terrace-mode .price-board .price-change{grid-column:1;grid-row:3;font-size:11px}
}

.gazebo-views{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.gazebo-views figure{margin:0}
.gazebo-views img{display:block;width:100%;height:auto;border-radius:8px}
.gazebo-views figcaption{margin-top:8px;color:#46534c;font-size:15px}
@media(max-width:640px){.gazebo-views{grid-template-columns:1fr}}

.miro-roof-page #heated-glazing > .site-section-heading > p{max-width:64ch;margin:0}
.miro-roof-page .page-consultation{row-gap:16px}
.miro-roof-page .page-consultation > .site-section-heading{margin:0}
.miro-roof-page .page-consultation > div:not(.consultation-card) > p:first-child{margin-top:0}
@media(min-width:801px){
 .miro-roof-page #heated-glazing > .site-section-heading{
  display:grid;grid-template-columns:1fr 1fr;align-items:start;
  column-gap:clamp(24px,4vw,64px);max-width:none;
 }
 .miro-roof-page .page-consultation{grid-template-rows:min-content 1fr;align-items:start}
 .miro-roof-page .page-consultation > .site-section-heading{grid-column:1;grid-row:1}
 .miro-roof-page .page-consultation > div:not(.consultation-card){grid-column:1;grid-row:2}
 .miro-roof-page .page-consultation > .consultation-card{grid-column:2;grid-row:1 / span 2}
}


/* FIX: consultation layout 2026-11-22 */
@media (min-width: 721px) {
  .page-consultation {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-rows: min-content auto;
    column-gap: 40px;
    row-gap: 18px;
    align-items: start;
  }

  .page-consultation > .site-section-heading {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }

  .page-consultation > div:not(.consultation-card) {
    grid-column: 1;
    grid-row: 2;
  }

  .page-consultation > div:not(.consultation-card) > p:first-child {
    margin-top: 0;
  }

  .page-consultation > .consultation-card {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
  }
}
