/* ZukunftsSolar – Mobile Premium-Ansicht (Smartphones, bis 760 px)
   Wird nur bei (max-width:760px) geladen (siehe <link media> im Seitenkopf). Desktop und Tablet über 760 px bleiben unberührt.
   Gleiches Designsystem „Morgenlicht Graphit“: dieselben Farben, Schriften und Logo – nur Anordnung, Größen, Abstände und Rhythmus sind mobil neu gedacht. */

/* ---------- 0 · Grundmaß und Rhythmus ---------- */
:root{--hh:60px;--pad:20px;--m-gap:clamp(52px,14vw,68px);--m-r:10px}
html{scroll-padding-top:var(--hh)}
body{font-size:16px;line-height:1.58;-webkit-tap-highlight-color:rgba(47,107,77,.14)}
section[id]{scroll-margin-top:var(--hh)}
.section{padding:var(--m-gap) 0}
.section--tight{padding:40px 0}
.section-head{margin-bottom:28px}
.section-head .lead{margin-top:1rem}
h1{font-size:clamp(2.1rem,9.4vw,2.7rem);letter-spacing:-.032em;line-height:1.05}
h2{font-size:clamp(1.78rem,7.6vw,2.15rem);letter-spacing:-.03em;line-height:1.08}
h3{font-size:1.22rem}
.lead{font-size:1.05rem;line-height:1.55}
.eyebrow{font-size:.84rem;margin-bottom:.9rem;gap:.6rem}.eyebrow:before{width:22px}
.btn{min-height:54px;padding:.95rem 1.35rem;font-size:1rem;border-radius:var(--m-r)}
.btn--sm{min-height:46px;font-size:.92rem}
.btn--lg{min-height:58px}
.fine{font-size:.8rem;line-height:1.5}
p{margin-bottom:.9em}
img,video{-webkit-user-drag:none}
/* Rechtlich und fachlich notwendige Hinweise bleiben vollständig, werden aber ruhiger gesetzt */
:focus-visible{outline-offset:2px}

/* ---------- 1 · Kopfbereich und Menü ---------- */
.site-header.is-hidden{transform:none}                            /* Navigation und Logo sind jederzeit erreichbar */
.site-header.is-solid{background:rgba(248,248,246,.94);box-shadow:0 1px 0 rgba(22,25,28,.08)}
.nav{gap:8px}
.brand img{height:32px}
.nav-cta{gap:6px}
.nav-cta .btn{display:none}
.nav-tel{width:44px;height:44px;justify-content:center;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(22,25,28,.16);transition:background .2s}
.nav-tel svg{width:19px;height:19px}
.on-hero:not(.is-solid) .nav-tel{box-shadow:inset 0 0 0 1px rgba(255,255,255,.34)}
.burger{width:44px;height:44px;border-radius:50%}
.burger span,.menu-open .burger span{background:transparent!important}
.burger span{top:21px}
.burger span:before,.burger span:after{left:11px;width:22px;height:2px;border-radius:2px;top:auto}
.burger span:before{top:-4px}.burger span:after{top:4px}
.menu-open .burger span:before{transform:translateY(4px) rotate(45deg)}
.menu-open .burger span:after{transform:translateY(-4px) rotate(-45deg)}
.menu-open{overflow:hidden}
.menu-open body{overflow:hidden}

.nav-links{inset:auto;top:var(--hh);left:0;right:0;bottom:auto;height:calc(100vh - var(--hh));height:calc(100dvh - var(--hh));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  background:var(--paper);box-shadow:none;padding:6px var(--pad) calc(26px + env(safe-area-inset-bottom));gap:0;
  transform:translateY(-8px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .26s,transform .38s var(--ease),visibility 0s .38s}
.menu-open .nav-links{opacity:1;transform:none;visibility:visible;pointer-events:auto;transition:opacity .26s,transform .38s var(--ease),visibility 0s}
.nav-links{display:flex;flex-flow:row wrap;align-content:flex-start}
.nav-links li{list-style:none;flex:0 0 100%}
.nav-links a,.on-hero:not(.is-solid) .nav-links a{display:flex;align-items:center;justify-content:space-between;padding:1rem 0;font:500 1.42rem/1.15 var(--display);letter-spacing:-.022em;color:var(--ink);border-bottom:1px solid var(--line);min-height:62px}
.nav-links a:after{content:"";width:9px;height:9px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);opacity:.35;margin-right:4px}
.nav-links a[aria-current]{color:var(--sage-d)}.nav-links a[aria-current]:after{opacity:.9}
.nav-links a[aria-current]:before{display:none}
.nav-links a[aria-current]:after{position:static;height:9px;left:auto;right:auto;bottom:auto;background:none}
.nav-m[hidden]{display:block}
.nav-m--sub{display:block!important;flex:0 0 auto!important}
.nav-m--sub a,.on-hero:not(.is-solid) .nav-m--sub a{display:inline-flex;font:500 .98rem/1.2 var(--font);letter-spacing:0;color:var(--ink2);border:0;padding:.35rem 0;min-height:44px;margin-right:1.2rem;text-decoration:underline;text-decoration-color:rgba(22,25,28,.25);text-underline-offset:4px}
.nav-m--sub a:after{display:none}
.nav-m--sub:first-of-type{margin-top:.7rem}
.nav-m--cta{display:block!important;margin-top:1.4rem;padding-top:1.4rem;border-top:1px solid var(--line)}
.nav-links .nav-m--cta a.btn{display:flex;justify-content:center;font:600 1.02rem/1.2 var(--font);letter-spacing:0;color:#fff;border:1.5px solid var(--sage-d);padding:1rem 1.2rem;min-height:58px}
.nav-links .nav-m--cta a.btn:after{display:none}
.nav-links .nav-m--cta a.nav-m__tel{justify-content:center;gap:.6rem;border:0;margin-top:.4rem;font:500 1.08rem/1 var(--font);letter-spacing:0;min-height:56px;color:var(--ink)}
.nav-links .nav-m--cta a.nav-m__tel:after{display:none}
.menu-open .nav-links li{animation:mIn .5s var(--ease) both}
.menu-open .nav-links li:nth-child(2){animation-delay:.03s}.menu-open .nav-links li:nth-child(3){animation-delay:.06s}.menu-open .nav-links li:nth-child(4){animation-delay:.09s}
.menu-open .nav-links li:nth-child(5){animation-delay:.12s}.menu-open .nav-links li:nth-child(6){animation-delay:.15s}.menu-open .nav-links li:nth-child(7){animation-delay:.18s}.menu-open .nav-links li:nth-child(n+8){animation-delay:.22s}
@keyframes mIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---------- 2 · Hero ---------- */
.hero:not(.hero--static){height:282vh}                              /* kürzere Scroll-Strecke, gleiche Choreografie */
.hero__title{font-size:clamp(1.95rem,8.6vw,2.55rem);max-width:none}
.hero__sub{font-size:1.02rem;line-height:1.52;margin:1rem 0 1.4rem;max-width:30rem}
.hero__tel{margin-top:1.1rem;font-size:.95rem}
.scene__txt{padding-bottom:clamp(40px,7vh,64px)}
.cap{bottom:clamp(44px,7vh,64px)}
.scene--1 .cap,.scene--2 .cap,.sub .cap{bottom:clamp(44px,7vh,64px)}
.cap h2{font-size:clamp(1.75rem,7.8vw,2.2rem)}
.cap .k{font-size:.84rem;margin-bottom:.7rem}
.cap p{font-size:1rem;line-height:1.55}
.hero .btn-row .btn{min-height:56px;border-radius:var(--m-r)}
.hero__prog{height:3px}
.scene__tag{bottom:12px;font-size:.7rem}

/* ---------- 3 · Sticky-Leiste: Angebot und Anruf ---------- */
.sticky-cta{left:12px;right:12px;gap:8px;padding:0}
.sticky-cta a{min-height:54px;display:flex;align-items:center;justify-content:center;border-radius:var(--m-r);font-size:.98rem;padding:.8rem 1rem;box-shadow:0 14px 34px -12px rgba(0,0,0,.5)}
.sticky-cta .a1{background:var(--sage-d)}
.sticky-cta .a2{padding:.8rem 1.3rem;border:1.5px solid rgba(22,25,28,.12)}

/* ---------- 4 · Vertrauensleiste ---------- */
.trust{padding:30px 0 26px}
.trust .wrap{row-gap:22px}

/* ---------- 5 · Autarkiegrad-Rechner ---------- */
#rechner:has(+#beispielangebot){padding-bottom:36px}
#rechner+#beispielangebot{padding-bottom:var(--m-gap)}
.ec2{border-radius:18px;box-shadow:0 26px 56px -30px rgba(20,24,27,.45)}
.ec2__in{padding:24px 18px 26px}
.ec2__out{padding:24px 18px 22px;gap:16px}
.ec2__h{font-size:1.28rem;margin-bottom:22px}
.ec2__f{margin-bottom:24px}
.ec2__row{align-items:flex-end;margin-bottom:6px}
.ec2__row label{font-size:.98rem;line-height:1.25;max-width:9.5rem}
.ec2__row output{font-size:1.65rem;letter-spacing:-.02em}
.ec2 input[type=range]{height:44px}
.ec2 input[type=range]::-webkit-slider-runnable-track{height:8px}
.ec2 input[type=range]::-webkit-slider-thumb{width:32px;height:32px;margin-top:-12px;box-shadow:0 3px 10px rgba(20,24,27,.3)}
.ec2 input[type=range]::-moz-range-thumb{width:28px;height:28px}
.ec2__f small{font-size:.84rem}
.ec2__lbl{font-size:.98rem;margin-bottom:10px}
.ec2__togs{grid-template-columns:1fr;gap:10px}
.ec2__tog{min-height:64px;padding:14px 16px;font-size:1rem;border-radius:12px;gap:14px}
.ec2__tog svg{width:26px;height:26px}
.ec2__tog i{width:26px;height:26px}
.ec2__more{display:flex;width:100%;justify-content:space-between;min-height:56px;padding:0 16px;margin-top:2px;background:#fff;border:1.5px solid var(--line);border-radius:12px;font-size:1rem;text-decoration:none;color:var(--ink);text-align:left}
.ec2__more[aria-expanded=true]{border-color:var(--sage-d)}
.ec2__more-in{margin-top:20px;padding-top:20px}
.ec2 .chips{gap:8px}
.ec2 .chips button{min-height:52px;font-size:.96rem;border-radius:10px;flex:1 1 calc(50% - 8px)}
.ec2 .chips[data-ec=st] button{flex:1 1 calc(50% - 8px)}
.ec__roof .num{max-width:none;min-height:54px;font-size:1.05rem;border-radius:10px}
.ec2__grid{gap:12px}
.ec2__k{padding:18px 18px 16px;border-radius:12px}
.ec2__k small{font-size:.86rem}
.ec2__k b{font-size:1.65rem}
.ec2__k--aut b{font-size:3.3rem;letter-spacing:-.03em}
.ec2__k--aut b span{font-size:.5em}
.ec2__bar{height:10px}
.ec2__k--main b{font-size:3rem}
.ec2__lead{font-size:1.06rem}
.ec2__fine,.ec2__cta p{font-size:.86rem}
.ec2__cta .btn{min-height:58px}
.ec2__dl{grid-template-columns:minmax(0,1fr);gap:12px}
.ec2__dl dd{font-size:1.08rem}
.ec2__det{margin-top:16px}
.ec2__det summary{min-height:48px;display:flex;align-items:center}

/* ---------- 6 · Beispielangebot ---------- */
.offer{padding:var(--m-gap) 0}
.offer__card{border-radius:18px}
.offer__vis{padding:22px 18px 18px;gap:14px}
.offer__fig img{height:clamp(130px,40vw,190px)}
.offer__fig figcaption{font-size:.8rem}
.offer__tag{font-size:.74rem}
.offer__body{padding:24px 18px 26px}
.offer__body h2{font-size:clamp(1.8rem,7.8vw,2.15rem);margin-bottom:.6rem}
.offer__body .lead{font-size:1.02rem;margin-bottom:1.2rem}
.offer__eq{margin-bottom:1.3rem;gap:0}
.offer__eq li{padding:12px 0;grid-template-columns:38px 1fr;gap:12px}
.offer__price{padding:22px 20px;border-radius:12px;margin-bottom:1rem}
.offer__pv-num{font-size:clamp(3.3rem,16vw,4.2rem)}
.offer__cta{margin-bottom:1.2rem}
.offer__cta .btn{width:100%;min-height:60px;font-size:1.04rem;border-radius:12px;box-shadow:0 16px 30px -16px rgba(47,107,77,.7)}
.offer__scope{font-size:.9rem}
.offer__legal{font-size:.78rem}

/* ---------- 7 · Wisch-Karussells (Galerie, Referenzfilter, Bewertungen) ---------- */
.filters{flex-wrap:nowrap;overflow-x:auto;gap:0 24px;margin-left:calc(var(--pad)*-1);margin-right:calc(var(--pad)*-1);padding:0 var(--pad);scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;margin-bottom:22px}
.filters::-webkit-scrollbar{display:none}
.filters button{flex:0 0 auto;white-space:nowrap;min-height:48px}
#galerie .rgrid{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin-left:calc(var(--pad)*-1);margin-right:calc(var(--pad)*-1);padding:0 var(--pad) 10px;scroll-padding-left:var(--pad);scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
#galerie .rgrid::-webkit-scrollbar{display:none}
#galerie .rcard{flex:0 0 84%;scroll-snap-align:start}
#galerie .rcard.hide{display:none}
#galerie .rcard.reveal,#bewertungen .rev.reveal{opacity:1;transform:none}
#galerie .rcard__btn{border-radius:var(--m-r)}
#galerie .rcard h3{font-size:1.02rem;line-height:1.3}
#galerie .rcard figcaption b{font-size:1.35rem}
#bewertungen .rev-grid{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin-left:calc(var(--pad)*-1);margin-right:calc(var(--pad)*-1);padding:0 var(--pad) 12px;scroll-padding-left:var(--pad);scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
#bewertungen .rev-grid::-webkit-scrollbar{display:none}
#bewertungen .rev{flex:0 0 86%;scroll-snap-align:start;border:1px solid var(--line);border-radius:14px;background:#fff;padding:24px 20px 22px;gap:16px;justify-content:space-between}
#bewertungen .rev:first-child blockquote,#bewertungen .rev blockquote{font-size:1.08rem;line-height:1.6}

/* ---------- 8 · Dachanalyse, Produkte, Sigenergy: kompakter ---------- */
.ra:not(.ra--static){height:195vh}
.product{gap:22px;padding:30px 0}
.product__img{min-height:0;padding:22px 18px;border-radius:var(--m-r)}
.product__img img{max-height:230px}
.product__img--duo img:first-child{height:150px}
.product__img--duo img:last-child{width:170px}
.bigstat{margin:1.3rem 0;gap:28px}
.sg__head{padding-top:var(--m-gap)}
.sg__ch{padding:32px 0;gap:16px}
.sg__after{padding-bottom:var(--m-gap)}
.sg__txt h3{font-size:clamp(1.55rem,7vw,1.9rem)}
.sg__ul li,.sg__ol li{font-size:1rem}
.sg__cta{padding-top:28px}

/* ---------- 9 · Weitere Abschnitte ---------- */
.eigentum__list li,.mw__fine{font-size:.95rem}
.rev-head{margin-bottom:22px;gap:14px}
.rev-score{margin-bottom:0}

/* ---------- 10 · Fußbereich ---------- */
.footer{padding:52px 0 96px}
.footer .grid{grid-template-columns:1fr 1fr;gap:34px 18px}
.footer .grid>div:nth-child(-n+2){grid-column:1/-1}
.footer .grid>div:nth-child(2) ul{columns:1}
.footer ul li{margin:0}.footer ul li a{display:flex;align-items:center;padding:0;min-height:44px;line-height:1.3}
.footer .fh{margin-bottom:8px}
.footer .legal-line{margin-top:34px;padding-top:20px}

/* ---------- 2b · Hero: Speicher-Szene (Produkt oberhalb des Textes halten) ---------- */
.hero:not(.hero--static) .sub--a .layer--fg>*{transform:translateY(-11%) scale(.9);transform-origin:50% 25%}

/* ---------- 11 · Überlauf-Absicherung bei sehr schmalen Geräten ---------- */
.fpl__s,.fpl__card{min-width:0}
.fpl__card{overflow-wrap:anywhere}
.kpi{min-width:0;padding:16px 14px 14px}
.kpi b{font-size:clamp(1.3rem,6.4vw,1.6rem);overflow-wrap:anywhere}
.kpi.main b{font-size:clamp(2rem,10vw,2.6rem)}
.calc input[type=range]{height:44px}
.calc input[type=range]::-webkit-slider-runnable-track{height:8px}
.calc input[type=range]::-webkit-slider-thumb{width:30px;height:30px;margin-top:-11px}
.calc input[type=range]::-moz-range-thumb{width:26px;height:26px}
.chips button{min-height:52px}
