/* ============ Leerfonds.nl — shared styles ============ */
:root{
  --navy:#16305c;
  --navy-light:#1e3a6e;
  --green:#4caf3d;
  --green-dark:#3d8f2f;
  --bg-light:#eef2f5;
  --bg-soft:#f4f7f2;
  --text:#2b2f36;
  --text-light:#5b6472;
  --white:#ffffff;
  --border:#e2e6ea;
  --shadow: 0 10px 30px rgba(22,48,92,0.08);
  --radius: 14px;
  font-size:16px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
section[id], [id="voorwaarden"], [id="aanvraagformulier"]{scroll-margin-top:88px;}
body{
  margin:0;
  font-family:"Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.6;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{margin:0; padding:0; list-style:none;}
h1,h2,h3,h4{margin:0 0 .5em; color:var(--navy); line-height:1.25;}
p{margin:0 0 1em;}
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 32px;
}
.green{color:var(--green);}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 24px;
  border-radius:8px;
  font-weight:600;
  font-size:.98rem;
  cursor:pointer;
  border:2px solid transparent;
  transition:all .2s ease;
}
.btn-primary{
  background:var(--green);
  color:var(--white);
}
.btn-primary:hover{background:var(--green-dark);}
.btn-outline{
  background:transparent;
  border-color:var(--navy);
  color:var(--navy);
}
.btn-outline:hover{background:var(--navy); color:var(--white);}
.btn-header{
  background:var(--green);
  color:var(--white);
  padding:11px 20px;
  border-radius:8px;
}
.btn-header:hover{background:var(--green-dark);}
.btn-block{width:100%; justify-content:center;}
.btn[disabled]{opacity:.6; cursor:not-allowed;}

/* ---------- Header ---------- */
header.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--white);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 32px;
  max-width:1200px;
  margin:0 auto;
  gap:24px;
}
.logo{display:flex; align-items:center; gap:12px;}
.logo-text{display:flex; flex-direction:column; line-height:1.1;}
.logo-text .brand{font-size:1.4rem; font-weight:800; color:var(--navy);}
.logo-text .brand span{color:var(--green);}
.logo-text .tagline{font-size:.72rem; color:var(--text-light);}
nav.main-nav ul{display:flex; gap:30px;}
nav.main-nav a{
  font-weight:600;
  color:var(--text);
  font-size:.98rem;
  padding:6px 0;
  border-bottom:2px solid transparent;
  transition:all .2s;
}
nav.main-nav a:hover, nav.main-nav a.active{
  color:var(--green);
  border-bottom-color:var(--green);
}
.header-cta{display:flex; align-items:center; gap:20px;}
.nav-toggle{
  display:none;
  background:none;
  border:none;
  font-size:1.6rem;
  color:var(--navy);
  cursor:pointer;
}

@media (max-width: 900px){
  nav.main-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0; right:0;
    background:var(--white);
    border-bottom:1px solid var(--border);
    box-shadow:var(--shadow);
  }
  nav.main-nav.open{display:block;}
  nav.main-nav ul{flex-direction:column; padding:16px 32px; gap:14px;}
  .header-cta .btn-header{padding:9px 16px; font-size:.9rem;}
  .nav-toggle{display:block;}
}

/* ---------- Hero ---------- */
.hero{
  background:var(--bg-light);
}
.hero-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:40px;
  max-width:1200px;
  margin:0 auto;
  padding:0 32px;
}
.hero-content{padding:70px 0;}
.hero-content h1{font-size:2.6rem; margin-bottom:20px;}
.hero-content p{color:var(--text-light); font-size:1.05rem; max-width:520px;}
.hero-actions{display:flex; gap:14px; margin-top:26px; flex-wrap:wrap;}
.hero-image{height:100%; min-height:380px; overflow:hidden;}
.hero-image img{width:100%; height:100%; object-fit:cover;}

@media (max-width:900px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-content{padding:44px 0 20px;}
  .hero-content h1{font-size:2rem;}
  .hero-image{min-height:260px; order:-1; margin-top:0;}
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero{
  background:var(--navy);
  color:var(--white);
  padding:70px 0;
  text-align:center;
}
.page-hero h1{color:var(--white); font-size:2.4rem;}
.page-hero p{color:#c7d3e5; max-width:640px; margin:0 auto;}

/* ---------- Feature strip ---------- */
.feature-strip{
  padding:50px 0;
}
.feature-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:0;
}
.feature-item{
  text-align:center;
  padding:0 24px;
  border-left:1px solid var(--border);
}
.feature-item:first-child{border-left:none;}
.feature-icon{
  width:64px; height:64px;
  margin:0 auto 16px;
  border-radius:50%;
  background:var(--bg-light);
  display:flex; align-items:center; justify-content:center;
  font-size:1.7rem;
}
.feature-item h3{font-size:1.05rem; margin-bottom:6px;}
.feature-item p{color:var(--text-light); font-size:.92rem; margin:0;}

@media (max-width:900px){
  .feature-grid{grid-template-columns:1fr 1fr; row-gap:36px;}
  .feature-item{border-left:none;}
}
@media (max-width:560px){
  .feature-grid{grid-template-columns:1fr;}
}

/* ---------- Two column section ---------- */
.split-section{
  background:var(--bg-soft);
  padding:60px 0;
}
.split-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
}
.card{
  background:var(--white);
  border-radius:var(--radius);
  padding:34px;
  box-shadow:var(--shadow);
}
.card-dark{
  background:var(--navy);
  color:var(--white);
}
.card-dark h2{color:var(--white);}
.card-dark p{color:#c7d3e5;}

.support-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px 30px;
  margin:26px 0;
}
.support-item{display:flex; gap:14px;}
.support-item .icon{
  flex:none;
  width:40px; height:40px;
  border-radius:8px;
  background:var(--bg-light);
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem;
}
.support-item h3{font-size:1rem; margin-bottom:4px;}
.support-item p{color:var(--text-light); font-size:.9rem; margin:0;}

.check-list{margin:20px 0; display:flex; flex-direction:column; gap:12px;}
.check-list li{display:flex; align-items:center; gap:10px; font-weight:500;}
.check-list li::before{
  content:"✓";
  flex:none;
  width:22px; height:22px;
  border-radius:50%;
  background:var(--green);
  color:var(--white);
  font-size:.75rem;
  display:flex; align-items:center; justify-content:center;
}
.card-image{
  margin-top:24px;
  border-radius:var(--radius);
  overflow:hidden;
}
.link-line{
  display:flex; align-items:center; gap:10px;
  margin-top:20px;
  font-size:.92rem;
}
.link-line a{color:var(--green); font-weight:600;}
.link-line a:hover{text-decoration:underline;}

@media (max-width:900px){
  .split-grid{grid-template-columns:1fr;}
  .support-list{grid-template-columns:1fr;}
}

/* ---------- Generic content section ---------- */
.section{padding:64px 0;}
.section-header{max-width:680px; margin:0 auto 40px; text-align:center;}
.section-header p{color:var(--text-light);}

.content-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
@media (max-width:900px){
  .content-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:600px){
  .content-grid{grid-template-columns:1fr;}
}

.info-card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px;
  transition:box-shadow .2s, transform .2s;
}
.info-card:hover{box-shadow:var(--shadow); transform:translateY(-3px);}
.info-card .icon{
  width:52px; height:52px;
  border-radius:10px;
  background:var(--bg-light);
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem;
  margin-bottom:16px;
}

/* ---------- Stats ---------- */
.stats-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  text-align:center;
}
.stat-num{font-size:2.2rem; font-weight:800; color:var(--green);}
.stat-label{color:var(--text-light); font-size:.92rem;}
@media (max-width:700px){
  .stats-row{grid-template-columns:1fr 1fr;}
}

/* ---------- Timeline (procedure) ---------- */
.timeline{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  counter-reset:step;
}
.timeline-step{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:26px;
  position:relative;
}
.timeline-step .num{
  width:38px; height:38px;
  border-radius:50%;
  background:var(--green);
  color:var(--white);
  font-weight:700;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}
@media (max-width:900px){
  .timeline{grid-template-columns:1fr 1fr;}
}
@media (max-width:560px){
  .timeline{grid-template-columns:1fr;}
}

/* ---------- Forms ---------- */
.form-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:40px;
  max-width:760px;
  margin:0 auto;
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.form-group{margin-bottom:20px;}
.form-group.full{grid-column:1 / -1;}
.form-section-title{
  margin:30px 0 16px;
  padding-top:24px;
  border-top:1px solid var(--border);
  color:var(--navy);
  font-size:1.05rem;
}
.form-card h4.form-section-title:first-of-type{border-top:none; padding-top:0; margin-top:20px;}
label{
  display:block;
  font-weight:600;
  font-size:.9rem;
  margin-bottom:6px;
  color:var(--navy);
}
input, select, textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:8px;
  font-size:.95rem;
  font-family:inherit;
  color:var(--text);
  background:var(--white);
}
input:focus, select:focus, textarea:focus{
  outline:none;
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(76,175,61,.15);
}
textarea{resize:vertical; min-height:120px;}
.required{color:var(--green);}
.form-hint{font-size:.82rem; color:var(--text-light); margin-top:16px;}
.form-status{
  margin-top:18px;
  padding:14px 16px;
  border-radius:8px;
  font-size:.92rem;
  display:none;
}
.form-status.success{display:block; background:#eaf7e6; color:#2e6b22; border:1px solid #bfe4b3;}
.form-status.error{display:block; background:#fdecea; color:#a3271b; border:1px solid #f3c2bd;}

/* Honeypot — visueel en voor screenreaders verborgen, maar wel invulbaar
   voor bots. Niet display:none: sommige bots slaan die velden juist over. */
.hp-wrap{
  position:absolute !important;
  left:-9999px !important;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
@media (max-width:700px){
  .form-row{grid-template-columns:1fr;}
  .form-card{padding:26px;}
}

/* ---------- Contact page ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:36px;
}
.contact-info-item{
  display:flex; gap:16px;
  padding:18px 0;
  border-bottom:1px solid var(--border);
}
.contact-info-item:last-child{border-bottom:none;}
.contact-info-item .icon{
  flex:none;
  width:44px; height:44px;
  border-radius:8px;
  background:var(--bg-light);
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem;
}
.contact-info-item h3{font-size:.98rem; margin-bottom:2px;}
.contact-info-item p, .contact-info-item a{color:var(--text-light); font-size:.92rem;}
.map-embed{
  margin-top:24px;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
}
.map-embed iframe{width:100%; height:220px; border:0; display:block;}

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

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--navy);
  color:var(--white);
  padding:56px 0;
  text-align:center;
}
.cta-band h2{color:var(--white);}
.cta-band p{color:#c7d3e5; max-width:560px; margin:0 auto 24px;}

/* ---------- Footer ---------- */
footer.site-footer{
  background:var(--navy);
  color:#c7d3e5;
  padding:56px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:40px;
  padding-bottom:40px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-brand .brand{font-size:1.3rem; font-weight:800; color:var(--white);}
.footer-brand .brand span{color:var(--green);}
.footer-brand p{margin-top:14px; font-size:.9rem; color:#a9b7cc;}
.anbi-badge{
  margin-top:18px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.78rem;
  color:#a9b7cc;
}
.anbi-badge .badge-circle{
  width:34px; height:34px;
  border-radius:50%;
  border:2px solid #a9b7cc;
  display:flex; align-items:center; justify-content:center;
  font-size:.6rem;
  font-weight:800;
}
footer h4{color:var(--white); font-size:1rem; margin-bottom:16px;}
footer ul li{margin-bottom:10px;}
footer a{color:#a9b7cc; font-size:.92rem;}
footer a:hover{color:var(--white);}
.footer-contact li{display:flex; gap:10px; align-items:flex-start;}
.footer-bottom{
  padding:20px 0;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  font-size:.82rem;
  color:#8ea0bb;
}
.footer-bottom a{color:#8ea0bb;}
.footer-bottom a:hover{color:var(--white);}

@media (max-width:900px){
  .footer-grid{grid-template-columns:1fr 1fr; gap:32px;}
}
@media (max-width:560px){
  .footer-grid{grid-template-columns:1fr;}
}

/* ---------- Utility ---------- */
.mt-0{margin-top:0;}
.text-center{text-align:center;}
.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--navy); color:var(--white); padding:10px 16px; z-index:200;
}
.skip-link:focus{left:10px; top:10px;}
