/* Moinwatt (since v0.7; was Plansolar). Tokens first, then layout, then components. No tabular-nums: it widens comma and colon in this font. */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #F7F5EF; --surface: #FFFFFF; --ink: #11161C; --muted: #5E6670; --line: #E4E1D8;
  --sky: #B8D6F4; --sky-soft: #E3EFFA; --sun: #FFD43D; --sun-deep: #F5B800; --noon: #FFDF5E; --sand: #F1DEB2; --cloud: #D6DCE4;
  --night: #14203A; --night-ink: #EEF2F7; --night-muted: #AEBBCB;
  --self: #FFD43D; --grid: #FFF0B3; --panel: #1F2C3E; --morning: #8DB9E3; --evening: #EE8F3A;
  --tilebg: linear-gradient(180deg, #F2F3EF, #FBFBF8); --seg-off: #E2E3DC; --chip: #ECEDE7;
  --focus: #1F4FA0; --danger: #B3261E; --accent: #E8590C;
  --shadow: 0 1px 2px rgba(17,22,28,.05), 0 8px 24px rgba(17,22,28,.06);
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10161D; --surface: #19212B; --ink: #E8ECEF; --muted: #9AA5B1; --line: #2A3440;
    --sky: #18293D; --sky-soft: #1A2636; --noon: #2E2912; --sand: #2C2517; --cloud: #1F2834;
    --night: #0A1120; --night-ink: #EEF2F7; --night-muted: #9FB0C6;
    --self: #E9BC2C; --grid: #3A3519; --panel: #6F86A3; --focus: #8DB9E3; --danger: #F2938C;
    --tilebg: linear-gradient(180deg, #222B36, #1B232D); --seg-off: #2F3945; --chip: #232D39;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .scene { filter: brightness(.86) saturate(.95); }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.in { max-width: 1180px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px) { .in { padding-left: 24px; padding-right: 24px; } }
.narrow { max-width: 580px; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
main { padding: 16px 0 56px; }

/* ---------- header / bands ---------- */
.band { transition: background-color .3s; }
.band.sky { background: var(--sky); }
.band.good { background: var(--noon); }
.band.warn { background: var(--sand); }
.band.bad { background: var(--cloud); }
.band.nightband { background: var(--night); color: var(--night-ink); }
.band.paper { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; letter-spacing: .005em; text-decoration: none; }
.wordmark { font-weight: 400; letter-spacing: -.01em; }
.wordmark b { font-weight: 700; }
.logomark { width: 18px; height: 18px; border-radius: 50%; background: var(--sun); box-shadow: inset 0 0 0 2px var(--ink); }
.nav { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; opacity: .78; }
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.lang { display: flex; gap: 10px; margin-left: 2px; }
.lang button { background: none; border: 0; padding: 2px 0; font-size: 14px; font-weight: 500; cursor: pointer; opacity: .55; border-bottom: 2px solid transparent; }
.lang button[aria-pressed="true"] { opacity: 1; border-bottom-color: currentColor; font-weight: 600; }
@media (max-width: 560px) { .nav .hide-s { display: none; } .nav { gap: 14px; } }
.arc { display: block; width: 100%; height: 92px; }
.arc text { font-size: 13px; font-weight: 500; fill: var(--ink); }
.qmeta { display: flex; justify-content: flex-end; font-size: 14px; font-weight: 500; padding-bottom: 14px; }
.bhead { padding-top: 8px; padding-bottom: 24px; display: grid; gap: 8px; }
.bhead h1 { font-size: clamp(28px, 7vw, 42px); letter-spacing: -0.03em; line-height: 1.05; }
.bhead p { margin: 0; max-width: 60ch; }
.pagehead { padding-top: 12px; }
.pagehead p { color: var(--muted); }
.nightband .bhead p { color: var(--night-muted); }
.ctx { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 14px 16px; max-width: 560px; }
.ctx p { margin: 0; color: var(--ink); }

/* ---------- buttons, links ---------- */
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); border: 0; border-radius: 999px; padding: 13px 20px; font-weight: 600; cursor: pointer; text-decoration: none; }
.cta .sun { width: 14px; height: 14px; border-radius: 50%; background: var(--sun); border: 1.5px solid var(--bg); }
.cta.light { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.primary { font-weight: 600; border: 0; border-radius: 12px; padding: 13px 18px; background: var(--ink); color: var(--bg); cursor: pointer; }
.primary:disabled { opacity: .35; cursor: not-allowed; }
.shopbtn { display: flex; justify-content: center; align-items: center; gap: 6px; background: var(--sun); color: #11161C; border-radius: 12px; padding: 11px 12px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color .15s, transform .15s; }
.shopbtn:hover { background: var(--sun-deep); }
.shopbtn:active { transform: translateY(1px); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.band .kicker { color: inherit; opacity: .75; }
.small { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.backlink { display: inline-block; margin: 6px 0 14px; }

/* ---------- hero ---------- */
.hero { position: relative; margin-top: 4px; }
.heroimg { border-radius: 24px; overflow: hidden; height: clamp(300px, 78vw, 560px); background: #C4E0F4; }
.scene { display: block; width: 100%; height: 100%; }
.herocard { position: relative; margin: -40px 10px 0; background: var(--surface); border-radius: 20px; padding: 20px 18px 16px; box-shadow: 0 12px 34px rgba(17,22,28,.12); display: grid; gap: 10px; }
.herocard h1 { font-size: clamp(27px, 7.4vw, 44px); letter-spacing: -0.035em; line-height: 1.04; }
.herosub { margin: 0; font-size: 16px; color: var(--muted); max-width: 46ch; }
.heroalt { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.fine { margin: 0; font-size: 12px; color: var(--muted); max-width: 60ch; }
@media (min-width: 900px) {
  .herocard { position: absolute; top: 28px; left: 28px; width: min(520px, 46%); margin: 0; padding: 26px 26px 20px; }
}

/* ---------- address search ---------- */
.search { position: relative; }
.sbox { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 5px 5px 5px 10px; transition: border-color .15s; }
.sbox:focus-within { border-color: var(--ink); }
.spin { display: grid; place-items: center; flex: none; }
.sbox input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 9px 2px; outline: none; }
.sbtn { flex: none; border: 0; border-radius: 10px; background: var(--sun); color: #11161C; font-weight: 600; padding: 10px 14px; cursor: pointer; }
.sbtn:hover { background: var(--sun-deep); }
.search.busy .sbtn { opacity: .6; }
.sugg { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.sugg li { display: flex; gap: 8px; align-items: center; padding: 10px; border-radius: 10px; cursor: pointer; font-size: 15px; }
.sugg li:hover, .sugg li[aria-selected="true"] { background: var(--sky-soft); }
.smsg { margin: 6px 0 0; font-size: 14px; color: var(--danger); }
.smsg:empty { display: none; }

/* ---------- trust row ---------- */
.trust { list-style: none; margin: 18px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 8px; }
.tick { width: 20px; height: 20px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #11161C; }

/* ---------- sections ---------- */
.sec { margin-top: 36px; }
.sec h2 { font-size: clamp(22px, 5vw, 28px); letter-spacing: -0.02em; }
.sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.secsub { margin: 4px 0 0; color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .chips { margin: 0; padding: 2px 0; } }
.chips button { flex: none; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; cursor: pointer; }
.chips button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- product tiles ---------- */
.grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid { gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ptile { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px 8px 10px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .2s, transform .2s; }
.ptile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pimg { position: relative; display: block; border-radius: 12px; background: var(--tilebg); aspect-ratio: 10 / 7.4; overflow: hidden; }
.pimg svg, .pimg img { display: block; width: 100%; height: 100%; }
.pimg img, .pdpic img, .simimg img { object-fit: contain; transition: transform .35s ease; }
.ptile:hover .pimg img, .simcard:hover .simimg img { transform: scale(1.04); }
.abb { position: absolute; right: 8px; bottom: 6px; font-size: 10px; color: var(--muted); letter-spacing: .02em; }
.pbadge { position: absolute; top: 8px; left: 8px; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: .02em; background: var(--chip); color: var(--ink); padding: 3px 7px; border-radius: 6px; }
.pbadge.sun { background: var(--sun); color: #11161C; }
.power { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 999px; padding: 5px 9px; }
.segs { flex: 1; display: grid; grid-template-columns: repeat(20, 1fr); gap: 2px; }
.segs i { height: 8px; border-radius: 2px; background: var(--seg-off); }
.segs i.on { background: var(--sun-deep); }
.power b { font-size: 12px; font-weight: 600; white-space: nowrap; }
.pbody { padding: 0 4px; display: grid; gap: 3px; }
.pbody .brand { font-size: 12px; font-weight: 600; color: var(--muted); }
.pbody h3 { font-size: 15px; line-height: 1.25; font-weight: 600; }
.pbody h3 a { text-decoration: none; }
.pbody h3 a:hover { text-decoration: underline; }
.pspec { margin: 0; font-size: 13px; color: var(--muted); }
.plug { font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.plug::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4CAF50; }
.plug.w::before { background: var(--accent); }
.pfoot { margin-top: auto; padding: 4px 4px 0; display: grid; gap: 2px; }
.pprice { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.pprice.big { font-size: 34px; }
.pstand { margin: 0 0 6px; font-size: 11px; color: var(--muted); line-height: 1.3; }
@media (min-width: 760px) { .ptile { padding: 10px 10px 12px; } .pbody h3 { font-size: 16px; } .pprice { font-size: 24px; } }
.disclose { margin: 14px 0 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.disclose a { color: var(--ink); font-weight: 500; }
.info { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--muted); display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; font-style: italic; flex: none; }

/* ---------- planner teaser ---------- */
.tease { margin-top: 40px; background: var(--sky); border-radius: 24px; padding: 22px 20px; display: grid; gap: 14px; }
.tease h2 { font-size: clamp(24px, 6vw, 34px); letter-spacing: -0.03em; margin: 4px 0 6px; }
.tease p { margin: 0; max-width: 52ch; }
.teasepic svg { width: 150px; height: 75px; display: block; color: var(--ink); }
.teasebtns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
@media (min-width: 760px) { .tease { grid-template-columns: 220px 1fr; align-items: center; padding: 32px; } .teasepic svg { width: 200px; height: 100px; } }

/* ---------- rules ---------- */
.rtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .rtiles { gap: 12px; } }
.rtile { position: relative; text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 12px; cursor: pointer; display: grid; gap: 4px; transition: border-color .15s, background-color .15s; }
.rtile:hover { border-color: var(--muted); }
.rtile[aria-expanded="true"] { border-color: var(--ink); background: var(--sky-soft); }
.rnum { white-space: nowrap; font-size: clamp(17px, 4.6vw, 30px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.rlbl { font-size: 13px; color: var(--muted); line-height: 1.25; }
.rplus { position: absolute; top: 8px; right: 10px; font-size: 18px; color: var(--muted); transition: transform .2s; }
.rtile[aria-expanded="true"] .rplus { transform: rotate(45deg); }
.rdetail { margin-top: 10px; background: var(--surface); border-radius: 16px; padding: 16px; border-left: 4px solid var(--sun); display: grid; gap: 6px; max-width: 760px; }
.rdetail b { font-size: 17px; }
.rdetail p { margin: 0; }
.src { font-size: 13px; color: var(--muted); }
.acc { max-width: 780px; display: grid; gap: 10px; }
.acc details { background: var(--surface); border-radius: 16px; border: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px; font-weight: 600; font-size: 17px; display: flex; gap: 12px; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--muted); transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.anum { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--sun); color: #11161C; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.abody { padding: 0 16px 16px; display: grid; gap: 6px; }
.abody p { margin: 0; }
@media (min-width: 640px) { .acc summary .anum + * { } .abody { padding-left: 56px; } }

/* ---------- footer ---------- */
footer { background: var(--night); color: var(--night-ink); margin-top: 24px; }
.footgrid { display: grid; gap: 24px; padding-top: 36px; padding-bottom: 24px; grid-template-columns: 1fr 1fr; }
.footgrid .fbrand { grid-column: 1 / -1; }
.fbrand p { margin: 10px 0 0; color: var(--night-muted); max-width: 36ch; }
.footgrid h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--night-muted); margin-bottom: 10px; font-weight: 600; }
.fcol a, .fcol span { display: block; padding: 4px 0; text-decoration: none; font-size: 15px; }
.fcol span { color: var(--night-muted); }
.fcol a:hover { text-decoration: underline; }
.fbrand .logo { text-decoration: none; }
.footfine { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; padding-bottom: 28px; display: grid; gap: 4px; font-size: 12px; color: var(--night-muted); }
@media (min-width: 760px) { .footgrid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footgrid .fbrand { grid-column: auto; } }

/* ---------- quiz ---------- */
.qtitle { font-size: clamp(28px, 7.4vw, 36px); letter-spacing: -0.03em; line-height: 1.06; }
.hint { color: var(--muted); margin: 8px 0 18px; max-width: 46ch; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; text-align: left; background: var(--surface); border: 2px solid transparent; border-radius: 16px; padding: 12px 14px 14px; cursor: pointer; display: grid; gap: 3px; align-content: start; box-shadow: 0 1px 0 var(--line); transition: background-color .15s, border-color .15s; }
.tile:hover { border-color: var(--line); }
.tile[aria-pressed="true"] { background: var(--sky); border-color: var(--ink); }
.tile svg { display: block; width: 100%; height: 58px; }
.tile .t { font-weight: 600; font-size: 17px; line-height: 1.2; }
.tile .s { font-size: 14px; color: var(--muted); line-height: 1.3; }
.tile .ck { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--muted); display: grid; place-items: center; font-size: 12px; color: transparent; }
.tile[aria-pressed="true"] .ck { background: var(--ink); border-color: var(--ink); color: var(--sky); }
.legend { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.back { margin-top: 24px; background: none; border: 0; padding: 0; cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.maplink { margin-top: 14px; width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: var(--surface); border: 1.5px dashed var(--ink); border-radius: 16px; padding: 8px 14px; cursor: pointer; font-weight: 600; }
.maplink svg { width: 72px; height: 36px; flex: none; }

/* ---------- map step ---------- */
.mapstep { max-width: 980px; }
.mapstep .search { margin-bottom: 12px; max-width: 580px; }
.mapwrap { position: relative; }
.map { height: min(54vh, 560px); min-height: 320px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--sky-soft); }
.mapmsg { position: absolute; top: 12px; left: 12px; right: 56px; max-width: 420px; background: var(--surface); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 14px; z-index: 2; }
.mapbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0 0; }
.mapdir { margin: 0; flex: 1 1 260px; min-height: 1.4em; }
.mapacts { display: flex; align-items: center; gap: 16px; }
.mapfoot { display: flex; gap: 24px; flex-wrap: wrap; }
.dirtag { background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.maplibregl-ctrl-attrib { font-size: 11px; }

/* ---------- result ---------- */
.vhead { padding-top: 4px; padding-bottom: 30px; display: grid; gap: 18px; }
.verdict { font-size: clamp(46px, 14vw, 92px); letter-spacing: -0.045em; line-height: .95; }
.lead { font-size: 18px; margin: 16px 0 0; max-width: 36ch; }
.note { font-size: 15px; margin: 16px 0 0; max-width: 46ch; padding-top: 10px; border-top: 1px solid currentColor; }
.fit { display: grid; gap: 6px; align-content: start; }
.clsname { font-size: 28px; letter-spacing: -0.02em; }
.clsline { margin: 0; font-size: 16px; }
.placeline { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.answers { margin: 4px 0 0; font-size: 14px; line-height: 1.7; }
.answers .lbl { opacity: .75; margin-right: 4px; }
.chip { background: none; border: 0; padding: 0; margin-right: 10px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.chip::after { content: " ✎"; font-size: 11px; opacity: .6; }
.term { background: none; border: 0; padding: 0; cursor: help; border-bottom: 1.5px dotted currentColor; line-height: 1.2; }
.def { margin: 8px 0 2px; font-size: 15px; background: var(--surface); color: var(--ink); border-left: 3px solid var(--sun); padding: 8px 12px; max-width: 52ch; }
.nightcard .def { background: rgba(255,255,255,.08); color: var(--night-ink); }
.rgrid { display: grid; gap: 40px; margin-top: 8px; }
.rgrid .sec { margin-top: 0; }
.chain { position: relative; padding-left: 34px; margin-top: 16px; }
.chain::before { content: ""; position: absolute; left: 8px; top: 14px; bottom: 34px; width: 1.5px; background: var(--ink); }
.step { position: relative; padding-bottom: 30px; }
.step::before { content: ""; position: absolute; left: -34px; top: 10px; width: 17px; height: 17px; border-radius: 50%; background: var(--sun); border: 1.5px solid var(--ink); }
.num { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.unit { font-size: 19px; font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.say { margin: 6px 0 0; font-size: 17px; }
.chart { display: block; width: 100%; max-width: 440px; height: auto; margin-top: 14px; }
.chart text { font-family: var(--font); font-size: 12px; fill: var(--ink); }
.chart .lbl { font-weight: 600; }
.split { display: flex; height: 14px; max-width: 440px; border: 1.5px solid var(--ink); border-radius: 8px; overflow: hidden; margin-top: 12px; }
.split i { background: var(--self); border-right: 1.5px solid var(--ink); }
.split b { background: var(--grid); flex: 1; }
.years { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; max-width: 440px; margin-top: 12px; }
.years i { height: 14px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--grid); }
.years i.f { background: var(--sun); }
.ylegend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 440px; }
.refine { background: var(--surface); border-radius: 18px; padding: 18px; display: grid; gap: 12px; box-shadow: 0 1px 0 var(--line); margin-top: 8px; }
.refine h2 { font-size: 20px; margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1.5px solid var(--line); background: var(--bg); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 14px; }
.seg button[aria-pressed="true"] { border-color: var(--ink); background: var(--sky); font-weight: 600; }
.price { display: flex; align-items: center; gap: 8px; }
.price input { font: inherit; width: 84px; padding: 7px 10px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.nightcard { background: var(--night); color: var(--night-ink); border-radius: 18px; padding: 22px 20px; display: grid; gap: 10px; }
.nightcard .kicker { color: var(--night-muted); }
.nightcard h2 { font-size: 28px; letter-spacing: -0.02em; margin: 0; }
.nightcard p { margin: 0; color: var(--night-muted); }
.nightcard .linkbtn { color: var(--night-ink); justify-self: start; }
.side { display: grid; gap: 32px; align-content: start; }
ol.next { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); counter-reset: n; }
ol.next li { counter-increment: n; display: grid; grid-template-columns: 26px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
ol.next li::before { content: counter(n); color: var(--muted); font-weight: 500; }
ol.next li .def { grid-column: 2; }
.alert { background: var(--surface); border-radius: 18px; padding: 20px; display: grid; gap: 10px; box-shadow: 0 1px 0 var(--line); }
.alert h2 { font-size: 20px; margin: 0; }
.alert p { margin: 0; }
.alert input { font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.err { color: var(--danger); font-size: 14px; margin: 0; }
.ok { font-size: 14px; margin: 0; }
.howcalc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; }
.howcalc summary { cursor: pointer; font-weight: 600; }
.howlist { margin: 10px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
@media (min-width: 900px) {
  .vhead { grid-template-columns: 1.35fr 1fr; align-items: end; column-gap: 56px; }
  .rgrid.two { grid-template-columns: 1.25fr 1fr; column-gap: 64px; align-items: start; }
  .rgrid .full { grid-column: 1 / -1; }
}

/* ---------- battery table ---------- */
.tablewrap { overflow-x: auto; }
.btable { width: 100%; border-collapse: collapse; }
.btable th { text-align: left; font-size: 13px; font-weight: 500; color: var(--muted); padding: 0 8px 10px 0; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
.btable th.r, .btable td.r { text-align: right; white-space: nowrap; }
.btable td { padding: 14px 8px 14px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.btable .brand { color: var(--muted); font-size: 14px; display: block; }
.btable .model { font-weight: 600; }
.btable .kwh { font-weight: 700; font-size: 18px; }
.bbar { height: 6px; border-radius: 3px; background: var(--line); margin-top: 8px; max-width: 160px; }
.bbar i { display: block; height: 100%; border-radius: 3px; background: var(--muted); }
.bbar i.best { background: var(--sun-deep); }

/* ---------- product page ---------- */
.pdgrid { display: grid; gap: 24px; }
.pdimg { position: relative; background: var(--tilebg); border-radius: 22px; padding: 14px; display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); }
.pdimg svg { width: 100%; height: auto; display: block; }
.pdpic { position: relative; }
.pdpic img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 440; }
.pdpic .abb { bottom: 2px; right: 2px; }

/* ---------- similar products (product page) ---------- */
.similar { margin-top: 44px; }
.simrow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 46%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; }
.simrow::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .simrow { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; } }
.simcard { scroll-snap-align: start; display: grid; gap: 3px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 12px; text-decoration: none; transition: box-shadow .2s; }
.simcard:hover { box-shadow: var(--shadow); }
.simimg { position: relative; display: block; border-radius: 10px; background: var(--tilebg); aspect-ratio: 600 / 440; overflow: hidden; margin-bottom: 6px; }
.simimg img { display: block; width: 100%; height: 100%; }
.simimg .abb { font-size: 9px; right: 6px; bottom: 4px; }
.simcard .brand { font-size: 12px; font-weight: 600; color: var(--muted); padding: 0 2px; }
.simname { font-weight: 600; font-size: 14px; line-height: 1.25; padding: 0 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.simspec { font-size: 12px; color: var(--muted); padding: 0 2px; }
.simprice { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; padding: 0 2px; }
.pdinfo { display: grid; gap: 12px; align-content: start; }
.pdinfo h1 { font-size: clamp(28px, 7vw, 40px); letter-spacing: -0.03em; line-height: 1.05; }
.pdinfo h2 { font-size: 20px; margin-top: 12px; }
.kurz { background: var(--sky-soft); border-radius: 14px; padding: 12px 14px; }
.kurz p { margin: 0; }
.pdbuy { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 4px; }
.pdbuy .shopbtn { font-size: 16px; padding: 14px; }
.kv { display: grid; margin: 0; border-top: 1.5px solid var(--ink); }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
@media (min-width: 900px) { .pdgrid { grid-template-columns: 1.1fr 1fr; align-items: start; } .pdimg { position: sticky; top: 84px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- v1.0: "Lohnt sich das für dich?" on tiles and product page ---------- */
:root { --good: #2E9E5B; --warnc: #D99A00; --badc: #9AA5B1; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--badc); }
.dot.good { background: var(--good); } .dot.warn { background: var(--warnc); } .dot.bad { background: var(--badc); }
.fitline { margin: 4px 0 0; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; line-height: 1.3; }
.fitline.none { font-weight: 500; color: var(--muted); }
.fitbar { display: flex; align-items: center; gap: 8px; margin: -4px -16px 14px; padding: 2px 16px; overflow-x: auto; scrollbar-width: none; }
.fitbar::-webkit-scrollbar { display: none; }
.fitbar > * { flex: none; }
@media (min-width: 640px) { .fitbar { margin: -4px 0 14px; padding: 2px 0; flex-wrap: wrap; overflow: visible; } }
.fitlbl { font-size: 13px; color: var(--muted); font-weight: 500; }
.sel { position: relative; display: inline-flex; }
.sel select { appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 30px 7px 12px; cursor: pointer; }
.sel::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sel select:hover, .sel select:focus-visible { border-color: var(--ink); outline: none; }
.sel.sort { margin-left: auto; }
.sel.sort select { font-weight: 500; }
@media (max-width: 639px) { .sel.sort { margin-left: 0; } .fitlbl { display: none; } }
.pdfit { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 12px; margin-top: 4px; }
.pdfit h2 { font-size: 20px; margin: 0; }
.pdfit .fitbar { margin: 0 -16px; padding: 2px 16px; }
@media (min-width: 640px) { .pdfit .fitbar { margin: 0; padding: 2px 0; } }
.pdfit .fitlbl { display: none; }
.pdfitres { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdfitnum { background: var(--bg); border-radius: 14px; padding: 12px; display: grid; gap: 2px; }
.pdfitnum b { font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.pdfitnum span { font-size: 13px; color: var(--muted); }
.pdfit.good .pdfitnum:first-child { background: color-mix(in srgb, var(--noon) 55%, var(--surface)); }
.pdfit.bad .pdfitnum { opacity: .8; }
.pdfittxt { margin: 0; display: flex; gap: 8px; align-items: baseline; }
.pdfittxt .dot { transform: translateY(-1px); }
.pdfit .fine a { color: var(--ink); font-weight: 600; }
.kurz .linkbtn { margin-top: 8px; display: inline-block; }

/* ---------- static pages (Impressum, Datenschutz, 404) ---------- */
.legal { max-width: 72ch; padding: 24px 0 48px; }
.legal h1 { font-size: clamp(28px, 6vw, 40px); letter-spacing: -0.03em; margin: 8px 0 16px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal h3 { font-size: 16px; margin: 18px 0 6px; }
.legal p, .legal li { color: var(--ink); }
.legal .muted { color: var(--muted); font-size: 14px; }
.legal address { font-style: normal; line-height: 1.6; }
.simplebar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
footer.simplefoot { background: transparent; color: var(--muted); border-top: 1px solid var(--line); margin-top: 0; padding: 18px 0 28px; font-size: 14px; }
.simplefoot .in { display: flex; gap: 16px; flex-wrap: wrap; }
.simplefoot a { color: var(--ink); }

#produkte { scroll-margin-top: 64px; }

/* ---------- v1.0: sun-path progress (quiz + result) ---------- */
.prog { padding-top: 2px; padding-bottom: 10px; }
.prog svg { display: block; width: 100%; height: 54px; overflow: visible; }
.prog .hz { stroke: var(--line); stroke-width: 1.5; }
.prog .path { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .6; vector-effect: non-scaling-stroke; }
.prog .done { fill: none; stroke: var(--sun-deep); stroke-width: 3.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.prog .stop { fill: var(--bg); stroke: var(--muted); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.prog .stop.done { fill: var(--sun-deep); stroke: var(--sun-deep); }
.prog .glow { fill: var(--sun); opacity: .28; }
.prog .sunp { fill: var(--sun); stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.steps { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: 12px; color: var(--muted); }
.steps li.now { color: var(--ink); font-weight: 700; }
.steps li.done { color: var(--ink); }
.band.good .prog .stop, .band.warn .prog .stop, .band.bad .prog .stop { fill: transparent; }

/* ---------- v1.0: compass dial for the direction question ---------- */
.dial { max-width: 340px; margin: 4px auto 0; }
.dial svg { display: block; width: 100%; height: auto; overflow: visible; }
.wedge { fill: color-mix(in srgb, #FFD43D var(--m), #DCE1E8); stroke: var(--bg); stroke-width: 2; cursor: pointer; transition: fill .15s, transform .15s; transform-origin: 160px 160px; outline: none; }
.wedge:hover { filter: brightness(.96); }
.wedge:focus-visible { stroke: var(--ink); stroke-width: 3; }
.wedge.on { fill: #F5B800; stroke: var(--ink); stroke-width: 3; }
.wl { font-size: 15px; font-weight: 700; fill: #11161C; pointer-events: none; }
.dsun { fill: var(--sun); stroke: var(--ink); stroke-width: 1.5; }
.dhouse { transition: transform .45s cubic-bezier(.3,1.4,.5,1); }
.dhouse rect { fill: var(--surface); stroke: var(--ink); stroke-width: 2.5; }
.dhouse .balc { fill: var(--sun); }
.dialout { margin: 12px auto 0; max-width: 340px; min-height: 48px; text-align: center; display: grid; gap: 2px; }
.dialout b { font-size: 20px; }
.dialout span { color: var(--muted); font-size: 15px; }
.dialkey { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); margin: 6px 0 4px; }
.dialkey i { width: 90px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #FFD43D, #DCE1E8); }
@media (prefers-color-scheme: dark) { .wl { fill: #11161C; } .wedge { stroke: var(--bg); } }

/* ---------- contact form ---------- */
.cform { display: grid; gap: 14px; margin-top: 18px; max-width: 520px; }
.cform label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.cform .opt { font-weight: 400; color: var(--muted); }
.cform input, .cform textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--ink); }
.cform .cta { justify-self: start; }
.cform .cta:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formmsg { border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.formmsg.ok { background: color-mix(in srgb, var(--good) 18%, var(--surface)); }
.formmsg.err { background: color-mix(in srgb, #D9534F 16%, var(--surface)); }

/* Ratgeber pages */
.legal .lead{font-size:1.08rem;line-height:1.6;color:var(--ink);margin:.2rem 0 1.4rem}
.legal table{width:100%;border-collapse:collapse;margin:.6rem 0 1.2rem;font-size:.95rem}
.legal th,.legal td{text-align:left;padding:.5rem .6rem;border-bottom:1px solid var(--line);vertical-align:top}
.legal th{font-weight:600}
.legal ol{padding-left:1.2rem}
.legal ol li{margin:.35rem 0}
.guidelist{list-style:none;padding:0;margin:1rem 0 1.6rem}
.guidelist li{padding:.9rem 0;border-bottom:1px solid var(--line)}
.guidelist a{text-decoration:none}
.guidelist a b{font-size:1.05rem}
.guidelist a:hover b{text-decoration:underline}

/* Tool pages (letter generator) */
.toolform{margin:1.2rem 0 1.6rem}
.toolform fieldset{border:1px solid var(--line);border-radius:12px;padding:.9rem 1rem 1.1rem;margin:0 0 .9rem}
.toolform legend{padding:0 .4rem;font-weight:600;font-size:.9rem;color:var(--muted)}
.frow{display:flex;flex-wrap:wrap;gap:.8rem}
.frow label{flex:1 1 220px;display:flex;flex-direction:column;gap:.25rem;font-size:.9rem}
.frow label span{color:var(--muted)}
.toolform input[type=text],.toolform input[type=number],.toolform input:not([type]),.toolform select{
  padding:.55rem .6rem;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);font:inherit;font-size:.95rem;width:100%}
.toolform .fcheck{flex-direction:row;align-items:center;gap:.5rem;flex:1 1 220px}
.toolform .fcheck input{width:auto}
.letterout{width:100%;padding:.9rem;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88rem;line-height:1.55;resize:vertical}
.toolbtns{display:flex;flex-wrap:wrap;gap:.6rem;margin:.7rem 0 1.4rem}
.toolbtns .linkbtn{cursor:pointer;border:1px solid var(--line);background:var(--surface)}
@media print{
  header.band,footer.band,.toolform,.toolbtns,.acc,.muted,h2,.lead,h1{display:none}
  .letterout{border:0;font-family:Georgia,serif;font-size:11pt;width:100%;height:auto}
}

/* Regel-Radar */
.radarstamp{background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--sun,#FFD43D);
  border-radius:10px;padding:.7rem .9rem;font-size:.95rem}
.radaritem{border-top:1px solid var(--line);padding:1.1rem 0 .3rem}
.radaritem h3{margin:.2rem 0 .5rem;font-size:1.08rem}
.radarmeta{margin:0;font-size:.85rem;color:var(--muted)}
.radartag{display:inline-block;padding:.08rem .45rem;border:1px solid var(--line);border-radius:999px;font-size:.78rem}
.feedurl{display:inline-block;padding:.45rem .6rem;border:1px solid var(--line);border-radius:9px;
  background:var(--surface);font-size:.9rem;word-break:break-all}

/* Balkon-Kompass */
.cstage{margin:1.2rem 0 1.8rem}
.csteps{padding-left:1.2rem;margin:.6rem 0 1rem}
.csteps li{margin:.4rem 0}
.cbig{font-size:2.2rem;font-weight:700;line-height:1.1;margin:.6rem 0 .3rem;letter-spacing:-.01em}
.cdeg{font-size:1.4rem;color:var(--muted);margin-left:.1rem}
.cbarwrap{height:10px;border-radius:999px;background:var(--line);overflow:hidden;margin:.7rem 0 .9rem}
.cbarfill{height:100%;width:0;border-radius:999px;background:#FFD43D;transition:width .4s ease}
.cbarfill[data-level="good"]{background:#F4C430}
.cbarfill[data-level="ok"]{background:#D99A00}
.cbarfill[data-level="bad"]{background:#9AA5B1}
