:root {
  --black: #0b0b0c;
  --black-soft: #17171a;
  --orange: #ff7a1a;
  --orange-dark: #e0640a;
  --white: #ffffff;
  --gray: #6b6b6f;
  --gray-light: #f4f4f5;
  --border: #e6e6e8;
  --radius: 14px;
  --max-width: 1140px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 16px; color: var(--gray); }

a { color: inherit; text-decoration: none; }

.x, .accent { color: var(--orange); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--black);
  letter-spacing: 0.04em;
}

.logo.small { font-size: 1.1rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--black-soft);
}

.nav a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.nav-cta:hover {
  background: var(--orange-dark);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--orange);
  cursor: pointer;
}

/* Hero */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 90px 0 70px;
}

.hero-inner { text-align: center; max-width: 920px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.7rem, 4.2vw, 2.65rem);
  margin-bottom: 20px;
}

.hero-line { white-space: nowrap; }

@media (max-width: 700px) {
  .hero-line { white-space: normal; }
  .hero-break { display: none; }
}

.hero-sub {
  color: #c9c9cd;
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover { background: var(--orange-dark); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

.btn-ghost-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--border);
}

.btn-ghost-dark:hover { border-color: var(--orange); color: var(--orange); }

.btn-full { width: 100%; border: none; }

/* Simple card grid (used on the region hub page) */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.92rem; margin-bottom: 18px; flex-grow: 1; }
.card .btn { align-self: flex-start; }

@media (max-width: 860px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .grid-cards { grid-template-columns: 1fr; }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 160px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stats strong {
  font-size: 1.6rem;
  color: var(--orange);
}

.hero-stats span {
  font-size: 0.85rem;
  color: #b7b7bc;
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-light); }
.section h2 { text-align: center; }
.section-sub {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

.prijzen-sub {
  max-width: 820px;
  font-size: 1rem;
}

.prijzen-sub .sub-line { white-space: nowrap; }

@media (max-width: 900px) {
  .prijzen-sub .sub-line { white-space: normal; }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--black);
  color: var(--orange);
  font-weight: 800;
  margin-bottom: 16px;
}

.step p { margin-bottom: 0; font-size: 0.95rem; }

/* Voordelen — sticky panels that slide over one another (à la maelor.be) */
.voordelen-intro { padding-bottom: 24px; }

.voordeel-stack {
  position: relative;
  isolation: isolate;
}

.voordeel-panel {
  position: sticky;
  top: 77px;
  min-height: clamp(340px, 48vh, 460px);
  display: flex;
  align-items: center;
}

.voordeel-panel--a { background: var(--white); }
.voordeel-panel--b { background: var(--gray-light); }

.voordeel-panel-inner { max-width: 620px; }

.card-num {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
}

.voordeel-panel h3 { color: var(--black); font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 16px; }
.voordeel-panel p { margin-bottom: 12px; font-size: 1.02rem; }
.voordeel-panel p:last-of-type { margin-bottom: 0; }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: var(--black);
  border-color: var(--black);
  animation: featuredPulse 2.4s ease-in-out infinite;
}

@keyframes featuredPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(255, 122, 26, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .price-card.featured { animation: none; }
}

.price-card.featured h3,
.price-card.featured .price-desc { color: var(--white); }

.price-card.featured p { color: #c9c9cd; }

.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

.price-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  background: rgba(255, 122, 26, 0.12);
  padding: 5px 12px;
  border-radius: 999px;
  margin: 4px 0 14px;
}

.price-card.featured .price-tag {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.price-desc {
  font-size: 0.98rem;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.5;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}

.price-card li {
  padding: 6px 0;
  font-size: 0.92rem;
  color: inherit;
}

.price-card:not(.featured) li { color: var(--black-soft); }
.price-card.featured li { color: #e4e4e6; }

.price-card li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 800;
  margin-right: 8px;
}

.price-cta { margin-top: auto; padding-top: 24px; }

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 { text-align: left; }

.contact-points {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.contact-points li {
  padding: 8px 0;
  font-weight: 600;
  color: var(--black-soft);
}

.contact-points li::before {
  content: "●";
  color: var(--orange);
  margin-right: 10px;
  font-size: 0.6rem;
  vertical-align: middle;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row { margin-bottom: 18px; }

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--black-soft);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--black);
  background: var(--white);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,122,26,0.15);
}

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  flex: 1;
  min-width: 180px;
}

.radio-option input { width: auto; margin: 0; }

.radio-option:has(input:checked) {
  border-color: var(--orange);
  background: rgba(255,122,26,0.08);
}

.form-status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.2em;
}

.form-status.success { color: #1a8a4a; }
.form-status.error { color: #c0392b; }

/* Footer */
.site-footer {
  background: var(--black);
  color: #b7b7bc;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.footer-inner p { margin: 0; color: #8a8a8f; font-size: 0.85rem; }

.footer-address { margin: 0; color: #8a8a8f; font-size: 0.85rem; }

.credit-link { color: var(--orange); font-weight: 600; }
.credit-link:hover { color: var(--orange-dark); text-decoration: underline; }

.site-footer .logo { color: var(--white); }

/* Page hero (subpages) */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 56px 0 40px;
  text-align: center;
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: #b7b7bc;
  margin-bottom: 12px;
}

.page-hero .breadcrumb a { color: var(--orange); font-weight: 600; }

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: #c9c9cd;
  max-width: 600px;
  margin: 0 auto;
}

/* Full-page application form */
.form-page {
  padding: 56px 0 90px;
}

.form-page-layout {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.form-aside {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.form-aside h2 { text-align: left; font-size: 1.3rem; margin-bottom: 4px; }

.form-aside ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-aside li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-weight: 600;
  color: var(--black-soft);
}

.form-aside li span.num {
  color: var(--orange);
  font-weight: 800;
}

.application-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  width: 100%;
}

.form-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.form-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.form-section-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 18px;
}

.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--black);
  background: var(--white);
}

.form-row select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,122,26,0.15);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--gray);
  margin: 6px 0 0;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.checkbox-option input { width: auto; margin: 0; }

.checkbox-option:has(input:checked) {
  border-color: var(--orange);
  background: rgba(255,122,26,0.08);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 14px;
}

.consent-row input { margin-top: 4px; width: auto; }

/* CTA banner (index page, replaces inline contact form) */
.cta-banner {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
}

.cta-banner h2 { color: var(--white); }
.cta-banner p { color: #c9c9cd; max-width: 560px; margin: 0 auto 28px; }

/* Exit intent popup */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 12, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.exit-popup-overlay.visible { opacity: 1; pointer-events: auto; }

.exit-popup {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 440px;
  width: 100%;
  padding: 44px 32px 32px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  transform: translateY(14px);
  transition: transform 0.25s ease;
}

.exit-popup-overlay.visible .exit-popup { transform: translateY(0); }

.exit-popup .card-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.exit-popup h3 { font-size: 1.5rem; margin-bottom: 12px; }
.exit-popup p { margin-bottom: 22px; font-size: 0.98rem; }

.exit-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
  padding: 4px;
}

.exit-popup-close:hover { color: var(--black); }

.exit-popup-dismiss {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}

.exit-popup-dismiss:hover { color: var(--black); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: var(--orange);
  box-shadow: 0 -12px 30px rgba(0,0,0,0.25);
  z-index: 70;
  padding: 18px 24px;
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-inner p {
  margin: 0;
  color: var(--black);
  font-weight: 600;
  font-size: 0.9rem;
}

.cookie-banner-actions {
  flex-shrink: 0;
  display: flex;
  gap: 12px;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid var(--black);
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}

.cookie-btn:hover { transform: translateY(-2px); }

.cookie-accept {
  background: var(--black);
  color: var(--white);
}

.cookie-accept:hover { background: var(--black-soft); }

.cookie-decline {
  background: transparent;
  color: var(--black);
}

.cookie-decline:hover { background: rgba(0,0,0,0.08); }

@media (max-width: 620px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
  }
  .cookie-banner-actions { justify-content: center; }
}

/* Responsive */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    padding: 12px 24px 20px;
    z-index: 60;
  }
  .nav.open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav.open a:last-child { border-bottom: none; }
  .nav.open .nav-cta {
    margin-top: 10px;
    text-align: center;
    border-bottom: none;
  }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
  .voordeel-panel { min-height: clamp(280px, 46vh, 360px); top: 64px; }
  .hero-stats { gap: 56px; }
  .application-form { padding: 24px; }
  .cta-banner { padding: 36px 24px; }
  .consent-row input { width: 20px; height: 20px; }
}
