/* De AI Meesters — gedeeld stylesheet (regio-pagina's e.d.)
   Design tokens conform Shared-context/brandguide.md */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Rubik', 'Segoe UI', Arial, sans-serif;
  color: #1B1917;
  line-height: 1.6;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: #25262A;
  line-height: 1.2;
  font-weight: 600;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1170px; margin: 0 auto; padding: 0 24px; }
.section-label {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #FF7B01;
  margin-bottom: 12px; display: block;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Rubik', sans-serif; font-weight: 500; font-size: 16px;
  padding: 14px 28px; border-radius: 0.375em; border: none; cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: #FF7B01; color: #FFFFFF; }
.btn-primary:hover { background: #DE6B00; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,123,1,0.3); }
.btn-white { background: #FFFFFF; color: #25262A; }
.btn-white:hover { background: #F7F3EB; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn-arrow::after { content: '→'; transition: transform 0.2s; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 100; background: #FFFFFF; border-bottom: 1px solid rgba(0,0,0,0.06); backdrop-filter: blur(12px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; color: #25262A; letter-spacing: -0.3px; }
.nav-logo span { color: #FF7B01; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-family: 'Rubik', sans-serif; font-size: 15px; font-weight: 400; color: #6E6E6E; transition: color 0.2s; }
.nav-links a:hover { color: #25262A; }
.nav-cta { font-size: 14px !important; padding: 10px 20px !important; }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.nav-mobile-toggle span { display: block; width: 24px; height: 2px; background: #25262A; margin: 5px 0; transition: all 0.3s; }

/* Page hero */
.page-hero { background: linear-gradient(285deg, #FF7B01 -1.5%, #25262A 100%); padding: 64px 0 72px; position: relative; overflow: hidden; text-align: center; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 20%, rgba(255,123,1,0.15) 0%, transparent 60%); pointer-events: none; }
.page-hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.page-hero h1 { color: #FFFFFF; font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 18px; line-height: 1.7; margin-bottom: 28px; }
.page-hero .hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* Content sections */
.section { padding: 72px 0; }
.section.beige { background: #F7F3EB; }
.section h2 { font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 16px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 17px; color: #3a3a3a; line-height: 1.75; margin-bottom: 18px; }
.prose h2 { margin-top: 8px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.card { background: #FFFFFF; border-radius: 12px; padding: 28px 24px; border: 1px solid rgba(0,0,0,0.06); display: flex; flex-direction: column; }
.section.beige .card { background: #FFFFFF; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 15px; color: #6E6E6E; line-height: 1.6; }
.card .num { font-family: 'Poppins', sans-serif; font-weight: 700; color: #FF7B01; font-size: 22px; margin-bottom: 8px; }

/* CTA */
.cta-section { background: linear-gradient(285deg, #FF7B01 -1.5%, #25262A 100%); padding: 72px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 80%, rgba(255,123,1,0.12) 0%, transparent 60%); pointer-events: none; }
.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-section h2 { color: #FFFFFF; font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 17px; margin-bottom: 28px; line-height: 1.7; }
.cta-note { font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 16px; }

/* Footer */
.footer { background: #25262A; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; color: #FFFFFF; margin-bottom: 12px; }
.footer-brand span { color: #FF7B01; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 16px; }
.footer-contact a { display: block; font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.footer-contact a:hover { color: #FF7B01; }
.footer-col h4 { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; color: #FFFFFF; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.footer-col a:hover { color: #FF7B01; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.5); }

/* Regio-links */
.regio-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.regio-links a { background: #F7F3EB; color: #25262A; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 8px; transition: background 0.2s; }
.regio-links a:hover { background: #FF7B01; color: #FFFFFF; }

/* Article (kennisbank) */
.article { max-width: 720px; margin: 0 auto; padding: 56px 24px 24px; }
.article .kicker { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #FF7B01; }
.article h1 { font-size: clamp(28px, 4vw, 40px); margin: 12px 0 12px; line-height: 1.15; }
.article .meta { font-size: 14px; color: #6E6E6E; margin-bottom: 8px; }
.article .lead { font-size: 19px; color: #3a3a3a; line-height: 1.6; margin: 20px 0 8px; }
.article h2 { font-size: clamp(21px, 3vw, 27px); margin: 36px 0 12px; }
.article h3 { font-size: 18px; margin: 24px 0 8px; }
.article p { font-size: 17px; color: #2b2b2b; line-height: 1.75; margin-bottom: 18px; }
.article ul.bullets, .article ol.bullets { margin: 0 0 18px 22px; }
.article ul.bullets { list-style: disc; }
.article ol.bullets { list-style: decimal; }
.article ul.bullets li, .article ol.bullets li { font-size: 17px; color: #2b2b2b; line-height: 1.7; margin-bottom: 8px; padding-left: 4px; }
.article .callout { background: #F7F3EB; border-left: 3px solid #FF7B01; border-radius: 8px; padding: 18px 20px; margin: 24px 0; font-size: 16px; color: #3a3a3a; }
.article a.inline { color: #DE6B00; text-decoration: underline; }
.article .article-cta { background: #F7F3EB; border-radius: 12px; padding: 28px; text-align: center; margin: 40px 0 8px; }
.article .article-cta h3 { margin: 0 0 8px; font-size: 20px; }
.article .article-cta p { font-size: 15px; color: #6E6E6E; margin-bottom: 16px; }
/* Inhoudsopgave (TOC) — standaard na de samenvatting */
.article .toc { background: #F7F3EB; border-radius: 10px; padding: 18px 22px; margin: 28px 0 32px; }
.article .toc-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #25262A; margin: 0 0 10px; }
.article .toc ol { margin: 0; padding-left: 20px; }
.article .toc li { font-size: 16px; line-height: 1.5; margin: 7px 0; padding-left: 4px; }
.article .toc a { color: #DE6B00; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .15s; }
.article .toc a:hover { color: #FF7B01; }
.article .toc li::marker { color: #FF7B01; font-weight: 600; }
.article .toc-sub { list-style: none; padding-left: 6px; margin: 6px 0 4px; }
.article .toc-sub li { font-size: 15px; margin: 5px 0; }
.article .toc-sub a { color: #6E6E6E; text-decoration: underline; text-decoration-color: rgba(222,107,0,.4); }
.article .toc-sub a:hover { color: #DE6B00; text-decoration-color: #DE6B00; }
.article h2, .article h3 { scroll-margin-top: 90px; }
html { scroll-behavior: smooth; }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .nav-mobile-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 20px; background: #FFFFFF;
    border-top: 1px solid rgba(0,0,0,0.08); border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 99;
  }
  .nav { position: relative; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { display: block; padding: 13px 0; font-size: 16px; color: #25262A; border-bottom: 1px solid rgba(0,0,0,0.05); width: 100%; }
  .nav-links .btn { margin-top: 14px; text-align: center; width: 100%; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero .hero-buttons { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) { .container { padding: 0 16px; } }

/* ===================== LANDINGSPAGINA-CONTENT (regio/sector) ===================== */
.prose a { color:#DE6B00; text-decoration:underline; text-underline-offset:2px; }
.prose a:hover { color:#FF7B01; }
.prose h3 { font-size:19px; margin:26px 0 8px; }
.prose .updated { font-family:'Inter',sans-serif; font-size:13px; color:#9a9a9a; text-decoration:none; margin:0 0 18px; }
.pullquote { max-width:760px; margin:32px auto; padding:6px 0 6px 24px; border-left:3px solid #FF7B01; }
.pullquote p { font-family:'Poppins',sans-serif; font-size:21px; line-height:1.5; color:#25262A; font-weight:500; margin-bottom:10px; }
.pullquote cite { font-family:'Rubik',sans-serif; font-size:15px; font-style:normal; color:#6E6E6E; }
.faq-q { font-size:19px; margin:26px 0 6px; }

/* ===================== ARTIKEL-DATATABEL ===================== */
.article .data-table { width:100%; border-collapse:collapse; margin:24px 0; font-size:15px; }
.article .data-table th, .article .data-table td { text-align:left; padding:10px 14px; border-bottom:1px solid #E7E0D2; }
.article .data-table thead th { background:#F7F3EB; font-family:'Poppins',sans-serif; font-weight:600; color:#25262A; }
.article .data-table tbody tr:last-child td { border-bottom:none; }
@media (max-width:600px){ .article .data-table { font-size:13.5px; } .article .data-table th, .article .data-table td { padding:8px 10px; } }

/* ===================== LEES OOK-BLOK (hub-and-spoke) ===================== */
.lees-ook { margin:44px 0 0; padding:24px 26px; background:#F7F3EB; border-radius:12px; }
.lees-ook h2 { font-size:18px; margin:0 0 12px; }
.lees-ook a { display:block; padding:13px 0; border-top:1px solid #E7E0D2; text-decoration:none; color:inherit; }
.lees-ook a:first-of-type { border-top:none; padding-top:2px; }
.lees-ook a strong { display:block; color:#FF7B01; font-family:'Poppins',sans-serif; font-weight:600; font-size:15px; }
.lees-ook a span { color:#6E6E6E; font-size:14px; }
.lees-ook a:hover strong { color:#DE6B00; }
a.kicker { text-decoration:none; }
a.kicker:hover { color:#DE6B00; }

/* ===================== KAARTGRID 2x2 (thema met 4 spokes) ===================== */
.cards.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) { .cards.cards-2 { grid-template-columns: 1fr; } }

/* ===================== KAARTGRID 4 op een rij (4 fasen) ===================== */
.cards.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cards.cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards.cards-4 { grid-template-columns: 1fr; } }

/* 3-per-rij, maar laatste rij gecentreerd (voor aantallen die niet door 3 deelbaar zijn, bijv. 5) */
.cards.cards-center { display: flex; flex-wrap: wrap; justify-content: center; }
.cards.cards-center .card { flex: 0 1 calc(33.333% - 16px); }
@media (max-width: 768px) { .cards.cards-center .card { flex-basis: 100%; } }

/* ===================== KLIKBARE KAARTEN (kennisbank + thema's) ===================== */
.card { text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); border-color: #FF7B01; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; color: #FF7B01; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; }
.card-more::after { content: "\2192"; transition: transform .18s ease; }
.card:hover .card-more { color: #DE6B00; }
.card:hover .card-more::after { transform: translateX(4px); }

/* Automatische pijler-nummering: elke .card in een .cards-numbered grid krijgt
   automatisch een oplopend nummer (DOM-volgorde). Nieuwe pijlers nummeren zo
   vanzelf; herordenen hernummert vanzelf. Zet de kaarten in de juiste
   klant-volgorde, het nummer volgt. */
.cards-numbered { counter-reset: pijler; }
.cards-numbered > .card { counter-increment: pijler; }
.cards-numbered > .card::before { content: counter(pijler); font-family: 'Poppins', sans-serif; font-weight: 700; color: #FF7B01; font-size: 22px; line-height: 1; margin-bottom: 8px; }
