/* Vergelijkingspagina "Verhuursoftware vergeleken" (layout 'compare'). Kleuren en lettertype uit site.css. */
.article.cmp { max-width: 1160px; }
.cmp-text, .cmp-hero .lead, .cmp .sources, .cmp .disclaimer { max-width: 760px; }
.cmp .crumbs { margin-bottom: 8px; }

/* Hero */
.cmp-hero { padding: 8px 0 8px; }
.cmp-eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: #f0fdfa; color: var(--teal); font-size: .8rem; font-weight: 800; letter-spacing: .02em; }
.cmp-hero h1 { max-width: 820px; }
.cmp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.cmp-chips li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; font-size: .9rem; color: var(--navy); }
.cmp-chips li.us { border-color: var(--teal); background: var(--teal); color: #fff; }
.cmp-hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Secties */
.cmp-sec { margin-top: 64px; }
.cmp-sec > h2 { margin: 0 0 18px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cmp-card { position: relative; padding: 22px 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(10, 37, 64, .04); }
.cmp-card h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--navy); }
.cmp-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* Waarom Relento */
.cmp-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cmp-why .ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: #f0fdfa; color: var(--teal); }
.cmp-why .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cmp-not { background: var(--bg-soft); box-shadow: none; }
.cmp-not ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.cmp-not li + li { margin-top: 4px; }

/* Tabel */
.cmp-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .88rem; color: var(--muted); }
.cmp-legend li { display: inline-flex; align-items: center; gap: 6px; }
.article .compare.cmp-table { width: 100%; left: auto; transform: none; margin-top: 0; }
.cmp-table table { table-layout: fixed; }
.cmp-table thead th { padding: 16px 12px; font-size: .95rem; color: var(--navy); background: #fff; border-bottom: 2px solid var(--line); }
.cmp-table thead th.us { color: #fff; background: var(--teal); border-bottom-color: var(--teal); }
.cmp-table tbody th { width: 17%; font-weight: 700; color: var(--navy); font-size: .9rem; }
.cmp-table td { font-size: .88rem; }
.cmp-table td.us { background: #f0fdfa; }
.cmp-table tr.grp th { padding: 18px 12px 8px; background: var(--bg-soft); color: var(--teal); font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.cmp-table td .st, .cmp-legend .st { display: inline-flex; vertical-align: -4px; }

.st svg { width: 18px; height: 18px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.st-y svg circle { fill: var(--teal); stroke: none; } .st-y svg path { stroke: #fff; }
.st-p svg circle { fill: none; stroke: #f59e0b; stroke-width: 2; } .st-p svg path { fill: #f59e0b; stroke: none; }
.st-n svg circle { fill: #e2e8f0; stroke: none; } .st-n svg path { stroke: #64748b; }
.st-q svg path { stroke: #94a3b8; }
.cmp-table .ct { color: var(--ink); }
.cmp-table .ct.muted { color: #94a3b8; }
.cmp-table .ct.big { font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.cmp-table td.us .ct { font-weight: 700; color: var(--navy); }
.cmp-note { margin: 12px 0 0; font-size: .86rem; color: var(--muted); }

/* Prijs als staafdiagram */
.cmp-bars { max-width: 760px; margin: 18px 0 0; padding: 0; list-style: none; }
.cmp-bars li { display: grid; grid-template-columns: 90px 1fr 110px; align-items: center; gap: 14px; padding: 8px 0; }
.cmp-bars .bn { font-weight: 700; color: var(--navy); }
.cmp-bars .bv { font-weight: 700; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.cmp-bars .bv.req { grid-column: 2 / 4; text-align: left; font-weight: 600; color: var(--muted); }
.cmp-bars progress { width: 100%; height: 14px; border: 0; border-radius: 999px; background: var(--bg-soft); overflow: hidden; -webkit-appearance: none; appearance: none; }
.cmp-bars progress::-webkit-progress-bar { background: var(--bg-soft); border-radius: 999px; }
.cmp-bars progress::-webkit-progress-value { background: #cbd5e1; border-radius: 999px; }
.cmp-bars progress::-moz-progress-bar { background: #cbd5e1; border-radius: 999px; }
.cmp-bars li.us .bn, .cmp-bars li.us .bv { color: var(--teal); }
.cmp-bars li.us progress::-webkit-progress-value { background: var(--teal); }
.cmp-bars li.us progress::-moz-progress-bar { background: var(--teal); }

/* De andere tools */
.cmp-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cmp-tools h3 small { margin-left: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.cmp-tools .ideal { margin: 4px 0 10px; color: var(--navy); font-size: .9rem; }
.cmp-tools .ideal b { color: var(--teal); }
.cmp-tools .price { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .88rem; }
.cmp-tools .more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--teal); text-decoration: none; }
.cmp-tools .more:hover { text-decoration: underline; }

/* Keuzehulp */
.cmp-choose { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cmp-choose .who { color: var(--muted); font-size: .9rem; }
.cmp-choose .pick { margin: 10px 0 6px; font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.cmp-choose .us { border: 2px solid var(--teal); background: #f0fdfa; }
.cmp-choose .us .pick { color: var(--teal); }
.cmp-choose .btn { margin-top: 14px; }

.cmp-text h3 { margin-top: 22px; }
.cmp .final { margin-top: 56px; }

@media (max-width: 980px) {
  .cmp-why, .cmp-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp-choose { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cmp-sec { margin-top: 48px; }
  .cmp-why, .cmp-tools, .cmp-choose { grid-template-columns: 1fr; }
  .cmp-bars li { grid-template-columns: 70px 1fr 84px; gap: 10px; }
  .cmp-table tr.grp th { padding: 14px 10px 6px; }
}
/* Relento naast één gekozen tool (keuzelijst, site.js): de groepskoppen lopen over de volle breedte. */
.compare.wide.picked.cmp-table tr.grp th { display: table-cell; }

/* Knoppen in het artikel: de linkkleur van artikels mag de knopkleur niet overschrijven. */
.cmp a.btn { text-decoration: none; }
.cmp a.btn-primary, .cmp a.btn-primary:hover { color: #fff; }
/* "Bekijk de demo": donkerblauw in de hero (witte knop), wit in het donkere blok onderaan. */
.cmp .cmp-hero a.btn-ghost { color: var(--navy); }
.cmp .final a.btn-ghost, .cmp .final a.btn-ghost:hover { color: #fff; }
.cmp .final a.btn-light { color: var(--navy); }
/* Cel: icoon en tekst naast elkaar. */
.cmp-table .cv { display: flex; align-items: flex-start; gap: 7px; }
.cmp-table .cv .st { flex: none; margin: 1px 0 0; vertical-align: 0; }
.cmp-table td .ct { overflow-wrap: break-word; }
/* Vaste breedte voor de criteriumkolom (de eerste rij bepaalt de kolommen bij table-layout: fixed); de rest gelijk verdeeld. */
.cmp-table thead th:first-child { width: 17%; }
/* Met één gekozen tool: drie kolommen, de criteria breder. */
.compare.wide.picked.cmp-table table { table-layout: auto; }
.compare.wide.picked.cmp-table thead th:first-child, .compare.wide.picked.cmp-table tbody th { width: 32%; }
.compare.wide.picked.cmp-table td { width: 34%; text-align: left; }
/* Ruimte boven een tweede kop in het tekstblok (bv. "Hoe we vergeleken" na de FAQ). */
.cmp-text h3 + p + h2, .cmp-text p + h2 { margin-top: 44px; }
