/* ============================================================
   Slim Lenen – Hoofdstijlblad
   ============================================================ */

:root {
  --clr-primary:    #1a5f7a;
  --clr-primary-dk: #134a60;
  --clr-accent:     #2ecc71;
  --clr-accent-dk:  #27ae60;
  --clr-text:       #2c3e50;
  --clr-text-light: #555e6a;
  --clr-bg:         #f8fafc;
  --clr-bg-white:   #ffffff;
  --clr-border:     #dde4ec;
  --clr-warn:       #e67e22;
  --clr-warn-bg:    #fef9f5;
  --radius:         8px;
  --shadow:         0 2px 12px rgba(0,0,0,.08);
  --shadow-hover:   0 6px 24px rgba(0,0,0,.14);
  --font-sans:      'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-w:          1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  font-size: 1rem;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--clr-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--clr-primary);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 9999;
}
.skip-link:focus { left: 0; }

/* ── Header / Nav ── */
.site-header {
  background: var(--clr-bg-white);
  border-bottom: 3px solid var(--clr-primary);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: -.5px;
}
.site-logo span { color: var(--clr-accent-dk); }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--clr-text);
  font-weight: 500;
  font-size: .95rem;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--clr-primary);
  border-color: var(--clr-primary);
  text-decoration: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--clr-text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .3s;
}

/* ── Affiliate disclosure bar ── */
.disclosure-bar {
  background: #eaf6ff;
  border-bottom: 1px solid #bee3f8;
  text-align: center;
  font-size: .8rem;
  padding: .4rem 1rem;
  color: #2b6cb0;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dk) 100%);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .75rem;
}

.hero p {
  font-size: 1.15rem;
  opacity: .9;
  max-width: 620px;
  margin: 0 auto 1.75rem;
}

.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--clr-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--clr-accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(46,204,113,.4);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
  margin-left: .75rem;
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  text-decoration: none;
}

/* ── Section titles ── */
.section { padding: 3.5rem 0; }
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--clr-primary);
}
.section-subtitle {
  color: var(--clr-text-light);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--clr-bg-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 2.25rem;
  margin-bottom: .75rem;
}

.card h3 {
  font-size: 1.15rem;
  color: var(--clr-primary);
  margin-bottom: .5rem;
}

.card p {
  color: var(--clr-text-light);
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-link {
  font-weight: 600;
  color: var(--clr-primary);
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.card-link::after { content: "→"; }

/* ── Affiliate partner tabel ── */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.partner-card {
  background: var(--clr-bg-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.partner-card h4 {
  font-size: 1.05rem;
  color: var(--clr-primary);
}

.partner-card p {
  font-size: .9rem;
  color: var(--clr-text-light);
  flex: 1;
}

/* ── Wettelijke waarschuwing geld lenen ── */
.geld-warning {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--clr-warn-bg);
  border: 1px solid #fad7a0;
  border-radius: 4px;
  padding: .3rem .75rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-warn);
  margin-top: .5rem;
}
.geld-warning::before { content: "⚠️"; font-size: 1rem; }

/* ── Affiliate button ── */
.affiliate-btn-wrap {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  align-items: flex-start;
}

.affiliate-btn {
  display: inline-block;
  background: var(--clr-primary);
  color: #fff !important;
  padding: .55rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s;
}
.affiliate-btn:hover {
  background: var(--clr-primary-dk);
  text-decoration: none;
}

/* ── Info boxes ── */
.info-box {
  background: #eaf6ff;
  border-left: 4px solid var(--clr-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .95rem;
}

.warning-box {
  background: var(--clr-warn-bg);
  border-left: 4px solid var(--clr-warn);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .95rem;
}

/* ── Content page ── */
.page-hero {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #1e7a9a 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
}
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
.page-hero p { opacity: .85; margin-top: .5rem; font-size: 1.05rem; }

.content-body {
  max-width: 820px;
  margin: 2.5rem auto;
  padding: 0 1.25rem 3rem;
}

.content-body h2 {
  font-size: 1.5rem;
  color: var(--clr-primary);
  margin: 2rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--clr-border);
}

.content-body h3 {
  font-size: 1.15rem;
  color: var(--clr-primary-dk);
  margin: 1.5rem 0 .5rem;
}

.content-body p { margin-bottom: 1rem; }

.content-body ul, .content-body ol {
  margin: .75rem 0 1rem 1.5rem;
}
.content-body li { margin-bottom: .4rem; }

.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .93rem;
}
.content-body th {
  background: var(--clr-primary);
  color: #fff;
  padding: .65rem 1rem;
  text-align: left;
}
.content-body td {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--clr-border);
}
.content-body tr:hover td { background: #f0f6fa; }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: .85rem;
  color: var(--clr-text-light);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--clr-text-light); }
.breadcrumb span + span::before { content: " › "; }

/* ── Footer ── */
.site-footer {
  background: #1a2b3c;
  color: #b0bec5;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand .site-logo { color: #fff; }
.footer-brand p {
  margin-top: .65rem;
  font-size: .88rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: .85rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .45rem; }
.footer-col a {
  color: #b0bec5;
  font-size: .88rem;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid #2d4057;
  padding-top: 1.25rem;
  font-size: .8rem;
  color: #78909c;
}

.footer-disclaimer {
  background: #12202e;
  padding: .9rem 0;
  font-size: .8rem;
  color: #78909c;
  text-align: center;
}

/* ── Cookie banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a2b3c;
  color: #e0e6ed;
  padding: 1rem 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { font-size: .88rem; flex: 1; min-width: 200px; }
#cookie-banner a { color: #81d4fa; }
.cookie-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-cookie-accept {
  background: var(--clr-accent);
  color: #fff;
  border: none;
  padding: .55rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: background .2s;
}
.btn-cookie-accept:hover { background: var(--clr-accent-dk); }
.btn-cookie-reject {
  background: transparent;
  color: #b0bec5;
  border: 1px solid #4a6070;
  padding: .5rem 1.1rem;
  border-radius: var(--radius);
  font-size: .88rem;
  cursor: pointer;
  transition: background .2s;
}
.btn-cookie-reject:hover { background: rgba(255,255,255,.07); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.open { display: block; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 2px solid var(--clr-primary); padding: 1rem; }
  .site-nav.open ul { flex-direction: column; gap: .5rem; }
  .nav-toggle { display: block; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .card-grid, .partner-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .btn-outline { display: none; }
}

/* ── Stats bar ── */
.stats-bar {
  background: var(--clr-primary);
  color: #fff;
  padding: 1.25rem 0;
}
.stats-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
}
.stat-item span {
  font-size: .82rem;
  opacity: .85;
}

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  counter-reset: steps;
}
.step {
  text-align: center;
  counter-increment: steps;
}
.step::before {
  content: counter(steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.step h4 { font-size: 1rem; color: var(--clr-primary); margin-bottom: .4rem; }
.step p  { font-size: .9rem; color: var(--clr-text-light); }

/* ── Comparison table ── */
.compare-wrap { overflow-x: auto; margin: 1.5rem 0; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  min-width: 600px;
}
.compare-table thead tr {
  background: var(--clr-primary);
  color: #fff;
}
.compare-table th {
  padding: .75rem 1rem;
  font-weight: 600;
  text-align: left;
}
.compare-table td {
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--clr-border);
  vertical-align: middle;
}
.compare-table tr:hover td { background: #f0f6fa; }
.compare-table .top-pick td:first-child {
  border-left: 3px solid var(--clr-accent-dk);
}

.badge-top {
  display: inline-block;
  background: var(--clr-accent-dk);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-left: .4rem;
  vertical-align: middle;
}

/* Star rating */
.stars { color: #f0ad00; font-size: 1rem; letter-spacing: .05em; }
.stars-label { font-size: .8rem; color: var(--clr-text-light); margin-left: .25rem; }

/* Check / cross icons */
.icon-yes { color: var(--clr-accent-dk); font-weight: 700; }
.icon-no  { color: #c0392b; }

/* ── FAQ accordion ── */
.faq { margin: 1.5rem 0; }

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  margin-bottom: .6rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--clr-bg-white);
  border: none;
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: .97rem;
  font-weight: 600;
  color: var(--clr-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  transition: background .15s;
}
.faq-question:hover { background: #f0f6fa; }
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: transform .25s;
}
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 1.25rem;
  font-size: .93rem;
  color: var(--clr-text-light);
  background: var(--clr-bg-white);
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: .75rem 1.25rem 1rem;
}

/* ── Editorial / redactie box ── */
.editorial-box {
  background: linear-gradient(135deg, #eaf6ff 0%, #f0fdf4 100%);
  border: 1px solid #bee3f8;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.editorial-box .ed-icon {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.editorial-box h4 {
  font-size: 1rem;
  color: var(--clr-primary);
  margin-bottom: .35rem;
}
.editorial-box p {
  font-size: .88rem;
  color: var(--clr-text-light);
  margin: 0;
}

/* ── Trust badges row ── */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin: 2rem 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--clr-bg-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: .65rem 1.1rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--clr-text);
  box-shadow: var(--shadow);
}
.trust-badge .tb-icon { font-size: 1.2rem; }

/* ── Uitgelicht partner card (upgraded) ── */
.partner-card-pro {
  background: var(--clr-bg-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
  overflow: hidden;
}
.partner-card-pro:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.partner-card-pro.featured {
  border-color: var(--clr-accent-dk);
  border-width: 2px;
}
.pcp-header {
  background: #f8fafc;
  border-bottom: 1px solid var(--clr-border);
  padding: .9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.pcp-name { font-weight: 700; font-size: 1.05rem; color: var(--clr-primary); }
.pcp-body { padding: 1.1rem 1.25rem; }
.pcp-body p { font-size: .9rem; color: var(--clr-text-light); margin-bottom: .75rem; }
.pcp-features {
  list-style: none;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.pcp-features li {
  font-size: .85rem;
  color: var(--clr-text-light);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.pcp-features li::before {
  content: "✓";
  color: var(--clr-accent-dk);
  font-weight: 700;
  flex-shrink: 0;
}
.pcp-footer {
  padding: 0 1.25rem 1.1rem;
}

/* ── Page hero with breadcrumb ── */
.page-hero-inner {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.page-hero-inner .hero-breadcrumb {
  font-size: .82rem;
  opacity: .75;
}
.page-hero-inner .hero-breadcrumb a { color: #fff; }

/* ── Responsive additions ── */
@media (max-width: 768px) {
  .stats-bar .container { gap: 1.5rem; }
  .editorial-box { flex-direction: column; gap: .75rem; }
  .compare-table { font-size: .82rem; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .trust-row { flex-direction: column; align-items: stretch; }
}
