@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* Helles Design – angelehnt an die gut rankenden Solar-Shops (weiß/warmes Off-White, Sonnengelb als Aktion). */
:root {
  --bg: #ffffff; --bg-2: #f6f5f0; --panel: #ffffff; --panel-2: #f3f2ec; --line: #e6e3da; --line-2: #d6d2c6;
  --text: #1e2a24; --text-2: #46514c; --muted: #58625d;
  --cta: #ffc629; --cta-hover: #ffb800; --cta-text: #1e2a24;
  --green: #1f6f4a; --green-soft: #e8f4ed; --warn: #9a5b00; --warn-soft: #fdf1dc; --bad: #b42318;
  --series-1: #2a78d6;
  --radius: 16px; --shadow: 0 1px 2px rgba(30, 42, 36, .05), 0 8px 28px rgba(30, 42, 36, .07);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
img, svg, canvas { max-width: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--green); }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.muted { color: var(--muted); }
.small { font-size: .87rem; }
.mt { margin-top: 1rem; } .mt2 { margin-top: 2rem; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { min-height: 60px; }
.logo { display: flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-size: 1.05rem; }
.logo-sun { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 38% 38%, #ffe07a, var(--cta)); box-shadow: 0 0 0 5px #fff3c4; }
.trust { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: .85rem; color: var(--text-2); }
.trust i.ok { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: var(--green); margin-right: 6px; vertical-align: -3px; position: relative; }
.trust i.ok::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.toplink { font-weight: 600; text-decoration: none; }
.devnote { background: var(--warn-soft); color: var(--warn); font-size: .85rem; padding: 8px 16px; text-align: center; }

.hero { background: radial-gradient(1200px 500px at 85% -10%, #fff1c2 0%, transparent 60%), linear-gradient(180deg, var(--bg-2), var(--bg)); padding: 3.4rem 0 1.6rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 650; letter-spacing: .02em; color: var(--green); background: var(--green-soft); border-radius: 99px; padding: 4px 12px; margin-bottom: .8rem; }
.hero h1 { font-size: clamp(1.75rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; }
.hero .hl { background: linear-gradient(transparent 60%, #ffe58a 60%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero p { color: var(--text-2); font-size: clamp(1rem, 1.6vw, 1.12rem); max-width: 620px; margin: .8rem 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.btn.big { padding: 13px 22px; font-size: 1rem; }
.hero-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 8px; }
.hero-points li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: .95rem; }
.hero-points svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; background: var(--green-soft); border-radius: 7px; padding: 3px; box-sizing: content-box; }
.hero-art { position: relative; }
.hero-art img { width: 100%; height: auto; display: block; border-radius: 28px; box-shadow: 0 18px 40px rgba(30, 42, 36, .18); }
.hero-art .chip { position: absolute; right: 3%; top: 7%; background: #fff; border: 1px solid #efe6da; border-radius: 14px; padding: 9px 14px; display: flex; flex-direction: column; box-shadow: 0 8px 22px rgba(30, 42, 36, .14); animation: float 5s ease-in-out infinite; }
.hero-art .chip span { font-size: .75rem; color: #6e7873; }
.hero-art .chip b { font-size: 1rem; font-weight: 800; color: #1e2a24; }
.hero-art .chip b.ok { color: #1f6f4a; }
.hero-art .chip2 { top: auto; bottom: 6%; animation-delay: -2.5s; }
@media (max-width: 520px) { .hero-art .chip { padding: 6px 10px; border-radius: 11px; } .hero-art .chip span { font-size: .66rem; } .hero-art .chip b { font-size: .84rem; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art .chip, .wz-main.enter { animation: none !important; } }
.steps-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 2.6rem; }
.steps-strip > div { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.steps-strip b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--cta); display: grid; place-items: center; font-weight: 800; }
.steps-strip span { font-size: .86rem; color: var(--muted); line-height: 1.4; min-width: 0; }
.steps-strip strong { display: block; color: var(--text); font-size: .95rem; }
.section-head { max-width: 760px; margin-bottom: 1.8rem; }
.section-head h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.015em; }
.section-head p { margin: .4rem 0 0; }

/* Wizard */
.wizard { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); margin-top: 2.4rem; overflow: hidden; }
.progress { display: flex; list-style: none; margin: 0; padding: 14px 18px 0; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.progress li { flex: 1 0 auto; min-width: 82px; font-size: .78rem; color: var(--muted); padding: 0 2px 10px; border-bottom: 4px solid var(--line); cursor: pointer; white-space: nowrap; }
.progress li b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--panel-2); color: var(--text-2); font-size: .72rem; margin-right: 5px; }
.progress li.done { border-color: var(--green); color: var(--text-2); }
.progress li.done b { background: var(--green); color: #fff; }
.progress li.on { border-color: var(--cta); color: var(--text); font-weight: 700; }
.progress li.on b { background: var(--cta); color: var(--cta-text); }
.wz-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; padding: 22px 24px 8px; }
.wz-body.full { grid-template-columns: minmax(0, 1fr); }
.wz-body.full .wz-side { display: none; }
.wz-main h2 { margin-bottom: .3rem; }
.wz-main .lead { color: var(--text-2); margin: 0 0 1rem; }
.wz-side { position: sticky; top: 80px; align-self: start; }
.view3d { position: relative; height: 430px; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #cfe5f8 0%, #eef5fb 62%, #f6f4ee 100%); border: 1px solid var(--line); }
.view3d canvas { width: 100% !important; height: 100% !important; display: block; cursor: grab; }
.v-hint { position: absolute; left: 10px; bottom: 10px; font-size: .75rem; color: #34404e; background: rgba(255, 255, 255, .88); padding: 3px 9px; border-radius: 99px; pointer-events: none; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.kpi { background: var(--bg-2); border-radius: 12px; padding: 9px 11px; min-width: 0; }
.kpi svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; margin-bottom: 4px; }
.kpi-sun svg { color: #d99a00; } .kpi-euro svg { color: var(--green); } .kpi-bat svg { color: #2a78d6; } .kpi-leaf svg { color: #34a36d; }
.kpi b { display: block; font-size: 1.2rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.kpi span { font-size: .74rem; color: var(--muted); line-height: 1.3; display: block; }
.wz-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); background: var(--bg-2); position: sticky; bottom: 0; z-index: 5; }

.wz-head { padding: 16px 24px 0; }
.wz-title { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; color: var(--text-2); margin-bottom: 8px; }
.wz-title b { color: var(--text); }
.wz-bar { height: 8px; background: var(--panel-2); border-radius: 99px; overflow: hidden; }
.wz-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), #34a36d); border-radius: 99px; transition: width .35s ease; }
.progress { padding-top: 10px; }
.wz-main.enter { animation: stepIn .28s ease-out; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Fragen & Kacheln */
.q { margin: 1.1rem 0 .4rem; font-weight: 650; }
.q small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 8px 8px 0 0; }
.tiles.wide { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tile { position: relative; text-align: left; font: inherit; color: var(--text); background: var(--panel); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; min-width: 0; overflow-wrap: break-word; hyphens: auto; cursor: pointer; transition: border-color .12s, box-shadow .12s, transform .12s; display: flex; flex-direction: column; gap: 4px; }
.tile:hover { border-color: var(--line-2); box-shadow: 0 4px 14px rgba(30, 42, 36, .08); transform: translateY(-1px); }
.tile.on { border-color: var(--green); background: var(--green-soft); }
.tile.on::after { content: "✓"; position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; box-shadow: 0 0 0 3px var(--panel); border-radius: 50%; background: var(--green); color: #fff; font-size: .75rem; display: grid; place-items: center; font-weight: 700; }
.tile svg { width: 44px; height: 34px; color: var(--text-2); }
.tile.on svg { color: var(--green); }
.tile b { font-weight: 650; font-size: .95rem; }
.tile span { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.compass { display: grid; grid-template-columns: repeat(3, 64px); gap: 8px; }
.compass .tile { padding: 10px 0; align-items: center; justify-content: center; font-weight: 700; }
.compass .tile.on::after { display: none; }
.c-mid { display: grid; place-items: center; color: var(--muted); font-size: .75rem; text-align: center; }
.slider { display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: center; }
.slider input[type=range] { width: 100%; height: 28px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.slider input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--green) var(--p, 50%), var(--panel-2) var(--p, 50%)); }
.slider input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: var(--panel-2); }
.slider input[type=range]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--green); }
.slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: #fff; border: 3px solid var(--green); box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.slider input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.slider input[type=range]:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 8px; }
.num { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.num input { width: 100%; border: 0; padding: 8px 6px 8px 10px; font: inherit; font-weight: 650; color: var(--text); background: transparent; font-variant-numeric: tabular-nums; }
.num span { padding: 0 10px 0 2px; color: var(--muted); font-size: .85rem; }
input[type=text], input[type=number].field { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--text); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.stepper button { font: inherit; font-size: 1.2rem; width: 44px; height: 44px; border: 0; background: var(--panel-2); cursor: pointer; color: var(--text); }
.stepper b { min-width: 120px; text-align: center; font-variant-numeric: tabular-nums; }
.pro { margin-top: 1rem; border: 1px dashed var(--line-2); border-radius: 12px; padding: 0 14px; }
.pro summary { cursor: pointer; padding: 10px 0; font-size: .88rem; color: var(--text-2); font-weight: 600; }
.pro[open] { padding-bottom: 12px; }
.callout { background: var(--bg-2); border-radius: 12px; padding: 11px 14px; font-size: .9rem; color: var(--text-2); margin-top: 1rem; }
.callout b { color: var(--text); }
.callout.warn { background: var(--warn-soft); color: var(--warn); }
.callout.good { background: var(--green-soft); color: var(--green); }

.btn { font: inherit; font-size: .95rem; font-weight: 650; border: 1.5px solid var(--line-2); background: var(--panel); color: var(--text); padding: 10px 18px; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn.cta { background: var(--cta); border-color: var(--cta); color: var(--cta-text); font-weight: 750; }
.btn.cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.btn.ghost { background: transparent; }
.btn.small { padding: 7px 13px; font-size: .86rem; }
.btn:disabled { opacity: .4; cursor: default; }

/* Ergebnis */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.box.soft { background: var(--bg-2); border-color: transparent; }
.box.sunny { border: 2px solid var(--cta); }
.big-num { font-size: 1.9rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.res-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.slot3d .view3d { height: 340px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.prod { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.prod.big { border: 2px solid var(--cta); box-shadow: var(--shadow); }
.pick-h { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--warn); }
.prod .brand { font-size: .8rem; color: var(--muted); }
.prod h4 { font-size: 1.12rem; font-weight: 750; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: .76rem; font-weight: 650; background: #fff3c4; color: var(--text); border-radius: 99px; padding: 3px 10px; }
.badge.soft { background: var(--panel-2); font-weight: 500; }
.specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 14px; margin: 0; }
.specs dt { font-size: .74rem; color: var(--muted); }
.specs dd { margin: 0; font-weight: 650; font-size: .93rem; font-variant-numeric: tabular-nums; }
.specs dd small { font-weight: 400; color: var(--muted); font-size: .78rem; margin-left: 3px; white-space: nowrap; display: inline-block; }
.specs dd small.live { display: block; margin-left: 0; white-space: normal; }
.money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--bg-2); border-radius: 12px; padding: 9px 11px; }
.money b { display: block; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.money span { font-size: .72rem; color: var(--muted); display: block; line-height: 1.3; }
ul.fit, ul.warn { margin: 0; padding: 0; list-style: none; font-size: .86rem; }
ul.fit li::before { content: "✓ "; color: var(--green); font-weight: 800; }
ul.warn li::before { content: "! "; color: var(--warn); font-weight: 800; }
.rating { font-size: .85rem; }
.say { font-size: .85rem; color: var(--text-2); font-style: italic; }
.unchecked { font-size: .72rem; color: var(--warn); }
.prod .actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* Set */
.setgrid { display: grid; grid-template-columns: 1fr 290px; gap: 18px; align-items: start; }
.setlist .it { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.setlist .it:first-child { border-top: 0; }
.setlist .it input { margin-top: 4px; accent-color: var(--green); width: 18px; height: 18px; }
.need { font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: 1px; }
.need.pflicht { background: var(--warn-soft); color: var(--warn); }
.need.empfohlen { background: var(--green-soft); color: var(--green); }
.need.optional { background: var(--panel-2); color: var(--muted); }
.setsum { position: sticky; top: 80px; }
.setsum .big-num { margin: 4px 0 8px; }

/* Checkliste */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ck { display: grid; grid-template-columns: 22px 1fr; gap: 9px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.box h3 + .ck { border-top: 0; }
.ck input { margin-top: 4px; accent-color: var(--green); width: 17px; height: 17px; }
.ck small { display: block; color: var(--muted); font-size: .83rem; margin-top: 2px; }
.ck.done > div > b { text-decoration: line-through; color: var(--muted); }
.contact { margin-top: 6px; font-size: .82rem; background: var(--green-soft); color: var(--text); border-radius: 8px; padding: 6px 9px; }
.contact a { font-weight: 600; }

/* Info unter dem Wizard */
.info { margin-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.info > h2 { margin-bottom: .2rem; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; margin-top: 1rem; }
.icard { background: var(--bg-2); border-radius: var(--radius); padding: 16px 18px; min-width: 0; }
.icard .icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--panel); margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.icard .icon svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icard h3 { font-size: 1rem; margin-bottom: .35rem; }
.icard p { margin: 0; color: var(--text-2); font-size: .92rem; }
.icard table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: 6px; }
.icard td { padding: 4px 0; border-bottom: 1px solid var(--line); }
.icard td.n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-top: 3px; }
.bar i { display: block; height: 100%; background: var(--series-1); border-radius: 99px; }
details.faq { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin: 10px 0; padding: 0 18px; }
details.faq summary { cursor: pointer; padding: 14px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
details.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
details.faq[open] summary::after { content: "–"; }
details.faq .a { padding-bottom: 14px; color: var(--text-2); }
details.faq .a p { margin: 0 0 8px; }
.src { font-size: .8rem; color: var(--muted); }
.src a { color: var(--muted); }
/* Gliederung: jeder Hauptabschnitt mit viel Luft, Produkte und FAQ auf ruhigem Hintergrundband über die volle Breite */
.ratgeber { margin-top: 0; padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; isolation: isolate; }
.ratgeber.band::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); background: var(--bg-2); border-block: 1px solid var(--line); z-index: -1; }
.ratgeber.band + .ratgeber:not(.band), .info + .ratgeber.band { margin-top: 0; }
.ratgeber .section-head + p { max-width: 72ch; margin: -.8rem 0 1.8rem; }
.prod-more { display: flex; justify-content: center; margin-top: 1.8rem; }
.prod-grid.collapsed > .prod:nth-child(n+7) { display: none; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 1rem; }
.prod h3 { font-size: 1.12rem; font-weight: 750; margin: 0; }
.faq-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 8px 28px; align-items: start; }
.faq-group { min-width: 0; }
.faq-group h3 { font-size: .95rem; color: var(--green); margin: .6rem 0 .2rem; }
.foot { margin-top: 0; background: var(--bg-2); padding: 2.2rem 0 2rem; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-grid h4 { color: var(--text); font-size: .9rem; margin: 0 0 .5rem; }
.foot-grid a:not(.logo) { display: block; color: var(--text-2); text-decoration: none; padding: 3px 0; }
.foot-grid a:not(.logo):hover { color: var(--green); }
.foot-grid p { margin: .6rem 0 0; max-width: 320px; }
.foot-legal { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .8rem; }

/* Abschluss-Popup & Bewertungen */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(20, 28, 24, .45); display: grid; place-items: center; padding: 16px; animation: fade .15s ease-out; }
.modal[hidden] { display: none; }
.modal-box { position: relative; background: var(--panel); border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 28px 26px 22px; text-align: center; }
.modal-box h2 { margin: .3rem 0 .5rem; }
.modal-box p { margin: 0 0 .8rem; color: var(--text-2); }
.m-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%; }
.m-close:hover { background: var(--panel-2); }
.m-icon { width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; }
.stars { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.stars button { font-size: 2.3rem; line-height: 1; width: 48px; height: 48px; border: 0; background: transparent; color: var(--line-2); cursor: pointer; border-radius: 10px; transition: transform .1s, color .1s; }
.stars button:hover { transform: scale(1.12); }
.stars button.on { color: var(--cta); }
.stars button:focus-visible { outline: 2px solid var(--green); }
.star-label { min-height: 1.3em; margin-top: 2px; }
.modal-box .q { text-align: left; display: block; margin-top: 1rem; }
.modal-box textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; resize: vertical; color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.m-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 1rem; }
.m-note { font-size: .76rem !important; color: var(--muted) !important; margin-top: 1rem !important; line-height: 1.45; }
.share { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: .8rem 0 .2rem; }
.share .btn { text-decoration: none; }
.share-wa { background: #25d366; border-color: #25d366; color: #fff; }
.modal-box label.row { justify-content: center; gap: 8px; color: var(--text-2); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.trust a { color: var(--text-2); text-decoration: none; }
.star-mini { color: var(--cta); }
.bewertungen { margin-top: 3rem; }
.rev { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; margin-top: 1rem; background: var(--bg-2); border-radius: var(--radius); padding: 18px 22px; }
.rev-sum { text-align: center; }
.stars-static { color: var(--line-2); letter-spacing: 2px; }
.stars-static .on, .stars-static:not(:has(span)) { color: var(--cta); }
.rd { display: grid; grid-template-columns: 34px 1fr 28px; gap: 10px; align-items: center; font-size: .85rem; margin: 4px 0; }
.rd .bar { height: 8px; margin: 0; }
.rd .bar i { background: var(--cta); }
.rev-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; margin-top: 14px; }
.rev-list blockquote { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: .92rem; color: var(--text-2); }
.rev-list .stars-static { color: var(--cta); margin-bottom: 4px; }
.rev-list cite { display: block; font-style: normal; font-size: .76rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 720px) {
  .progress { display: none; }
  .steps-strip { grid-template-columns: minmax(0, 1fr); }
  .wz-head { padding: 14px 16px 0; }
  .hero { padding-top: 1.6rem; }
}
@media (max-width: 520px) {
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .wz-nav .btn { min-height: 44px; }
  .tile { min-height: 44px; } .rev { grid-template-columns: minmax(0, 1fr); } .stars button { width: 44px; font-size: 2.1rem; } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-art { max-width: 440px; width: 100%; margin: 0 auto; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trust { display: none; }
  .wz-body { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .wz-side { position: static; order: -1; }
  .wz-body.no3d-mobile .wz-side { display: none; }
  .view3d { height: 300px; }
  .compare, .checks, .setgrid, .res-top { grid-template-columns: minmax(0, 1fr); }
  .setsum { position: static; }
  .wz-nav { padding: 12px 16px; }
}
@media (max-width: 520px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  #stepCount { display: none; }
}
@media print {
  .top, .hero, .progress, .wz-nav, .wz-side, .info, .ratgeber, .foot, .btn, .devnote { display: none !important; }
  .wizard { border: 0; box-shadow: none; }
  .checks { grid-template-columns: minmax(0, 1fr); }
}
.copyfield { flex: 1 1 100%; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.setlist .it > div, .ck > div, .prod, .box { min-width: 0; overflow-wrap: break-word; }

/* Abschließende Handy-Regeln (stehen bewusst am Ende, damit sie Vorrang haben) */
.logo span { white-space: nowrap; }
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .foot-grid a:not(.logo) { padding: 6px 0; }
}
@media (max-width: 380px) {
  .specs dd { white-space: normal; }
  .specs { gap: 8px 10px; }
  .money { padding: 8px; gap: 6px; }
  .money b { font-size: .95rem; }
  .wz-nav { padding: 10px 12px; gap: 6px; }
  .wz-nav .btn { padding: 10px 12px; font-size: .9rem; }
}

/* 3D-Werkzeuge */
.v-tools { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between; pointer-events: none; }
.v-tools > * { pointer-events: auto; }
.v-group { display: inline-flex; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); border-radius: 99px; padding: 2px; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.v-group button, .v-save { font: inherit; font-size: .74rem; font-weight: 600; border: 0; background: transparent; color: var(--text-2); padding: 5px 9px; border-radius: 99px; cursor: pointer; min-height: 28px; }
.v-group button.on { background: var(--green); color: #fff; }
.v-save { background: rgba(255, 255, 255, .9); border: 1px solid var(--line); box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.v-group button:focus-visible, .v-save:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.view3d canvas { touch-action: pan-y; }
@media (max-width: 520px) {
  .v-tools { left: 6px; right: 6px; top: 6px; gap: 4px; }
  .v-group button, .v-save { font-size: .7rem; padding: 6px 7px; min-height: 32px; }
  .v-save { padding: 6px 9px; }
}
@media (max-width: 520px) {
  .v-tools { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .v-tools::-webkit-scrollbar { display: none; }
  .v-group, .v-save { flex: none; }
}
@media (max-width: 380px) {
  .logo { font-size: .92rem; gap: 7px; }
  .logo-sun { width: 18px; height: 18px; box-shadow: 0 0 0 4px #fff3c4; }
  .toplink { font-size: .88rem; }
  .top .wrap { flex-wrap: nowrap; gap: 8px; }
}

/* Rechtsseiten */
.legal { max-width: 800px; padding-top: 2rem; padding-bottom: 1rem; }
.legal h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: .6rem; }
.legal h2 { font-size: 1.15rem; margin: 1.8rem 0 .5rem; }
.legal p, .legal li { color: var(--text-2); overflow-wrap: break-word; }
.legal ul { padding-left: 1.2rem; }
.legal .lead { font-size: 1.05rem; color: var(--text); background: var(--green-soft); border-radius: 12px; padding: 12px 16px; }
.legal code { font-size: .88em; background: var(--panel-2); padding: 1px 5px; border-radius: 5px; }
.legal .box { margin: .6rem 0; }
.legal .good { color: var(--green); font-weight: 600; margin: 0 0 8px; }
.toc { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; margin: 1rem 0 0; padding: 12px 14px; background: var(--bg-2); border-radius: 12px; }
.toc a { text-decoration: none; }
mark.todo { background: #fff1a8; color: #6b4e00; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.legal .callout { margin-bottom: 1rem; }
.cf { display: grid; gap: 12px; max-width: 620px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.cf label { display: grid; gap: 4px; font-weight: 600; font-size: .92rem; color: var(--text); }
.cf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.cf input, .cf select, .cf textarea { width: 100%; font: inherit; font-weight: 400; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--text); background: var(--panel); }
.cf textarea { resize: vertical; }
.cf .btn { justify-self: start; }
.cf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-msg { margin: 0; padding: 10px 12px; border-radius: 10px; }
.cf-msg.good { background: var(--green-soft); color: var(--green); }
.cf-msg.bad { background: var(--warn-soft); color: var(--bad); }

/* Lücken-Fragen */
.sub-q { border-left: 3px solid var(--green-soft); padding-left: 14px; margin-top: .4rem; }
.inline-num { max-width: 240px; margin-top: 10px; }
.compass-live { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--green-soft); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.compass-live .btn.small { min-height: 36px; }
.remind { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.remind input[type=date] { width: auto; min-height: 40px; }
.wz-main details.pro .tiles { margin-bottom: 12px; }
@media (max-width: 520px) {
  /* Hinweis, dass die Werkzeugleiste seitlich wischbar ist */
  .v-tools { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 28px; }
}

/* Sprungziele nicht unter der fixierten Kopfzeile verstecken */
html { scroll-padding-top: 80px; }


/* Logo & einheitliche Kopfzeile */
.logo { gap: 10px; font-size: 1.06rem; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; flex: none; display: block; }
.logo-word { font-weight: 750; letter-spacing: -.02em; color: var(--text); white-space: nowrap; line-height: 1; }
.logo-word span { color: var(--green); }
.top .trust li, .top .toplink, .top .trust a { font-size: .875rem; font-weight: 600; letter-spacing: -.005em; }
.top .trust li { color: var(--text-2); }
.top .toplink { color: var(--green); }
.foot .logo-mark { width: 30px; height: 30px; }
@media (max-width: 380px) {
  .logo { gap: 8px; font-size: .95rem; }
  .logo-mark { width: 28px; height: 28px; border-radius: 8px; }
}

/* Barrierefreiheit */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 650; text-decoration: none; }
.skip-link:focus { top: 10px; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.tile:focus-visible { outline-offset: 3px; border-radius: 14px; }
.wz-main h2:focus { outline: none; }
.top .toplink { padding: 8px 4px; display: inline-block; }
.progress li { padding: 0; }
.progress li button { all: unset; display: block; width: 100%; box-sizing: border-box; padding: 0 2px 10px; cursor: pointer; font-size: .78rem; color: inherit; font-weight: inherit; white-space: nowrap; }
.progress li button:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.src a, .contact a { text-underline-offset: 2px; }

/* Wortmarke mit festem Untertitel (gegen Verwechslung mit Stromtarifen) */
.logo-text { display: flex; flex-direction: column; gap: 3px; line-height: 1; min-width: 0; }
.logo-tag { font-size: .7rem; font-weight: 550; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.foot .logo-tag { font-size: .74rem; }
@media (max-width: 1100px) { .top .logo-tag { display: none; } }
@media (max-width: 380px) { .foot .logo-tag { white-space: normal; } }
.tile .fit-ok { color: var(--green); font-weight: 650; }
.tile .fit-no { color: #b4321f; font-weight: 650; }

/* ---------- Vollbild-Builder */
.v-fs { font: inherit; font-size: .74rem; font-weight: 700; border: 0; background: var(--green); color: #fff; padding: 5px 11px; border-radius: 99px; cursor: pointer; min-height: 28px; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
body.fs-open { overflow: hidden; }
.fs { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: minmax(0, 1fr) 390px; height: 100vh; height: 100dvh; background: var(--bg, #f6f4ee); }
.fs-stage { position: relative; min-width: 0; min-height: 0; }
.fs-stage .view3d { height: 100% !important; border-radius: 0; border: 0; }
.fs .view3d canvas { touch-action: none; }
.fs-panel { overflow-y: auto; overscroll-behavior: contain; background: var(--panel); border-left: 1px solid var(--line); padding: 0 18px 32px; min-height: 0; }
.fs-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 12px 0 10px; background: var(--panel); border-bottom: 1px solid var(--line); }
.fs-head b { flex: 1; font-size: 1.05rem; }
.fs-toggle { display: none; }
.fs-kpi { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 0; font-size: .86rem; color: var(--text-2); border-bottom: 1px solid var(--line); }
.fs-kpi b { color: var(--text); }
.fs-sec { border-bottom: 1px solid var(--line); padding: 4px 0 12px; }
.fs-sec > summary { cursor: pointer; font-weight: 750; padding: 10px 0; list-style-position: outside; }
.fs-panel .tiles { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.fs-panel .tiles.wide { grid-template-columns: 1fr; }
.fs-panel .callout { margin-top: 10px; }
@media (max-width: 1100px) { .fs { grid-template-columns: minmax(0, 1fr) 330px; } .fs-panel { padding: 0 14px 28px; } }
/* Handy und Tablet hochkant: 3D oben, Einstellungen darunter, Einstellungen einklappbar */
@media (max-width: 760px), (orientation: portrait) and (max-width: 1024px) {
  .fs { grid-template-columns: 1fr; grid-template-rows: minmax(0, 52fr) minmax(0, 48fr); }
  .fs.collapsed { grid-template-rows: minmax(0, 1fr) auto; }
  .fs.collapsed .fs-panel > :not(.fs-head) { display: none; }
  .fs-panel { border-left: 0; border-top: 1px solid var(--line); border-radius: 16px 16px 0 0; box-shadow: 0 -8px 24px rgba(30, 42, 36, .12); }
  .fs-toggle { display: inline-flex; }
  .fs-panel .tiles { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
/* Handy quer: niedrige Höhe → nebeneinander, schmales Panel */
@media (max-height: 500px) and (orientation: landscape) {
  .fs { grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: none; }
  .fs-panel { border-top: 0; border-left: 1px solid var(--line); border-radius: 0; }
  .fs-toggle { display: none; }
}
.v-toast { position: absolute; left: 50%; bottom: 46px; transform: translate(-50%, 8px); max-width: calc(100% - 32px); background: rgba(30, 42, 36, .92); color: #fff; font-size: .82rem; padding: 8px 14px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; text-align: center; }
.v-toast.on { opacity: 1; transform: translate(-50%, 0); }
.linkbtn { font: inherit; background: none; border: 0; padding: 0; color: var(--green); text-decoration: underline; cursor: pointer; }
.prod-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
/* ---------- Ratgeber-Seiten */
.guide { max-width: 780px; padding-top: 1.2rem; padding-bottom: 3rem; }
.guide h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.02em; line-height: 1.15; margin: .4rem 0 .5rem; }
.guide h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; letter-spacing: -.01em; }
.guide h3 { font-size: 1.08rem; margin: 1.4rem 0 .4rem; }
.guide p, .guide li { line-height: 1.65; }
.guide table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .92rem; display: block; overflow-x: auto; }
.guide th, .guide td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.guide th { background: var(--panel-2); font-weight: 650; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.guide-meta { font-size: .86rem; color: var(--muted); margin: 0 0 1rem; }
.guide-answer { background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 10px; padding: 14px 16px; margin: 1rem 0; line-height: 1.6; }
.guide-take { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px 10px; margin: 1rem 0; }
.guide-take h2 { font-size: 1.05rem; margin: .8rem 0 .3rem; }
.guide-toc { border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; margin: 1.2rem 0; font-size: .92rem; }
.guide-toc ol { margin: .4rem 0 0; padding-left: 1.2rem; }
.guide-cta { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff8e1; border: 1px solid #f3e2a8; border-radius: 14px; padding: 16px 18px; margin: 2rem 0; }
.guide-cta div { display: flex; flex-direction: column; gap: 4px; flex: 1 1 260px; }
.guide-cta span { color: var(--text-2); font-size: .92rem; }
.guide-news ul, .guide-src ul { padding-left: 1.1rem; }
.guide-news time { font-weight: 650; }
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; margin: 1rem 0 1.4rem; }
.guide-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); text-decoration: none; }
.guide-card:hover { border-color: var(--green); }
.guide-card span { color: var(--text-2); font-size: .9rem; line-height: 1.45; }
.guide-card small { color: var(--muted); }


/* Planer entschlackt: aufklappbare Speicherliste und Checklisten-Gruppen */
.more-prods > summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem; padding: 14px 18px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--panel); }
.more-prods > summary::-webkit-details-marker, .ckgroup > summary::-webkit-details-marker { display: none; }
.more-prods > summary::after, .ckgroup > summary::after { content: "+"; float: right; font-weight: 700; color: var(--green); }
.more-prods[open] > summary::after, .ckgroup[open] > summary::after { content: "–"; }
.more-prods > summary .muted { font-weight: 400; font-size: .9rem; }
.ckgroup > summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 12px; }
.ckgroup > summary h3 { margin: 0; }
.ckgroup > summary::after { margin-left: auto; }
.ckgroup[open] > summary { margin-bottom: .6rem; }
.checks { display: grid; gap: 16px; align-items: start; }

/* Produktkarten: klarer Rahmen, Kennzahlen als Band, Aktionen als eigener Fuß */
.prod { border: 1.5px solid var(--line-2); border-radius: 18px; padding: 18px 18px 0; gap: 12px; transition: border-color .15s, box-shadow .15s; }
.prod:hover { border-color: var(--green); box-shadow: var(--shadow); }
.prod.big { border-width: 2px; }
.prod .brand { text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; font-weight: 650; }
.prod .brand .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
.prod h3, .prod h4 { line-height: 1.25; margin-top: 2px; }
.prod .rating { font-size: .8rem; color: var(--text-2); }
.specs.key { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 10px; margin: 2px -18px; padding: 12px 18px; background: var(--bg-2); border-block: 1px solid var(--line); }
.specs.key dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; }
.specs.key dd { font-size: .92rem; line-height: 1.25; }
.specs.key dd small { display: block; margin-left: 0; font-size: .7rem; white-space: normal; }
.prod .money { margin: 0; }
ul.fit, ul.warn { display: grid; gap: 3px; line-height: 1.4; }
.prod-data > summary { cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--green); list-style: none; }
.prod-data > summary::-webkit-details-marker { display: none; }
.prod-data > summary::before { content: "+ "; }
.prod-data[open] > summary::before { content: "– "; }
.prod-data .specs { margin-top: 8px; }
.prod .actions { margin: auto -18px 0; padding: 12px 18px 14px; border-top: 1px solid var(--line); background: var(--panel); border-radius: 0 0 16px 16px; }
.prod .prod-img { margin-top: -4px; }
@media (max-width: 380px) { .specs.key { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
