/* Onderkant homepage: werkwijze als route, afsluiting aan tafel */

/* ---------- Route ---------- */
.route {
  padding-block: clamp(24px, 2.4vw, 40px) clamp(48px, 5vw, 88px);
  background: #fff;
}
.route-kop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: end;
}
.route-kop h2 {
  max-width: 12ch;
  font-size: clamp(36px, 3.6vw, 61px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: var(--display-tracking);
  text-wrap: balance;
}
.route-kosten { justify-self: end; max-width: 44ch; }
.route-kosten p { margin: 0; color: var(--verf-tekst-zacht); font-size: 16px; line-height: 1.6; }
.route-kosten strong { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 550; }
.route-kosten .inline-link { margin-top: 6px; }

.route-fasen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.35vw, 40px);
  margin-top: clamp(40px, 4.4vw, 72px);
  counter-reset: fase;
}
.route-fase { position: relative; padding-top: 22px; border-top: 1px solid var(--verf-lijn); }
.route-fase::before {
  /* voortgangslijn: per fase een stuk donkerder */
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 100%;
  background: var(--action-blue);
}
.route-fase:nth-child(2)::before { background: #5d78d8; }
.route-fase:nth-child(3)::before { background: #a3b4ea; }
.route-fase h3 {
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 500;
  letter-spacing: -.03em;
}
.route-fase ol { margin: 20px 0 0; padding: 0; list-style: none; display: grid; }
.route-fase li {
  display: grid;
  grid-template-columns: 2.4ch minmax(0, 1fr);
  column-gap: 14px;
  padding-block: 18px;
  border-top: 1px solid var(--verf-lijn);
}
.route-fase li:first-child { border-top: 0; padding-top: 0; }
.route-nr {
  grid-row: span 2;
  padding-top: 3px;
  color: var(--action-blue);
  font-size: 13px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.route-fase li strong { font-size: 17px; font-weight: 550; letter-spacing: -.015em; color: var(--ink); }
.route-fase li p { margin: 6px 0 0; max-width: 36ch; color: var(--verf-tekst-zacht); font-size: 15px; line-height: 1.55; }

/* ---------- Aan tafel ---------- */
.optafel { padding-block: 0 clamp(30px, 4.4vw, 64px); background: #fff; }
.optafel-kaart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: 14px;
  overflow: hidden;
  background: var(--verf-diep);
  color: #fff;
}
.optafel-kaart img {
  display: block; width: 100%; height: 100%; min-height: 420px;
  object-fit: cover; object-position: center 40%;
}
.optafel-tekst {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(32px, 4.4vw, 76px);
}
.optafel-tekst h2 {
  max-width: 13ch;
  font-size: clamp(34px, 3.4vw, 56px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: var(--display-tracking);
  text-wrap: balance;
}
.optafel-tekst > p { margin: 18px 0 0; max-width: 40ch; color: #d6def3; font-size: var(--lead); line-height: 1.52; }
.optafel-acties { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 30px; }
.optafel .action {
  border-radius: 999px; background: #fff; color: var(--ink);
  padding: 15px 22px 15px 24px; min-height: 52px; font-weight: 550;
}
.optafel .action:hover { background: #e9eefb; }
.optafel .inline-link { color: #fff; }
.optafel-tekst > .optafel-bel { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--verf-lijn-diep); color: #b9c6ea; font-size: 14px; }
.optafel-bel a { color: #fff; font-weight: 550; font-variant-numeric: tabular-nums; }

.ev-home .slotvoet { background: #e4e7eb; border-top: 0; }
.partnerstrook { background: #f1f3f5; border-bottom: 1px solid #cbd2db; }
.partnerregel {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px clamp(16px, 3.15vw, 43px);
  padding-block: clamp(10px, 1.5vw, 19px);
}
.partnerregel > span {
  margin-right: auto; color: #223047;
  font-size: clamp(15px, 1.42vw, 21px); font-weight: 550; letter-spacing: -.025em;
}
.partnerregel a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 550; color: var(--ink); }

@media (max-width: 850px) {
  .route-kop { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .route-kosten { justify-self: start; }
  .route-fasen { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .optafel-kaart { grid-template-columns: minmax(0, 1fr); }
  .optafel-kaart img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
}

@media (max-width: 700px) {
  .partnerregel { display: grid; gap: 0; padding-block: 20px 10px; }
  .partnerregel > span { margin: 0 0 6px; font-size: 17px; }
  .partnerregel a { justify-content: space-between; }
}
