/* ---------------------------------------------------------------------
   BREADCRUMB - horizontale schone kruimelpad-navigatie
   Overrulet globale `ol { list-style: decimal }` en block-items.
--------------------------------------------------------------------- */

.breadcrumb-nav {
  padding: 0.9rem 0 0.35rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.85rem;
  position: relative;
  z-index: 0;
}

.breadcrumb-nav .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.breadcrumb-list {
  list-style: none !important;
  margin: 0;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted, #94a3b8);
}

.breadcrumb-list li::before,
.breadcrumb-list li::after {
  content: none !important;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
  color: inherit;
  line-height: 1.4;
}

.breadcrumb-list li a {
  color: var(--text-light, #5A6B7C);
  text-decoration: none;
  padding: 0.15rem 0.25rem;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.breadcrumb-list li a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-sep {
  color: var(--text-muted, #94a3b8);
  margin: 0 0.15rem;
  user-select: none;
  font-weight: 300;
}

.breadcrumb-list li [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
  padding: 0.15rem 0.25rem;
}

@media (max-width: 600px) {
  .breadcrumb-nav { font-size: 0.8rem; padding: 0.65rem 0 0.25rem; }
  .breadcrumb-nav .container { padding: 0 1.25rem; }
  /* Verberg alles behalve eerste-en-laatste op heel kleine schermen (truncated) */
  .breadcrumb-list li:not(:first-child):not(:last-child) { display: none; }
  .breadcrumb-list li:first-child::after {
    content: "…";
    margin: 0 .5rem;
    color: var(--text-muted, #94a3b8);
  }
}


/* ---------------------------------------------------------------------
   HEADER - sub-dropdown styling ("Per merk" onder Airco)
--------------------------------------------------------------------- */

.nav-list .has-subdropdown {
  position: relative;
}

.nav-list .has-subdropdown > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.nav-list .has-subdropdown > a::after {
  content: "›";
  font-size: 1.1em;
  color: var(--text-muted, #94a3b8);
}

.nav-list .subdropdown {
  display: none;
  position: absolute;
  top: -0.5rem;
  left: calc(100% - 4px);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  min-width: 200px;
  list-style: none;
  margin: 0;
  z-index: 1001;
}

.nav-list .has-subdropdown:hover > .subdropdown,
.nav-list .has-subdropdown:focus-within > .subdropdown {
  display: block;
}

.nav-list .subdropdown li a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text) !important;
  background: transparent !important;
  white-space: nowrap;
}

.nav-list .subdropdown li a:hover {
  background: var(--bg-light) !important;
  color: var(--primary) !important;
}

/* Mobile: nested dropdown wordt platgeslagen ingesprongen */
@media (max-width: 968px) {
  .nav-list .subdropdown {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    background: transparent;
  }

  .nav-list .has-subdropdown > a::after {
    display: none;
  }
}


/* =====================================================================
   PILLAR PAGE FIXES (VTH Installatiebedrijf) - v2 (18 apr 2026)
   ---------------------------------------------------------------------
   1. Ritmische H2 → paragraaf spacing (compact)
   2. Sticky verticale side-nav (links van content, scroll-spy)
   3. Structurele header-nav kleuren: brand-blue bg + witte links
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. H2 → PARAGRAAF RITME
--------------------------------------------------------------------- */

.pillar-section h2,
.pillar-section-alt h2,
.pillar-faq h2,
.pillar-cta h2 {
  margin-top: 0 !important;
  margin-bottom: 0.55rem !important;
  line-height: 1.2;
}

/* Section/container padding voor pillar-secties: compact verticaal ritme */
.pillar-section,
.pillar-section-alt {
  padding: 2.75rem 0 !important;
}

.pillar-section:first-of-type {
  padding-top: 2rem !important;
}

/* Content-section reset binnen pillar */
.pillar-section .content-section,
.pillar-section-alt .content-section,
.pillar-faq .content-section,
.pillar-cta .content-section {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 760px !important;
  text-align: left;
}

.pillar-section .content-section > *:first-child,
.pillar-section-alt .content-section > *:first-child,
.pillar-faq .content-section > *:first-child,
.pillar-cta .content-section > *:first-child {
  margin-top: 0 !important;
}

.pillar-section h2::after,
.pillar-section-alt h2::after,
.pillar-faq h2::after,
.pillar-cta h2::after {
  display: none !important;
}

/* Paragraaf ritme */
.pillar-section .content-section p,
.pillar-section-alt .content-section p {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1.075rem;
  max-width: 760px;
}

.pillar-section .content-section p:last-child,
.pillar-section-alt .content-section p:last-child {
  margin-bottom: 0;
}

/* Uniforme leesbreedte voor prose-elementen */
.pillar-section .content-section ul,
.pillar-section .content-section ol,
.pillar-section .content-section h3,
.pillar-section .content-section h4,
.pillar-section .content-section blockquote,
.pillar-section-alt .content-section ul,
.pillar-section-alt .content-section ol,
.pillar-section-alt .content-section h3,
.pillar-section-alt .content-section h4,
.pillar-section-alt .content-section blockquote {
  max-width: 760px;
}

/* Tabellen mogen volle breedte */
.pillar-section .content-section table,
.pillar-section-alt .content-section table {
  width: 100%;
  max-width: 100%;
}

/* H3 sub-ritme */
.pillar-section .content-section h3,
.pillar-section-alt .content-section h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.3;
}

.pillar-section .content-section h3:first-child,
.pillar-section-alt .content-section h3:first-child {
  margin-top: 0;
}

/* Lijsten = p typografie (uniform leesritme) */
.pillar-section .content-section ul,
.pillar-section .content-section ol,
.pillar-section-alt .content-section ul,
.pillar-section-alt .content-section ol,
.pillar-faq .faq-answer ul,
.pillar-faq .faq-answer ol {
  margin-top: 0.4rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.pillar-section .content-section li,
.pillar-section-alt .content-section li,
.pillar-faq .faq-answer li {
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 0.4rem;
  padding-left: 0.25rem;
}

.pillar-section .content-section ul,
.pillar-section-alt .content-section ul,
.pillar-faq .faq-answer ul {
  list-style: none;
  padding-left: 1.5rem;
}

.pillar-section .content-section ul > li,
.pillar-section-alt .content-section ul > li,
.pillar-faq .faq-answer ul > li {
  position: relative;
}

.pillar-section .content-section ul > li::before,
.pillar-section-alt .content-section ul > li::before,
.pillar-faq .faq-answer ul > li::before {
  content: "";
  position: absolute;
  left: -1.15rem;
  top: 0.68rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary, #0d86f7);
}

.pillar-section .content-section ol,
.pillar-section-alt .content-section ol {
  list-style: decimal;
  padding-left: 1.75rem;
}

.pillar-section .content-section ol > li::marker,
.pillar-section-alt .content-section ol > li::marker {
  color: var(--primary, #0d86f7);
  font-weight: 600;
}

/* Hero-intro: compactere kop-naar-text */
.hero-pillar h1 { margin-bottom: 0.75rem; }
.hero-pillar .hero-intro { margin-bottom: 1.5rem; }
.hero-pillar .hero-intro p { margin-bottom: 0.75rem; }


/* ---------------------------------------------------------------------
   2. STICKY VERTICALE SIDE-NAV (pillar-sidenav)
   Layout: grid met sticky linker-kolom + main content-kolom
--------------------------------------------------------------------- */

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

.pillar-body-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.pillar-sidenav {
  position: sticky;
  top: calc(var(--header-height, 97px) + 1.5rem);
  align-self: start;
  max-height: calc(100vh - var(--header-height, 97px) - 3rem);
  overflow-y: auto;
  scrollbar-width: thin;
  padding-bottom: 2rem;
}

.pillar-sidenav::-webkit-scrollbar {
  width: 4px;
}

.pillar-sidenav::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.pillar-sidenav-inner {
  padding: 1.5rem 0;
  border-left: 1px solid var(--border);
}

.pillar-sidenav-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #94a3b8);
  padding: 0 1rem;
  margin: 0 0 0.75rem 0;
}

.pillar-sidenav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillar-sidenav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pillar-sidenav-list li::before,
.pillar-sidenav-list li::after {
  content: none;
  display: none;
}

.pillar-sidenav-list li a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light, #5A6B7C);
  line-height: 1.4;
  border-left: 2px solid transparent;
  margin-left: -1px;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pillar-sidenav-list li a:hover {
  color: var(--primary);
  border-left-color: rgba(13, 134, 247, 0.35);
}

.pillar-sidenav-list li a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--bg-brand-soft, #EBF5FF);
  font-weight: 600;
}

/* Content-kolom: laat secties volledige kolom-breedte vullen
   (geen centered max-width meer - dat deed de grid al) */
.pillar-content .pillar-section,
.pillar-content .pillar-section-alt {
  background: transparent;
}

.pillar-content .pillar-section-inner {
  width: 100%;
  max-width: 100%;
}

/* Alternerende secties: subtiele achtergrond op alt-variant */
.pillar-content .pillar-section-alt {
  background: transparent;
}

/* Compact mobile: side-nav wordt statisch bovenin, horizontaal */
@media (max-width: 960px) {
  .pillar-body-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 1.25rem;
  }

  .pillar-sidenav {
    position: relative;
    top: auto;
    max-height: none;
    overflow-y: visible;
    padding: 1rem 0 0;
  }

  .pillar-sidenav-inner {
    border-left: none;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
  }

  .pillar-sidenav-label {
    padding: 0;
    margin-bottom: 0.5rem;
  }

  .pillar-sidenav-list {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pillar-sidenav-list::-webkit-scrollbar { display: none; }

  .pillar-sidenav-list li a {
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    border-left: none;
    border-bottom: 2px solid transparent;
    margin-left: 0;
  }

  .pillar-sidenav-list li a:hover {
    border-left: none;
    border-bottom-color: rgba(13, 134, 247, 0.35);
  }

  .pillar-sidenav-list li a.active {
    border-left: none;
    border-bottom-color: var(--primary);
    background: transparent;
  }
}

/* Print: verberg side-nav */
@media print {
  .pillar-sidenav { display: none; }
  .pillar-body-inner { grid-template-columns: 1fr; }
}


/* ---------------------------------------------------------------------
   CONTEXT-AWARE LINK COLORS (behouden uit v1)
--------------------------------------------------------------------- */

.hero a,
.hero-pillar a,
.hero-location a,
.hero-service a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.hero a:hover,
.hero-pillar a:hover,
.hero-location a:hover,
.hero-service a:hover {
  color: var(--accent, #f59e0b);
  text-decoration-color: var(--accent, #f59e0b);
}

.hero a.btn,
.hero-pillar a.btn,
.hero-location a.btn,
.hero-service a.btn {
  color: inherit;
  text-decoration: none;
}

.hero a.btn.btn-primary,
.hero-pillar a.btn.btn-primary,
.hero-location a.btn.btn-primary,
.hero-service a.btn.btn-primary {
  color: #ffffff;
}

/* MAIN CTA: amber op blauwe gradient achtergronden */
.hero .btn-primary,
.hero-pillar .btn-primary,
.pillar-cta .btn-primary,
.cta-section .btn-primary {
  background: var(--accent, #f59e0b);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  text-decoration: none !important;
  font-weight: 700;
}

.hero .btn-primary:hover,
.hero-pillar .btn-primary:hover,
.pillar-cta .btn-primary:hover,
.cta-section .btn-primary:hover {
  background: var(--accent-dark, #d97706);
  color: #ffffff !important;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45);
  transform: translateY(-1px);
}

.hero .btn-secondary,
.hero-pillar .btn-secondary,
.pillar-cta .btn-secondary,
.cta-section .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none !important;
}

.hero .btn-secondary:hover,
.hero-pillar .btn-secondary:hover,
.pillar-cta .btn-secondary:hover,
.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.65);
}

.pillar-cta a,
.cta-section a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 3px;
}

.pillar-cta a:hover,
.cta-section a:hover {
  color: var(--accent, #f59e0b);
  text-decoration-color: var(--accent, #f59e0b);
}

.pillar-cta a.btn,
.cta-section a.btn {
  text-decoration: none;
}

.site-footer a {
  color: #c8d4dc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 2px;
}

.pillar-section-brand-soft a:not(.btn),
.bg-brand-soft a:not(.btn) {
  text-decoration: underline;
  text-decoration-color: rgba(13, 134, 247, 0.3);
  text-underline-offset: 3px;
}


/* ---------------------------------------------------------------------
   TOC (overzicht bovenaan) - compact
--------------------------------------------------------------------- */

.pillar-toc {
  padding: 2rem 0;
  background: var(--bg-light);
}

.pillar-toc .toc-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-weight: 600;
}

.pillar-toc .toc-list {
  list-style: decimal;
  padding-left: 1.5rem;
  column-count: 2;
  column-gap: 2rem;
  max-width: 900px;
}

.pillar-toc .toc-list li {
  break-inside: avoid;
  margin-bottom: 0.3rem;
}

.pillar-toc .toc-list li a {
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pillar-toc .toc-list li a:hover {
  color: var(--primary);
}

@media (max-width: 700px) {
  .pillar-toc .toc-list {
    column-count: 1;
  }
}


/* ---------------------------------------------------------------------
   FAQ LIST - strakker
--------------------------------------------------------------------- */

.pillar-faq .faq-list {
  max-width: 860px;
}

.pillar-faq .faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.pillar-faq .faq-item:last-child {
  border-bottom: none;
}

.pillar-faq .faq-item[open] {
  padding-bottom: 1.3rem;
}

.pillar-faq .faq-question {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  padding-right: 2rem;
  position: relative;
}

.pillar-faq .faq-question::-webkit-details-marker {
  display: none;
}

.pillar-faq .faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.2s ease;
  line-height: 1;
}

.pillar-faq .faq-item[open] .faq-question::after {
  content: "−";
}

.pillar-faq .faq-answer {
  margin-top: 0.55rem;
  color: var(--text-light);
  line-height: 1.7;
}

.pillar-faq .faq-answer p {
  margin-bottom: 0.6rem;
}

.pillar-faq .faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------
   ABOUT PAGE - over-ons layout
--------------------------------------------------------------------- */

.about-page {
  padding: 3rem 0;
}

.about-section {
  margin-bottom: 4rem;
}

.about-section h2 {
  margin-bottom: 1.25rem;
}

/* Text + image side-by-side */
.about-text-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text-image--reverse .about-text {
  order: 2;
}

.about-text-image--reverse .about-image {
  order: 1;
}

.about-image img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Values grid */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.about-value {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.about-value-icon {
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-value h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

/* Certs grid */
.about-certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-cert {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.about-cert img,
.about-cert-badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
}

.about-cert-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-cert h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.about-cert p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Referenties grid */
.about-refs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-ref {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text);
  font-size: 0.95rem;
}

/* CTA section */
.about-cta-section {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-brand-soft);
  border-radius: var(--radius);
}

.about-cta h2 {
  margin-bottom: 0.75rem;
}

.about-cta p {
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.about-cta-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .about-text-image {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-text-image--reverse .about-text,
  .about-text-image--reverse .about-image {
    order: unset;
  }
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .about-certs-grid {
    grid-template-columns: 1fr;
  }
  .about-refs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------------------------------------------------------------------
   TRUST BAR - horizontal strip of certifications & trust indicators
--------------------------------------------------------------------- */

.trust-bar {
  background: var(--bg-light, #f5f7f9);
  border-bottom: 1px solid var(--border, #e5eaf0);
  padding: 0.75rem 0;
}

.trust-bar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.925rem;
  color: var(--text-light, #5a6b7c);
  white-space: nowrap;
}

.trust-bar-item svg {
  color: var(--vth-groen, #3fae5e);
  flex-shrink: 0;
}

.trust-bar-item strong {
  color: var(--text, #1a2b3c);
  font-weight: 600;
}

@media (max-width: 768px) {
  .trust-bar-list {
    gap: 0.4rem 1rem;
  }
  .trust-bar-item {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .trust-bar-list {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .trust-bar-list::-webkit-scrollbar { display: none; }
}

/* ---------------------------------------------------------------------
   VTH COLOR BAR - 5-color decorative strip (matches logo)
--------------------------------------------------------------------- */

.vth-color-bar {
  display: flex;
  height: 5px;
  width: 100%;
}

.vth-color-bar span {
  flex: 1;
}

.vth-color-bar .c-oranje { background: var(--vth-oranje); }
.vth-color-bar .c-geel { background: var(--vth-geel); }
.vth-color-bar .c-groen { background: var(--vth-groen); }
.vth-color-bar .c-blauw { background: var(--vth-blauw); }
.vth-color-bar .c-rood { background: var(--vth-rood); }

/* ---------------------------------------------------------------------
   HERO IMAGE - responsive <picture> with overlay text
--------------------------------------------------------------------- */

.hero-has-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.hero-has-image .hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-has-image .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-has-image .hero-content {
  position: relative;
  z-index: 1;
}

/* Dark overlay for text readability - VTH brand blue */
.hero-has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 95, 131, 0.88) 0%,
    rgba(42, 171, 226, 0.65) 50%,
    rgba(20, 95, 131, 0.78) 100%
  );
  z-index: 0;
}

.hero-has-image .hero-content {
  z-index: 1;
}

.hero-has-image h1,
.hero-has-image .hero-intro,
.hero-has-image .hero-intro p,
.hero-has-image .hero-meta {
  color: #fff;
}

.hero-has-image .hero-intro a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero-has-image {
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  .hero-has-image {
    min-height: 280px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   HERO — tagline + proof chips + page-lead (24 apr 2026)
   Vervangt lange intro_md in hero door:
   1. hero-tagline: eerste zin, max 1 regel
   2. hero-proof: 3 scanbare chips (prijs / cert / tijd)
   3. page-lead: volledige intro_md ONDER hero/trust-bar
   ═══════════════════════════════════════════════════════════════ */

/* ── Tagline (1 zin, vervangt volledige hero-intro paragraph) ── */
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.65;
  margin: 0 0 1.4rem;
  max-width: 580px;
  font-weight: 400;
}
.hero-tagline strong,
.hero-tagline b { color: #fff; font-weight: 700; }

/* ── Proof chips ────────────────────────────────────────────── */
.hero-proof {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  animation: heroFade 0.45s ease both;
  animation-delay: 0.3s;
}

.hero-proof-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  padding: 0.3rem 0.8rem 0.3rem 0.5rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.hero-proof-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Per type een eigen accentkleur (VTH merkkleuren) */
.hero-proof-price svg { color: #fab633; }
.hero-proof-cert svg  { color: #3fae5e; }
.hero-proof-time svg  { color: #7dd3fc; }

@media (max-width: 480px) {
  .hero-proof-item { font-size: 0.78rem; }
}

/* ── Page lead — volledige intro ONDER de hero ──────────────── */
.page-lead {
  background: #fff;
  border-bottom: 1px solid var(--color-border, #e4ebf1);
  padding: 1.75rem 0;
}

.page-lead .container {
  max-width: 900px;
}

.page-lead p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text, #414142);
  margin: 0 0 0.9rem;
}

.page-lead p:last-child { margin-bottom: 0; }


@media (max-width: 640px) {
  .page-lead { padding: 1.25rem 0; }
  .page-lead p { font-size: 1rem; }
}

/* Animatie meenemen voor hero-tagline */
.hero-tagline {
  animation: heroFade 0.4s ease both;
  animation-delay: 0.18s;
}

/* ═══════════════════════════════════════════════════════════════
   HERO TRUST TRIO — 3 gestapelde checkmark-items naast CTA-knop
   Vervangt de oude .hero-meta plain-text paragraf.
   ═══════════════════════════════════════════════════════════════ */

.hero-trust-trio {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-trust-trio li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.93);
  line-height: 1.25;
  list-style: none;
}

/* Reset global ul li::before die een blauwe bol toevoegt */
.hero-trust-trio li::before,
.hero-trust-trio li::after {
  content: none !important;
  display: none !important;
}

.hero-trust-trio li svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

/* Op hero zonder achtergrondafbeelding (donkere tekst) — aanpassen naar muted dark */
.hero:not(.hero-has-image) .hero-trust-trio li {
  color: rgba(26, 43, 60, 0.75);
}

.hero:not(.hero-has-image) .hero-trust-trio li svg {
  stroke: #3fae5e;
}

/* Mobile: trust trio onder de knop, niet ernaast */
@media (max-width: 600px) {
  .hero-cta {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .hero-trust-trio {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   PILLAR INTRO — intro_md als eerste content in pillar-content
   Vervangt de zwevende .page-lead module. Left-aligned, in-flow.
   ═══════════════════════════════════════════════════════════════ */

.pillar-intro {
  padding: 2rem 2rem 1.75rem;
  border-bottom: 1px solid var(--border, #e4ebf1);
  border-left: 3px solid var(--vth-oranje, #fab633);
  background: rgba(250, 182, 51, 0.03);
}

.pillar-intro p {
  font-size: 1.075rem;
  line-height: 1.8;
  color: var(--text, #414142);
  margin: 0 0 0.9rem;
}

.pillar-intro p:last-child {
  margin-bottom: 0;
}

.pillar-intro a {
  color: var(--primary, #0d86f7);
  text-decoration: underline;
  text-decoration-color: rgba(13, 134, 247, 0.35);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
}

.pillar-intro a:hover {
  text-decoration-color: var(--primary, #0d86f7);
}

/* Banner-stijl pillar intro (geen sidebar) */
.pillar-intro-banner {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border, #e4ebf1);
  background: #fff;
}

.pillar-intro-banner .container {
  max-width: 900px;
  border-left: 3px solid var(--vth-oranje, #fab633);
  padding-left: 1.5rem;
}

.pillar-intro-banner p {
  font-size: 1.075rem;
  line-height: 1.8;
  color: var(--text, #414142);
  margin: 0 0 0.9rem;
}

.pillar-intro-banner p:last-child {
  margin-bottom: 0;
}

/* Mobile: verwijder left border, toon als top accent */
@media (max-width: 960px) {
  .pillar-intro {
    padding: 1.5rem 0 1.25rem;
    border-left: none;
    border-top: 3px solid var(--vth-oranje, #fab633);
    background: transparent;
    margin: 0;
  }

  .pillar-intro-banner .container {
    border-left: none;
    border-top: 3px solid var(--vth-oranje, #fab633);
    padding-left: 0;
    padding-top: 1rem;
  }
}

/* -----------------------------------------------------------------
   PILLAR INLINE IMAGES — visuele onderbrekingen binnen content
------------------------------------------------------------------ */

.pillar-inline-image {
  margin: 0.5rem 0 2.5rem;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  line-height: 0;
}

.pillar-inline-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 480px;
}

/* Side-style: geen .container wrapper, afbeelding vult pillar-content breedte */
.pillar-content .pillar-inline-image {
  margin: 0.5rem 0 2rem;
}

/* -----------------------------------------------------------------
   PILLAR INLINE CTA — tussenliggende bel-oproep na elke 4 secties
------------------------------------------------------------------ */

.pillar-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--bg-brand-soft, #EBF5FF);
  border-left: 4px solid var(--primary, #2aabe2);
  border-radius: var(--radius, 12px);
  padding: 1rem 1.5rem;
  margin: 0 0 2.5rem;
}

.pillar-inline-cta p {
  margin: 0;
  font-weight: 600;
  font-size: 1.025rem;
  color: var(--text, #1A2B3C);
}

/* Side-style: geen .container wrapper */
.pillar-content .pillar-inline-cta {
  margin: 0 0 2rem;
}

@media (max-width: 640px) {
  .pillar-inline-cta {
    flex-direction: column;
    text-align: center;
  }
}


/* ============================================================
   STAD SUB-NAV — tab-strip onder de hoofdnavigatie
   Pattern: bottom-border active indicator (GitHub / GOV.UK stijl)
   ============================================================ */

.stad-subnav {
  background: #fff;
  border-bottom: 1px solid var(--border, #E5EAF0);
  position: sticky;
  top: 0;
  z-index: 500;
}

.stad-subnav-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.stad-subnav-inner::-webkit-scrollbar { display: none; }

/* Locatie-badge links */
.stad-subnav-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary, #2aabe2);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 1rem 0 0;
  flex-shrink: 0;
}

.stad-subnav-location svg {
  stroke: var(--accent, #fab633);
}

/* Verticale scheidingslijn */
.stad-subnav-divider {
  width: 1px;
  background: var(--border, #E5EAF0);
  margin: 8px 0.75rem 8px 0;
  flex-shrink: 0;
}

/* Tab-lijst */
.stad-subnav-tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  align-items: stretch;
}

/* Tab-link */
.stad-subnav-tab {
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted, #64748b);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px; /* overlapt de border-bottom van .stad-subnav */
  transition: color 0.15s ease, border-color 0.15s ease;
  height: 100%;
  box-sizing: border-box;
}

.stad-subnav-tab:hover {
  color: var(--primary, #2aabe2);
  border-bottom-color: var(--border, #E5EAF0);
}

/* Actieve tab */
.stad-subnav-tab.is-active {
  color: var(--primary, #2aabe2);
  font-weight: 600;
  border-bottom-color: var(--primary, #2aabe2);
}

/* Mobile */
@media (max-width: 640px) {
  .stad-subnav-inner {
    height: 40px;
  }

  .stad-subnav-location {
    font-size: 0.72rem;
    padding-right: 0.75rem;
  }

  .stad-subnav-tab {
    font-size: 0.78rem;
    padding: 0 0.65rem;
  }
}
