* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #f6f8fb;
  color: #172033;
  line-height: 1.6;
}

/* Navigatie */

header {
  background: white;
  border-bottom: 1px solid #e6e9ef;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav {
  max-width: 1150px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  color: #1677ff;
}

.logo img {
  width: 210px;
  height: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #344054;
  font-weight: 600;
}

/* Hero */

.hero {
  text-align: center;
  padding: 90px 20px 75px;
  background: linear-gradient(135deg, #eef6ff, #f8fbff);
}

.hero h1 {
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero h1 span {
  color: #1677ff;
}

.hero p {
  max-width: 650px;
  margin: auto;
  color: #667085;
  font-size: 19px;
}

/* Tools */

.tools {
  max-width: 1150px;
  margin: auto;
  padding: 70px 24px;
}

.tools h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: #667085;
  margin-bottom: 40px;
}

/* Zoekveld */

.calculator-search {
  max-width: 500px;
  margin: 0 auto 35px;
}

.calculator-search input {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: white;
  color: #172033;
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: 0.2s ease;
}

.calculator-search input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

#zoekStatus {
  text-align: center;
  margin-top: 10px;
  color: #667085;
  font-size: 14px;
  min-height: 1em;
}

/* Kaarten */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: white;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid #e6e9ef;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  transition: 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.card p {
  color: #667085;
  font-size: 15px;
}

.coming {
  display: inline-block;
  margin-top: auto;
  padding: 12px 20px;
  border-radius: 12px;
  background: #1677ff;
  color: white;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.15);
}

.coming:hover {
  background: #0f5ed1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.3);
}

.auto-knoppen {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}

.auto-knoppen .coming {
  margin-top: 0;
}

/* Twee calculators naast elkaar */

.calculator-rij {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 25px;
  padding: 0 24px;
}

.calculator-rij .tools {
  max-width: none;
  margin: 0;
  padding: 40px 0 70px;
  width: 100%;
}

.calculator-rij .calculator {
  width: 100%;
}

/* Calculator */

.calculator {
  max-width: 650px;
  margin: 35px auto 0;
  padding: 35px;
  background: white;
  border: 1px solid #e6e9ef;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.calculator label {
  display: block;
  margin-top: 18px;
  margin-bottom: 7px;
  font-weight: 700;
  color: #344054;
}

.calculator input,
.calculator select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: 0.2s ease;
}

.calculator input:focus,
.calculator select:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.checkbox-optie {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 5px;
  cursor: pointer;
}

.checkbox-optie input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
}

.calculator button {
  width: 100%;
  margin-top: 25px;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: #1677ff;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.calculator button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.25);
}

.resultaat {
  margin-top: 25px;
  padding: 20px;
  border-radius: 12px;
  background: #f6f8fb;
  text-align: center;
  color: #667085;
}

/* Deelknoppen */

.deel-knoppen {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.deel-knoppen button {
  padding: 13px 22px;
  border: none;
  border-radius: 10px;
  background: #1677ff;
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.deel-knoppen button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.25);
}

#deelMelding {
  text-align: center;
  margin-top: 15px;
  color: #667085;
  font-weight: 600;
}

footer {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid #e6e9ef;
  color: #667085;
  background: white;
}

/* Naar boven knop */

#naarBoven {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 48px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #1677ff;
  color: white;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(22, 119, 255, 0.3);
  display: none;
  z-index: 100;
}

#naarBoven:hover {
  transform: translateY(-3px);
}

/* Mobiel en tablet */

@media (max-width: 850px) {
  .nav-links {
    display: none;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator-rij {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 550px) {
  .hero {
    padding: 65px 20px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

/* Support sectie */
#support .deel-knoppen a {
  background: #22c55e;
  color: white;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s ease;
}

#support .deel-knoppen a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}
#tankstations .deel-knoppen a {
  background: #1677ff;
  color: white;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s ease;
}

#tankstations .deel-knoppen a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.3);
}
/* Hero knoppen */
.hero-knoppen {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 35px;
  flex-wrap: wrap;
}

.hero-knop {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-knop-primair {
  background: #1677ff;
  color: white;
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.25);
}

.hero-knop-primair:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(22, 119, 255, 0.35);
}

.hero-knop-secundair {
  background: white;
  color: #1677ff;
  border: 2px solid #1677ff;
}

.hero-knop-secundair:hover {
  background: #eef6ff;
  transform: translateY(-3px);
}

@media (max-width: 550px) {
  .hero-knoppen {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 20px;
  }

  .hero-knop {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}
/* Hamburger menu */
#menuKnop {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #344054;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 8px;
  transition: 0.2s ease;
}

#menuKnop:hover {
  background: #f6f8fb;
}

@media (max-width: 850px) {
  #menuKnop {
    display: block;
  }

  nav {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 15px 24px;
    gap: 15px;
    border-bottom: 1px solid #e6e9ef;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    z-index: 20;
  }

  .nav-links.open {
    display: flex;
  }
}

  /* Pijltje voor kaart-knoppen */
.kaart-knop::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.kaart-knop:hover::after {
  transform: translateX(4px);
}
  
/* Dropdown menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-knop {
  background: none;
  border: none;
  color: #344054;
  font-weight: 600;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  transition: 0.2s ease;
}

.dropdown-knop:hover {
  color: #1677ff;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 30;
  margin-top: 10px;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #344054;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #eef6ff;
  color: #1677ff;
}

/* Mobiel: dropdown inline in hamburger-menu */
@media (max-width: 850px) {
  .dropdown {
    width: 100%;
  }

  .dropdown-knop {
    width: 100%;
    text-align: left;
    padding: 8px 0;
    font-size: 16px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    margin-top: 8px;
    padding: 0 0 0 15px;
    background: transparent;
    min-width: 0;
  }

  .dropdown-menu a {
    padding: 8px 0;
    font-size: 15px;
  }
}
/* ============================================================
   Lijst-calculators (kosten delen, abonnementen)
   ============================================================ */

.lijst-rij {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.abo-rij {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "naam naam"
    "bedrag periode";
  padding-bottom: 12px;
  border-bottom: 1px solid #eaecf0;
  position: relative;
}

.abo-rij .abo-naam { grid-area: naam; padding-right: 54px; }
.abo-rij .abo-bedrag { grid-area: bedrag; }
.abo-rij .abo-periode { grid-area: periode; }

.abo-rij .verwijder-knop {
  position: absolute;
  top: 0;
  right: 0;
}

.calculator .verwijder-knop {
  width: 44px;
  height: 50px;
  margin: 0;
  padding: 0;
  background: #f2f4f7;
  color: #667085;
  font-size: 16px;
}

.calculator .verwijder-knop:hover {
  background: #fee4e2;
  color: #d92d20;
  transform: none;
  box-shadow: none;
}

.calculator .knop-toevoegen {
  margin-top: 12px;
  background: #fff;
  color: #1677ff;
  border: 1px dashed #1677ff;
}

.calculator .knop-toevoegen:hover {
  background: #eef6ff;
  box-shadow: none;
}

/* ============================================================
   Partnerlinks (affiliate)
   ============================================================ */

.partner-sectie {
  display: none;
  padding-top: 0;
}

.partner-sectie.toon {
  display: block;
}

.partner-blok {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d6e6ff;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(22, 119, 255, 0.06);
}

.partner-blok h3 {
  margin: 10px 0 8px;
}

.partner-blok p {
  color: #475467;
  margin: 0 0 14px;
}

.partner-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  background: #f2f4f7;
  border-radius: 999px;
  padding: 3px 10px;
}

.partner-knop {
  display: inline-block;
  background: #1677ff;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
}

.partner-knop:hover {
  background: #0f5fd1;
}

.partner-blok .partner-uitleg {
  font-size: 13px;
  color: #667085;
  margin: 14px 0 0;
}

.partner-uitleg a {
  color: #1677ff;
}

.partner-blok .partner-beta {
  font-size: 13px;
  color: #b54708;
  background: #fffaeb;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 12px 0 0;
}

/* Privacytekst: oude of nieuwe versie van punt 5 */
.met-partners { display: none; }
html.kc-partners .met-partners { display: block; }
html.kc-partners .zonder-partners { display: none; }

/* ============================================================
   Deelknoppen onder het resultaat
   ============================================================ */

.deel-balk {
  margin-top: 16px;
  text-align: center;
}

.deel-balk .deel-titel {
  font-size: 14px;
  font-weight: 600;
  color: #475467;
  margin: 0 0 10px;
}

.deel-knoppen-rij {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.calculator .deel-knop,
.deel-knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 0;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #1677ff;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
}

.calculator .deel-knop:hover,
.deel-knop:hover {
  background: #eef6ff;
  border-color: #1677ff;
  transform: none;
  box-shadow: none;
}

.deel-whatsapp {
  color: #128c4b;
}

/* ============================================================
   Kosten delen: verdelen per dag
   ============================================================ */

.delen-dagen { display: none; }

.met-dagen .lijst-rij {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
  grid-template-areas:
    "naam naam x"
    "bedrag dagen dagen";
  padding-bottom: 12px;
  border-bottom: 1px solid #eaecf0;
}

.met-dagen .delen-naam { grid-area: naam; }
.met-dagen .delen-bedrag { grid-area: bedrag; }
.met-dagen .delen-dagen { grid-area: dagen; display: block; }
.met-dagen .verwijder-knop { grid-area: x; }

/* ============================================================
   Inklapbare extra opties
   ============================================================ */

.meer-opties {
  margin-top: 16px;
  border: 1px dashed #d0d5dd;
  border-radius: 10px;
  padding: 10px 14px;
}

.meer-opties summary {
  cursor: pointer;
  font-weight: 600;
  color: #1677ff;
}

.meer-opties[open] summary {
  margin-bottom: 4px;
}

.veld-uitleg {
  font-size: 13px;
  color: #667085;
  margin: 6px 0 4px;
}

/* ============================================================
   Afdrukken / PDF: alleen de gekozen calculator
   ============================================================ */

@media print {
  header,
  footer,
  #naarBoven,
  chat-bubble-snippet,
  .deel-balk,
  .calculator button,
  .knop-toevoegen,
  .verwijder-knop {
    display: none !important;
  }

  body.print-modus main > section:not(.print-dit) {
    display: none !important;
  }

  body {
    background: #fff !important;
  }

  .calculator {
    box-shadow: none !important;
    border: 1px solid #d0d5dd;
  }

  .meer-opties:not([open]) {
    display: none;
  }

  main::after {
    content: "kostcheck.be";
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #667085;
    font-size: 12px;
  }
}

/* ============================================================
   NIEUWE LAYOUT – homepage (zoeken + tegels)
   ============================================================ */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.home-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 20px 12px;
  text-align: center;
}

.home-hero h1 {
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #101828;
}

.home-hero h1 span {
  color: #1677ff;
}

.home-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #475467;
  margin: 0 auto 26px;
  max-width: 560px;
}

.home-zoek input {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 20px 16px 50px;
  font-size: 17px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  outline: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 18px center;
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.home-zoek input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.15);
}

.home-zoek #zoekStatus {
  min-height: 20px;
  margin: 8px 0 0;
  font-size: 14px;
  color: #667085;
}

.snel-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #667085;
}

.snel-chips a {
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e4e7ec;
  color: #344054;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.snel-chips a:hover {
  border-color: #1677ff;
  color: #1677ff;
}

.tegels-sectie {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 20px 40px;
}

.tegel-blok[hidden] {
  display: none;
}

.tegel-groep {
  font-size: 15px;
  font-weight: 600;
  color: #667085;
  text-align: left;
  margin: 26px 0 12px;
}

.tegels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.tegel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  text-decoration: none;
  color: #101828;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.tegel:hover {
  border-color: #1677ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.1);
}

.tegel[hidden] {
  display: none;
}

.tegel-icoon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eef6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.tegel-tekst strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.tegel-tekst small {
  display: block;
  font-size: 13px;
  color: #667085;
}

@media (max-width: 560px) {
  .home-hero {
    padding-top: 36px;
  }

  .home-lead {
    font-size: 16px;
  }

  .tegels {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .tegel {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
  }

  .tegel-tekst strong {
    font-size: 15px;
  }
}

/* ============================================================
   NIEUWE LAYOUT – calculatorpagina's (live resultaat bovenaan)
   ============================================================ */

.live-hero {
  position: sticky;
  top: calc(var(--header-h, 72px) + 8px);
  z-index: 5;
  display: block;
  text-align: center;
  padding: 14px 16px;
  margin-bottom: 20px;
  background: #eef6ff;
  border: 1px solid #cfe2ff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.08);
  transition: background 0.2s, border-color 0.2s;
}

.live-hero .lh-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #175cd3;
}

.live-hero .lh-waarde {
  display: block;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0b4fd6;
  margin: 2px 0;
}

.live-hero .lh-sub {
  display: block;
  font-size: 13px;
  color: #475467;
}

.live-hero.leeg {
  background: #f9fafb;
  border-color: #eaecf0;
}

.live-hero.leeg .lh-label {
  color: #667085;
}

.live-hero.leeg .lh-waarde {
  color: #98a2b3;
}

.live-hero.neg {
  background: #fef3f2;
  border-color: #fecdca;
}

.live-hero.neg .lh-label,
.live-hero.neg .lh-waarde {
  color: #b42318;
}

@media print {
  .live-hero {
    position: static;
  }
}

/* ============================================================
   Knop "Installeer als app"
   ============================================================ */

.installeer-knop {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #1677ff;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.installeer-knop:hover {
  background: #0f5fd1;
}

.installeer-knop[hidden],
.installeer-tip[hidden] {
  display: none;
}

footer .installeer-knop {
  display: block;
  margin: 14px auto 0;
}

.installeer-tip {
  flex-basis: 100%;
  max-width: 420px;
  margin: 10px auto 0;
  padding: 10px 14px;
  font-size: 14px;
  color: #344054;
  background: #fff;
  border: 1px solid #d6e6ff;
  border-radius: 12px;
  text-align: center;
}

/* ============================================================
   Blog (brandstofadvies)
   ============================================================ */

.blog-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 20px 8px;
  text-align: center;
}

.blog-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #175cd3;
  background: #eef6ff;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.blog-hero h1 {
  font-size: clamp(30px, 5.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: #101828;
}

.blog-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #475467;
  margin: 0 auto;
  max-width: 600px;
}

.blog-lijst {
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 20px 12px;
}

.blog-lijst h2 {
  font-size: 22px;
  margin: 0 0 16px;
}

.blog-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.blog-kaart {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 18px;
  text-decoration: none;
  color: #101828;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.blog-kaart:hover {
  border-color: #1677ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.1);
}

.blog-kaart-icoon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eef6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.blog-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: #175cd3;
}

.blog-kaart h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0;
}

.blog-kaart p {
  font-size: 15px;
  line-height: 1.55;
  color: #475467;
  margin: 0;
  flex-grow: 1;
}

.blog-meta {
  font-size: 13px;
  color: #667085;
}

.blog-cta-sectie {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.blog-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  background: #eef6ff;
  border: 1px solid #cfe2ff;
  border-radius: 18px;
}

.blog-cta strong {
  font-size: 17px;
  color: #101828;
}

.blog-cta p {
  margin: 4px 0 0;
  color: #475467;
  font-size: 15px;
  max-width: 520px;
}

/* Artikelpagina */

.blog-artikel {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 20px;
}

.blog-artikel nav.kruimel {
  display: block;
  max-width: none;
  margin: 0 0 22px;
  padding: 0;
  position: static;
  font-size: 14px;
  color: #667085;
}

.kruimel a {
  color: #475467;
  text-decoration: none;
}

.kruimel a:hover {
  color: #1677ff;
}

.artikel-kop h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 6px 0 10px;
  color: #101828;
}

.blog-artikel header.artikel-kop {
  position: static;
  z-index: auto;
  background: transparent;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eaecf0;
}

.artikel-tekst {
  font-size: 17px;
  line-height: 1.75;
  color: #1d2939;
}

.artikel-tekst .intro {
  font-size: 19px;
  line-height: 1.65;
  color: #344054;
}

.artikel-tekst h2 {
  font-size: 23px;
  line-height: 1.3;
  margin: 34px 0 10px;
  color: #101828;
}

.artikel-tekst p {
  margin: 0 0 16px;
}

.artikel-tekst ul,
.artikel-tekst ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.artikel-tekst li {
  margin-bottom: 8px;
}

.artikel-tekst a {
  color: #1677ff;
  font-weight: 600;
}

.artikel-tekst .kader {
  margin: 26px 0;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #d6e6ff;
  border-left: 4px solid #1677ff;
  border-radius: 0 12px 12px 0;
}

.artikel-tekst .kader p {
  margin: 6px 0 0;
}

.blog-artikel .blog-cta {
  margin-top: 30px;
}

.artikel-delen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 14px;
  color: #475467;
}

.artikel-delen #deelMelding {
  flex-basis: 100%;
  margin: 4px 0 0;
  text-align: left;
}

.lees-ook {
  padding-bottom: 40px;
}

@media (max-width: 560px) {
  .blog-hero {
    padding-top: 36px;
  }

  .blog-hero p,
  .artikel-tekst .intro {
    font-size: 17px;
  }

  .artikel-tekst {
    font-size: 16px;
  }
}

.artikel-tekst img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 8px 0;
  border-radius: 14px;
}

.artikel-tekst h3 {
  font-size: 19px;
  margin: 26px 0 8px;
  color: #101828;
}

/* ============================================================
   Toestelpagina's (energiekosten per toestel)
   ============================================================ */

.toestel-lijst {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.toestel-lijst a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 4px 8px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 14px;
  color: #101828;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s;
}

.toestel-lijst a:hover {
  border-color: #1677ff;
  color: #1677ff;
}

.toestel-lijst small {
  flex-basis: 100%;
  font-size: 13px;
  font-weight: 400;
  color: #667085;
}

.toestel-uitleg p {
  margin: 0 0 12px;
  color: #344054;
}

.toestel-uitleg h3 {
  margin: 18px 0 8px;
}

.toestel-uitleg ul {
  margin: 0 0 0 20px;
  color: #344054;
}

.toestel-uitleg li {
  margin-bottom: 6px;
}

.toestel-terug {
  text-align: center;
  margin-top: 18px;
}

.toestel-terug a {
  color: #1677ff;
  font-weight: 600;
  text-decoration: none;
}

/* ============================================================
   Weergave: knop + donker en nacht (thema.js)
   ============================================================ */

[hidden] { display: none !important; }

.nav-links { order: 2; margin-left: auto; }
#menuKnop { order: 4; }
.thema-wrap { order: 3; position: relative; margin-left: 18px; }

.thema-knop {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e4e7ec;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}
.thema-knop:hover { border-color: #1677ff; }

.thema-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 6px;
  min-width: 240px;
  z-index: 30;
}
.thema-menu button {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #344054;
  cursor: pointer;
}
.thema-menu button:hover { background: #eef6ff; color: #1677ff; }
.thema-menu button[aria-checked="true"] { background: #eef6ff; color: #1677ff; }
.thema-menu button[aria-checked="true"]::after { content: "✓"; margin-left: auto; }

@media (max-width: 850px) {
  .thema-wrap { margin-left: auto; margin-right: 6px; }
}

/* ---------- Kleuren per thema ---------- */

html[data-thema="donker"] {
  --k-bg: #0e131c; --k-vlak: #161d2a; --k-vlak2: #1d2636; --k-rand: #2a3549;
  --k-tekst: #d9dfea; --k-zacht: #98a3b6; --k-sterk: #f3f6fb;
  --k-accent: #5aa2ff; --k-accent-zacht: #172741; --k-accent-rand: #27467a; --k-knoptekst: #ffffff;
}
html[data-thema="nacht"] {
  --k-bg: #110c07; --k-vlak: #1a130c; --k-vlak2: #231a10; --k-rand: #3a2b1b;
  --k-tekst: #e2c9a6; --k-zacht: #a68d6c; --k-sterk: #f0d9b8;
  --k-accent: #e8993f; --k-accent-zacht: #2c1f0f; --k-accent-rand: #5a3d18; --k-knoptekst: #1a1006;
}

.dk { color-scheme: dark; }
.dk body { background: var(--k-bg) !important; color: var(--k-tekst); }

.dk header, .dk footer, .dk .nav-links, .dk .hero {
  background: var(--k-vlak);
  border-color: var(--k-rand);
}

.dk .card, .dk .calculator, .dk .tegel, .dk .blog-kaart, .dk .toestel-lijst a, .dk .partner-blok,
.dk .snel-chips a, .dk .dropdown-menu, .dk .installeer-tip, .dk .artikel-tekst .kader,
.dk .calculator .deel-knop, .dk .deel-knop, .dk .hero-knop-secundair, .dk .calculator .knop-toevoegen,
.dk .thema-knop, .dk .thema-menu {
  background: var(--k-vlak);
  border-color: var(--k-rand);
  box-shadow: none;
}
.dk .artikel-tekst .kader { border-left-color: var(--k-accent); }

.dk .resultaat, .dk .live-hero.leeg, .dk .calculator .verwijder-knop, .dk .partner-label, .dk #menuKnop:hover {
  background: var(--k-vlak2);
  border-color: var(--k-rand);
}

.dk .tegel-icoon, .dk .blog-kaart-icoon, .dk .blog-label, .dk .live-hero, .dk .blog-cta,
.dk .dropdown-menu a:hover, .dk .deel-knop:hover, .dk .calculator .deel-knop:hover,
.dk .hero-knop-secundair:hover, .dk .calculator .knop-toevoegen:hover,
.dk .thema-menu button:hover, .dk .thema-menu button[aria-checked="true"] {
  background: var(--k-accent-zacht);
  border-color: var(--k-accent-rand);
}

.dk h1, .dk h2, .dk h3, .dk .home-hero h1, .dk .blog-hero h1, .dk .artikel-kop h1,
.dk .artikel-tekst h2, .dk .artikel-tekst h3, .dk .tegel, .dk .blog-kaart, .dk .toestel-lijst a,
.dk .blog-cta strong, .dk .calculator strong, .dk .resultaat strong {
  color: var(--k-sterk);
}

.dk .nav-links a, .dk .dropdown-knop, .dk .dropdown-menu a, .dk #menuKnop, .dk .artikel-tekst,
.dk .artikel-tekst .intro, .dk .toestel-uitleg p, .dk .toestel-uitleg ul, .dk .resultaat,
.dk .snel-chips a, .dk .installeer-tip, .dk .calculator label, .dk .thema-menu button {
  color: var(--k-tekst);
}

.dk .subtitle, .dk .card p, .dk .hero p, .dk .home-lead, .dk .tegel-tekst small, .dk .tegel-groep,
.dk .blog-meta, .dk .blog-kaart p, .dk .blog-hero p, .dk .veld-uitleg, .dk #zoekStatus, .dk #deelMelding,
.dk footer, .dk .snel-chips, .dk .kruimel, .dk .kruimel a, .dk .blog-artikel nav.kruimel,
.dk .partner-blok p, .dk .partner-blok .partner-uitleg, .dk .live-hero .lh-sub, .dk .blog-cta p,
.dk .toestel-lijst small, .dk .artikel-delen, .dk .deel-balk .deel-titel, .dk .live-hero.leeg .lh-label,
.dk .live-hero.leeg .lh-waarde, .dk .calculator .verwijder-knop, .dk .partner-label, .dk main::after {
  color: var(--k-zacht);
}

.dk .logo, .dk .hero h1 span, .dk .home-hero h1 span, .dk .blog-tag, .dk .blog-label,
.dk .live-hero .lh-label, .dk .live-hero .lh-waarde, .dk .artikel-tekst a, .dk .partner-uitleg a,
.dk .meer-opties summary, .dk .toestel-terug a, .dk .calculator .deel-knop, .dk .deel-knop,
.dk .calculator .knop-toevoegen, .dk .hero-knop-secundair, .dk .dropdown-knop:hover,
.dk .dropdown-menu a:hover, .dk .kruimel a:hover, .dk .snel-chips a:hover, .dk .toestel-lijst a:hover,
.dk .thema-menu button:hover, .dk .thema-menu button[aria-checked="true"] {
  color: var(--k-accent);
}
.dk .deel-whatsapp { color: #3ccf7c; }

.dk .coming, .dk .calculator button, .dk .deel-knoppen button, .dk #naarBoven, .dk .hero-knop-primair,
.dk .partner-knop, .dk .installeer-knop, .dk #tankstations .deel-knoppen a {
  background: var(--k-accent);
  color: var(--k-knoptekst);
  box-shadow: none;
}
.dk .calculator .deel-knop, .dk .calculator .knop-toevoegen { border-color: var(--k-rand); }
.dk .calculator .verwijder-knop { background: var(--k-vlak2); }
.dk .hero-knop-secundair, .dk .calculator .knop-toevoegen { border-color: var(--k-accent); }

.dk .tegel:hover, .dk .blog-kaart:hover, .dk .toestel-lijst a:hover, .dk .snel-chips a:hover,
.dk .thema-knop:hover, .dk .calculator .deel-knop:hover {
  border-color: var(--k-accent);
  box-shadow: none;
}

.dk .calculator input, .dk .calculator select, .dk .calculator textarea, .dk .home-zoek input,
.dk .calculator-search input, .dk input, .dk select, .dk textarea {
  background-color: var(--k-vlak2);
  color: var(--k-sterk);
  border-color: var(--k-rand);
}
.dk input::placeholder, .dk textarea::placeholder { color: var(--k-zacht); }
.dk .calculator input:focus, .dk .calculator select:focus, .dk .home-zoek input:focus {
  border-color: var(--k-accent);
}

.dk .live-hero.neg { background: #3a1512; border-color: #6b2620; }
.dk .live-hero.neg .lh-label, .dk .live-hero.neg .lh-waarde { color: #ff9c8f; }
.dk .partner-blok .partner-beta { background: #3a2a0a; color: #f5c46b; }

.dk .abo-rij, .dk .met-dagen .lijst-rij, .dk .blog-artikel header.artikel-kop, .dk .meer-opties,
.dk .live-hero.leeg {
  border-color: var(--k-rand);
}

/* Kleuren die in de pagina's zelf staan (style="…") */
.dk [style*="color: #344054"] { color: var(--k-tekst) !important; }
.dk [style*="color: #667085"] { color: var(--k-zacht) !important; }
.dk [style*="color: #1677ff"] { color: var(--k-accent) !important; }
.dk [style*="background: #f6f8fb"] { background: var(--k-vlak2) !important; }
.dk [style*="background: #eef6ff"] { background: var(--k-accent-zacht) !important; }
.dk [style*="#d0d5dd"], .dk [style*="#e6e9ef"] { border-color: var(--k-rand) !important; }

/* Nacht: minder fel */
html[data-thema="nacht"] img:not(.logo img) { filter: brightness(0.85) sepia(0.2); }

/* ---------- Mededeling bovenaan (beheer: Instellingen) ---------- */
.site-melding {
  background: #eef6ff;
  border-bottom: 1px solid #cfe2ff;
  color: #175cd3;
  text-align: center;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 15px;
}
.site-melding a { color: inherit; text-decoration: underline; }
.site-melding.let-op { background: #fffaeb; border-color: #fedf89; color: #b54708; }
.dk .site-melding { background: var(--k-accent-zacht); border-color: var(--k-accent-rand); color: var(--k-accent); }
@media print {
  .thema-wrap, .site-melding { display: none !important; }
  .dk body { background: #fff !important; color: #000; }
}

/* Tarieventabel (aankoopkosten woning) */
.tabel-scroll { overflow-x: auto; }
.tarief-tabel { width: 100%; border-collapse: collapse; font-size: 15px; }
.tarief-tabel th, .tarief-tabel td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eaecf0; vertical-align: top; }
.tarief-tabel th { color: #475467; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; }
.tarief-tabel td { color: #344054; }
.dk .tarief-tabel th { color: var(--k-zacht); }
.dk .tarief-tabel td { color: var(--k-tekst); }
.dk .tarief-tabel th, .dk .tarief-tabel td { border-color: var(--k-rand); }
.resultaat small { color: #667085; }
.dk .resultaat small { color: var(--k-zacht); }
@media (max-width: 560px) {
  .tarief-tabel { font-size: 14px; }
  .tarief-tabel th, .tarief-tabel td { padding: 8px 4px; }
}

/* Ankers onder de vaste kopbalk */
#tips, #tools, #support, #over, #tankstations { scroll-margin-top: 120px; }

/* Tipslijst (stookkosten) */
.tips-lijst { margin: 0; padding-left: 22px; line-height: 1.7; }
.tips-lijst li { margin-bottom: 8px; color: #344054; }
.dk .tips-lijst li { color: var(--k-tekst); }

/* Hulp bij verbruik (brandstofkosten) */
.verbruik-hulp { background: #f6f8fb; border: 1px dashed #d0d5dd; border-radius: 12px; padding: 12px 14px; margin: 4px 0 14px; }
.verbruik-hulp label { font-size: 14px; }
.verbruik-hulp select { margin-bottom: 6px; }
.dk .verbruik-hulp { background: var(--k-vlak2); border-color: var(--k-rand); }
