/* Shave Energy sub pages (products, oplossingen, over, kennis, contact, prijzen).
   Builds on site.css tokens. One dark blue (--night) for every dark surface, yellow neon (.neon) as the accent edge. */
.page-sub { --lime: #b9f75b; --amber: #f6a62a; --glass-line: rgba(255, 255, 255, .14); }
.page-sub [hidden]:not(.cat-panel) { display: none !important; } /* cat-panels stay in the grid (invisible) so all panels are equally tall */

/* ---------- Hero: like the homepage header. A photo of the page topic with Shave's heartbeat line,
   a dark gradient on the text side, text bottom left and the key facts in a glass card. ---------- */
.p-hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: #fff;
  min-height: min(100svh, 820px); display: flex; align-items: flex-end;
  padding: 150px 0 clamp(48px, 7vh, 80px);
}
.p-hero > .wrap { width: min(100% - 48px, var(--wrap)); }
.p-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: end; }
.p-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; transform: scale(1.05); animation: p-hero-in 1.8s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes p-hero-in { to { transform: scale(1); } }
.p-hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 8, 22, .55) 0%, rgba(5, 8, 22, 0) 24%, rgba(5, 8, 22, 0) 50%, rgba(5, 8, 22, .8) 85%, #0b1024 100%),
    linear-gradient(90deg, rgba(5, 8, 22, .78) 0%, rgba(5, 8, 22, .45) 42%, rgba(5, 8, 22, 0) 68%);
}
.p-hero h1, .p-hero .lead { text-shadow: 0 2px 18px rgba(5, 8, 22, .7); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: #aab4c8; margin-bottom: 22px; }
.crumbs a { color: #d5dcea; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.p-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); letter-spacing: -0.035em; max-width: 14em; line-height: 1.02; }
.p-hero .lead { color: #d5dcea; margin-top: 20px; max-width: 36em; }
.p-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.p-facts { display: grid; gap: 0; border-radius: var(--r-card); padding: 4px 22px; background: rgba(17, 28, 56, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.p-facts div { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--glass-line); }
.p-facts div:last-child { border-bottom: 0; }
.p-facts svg { width: 22px; height: 22px; color: var(--lime); margin-top: 2px; }
.p-facts b { display: block; font-size: .98rem; }
.p-facts span { color: #aab4c8; font-size: .88rem; line-height: 1.45; }

/* ---------- Sections ---------- */
.p-sec { padding: clamp(72px, 10vw, 130px) 0; }
.p-dark { background: var(--night); color: #fff; }
.p-dark .lead, .p-dark p { color: #c3cad8; }
.p-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.p-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }

/* two columns of reading text with a sticky title */
.p-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.p-split > :first-child { position: sticky; top: 120px; }
.p-split h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.prose { display: grid; gap: 18px; font-size: 1.08rem; max-width: 40em; }
.prose p { color: var(--muted); margin: 0; }
.p-dark .prose p { color: #c3cad8; }
.prose h3 { font-size: 1.35rem; margin-top: 14px; }
.prose ul { margin: 0; padding-left: 1.2em; color: var(--muted); display: grid; gap: 6px; }
.prose a { color: var(--green-dark); font-weight: 650; }
.p-dark .prose a { color: var(--lime); }
.note { font-size: .92rem; color: var(--muted); max-width: 46em; position: relative; padding-left: 18px; }
.note::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.p-dark .note { color: #aab4c8; }

/* ---------- Tiles: white on light sections, night blue on dark ones; calm hairline, no glow ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tiles.t2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles.t4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile {
  border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 10px;
  background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card);
}
.tile h3 { font-size: 1.25rem; }
.tile p { color: var(--muted) !important; margin: 0; }
.tile .mega-ico { border-color: var(--line); color: var(--green-dark); }
.tile-dark { background: var(--night); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.tile-dark p { color: #c3cad8 !important; }
.tile-dark .mega-ico { border-color: rgba(255, 255, 255, .16); color: var(--lime); background: rgba(255, 255, 255, .04); }
.tile .link-arrow, .tile-more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--green-dark); display: inline-flex; align-items: center; gap: 6px; }
.tile-dark .link-arrow, .tile-dark .tile-more { color: var(--lime); }
.tile ul { margin: 4px 0 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 4px; font-size: .97rem; }
.tile-dark ul { color: #c3cad8; }
a.tile { transition: transform .25s var(--ease); }
a.tile:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--green), 0 18px 40px -30px rgba(26, 35, 73, .35); }
.tile-num { font-size: .85rem; font-weight: 800; color: var(--green-dark); }
.tile-dark .tile-num { color: var(--lime); }

/* ---------- Steps (a real sequence) ---------- */
.p-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.p-steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--yellow); }
.p-steps li::before { content: counter(s); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.04em; color: var(--green); line-height: 1; }
.p-steps h3 { font-size: 1.15rem; }
.p-steps p { color: var(--muted); margin: 0; font-size: .98rem; }
.p-dark .p-steps p { color: #c3cad8; }
.p-steps.s3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Spec table ---------- */
.specs { width: 100%; border-collapse: collapse; font-size: .97rem; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--glass-line); vertical-align: top; }
.specs th { width: 40%; font-weight: 650; color: #aab4c8; padding-right: 16px; }

/* ---------- Timeline (Energy Hubs programme, kennis) ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--yellow), var(--green)); }
.timeline div { position: relative; padding: 38px 24px 0 0; display: grid; gap: 6px; }
.timeline div::before { content: ''; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--night); border: 3px solid var(--yellow); box-shadow: 0 0 12px rgba(232, 230, 12, .7); }
.timeline b { font-size: 1.6rem; letter-spacing: -0.03em; }

/* ---------- Interactive price tools ---------- */
.tool { border-radius: var(--r-card); background: var(--night); color: #fff; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); overflow: hidden; }
.tool-main { padding: 26px; display: grid; gap: 14px; align-content: start; }
.tool-side { padding: 26px; border-left: 1px solid var(--glass-line); display: grid; gap: 18px; align-content: start; background: rgba(255, 255, 255, .03); }
.tool-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.tool-top h3 { font-size: 1.2rem; }
.tool-chart { width: 100%; height: 260px; display: block; }
.tool-chart .bar { fill: rgba(255, 255, 255, .16); }
.tool-chart .bar.is-a { fill: var(--lime); }
.tool-chart .bar.is-b { fill: var(--amber); }
.tool-chart .bar.is-off { fill: rgba(255, 255, 255, .06); }
.tool-chart .axis { fill: #8f9ab0; font-size: 11px; }
.tool-chart .zero { stroke: rgba(255, 255, 255, .25); stroke-dasharray: 3 4; }
.tool-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .85rem; color: #aab4c8; }
.tool-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.tool label { display: grid; gap: 8px; font-size: .92rem; color: #d3d9e6; }
.tool label output { font-weight: 800; color: #fff; }
.tool input[type=range] { width: 100%; accent-color: var(--green-light); }
.tool select { padding: 10px 12px; border-radius: var(--r-ctl); border: 1px solid var(--glass-line); background: #18234a; color: #fff; font: inherit; }
.tool-result { border-top: 1px solid var(--glass-line); padding-top: 18px; display: grid; gap: 6px; }
.tool-result .big { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; color: var(--lime); line-height: 1; }
.tool-result p { font-size: .9rem; color: #aab4c8; margin: 0; }
.tool-rows { display: grid; gap: 4px; font-size: .92rem; }
.tool-rows div { display: flex; justify-content: space-between; gap: 12px; }
.tool-rows span { color: #aab4c8; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #cfd6e4; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #8f9ab0; }
.status.is-live i { background: var(--lime); box-shadow: 0 0 0 4px rgba(185, 247, 91, .2); }
.status.is-demo i { background: var(--amber); }

/* ---------- Oplossingen: situation matcher ---------- */
.match-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.match-bar button {
  font: inherit; font-weight: 650; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(26, 35, 73, .18); background: #fff; color: var(--ink); transition: background-color .2s, color .2s, border-color .2s;
}
.match-bar button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--night); }
.match-out { font-size: .95rem; color: var(--muted); margin: -16px 0 28px; min-height: 1.4em; }
[data-fit] { transition: opacity .3s, filter .3s; }
.is-filtering [data-fit]:not(.is-match) { opacity: .3; filter: saturate(.2); }
/* matching solutions get a green edge and lift slightly */
.match-tiles .vtile { min-height: 360px; transition: opacity .3s, filter .3s, transform .3s var(--ease), box-shadow .3s; }
.is-filtering .match-tiles .vtile.is-match { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--green), 0 22px 40px -24px rgba(17, 28, 56, .6); }

/* ---------- Kennis ---------- */
.k-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.k-toc { position: sticky; top: 120px; display: grid; gap: 4px; font-size: .95rem; }
.k-toc a { text-decoration: none; color: var(--muted); padding: 6px 0 6px 14px; border-left: 2px solid var(--line); }
.k-toc a:hover, .k-toc a.is-on { color: var(--ink); border-left-color: var(--yellow); }
.k-art { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.k-art:last-child { border-bottom: 0; margin-bottom: 0; }
.k-art h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 18px; }
.k-meta { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.k-stack { display: grid; gap: 6px; max-width: 520px; margin: 8px 0; }
.k-stack div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 16px; border-radius: var(--r-ctl); background: #fff; border: 1px solid var(--line); font-size: .97rem; }
.k-stack div:last-child { background: var(--night); color: #fff; border: 0; font-weight: 700; }
.gloss-search { width: min(100%, 420px); padding: 14px 18px; border-radius: var(--r-inner); border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; margin-bottom: 28px; }
.gloss-search::placeholder { color: #7a8199; }
.gloss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; }
.gloss div { padding: 16px 0; border-bottom: 1px solid rgba(26, 35, 73, .12); }
.gloss dt { font-weight: 800; margin-bottom: 4px; }
.gloss dd { margin: 0; color: var(--muted); font-size: .97rem; }
.gloss-empty { color: var(--muted); }

/* ---------- Contact ---------- */
.c-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.c-ways { display: grid; gap: 18px; }
.c-ways a.tile { flex-direction: row; align-items: center; gap: 18px; }
.c-ways strong { display: block; font-size: 1.2rem; }
.c-form { border-radius: var(--r-card); background: #fff; padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 16px; }
.c-form label { display: grid; gap: 6px; font-weight: 650; font-size: .95rem; }
.c-form input, .c-form select, .c-form textarea { font: inherit; padding: 12px 14px; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: var(--paper); }
.c-form textarea { min-height: 130px; resize: vertical; }
.c-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c-form .c-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot: invisible to people, filled in by bots */
.c-form button[aria-busy="true"] { opacity: .6; cursor: progress; }
.c-form .c-consent { display: flex; gap: 10px; font-weight: 400; align-items: start; }
.c-form .err { color: #b3261e; font-size: .9rem; min-height: 1.2em; }
.c-done { border-radius: var(--r-inner); padding: 18px; background: #eef6e6; }
.placeholder-note { font-size: .9rem; color: var(--muted); background: #fff8d6; border-radius: var(--r-ctl); padding: 12px 14px; margin: 0; }

/* ---------- Photo slot for content we still need ---------- */
.todo-slot { border-radius: var(--r-card); min-height: 320px; display: grid; place-items: center; text-align: center; padding: 24px;
  border: 2px dashed rgba(26, 35, 73, .25); color: var(--muted); background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(26, 35, 73, .03) 14px 28px); }

/* ---------- CTA band ---------- */
/* closing step: the section follows the light rhythm; only the panel is navy (as on the homepage) */
.p-final { padding: clamp(72px, 10vw, 130px) 0; }
.p-final-card { border-radius: var(--r-card); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; color: #fff; background: radial-gradient(60% 90% at 0% 100%, rgba(102, 180, 52, .18), transparent 65%), radial-gradient(50% 80% at 100% 0%, rgba(224, 222, 9, .09), transparent 65%), linear-gradient(160deg, #1b2850 0%, #141f42 55%, #111c38 100%); }
.p-final h2 { font-size: clamp(2rem, 4vw, 3rem); }
.p-final p { color: #c3cad8; margin-top: 12px; max-width: 34em; }
.p-final .p-cta { margin-top: 0; justify-content: flex-end; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .p-hero-grid, .p-split, .c-grid { grid-template-columns: 1fr; }
  .p-split > :first-child { position: static; }
  .tiles, .tiles.t4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool { grid-template-columns: 1fr; }
  .tool-side { border-left: 0; border-top: 1px solid var(--glass-line); }
  .k-layout { grid-template-columns: 1fr; }
  .k-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-final-card { grid-template-columns: 1fr; }
  .p-final .p-cta { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .tiles, .tiles.t2, .tiles.t4, .p-steps, .p-steps.s3, .timeline, .gloss { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline div { padding: 18px 0 18px 30px; }
  .timeline div::before { top: 22px; }
  .tool-chart { height: 200px; }
  .c-form .row2 { grid-template-columns: 1fr; }
  .k-toc { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
}
.p-facts p { margin: 0; }

.tool-calc { border-top: 1px solid var(--glass-line); padding-top: 12px; }
.tool-calc span { max-width: 70%; }
.tool-result .big.is-neg { color: var(--amber); }

@media (max-width: 860px) {
  .p-hero { min-height: 0; padding-top: 130px; }
  .p-hero-img { object-position: 78% 50%; }
  .p-hero-shade { background: linear-gradient(180deg, rgba(5, 8, 22, .25) 0%, rgba(5, 8, 22, .6) 40%, rgba(5, 8, 22, .9) 100%); }
}
@media (prefers-reduced-motion: reduce) { .p-hero-img { animation: none; transform: none; } }

/* ---------- Belangrijke documenten: groups of PDF rows on white cards ---------- */
/* belangrijke documenten: one library; category on the left, equal document cards on the right */
.doc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.doc-jump a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 650; font-size: .9rem; color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s; }
.doc-jump a:hover { border-color: var(--green); color: var(--green-dark); }
.doc-library { display: grid; }
.doc-cat { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding: clamp(26px, 3.4vw, 40px) 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.doc-cat:first-child { border-top: 0; padding-top: 0; }
.doc-cat-head h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.doc-cat-head p { color: var(--muted); font-size: .95rem; margin: 8px 0 12px; }
.doc-count { font-size: .8rem; font-weight: 700; color: var(--green-dark); }
.doc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.doc-card { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; padding: 18px; border-radius: var(--r-inner); background: #fff; box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; border: 1.5px solid transparent; transition: border-color .2s, transform .2s; }
.doc-card:hover { border-color: var(--green); transform: translateY(-2px); }
.doc-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--night); color: var(--lime); font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.doc-card .doc-ico { margin-bottom: 6px; }
.doc-card b { font-size: 1rem; line-height: 1.3; }
.doc-desc { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.doc-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.doc-open { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--green-dark); }
.doc-older { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.doc-older > span { font-size: .85rem; font-weight: 650; color: var(--muted); margin-right: 4px; }
.doc-chip { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 650; color: var(--ink); text-decoration: none; }
.doc-chip span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.doc-chip:hover { border-color: var(--green); }

/* ---------- Modelcontract: rate cards ---------- */
.rate-grid { display: grid; grid-template-columns: 1.25fr 1fr .9fr; gap: 20px; align-items: start; }
.rate-card { background: #fff; border-radius: var(--r-card); padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.rate-card::before { content: ''; position: absolute; left: 24px; top: 0; width: 72px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--yellow), var(--green)); }
.rate-kind { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--yellow); color: var(--navy-deep); }
.rate-card h3 { margin-top: 12px; font-size: 1.1rem; color: var(--muted); font-weight: 650; }
.rate-big { font-size: clamp(2.2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 4px 0 0; font-variant-numeric: tabular-nums; }
.rate-big small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.rate-sub { color: var(--muted); font-size: .85rem; margin: 2px 0 14px; }
.rate-rows { margin: 0; display: grid; }
.rate-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.rate-rows dt { color: var(--muted); }
.rate-rows dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rate-foot { color: var(--muted); font-size: .88rem; margin: 12px 0 0; }
.rate-more summary, .rate-old summary { cursor: pointer; font-weight: 650; color: var(--green-dark); padding: 10px 0 4px; font-size: .92rem; }
.rate-more p { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.rate-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rate-split > div { background: #fff; border-radius: var(--r-card); padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-card); }
.rate-split h3 { font-size: 1.15rem; }
.rate-tag { display: inline-block; font-size: .8rem; font-weight: 650; color: var(--green-dark); margin: 4px 0 10px; }
.rate-olds { display: grid; gap: 10px; max-width: 760px; }
.rate-old { background: #fff; border-radius: var(--r-inner); padding: 6px 20px 10px; box-shadow: var(--shadow-card); }
.rate-old[open] { padding-bottom: 16px; }

/* ---------- Klantenservice: question lists ---------- */
.qa-wrap .p-head { margin-bottom: 26px; }
.qa-list { max-width: 860px; }
.qa-group { font-size: 1.15rem; margin: 30px 0 4px; color: var(--green-dark); }
.qa-group:first-child { margin-top: 0; }
.qa-a { padding: 0 0 22px; color: var(--muted); max-width: 44em; display: grid; gap: 10px; }
.qa-a p { margin: 0; padding: 0; }
.qa-a ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.qa-top .qa-list { background: #fff; border-radius: var(--r-card); padding: 6px clamp(18px, 2.6vw, 30px); box-shadow: var(--shadow-card); }
.qa-top .qa-list details:last-child { border-bottom: 0; }

@media (max-width: 900px) {
  .rate-grid, .rate-split, .doc-cat { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .doc { grid-template-columns: 38px minmax(0, 1fr) 16px; }
  .doc-ico { width: 38px; height: 38px; }
}

/* ---------- Slimme sturing: two products as a route (step 1 insight, step 2 automatic control) ---------- */
.prod2 { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.prod-card { background: #fff; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.prod-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; }
.prod-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(17, 28, 56, .55)); }
.prod-step { position: absolute; left: 20px; bottom: 16px; z-index: 1; font-size: .8rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--yellow); color: var(--navy-deep); }
.prod-body { padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 14px; align-content: start; flex: 1; }
.prod-body h3 { font-size: 1.35rem; }
.prod-body > p { color: var(--muted); margin: 0; }
.prod-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.prod-facts li { background: var(--paper); border-radius: var(--r-ctl); padding: 10px 12px; display: grid; gap: 2px; }
.prod-facts b { font-size: .98rem; }
.prod-facts span { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.prod-label { font-size: .85rem; font-weight: 700; color: var(--ink) !important; margin-bottom: -6px !important; }
.prod-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prod-chips li { font-size: .88rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(102, 180, 52, .12); color: var(--green-dark); }
.prod-more summary { cursor: pointer; font-weight: 650; font-size: .92rem; color: var(--green-dark); }
.prod-more .specs { margin-top: 10px; }
.prod-foot { font-size: .9rem; margin-top: auto !important; padding-top: 4px; }
.prod-foot a { color: var(--green-dark); font-weight: 650; }
.prod-arrow { align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--night); color: var(--lime); box-shadow: var(--shadow-card); }
@media (max-width: 900px) {
  .prod2 { grid-template-columns: minmax(0, 1fr); }
  .prod-arrow { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 520px) { .prod-facts { grid-template-columns: minmax(0, 1fr); } }
.prod-card .specs { font-size: .9rem; }
.prod-card .specs th, .prod-card .specs td { border-bottom-color: var(--line); padding: 9px 0; }
.prod-card .specs th { color: var(--muted); }

/* ---------- ERE-certificaten (Joulo): text left, three steps right ---------- */
.ere { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ere-kicker { font-weight: 700; font-size: .9rem; color: var(--green-dark); margin: 0 0 12px; }
.ere .lead { margin-top: 16px; }
.ere-cta { margin: 26px 0 0; }
.ere-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ere-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; background: #fff; border-radius: var(--r-inner); padding: 18px 20px; box-shadow: var(--shadow-card); }
.ere-steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: var(--lime); font-size: 1rem; }
.ere-steps h3 { font-size: 1.05rem; }
.ere-steps p { margin: 4px 0 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 860px) { .ere { grid-template-columns: minmax(0, 1fr); } }

/* Energy Hub schema: icon boxes, dashed animated lines, cloud in the middle */
.hf-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hf-text h2 { margin-bottom: 14px; }
.hf-box { max-width: 620px; justify-self: end; width: 100%; }
@media (max-width: 960px) { .hf-grid { grid-template-columns: minmax(0, 1fr); } .hf-box { justify-self: center; } }
.hf { display: block; width: 100%; height: auto; font-family: inherit; overflow: visible; }
.hf-tall { display: none; max-width: 420px; margin: 0 auto; }
.hf-node rect { fill: rgba(102, 180, 52, .1); stroke: #66b434; stroke-width: 2; }
.hf-ico { fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hf text { text-anchor: middle; }
.hf-t { fill: #fff; font-size: 15px; font-weight: 700; }
.hf-s { fill: #aab4c8; font-size: 12px; }
.hf-hub { fill: #fff; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.hf-cloud-edge > * { fill: #66b434; stroke: #66b434; stroke-width: 4; }
.hf-cloud-fill > * { fill: #16244a; }
.hf-line { fill: none; stroke: #66b434; stroke-width: 1.6; stroke-dasharray: 5 6; animation: hf-dash 1.4s linear infinite; }
.hf-dot { fill: var(--lime); }
@keyframes hf-dash { to { stroke-dashoffset: -22; } }
@media (max-width: 720px) { .hf-wide { display: none; } .hf-tall { display: block; } }
@media (prefers-reduced-motion: reduce) { .hf-line { animation: none; } }

/* klantenservice: search + topic blocks; topic pages with a side menu */
.ks-search { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); position: relative; }
.ks-search label { display: block; font-weight: 750; font-size: 1.15rem; margin-bottom: 10px; }
.ks-field { position: relative; }
.ks-field svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); }
.ks-field input { width: 100%; padding: 16px 18px 16px 50px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 1rem; box-shadow: var(--shadow-card); }
.ks-field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(102, 180, 52, .18); }
.ks-results { list-style: none; margin: 10px 0 0; padding: 6px; background: #fff; border-radius: var(--r-inner); box-shadow: var(--shadow-card); display: grid; }
.ks-results a { display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--r-ctl); color: var(--ink); text-decoration: none; }
.ks-results a:hover, .ks-results a:focus-visible { background: rgba(102, 180, 52, .1); }
.ks-results b { font-weight: 650; font-size: .95rem; }
.ks-results span { font-size: .8rem; color: var(--muted); }
.ks-empty { margin: 12px 4px 0; color: var(--muted); }
.ks-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.ks-popular > span { font-size: .85rem; font-weight: 650; color: var(--muted); }
.ks-popular ul { list-style: none; margin: 0; padding: 0; display: contents; }
.ks-popular a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; color: var(--ink); text-decoration: none; }
.ks-popular a:hover { border-color: var(--green); }
.ks-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ks-topic { display: grid; grid-template-rows: auto 1fr auto; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: clamp(20px, 2.4vw, 26px); }
.ks-topic-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; color: var(--ink); text-decoration: none; }
.ks-topic-head b { display: block; font-size: 1.1rem; line-height: 1.3; }
.ks-topic-head span span { display: block; color: var(--muted); font-size: .88rem; margin-top: 3px; }
.ks-topic-head:hover b { color: var(--green-dark); }
.ks-qs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; align-content: start; }
.ks-qs a { display: block; padding: 9px 0; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.4; color: var(--ink); text-decoration: none; }
.ks-qs a:hover { color: var(--green-dark); }
.ks-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; font-size: .9rem; color: var(--green-dark); text-decoration: none; }
.ks-layout { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ks-side { position: sticky; top: 110px; }
.ks-side p { font-size: .8rem; font-weight: 700; color: var(--muted); margin: 0 0 8px 12px; }
.ks-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ks-side a { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 9px 12px; border-radius: var(--r-ctl); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.ks-side a:hover { background: rgba(102, 180, 52, .08); }
.ks-side a[aria-current="page"] { background: #fff; box-shadow: var(--shadow-card); color: var(--green-dark); }
.ks-side .mega-ico { width: 32px; height: 32px; }
.ks-main { display: grid; gap: 22px; }
.ks-group { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 8px clamp(18px, 2.6vw, 30px); }
.ks-group-title { font-size: 1.15rem; margin: 18px 0 4px; color: var(--green-dark); }
.ks-group .qa-list { max-width: none; }
.ks-group details:last-child { border-bottom: 0; }
.ks-group details { scroll-margin-top: 110px; }
.ks-group details:target summary { color: var(--green-dark); }
@media (max-width: 960px) {
  .ks-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-layout { grid-template-columns: minmax(0, 1fr); }
  .ks-side { position: static; }
  .ks-side ul { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
  .ks-side a { white-space: nowrap; }
}
@media (max-width: 640px) { .ks-topics { grid-template-columns: minmax(0, 1fr); } }

/* Batterijen: "Eén batterij, meer markten", a stepped chart that adds one market per click (assets/markten.js) */
.mk { --da: #243062; --in: #8bc53f; --out: #f6862a; --onb: #e0304e; --net: #3a6fd8;
      max-width: 1180px; margin: clamp(48px, 6vw, 80px) auto 0; background: #f5f6f9; border-radius: 22px; padding: clamp(20px, 4vw, 48px);
      color: var(--ink); box-shadow: 0 30px 60px -40px rgba(26, 30, 48, .5); }
.mk-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 8px; }
.mk-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
.mk-sub { margin: 8px 0 0; color: #4b5470; max-width: 60ch; }
.mk-nav { display: flex; gap: 8px; }
.mk-nav button { font: inherit; font-weight: 650; border-radius: 999px; padding: 10px 18px; cursor: pointer; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); }
.mk-nav button.primary { background: var(--navy); color: #fff; }
.mk-nav button:disabled { opacity: .35; cursor: default; }
.mk-nav button:focus-visible, .mk-steps button:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.mk-chart-wrap { position: relative; margin-top: 18px; }
.mk-chart { width: 100%; height: auto; display: block; }
.mk-chart text { font-family: inherit; font-size: 13px; fill: #5b6480; }
.mk-chart .grid line { stroke: rgba(36, 48, 98, .08); }
.mk-chart .grid .zero { stroke: rgba(36, 48, 98, .35); }
.mk-chart .da { fill: none; stroke: var(--da); stroke-width: 3; stroke-linejoin: round; }
.mk-chart .onb { fill: none; stroke: var(--onb); stroke-width: 1.8; stroke-linejoin: round; }
.mk-chart .dot { fill: var(--onb); stroke: #fff; stroke-width: 2; }
.mk-chart .w-in { fill: rgba(139, 197, 63, .18); }
.mk-chart .w-out { fill: rgba(246, 134, 42, .16); }
.mk-chart .b-base { stroke: rgba(36, 48, 98, .35); }
.mk-chart .b-in { fill: var(--in); }
.mk-chart .b-out { fill: var(--out); }
.mk-chart .t-in { fill: #5f9a1c; font-weight: 700; font-size: 12px; }
.mk-chart .t-out { fill: #c8640f; font-weight: 700; font-size: 12px; }
.mk-chart .afroep { fill: rgba(58, 111, 216, .1); stroke: var(--net); stroke-width: 1.5; stroke-dasharray: 6 5; }
.mk-chart .afroep-t { fill: var(--net); font-weight: 750; font-size: 12px; }
.mk-chart .illu { fill: var(--onb); font-size: 12px; font-weight: 650; }
.mk-chart .layer { transition: opacity .5s ease; }
.mk-chart .layer.off { opacity: 0; }
.mk-chart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: mk-draw 1.1s ease forwards; }
@keyframes mk-draw { to { stroke-dashoffset: 0; } }
.mk-badge { position: absolute; left: 7%; top: 2%; background: var(--navy-deep); color: #fff; border-radius: 12px; padding: 10px 16px;
            text-align: center; transition: opacity .4s, transform .4s; }
.mk-badge.off { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.mk-badge strong { display: block; color: var(--lime); font-size: clamp(1.1rem, 2.2vw, 1.6rem); }
.mk-badge span { font-size: .78rem; opacity: .9; }
.mk-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; list-style: none; padding: 0; }
.mk-steps button { all: unset; display: block; cursor: pointer; border-top: 4px solid var(--c); padding-top: 10px; width: 100%; }
.mk-steps li { transition: opacity .4s; }
.mk-steps li.later { opacity: .32; }
.mk-steps li.later button { border-top-color: rgba(36, 48, 98, .15); }
.mk-steps strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.mk-steps p { margin: 0; font-size: .9rem; line-height: 1.45; color: #3a4260; }
.mk-foot { margin-top: 18px; font-size: .78rem; color: #6a7390; }
@media (max-width: 760px) { .mk-steps { grid-template-columns: 1fr 1fr; } .mk-badge { position: static; display: inline-block; margin-bottom: 8px; } .mk-badge.off { display: none; } }
@media (prefers-reduced-motion: reduce) { .mk-chart .layer, .mk-badge, .mk-steps li { transition: none; } .mk-chart .draw { animation: none; stroke-dashoffset: 0; } }

/* Contact: which mailbox is for what */
.c-mail { padding: 22px 24px; border-radius: var(--r-card); border: 1.5px solid var(--line); display: grid; gap: 12px; }
.c-mail h3 { font-size: 1.1rem; margin: 0; }
.c-mail p { margin: 0; display: grid; gap: 2px; }
.c-mail span { font-size: .9rem; color: var(--muted, #5b6476); }
.c-mail a { font-weight: 700; color: var(--navy); text-decoration: none; overflow-wrap: break-word; }
.c-mail a:hover { color: var(--green-dark); }
.c-form .c-route { margin: -8px 0 0; font-size: .88rem; color: var(--muted, #5b6476); }
