/* =====================================================================
   assets/css/leadfinder.css
   Leadfinder-pagina + homepage-blok. Alle klassen beginnen met .lf-
   zodat er geen conflicten zijn met style.css. Knoppen gebruiken de
   bestaande .btn / .btn-gradient uit style.css.
   ===================================================================== */

:root {
  --lf-ink: #0E1628;
  --lf-body: #5B6478;
  --lf-muted: #8A93A6;
  --lf-line: #E7E9F2;
  --lf-violet: #6E4DFF;
  --lf-pink: #FF5A8B;
  --lf-grad: linear-gradient(90deg, #6E4DFF, #FF5A8B);
  --lf-soft: #F4F1FF;
}

/* ---------- Gedeelde onderdelen ---------- */
.lf-center { text-align: center; }
.lf-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lf-violet); margin: 0 0 14px;
}
.lf-h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.08; font-weight: 800;
  letter-spacing: -.035em; color: var(--lf-ink); margin: 0 0 22px;
}
.lf-h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.15; font-weight: 800;
  letter-spacing: -.03em; color: var(--lf-ink); margin: 0 0 12px;
}
.lf-grad {
  background: var(--lf-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--lf-violet);
}
.lf-lead {
  max-width: 640px; margin: 0 auto 30px; color: var(--lf-body);
  font-size: 1.05rem; line-height: 1.8;
}
.lf-lead-sm { font-size: 1rem; margin-bottom: 28px; }
.lf-checks { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.lf-checks li { font-size: .9rem; color: var(--lf-body); }
.lf-checks li::before { content: "\2713"; color: var(--lf-violet); font-weight: 700; margin-right: 6px; }
.lf-checks-row { justify-content: center; margin: 34px 0 0; }

/* ---------- Hero ---------- */
.lf-hero { padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 7vw, 80px); }

/* ---------- Proces ---------- */
.lf-process { border-top: 1px solid var(--lf-line); border-bottom: 1px solid var(--lf-line); }
.lf-steps {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.lf-step-num {
  display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px;
  background: var(--lf-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--lf-violet);
}
.lf-steps h3 { font-size: 1.05rem; font-weight: 700; color: var(--lf-ink); margin: 0 0 8px; }
.lf-steps p { font-size: .93rem; line-height: 1.7; color: var(--lf-body); margin: 0; }

/* ---------- Pakketten ---------- */
.lf-plans {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  max-width: 1040px; margin: 0 auto; align-items: stretch;
}
.lf-plan {
  display: flex; flex-direction: column; padding: 28px 24px;
  border: 1px solid var(--lf-line); border-radius: 22px; background: #fff;
}
.lf-plan.is-featured { background: var(--lf-ink); border-color: var(--lf-ink); color: #fff; transform: translateY(-8px); }
.lf-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.lf-plan-name { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lf-violet); }
.lf-plan.is-featured .lf-plan-name { color: #FF8FB0; }
.lf-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); color: #FFB3C8;
}
.lf-price { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin: 0; color: var(--lf-ink); }
.lf-per { font-size: .85rem; color: var(--lf-muted); margin: 2px 0 0; }
.lf-leads {
  font-size: 2.6rem; font-weight: 800; letter-spacing: -.035em; color: var(--lf-ink);
  margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--lf-line);
}
.lf-plan.is-featured .lf-price,
.lf-plan.is-featured .lf-leads { color: #fff; }
.lf-plan.is-featured .lf-leads { border-top-color: rgba(255,255,255,.14); }
.lf-plan.is-featured .lf-per { color: #B8BFD3; }
.lf-feat { list-style: none; padding: 0; margin: 22px 0 26px; flex: 1; }
.lf-feat li { font-size: .92rem; padding: 6px 0; color: var(--lf-body); }
.lf-feat li::before { content: "\2713"; color: var(--lf-violet); font-weight: 700; margin-right: 10px; }
.lf-plan.is-featured .lf-feat li { color: #E4E7F1; }
.lf-plan.is-featured .lf-feat li::before { color: #FF8FB0; }
.lf-plan-btn { width: 100%; justify-content: center; text-align: center; }
.lf-btn-soft {
  display: inline-flex; align-items: center; gap: 6px; padding: 13px 20px; border-radius: 12px;
  background: var(--lf-soft); color: var(--lf-violet); font-weight: 700; text-decoration: none;
  border: 1px solid #E2DBFF; transition: background .2s ease, border-color .2s ease;
}
.lf-btn-soft:hover { background: #EAE4FF; border-color: #CFC3FF; }

/* ---------- CTA ---------- */
.lf-cta { border-top: 1px solid var(--lf-line); }
.lf-note { margin: 18px 0 0; font-size: .85rem; }
.lf-note a { color: var(--lf-muted); text-decoration: none; }
.lf-note a:hover { color: var(--lf-violet); }

/* ---------- Homepage-blok ---------- */
.lf-home-inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.lf-home-body { color: var(--lf-body); font-size: 1.02rem; line-height: 1.8; margin: 0 0 22px; max-width: 560px; }
.lf-home-plans { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--lf-line); }
.lf-home-plans li {
  display: grid; grid-template-columns: 110px auto 1fr; align-items: baseline; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--lf-line);
}
.lf-home-plan { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lf-violet); }
.lf-home-num { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--lf-ink); line-height: 1; }
.lf-home-plans li.is-featured .lf-home-num {
  background: var(--lf-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lf-home-meta { font-size: .88rem; color: var(--lf-muted); }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .lf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .lf-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .lf-plan { padding: 24px 18px; }
}
@media (max-width: 900px) {
  .lf-plans { grid-template-columns: minmax(0, 1fr); max-width: 440px; gap: 18px; }
  .lf-plan.is-featured { transform: none; }
  .lf-home-inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Mobiel ---------- */
@media (max-width: 560px) {
  .lf-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lf-checks-row { flex-direction: column; align-items: center; gap: 8px; }
  .lf-home-plans li { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .lf-home-meta { grid-column: 1 / -1; }
}

/* =====================================================================
   Homepage-blok: donkere variant (.lf-home--dark)
   ===================================================================== */
.lf-home--dark { background: var(--lf-ink); color: #fff; }
.lf-home--dark .eyebrow { color: #FF8FB0; }
.lf-home--dark .eyebrow-line { background: #FF8FB0; }
.lf-home--dark .section-title { color: #fff; }
.lf-home--dark .lf-home-body { color: #B8BFD3; }
.lf-home--dark .lf-checks li { color: #E4E7F1; }
.lf-home--dark .lf-checks li::before { color: #FF8FB0; }
.lf-home--dark .lf-home-plans { border-top-color: rgba(255,255,255,.12); }
.lf-home--dark .lf-home-plans li { border-bottom-color: rgba(255,255,255,.12); }
.lf-home--dark .lf-home-plan { color: #B9A8FF; }
.lf-home--dark .lf-home-num { color: #fff; }
.lf-home--dark .lf-home-plans li.is-featured .lf-home-num { color: #FF8FB0; }
.lf-home--dark .lf-home-meta { color: #8A93A6; }

/* =====================================================================
   Pakketknoppen: geen donkere focusrand meer na klikken
   ===================================================================== */
.lf-plan-btn:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.lf-btn-soft:focus:not(:focus-visible) { border-color: #E2DBFF; }
.lf-plan-btn:focus-visible { outline: 2px solid var(--lf-violet); outline-offset: 3px; }

/* =====================================================================
   Flow-animatie (assets/js/leadfinder-flow.js)
   ===================================================================== */
.lf-flow { max-width: 1000px; margin: clamp(40px, 6vw, 64px) auto 0; }
.lf-flow-stage { width: 100%; }
.lf-flow-svg { display: block; width: 100%; height: auto; overflow: visible; }
.lf-flow-node { fill: #fff; stroke: #C9BEFF; stroke-width: 1.5; }
.lf-flow-node.is-mail { stroke: #B9A8FF; }
.lf-flow-core { fill: var(--lf-violet); }
.lf-flow-label { font-size: 15px; font-weight: 600; fill: var(--lf-ink); font-family: inherit; }
.lf-flow-dash { stroke: #D9DCE8; stroke-width: 1.5; stroke-dasharray: 4 7; }
.lf-flow-dash-label { font-size: 13px; fill: var(--lf-muted); font-family: inherit; letter-spacing: .04em; }
.lf-flow-dot { fill: var(--lf-violet); }
.lf-flow-dot.is-reply { fill: var(--lf-pink); }
.lf-flow-counters {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px; margin: 18px auto 0; border-top: 1px solid var(--lf-line);
}
.lf-flow-counters div { padding: 16px 12px 0; text-align: center; }
.lf-flow-counters div + div { border-left: 1px solid var(--lf-line); }
.lf-flow-counters span { display: block; font-size: .8rem; color: var(--lf-muted); }
.lf-flow-counters strong {
  display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--lf-ink); font-variant-numeric: tabular-nums;
}
.lf-flow-counters .is-reply strong {
  background: var(--lf-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lf-flow.is-static .lf-flow-counters { display: none; }
@media (max-width: 560px) {
  .lf-flow { max-width: 360px; }
  .lf-flow-counters strong { font-size: 1.3rem; }
  .lf-flow-counters div { padding: 12px 6px 0; }
}

/* =====================================================================
   Aanvraag-popup (assets/js/leadfinder-order.js)
   ===================================================================== */
html.lf-modal-open { overflow: hidden; }
.lf-modal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lf-modal[hidden] { display: none; }
.lf-modal-backdrop { position: absolute; inset: 0; background: rgba(14, 22, 40, .55); opacity: 0; transition: opacity .18s ease; }
.lf-modal-box {
  position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: 22px; padding: 28px 26px 24px; color: var(--lf-ink);
  box-shadow: 0 30px 80px rgba(14, 22, 40, .25);
  opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .18s ease, transform .18s ease;
}
.lf-modal.is-open .lf-modal-backdrop { opacity: 1; }
.lf-modal.is-open .lf-modal-box { opacity: 1; transform: none; }
.lf-modal-x {
  position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: transparent; color: var(--lf-muted); font-size: 24px; line-height: 1; cursor: pointer;
}
.lf-modal-x:hover { background: var(--lf-soft); color: var(--lf-ink); }
.lf-modal-step { font-size: 12px; color: var(--lf-muted); margin: 0 0 14px; }
.lf-order-plan {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid #D9D0FF; border-radius: 14px; background: var(--lf-soft); margin-bottom: 18px;
}
.lf-order-label { display: block; font-size: 12px; color: var(--lf-violet); margin-bottom: 2px; }
.lf-order-plan strong { font-size: 1rem; }
.lf-order-price { text-align: right; }
.lf-order-price strong { display: block; font-size: 1.25rem; font-weight: 800; }
.lf-order-price span { font-size: 12px; color: var(--lf-muted); }
.lf-fields { display: grid; gap: 10px; }
.lf-fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lf-fields input[type="text"],
.lf-fields input[type="email"],
.lf-fields input[type="tel"] {
  width: 100%; box-sizing: border-box; height: 46px; padding: 0 14px; font: inherit; font-size: .95rem;
  color: var(--lf-ink); background: #fff; border: 1px solid var(--lf-line); border-radius: 12px;
}
.lf-fields input:focus { outline: none; border-color: var(--lf-violet); box-shadow: 0 0 0 3px rgba(110, 77, 255, .12); }
.lf-terms { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--lf-body); margin-top: 4px; cursor: pointer; }
.lf-terms input { margin-top: 3px; accent-color: var(--lf-violet); }
.lf-terms a { color: var(--lf-violet); }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-order-error { margin: 12px 0 0; font-size: .85rem; color: #D0345F; }
.lf-order-submit { width: 100%; justify-content: center; margin-top: 18px; }
.lf-order-submit[disabled] { opacity: .7; cursor: wait; }
.lf-order-note { text-align: center; font-size: .8rem; color: var(--lf-muted); margin: 10px 0 0; }
.lf-order-done { text-align: center; }
.lf-order-done .lf-modal-step { text-align: left; }
.lf-done-ic {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: #FFE8EF; color: #D0345F; font-size: 26px; font-weight: 800; margin-bottom: 12px;
}
.lf-order-done h3 { font-size: 1.3rem; font-weight: 800; margin: 0 0 6px; }
.lf-done-body { font-size: .92rem; color: var(--lf-body); margin: 0 0 18px; }
.lf-done-steps { list-style: none; counter-reset: lfdone; padding: 0; margin: 0; text-align: left; border-top: 1px solid var(--lf-line); }
.lf-done-steps li { counter-increment: lfdone; display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--lf-line); font-size: .92rem; }
.lf-done-steps li::before { content: counter(lfdone); color: var(--lf-violet); font-weight: 800; }
@media (max-width: 480px) {
  .lf-modal { padding: 12px; align-items: flex-end; }
  .lf-modal-box { padding: 24px 18px 20px; border-radius: 20px; }
  .lf-fields-2 { grid-template-columns: 1fr; }
}
