/*
  Live Megawatt — één stylesheet voor de hele site.
  Opzet: donkerblauw en bordeaux uit het portaal, Raleway voor koppen (zoals in het logo),
  IBM Plex Sans voor lopende tekst. De homepage toont hetzelfde park op drie schermen.
*/

@font-face {
  font-family: 'Raleway';
  src: url('/fonts/raleway.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/fonts/plex-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/fonts/plex-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/fonts/plex-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy: #1d3554;
  --navy-deep: #14263d;
  --navy-mid: #2a4a6b;
  --bordeaux: #993139;
  --bordeaux-ink: #7c2530;
  --rose: #bc7d81;
  --amber: #f0aa3c;
  --paper: #f8f8fa;
  --white: #fff;
  --stage: #e4eaf2;
  --line: #d3dae5;
  --muted: #55647a;
  --display: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 24px;
}

/* Basis */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy-deep);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
b,
strong {
  font-variant-numeric: tabular-nums lining-nums;
}
:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 3px;
  border-radius: 3px;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--white);
}

.wrap {
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-variant-numeric: lining-nums;
  color: var(--navy);
  text-wrap: balance;
}
h1 {
  font-weight: 800;
  font-size: clamp(2.1rem, 4.3vw, 3.6rem);
  line-height: 1.07;
  letter-spacing: -0.022em;
}
h2 {
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h3 {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
}
.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40em;
}
.muted {
  color: var(--muted);
}

/* Knoppen en links */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border: 0;
  border-radius: 6px;
  background: var(--bordeaux);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover {
  background: var(--bordeaux-ink);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: default;
}
.link {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.link:hover {
  text-decoration-color: var(--bordeaux);
}
.text a:not(.btn) {
  color: var(--navy);
  text-decoration-color: var(--rose);
  text-underline-offset: 3px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

/* Kop van de site */
.site-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 36px;
  padding-block: 22px;
}
.logo img {
  height: 46px;
  width: auto;
}
.site-head nav {
  display: flex;
  gap: 30px;
}
.site-head a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.site-head nav a,
.quiet {
  color: var(--muted);
}
.site-head nav a:hover,
.quiet:hover,
.site-head nav a[aria-current='page'] {
  color: var(--navy-deep);
}
.site-head nav a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.head-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.head-end .btn {
  color: var(--white);
}

/* Paginakop: kop links, toelichting rechts */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: end;
  padding-block: 40px 44px;
}
.intro .pitch p {
  font-size: 1.08rem;
  color: var(--muted);
}
.intro .actions {
  margin-top: 22px;
}
.intro.plain {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding-block: 40px 56px;
}
.intro.plain h1 {
  max-width: 18em;
}

/* Secties */
.section {
  padding-block: 72px;
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  gap: 12px;
  max-width: 44em;
  margin-bottom: 36px;
}
.section-head p {
  color: var(--muted);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.split > div:first-child {
  display: grid;
  gap: 12px;
}
.split > div:first-child p {
  color: var(--muted);
}

/* De drie schermen op de homepage */
.stage {
  padding-bottom: 72px;
}
.stage-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--muted);
}
.stage-note i {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bordeaux);
}
.devices {
  display: grid;
  grid-template-columns: minmax(0, 100fr) minmax(0, 52fr) minmax(0, 27fr);
  gap: 28px;
  align-items: end;
  padding: 36px 36px 28px;
  border-radius: 10px;
  background: var(--stage);
}
/* De figuur is de container, zodat de maten in het apparaat (cqw) meeschalen met de kolom. */
.device {
  container-type: inline-size;
  min-width: 0;
}
.device figcaption {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.device figcaption strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

/* Dashboard op een wandscherm */
.tv {
  display: grid;
  grid-template-columns: 62fr 38fr;
  aspect-ratio: 16 / 9;
  border: 0.9cqw solid #0b1422;
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 22px 40px -22px rgb(20 38 61 / 0.55);
}
.tv-map {
  min-height: 0;
}
.tv-side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 3cqw 2.8cqw 2.2cqw;
  line-height: 1.3;
}
.tv-park {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.1cqw;
  color: rgb(255 255 255 / 0.72);
}
.tv-num {
  margin-top: 0.6cqw;
  font-size: 2.6cqw;
  line-height: 1;
}
.tv-num b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 8.4cqw;
  letter-spacing: -0.02em;
}
.meter {
  height: 0.8cqw;
  margin-top: 1.6cqw;
  border-radius: 1cqw;
  background: rgb(255 255 255 / 0.16);
  overflow: hidden;
}
.meter i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--rose);
}
.tv-pct {
  margin-top: 0.9cqw;
  font-size: 1.7cqw;
  color: rgb(255 255 255 / 0.66);
}
.tv-side dl {
  margin-top: 2.2cqw;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}
.tv-side dl div {
  display: flex;
  justify-content: space-between;
  padding: 0.95cqw 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
  font-size: 1.75cqw;
}
.tv-side dt {
  color: rgb(255 255 255 / 0.66);
}
.tv-side dd b {
  font-weight: 600;
}
.tv-chart-title {
  margin-top: auto;
  padding-top: 1.6cqw;
  font-size: 1.6cqw;
  color: rgb(255 255 255 / 0.66);
}
.bars {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  align-items: end;
  gap: 0.35cqw;
  height: 7.5cqw;
  margin-top: 0.9cqw;
  border-bottom: 1px solid rgb(255 255 255 / 0.25);
}
.bars span {
  background: var(--rose);
  border-radius: 0.3cqw 0.3cqw 0 0;
}
.bars span[data-forecast] {
  background: rgb(255 255 255 / 0.22);
}
.bars span[data-now] {
  background: var(--white);
}

/* Parkkaart */
.pm {
  width: 100%;
  height: 100%;
  font-family: var(--body);
}
.pm-water {
  fill: #19304e;
}
.pm-land {
  fill: var(--navy-mid);
}
.pm-dike {
  fill: none;
  stroke: #6f8fb3;
  stroke-width: 2;
}
.pm-parcels {
  fill: none;
  stroke: #fff;
  stroke-opacity: 0.07;
}
.pm-turbine {
  overflow: visible;
}
.pm-turbine path,
.pm-hub {
  fill: #fff;
}
.pm-ring {
  fill: rgb(255 255 255 / 0.06);
  stroke: rgb(255 255 255 / 0.28);
  stroke-width: 2;
}
.pm-turbine[data-status='maintenance'] path,
.pm-turbine[data-status='maintenance'] .pm-hub {
  fill: var(--amber);
}
.pm-turbine[data-status='maintenance'] .pm-ring {
  stroke: var(--amber);
  stroke-width: 3;
  fill: rgb(240 170 60 / 0.14);
}
.pm-id {
  font-size: 10px;
  font-weight: 500;
  text-anchor: middle;
  fill: #fff;
  fill-opacity: 0.6;
}
.pm-callout path {
  stroke: var(--amber);
  stroke-width: 1.5;
  fill: none;
}
.pm-callout rect {
  fill: var(--amber);
}
.pm-callout text {
  font-size: 12.5px;
  font-weight: 500;
  fill: var(--navy-deep);
}

/* Meter in webweergave en app */
.gauge {
  position: relative;
}
.gauge path {
  fill: none;
  stroke-width: 13;
  stroke-linecap: round;
}
.gauge-track {
  stroke: var(--stage);
}
.gauge-value {
  stroke: var(--bordeaux);
}
.gauge strong {
  position: absolute;
  inset: auto 0 0 0;
  text-align: center;
  line-height: 1;
  color: var(--navy);
}
.gauge strong b {
  font-family: var(--display);
  font-weight: 800;
}
.gauge small {
  font-family: var(--body);
  font-weight: 500;
  color: var(--muted);
}

/* Webweergave in een browservenster */
.web {
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  line-height: 1.3;
  box-shadow: 0 22px 40px -22px rgb(20 38 61 / 0.5);
}
.web-bar {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 2.6cqw 3.4cqw;
  background: #dfe4ec;
}
.web-bar i {
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: 50%;
  background: #b9c2d0;
}
.web-bar span {
  flex: 1;
  margin-left: 2cqw;
  padding: 1.2cqw 3cqw;
  border-radius: 1.4cqw;
  background: var(--white);
  font-size: 3.3cqw;
  color: var(--muted);
}
.web-page {
  padding: 4cqw 5cqw 6cqw;
}
.web-head {
  display: flex;
  align-items: baseline;
  gap: 4cqw;
  font-size: 3.2cqw;
  color: var(--muted);
}
.web-head b {
  margin-right: auto;
  font-family: var(--display);
  font-weight: 800;
  font-size: 4.2cqw;
  color: var(--navy);
}
.web-widget {
  margin-top: 5cqw;
  padding: 5cqw 5cqw 4.4cqw;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.web-widget p {
  font-family: var(--display);
  font-weight: 700;
  font-size: 4.2cqw;
  color: var(--navy);
}
.web-widget .gauge {
  width: 62%;
  margin: 3cqw auto 0;
}
.web-widget .gauge b {
  font-size: 11cqw;
}
.web-widget .gauge small {
  margin-left: 1cqw;
  font-size: 4cqw;
}
.web-widget ul {
  display: flex;
  justify-content: space-between;
  margin-top: 4.4cqw;
  padding-top: 3.4cqw;
  border-top: 1px solid var(--line);
  font-size: 3.4cqw;
  color: var(--muted);
}
.web-widget li b {
  font-weight: 600;
  color: var(--navy-deep);
}
.web-text {
  display: grid;
  gap: 2.4cqw;
  margin-top: 5.4cqw;
}
.web-text i {
  height: 2cqw;
  border-radius: 1cqw;
  background: #e9edf3;
}
.web-text i:last-child {
  width: 62%;
}

/* App op een telefoon */
.phone {
  padding: 4.2cqw;
  border-radius: 16cqw;
  background: #0b1422;
  line-height: 1.3;
  box-shadow: 0 22px 40px -20px rgb(20 38 61 / 0.6);
}
.phone-screen {
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 18.5;
  border-radius: 12cqw;
  background: var(--white);
  overflow: hidden;
}
.phone-park {
  padding: 12cqw 8cqw 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 8cqw;
  line-height: 1.15;
  color: var(--navy);
}
.phone-turbines {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2cqw;
  margin-top: 6cqw;
  padding: 6cqw 7cqw 0;
  background: var(--stage);
}
.phone-turbines svg {
  width: 100%;
  overflow: visible;
  fill: var(--navy);
}
.phone-now {
  padding: 8cqw 14cqw 0;
}
.phone-now .gauge b {
  font-size: 15cqw;
}
.phone-now .gauge small {
  margin-left: 1.5cqw;
  font-size: 7cqw;
}
.phone-screen dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3cqw;
  padding: 9cqw 7cqw 0;
}
.phone-screen dl div {
  padding: 5cqw;
  border-radius: 4cqw;
  background: var(--paper);
}
.phone-screen dt {
  font-size: 5.6cqw;
  color: var(--muted);
}
.phone-screen dd {
  margin-top: 1.5cqw;
  font-size: 5.6cqw;
  white-space: nowrap;
}
.phone-screen dd b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 7.6cqw;
  color: var(--navy);
}
.phone-tabs {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
  padding: 6cqw 4cqw 9cqw;
  border-top: 1px solid var(--line);
  font-size: 5.6cqw;
  color: var(--muted);
}
.phone-tabs b {
  font-weight: 600;
  color: var(--bordeaux);
}

/* Rij met echte app-screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.shots img,
.park-shot img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
}
.shots figcaption {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

/* Tekstblokken in twee kolommen */
.points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
}
.points li,
.points div {
  display: grid;
  gap: 6px;
  align-content: start;
}
.points p {
  color: var(--muted);
}

.shot-frame {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 22px 40px -26px rgb(20 38 61 / 0.45);
}
.checks {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.checks li {
  padding-left: 22px;
  background: linear-gradient(var(--bordeaux), var(--bordeaux)) 0 0.72em / 10px 2px no-repeat;
}

/* Lijst met referenties */
.reflist {
  columns: 2;
  column-gap: 40px;
}
.reflist li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-variant-numeric: lining-nums;
  color: var(--navy);
  break-inside: avoid;
}

/* Platform: stappen, pakketten, feiten */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  counter-reset: step;
}
.steps li {
  display: grid;
  gap: 6px;
  align-content: start;
  padding-top: 16px;
  border-top: 2px solid var(--navy);
  counter-increment: step;
}
.steps h3::before {
  content: counter(step) '. ';
  color: var(--bordeaux);
}
.steps p {
  color: var(--muted);
}

.groups {
  border-top: 1px solid var(--line);
}
.groups > div {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 16px 56px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
.groups dt {
  display: grid;
  gap: 6px;
  align-content: start;
}
.groups dt span {
  font-size: 15px;
  color: var(--muted);
}
.groups dd ul {
  columns: 2;
  column-gap: 40px;
}
.groups dd li {
  padding: 5px 0 5px 22px;
  break-inside: avoid;
  background: linear-gradient(var(--bordeaux), var(--bordeaux)) 0 1.05em / 10px 2px no-repeat;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  border-top: 1px solid var(--line);
}
.facts div {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
}
.facts dd {
  margin-top: 2px;
  color: var(--muted);
}

/* Referenties: een kaart per park */
.parks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 28px;
}
.park {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
}
.park-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.park-head img {
  width: 48px;
  height: 48px;
  border-radius: 11px;
}
.park-head p {
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}
.park-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14px;
}
.park-links a {
  color: var(--navy);
  text-decoration-color: var(--rose);
  text-underline-offset: 3px;
}
.others {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.others li {
  display: grid;
  gap: 4px;
  align-content: start;
  padding-top: 16px;
  border-top: 2px solid var(--navy);
}
.others p {
  font-size: 15px;
  color: var(--muted);
}

/* Over ons */
.team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.team li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.portrait {
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--stage);
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--navy);
}
.team p {
  color: var(--muted);
}
.text {
  display: grid;
  gap: 16px;
  max-width: 42em;
}
.text h2 {
  margin-top: 20px;
  font-size: 1.4rem;
}

/* Contact */
.contact {
  background: var(--navy);
  color: var(--white);
}
.contact .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  padding-block: 72px;
}
.contact h2 {
  color: var(--white);
}
.contact-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}
.contact-copy p {
  color: rgb(255 255 255 / 0.78);
}
.contact-copy a {
  color: var(--white);
  font-weight: 600;
  text-decoration-color: var(--rose);
  text-underline-offset: 4px;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field {
  display: grid;
  gap: 6px;
}
.field.wide,
.form-foot {
  grid-column: 1 / -1;
}
.field label {
  font-size: 14px;
  font-weight: 500;
  color: rgb(255 255 255 / 0.82);
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 6px;
  background: rgb(255 255 255 / 0.06);
  color: var(--white);
  font: inherit;
  font-size: 16px;
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 1px;
  border-color: transparent;
}
.trap {
  position: absolute;
  left: -9999px;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.form-status {
  font-size: 15px;
  color: rgb(255 255 255 / 0.9);
}
.form-status[data-state='error'] {
  color: #ffd7a8;
}

/* Voet */
.site-foot {
  padding-block: 40px 48px;
  font-size: 15px;
  color: var(--muted);
}
.site-foot .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px 56px;
}
.site-foot img {
  height: 40px;
  width: auto;
  margin-bottom: 14px;
}
.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-content: start;
}
.site-foot a {
  color: var(--navy);
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}
.site-foot a:hover {
  text-decoration-color: var(--bordeaux);
}
.legal {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* Smallere schermen */
@media (max-width: 980px) {
  .intro,
  .split,
  .contact .wrap,
  .site-foot .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .intro {
    padding-block: 24px 32px;
  }
  .section {
    padding-block: 52px;
  }
  .head-end .quiet {
    display: none;
  }
  .site-head nav {
    order: 3;
    width: 100%;
    gap: 24px;
  }
  .devices {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    padding: 24px;
  }
  .devices .device:first-child {
    grid-column: 1 / -1;
  }
  .shots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .steps,
  .others {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .parks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .groups > div {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
  body {
    font-size: 16px;
  }
  .devices {
    padding: 16px;
    gap: 24px 16px;
  }
  .head-end .btn {
    padding: 10px 14px;
    font-size: 14px;
  }
  .shots,
  .parks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }
  .points,
  .facts,
  .team,
  .steps,
  .others,
  .form {
    grid-template-columns: minmax(0, 1fr);
  }
  .reflist,
  .groups dd ul {
    columns: 1;
  }
  .team li {
    grid-template-columns: 80px minmax(0, 1fr);
  }
  .portrait {
    width: 80px;
    font-size: 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Aanvullingen */
.shots.pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
}
.lead a {
  color: var(--navy);
  text-decoration-color: var(--rose);
  text-underline-offset: 3px;
}

/* ---------- Homepage: de app voorop ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
  padding-block: 28px 72px;
}
.hero-copy {
  display: grid;
  gap: 22px;
}
.hero-copy .pitch {
  max-width: 34em;
  font-size: 1.08rem;
  color: var(--muted);
}
.built {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.built p {
  font-size: 14px;
  color: var(--muted);
}
.iconrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.iconrow img {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  transition: transform 0.15s;
}
.iconrow a:hover img,
.iconrow a:focus-visible img {
  transform: translateY(-3px);
}

/* Vlak met een voorbeeld: altijd met het label "Voorbeeld" erin. */
.demo {
  position: relative;
  padding: 48px 32px 28px;
  border-radius: 10px;
  background: var(--stage);
}
.tag {
  position: absolute;
  top: 14px;
  left: 16px;
  padding: 2px 9px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
}
.demo .device {
  max-width: 290px;
  margin-inline: auto;
}
.windctl {
  display: grid;
  gap: 6px;
  max-width: 290px;
  margin: 22px auto 0;
  font-size: 14px;
}
.windctl label {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  color: var(--navy);
}
.windctl input {
  width: 100%;
  accent-color: var(--bordeaux);
}

/* De telefoon in de hero toont meer dan de kleine variant */
.phone-screen {
  aspect-ratio: 9 / 19.5;
}
.phone-turbines {
  grid-template-columns: repeat(6, 1fr);
  padding: 6cqw 6cqw 0;
}
.phone-turbines svg[data-status='maintenance'] {
  fill: #c98414;
}
.phone-now {
  padding: 7cqw 16cqw 0;
}
.phone-pct {
  margin-top: 2.5cqw;
  text-align: center;
  font-size: 5cqw;
  color: var(--muted);
}
.phone-screen dl {
  padding: 6cqw 6cqw 0;
}
.phone-screen dl div {
  padding: 3.6cqw 4.4cqw;
}
.phone-screen dt {
  font-size: 4.8cqw;
}
.phone-screen dd {
  margin-top: 0.6cqw;
  font-size: 4.8cqw;
}
.phone-screen dd b {
  font-size: 6.6cqw;
}
.phone-status {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  margin: 4.5cqw 6cqw 0;
  font-size: 4.6cqw;
  color: var(--navy-deep);
}
.phone-status i {
  flex: none;
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: 50%;
  background: #c98414;
}
.phone-tabs {
  padding: 5cqw 4cqw 8cqw;
  font-size: 5cqw;
}

/* Twee schermen naast elkaar */
.devices {
  position: relative;
}
.devices.two {
  grid-template-columns: minmax(0, 100fr) minmax(0, 52fr);
  padding-top: 52px;
}

/* Parkkiezer */
.switcher {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.handset {
  padding: 9px;
  border-radius: 36px;
  background: #0b1422;
  box-shadow: 0 22px 40px -20px rgb(20 38 61 / 0.6);
}
.handset img,
.park-shot img,
.shots img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: top center;
}
.handset img {
  border-radius: 28px;
  background: var(--white);
}
.switcher-side {
  display: grid;
  gap: 28px;
}
.switcher-now {
  display: grid;
  gap: 4px;
  min-height: 5.2em;
  align-content: start;
}
.switcher-now h3 {
  font-size: 1.5rem;
  font-weight: 800;
}
.switcher-now p {
  color: var(--muted);
}
.parkpick {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 12px;
}
.parkpick a {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.25;
  color: var(--muted);
}
.parkpick img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: transform 0.15s, outline-color 0.15s;
}
.parkpick a:hover img {
  transform: translateY(-3px);
}
.parkpick a[aria-pressed='true'] {
  color: var(--navy-deep);
  font-weight: 600;
}
.parkpick a[aria-pressed='true'] img {
  outline-color: var(--bordeaux);
}

/* Zelf proberen: status per turbine en grafiek */
.tryout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}
.try {
  display: grid;
  gap: 14px;
}
.try > p {
  color: var(--muted);
}
.try-panel {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.try-panel .tag {
  background: var(--white);
  color: var(--navy);
}
.statusmap {
  background: var(--navy);
  color: var(--white);
}
.statusmap svg.pm {
  aspect-ratio: 640 / 420;
  height: auto;
}
.sm-turbine {
  overflow: visible;
  cursor: pointer;
}
.sm-turbine path,
.sm-hub {
  fill: #fff;
}
.sm-ring {
  fill: rgb(255 255 255 / 0.06);
  stroke: rgb(255 255 255 / 0.28);
  stroke-width: 2;
}
.sm-turbine[data-state='maintenance'] {
  --state: var(--amber);
}
.sm-turbine[data-state='ice'] {
  --state: #9ad1f5;
}
.sm-turbine[data-state='shadow'] {
  --state: #cdbdf2;
}
.sm-turbine[data-state='curtailment'] {
  --state: #f4a6ab;
}
.sm-turbine:not([data-state='ok']) path,
.sm-turbine:not([data-state='ok']) .sm-hub {
  fill: var(--state);
}
.sm-turbine:not([data-state='ok']) .sm-ring {
  stroke: var(--state);
  stroke-width: 3;
}
.sm-turbine[aria-pressed='true'] .sm-ring {
  stroke: #fff;
  stroke-width: 5;
  fill: rgb(255 255 255 / 0.16);
}
.sm-turbine:focus-visible {
  outline: none;
}
.sm-turbine:focus-visible .sm-ring {
  stroke: #fff;
  stroke-width: 5;
}
.sm-rotor {
  transform-box: view-box;
  transform-origin: 50% 50%;
}
.sm-spin {
  animation: spin 7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.status-readout {
  display: grid;
  gap: 2px;
  min-height: 5.6em;
  align-content: start;
  padding: 14px 18px 16px;
  background: var(--navy-deep);
}
.status-readout strong {
  font-family: var(--display);
  font-size: 1.05rem;
}
.status-readout p {
  font-size: 15px;
  color: rgb(255 255 255 / 0.78);
}

.chartdemo {
  padding: 48px 18px 16px;
  border: 1px solid var(--line);
  background: var(--white);
}
.chartdemo .tag {
  background: var(--navy);
  color: var(--white);
}
.chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 7px;
  background: var(--stage);
}
.seg button {
  padding: 5px 14px;
  border: 0;
  border-radius: 5px;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}
.seg button[aria-pressed='true'] {
  background: var(--white);
  color: var(--navy-deep);
  box-shadow: 0 1px 2px rgb(20 38 61 / 0.18);
}
.chart-total {
  font-size: 14px;
  color: var(--muted);
}
.chart-total b {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}
.plot {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: end;
  gap: 3px;
  height: 170px;
  margin-top: 16px;
  border-bottom: 1px solid var(--line);
}
.plot span {
  position: relative;
  height: 100%;
}
.plot i,
.plot b {
  position: absolute;
  inset: auto 0 0 0;
  height: 0;
  border-radius: 3px 3px 0 0;
  transition: height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.plot i {
  background: #dfe5ee;
}
.plot b {
  left: 18%;
  right: 18%;
  background: var(--navy);
}
.chart-key {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.chart-key i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 2px;
  background: var(--navy);
}
.chart-key i.f {
  background: #dfe5ee;
}

/* Referenties: alle iconen naast elkaar */
.iconwall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 22px 12px;
}
.iconwall a {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.25;
  color: var(--muted);
}
.iconwall img {
  width: 72px;
  height: 72px;
  border-radius: 17px;
  transition: transform 0.15s;
}
.iconwall a:hover img {
  transform: translateY(-3px);
}
.park {
  scroll-margin-top: 24px;
}

@media (max-width: 980px) {
  .hero,
  .switcher,
  .tryout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .hero {
    padding-block: 20px 52px;
  }
  .handset {
    max-width: 260px;
    margin-inline: auto;
  }
  .devices.two {
    grid-template-columns: minmax(0, 1fr);
  }
  .devices.two .device:last-child {
    max-width: 420px;
  }
}
@media (max-width: 640px) {
  .demo {
    padding-inline: 16px;
  }
  .parkpick {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .parkpick img {
    width: 52px;
    height: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sm-spin {
    animation: none;
  }
  .plot i,
  .plot b {
    transition: none;
  }
}
.points.below {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.plot {
  align-items: stretch;
  grid-template-rows: 100%;
}
.iconrow {
  gap: 8px;
}
.iconrow img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

/* App-iconen: lichte schaduw, die meegroeit als het icoon bij hover iets groter wordt. */
.iconrow img,
.parkpick img,
.iconwall img,
.park-head img {
  box-shadow:
    0 1px 2px rgb(20 38 61 / 0.14),
    0 4px 10px -4px rgb(20 38 61 / 0.22);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    outline-color 0.15s;
}
.iconrow a:hover img,
.iconrow a:focus-visible img,
.parkpick a:hover img,
.parkpick a:focus-visible img,
.iconwall a:hover img,
.iconwall a:focus-visible img {
  transform: scale(1.1);
  box-shadow:
    0 2px 4px rgb(20 38 61 / 0.16),
    0 12px 22px -8px rgb(20 38 61 / 0.34);
}
@media (prefers-reduced-motion: reduce) {
  .iconrow img,
  .parkpick img,
  .iconwall img {
    transition: none;
  }
}

/* Kaartje bij een app-icoon: naam, turbines en vermogen. Verschijnt bij hover en bij toetsenbordfocus. */
.iconrow a,
.iconwall a {
  position: relative;
}
.tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 5;
  display: grid;
  gap: 1px;
  width: max-content;
  max-width: 220px;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--navy-deep);
  color: rgb(255 255 255 / 0.82);
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity 0.15s, transform 0.15s;
}
.tip strong {
  font-family: var(--display);
  font-size: 14px;
  color: var(--white);
}
.tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--navy-deep);
}
.iconrow a:hover .tip,
.iconrow a:focus-visible .tip,
.iconwall a:hover .tip,
.iconwall a:focus-visible .tip {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Aan de randen het kaartje naar binnen laten wijzen, zodat het niet buiten beeld valt. */
.iconrow a:nth-child(-n + 2) .tip {
  left: 0;
  transform: translate(0, 4px);
}
.iconrow a:nth-child(-n + 2):hover .tip,
.iconrow a:nth-child(-n + 2):focus-visible .tip {
  transform: translate(0, 0);
}
.iconrow a:nth-child(-n + 2) .tip::after {
  left: 20px;
}

/* Totalen op de homepage */
.totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 56px;
  padding-block: 44px;
  border-top: 1px solid var(--line);
}
.totals div {
  display: grid;
  gap: 2px;
}
.totals dd {
  order: -1;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--navy);
}
.totals dt {
  color: var(--muted);
}
.totals-note {
  padding-bottom: 44px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 640px) {
  .totals {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .tip {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tip {
    transition: none;
  }
}

/* Wat er per park bijzonder was */
.switcher-now {
  min-height: 11.5em;
}
.switcher-now .highlight {
  max-width: 30em;
  margin-block: 10px 6px;
  padding-left: 14px;
  border-left: 3px solid var(--rose);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--navy-deep);
}
.park {
  grid-template-rows: auto auto auto 1fr;
}
.park-note {
  font-size: 15px;
  line-height: 1.45;
  color: var(--navy-deep);
}

/* Vier vragen: links de vraag en het antwoord, rechts het voorbeeld. Elke rij dezelfde opbouw. */
.answers {
  border-top: 1px solid var(--line);
}
.answer {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
  padding-block: 44px;
  border-bottom: 1px solid var(--line);
}
.answer:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.answer > div:first-child {
  display: grid;
  gap: 10px;
}
.answer h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.answer > div:first-child p {
  color: var(--muted);
}
.livecard,
.newsdemo {
  padding: 52px 24px 24px;
  border: 1px solid var(--line);
  background: var(--white);
}
.livecard .tag,
.newsdemo .tag {
  background: var(--navy);
  color: var(--white);
}
.live-main {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
}
.live-main b {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.livecard dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.livecard dt {
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}
.livecard dd {
  margin-top: 2px;
}
.livecard dd b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
}
.livecard .windctl {
  max-width: none;
  margin: 22px 0 0;
}
.notice {
  padding: 10px 14px;
  border-radius: 6px;
  background: #fdf1d9;
  font-weight: 500;
  color: #6b4a06;
}
.newsdemo ul {
  margin-top: 8px;
}
.newsdemo li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}
.newsdemo li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.newsdemo strong {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
}
.newsdemo span {
  flex: none;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 980px) {
  .answer {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 36px;
  }
}
@media (max-width: 640px) {
  .livecard dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

/* Referentiepagina: één park tegelijk, daaronder een rustige tabel */
.switcher-now h2 {
  font-size: 1.9rem;
}
.switcher-now .park-links {
  margin-top: 4px;
}
.switcher-now .park-links a {
  font-weight: 500;
}
.tablewrap {
  overflow-x: auto;
}
.parktable {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums lining-nums;
}
.parktable th,
.parktable td {
  padding: 11px 16px 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.parktable thead th {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.parktable tbody th {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
}
.parktable td:nth-child(2),
.parktable td:nth-child(3),
.parktable thead th:nth-child(2),
.parktable thead th:nth-child(3) {
  text-align: right;
  padding-right: 40px;
}
.parktable td:last-child {
  color: var(--muted);
}
/* Rijen direct onder een sectierand hebben geen eigen bovenrand nodig */
.section > .answers:first-child {
  border-top: 0;
}
.section > .answers:first-child .answer:first-child {
  padding-top: 0;
}

/* Het kaartje verschijnt onder het icoon, met het pijltje naar boven. */
.tip {
  top: calc(100% + 12px);
  bottom: auto;
  transform: translate(-50%, -4px);
}
.tip::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: var(--navy-deep);
}
.iconrow a:nth-child(-n + 2) .tip {
  transform: translate(0, -4px);
}

/* Officiële store-badges op de referentiepagina */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.badges img {
  height: 44px;
  width: auto;
}
.switcher-now {
  min-height: 14em;
}

/* ---------- Voorbeeld-app in de hero: landschap met dijk, water en bollenvelden ---------- */
/* Wolken, windvegen en rotors worden door sim.js bewogen en volgen dezelfde wind als de cijfers. */
.demo {
  background: linear-gradient(180deg, #dde6f1 0%, #e9e4e6 62%, #f1dfd3 100%);
}
.phone {
  box-shadow: 0 30px 50px -26px rgb(20 38 61 / 0.75), 0 0 0 1px rgb(255 255 255 / 0.06) inset;
}
.phone-scene {
  position: relative;
  flex: none;
  height: 104cqw;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.scene-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scene-clouds {
  fill: #fbdcc4;
  opacity: 0.86;
}
.scene-glint {
  fill: none;
  stroke: #fff3d0;
  stroke-width: 1.3;
  stroke-linecap: round;
  opacity: 0.8;
}
.scene-gusts {
  fill: none;
  stroke: var(--white);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-opacity: 0.6;
}
.scene-turbines svg {
  overflow: visible;
  fill: #fffaf0;
}
.scene-turbines svg[data-status='maintenance'] {
  fill: var(--amber);
}
.phone-screen .phone-park {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9.5cqw 6.5cqw 0 7cqw;
  font-size: 5cqw;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
.phone-live {
  display: inline-flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 0.8cqw 2.6cqw 0.8cqw 2.2cqw;
  border-radius: 5cqw;
  background: var(--bordeaux);
  font-family: var(--body);
  font-size: 4cqw;
  font-weight: 600;
}
.phone-live i {
  position: relative;
  width: 1.9cqw;
  height: 1.9cqw;
  border-radius: 50%;
  background: var(--white);
}
.phone-live i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--white);
  animation: live-pulse 2.6s ease-out infinite;
}
@keyframes live-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}
.phone-wind {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1cqw;
  margin-top: 2.6cqw;
  padding-right: 6.5cqw;
  font-size: 4.4cqw;
  font-variant-numeric: tabular-nums lining-nums;
}
.phone-wind svg {
  width: 4.6cqw;
  height: 4.6cqw;
  fill: none;
  stroke: var(--amber);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.phone-wind b {
  font-weight: 600;
}
.phone-out {
  position: relative;
  margin-top: -3.4cqw;
  padding-left: 7cqw;
}
.phone-label {
  font-size: 4.4cqw;
  opacity: 0.85;
}
.phone-mw {
  margin-top: 0.4cqw;
  font-family: var(--display);
  font-size: 7cqw;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.phone-mw b {
  margin-right: 0.6cqw;
  font-size: 21cqw;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
}
.phone-screen .phone-pct {
  display: grid;
  gap: 1.8cqw;
  width: 42cqw;
  margin-top: 2.6cqw;
  text-align: left;
  font-size: 4.4cqw;
  color: var(--white);
}
.phone-meter {
  display: block;
  height: 1.5cqw;
  border-radius: 1cqw;
  background: rgb(255 255 255 / 0.28);
  overflow: hidden;
}
.phone-meter i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
}
.phone-sheet {
  position: relative;
  flex: 1;
  margin-top: -6cqw;
  padding: 6cqw 6.5cqw 0;
  border-radius: 7cqw 7cqw 0 0;
  background: var(--white);
  color: var(--navy-deep);
}
.phone-fleet,
.phone-zones {
  display: flex;
  justify-content: space-between;
  font-size: 4.2cqw;
  color: var(--muted);
}
.phone-fleet span:first-child {
  font-family: var(--display);
  font-weight: 800;
  font-size: 4.8cqw;
  color: var(--navy);
}
.phone-fleet b {
  font-weight: 600;
  color: var(--navy);
}
.phone-bars {
  display: flex;
  gap: 1.5cqw;
  height: 13cqw;
  margin-top: 2.4cqw;
}
.phone-bars i {
  flex: 1;
  display: flex;
  align-items: flex-end;
  border-radius: 1.2cqw;
  background: #edf1f6;
  overflow: hidden;
}
.phone-bars b {
  width: 100%;
  height: 0;
  border-radius: 1.2cqw 1.2cqw 0 0;
  background: #3d7a55;
}
.phone-bars i:nth-child(-n + 4) b {
  background: #3f7fa6;
}
.phone-bars i:nth-child(4) {
  margin-right: 1.6cqw;
}
.phone-bars i[data-status='maintenance'] {
  background: repeating-linear-gradient(-45deg, var(--amber) 0 1cqw, #fbe3b8 1cqw 2cqw);
}
.phone-zones {
  justify-content: flex-start;
  margin-top: 1cqw;
  font-size: 3.6cqw;
}
.phone-zones span:first-child {
  width: calc((100% - 18.1cqw) / 3 + 7.6cqw);
  color: #2c6a94;
}
.phone-zones span:last-child {
  color: #2f6b4f;
}
.phone-screen .phone-status {
  gap: 2.2cqw;
  margin: 3.4cqw 0 0;
  padding: 2cqw 3cqw;
  border-radius: 2.4cqw;
  background: #fdf1da;
  font-size: 4.2cqw;
  font-weight: 500;
  color: #6b4505;
}
.phone-screen .phone-status i {
  width: 2.4cqw;
  height: 2.4cqw;
  background: #d98a0f;
}
.phone-facts {
  margin: 2.2cqw 0 0;
  padding: 0;
  list-style: none;
}
.phone-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.7cqw 0;
  font-size: 4.3cqw;
  color: var(--muted);
}
.phone-facts li + li {
  border-top: 1px solid #e6ebf2;
}
.phone-facts li > span:first-child::before {
  content: '';
  display: inline-block;
  width: 2.2cqw;
  height: 2.2cqw;
  margin-right: 2.2cqw;
  border-radius: 0.6cqw;
  background: var(--bordeaux);
}
.phone-facts li:nth-child(2) > span:first-child::before {
  background: var(--amber);
}
.phone-facts li:nth-child(3) > span:first-child::before {
  background: #3d7a55;
}
.phone-facts b {
  font-family: var(--display);
  font-size: 5.6cqw;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums lining-nums;
}
.phone-screen .phone-tabs {
  margin-top: 0;
  padding: 3.6cqw 4cqw 7cqw;
  background: var(--white);
  font-size: 4.6cqw;
}
.phone-tabs b {
  position: relative;
}
.phone-tabs b::before {
  content: '';
  position: absolute;
  top: -3.6cqw;
  left: 0;
  right: 0;
  height: 0.9cqw;
  border-radius: 0 0 1cqw 1cqw;
  background: var(--bordeaux);
}

/* De windschuif onder de telefoon: van windstil (warm) naar harde wind (donkerblauw), net als de lucht. */
.demo .windctl input {
  -webkit-appearance: none;
  appearance: none;
  height: 24px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.demo .windctl input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #f6ae62, #4a8db3 55%, #1d3554);
}
.demo .windctl input::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #f6ae62, #4a8db3 55%, #1d3554);
}
.demo .windctl input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border: 3px solid var(--bordeaux);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgb(20 38 61 / 0.35);
}
.demo .windctl input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid var(--bordeaux);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgb(20 38 61 / 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .phone-live i::after {
    animation: none;
    opacity: 0;
  }
}

/* Tabel: wat we maakten, als drie vaste plekken met een icoon */
.parktable {
  min-width: 640px;
}
.made {
  display: grid;
  grid-template-columns: 5.5em 5.5em 8em;
  gap: 8px;
}
.kind {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}
.kind svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--bordeaux);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Totalen in de hero, onder de app-iconen: zichtbaar zonder scrollen */
.totals.in-hero {
  gap: 0 36px;
  margin-top: 14px;
  padding-block: 0;
  border-top: 0;
}
.totals.in-hero dd {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
}
.totals.in-hero dt {
  font-size: 14px;
  line-height: 1.35;
}
.hero {
  align-items: start;
  padding-top: 20px;
}
.hero-copy {
  padding-top: 28px;
  gap: 18px;
}
@media (max-width: 640px) {
  .totals.in-hero {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 14px;
  }
}

/* Hero: gelijke witruimte links en rechts */
.hero {
  align-items: center;
  padding-block: 24px 64px;
}
.hero-copy {
  padding-top: 0;
  gap: 22px;
}
.built {
  gap: 14px;
  margin-top: 6px;
  padding-top: 24px;
}
.totals.in-hero {
  grid-template-columns: auto auto auto;
  justify-content: start;
  gap: 0 48px;
  margin-top: 12px;
}
.totals.in-hero div {
  align-content: start;
  gap: 4px;
}
.demo {
  padding: 56px 32px 40px;
}
.demo .windctl {
  margin-top: 28px;
}
@media (max-width: 640px) {
  .totals.in-hero {
    gap: 0 24px;
  }
  .demo {
    padding: 52px 16px 28px;
  }
}
/* Vaste breedtes, zodat de kolommen niet verspringen terwijl de getallen optellen */
.totals.in-hero div {
  min-width: 6.5em;
}
.totals.in-hero div:last-child {
  min-width: 11em;
}

/* Blok onder de knoppen: eerst de drie totalen over de volle breedte, daaronder de iconen over dezelfde breedte */
.built {
  gap: 26px;
  margin-top: 10px;
  padding-top: 26px;
}
.totals.in-hero {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
  gap: 0;
  margin-top: 0;
}
.totals.in-hero div,
.totals.in-hero div:last-child {
  min-width: 0;
}
.totals.in-hero div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.totals.in-hero dd {
  white-space: nowrap;
}
.iconrow {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 10px;
}
.iconrow img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
}
@media (max-width: 640px) {
  .iconrow {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .totals.in-hero div + div {
    padding-left: 14px;
  }
}

/* ---------- Voorbeeldapp: tabbladen, gestapelde uurstaven, reparatie ---------- */
.phone-view {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
.phone-view[hidden] {
  display: none;
}
.phone-out,
.phone-park,
.phone-wind {
  pointer-events: none;
}
.phone-scene [data-status='maintenance'] {
  cursor: pointer;
}
/* Uurstaven: water bovenop land */
.phone-bars i {
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}
.phone-bars i:nth-child(4) {
  margin-right: 0;
}
.phone-bars b,
.phone-bars i:nth-child(-n + 4) b {
  flex: none;
  border-radius: 0;
  background: #3d7a55;
}
.phone-bars b.w,
.phone-bars i:nth-child(-n + 4) b.w {
  border-radius: 1.2cqw 1.2cqw 0 0;
  background: #3f7fa6;
}
.phone-bars i[data-now] {
  outline: 0.5cqw solid var(--navy);
  outline-offset: 0.4cqw;
}
.phone-zones {
  gap: 4cqw;
}
.phone-zones span:first-child {
  width: auto;
}
.phone-zones span::before {
  content: '';
  display: inline-block;
  width: 2.2cqw;
  height: 2.2cqw;
  margin-right: 1.4cqw;
  border-radius: 0.6cqw;
  background: #3d7a55;
}
.phone-zones span.w::before {
  background: #3f7fa6;
}
/* De melding is een knop: klikken repareert de turbine */
button.phone-status {
  display: flex;
  align-items: center;
  width: 100%;
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
:root[data-repaired] button.phone-status {
  background: #e3f1e7;
  color: #1f5236;
  cursor: default;
}
:root[data-repaired] button.phone-status i {
  background: #3d7a55;
}
:root[data-repaired] .pm-callout {
  display: none;
}
.confetti {
  position: fixed;
  z-index: 50;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  pointer-events: none;
  animation: confetti 1.7s cubic-bezier(0.15, 0.6, 0.3, 1) forwards;
}
@keyframes confetti {
  0% {
    transform: translate(0, 0) rotate(0);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), calc(var(--dy) + 190px)) rotate(var(--turn));
    opacity: 0;
  }
}
/* Tabbladen */
.phone-tabs button {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
}
.phone-tabs button[aria-pressed='true'] {
  font-weight: 600;
  color: var(--bordeaux);
}
.phone-tabs button[aria-pressed='true']::before {
  content: '';
  position: absolute;
  top: -3.6cqw;
  left: 0;
  right: 0;
  height: 0.9cqw;
  border-radius: 0 0 1cqw 1cqw;
  background: var(--bordeaux);
}
/* Historie en Nieuws */
.phone-page {
  padding: 13cqw 6.5cqw 0;
  background: var(--white);
  color: var(--navy-deep);
}
.phone-h {
  font-family: var(--display);
  font-weight: 800;
  font-size: 7.4cqw;
  color: var(--navy);
}
.phone-sub {
  margin-top: 5cqw;
  font-size: 4.2cqw;
  color: var(--muted);
}
.phone-big {
  font-family: var(--display);
  font-weight: 800;
  font-size: 11cqw;
  line-height: 1.1;
  color: var(--navy);
  font-variant-numeric: tabular-nums lining-nums;
}
.phone-hist {
  width: 100%;
  margin-top: 5cqw;
}
.hc-bg {
  fill: #edf1f6;
}
.hc-land {
  fill: #3d7a55;
}
.hc-water {
  fill: #3f7fa6;
}
.phone-hist text {
  font-size: 9px;
  text-anchor: middle;
  fill: var(--muted);
}
.phone-page .phone-zones {
  margin-top: 2cqw;
}
.phone-page .phone-facts {
  margin-top: 5cqw;
}
.phone-page .phone-status.static {
  margin-top: 5cqw;
}
.phone-news {
  margin-top: 3cqw;
}
.phone-news li {
  display: grid;
  gap: 0.6cqw;
  padding: 3.4cqw 0;
  border-bottom: 1px solid #e6ebf2;
}
.phone-news strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 4.8cqw;
  line-height: 1.25;
  color: var(--navy);
}
.phone-news span {
  font-size: 3.9cqw;
  color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
  .confetti {
    display: none;
  }
}

/* Staafjes in de voorbeeldapp: één per turbine, genummerd, één kleur */
.phone-bars b,
.phone-bars i:nth-child(-n + 4) b {
  border-radius: 1.2cqw 1.2cqw 0 0;
  background: #3d7a55;
}
.phone-bars i[data-status='maintenance'] {
  cursor: pointer;
}
.phone-nums {
  display: flex;
  gap: 1.5cqw;
  margin-top: 1cqw;
  font-size: 3.3cqw;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.phone-nums span {
  flex: 1;
  text-align: center;
}

/* Lijn boven de app-iconen in de hero */
.hero .iconrow {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* Kaart van Nederland met de parken */
.nlmap {
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}
.nlmap svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.nl-land path {
  fill: var(--stage);
  stroke: var(--paper);
  stroke-width: 1;
  stroke-linejoin: round;
}
.nl-parks circle {
  fill: var(--bordeaux);
  stroke: var(--paper);
  stroke-width: 1.5;
}
.nl-parks text {
  font-family: var(--body);
  font-size: 9.5px;
  font-weight: 500;
  fill: var(--navy-deep);
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 2.5px;
  stroke-linejoin: round;
}
.nl-parks a {
  text-decoration: none;
}
.nl-parks a:hover circle,
.nl-parks a:focus-visible circle {
  r: 6px;
  fill: var(--navy);
}
.nl-parks a:hover text {
  fill: var(--bordeaux);
}
.nlmap figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* Voorbeeldapp: ruimte terugwinnen nu er een rij nummers onder de staafjes staat */
.phone-bars {
  height: 11cqw;
}
.phone-screen .phone-status {
  margin-top: 2.6cqw;
}
.phone-facts {
  margin-top: 1.4cqw;
}
.phone-facts li {
  padding: 1.25cqw 0;
}

/* Lake Turkana onder de kaart, met een pijl naar het zuiden */
.nl-far path {
  fill: none;
  stroke: var(--bordeaux);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nl-parks .nl-note {
  font-weight: 400;
  fill: var(--muted);
}

/* Nummers bij de vier vragen */
.qn {
  display: inline-grid;
  place-items: center;
  width: 1.75em;
  height: 1.75em;
  margin-right: 0.6em;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72em;
  font-variant-numeric: lining-nums;
  vertical-align: 0.12em;
}

/* Hint op de statuskaart: verdwijnt na de eerste klik */
.hint {
  position: absolute;
  top: 14px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 10px;
  border-radius: 4px;
  background: var(--amber);
  color: var(--navy-deep);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
  pointer-events: none;
}
.hint i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy-deep);
  animation: hint 1.6s ease-out infinite;
}
@keyframes hint {
  0% {
    box-shadow: 0 0 0 0 rgb(20 38 61 / 0.5);
  }
  100% {
    box-shadow: 0 0 0 8px rgb(20 38 61 / 0);
  }
}
[data-touched] .hint {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .hint i {
    animation: none;
  }
}

/* Grafiek zonder prognose (dag): de staaf vult de hele kolom */
.plot b.solo {
  left: 0;
  right: 0;
}
.seg button {
  padding-inline: 12px;
}

/* Sectie met een eigen achtergrond over de volle breedte van het scherm */
.tinted {
  --tint: #edf0f6;
  background: var(--tint);
  box-shadow: 0 0 0 100vmax var(--tint);
  clip-path: inset(0 -100vmax);
  border-top: 0;
}
.tinted + .section {
  border-top: 0;
}
.tinted .answers,
.tinted .answer {
  border-color: #d6dce8;
}

/* Grafiek: opbrengst en de vertaling naar huishoudens */
.chart-sum {
  display: grid;
  gap: 2px;
  text-align: right;
}
.chart-homes {
  font-size: 14px;
  color: var(--muted);
}
.chart-homes b {
  font-weight: 600;
  color: var(--navy);
}
@media (max-width: 640px) {
  .chart-sum {
    text-align: left;
  }
}
