/* ==========================================================================
   NIKI DE WOLFF - GLOBAL CSS MODULE (DEFINITIEVE VERSIE)
   ========================================================================== */

/* ==========================================================================
   1. HUISSTIJL VARIABELEN
   ========================================================================== */
:root {
    --primary-orange: #FF6B35;
    --primary-orange-hover: #E85A30;
    --oranje: #F97316;
    --oranje-donker: #EA580C;
    --primary-blue: #2B4C7E;
    --primary-blue-light: #4A6DA1;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --background-white: #ffffff;
    --background-light: #f8f9fa;
    --background-lighter: #fafbfc;
    --border-light: #e1e5e9;
    --border-medium: #d1d5db;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.5;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    --border-radius: 6px;
    --transition: all 0.15s ease;
}

/* ==========================================================================
   2. RESET & BASISSTIJLEN
   ========================================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    max-width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--text-dark);
}

/* ==========================================================================
   3. LAYOUT & CONTAINERS
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

a {
    text-decoration: none;
    color: #00559f;
}

/* ==========================================================================
   6. SECTIE STYLING (Content Sectie)
   ========================================================================== */

.content-section__container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.content-section__text,
.content-section__image {
    flex: 1;
}

.content-section--image-left .content-section__container {
    flex-direction: row-reverse;
}

/* 2) row container */
.row-fluid {
  /* turn legacy grid into a modern flex row */
  display: flex;
  flex-wrap: wrap;
  /* configurable gutters */
  --gutter-x: 24px;
  margin-left: calc(var(--gutter-x) * -0.5);
  margin-right: calc(var(--gutter-x) * -0.5);
}

/* 3) columns (HubSpot dnd cells) */
.row-fluid > .widget-span {
  float: none !important;
  width: auto !important;
  padding-left: calc(var(--gutter-x) * 0.5);
  padding-right: calc(var(--gutter-x) * 0.5);
  min-height: 1px;
  display: block;
}

/* optional: style hooks for sections/columns if needed */
.dnd-section { width: 100%; }

/* 4) span width map (12-column grid) */
.row-fluid > .span1  { flex: 0 0 8.333333%;  max-width: 8.333333%;  }
.row-fluid > .span2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
.row-fluid > .span3  { flex: 0 0 25%;        max-width: 25%;        }
.row-fluid > .span4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
.row-fluid > .span5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
.row-fluid > .span6  { flex: 0 0 50%;        max-width: 50%;        }
.row-fluid > .span7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
.row-fluid > .span8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
.row-fluid > .span9  { flex: 0 0 75%;        max-width: 75%;        }
.row-fluid > .span10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.row-fluid > .span11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.row-fluid > .span12 { flex: 0 0 100%;       max-width: 100%;       }

/* 6) optional: remove extra spacing between consecutive rows */
.row-fluid + .row-fluid {
  margin-top: 24px;
}

/* Responsive: op mobiel alles onder elkaar */
@media (max-width: 768px) {
    .content-section__container,
    .content-section--image-left .content-section__container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    .row-fluid > .widget-span {
      flex: 0 0 100% !important;
      max-width: 100% !important;
    }
}

/* hero hypoteek spec */
:root {
    --donkerblauw: #0F2C5A;
    --oranje: #FF7A00;
    --oranje-donker: #EA580C;
    --lichtgrijs: #f8f9fa;
    --tekstkleur: #333;
}

.foto_name_text {
  margin-top: 15px;
}

.foto_name_text p {
  line-height: 1.2em !important;
}

.hero-sectie .container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0;
}

.hero-sectie {
    padding: 80px 0 60px;
    background-color: #fff;
    border-bottom: 1px solid var(--border-kleur);
}
.hero-sectie .container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-links {
    flex: 1.5;
    display: grid;
    justify-content: center;
}
.hero-rechts {
    flex: 0.8;
    text-align: center;
}
.hero-rechts img {
    max-width: 280px;
    border-radius: 50%;
    border: 10px solid #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.hero-sectie h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    max-width: 700px;
    color: var(--donkerblauw);
    font-weight: 700;
}

.sub-title-hero {
    max-width: 700px;
    font-size: 20px;
    color: #444;
    text-align: center;
    line-height: 1.4;
}

.trust-badge {
    background-color: var(--lichtgrijs);
    border-radius: 8px;
    display: inline-flex;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 40px;
    padding: 10px 15px;
    gap: 10px;
}

.scan-knop {
    display: inline-block;
    background-color: var(--oranje);
    color: #FFFFFF !important;
    padding: 18px 32px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
    font-size: 18px;
    font-weight: 700;
    margin: auto;
}
.scan-knop:hover {
    background-color: var(--oranje-donker);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}
.scan-knop-sub {
    display: block;
    font-size: 14px;
    text-align: center;
    margin: 8px auto 0;
    line-height: 1.4rem;
    max-width: 388px;
    color: #666;
}

@media (max-width: 992px) {
  /* use grid instead of flex */
  .hero-sectie .container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "subtitle"
      "badge"
      "photo"
      "cta"
      "trustline";
    gap: 24px;
    text-align: center; /* center all text */
  }
  
  .sub-title-hero {
    grid-area: subtitle;
    text-align: center;
    margin: auto;
  }

  /* let children of .hero-links participate in the parent grid */
  .hero-links { 
    display: contents; /* keeps semantics, drops box so children can be placed in the grid */
  }

  /* place elements into grid areas */
  .hero-links h1 { 
    grid-area: title; 
    font-size: 40px; 
    margin: 0 auto 8px;
    text-align: center;
  }
  .trust-badge { 
    grid-area: badge; 
    margin: 0 auto 8px; 
    font-size: 0px;
    flex-direction: column;
    gap: 5px;
  }
  .trust-badge a, .trust-badge span { 
    font-size: 16px;
  }
  .hero-rechts { 
    grid-area: photo; 
    justify-self: center; 
  }
  .hero-rechts img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 10px solid #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  }
  .scan-knop { 
    grid-area: cta; 
    justify-self: center; 
    width: 100%;
    max-width: 420px;          /* wide button like screenshot */
    padding: 18px 28px;
  }
  .scan-knop-main { font-size: 18px; }
  .scan-knop-sub  {
      font-size: 14px;
      grid-area: trustline;
      margin: -8px auto 0;
  }
}

@media (max-width: 768px) {
    .hero-links h1 { padding: 0 20px; }
    .scan-knop {
        padding: 15px;
        width: calc(100% - 40px);
    }
    .scan-knop-main {
        font-size: 16px;
    }
    .scan-knop-sub {
        font-size: 12px;
    }
    .sub-title-hero {
        padding: 0 20px;
    }
    .hero-sectie {
        padding: 40px 0 0;
    }
}

/* optional: slightly larger phones/tablets tune-up */
@media (max-width: 560px) {
  .hero-links h1 { font-size: 34px; }
  .hero-rechts img { 
    width: 170px;
    height: 170px;
  }
  .hero-links > div {
    padding: 0 20px;
  }
}

/* end */

/* wat krijg 1 min */
.benefits {
  padding: 60px 0 50px;
  background: #fff;
}

.benefits-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.benefits-header {
  text-align: center;
  margin-bottom: 40px;
}

.benefits-title {
  font-size: 28px;
  line-height: 1.3;
  color: #0a2a5a;
  margin: 0 0 12px;
}

.benefits-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  max-width: 650px;
  margin: 0 auto;
}

/* Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

/* Cards */
.benefit-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 24px 26px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.benefit-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.benefit-title {
  font-size: 18px;
  font-weight: 700;
  color: #0a2a5a;
  margin: 0 0 8px;
}

.benefit-body {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

/* CTA блок под bullets */
.benefits-cta-wrap {
  text-align: center;
  margin-top: 16px;
}

.benefits-microtrust {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}

/* Desktop */
@media (min-width: 992px) {
  .benefits {
    padding: 50px 0 50px;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    {% if module.show_cta %}
      margin-bottom: 40px;
    {% endif %}
  }
  
  .benefits-grid:has(.benefit-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    max-width: calc(2 * 358px + 1 * 28px);
    margin-left: auto;
    margin-right: auto;
  }
  
  .benefits-grid:has(.benefit-card:nth-child(1):last-child) {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    justify-content: center;
    max-width: 358px;
    margin-left: auto;
    margin-right: auto;
  }

  .benefit-card {
    padding: 28px 28px 30px;
  }

  .benefit-body {
    font-size: 16px;
  }

  .benefits-microtrust {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}

@media screen and (max-width: 992px) {
  .benefits .scan-knop-sub { margin-top: 8px; }
  .benefits {
      margin: -30px 0 0 0;
      border-top: 1px solid #e9ecef;
  }
}
/* end */

/* waarom met mij werken */
.usps {
  padding: 0px 0 25px;
  background: #ffffff;
}

.usps-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.usps-title {
  font-size: 28px;
  line-height: 1.3;
  color: #0a2a5a;
  text-align: center;
  margin: 0 0 28px;
}

.usps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.usps-item {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.usps-item::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 14px;
  color: #1ab36b;
}

.usps-cta-wrap {
  text-align: center;
}

.txtpad {
  padding-left: 26px;
}

@media (min-width: 992px) {
  .usps {
    padding: 0px 0 25px;
  }

  .usps-item {
    font-size: 17px;
  }
}
/* end */

/* centrale belofte */
/* Basis styling voor de gecombineerde module */
.niki-combined-module {
    width: 100%;
    max-width: none;
    margin: 0 auto 10px;
    padding: 75px 2rem 50px;
    font-family: 'Quicksand', Arial, sans-serif;
    border-radius: 12px;
    position: relative;
    background: #f8f9fa
}

/* Centrale Belofte */
.niki-centrale-belofte {
    text-align: center;
    margin-bottom: 3rem;
}

.niki-centrale-belofte h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #2c3e50;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

/* Pilaren Grid */
.niki-pilaren-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.niki-pilaar {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border: 2px solid #f8f9fa;
    border-radius: 8px;
    min-height: 480px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.niki-pilaar:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Logo styling voor pilaren */
.niki-pilaar-logo {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.niki-pilaar-logo img {
    max-width: 200px;
    max-height: 90px;
    height: auto;
    object-fit: contain;
}

/* Tekst styling pilaren */
.niki-pilaar h3 {
    color: #2c3e50;
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    min-height: 2.5rem;
}

.highlight {
    display: block;
    font-weight: bold;
    color: #ff6b35;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin: 0 0 1rem 0;
    line-height: 1.4;
    min-height: 2rem;
}

.niki-pilaar p {
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
    margin: 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Bank Logos Sectie */
.niki-bank-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.niki-bank-header {
    text-align: center;
    margin-bottom: 2rem;
}

.niki-bank-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #2c3e50;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.niki-bank-subtitle {
    color: #666;
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin: 0;
}

/* Bank Logos Container */
.niki-bank-logos-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.niki-bank-logos-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Container specifiek voor 5 logos */
.logos-count-5 .niki-bank-logos-grid {
    max-width: 800px;
    margin: 0 auto;
}

/* Bank Logo Items */
.niki-bank-logo-item {
    flex: 1 1 auto;
    min-width: 80px;
    max-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px; /* Vaste hoogte voor consistentie */
}

/* Bank Logo Images - ALTIJD GRIJSTINT */
.niki-bank-logo-image {
    width: 100%;
    height: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover effect - BLIJFT GRIJS, alleen beweging */
.niki-bank-logo-image:hover {
    filter: grayscale(100%); /* Blijft grijs */
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
}

/* Bank Footer */
.niki-bank-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.niki-bank-footer p {
    color: #666;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .niki-combined-module {
        padding: 3.5rem 1rem 2rem;
    }
    
    .niki-pilaren-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .niki-pilaar {
        min-height: auto;
    }
    
    .niki-bank-logos-grid {
        gap: 1rem;
    }
    
    .niki-bank-logo-item {
        min-width: 60px;
        max-width: 100px;
    }
    
    /* Grid layout voor 5 logos op mobile */
    .logos-count-5 .niki-bank-logos-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        justify-items: center;
    }
    
    .logos-count-5 .niki-bank-logo-item:nth-child(4),
    .logos-count-5 .niki-bank-logo-item:nth-child(5) {
        grid-column: span 1;
    }
    .niki-centrale-belofte h2 {
        font-size: 1.5rem !important;
        line-height: 1.8rem !important;
    }
}

@media (max-width: 480px) {
    
    .niki-pilaar h3 {
        font-size: 1.1rem;
    }
    
    .highlight {
        font-size: 0.95rem;
    }
    
    .niki-bank-title {
        font-size: 1.1rem;
    }
    
    /* Grid voor 5 logos op kleine schermen */
    .niki-bank-logos-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* 5e logo gecentreerd onderaan */
    .logos-count-5 .niki-bank-logo-item:nth-child(5) {
        grid-column: span 2;
        max-width: 100px;
        margin: 0 auto;
    }
}

/* Print styles */
@media print {
    .niki-combined-module {
        background: white;
        border: 1px solid #ddd;
    }
    
    .niki-bank-logo-image {
        filter: none !important;
        opacity: 1 !important;
    }
}
/* end */

/* Proces Sectie - 3 Stappen */
.proces-sectie {
    padding: 40px 20px 90px; /* Meer padding voor breathing room */
    background: #ffffff;
    border-top: 1px solid #e8eaed;
}

.proces-sectie .container {
    max-width: 1200px;
    margin: 0 auto;
}

.proces-sectie h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 700;
}

.stappen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stap {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.stap:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.stap .icoon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.stap h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.stap p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Prijs info styling */
.prijs-info {
    font-size: 0.85em;
    font-weight: normal;
    color: #000; /* Standaard zwart voor Betaald en High-end */
}

.prijs-info.gratis {
    color: #666; /* Grijs voor Gratis */
}

/* Responsive */
@media (max-width: 768px) {
    .proces-sectie {
        padding: 80px 20px 60px;
    }
    
    .proces-sectie h2 {
        font-size: 1.5rem !important;
        line-height: 1.8rem !important;
    }
    
    .stappen-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stap {
        padding: 25px;
    }
    
    .stap h3 {
        font-size: 1.3rem;
    }
    
    .stap .icoon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .proces-sectie {
        padding: 40px 15px 60px;
    }
    
    .proces-sectie h2 {
        margin-bottom: 30px;
    }
    
    .stap {
        padding: 20px;
    }
    
    .stap h3 {
        font-size: 1.2rem;
    }
    
    .stap p {
        font-size: 0.95rem;
    }
}

/* end */

/* segments-block */
.hs-segments-block {
  background-color: #f9fafb; /* lichtgrijs grid-background, optioneel */
  padding-top: 80px;
  padding-bottom: 90px;
}

.hs-segments-block__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 12px;
}

.hs-segments-block__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
}

.hs-segments-block__title {
  font-size: 1.8rem; /* ~29px, в зависимости от base font-size */
  line-height: 1.2;
  margin: 0 0 12px 0;
  color: #0a2a5a; /* donkerblauw */
  font-weight: 700;
}

.hs-segments-block__subtitle {
  font-size: 1rem; /* ~16px */
  line-height: 1.5;
  color: #444444;
  margin: 0;
}

/* ===== GRID (DESKTOP) ===== */

.hs-segments-block__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* ===== CARD ===== */

.hs-segment-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hs-segment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.hs-segment-card__title {
  font-size: 1.125rem; /* ~18px */
  font-weight: 700;
  color: #0a2a5a;
  margin: 0 0 12px 0;
}

.hs-segment-card__text {
  font-size: 1rem; /* ~16px */
  line-height: 1.5;
  color: #444444;
  margin: 0 0 20px 0;
}

.hs-segment-card__cta {
  font-size: 0.9375rem; /* ~15px */
  font-weight: 600;
  color: #ff7a00;
  text-decoration: underline;
  display: inline-block;
  margin-top: auto;
}

.hs-segment-card__cta:hover,
.hs-segment-card__cta:focus {
  color: #e86c00;
}

/* ===== MOBILE / TABLET ===== */

@media (max-width: 1024px) {
  .hs-segments-block {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

@media (max-width: 768px) {
  .hs-segments-block__inner {
    padding: 0 12px;
  }

  .hs-segments-block__header {
    margin-bottom: 32px;
  }

  .hs-segments-block__title {
    font-size: 1.6rem; /* ~26px */
  }

  .hs-segments-block__subtitle {
    font-size: 0.9375rem; /* ~15px */
  }

  .hs-segments-block__grid {
    grid-template-columns: 1fr; /* 1 kolom */
  }

  .hs-segment-card {
    margin-bottom: 0;
    padding: 24px;
  }

  .hs-segment-card__title {
    font-size: 1.125rem; /* 18px */
  }

  .hs-segment-card__text {
    font-size: 0.9375rem; /* 15px */
  }

  .hs-segment-card__cta {
    width: 100%;       /* full-width link-CTA (visueel) */
    text-align: left;  /* blijft linkslijnend */
  }
}

@media (max-width: 480px) {
  .hs-segments-block {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hs-segments-block__inner {
    padding: 0 12px;
  }

  .hs-segments-block__header {
    padding: 0 8px;
  }

  .hs-segments-block__title {
    font-size: 1.4rem;
  }

  .hs-segment-card {
    padding: 20px;
  }
}
/* end */

/* FINALE CTA SECTIE - BREED & CLEAN */
.finale-cta-sectie {
    padding: 0px 20px 90px;
    background-color: #f8f9fa;
    text-align: center;
    width: 100%;
}

.finale-cta-box {
    background-color: #fff;
    padding: 60px 80px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(15, 44, 90, 0.1);
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* GEEN oranje accent lijn - verwijderd */

.finale-cta-box h3 {
    font-size: 42px;
    font-weight: 700;
    color: #0F2C5A;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
}

.finale-cta-box .cta-text {
    font-size: 20px;
    line-height: 1.7;
    color: #555;
    max-width: 700px;
    margin: 0 auto 35px auto;
    font-family: 'Inter', sans-serif;
}

/* Social proof - Lichtgrijsblauw */
.social-proof {
    font-size: 16px;
    color: #0F2C5A;
    background-color: #e8f0f7;
    border: 1px solid #d0dfe9;
    padding: 14px 24px;
    border-radius: 10px;
    display: block;
    margin: 0 auto 40px auto;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    max-width: 600px;
}

.social-proof svg {
    width: 18px;
    height: 18px;
    margin: 0px 5px -3px 0px;
}

/* CTA Button - Oranje */
.cta-button {
    display: inline-block;
    background-color: #F97316;
    color: #FFFFFF;
    padding: 20px 50px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.25);
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.cta-button:hover {
    background-color: #EA580C;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
}

.cta-micro-text {
    font-size: 15px;
    color: #777;
    margin-top: 0;
    font-family: 'Inter', sans-serif;
}

.cta-signature-block {
  margin-top: 30px;
  text-align: center;
}

.cta_handtekening {
  width: 200px;
  height: auto;
  margin-bottom: 10px;
}

.cta-signature-text p {
  margin: 0;
  font-size: 16px;
  color: #555;
}

/* RESPONSIVE - Tablet */
@media (max-width: 1024px) {
    .finale-cta-sectie {
        padding: 80px 20px 60px 20px;
    }
    
    .finale-cta-box {
        max-width: 90%;
        padding: 50px 40px;
    }
    
    .finale-cta-box h3 {
        font-size: 36px;
    }
}

/* RESPONSIVE - Mobiel */
@media (max-width: 768px) {
    .finale-cta-sectie {
        padding: 60px 15px 50px 15px;
    }
    
    .finale-cta-box {
        max-width: 100%;
        padding: 40px 25px;
        border-radius: 15px;
    }
    
    .finale-cta-box h3 {
        font-size: 32px;
    }
    
    .finale-cta-box .cta-text {
        font-size: 18px;
    }
    
    .cta-button {
        font-size: 20px;
        padding: 18px 40px;
    }
    
    .social-proof {
        font-size: 15px;
        padding: 12px 20px;
    }
}

/* RESPONSIVE - Klein mobiel */
@media (max-width: 480px) {
    .finale-cta-box {
        padding: 35px 20px;
    }
    
    .finale-cta-box h3 {
        font-size: 26px;
    }
    
    .finale-cta-box .cta-text {
        font-size: 16px;
    }
    
    .cta-button {
        font-size: 18px;
        padding: 16px 30px;
        width: 100%;
        max-width: 300px;
    }
    
    .social-proof {
        font-size: 14px;
        padding: 10px 18px;
    }
    
    .cta-micro-text {
        font-size: 14px;
    }
}

/* end */

/* ==========================================================================
   CONTENT SECTIE MODULE - CSS
   ========================================================================== */

/* De hoofdcontainer voor de sectie. Gebruikt flexbox voor de layout. */
.content-section__container {
    display: flex;
    align-items: center;
    gap: 3rem; /* Ruimte tussen tekst en afbeelding */
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

/* De kolom voor tekst, neemt de helft van de ruimte in. */
.content-section__text {
    flex: 1;
    min-width: 0; /* Voorkomt flexbox overflow problemen */
}

/* De kolom voor de afbeelding, neemt de andere helft in. */
.content-section__image {
    flex: 1;
    min-width: 0;
}

/* De afbeelding zelf, zorgt dat hij netjes schaalt. */
.content-section__image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg, 8px);
}

/* DE TRUC: Als de gebruiker "Links" kiest, draaien we de volgorde om. */
.content-section--image-left .content-section__container {
    flex-direction: row-reverse;
}


/* --- Typografie & Styling --- */

.content-section__headline {
    font-size: 2.25rem;
    font-weight: var(--font-weight-bold, 700);
    color: var(--text-dark, #1a1a1a);
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.content-section__richtext p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-section__cta {
    margin-top: 2rem;
}

.content-section__container .niki-cta-button {
  display: inline-block !important;
}

/* --- Responsive: op mobiel alles onder elkaar --- */

@media (max-width: 768px) {
    /* Zet de flex-richting op kolom, zodat de afbeelding onder de tekst komt */
    .content-section__container,
    .content-section--image-left .content-section__container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
        text-align: center;
    }

    .content-section__headline {
        font-size: 1.8rem;
    }
}

/* end */