/* ============================================
   ABM Bouwgroep — Offerte funnels (landing pages)
   Requires css/style.css (design tokens) loaded first.
   ============================================ */

body.lp-body { background: var(--light-bg); }

/* ---------- Header (minimal, no nav) ---------- */
.lp-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.lp-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lp-logo img { height: 44px; width: auto; }
.lp-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.05rem;
  white-space: nowrap;
}
.lp-phone svg { flex-shrink: 0; }
.lp-phone:hover { color: var(--accent); }
.lp-phone small {
  display: block;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

/* ---------- Hero ---------- */
.lp-hero {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 55%, #1a3468 100%);
  padding: 48px 20px 72px;
  text-align: center;
}
.lp-hero h1 {
  color: var(--white);
  font-size: 2.3rem;
  max-width: 780px;
  margin: 0 auto 12px;
}
.lp-hero .lp-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 20px;
}
.lp-usps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 34px;
  padding: 0;
}
.lp-usps li {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}
.lp-usps li::before {
  content: "✓";
  color: var(--accent-light);
  font-weight: 800;
}

/* ---------- Funnel card ---------- */
.funnel-wrap { max-width: 660px; margin: 0 auto; }
.funnel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px 28px 26px;
  text-align: left;
  position: relative;
}
.f-progress-track {
  background: #eef0f4;
  border-radius: 99px;
  height: 8px;
  margin-bottom: 6px;
  overflow: hidden;
}
.f-progress-fill {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  height: 100%;
  width: 10%;
  border-radius: 99px;
  transition: width 0.35s ease;
}
.f-progress-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.f-question {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 6px;
}
.f-hint { color: var(--text-light); font-size: 0.95rem; margin-bottom: 18px; }

/* option cards */
.f-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.f-opt {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  text-align: center;
}
.f-opt:hover, .f-opt:focus-visible {
  border-color: var(--accent);
  background: #fff7f2;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(242, 105, 34, 0.12);
}
.f-opt.selected { border-color: var(--accent); background: #fff7f2; }
.f-opt .f-ico { font-size: 1.9rem; line-height: 1; }
.f-opt .f-lbl { font-weight: 600; color: var(--text); font-size: 0.98rem; line-height: 1.3; }
.f-opt .f-note { font-size: 0.78rem; color: var(--green); font-weight: 600; }

/* form fields */
.f-fields { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary-dark);
  margin-bottom: 5px;
}
.f-field label span.opt { color: var(--text-muted); font-weight: 400; }
.f-field input, .f-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s ease;
}
.f-field input:focus, .f-field textarea:focus { outline: none; border-color: var(--accent); }
.f-field input.f-invalid { border-color: #e74c3c; background: #fef5f4; }
.f-err {
  display: none;
  color: #e74c3c;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 4px;
}
.f-field.show-err .f-err { display: block; }

/* consent + submit */
.f-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 4px;
}
.f-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.f-consent a { color: var(--accent); text-decoration: underline; }
.f-consent.show-err { color: #e74c3c; }

.f-btn {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 16px 24px;
  font-family: var(--font-main);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 16px;
}
.f-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.f-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.f-btn-next { margin-top: 18px; }

.f-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-main);
}
.f-back:hover { color: var(--accent); }

.f-reassure {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
}
.f-reassure span::before { content: "✓ "; color: var(--green); font-weight: 700; }

.f-error-box {
  display: none;
  background: #fef5f4;
  border: 2px solid #e74c3c33;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 0.9rem;
  color: var(--text);
  margin-top: 14px;
}
.f-error-box a { color: var(--accent); font-weight: 700; }

/* ---------- Sections below funnel ---------- */
.lp-section { padding: 56px 20px; }
.lp-section.alt { background: var(--white); }
.lp-section-inner { max-width: var(--max-width); margin: 0 auto; }
.lp-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.lp-section .lp-section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 36px;
}

/* photo strip */
.lp-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lp-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.lp-photo img { width: 100%; height: 240px; object-fit: cover; }
.lp-photo figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* waarom */
.lp-waarom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.lp-waarom-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.lp-section.alt .lp-waarom-item { background: var(--light-bg); box-shadow: none; }
.lp-waarom-item .w-ico { font-size: 2rem; margin-bottom: 10px; }
.lp-waarom-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.lp-waarom-item p { font-size: 0.87rem; margin: 0; }

/* steps */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-step { text-align: center; padding: 10px 16px; }
.lp-step .s-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.lp-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.lp-step p { font-size: 0.88rem; margin: 0; }

/* CTA banner */
.lp-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  text-align: center;
  padding: 52px 20px;
}
.lp-cta h2 { color: var(--white); font-size: 1.7rem; margin-bottom: 10px; }
.lp-cta p { color: rgba(255, 255, 255, 0.9); margin-bottom: 22px; }
.lp-cta .btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--accent-dark);
  font-weight: 700;
  padding: 15px 36px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  transition: var(--transition);
}
.lp-cta .btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* footer */
.lp-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  padding: 28px 20px;
  font-size: 0.82rem;
  line-height: 1.9;
}
.lp-footer a { color: rgba(255, 255, 255, 0.85); }
.lp-footer a:hover { color: var(--accent-light); }
.lp-footer .sep { margin: 0 8px; opacity: 0.4; }

/* ---------- Bedankt page ---------- */
.lp-thanks {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px 34px;
  text-align: center;
}
.lp-thanks .t-ico {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #eafaf1;
  color: var(--green);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.lp-thanks h1 { font-size: 1.8rem; margin-bottom: 10px; color: var(--primary-dark); }
.lp-thanks p { font-size: 1rem; }
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 30px;
  border-radius: var(--radius);
  margin-top: 18px;
  transition: var(--transition);
}
.btn-wa:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.lp-thanks .t-or { color: var(--text-muted); font-size: 0.85rem; margin: 16px 0 4px; }
.lp-thanks .t-tel { font-weight: 700; color: var(--primary-dark); font-size: 1.1rem; }
.lp-thanks .t-tel:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .lp-waarom { grid-template-columns: 1fr 1fr; }
  .lp-photos { grid-template-columns: 1fr; }
  .lp-photo img { height: 220px; }
}
@media (max-width: 640px) {
  .lp-hero { padding: 32px 14px 56px; }
  .lp-hero h1 { font-size: 1.6rem; }
  .lp-hero .lp-sub { font-size: 1rem; }
  .lp-usps { gap: 8px 14px; margin-bottom: 24px; }
  .lp-usps li { font-size: 0.8rem; }
  .funnel-card { padding: 22px 18px 20px; }
  .f-question { font-size: 1.15rem; }
  .f-options { grid-template-columns: 1fr; gap: 10px; }
  .f-opt { flex-direction: row; justify-content: flex-start; text-align: left; padding: 14px 16px; }
  .f-opt .f-ico { font-size: 1.5rem; }
  .f-row { grid-template-columns: 1fr; }
  .lp-waarom { grid-template-columns: 1fr; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-phone small { display: none; }
  .lp-logo img { height: 36px; }
}

/* --- Vanaf-prijzen (16-08-2026) --- */
.lp-prijzen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.lp-prijs-item {
  background: var(--white, #fff);
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
}
.lp-prijs-item .p-dienst { font-weight: 600; color: var(--primary, #102050); font-size: 1.02rem; margin-bottom: 8px; }
.lp-prijs-item .p-prijs { font-size: 1.05rem; color: #333; }
.lp-prijs-item .p-prijs strong { font-size: 1.9rem; color: var(--accent, #F26922); font-weight: 800; font-family: 'Poppins', sans-serif; }
.lp-prijs-item .p-note { font-size: 0.82rem; color: #777; margin-top: 6px; }
.lp-prijs-cta { text-align: center; margin-top: 26px; font-size: 1.02rem; }
@media (max-width: 640px) {
  .lp-prijzen { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lp-prijs-item { padding: 16px 12px; }
  .lp-prijs-item .p-prijs strong { font-size: 1.5rem; }
}

/* --- Voor/Na composites (16-08-2026) --- */
.lp-photo--vn img { height: auto; aspect-ratio: 1508 / 1088; object-fit: cover; display: block; }
@media (max-width: 900px) { .lp-photo--vn img { height: auto; } }
