/* energielabelcijfers.nl - theme v1 "labelstrook" (24-11-2026, design v1 approved by Madà 24-11)
   Warm off-white ground, an ink band for header and hero, and the official energy label colours as the ONLY data
   palette: every area is one strip of eight segments (A+ and better .. G). Yellow buttons, teal links.
   Newsreader for headings and figures, Public Sans for text. */

@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ground: #F6F5F0;
  --card: #FFFFFF;
  --ink: #13212B;
  --ink-2: #4A5963;
  --line: #DAD8CF;
  --line-2: #E6E4DC;
  --link: #0E5A6B;
  --link-hover: #08404C;
  --band-text: #DCE6E9;
  --band-soft: #B9D7DE;
  --button: #F2C230;
  --soft: #E7EEEC;
  --l1: #14703A; --l2: #2F9E44; --l3: #9BC53D; --l4: #E3E04A; --l5: #F2C230; --l6: #EE9A2E; --l7: #E2672A; --l8: #C9341B;
  --head: "Newsreader", Georgia, serif;
  --text: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--ground); font: 400 1.0625rem/1.6 var(--text); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--button); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.1; margin: 0 0 .45em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--card); padding: .5rem 1rem; }
.wrap { max-width: 72.5rem; margin: 0 auto; padding: 2.5rem 1rem 3rem; }
.kicker { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .6rem; }
.note { font-size: .95rem; color: var(--ink-2); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.more { font-weight: 600; }
.btn, .search button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.4rem; border: 0; border-radius: var(--r);
  background: var(--button); color: var(--ink); font: 650 1rem/1 var(--text); text-decoration: none; cursor: pointer; }
.btn:hover, .search button:hover { background: #E5B31F; color: var(--ink); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }

/* header + band ----------------------------------------------------------------------------------------------- */
.site-header { background: var(--ink); color: var(--ground); }
.site-header__inner { max-width: 72.5rem; margin: 0 auto; padding: .8rem 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; }
.brand__logo { display: block; width: 240px; height: auto; }
.topnav { margin-left: auto; }
.topnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; }
.topnav a { color: var(--ground); text-decoration: none; font-size: .98rem; }
.topnav a:hover, .topnav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.band { background: var(--ink); color: var(--ground); }
.band__inner { max-width: 72.5rem; margin: 0 auto; padding: 2rem 1rem 3rem; }
.band .kicker { color: var(--band-soft); }
.band h1 { max-width: 52rem; }
.band__answer { font-size: 1.25rem; line-height: 1.45; max-width: 48rem; color: var(--band-text); margin-bottom: 1.6rem; }
.band__answer b, .band__answer strong { color: #fff; }

/* search ------------------------------------------------------------------------------------------------------ */
.search { max-width: 46rem; }
.search__label { position: absolute; left: -9999px; }
.search__row { display: flex; flex-wrap: wrap; gap: .6rem; }
.search input { flex: 1 1 18rem; min-height: 52px; padding: 0 1.1rem; border: 0; border-radius: var(--r); font: 400 1.05rem var(--text); color: var(--ink); background: #fff; }
.search button { min-height: 52px; }
.wrap .search input { box-shadow: inset 0 0 0 1px #9AA4A9; }

/* the label strip --------------------------------------------------------------------------------------------- */
.strip { display: flex; height: 26px; border-radius: 3px; overflow: hidden; background: var(--line-2); }
.strip--big { height: 64px; }
.strip--thin { height: 14px; border-radius: 2px; }
.seg { flex: 0 0 0; min-width: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.seg b { font: 600 1rem/1 var(--text); }
.seg--1 { background: var(--l1); color: #fff; } .seg--2 { background: var(--l2); color: #fff; }
.seg--3 { background: var(--l3); } .seg--4 { background: var(--l4); } .seg--5 { background: var(--l5); }
.seg--6 { background: var(--l6); } .seg--7 { background: var(--l7); } .seg--8 { background: var(--l8); color: #fff; }
.strip-legend { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; font-size: .85rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.strip-legend b { color: var(--ink); }
.rows { display: flex; flex-direction: column; gap: .6rem; }
.rows__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .8rem; align-items: center; }
.rows__k { font-size: .95rem; font-variant-numeric: tabular-nums; }

/* blocks, tiles, columns -------------------------------------------------------------------------------------- */
.block { margin: 0 0 3rem; }
.block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .8rem; }
.block__head h2 { margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0 0 3rem; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; }
.tile__k, .tile__s { margin: 0; font-size: .9rem; color: var(--ink-2); }
.tile__v { margin: .3rem 0 .2rem; font: 600 2.3rem/1.1 var(--head); font-variant-numeric: tabular-nums; }
.tile--a { border-top: 4px solid var(--l2); } .tile--eg { border-top: 4px solid var(--l8); } .tile--none { border-top: 4px solid var(--ink); } .tile--exp { border-top: 4px solid var(--l6); }
.cols { display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 0 0 3rem; }
.cols__main { flex: 999 1 34rem; min-width: 0; }
.cols__side { flex: 1 1 18rem; align-self: flex-start; }
.callout { background: var(--soft); border-radius: var(--r); padding: 1.5rem; }
.callout h2 { font-size: 1.45rem; }
.callout__head { font: 600 1.3rem/1.2 var(--head); margin-bottom: .5rem; }
.callout ul { margin: 0; padding-left: 1.1rem; }
.callout li { margin-bottom: .4rem; }
.side-links { list-style: none; margin: 1rem 0 0; padding: 0; }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links a { display: block; padding: .6rem 0; text-decoration: none; }

/* tables ------------------------------------------------------------------------------------------------------ */
.table-box { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
table.areas { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .97rem; }
table.areas th { text-align: left; padding: .75rem 1rem; border-bottom: 2px solid var(--ink); font-weight: 650; white-space: nowrap; }
table.areas th.num { text-align: right; }
table.areas td { padding: .7rem 1rem; border-bottom: 1px solid var(--line-2); }
table.areas tr:last-child td { border-bottom: 0; }
.areas__strip { width: 34%; }
table.areas th button { font: inherit; font-weight: 650; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* prose ------------------------------------------------------------------------------------------------------- */
.prose { max-width: 44rem; }
.prose--home { max-width: 48rem; margin: 0 0 3rem; }
.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 1.5rem; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--line); }
.lead { font-size: 1.2rem; }
.source { font-size: .88rem; color: var(--ink-2); margin-top: .8rem; }
.crumbs { font-size: .9rem; color: var(--ink-2); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ink-2); }

/* footer ------------------------------------------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line); background: var(--card); }
.site-footer__inner { max-width: 72.5rem; margin: 0 auto; padding: 2rem 1rem 1rem; display: flex; flex-wrap: wrap; gap: 2rem 3rem; }
.site-footer__about { flex: 1 1 22rem; font-size: .95rem; color: var(--ink-2); }
.site-footer__logo { display: block; width: 200px; margin-bottom: .8rem; }
.site-footer nav { flex: 0 1 12rem; }
.site-footer__head { font-weight: 650; margin-bottom: .4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.site-footer li { margin-bottom: .3rem; }
.site-footer__small { max-width: 72.5rem; margin: 0 auto; padding: 0 1rem 1.5rem; font-size: .82rem; color: var(--ink-2); }

/* share (platform partials share-style / share-script) -------------------------------------------------------- */
.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.4rem; margin: 0 0 2rem; }
.share__title { font-size: 1.3rem; margin: 0 0 .2rem; }
.share__lead { margin: 0; color: var(--ink-2); }
.share__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.share__btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 1rem; border: 1px solid var(--ink);
  border-radius: var(--r); background: #fff; color: var(--ink); font: 600 .95rem var(--text); text-decoration: none; cursor: pointer; }

/* area pages (energylabel/*) --------------------------------------------------------------------------------- */
.band .crumbs, .band .crumbs a { color: var(--band-soft); }
.vs__k { margin: 0 0 .35rem; font-weight: 650; }
.vs__k--nl { margin-top: 1.2rem; font-weight: 400; font-size: .92rem; color: var(--ink-2); }
.cols__half { flex: 1 1 26rem; min-width: 0; }
.rank { list-style: none; counter-reset: r; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.rank li { counter-increment: r; display: grid; grid-template-columns: 1.8rem minmax(7rem, 11rem) minmax(0, 1fr) 3.2rem; gap: .7rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line-2); }
.rank li::before { content: counter(r); color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: right; font-size: .9rem; }
.rank a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank__v { text-align: right; font: 600 1.05rem/1 var(--head); font-variant-numeric: tabular-nums; }
.filter span { font-weight: 650; margin-right: .4rem; }
.filter input { font: inherit; min-height: 44px; padding: 0 .8rem; border: 1px solid #9AA4A9; border-radius: var(--r); background: #fff; }
.az { columns: 15rem; column-gap: 2rem; }
.az__group { break-inside: avoid; margin-bottom: 1rem; }
.az__letter { font: 600 1.3rem/1 var(--head); border-bottom: 2px solid var(--ink); padding-bottom: .25rem; margin-bottom: .3rem; }
.az ul { list-style: none; margin: 0; padding: 0; }
.az li { display: flex; justify-content: space-between; gap: .5rem; padding: .15rem 0; }
.az li span { font-size: .88rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.search__hits { list-style: none; margin: .6rem 0 0; padding: .4rem 0; background: #fff; border-radius: var(--r); color: var(--ink-2); max-width: 46rem; }
.search__hits li { padding: .35rem 1.1rem; }
table.areas tbody th { text-align: left; font-weight: 400; padding: .7rem 1rem; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
table.areas td.note { font-size: .88rem; }

/* monthly mail (partial alert-form) ---------------------------------------------------------------------------- */
.alert { position: relative; margin: 3rem 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem 1.5rem 1.5rem; overflow: hidden; }
.alert::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--l1) 0 12.5%, var(--l2) 0 25%, var(--l3) 0 37.5%, var(--l4) 0 50%, var(--l5) 0 62.5%, var(--l6) 0 75%, var(--l7) 0 87.5%, var(--l8) 0); }
.alert__head h2 { margin-top: 0; }
.alert__head p { max-width: 46rem; }
.alert__example { margin: .25rem 0 1.2rem; }
.alert__example summary { cursor: pointer; color: var(--link); font-weight: 600; }
.mailx { background: var(--ground); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; margin-top: .6rem; max-width: 34rem; }
.mailx__from { font-size: .8rem; color: var(--ink-2); margin-bottom: .3rem; }
.mailx__subject { font: 600 1.1rem/1.3 var(--head); }
.mailx__nums { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.mailx__nums p { margin: 0 0 .6rem; font-size: .9rem; }
.mailx__nums b { display: block; font: 600 1.6rem/1.1 var(--head); }
.mailx__cta { display: inline-block; background: var(--button); padding: .5rem .9rem; border-radius: var(--r); font-weight: 650; }
.mailx__small { font-size: .8rem; color: var(--ink-2); margin: 0; }
.alert__row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; margin-bottom: .75rem; }
.alert__field { display: flex; flex-direction: column; gap: .25rem; flex: 1 1 9rem; font-size: .9rem; font-weight: 600; }
.alert__field--wide { flex: 2 1 15rem; }
.alert__field input, .alert__field select { font: 400 1rem var(--text); min-height: 48px; padding: 0 .8rem; border: 1px solid #9AA4A9; border-radius: var(--r); background: #fff; color: var(--ink); min-width: 0; }
.alert__area { font-size: .92rem; color: var(--ink-2); }
.alert__hp { position: absolute; left: -9999px; }
.alert__consent { font-size: .82rem; color: var(--ink-2); margin: 0; }
.alert__msg { margin: .75rem 0 0; padding: .6rem .8rem; border-radius: var(--r); background: var(--soft); }
.alert__msg.is-err { background: #FBE3DC; }
.alert__done { background: var(--soft); border-radius: var(--r); padding: 1rem 1.2rem; }
.alert__done-title { font: 600 1.3rem var(--head); }
.alert__done-small { font-size: .85rem; color: var(--ink-2); margin: 0; }

@media (max-width: 48rem) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-legend { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rows__row { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .topnav { margin-left: 0; }
  .brand__logo { width: 210px; }
  .rank li { grid-template-columns: 1.6rem minmax(0, 1fr) 3rem; }
  .rank li .strip { display: none; }
}

@media print { body { background: #fff; } .alert, .share, .search { display: none; } }
