/* =========================
   Design tokens (kleuren, spacing, radius, schaduw)
========================= */
:root{
  --bg: #ffffff;
  --text: #23272f;
  --muted: #616b7a;
  --primary: #0077b6;
  --primary-600:#00679b;
  --border: #e6e9ee;
  --card-bg:#fff;
  --shadow: 0 6px 18px rgba(0,0,0,.06);
  --radius: 14px;
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 16px;
  --space-4: 22px;
  --space-5: 32px;
  --space-6: 48px;
}

/* =========================
   Basislayout / typografie
========================= */
*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  display:flex; flex-direction:column; min-height:100vh;
  background:var(--bg); color:var(--text);
  font-family:"Segoe UI", Roboto, Arial, sans-serif;
  line-height:1.6;
}
main{flex:1; padding-bottom:80px}
a{color:var(--primary); text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%; display:block}

.container{max-width:1100px; margin:0 auto; padding:0 20px}

/* =========================
   Secties & titels
========================= */
.section{padding: var(--space-6) 0}
.section .intro{
  max-width:750px; margin:0 auto var(--space-4);
  color:var(--muted)
}

.section h2{
  font-size:2rem; text-align:center; margin:0 0 var(--space-3);
  position:relative; color:#1f2430;
}
.section h2::after{
  content:""; width:64px; height:3px; display:block; margin:10px auto 0;
  background:var(--primary); border-radius:3px;
}

/* =========================
   Cards & grids (herbruikbaar)
========================= */
.grid{display:grid; gap:22px}
.grid-2{grid-template-columns: repeat(2, minmax(0,1fr))}
.grid-3{grid-template-columns: repeat(3, minmax(0,1fr))}

.card{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:var(--space-4);
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{ transform: translateY(-3px); box-shadow:0 10px 22px rgba(0,0,0,.08) }

.card h3{ margin:0 0 10px; font-size:1.25rem; color:#202632}
.card .sub{ color:var(--muted); margin:0 0 12px }
.card ul{ margin:0 0 8px 20px; padding:0 }
.card li{ margin-bottom:6px }
.card .resultaat{ margin-top:8px; font-weight:600; color:var(--primary) }

.badge{
  display:inline-block; padding:4px 8px; border-radius:999px;
  background:#eef6fb; color:#0a5f8a; font-size:.85rem; border:1px solid #d6e8f3;
}

/* =========================
   Knoppen
========================= */
.btn{
  display:inline-block; padding:12px 18px; border-radius:10px;
  background:var(--primary); color:#fff; border:1px solid var(--primary-600);
  text-decoration:none; font-weight:600;
}
.btn:hover{ filter:brightness(.95) }

/* =========================
   Diensten / Projecten secties
========================= */
.section-diensten .grid,
.section-projecten .grid{
  /* 2 kolommen op desktop, 1 kolom mobiel */
}
.dienst-card, .project-card{ /* beiden zijn .card */
  /* je HTML kan beide klassen laten staan; design komt uit .card */
}

/* Placeholder voor (nog) geen afbeeldingen */
.img-placeholder{
  width:100%; aspect-ratio: 16 / 9;
  border-radius:12px; overflow:hidden; margin-bottom:12px;
  background: linear-gradient(135deg, #eaf4fb, #f5f8fc);
  display:grid; place-items:center;
  border:1px solid var(--border);
}
.img-placeholder span{
  color:#7c8b9d; font-weight:600; letter-spacing:.2px;
}

/* =========================
   Over-mij "kaart" stijl
========================= */
.section-over-mij .card{
  padding: var(--space-5);
}

/* =========================
   Footer (sticky)
========================= */
footer{
  margin-top:auto; width:100%; background:#f8f9fa; text-align:center;
  padding:10px 0; border-top:1px solid #e0e0e0;
  color:#4b5563;
  font-size:.95rem;
}

/* =========================
   Responsiveness
========================= */
@media (max-width: 960px){
  .grid-2, .grid-3{ grid-template-columns: 1fr }
  .section{ padding: 40px 0 }
  .section h2{ font-size:1.7rem }
}

/* =========================
   Motion- & accesibility
========================= */
@media (prefers-reduced-motion: reduce){
  *{animation:none!important; transition:none!important}
}
/* Diensten sectie – uniforme look */
.section-diensten .dienst-card .punten { margin-left: 18px; }
.section-diensten .dienst-card .sub { color: var(--muted); }

/* Icoonrondje voor elke dienst (emoji of later SVG) */
.dienst-icon{
  width: 40px; height: 40px;
  border-radius: 50%;
  display:grid; place-items:center;
  background: #eef6fb;
  border: 1px solid #d6e8f3;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Extra-blok laat ook als kaart zien */
.dienst-extra{
  margin-top: 26px;
}
.dienst-extra h4{
  margin: 0 0 8px 0;
}
.dienst-extra ul{
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

/* Kleinere schermen */
@media (max-width: 960px){
  .section-diensten .cta { margin-top: 18px; }
}
/* Contactformulier */
.contact-form label{display:block; font-weight:600; margin:0 0 6px}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:10px;
  padding:12px 12px;
  outline:none;
  font: inherit;
  background:#fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form textarea{ resize: vertical; min-height: 140px }
.contact-form input:focus,
.contact-form textarea:focus{ border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,119,182,.1) }
.contact-form .row{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; margin-bottom:14px }
.contact-form .col{ min-width:0 }
.contact-form .consent{ display:flex; gap:10px; align-items:flex-start; margin:10px 0 14px }
.contact-form .consent input{ margin-top:4px }
.contact-form .btn{ margin-top:4px }
.required-note{ color: var(--muted); font-size:.9rem; margin-top:8px }

.form-alert{
  border-radius:10px; padding:12px 14px; margin-bottom:14px; border:1px solid;
}
.form-alert.success{ background:#edf8f1; color:#146c43; border-color:#c9e7d5 }
.form-alert.error{ background:#fdecec; color:#8a1f1f; border-color:#f3c3c3 }

/* honeypot verbergen maar toegankelijkheid behouden */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden }

/* mobiel */
@media (max-width: 768px){
  .contact-form .row{ grid-template-columns: 1fr }
}
/* Contact — card, grid en nette inputs */
.contact-form label{
  display:block; font-weight:600; margin:0 0 6px; color:#1f2430;
}
.req{ color: #d12c2c; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:10px;
  padding:12px 12px;
  outline:none;
  font: inherit;
  background:#fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form textarea{ resize: vertical; min-height: 140px; }

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,119,182,.12);
}

.contact-form .row{
  display:grid; grid-template-columns: 1fr 1fr; gap:16px;
  margin-bottom:14px;
}
.contact-form .col{ min-width:0; }

.contact-form .consent{
  display:flex; gap:10px; align-items:flex-start; margin:12px 0 14px;
}
.contact-form .consent input{ margin-top:4px; }

.contact-form .actions{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
}
.required-note{ color: var(--muted); font-size:.9rem; margin:0; }

/* Succes/fout */
.form-alert{
  border-radius:10px; padding:12px 14px; margin-bottom:14px; border:1px solid;
}
.form-alert.success{ background:#edf8f1; color:#146c43; border-color:#c9e7d5 }
.form-alert.error{ background:#fdecec; color:#8a1f1f; border-color:#f3c3c3 }

/* Honeypot verbergen (in jouw screenshot stond die nog zichtbaar) */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden }

/* Mobiel */
@media (max-width: 768px){
  .contact-form .row{ grid-template-columns: 1fr; }
}
