/* Lettertypes: geen @font-face in de plugin; het thema host Nunito en Nunito Sans
   lokaal en de tool erft ze van de pagina (besluit T087/T118). */

#hypotheekcheck {
  /* Kleuren uit Brand System v1.0 §17. Geen blauw, geen teal, geel alleen in het logo. */
  --beige:        #FFF7E8;
  --wit:          #FFFFFF;
  --inkt:         #242426;
  --inkt-zacht:   #5B5B60;
  --inkt-licht:   #8E8B85;
  --koraal:       #FF6255;
  --koraal-zacht: #FFE7E4;
  --lime:         #B8D51B;
  --lime-diep:    #6E7F0B;
  --lime-zacht:   #F0F7D2;
  --oker:         #C98A1E;
  --oker-zacht:   #FBEFDA;
  --lijn:         #EBE0CA;
  --lijn-zacht:   #F3EADA;
  --groen:        #4F6B12;
  --ongedekt:     #D4775F;
  --groen-diep:   #3E5410;

  font-family: 'Nunito Sans', 'Trebuchet MS', system-ui, sans-serif;
  color: var(--inkt);
  background: var(--beige);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  padding: clamp(18px, 4vw, 48px) clamp(12px, 4vw, 24px);
  box-sizing: border-box;
}
#hypotheekcheck *, #hypotheekcheck *::before, #hypotheekcheck *::after { box-sizing: inherit; }
#hypotheekcheck .hc-wrap { max-width: 760px; margin: 0 auto; }

/* --- typografie: Nunito is rond, stevig en vriendelijk, in lijn met het logo --- */
#hypotheekcheck h1, #hypotheekcheck h2, #hypotheekcheck h3 {
  font-family: 'Nunito', 'Trebuchet MS', system-ui, sans-serif;
  font-weight: 800; letter-spacing: -0.015em; margin: 0; line-height: 1.12;
}
#hypotheekcheck h1 { font-size: clamp(32px, 6vw, 46px); }
#hypotheekcheck h2 { font-size: clamp(21px, 3vw, 26px); }
#hypotheekcheck h3 { font-size: 16px; font-weight: 700; letter-spacing: 0; }
#hypotheekcheck p  { margin: 0 0 14px; }
#hypotheekcheck .hc-vraagteken { color: var(--koraal); }

#hypotheekcheck .hc-slogan {
  font-family: 'Nunito', 'Trebuchet MS', system-ui, sans-serif; font-weight: 800; font-size: clamp(20px, 3.4vw, 26px);
  color: var(--inkt); margin: 6px 0 14px;
}
#hypotheekcheck .hc-lead { color: var(--inkt-zacht); max-width: 54ch; margin-bottom: 30px; font-size: 17px; }

/* --- stappen: vraagteken wordt vinkje (merkgedachte §5) --- */
#hypotheekcheck .hc-steps { display: flex; gap: 8px; margin-bottom: 22px; list-style: none; padding: 0; }
#hypotheekcheck .hc-steps li {
  flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--inkt-licht); padding: 10px 0 0; border-top: 3px solid var(--lijn); transition: color .2s, border-color .2s;
}
#hypotheekcheck .hc-steps li::before {
  content: "?"; font-family: 'Nunito', 'Trebuchet MS', system-ui, sans-serif; font-weight: 800; font-size: 15px;
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--lijn-zacht); color: var(--inkt-licht);
}
#hypotheekcheck .hc-steps li[data-state="actief"] { color: var(--inkt); border-top-color: var(--koraal); }
#hypotheekcheck .hc-steps li[data-state="actief"]::before { background: var(--koraal-zacht); color: var(--koraal); }
#hypotheekcheck .hc-steps li[data-state="klaar"] { color: var(--inkt-zacht); border-top-color: var(--lime); }
#hypotheekcheck .hc-steps li[data-state="klaar"]::before { content: "\2713"; background: var(--lime); color: var(--inkt); }

/* --- kaarten --- */
#hypotheekcheck .hc-card {
  background: var(--wit); border: 1px solid var(--lijn); border-radius: 18px;
  padding: clamp(20px, 3.5vw, 32px); margin-bottom: 16px;
}
#hypotheekcheck .hc-card > h2 { margin-bottom: 5px; }
#hypotheekcheck .hc-card > .hc-sub { color: var(--inkt-zacht); font-size: 15px; margin-bottom: 24px; }

/* --- formulier --- */
#hypotheekcheck .hc-veld { margin-bottom: 20px; }
#hypotheekcheck .hc-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { #hypotheekcheck .hc-rij { grid-template-columns: 1fr; } }

#hypotheekcheck label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 7px; }
#hypotheekcheck .hc-hint { font-size: 14px; color: var(--inkt-licht); margin-top: 6px; line-height: 1.5; }
#hypotheekcheck .hc-hint strong { color: var(--inkt-zacht); font-weight: 700; }

#hypotheekcheck input[type="number"], #hypotheekcheck input[type="text"],
#hypotheekcheck input[type="email"], #hypotheekcheck select {
  width: 100%; font: inherit; font-size: 16.5px; font-weight: 600; color: var(--inkt);
  padding: 13px 15px; border: 1.5px solid var(--lijn); border-radius: 12px;
  background: var(--wit); appearance: none; transition: border-color .15s, box-shadow .15s;
}
#hypotheekcheck select {
  font-weight: 500;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23242426' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px;
}
#hypotheekcheck input:focus-visible, #hypotheekcheck select:focus-visible,
#hypotheekcheck button:focus-visible {
  outline: 3px solid var(--koraal); outline-offset: 2px; border-color: var(--inkt);
}
#hypotheekcheck .hc-euro { position: relative; }
#hypotheekcheck .hc-euro::before {
  content: "\20AC"; position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: var(--inkt-licht); font-weight: 600; pointer-events: none;
}
#hypotheekcheck .hc-euro input { padding-left: 31px; }

#hypotheekcheck .hc-schakel {
  display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; font-weight: 600;
  padding: 15px 17px; border: 1.5px solid var(--lijn); border-radius: 12px;
  cursor: pointer; background: var(--wit); transition: border-color .15s, background .15s;
}
#hypotheekcheck .hc-schakel:hover { border-color: var(--inkt); background: var(--lijn-zacht); }
#hypotheekcheck .hc-schakel input { margin: 3px 0 0; accent-color: var(--koraal); width: 18px; height: 18px; flex: none; }

#hypotheekcheck fieldset { border: none; padding: 0 0 0 18px; margin: 0 0 20px; border-left: 3px solid var(--lime); }
#hypotheekcheck legend { font-size: 13px; font-weight: 800; color: var(--lime-diep);
  text-transform: uppercase; letter-spacing: .06em; padding: 0 0 10px; }
#hypotheekcheck .hc-verborgen { display: none; }

/* --- personen en inkomensbronnen --- */
#hypotheekcheck .hc-persoon {
  border: 1.5px solid var(--lijn); border-radius: 16px; padding: 20px; margin-bottom: 14px; background: var(--beige);
}
#hypotheekcheck .hc-persoon-kop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
#hypotheekcheck .hc-bron { border-top: 2px dashed var(--lijn); padding-top: 16px; margin-top: 16px; }
#hypotheekcheck .hc-bron:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
#hypotheekcheck .hc-mini {
  background: none; border: none; color: var(--inkt-licht); font-size: 13.5px; font-weight: 700;
  padding: 2px 4px; cursor: pointer; text-decoration: underline; font-family: inherit;
}
#hypotheekcheck .hc-mini:hover { color: var(--koraal); }
#hypotheekcheck .hc-bron-toevoegen {
  background: none; border: 2px dashed var(--lijn); color: var(--inkt-zacht);
  width: 100%; padding: 12px; font-size: 14.5px; font-weight: 700; border-radius: 12px; margin-top: 14px;
}
#hypotheekcheck .hc-bron-toevoegen:hover { border-color: var(--lime); color: var(--inkt); background: var(--lime-zacht); }
#hypotheekcheck .hc-jaren { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#hypotheekcheck .hc-jaarlabel {
  display: block; font-size: 13px; font-weight: 800; color: var(--inkt-licht);
  margin-bottom: 5px; letter-spacing: .02em;
}
#hypotheekcheck .hc-procent { position: relative; }
#hypotheekcheck .hc-procent::after {
  content: "%"; position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
  color: var(--inkt-licht); font-weight: 700; pointer-events: none;
}
#hypotheekcheck .hc-procent input { max-width: 140px; }
#hypotheekcheck .hc-uitkomstregel {
  background: var(--lime-zacht); border-radius: 12px; padding: 13px 16px; margin: 4px 0 18px;
  font-size: 15px; font-weight: 700; color: var(--inkt);
}
#hypotheekcheck .hc-uitkomstregel strong { font-size: 18px; }
#hypotheekcheck .hc-uitkomstregel span { display: block; font-size: 13.5px; font-weight: 600;
  color: var(--inkt-zacht); margin-top: 2px; }
#hypotheekcheck .hc-regelbalk {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 14.5px; font-weight: 700; color: var(--inkt-zacht);
  padding: 11px 15px; border: 1.5px dashed var(--lijn); border-radius: 12px; margin-bottom: 18px;
}
#hypotheekcheck .hc-niet-meegeteld { background: var(--oker-zacht); border-radius: 14px; padding: 16px 18px; font-size: 14.5px; margin-top: 16px; }

/* --- knoppen: pilvorm sluit aan op het ronde beeldmerk --- */
#hypotheekcheck .hc-acties { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 28px; }
#hypotheekcheck button,
#hypotheekcheck a.hc-knoplink {
  font-family: 'Nunito', 'Trebuchet MS', system-ui, sans-serif; font-weight: 800; font-size: 16px; border-radius: 999px;
  padding: 14px 28px; cursor: pointer; border: 2px solid transparent; transition: background .15s, border-color .15s, transform .1s;
  line-height: 1.2; text-decoration: none;
}
#hypotheekcheck button:active,
#hypotheekcheck a.hc-knoplink:active { transform: translateY(1px); }
#hypotheekcheck a.hc-knoplink:hover { text-decoration: none; }
#hypotheekcheck .hc-primair { background: var(--groen); color: #FFFFFF; }
#hypotheekcheck .hc-primair:hover { background: var(--groen-diep); }
#hypotheekcheck .hc-secundair { background: transparent; color: var(--inkt-zacht); border-color: var(--lijn); }
#hypotheekcheck .hc-secundair:hover { border-color: var(--inkt); color: var(--inkt); }
#hypotheekcheck button[disabled] { opacity: .4; cursor: not-allowed; }
#hypotheekcheck .hc-bron-toevoegen, #hypotheekcheck .hc-mini { border-radius: 12px; font-family: 'Nunito Sans', 'Trebuchet MS', system-ui, sans-serif; }

/* --- uitkomst: wit voor maximale leesbaarheid van bedragen (§17) --- */
#hypotheekcheck .hc-uitkomst { border: 2px solid var(--inkt); }

/* --- resultaatrapport (T123 e.v.) ------------------------------------------ */

/* De uitkomstkaart krijgt zijn lading van de status, niet van een zware rand.
   Koraal is merkkleur voor de vraag, geen foutkleur (Brand System 17). */
#hypotheekcheck .hc-verdict { border: 1.5px solid var(--lijn); border-top: 5px solid var(--lijn); }
#hypotheekcheck .hc-verdict[data-status="haalbaar"] { border-top-color: var(--lime); background: linear-gradient(var(--lime-zacht), var(--wit) 120px); }
#hypotheekcheck .hc-verdict[data-status="bijna"]    { border-top-color: var(--oker); background: linear-gradient(var(--oker-zacht), var(--wit) 120px); }
#hypotheekcheck .hc-verdict[data-status="eigen-geld"] { border-top-color: var(--lime-diep); background: linear-gradient(var(--lime-zacht), var(--wit) 120px); }
#hypotheekcheck .hc-verdict[data-status="nog-niet"] { border-top-color: var(--inkt); }
#hypotheekcheck .hc-verdict[data-status="onbekend"] { border-top-color: var(--lijn); }

#hypotheekcheck .hc-status {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px;
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 13px 5px 9px; border-radius: 999px; background: var(--wit);
  border: 1.5px solid var(--lijn); color: var(--inkt-zacht);
}
#hypotheekcheck .hc-verdict[data-status="haalbaar"] .hc-status { border-color: var(--lime); color: var(--lime-diep); }
#hypotheekcheck .hc-verdict[data-status="bijna"] .hc-status { border-color: var(--oker); color: #8A5B0B; }
#hypotheekcheck .hc-verdict[data-status="eigen-geld"] .hc-status { border-color: var(--lime-diep); color: var(--lime-diep); }
#hypotheekcheck .hc-status .hc-merk { font-size: 15px; }

#hypotheekcheck .hc-voorwaarde {
  margin-top: 16px; font-size: 14.5px; color: var(--inkt-zacht); line-height: 1.55;
  padding: 14px 16px; background: var(--lijn-zacht); border-radius: 14px;
}
#hypotheekcheck .hc-voorwaarde b { display: block; color: var(--inkt); margin-bottom: 3px; }

/* wat er nodig is tegenover wat er is */
#hypotheekcheck .hc-balans .hc-tussen { border-top: 1.5px solid var(--lijn); }
#hypotheekcheck .hc-balans .hc-slot {
  border-top: 2px solid var(--inkt); font-size: 17px; padding-top: 12px; margin-top: 2px;
}
#hypotheekcheck .hc-balans .hc-slot[data-status="haalbaar"] .hc-v { color: var(--lime-diep); }
#hypotheekcheck .hc-balans .hc-slot[data-status="bijna"] .hc-v { color: #8A5B0B; }
#hypotheekcheck .hc-balans .hc-slot[data-status="eigen-geld"] .hc-v { color: var(--lime-diep); }
#hypotheekcheck .hc-min { color: var(--koraal); }
#hypotheekcheck .hc-plus { color: var(--lime-diep); }

#hypotheekcheck .hc-oplossing {
  padding: 15px 0; border-bottom: 1px solid var(--lijn-zacht);
}
#hypotheekcheck .hc-oplossing:last-of-type { border-bottom: 0; }
#hypotheekcheck .hc-oplossing b { font-family: 'Nunito', system-ui, sans-serif; font-size: 16.5px; }
#hypotheekcheck .hc-oplossing-kop {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
#hypotheekcheck .hc-richtbedrag {
  font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 16px;
  white-space: nowrap; color: var(--inkt-zacht); font-variant-numeric: tabular-nums;
}
#hypotheekcheck .hc-richtbedrag[data-hard="ja"] { color: var(--lime-diep); }
#hypotheekcheck .hc-richtdetail {
  display: block; margin-top: 6px; font-size: 13.5px; color: var(--inkt-licht);
}

/* de brug: hoe het benodigde bedrag bij elkaar zou kunnen komen */
#hypotheekcheck .hc-baan { position: relative; }
#hypotheekcheck .hc-tewinnen {
  position: absolute; top: 0; bottom: 0; background: var(--lime-zacht);
  border-radius: 0 999px 999px 0; margin-left: -6px; padding-left: 6px;
}
#hypotheekcheck .hc-erbij { color: var(--lime-diep); font-weight: 800; }
#hypotheekcheck .hc-brugvraag {
  font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 16px;
  margin: -6px 0 6px; color: var(--inkt);
}
#hypotheekcheck .hc-mini-actie { margin-top: 12px; padding: 9px 18px; font-size: 14.5px; }
#hypotheekcheck .hc-optiekop {
  font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 15.5px;
  margin: 26px 0 4px; color: var(--inkt);
}
#hypotheekcheck .hc-optieregel { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; }
#hypotheekcheck .hc-optienaam { font-weight: 800; font-family: 'Nunito', system-ui, sans-serif; }
#hypotheekcheck .hc-optienaam em {
  display: block; font-style: normal; font-family: 'Nunito Sans', system-ui, sans-serif;
  font-weight: 600; font-size: 13px; color: var(--inkt-licht); margin-top: 2px;
}
#hypotheekcheck .hc-leesmeer { margin-top: 8px; }
#hypotheekcheck .hc-leesmeer > summary {
  cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 700;
  color: var(--lime-diep); width: fit-content;
}
#hypotheekcheck .hc-leesmeer > summary::-webkit-details-marker { display: none; }
#hypotheekcheck .hc-leesmeer > summary::after { content: " +"; }
#hypotheekcheck .hc-leesmeer[open] > summary::after { content: " \2212"; }
#hypotheekcheck .hc-leesmeer > span { display: block; margin-top: 6px; color: var(--inkt-zacht); font-size: 14.5px; }
#hypotheekcheck .hc-optiebedrag {
  font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; white-space: nowrap;
  color: var(--inkt-zacht); font-variant-numeric: tabular-nums;
}
#hypotheekcheck .hc-optiebedrag { flex: none; }
#hypotheekcheck .hc-optiebedrag input { width: 150px; padding: 9px 12px 9px 30px; font-size: 15px; font-variant-numeric: tabular-nums; }
#hypotheekcheck .hc-optiebedrag .hc-euro::before { top: 50%; font-size: 14px; }
#hypotheekcheck .hc-brugdeel[data-soort="verlies"] { background: #C9BFAE; }
#hypotheekcheck .hc-brugstip[data-soort="verlies"] { background: #C9BFAE; }
#hypotheekcheck .hc-capaciteit .hc-v { color: var(--inkt-zacht); }
#hypotheekcheck .hc-brug { margin-top: 26px; padding-top: 4px; }
#hypotheekcheck .hc-brugbalk {
  display: flex; gap: 3px; height: 34px; margin: 16px 0 14px;
  border-radius: 10px; overflow: hidden; background: var(--lijn-zacht);
}
#hypotheekcheck .hc-brugdeel { min-width: 3px; }
#hypotheekcheck .hc-brugdeel[data-soort="hypotheek"] { background: var(--groen); }
#hypotheekcheck .hc-brugdeel[data-soort="eigen"]     { background: var(--lime); }
#hypotheekcheck .hc-brugdeel[data-soort="knop"]      { background: var(--lime-diep); }
#hypotheekcheck .hc-brugdeel[data-soort="richt"]     { background: var(--oker); }
#hypotheekcheck .hc-brugdeel[data-soort="schenking"] { background: var(--oker); }
#hypotheekcheck .hc-brugdeel[data-soort="starterslening"] { background: #D9A441; }
#hypotheekcheck .hc-brugdeel[data-soort="ongedekt"] { background: var(--ongedekt); }
#hypotheekcheck .hc-bruglegenda { list-style: none; margin: 0; padding: 0; }
#hypotheekcheck .hc-bruglegenda li {
  display: flex; align-items: baseline; gap: 9px; padding: 7px 0;
  border-bottom: 1px solid var(--lijn-zacht); font-size: 15px;
}
#hypotheekcheck .hc-bruglegenda .hc-w { flex: 1; }
#hypotheekcheck .hc-bruglegenda .hc-v { font-variant-numeric: tabular-nums; font-weight: 700; }
#hypotheekcheck .hc-brugtotaal { border-bottom: 0; border-top: 2px solid var(--inkt); margin-top: 2px; }
#hypotheekcheck .hc-brugstip {
  width: 11px; height: 11px; border-radius: 3px; flex: none; align-self: center;
}
#hypotheekcheck .hc-brugstip[data-soort="hypotheek"] { background: var(--groen); }
#hypotheekcheck .hc-brugstip[data-soort="eigen"]     { background: var(--lime); }
#hypotheekcheck .hc-brugstip[data-soort="knop"]      { background: var(--lime-diep); }
#hypotheekcheck .hc-brugstip[data-soort="richt"]     { background: var(--oker); }
#hypotheekcheck .hc-brugstip[data-soort="schenking"]  { background: var(--oker); }
#hypotheekcheck .hc-brugstip[data-soort="starterslening"] { background: #D9A441; }
#hypotheekcheck .hc-brugstip[data-soort="ongedekt"]  { background: var(--ongedekt); }
#hypotheekcheck .hc-brugstip[data-soort="leeg"]      { background: transparent; }
#hypotheekcheck .hc-oplossing span { display: block; color: var(--inkt-zacht); font-size: 15px; margin-top: 3px; }

/* de onderbouwing is er voor wie hem wil, niet standaard open */
#hypotheekcheck .hc-slotvlak {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  margin-top: 4px; padding: 15px 18px; border-radius: 14px;
  background: var(--koraal-zacht); border-left: 4px solid var(--ongedekt);
  font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 18px; color: var(--inkt);
}
#hypotheekcheck .hc-slotvlak .hc-v { font-variant-numeric: tabular-nums; white-space: nowrap; }
#hypotheekcheck .hc-slotvlak[data-status="haalbaar"],
#hypotheekcheck .hc-slotvlak[data-status="eigen-geld"] {
  background: var(--lime-zacht); border-left-color: var(--lime-diep);
}
#hypotheekcheck .hc-onderbouwing > summary {
  cursor: pointer; font-family: 'Nunito', system-ui, sans-serif; font-weight: 800;
  font-size: 17px; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
#hypotheekcheck .hc-onderbouwing > summary::-webkit-details-marker { display: none; }
#hypotheekcheck .hc-onderbouwing > summary::after {
  content: "+"; font-size: 24px; font-weight: 700; color: var(--inkt-licht); line-height: 1;
}
#hypotheekcheck .hc-onderbouwing[open] > summary::after { content: "\2212"; }
#hypotheekcheck .hc-onderbouwing[open] > summary { margin-bottom: 18px; }
#hypotheekcheck .hc-onderbouwing > summary:focus-visible { outline: 3px solid var(--koraal); outline-offset: 3px; }

#hypotheekcheck .hc-markt-kop {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
#hypotheekcheck .hc-knoplink {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
#hypotheekcheck .hc-koopsomlijn {
  margin: 16px 0 4px; padding: 13px 16px; border-radius: 14px;
  background: var(--lijn-zacht); font-size: 15.5px; color: var(--inkt);
}
#hypotheekcheck .hc-bevestigd { margin-top: 16px; font-weight: 800; color: var(--lime-diep); }
#hypotheekcheck .hc-fout { margin-top: 16px; font-weight: 700; color: #8C2418; }
#hypotheekcheck .hc-honing { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#hypotheekcheck .hc-slotkaart { background: transparent; border-style: dashed; }
#hypotheekcheck .hc-oordeel { font-family: 'Nunito', 'Trebuchet MS', system-ui, sans-serif; font-weight: 800; font-size: clamp(23px, 3.6vw, 30px); margin-bottom: 6px; }
#hypotheekcheck .hc-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--inkt-licht); margin-bottom: 20px; }
#hypotheekcheck .hc-bedrag {
  font-family: 'Nunito', 'Trebuchet MS', system-ui, sans-serif; font-size: clamp(42px, 9vw, 64px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums;
}
#hypotheekcheck .hc-bedrag-sub { color: var(--inkt-zacht); font-size: 15.5px; margin-top: 12px; }

/* signatuur: de twee plafonds naast elkaar */
#hypotheekcheck .hc-plafonds { margin-top: 30px; padding-top: 26px; border-top: 2px solid var(--lijn); }
#hypotheekcheck .hc-plafond { margin-bottom: 22px; }
#hypotheekcheck .hc-plafond:last-child { margin-bottom: 0; }
#hypotheekcheck .hc-plafond-kop { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; margin-bottom: 9px; gap: 12px; }
#hypotheekcheck .hc-plafond-kop b { font-variant-numeric: tabular-nums; font-weight: 800; font-family: 'Nunito', 'Trebuchet MS', system-ui, sans-serif; }
#hypotheekcheck .hc-plafond-naam { color: var(--inkt-zacht); font-weight: 600; }
#hypotheekcheck .hc-plafond[data-bindend="ja"] .hc-plafond-naam { color: var(--inkt); font-weight: 800; }
#hypotheekcheck .hc-baan { height: 12px; background: var(--lijn-zacht); border-radius: 999px; overflow: hidden; }
#hypotheekcheck .hc-vul { height: 100%; width: 0; border-radius: 999px; background: var(--lijn); transition: width .8s cubic-bezier(.22,1,.36,1); }
#hypotheekcheck .hc-plafond[data-bindend="ja"] .hc-vul { background: var(--koraal); }
#hypotheekcheck .hc-bindend-uitleg {
  margin-top: 22px; font-size: 15px; color: var(--inkt-zacht); padding: 16px 18px;
  background: var(--beige); border-radius: 14px; border-left: 4px solid var(--koraal);
}
#hypotheekcheck .hc-bindend-uitleg strong { color: var(--inkt); }

/* --- gegevensregels --- */
#hypotheekcheck .hc-regels { list-style: none; padding: 0; margin: 0; }
#hypotheekcheck .hc-regels li {
  display: flex; justify-content: space-between; gap: 16px; padding: 12px 0;
  border-bottom: 1px solid var(--lijn-zacht); font-size: 15.5px;
}
#hypotheekcheck .hc-regels li:last-child { border-bottom: none; }
#hypotheekcheck .hc-regels .hc-w { color: var(--inkt-zacht); }
#hypotheekcheck .hc-regels .hc-v { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; font-family: 'Nunito', 'Trebuchet MS', system-ui, sans-serif; }

/* --- signalen: kleur nooit als enige drager (§17) --- */
#hypotheekcheck .hc-merk {
  width: 24px; height: 24px; border-radius: 50%; flex: none; margin-top: 1px;
  display: grid; place-items: center; font-family: 'Nunito', 'Trebuchet MS', system-ui, sans-serif; font-weight: 800; font-size: 14px;
}
#hypotheekcheck [data-kleur="groen"]  .hc-merk { background: var(--lime); color: var(--inkt); }
#hypotheekcheck [data-kleur="oranje"] .hc-merk { background: var(--oker); color: var(--wit); }
#hypotheekcheck [data-kleur="rood"]   .hc-merk { background: var(--koraal); color: var(--inkt); }

/* --- knoppen om aan te draaien --- */
#hypotheekcheck .hc-knop { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--lijn-zacht); }
#hypotheekcheck .hc-knop:last-child { border-bottom: none; padding-bottom: 0; }
#hypotheekcheck .hc-knop-tekst b { display: block; font-size: 15.5px; font-weight: 800; margin-bottom: 3px; }
#hypotheekcheck .hc-knop-tekst span { font-size: 14.5px; color: var(--inkt-zacht); }
#hypotheekcheck .hc-effect { font-family: 'Nunito', 'Trebuchet MS', system-ui, sans-serif; font-weight: 800; font-size: 20px; color: var(--lime-diep); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* --- marktbreedte --- */
#hypotheekcheck .hc-markt { border-left: 4px solid var(--lime); padding: 4px 0 4px 18px; margin-bottom: 20px; }
#hypotheekcheck .hc-markt:last-of-type { margin-bottom: 0; }
#hypotheekcheck .hc-markt-telling { font-family: 'Nunito', 'Trebuchet MS', system-ui, sans-serif; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; white-space: nowrap; }
#hypotheekcheck .hc-markt-onderwerp { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--inkt-licht); margin-bottom: 3px; }
#hypotheekcheck .hc-markt p { font-size: 14.5px; color: var(--inkt-zacht); margin: 6px 0 0; }

/* --- advies (fase 4: aangesloten adviseurs, geen merknaam) --- */
#hypotheekcheck .hc-advies {
  background: var(--lime-zacht); border: 2px solid var(--lime); color: var(--inkt);
}
#hypotheekcheck .hc-advies h2 { color: var(--inkt); }
#hypotheekcheck .hc-advies p { color: var(--inkt-zacht); }
#hypotheekcheck .hc-advies .hc-primair { background: var(--groen); color: #FFFFFF; }
#hypotheekcheck .hc-advies .hc-primair:hover { background: var(--groen-diep); }
#hypotheekcheck .hc-advies input[type="email"] { background: var(--wit); border-color: var(--lime); }
#hypotheekcheck .hc-toestemming { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--inkt-zacht); margin: 18px 0; cursor: pointer; line-height: 1.5; }
#hypotheekcheck .hc-toestemming input { margin: 3px 0 0; accent-color: var(--koraal); width: 18px; height: 18px; flex: none; }
#hypotheekcheck .hc-merkregel { font-size: 14px; color: var(--inkt-licht); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--lime); }

/* --- voetnoot --- */
#hypotheekcheck .hc-voet { font-size: 13.5px; color: var(--inkt-licht); line-height: 1.6; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--lijn-zacht); }
#hypotheekcheck .hc-fout { background: var(--koraal-zacht); color: #8C2418; padding: 15px 18px; border-radius: 14px; font-size: 14.5px; margin-bottom: 16px; }
#hypotheekcheck .hc-waarschuwing { font-size: 13.5px; color: var(--inkt-zacht); padding: 5px 0 5px 15px; border-left: 3px solid var(--lijn); margin-bottom: 10px; }

#hypotheekcheck .hc-alleen-schermlezer {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

#hypotheekcheck .hc-bandtoelichting {
  margin-top: 16px; font-size: 14.5px; color: var(--inkt-zacht); padding: 15px 17px;
  background: var(--oker-zacht); border-radius: 14px; line-height: 1.55;
}
#hypotheekcheck .hc-bandtoelichting b { display: block; color: var(--inkt); margin-bottom: 3px; }
#hypotheekcheck .hc-blokkop {
  font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  color: var(--inkt-licht); margin: 22px 0 6px;
}
#hypotheekcheck .hc-blokkop:first-of-type { margin-top: 0; }
#hypotheekcheck .hc-kostpost {
  background: var(--koraal-zacht); border-radius: 14px; padding: 16px 18px; margin-top: 20px; font-size: 15px;
}
#hypotheekcheck .hc-kostpost b { display: block; margin-bottom: 2px; }
#hypotheekcheck .hc-kostpost .hc-regels li { border-bottom-color: #F5CFC9; }
#hypotheekcheck .hc-knoppenrij { display: flex; flex-wrap: wrap; gap: 12px; }
#hypotheekcheck .hc-advies .hc-secundair { border-color: var(--lime-diep); color: var(--lime-diep); background: var(--wit); }
#hypotheekcheck .hc-advies .hc-secundair:hover { border-color: var(--inkt); color: var(--inkt); }

@media (prefers-reduced-motion: reduce) { #hypotheekcheck * { transition: none !important; animation: none !important; } }
#hypotheekcheck .hc-bevestig { margin-top: 16px; font-weight: 800; color: var(--lime-diep); }
#hypotheekcheck .hc-bevestig-fout { margin-top: 16px; font-weight: 700; color: var(--alert); }


/* ---------------------------------------------------------------- doorklikflow */
#hypotheekcheck .hc-voortgang {
  display: flex; gap: 8px 16px; list-style: none; padding: 0; margin: 0 0 22px; flex-wrap: wrap;
}
#hypotheekcheck .hc-voortgang li {
  flex: 0 1 auto; display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--inkt-licht); padding: 0;
}
#hypotheekcheck .hc-voortgang li[data-state="actief"] { color: var(--inkt); }
#hypotheekcheck .hc-voortgang li[data-state="klaar"]  { color: var(--inkt-zacht); }
#hypotheekcheck .hc-voortgang .hc-merk { width: 20px; height: 20px; font-size: 12px; }
#hypotheekcheck .hc-voortgang li[data-state="actief"] .hc-merk { background: var(--koraal-zacht); color: var(--koraal); }
#hypotheekcheck .hc-voortgang li[data-state="klaar"]  .hc-merk { background: var(--lime); color: var(--inkt); }
#hypotheekcheck .hc-voortgang li:not([data-state]) .hc-merk { background: var(--lijn-zacht); color: var(--inkt-licht); }
#hypotheekcheck .hc-voortgang-tekst { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 620px) { #hypotheekcheck .hc-voortgang-tekst { display: none; }
  #hypotheekcheck .hc-voortgang li { flex: 1 1 0; justify-content: center; } }

/* keuzevlakken in plaats van uitklaplijsten */
#hypotheekcheck .hc-tegels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
#hypotheekcheck .hc-tegels-1 { grid-template-columns: 1fr; }
#hypotheekcheck .hc-tegels-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { #hypotheekcheck .hc-tegels { grid-template-columns: 1fr; } }
#hypotheekcheck .hc-tegel {
  min-height: 56px; text-align: left; padding: 14px 16px; border-radius: 14px;
  border: 2px solid var(--lijn); background: var(--wit); color: var(--inkt);
  font-family: 'Nunito Sans', 'Trebuchet MS', system-ui, sans-serif; font-size: 15px;
  cursor: pointer; transition: border-color .15s, background .15s;
}
#hypotheekcheck .hc-tegel b { display: block; font-family: 'Nunito', 'Trebuchet MS', system-ui, sans-serif;
  font-weight: 800; font-size: 15.5px; line-height: 1.3; }
#hypotheekcheck .hc-tegel span { display: block; font-size: 13.5px; color: var(--inkt-zacht); margin-top: 2px; line-height: 1.4; }
#hypotheekcheck .hc-tegel:hover { border-color: var(--inkt-licht); }
#hypotheekcheck .hc-tegel.aan { border-color: var(--groen); background: var(--lime-zacht); }
#hypotheekcheck .hc-tegel.aan b::after { content: " \2713"; color: var(--lime-diep); }

#hypotheekcheck .hc-persoonblok { margin-bottom: 22px; }
#hypotheekcheck .hc-persoonblok:last-child { margin-bottom: 0; }
#hypotheekcheck .hc-bronkop {
  font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  color: var(--inkt-licht); margin-bottom: 10px;
}
#hypotheekcheck .hc-melding {
  background: var(--oker-zacht); border-radius: 14px; padding: 15px 17px;
  font-size: 14.5px; line-height: 1.55; color: var(--inkt-zacht); margin-top: 4px;
}
#hypotheekcheck .hc-voetregel { font-size: 13px; color: var(--inkt-licht); text-align: center; margin-top: 16px; }
#hypotheekcheck .hc-fout[hidden] { display: none; }
#hypotheekcheck .hc-hint a { color: var(--groen); font-weight: 700; }

/* aanraakvlakken op een telefoon */
@media (max-width: 620px) {
  #hypotheekcheck input, #hypotheekcheck select, #hypotheekcheck .hc-schakel { min-height: 48px; }
  #hypotheekcheck button { min-height: 48px; }
  #hypotheekcheck .hc-jaren { grid-template-columns: 1fr; }
}


/* uitlijning binnen een scherm */
#hypotheekcheck .hc-card > .hc-blokkop:first-of-type { margin-top: 4px; }
#hypotheekcheck .hc-card > .hc-mini { display: inline-block; margin: 0 0 18px; padding: 0; }
#hypotheekcheck .hc-card > .hc-veld:last-of-type { margin-bottom: 0; }
#hypotheekcheck .hc-veld > label { line-height: 1.35; }
#hypotheekcheck .hc-tegels + .hc-veld, #hypotheekcheck .hc-tegels + .hc-blokkop { margin-top: 22px; }
