

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__sub { max-width: 100%; }
  .diensten-regio-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .b2b-grid { grid-template-columns: 1fr; }
  .b2b-image { display: none; }
  .b2b-content { padding: 48px 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .steps { flex-direction: column; align-items: stretch; gap: 16px; }
  .step { flex-direction: row; text-align: left; align-items: flex-start; }
  .step__icon { flex-shrink: 0; }
  .step__arrow { display: none; }
  .regio-grid { grid-template-columns: repeat(3, 1fr); }
  .vergelijk-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { font-size: 15px; }

  .section { padding: 48px 0; }

  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .nav { gap: 16px; }

  .hero { padding: 40px 0 48px; }
  .form-row { grid-template-columns: 1fr; }
  .hero__trust { gap: 12px; }
  .hero__trust li { font-size: 0.83rem; }
  .hero__rating { flex-direction: column; align-items: flex-start; gap: 4px; }

  .cards-grid { grid-template-columns: 1fr; }

  .diensten-grid { grid-template-columns: repeat(2, 1fr); }
  .regio-grid { grid-template-columns: repeat(2, 1fr); }

  .b2b-content { padding: 40px 0; }

  .faq-question { font-size: 0.9rem; }

  .footer__grid { flex-direction: column; gap: 24px; }
  .footer__nav { gap: 16px; }

  .pricing-grid { max-width: 100%; }
  .pricing-card { padding: 24px 20px; }

  .step { flex-direction: column; text-align: center; align-items: center; }

  .section__title { font-size: 1.4rem; }
  .vergelijk-header h2 { font-size: 1.2rem; }
}

@media (max-width: 640px) {
  .sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    padding: 12px 20px;
    background: var(--white);
    border-top: 1.5px solid var(--border);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  }
}

@media (max-width: 640px){ .hero{padding-top:28px;} .hero__copy h1{font-size:2.3rem;} .hero__form-card{padding:18px;} .regio-grid{grid-template-columns:repeat(2,1fr);} .hoe-werkt .container{gap:12px;} }

.nav__logo-nl {
  margin-left: -7px !important;
  color: rgba(255,255,255,.86) !important;
  font-weight: 500 !important;
}

.hero__mobile-photo {
  display: none;
}

@media (max-width: 640px) {
  .nav {
    height: 56px;
  }

  .nav__logo {
    gap: 8px;
    font-size: 1rem;
    letter-spacing: -0.02em;
  }

  .nav__logo svg {
    width: 21px;
    height: 21px;
  }

  .hero.hero--clean-split {
    padding: 30px 0 38px;
    background:
      radial-gradient(circle at 16% 0%, rgba(217,112,37,.08), transparent 32%),
      linear-gradient(180deg, #f8fafc 0%, #ffffff 72%, #f6f4f0 100%);
  }

  .hero.hero--clean-split .hero__copy {
    padding: 0;
  }

  .hero__eyebrow {
    font-size: .72rem;
    margin-bottom: 12px;
  }

  .hero.hero--clean-split .hero__copy h1 {
    font-size: clamp(2.15rem, 10.2vw, 2.55rem);
    line-height: 1.04;
    margin-bottom: 14px;
  }

  .hero.hero--clean-split .hero__sub {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 18px;
  }

  .hero.hero--clean-split .hero__trust {
    gap: 10px 14px;
    margin-bottom: 20px;
  }

  .hero.hero--clean-split .hero__trust li {
    font-size: .82rem;
  }

  .hero.hero--clean-split .hero__rating {
    margin-bottom: 18px;
  }

  .hero__mobile-photo {
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 118px;
    margin: 0 0 20px;
    border-radius: 18px;
    border: 1px solid #dfe7ef;
    background: #0b1f34;
    box-shadow: 0 14px 34px rgba(15,23,42,.13);
  }

  .hero__mobile-photo img {
    width: 100%;
    height: 118px;
    object-fit: cover;
    object-position: center 45%;
    transform: scale(1.02);
  }

  .hero__mobile-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,31,52,.78), rgba(11,31,52,.28) 52%, rgba(11,31,52,.06));
    pointer-events: none;
  }

  .hero__mobile-photo-label {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
  }

  .hero__mobile-photo-label strong {
    display: block;
    font-size: .96rem;
    line-height: 1.2;
  }

  .hero__mobile-photo-label span {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.78);
    font-size: .78rem;
  }

  .hero.hero--clean-split .hero__form-card--inline {
    margin-top: 0;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15,23,42,.11);
  }

  .form-card__header {
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  input, select, textarea {
    min-height: 48px;
  }

  .form__privacy {
    line-height: 1.45;
  }
}

.nav__logo,
.footer__logo {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  line-height: 1 !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.nav__logo-img {
  display: block !important;
  width: 220px !important;
  max-width: calc(100vw - 96px) !important;
  height: auto !important;
  max-height: 30px !important;
  object-fit: contain !important;
}

.footer__logo-img {
  display: block !important;
  width: 260px !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 34px !important;
  object-fit: contain !important;
}

@media (max-width: 640px) {
  .nav__logo-img {
    width: 190px !important;
    max-width: calc(100vw - 92px) !important;
    max-height: 28px !important;
  }
  .footer__logo-img {
    width: 230px !important;
    max-height: 32px !important;
  }
}


@media (max-width: 640px) {
  .company-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .company-card { padding: 0; }
  .company-card__body { padding: 16px; }
  .company-card__header { flex-direction: column; gap: 10px; }
  .company-card__logo { width: 40px; height: 40px; font-size: 14px; }
  .company-card__footer--split { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 16px; }
  .company-card__footer--split .btn,
  .company-card__footer--split a { width: 100%; text-align: center; justify-content: center; }
}

/* Mobile readability fix for SEO tables and long content */
@media (max-width: 640px) {
  body { overflow-x: hidden; }
  .container { width: 100%; max-width: 100%; padding-left: 18px; padding-right: 18px; }
  .seo-rich, .local-content-grid, .local-content-grid > *, .page-hero__lead { max-width: 100%; min-width: 0; overflow-wrap: break-word; }
  .seo-rich p, .seo-rich li { font-size: .96rem; line-height: 1.85; }
  .seo-rich h2 { font-size: 1.34rem; line-height: 1.25; margin-top: 28px; }

  .seo-table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 18px 0 24px !important;
  }
  .seo-table thead { display: none !important; }
  .seo-table tbody { display: block !important; width: 100% !important; }
  .seo-table tr {
    display: block !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(15,35,53,.06) !important;
  }
  .seo-table th,
  .seo-table td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 12px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    font-size: .91rem !important;
    line-height: 1.55 !important;
  }
  .seo-table td:last-child { border-bottom: 0 !important; background: #fff7ed !important; }
  .seo-table td:first-child { color: var(--text) !important; font-weight: 800 !important; background: #f8fafc !important; }
  .seo-table td:first-child strong { color: var(--navy) !important; }
  .seo-table a { white-space: normal !important; overflow-wrap: anywhere !important; }

  .partner-table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}



/* Mobile UX cleanup 20260611 */
@media (max-width: 640px) {
  body {
    padding-bottom: 82px;
  }

  .section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .section-header,
  .section-header--stack {
    margin-bottom: 20px;
  }

  .section-header h2,
  .section__title,
  .section__title--left {
    font-size: 1.55rem;
    line-height: 1.18;
    letter-spacing: -0.03em;
  }

  .section-intro,
  .section-lead {
    font-size: .96rem;
    line-height: 1.65;
  }

  .section--commercial-proof {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .mobile-trust-section .section-header {
    margin-bottom: 14px;
  }

  .mobile-trust-section .section-intro {
    margin-top: 10px;
    margin-bottom: 0;
  }

  .commercial-proof-grid {
    gap: 10px !important;
  }

  .commercial-proof-card {
    position: relative;
    padding: 14px 14px 14px 46px !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 20px rgba(15,35,53,.045) !important;
  }

  .commercial-proof-card::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 15px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff7ed;
    color: var(--orange);
    font-weight: 900;
    font-size: .84rem;
  }

  .commercial-proof-card strong {
    font-size: .95rem !important;
    margin-bottom: 4px !important;
  }

  .commercial-proof-card p {
    font-size: .84rem !important;
    line-height: 1.48 !important;
  }

  #diensten {
    padding-top: 42px;
    padding-bottom: 40px;
    background: #fff;
  }

  #diensten .diensten-regio-grid {
    gap: 22px;
  }

  #diensten .section__title--left {
    margin-bottom: 16px;
  }

  #diensten .diensten-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #diensten .dienst-card {
    min-height: 112px;
    border-radius: 16px;
  }

  #diensten .dienst-card__content {
    padding: 12px;
  }

  #diensten .dienst-card__content svg {
    width: 20px;
    height: 20px;
  }

  #diensten .dienst-card__content span {
    font-size: .88rem;
    line-height: 1.22;
  }

  .diensten-cta-card {
    margin-top: 4px;
  }

  .diensten-cta-card__body {
    padding: 18px !important;
  }

  .diensten-cta-card__body p {
    font-size: .92rem;
    line-height: 1.58;
  }

  .hoe-werkt {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hoe-werkt .steps {
    gap: 12px !important;
  }

  .hoe-werkt .step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
    text-align: left;
    padding: 16px;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15,35,53,.04);
  }

  .hoe-werkt .step__icon {
    margin: 0;
    width: 42px;
    height: 42px;
  }

  .hoe-werkt .step__content h3 {
    font-size: .98rem;
    line-height: 1.28;
    margin-bottom: 5px;
  }

  .hoe-werkt .step__content p {
    font-size: .86rem;
    line-height: 1.5;
    margin: 0;
  }

  .hoe-werkt .step__arrow {
    display: none !important;
  }

  #populaire-aanvragen {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  #populaire-aanvragen .section-intro {
    margin-bottom: 0;
  }

  #populaire-aanvragen .local-seo-links {
    gap: 9px !important;
    margin-top: 14px !important;
  }

  #populaire-aanvragen .local-seo-links a {
    padding: 13px 14px;
    border-radius: 14px;
    font-size: .91rem;
  }

  #populaire-aanvragen .popular-link--extra {
    display: none;
  }

  #populaire-aanvragen .local-seo-links--expanded .popular-link--extra {
    display: flex;
  }

  .mobile-show-more {
    display: inline-flex;
    margin-top: 14px;
    justify-content: center;
    min-height: 46px;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(234,88,12,.35), 0 8px 18px rgba(15,23,42,.18);
  }

  .mobile-sticky-cta::after {
    content: " →";
    margin-left: 4px;
  }
}

@media (min-width: 641px) {
  .mobile-show-more,
  .mobile-sticky-cta {
    display: none !important;
  }
}
