/* ============================================
   Rekentool (component rekentool, eigen HTML-widget .calc): donker blok, links drie schuifregelaars, rechts drie uitkomsten.
   Website laten maken heeft links 36px bovenruimte en de disclaimer 16px lager dan lokale SEO / Google Ads
   (modifier rekentool--website).
   ============================================ */
.rekentool { border-radius: 16px; background: var(--color-primary); font-family: var(--font-ui); font-weight: 500; line-height: 1.5; color: var(--color-white); }
.rekentool__raster { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.rekentool__links { display: flex; flex-direction: column; justify-content: center; padding: 0 36px 0 0; } /* geen min-width: 0 — op 320px duwt de inhoud de kolom breder, zoals in het origineel */
.rekentool__rechts { display: flex; flex-direction: column; justify-content: center; padding: 36px 36px 36px 0; }
.rekentool__uitkomsten { display: flex; flex-direction: column; gap: 16px; padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, 0.07); }

.rekentool__rij { margin-bottom: 28px; }
.rekentool__rij:last-child { margin-bottom: 0; }
.rekentool__labelrij { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.rekentool__label { display: inline; font-size: 14px; font-weight: 600; line-height: 1.5; vertical-align: baseline; color: var(--color-white); }
.rekentool__waarde {
  flex-shrink: 0; white-space: nowrap;
  font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--color-accent);
}

.rekentool__schuif {
  -webkit-appearance: none; appearance: none;
  display: inline-block; vertical-align: baseline; width: 100%; height: 4px; margin: 0; border-radius: 2px; /* inline in een regel van 25,5px, zoals het origineel */
  background: linear-gradient(to right, var(--color-accent) var(--pct, 0%), rgba(255, 255, 255, 0.15) var(--pct, 0%));
  outline: none; cursor: pointer;
}
.rekentool__schuif::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-accent); box-shadow: rgba(238, 131, 49, 0.4) 0 2px 8px; cursor: pointer;
}
.rekentool__schuif::-moz-range-thumb {
  width: 18px; height: 18px; border: 0; border-radius: 50%;
  background: var(--color-accent); box-shadow: rgba(238, 131, 49, 0.4) 0 2px 8px; cursor: pointer;
}
.rekentool__schuif:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 6px; }
.rekentool__minmax { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: rgba(255, 255, 255, 0.35); }

.rekentool__uitkomst {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 20px; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.rekentool__uitkomst--accent { border-color: rgba(238, 131, 49, 0.25); background: rgba(238, 131, 49, 0.1); }
.rekentool__uitkomst-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
.rekentool__uitkomst-waarde { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--color-white); }
.rekentool__uitkomst--accent .rekentool__uitkomst-waarde { color: var(--color-accent); }
.rekentool__uitkomst-sub { font-size: 11px; color: rgba(255, 255, 255, 0.3); }

.rekentool__disclaimer { margin-top: -4px; padding: 0 36px 24px; font-size: 11px; text-align: center; color: rgba(255, 255, 255, 0.25); }

.rekentool--website .rekentool__links { padding: 36px 40px 0 0; }
.rekentool--website .rekentool__disclaimer { margin-top: 0; padding: 16px 36px 24px; }

@media (max-width: 768px) {
  .rekentool__raster { grid-template-columns: 1fr; }
  .rekentool__links, .rekentool--website .rekentool__links { padding: 28px 24px 24px; }
  .rekentool__rechts { padding: 24px 24px 28px; }
  .rekentool__uitkomsten { padding-left: 0; padding-top: 24px; border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.07); }
  .rekentool__disclaimer, .rekentool--website .rekentool__disclaimer { padding: 0 24px 20px; }
  .rekentool__uitkomst-waarde { font-size: 22px; }
}
