/* Scanergi - publieke huisstijl (vergelijker + root scanergi.be). Laadt ná de inline stijl van
   vergelijker.html en verfijnt die; de sc-*-klassen zijn de uitleg-secties (_scanergi_info.html). */
:root {
  --navy: #04234a;
  --navy-2: #0a3566;
  --blue: #0b6fd0;
  --green: #1a9e3a;
  --muted: #55667a;
  --bg: #f4f7fb;
  --line: rgba(4, 35, 74, 0.11);
  --shadow: 0 1px 2px rgba(4, 35, 74, .05), 0 12px 32px rgba(4, 35, 74, .07);
}
body {
  font-family: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3 { letter-spacing: -0.02em; }

/* Bovenbalk */
.sc-topbar {
  position: sticky; top: 0; z-index: 40; padding: 10px 0;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.sc-wrap, .sc-wide { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.sc-topbar .sc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: nowrap; }
.sc-topbar .brand-logo-full { height: 40px; }
.sc-nav { display: flex; align-items: center; gap: 22px; }
.sc-nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--navy); white-space: nowrap; }
.sc-nav a:hover { color: var(--blue); }
.sc-nav .sc-nav-cta {
  background: var(--navy); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 700;
}
.sc-nav .sc-nav-cta:hover { background: var(--navy-2); color: #fff; }
@media (max-width: 880px) {
  .sc-nav a:not(.sc-nav-cta) { display: none; }
  .sc-topbar .brand-logo-full { height: 34px; }
}

/* Knoppen */
.btn { border-radius: 12px; font-weight: 700; letter-spacing: -0.005em; }
.btn-primary { background: var(--green); box-shadow: 0 6px 18px rgba(26, 158, 58, .25); }
.btn-primary:hover { background: #158a32; box-shadow: 0 10px 24px rgba(26, 158, 58, .32); }

/* Hero (enkel op de root) */
.sc-hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(26, 158, 58, .28), transparent 60%),
    radial-gradient(800px 480px at 0% 0%, rgba(11, 111, 208, .35), transparent 60%),
    linear-gradient(160deg, #04234a 0%, #062c5c 60%, #0a3566 100%);
  color: #fff; padding: 64px 0 120px;
}
.sc-hero .wrap { width: min(960px, calc(100% - 32px)); }
.sc-hero h1 { color: #fff; font-size: clamp(30px, 5.2vw, 52px); max-width: 780px; }
.sc-hero h1 .accent { color: #5fd17a; }
.sc-hero p.lead { color: rgba(255, 255, 255, .82); max-width: 700px; font-size: clamp(16px, 2vw, 19px); }
.sc-hero p.lead strong { color: #fff; }
.sc-eyebrow {
  display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .9);
}
.sc-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.sc-trust li { font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .9); padding-left: 24px; position: relative; }
.sc-trust li::before {
  content: "\2713"; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: .7rem; display: grid; place-items: center; margin-top: 2px;
}
/* Formulierkaart schuift over de hero */
.sc-hero + main .sc-formcard { margin-top: -84px; position: relative; }
.card { border-radius: 18px; box-shadow: var(--shadow); border-color: var(--line); }
.sc-formcard { scroll-margin-top: 80px; }

/* Secties */
.sc-section { padding: 84px 0; scroll-margin-top: 60px; }
.sc-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sc-kicker { margin: 0 0 8px; color: var(--green); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.sc-h2 { margin: 0 0 14px; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.15; color: var(--navy); max-width: 780px; }
.sc-intro { color: var(--muted); font-size: 1.05rem; max-width: 760px; margin: 0 0 36px; }

.sc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.sc-step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.sc-num {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; margin-bottom: 14px;
  background: var(--navy); color: #fff; font-weight: 800;
}
.sc-step h3, .sc-feature h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--navy); }
.sc-step p, .sc-feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.sc-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sc-feature { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--bg); }
.sc-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(11, 111, 208, .12), rgba(26, 158, 58, .14));
}

/* Vergelijkingstabel */
.sc-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.sc-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
.sc-table th, .sc-table td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.sc-table tbody tr:last-child td { border-bottom: 0; }
.sc-table thead th { font-size: .95rem; color: var(--navy); background: #f8fafc; }
.sc-table thead th span { font-weight: 500; font-size: .8rem; color: var(--muted); }
.sc-table td:first-child { font-weight: 700; color: var(--navy); width: 26%; }
.sc-table td:last-child { color: var(--muted); }
.sc-table .sc-us { background: rgba(26, 158, 58, .06); color: var(--navy); font-weight: 600; }
.sc-table thead .sc-us { background: var(--green); color: #fff; font-weight: 800; }
.sc-table td.sc-us::before { content: "\2713\00a0"; color: var(--green); font-weight: 900; }
.sc-note { color: var(--muted); font-size: .8rem; margin: 14px 0 0; }

/* Over ons */
.sc-over { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.sc-over p { color: #2c3e55; font-size: 1.02rem; }
.sc-contact { background: var(--navy); color: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.sc-contact h3 { margin: 0 0 8px; font-size: 1.25rem; }
.sc-contact p { color: rgba(255, 255, 255, .8); margin: 0 0 20px; }
.sc-contact .btn { width: 100%; margin-bottom: 10px; }
.sc-contact .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.sc-contact .btn-ghost:hover { border-color: #fff; color: #fff; }
.sc-contact .sc-addr { font-size: .82rem; margin: 10px 0 0; color: rgba(255, 255, 255, .6); }

/* FAQ */
.sc-narrow { width: min(820px, calc(100% - 32px)); }
.sc-faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 0 0 10px; }
.sc-faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--navy); position: relative; }
.sc-faq summary::-webkit-details-marker { display: none; }
.sc-faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 1.4rem; color: var(--green); font-weight: 600; }
.sc-faq[open] summary::after { content: "\2212"; }
.sc-faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.sc-faq a { color: var(--blue); font-weight: 600; }

/* Slot-CTA */
.sc-cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; text-align: center; padding: 72px 0; }
.sc-cta h2 { margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 34px); }
.sc-cta p { margin: 0 0 26px; color: rgba(255, 255, 255, .8); }
.sc-btn-light { background: #fff; color: var(--navy); }
.sc-btn-light:hover { background: #eaf6ee; }

/* Footer */
.sc-footer { background: #021a37; color: rgba(255, 255, 255, .7); padding: 44px 0 30px; font-size: .88rem; }
.sc-footer .sc-foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; justify-content: initial; align-items: start; }
.sc-footer strong { color: #fff; }
.sc-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.sc-footer a:hover { color: #fff; text-decoration: underline; }
.sc-footer .foot-bron { display: block; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .5); font-size: .76rem; }
.sc-footer .foot-bron a { color: rgba(255, 255, 255, .7); }

@media (max-width: 900px) {
  .sc-steps, .sc-features { grid-template-columns: 1fr 1fr; }
  .sc-over { grid-template-columns: 1fr; gap: 28px; }
  .sc-footer .sc-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sc-steps, .sc-features, .sc-footer .sc-foot-grid { grid-template-columns: 1fr; }
  .sc-section { padding: 56px 0; }
  .sc-hero { padding: 40px 0 100px; }
}
/* Vergelijkingstabel op gsm: per rij gestapeld i.p.v. zijwaarts scrollen */
@media (max-width: 600px) {
  .sc-table { min-width: 0; }
  .sc-table thead { display: none; }
  .sc-table tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .sc-table tbody tr:last-child { border-bottom: 0; }
  .sc-table td { display: block; padding: 4px 0; border: 0; width: auto !important; }
  .sc-table td:first-child { font-size: 1rem; margin-bottom: 4px; }
  .sc-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--navy); }
  .sc-table td.sc-us { background: none; }
  .sc-table td.sc-us::before { content: "\2713\00a0Scanergi: "; color: var(--green); }
}
.sc-topbar .brand-logo-full { height: 46px; }
@media (max-width: 880px) { .sc-topbar .brand-logo-full { height: 38px; } }
/* Driekoloms-vergelijking (Scanergi / V-test / Mijn Energie) */
.sc-table-3 { min-width: 940px; }
.sc-table-3 td:first-child { width: 17%; }
.sc-table-3 td:nth-child(n+3) { color: var(--muted); }
.sc-table-3 td:last-child { color: var(--muted); }
.sc-table-3 td:nth-child(3) { color: var(--muted); }
.sc-table-3 td.sc-us::before { content: none; }
.sc-m { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 999px;
        font-size: .72rem; font-weight: 900; margin-right: 7px; vertical-align: -3px; flex: none; }
.sc-m.ja { background: rgba(26, 158, 58, .14); color: var(--green); }
.sc-m.nee { background: rgba(200, 40, 40, .1); color: #b42323; }
.sc-m.deels { background: rgba(214, 150, 20, .16); color: #a26a00; }
.sc-legend { color: var(--muted); font-size: .82rem; margin: 14px 0 0; }
@media (max-width: 600px) {
  .sc-table-3 { min-width: 0; }
  .sc-table-3 td.sc-us::before, .sc-table-3 td[data-label]::before { content: attr(data-label) ": "; color: var(--navy); }
  .sc-table-3 td.sc-us::before { color: var(--green); }
}
/* Vier kolommen: al vanaf tabletbreedte per rij stapelen */
@media (max-width: 960px) {
  .sc-table-3 { min-width: 0; }
  .sc-table-3 thead { display: none; }
  .sc-table-3 tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .sc-table-3 tbody tr:last-child { border-bottom: 0; }
  .sc-table-3 td { display: block; padding: 4px 0; border: 0; width: auto !important; }
  .sc-table-3 td:first-child { font-size: 1rem; margin-bottom: 4px; }
  .sc-table-3 td.sc-us { background: none; }
  .sc-table-3 td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--navy); }
  .sc-table-3 td.sc-us::before { content: attr(data-label) ": "; color: var(--green); }
}
/* Wisselknoppen 'Tarief kiezen / Tariefkaart uploaden' (hadden geen eigen stijl) */
.sc-tab { border: 1px solid var(--line); background: #fff; color: var(--muted); font: inherit; font-size: .8rem;
          font-weight: 700; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.sc-tab:hover { border-color: var(--blue); color: var(--blue); }
.sc-tab.actief { background: var(--navy); border-color: var(--navy); color: #fff; }
/* Ranking + scorematrix (sectie 'Het verschil') */
.sc-ranking { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 10px; max-width: 760px; }
.sc-rank { display: grid; grid-template-columns: 44px 150px 1fr 80px 56px; align-items: center; gap: 14px;
           background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }
.sc-rank-us { border: 2px solid var(--green); background: linear-gradient(90deg, rgba(26,158,58,.08), #fff 60%); }
.sc-medal { font-size: 1.6rem; text-align: center; font-weight: 800; color: var(--muted); }
.sc-rname { font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.sc-rank-us .sc-rname { color: var(--green); letter-spacing: .02em; text-transform: uppercase; }
.sc-rbar { height: 10px; border-radius: 999px; background: #e9eef5; overflow: hidden; }
.sc-rbar span { display: block; height: 100%; border-radius: 999px; background: #9aa9bb; }
.sc-rank-us .sc-rbar span { background: var(--green); }
.sc-rscore { color: var(--muted); font-weight: 600; text-align: right; white-space: nowrap; }
.sc-rpct { font-weight: 900; color: var(--navy); text-align: right; }
.sc-rank-us .sc-rpct { color: var(--green); }
.sc-h3 { margin: 40px 0 14px; font-size: 1.2rem; color: var(--navy); }
.sc-d { font-size: 1.15rem; line-height: 1; }
.sc-d.g { color: #1a9e3a; } .sc-d.o { color: #e08a00; } .sc-d.r { color: #d23b3b; }
.sc-dl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sc-matrix { min-width: 640px; }
.sc-matrix th:not(:first-child), .sc-matrix td:not(:first-child) { text-align: center; width: 15%; }
.sc-matrix td:first-child { width: auto !important; font-weight: 600; }
.sc-matrix td { padding: 11px 14px; }
.sc-matrix td.sc-us::before { content: none !important; }
.sc-matrix .sc-tot td { font-weight: 900; color: var(--navy); border-top: 2px solid var(--line); background: #f8fafc; }
.sc-matrix .sc-tot td.sc-us { background: var(--green); color: #fff; }
@media (max-width: 700px) {
  .sc-rank { grid-template-columns: 34px 1fr 64px 46px; gap: 10px; padding: 12px 14px; }
  .sc-rbar { display: none; }
  .sc-rname { font-size: .95rem; }
  .sc-matrix { min-width: 0; font-size: .82rem; }
  .sc-matrix thead { display: table-header-group; }
  .sc-matrix thead th { font-size: .7rem; padding: 10px 4px; writing-mode: initial; }
  .sc-matrix td { padding: 9px 4px; }
  .sc-matrix td:first-child { padding-left: 10px; }
  .sc-matrix td[data-label]::before { content: none !important; }
}
.sc-matrix { width: 100%; border-collapse: collapse; font-size: .92rem; }
.sc-matrix th, .sc-matrix td { border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; }
.sc-matrix thead th { background: #f8fafc; color: var(--navy); padding: 13px 14px; font-size: .88rem; }
.sc-matrix thead th.sc-us { background: var(--green); color: #fff; }
.sc-matrix td.sc-us { background: rgba(26, 158, 58, .07); }
.sc-matrix tbody tr:hover td { background: rgba(11, 111, 208, .03); }
.sc-matrix tbody tr:hover td.sc-us { background: rgba(26, 158, 58, .1); }
@media (max-width: 700px) {
  .sc-matrix { font-size: .8rem; }
  .sc-matrix thead th { font-size: .68rem; padding: 10px 3px; }
  .sc-matrix thead th:first-child { padding-left: 10px; }
}
.sc-matrix .sc-d { font-size: 1.5rem; }
/* Ranking v2 - sober staafdiagram (vervangt de medaille-kaarten) */
.sc-ranking, .sc-rank { display: none; }
.sc-bars { max-width: 720px; margin: 8px 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 22px; }
.sc-bar-row { display: grid; grid-template-columns: 130px 1fr 110px; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sc-bar-row:last-child { border-bottom: 0; }
.sc-bar-name { font-weight: 600; color: var(--navy); }
.sc-bar-track { height: 8px; background: #edf1f6; border-radius: 4px; overflow: hidden; }
.sc-bar-track span { display: block; height: 100%; background: #b4bfcc; border-radius: 4px; }
.sc-bar-val { text-align: right; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.sc-bar-val small { font-weight: 500; color: var(--muted); font-size: .8rem; margin-left: 6px; }
.sc-bar-row.is-us .sc-bar-name { font-weight: 800; }
.sc-bar-row.is-us .sc-bar-track span { background: var(--green); }
@media (max-width: 600px) {
  .sc-bars { padding: 4px 14px; }
  .sc-bar-row { grid-template-columns: 1fr 92px; gap: 6px 12px; }
  .sc-bar-track { grid-column: 1 / -1; grid-row: 2; }
}
/* Home = informatief: CTA-knop in de hero i.p.v. het formulier (formulier op /vergelijker) */
.sc-hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 32px; }
.sc-btn-cta { background: var(--green); color: #fff; padding: 17px 30px; font-size: 1.05rem; border-radius: 12px;
              box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.sc-btn-cta:hover { background: #158a32; }
.sc-hero-link { color: rgba(255, 255, 255, .85); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 2px; }
.sc-hero-link:hover { color: #fff; border-color: #fff; }
.sc-hero:has(.sc-hero-cta) { padding-bottom: 72px; }
