/* =============================================
   Ontstoppingsdienst Kevin — Hoofdstijlblad
   ============================================= */

:root {
  --blauw: #1a56db;
  --donker-blauw: #0c2340;
  --licht-blauw: #e8f0fe;
  --oranje: #f97316;
  --oranje-hover: #ea6c0a;
  --tekst: #1e293b;
  --grijs: #64748b;
  --licht-grijs: #f8fafc;
  --rand: #e2e8f0;
  --wit: #ffffff;
  --groen: #16a34a;
  --schaduw: 0 4px 20px rgba(0,0,0,.10);
  --schaduw-hover: 0 8px 30px rgba(0,0,0,.16);
  --radius: 10px;
  --radius-groot: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--tekst);
  background: var(--wit);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blauw); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Typografie ---- */
h1, h2, h3, h4 {
  color: var(--donker-blauw);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: .75rem;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.05rem; }

/* ---- Layout helpers ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.sectie { padding: 4rem 0; }
.sectie-grijs { background: var(--licht-grijs); }
.tekst-midden { text-align: center; }

/* ---- Knoppen ---- */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  border: none;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--schaduw-hover); }

.btn-blauw { background: var(--blauw); color: var(--wit); }
.btn-blauw:hover { background: #1648c0; color: var(--wit); }

.btn-oranje { background: var(--oranje); color: var(--wit); }
.btn-oranje:hover { background: var(--oranje-hover); color: var(--wit); }

.btn-wit { background: var(--wit); color: var(--blauw); }
.btn-wit:hover { background: var(--licht-blauw); color: var(--donker-blauw); }

.btn-groot { padding: 1rem 2.25rem; font-size: 1.1rem; }
.btn-tel { font-size: 1.25rem; letter-spacing: .5px; }

/* ---- Topbalk (urgentie) ---- */
.topbalk {
  background: var(--donker-blauw);
  color: var(--wit);
  text-align: center;
  padding: .5rem 1rem;
  font-size: .875rem;
}
.topbalk a { color: var(--oranje); font-weight: 700; }
.topbalk a:hover { color: #ffb86b; text-decoration: none; }

/* ---- Header ---- */
.header {
  background: var(--wit);
  border-bottom: 2px solid var(--rand);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}
.logo { font-size: 1.3rem; font-weight: 800; color: var(--donker-blauw); line-height: 1.2; }
.logo span { color: var(--blauw); }
.logo small { display: block; font-size: .75rem; font-weight: 400; color: var(--grijs); }

.header-tel {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--oranje);
  white-space: nowrap;
}
.header-tel a { color: inherit; }
.header-tel a:hover { text-decoration: none; color: var(--oranje-hover); }
.header-tel small { display: block; font-size: .7rem; font-weight: 400; color: var(--grijs); text-align: right; }

/* Desktop nav */
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a {
  color: var(--tekst);
  font-weight: 500;
  font-size: .95rem;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a.actief { color: var(--blauw); border-bottom-color: var(--blauw); text-decoration: none; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tekst);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--wit);
  border-top: 1px solid var(--rand);
  padding: 1rem 1.25rem 1.5rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: .6rem 0;
  color: var(--tekst);
  font-weight: 500;
  border-bottom: 1px solid var(--rand);
  font-size: 1rem;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--blauw); text-decoration: none; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--donker-blauw) 0%, #1a3a6b 100%);
  color: var(--wit);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--wit); margin-bottom: 1rem; }
.hero .ondertitel {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin-bottom: 2rem;
}
.hero-knoppen { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .35rem .9rem;
  font-size: .8rem;
  color: rgba(255,255,255,.9);
  display: flex; align-items: center; gap: .4rem;
}
.badge::before { content: '✓'; color: #4ade80; font-weight: 700; }

/* Hero lokaal variant */
.hero-lokaal { padding: 3rem 0; }
.hero-lokaal .aanrijtijd {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .9rem;
  margin-top: 1.25rem;
  color: rgba(255,255,255,.95);
}

/* ---- Urgentie balk ---- */
.urgentie-balk {
  background: var(--oranje);
  color: var(--wit);
  text-align: center;
  padding: 1.25rem;
}
.urgentie-balk p { margin: 0; font-size: 1.05rem; font-weight: 600; }
.urgentie-balk a { color: var(--wit); font-size: 1.3rem; font-weight: 800; }
.urgentie-balk a:hover { text-decoration: none; opacity: .85; }

/* ---- USP-rij ---- */
.usp-rij {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.usp-item { text-align: center; }
.usp-icoon {
  width: 64px; height: 64px;
  background: var(--licht-blauw);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .75rem;
  font-size: 1.75rem;
}
.usp-item h3 { font-size: 1rem; margin-bottom: .35rem; }
.usp-item p { font-size: .875rem; color: var(--grijs); }

/* ---- Kaarten ---- */
.kaarten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.kaart {
  background: var(--wit);
  border: 1px solid var(--rand);
  border-radius: var(--radius-groot);
  padding: 1.75rem;
  box-shadow: var(--schaduw);
  transition: box-shadow .2s, transform .2s;
}
.kaart:hover { box-shadow: var(--schaduw-hover); transform: translateY(-3px); }
.kaart-icoon { font-size: 2.25rem; margin-bottom: .75rem; }
.kaart h3 { margin-bottom: .5rem; }
.kaart p { color: var(--grijs); font-size: .9rem; margin-bottom: 1rem; }
.kaart a.meer { font-weight: 600; font-size: .9rem; color: var(--blauw); }
.kaart a.meer:hover { text-decoration: underline; }

/* ---- Werkwijze stappen ---- */
.stappen { counter-reset: stap; display: flex; flex-direction: column; gap: 1.5rem; }
.stap {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.stap-nummer {
  counter-increment: stap;
  min-width: 48px;
  height: 48px;
  background: var(--blauw);
  color: var(--wit);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.stap-inhoud h3 { margin-bottom: .35rem; }
.stap-inhoud p { color: var(--grijs); font-size: .9rem; }

/* ---- Reviews ---- */
.reviews-rij {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.review-kaart {
  background: var(--wit);
  border: 1px solid var(--rand);
  border-radius: var(--radius-groot);
  padding: 1.5rem;
  box-shadow: var(--schaduw);
}
.sterren { color: #f59e0b; font-size: 1.1rem; margin-bottom: .5rem; }
.review-tekst { font-style: italic; color: var(--grijs); margin-bottom: .75rem; font-size: .9rem; }
.reviewer { font-weight: 600; font-size: .875rem; }
.reviewer span { font-weight: 400; color: var(--grijs); }

/* ---- Lokale regio-links ---- */
.gemeente-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .75rem;
  margin-top: 1.5rem;
}
.gemeente-link {
  background: var(--licht-blauw);
  border-radius: var(--radius);
  padding: .6rem .9rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--donker-blauw);
  text-align: center;
  transition: background .2s, color .2s;
  display: block;
}
.gemeente-link:hover {
  background: var(--blauw);
  color: var(--wit);
  text-decoration: none;
}

/* ---- CTA-sectie ---- */
.cta-sectie {
  background: linear-gradient(135deg, var(--donker-blauw), #1a3a6b);
  color: var(--wit);
  padding: 3.5rem 0;
  text-align: center;
}
.cta-sectie h2 { color: var(--wit); margin-bottom: .75rem; }
.cta-sectie p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 2rem; }
.cta-knoppen { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---- Contactformulier ---- */
.form-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-groep { display: flex; flex-direction: column; gap: .35rem; }
.form-groep.vol { grid-column: 1 / -1; }
label { font-weight: 500; font-size: .875rem; }
input, select, textarea {
  padding: .7rem 1rem;
  border: 1.5px solid var(--rand);
  border-radius: var(--radius);
  font-size: 1rem;
  width: 100%;
  font-family: inherit;
  color: var(--tekst);
  transition: border-color .2s;
  background: var(--wit);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blauw);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}
textarea { resize: vertical; min-height: 120px; }

/* ---- FAQ ---- */
.faq-item {
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-vraag {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--donker-blauw);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}
.faq-vraag::after {
  content: '▼';
  font-size: .75rem;
  transition: transform .25s;
  color: var(--blauw);
  flex-shrink: 0;
}
.faq-vraag.open::after { transform: rotate(180deg); }
.faq-antwoord {
  display: none;
  padding: 0 1.25rem 1.1rem;
  color: var(--grijs);
  font-size: .9rem;
  line-height: 1.7;
}
.faq-antwoord.open { display: block; }

/* ---- Prijstabel ---- */
.prijs-tabel { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prijs-tabel th {
  background: var(--donker-blauw);
  color: var(--wit);
  padding: .75rem 1rem;
  text-align: left;
}
.prijs-tabel td { padding: .7rem 1rem; border-bottom: 1px solid var(--rand); }
.prijs-tabel tr:last-child td { border-bottom: none; }
.prijs-tabel tr:nth-child(even) td { background: var(--licht-grijs); }
.prijs-groen { color: var(--groen); font-weight: 600; }

/* ---- Info-box ---- */
.info-box {
  background: var(--licht-blauw);
  border-left: 4px solid var(--blauw);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .9rem;
}
.info-box p { margin: 0; }

.waarschuwing-box {
  background: #fff7ed;
  border-left: 4px solid var(--oranje);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .9rem;
}

/* ---- Twee kolommen layout ---- */
.twee-kolommen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.drie-kolommen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ---- Voordelen lijst ---- */
.voordelen-lijst { list-style: none; padding: 0; }
.voordelen-lijst li {
  padding: .5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--tekst);
  font-size: .95rem;
}
.voordelen-lijst li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--groen);
  font-weight: 700;
}

/* ---- Google Bedrijfsprofiel box ---- */
.gbp-box {
  background: var(--wit);
  border: 2px solid var(--blauw);
  border-radius: var(--radius-groot);
  padding: 2rem;
  max-width: 700px;
  margin: 2rem auto 0;
}
.gbp-box h3 { color: var(--blauw); margin-bottom: 1rem; }

/* ---- Footer ---- */
.footer {
  background: var(--donker-blauw);
  color: rgba(255,255,255,.8);
  padding: 3rem 0 1.5rem;
  font-size: .875rem;
}
.footer-rij {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer h4 {
  color: var(--wit);
  font-size: .95rem;
  margin-bottom: 1rem;
}
.footer a { color: rgba(255,255,255,.75); font-size: .875rem; }
.footer a:hover { color: var(--wit); text-decoration: none; }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-bodem {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.footer .logo { color: var(--wit); margin-bottom: .75rem; }
.footer .logo span { color: var(--blauw); }

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: .75rem 0;
  font-size: .875rem;
  color: var(--grijs);
}
.breadcrumb a { color: var(--blauw); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 .4rem; }

/* ---- Dienstenpagina hero ---- */
.dienst-hero {
  background: linear-gradient(135deg, var(--donker-blauw), #1a3a6b);
  color: var(--wit);
  padding: 3rem 0;
}
.dienst-hero h1 { color: var(--wit); }
.dienst-hero p { color: rgba(255,255,255,.85); max-width: 640px; }

/* ---- Zijbalk (lokale pagina's) ---- */
.zijbalk-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}
.zijbalk {
  background: var(--wit);
  border: 1px solid var(--rand);
  border-radius: var(--radius-groot);
  padding: 1.5rem;
  box-shadow: var(--schaduw);
  position: sticky;
  top: 100px;
}
.zijbalk h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.zijbalk .tel-groot {
  display: block;
  text-align: center;
  background: var(--oranje);
  color: var(--wit);
  font-size: 1.3rem;
  font-weight: 800;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.zijbalk .tel-groot:hover { background: var(--oranje-hover); text-decoration: none; }
.zijbalk-punten { list-style: none; padding: 0; font-size: .875rem; display: flex; flex-direction: column; gap: .5rem; }
.zijbalk-punten li { display: flex; gap: .5rem; align-items: flex-start; }
.zijbalk-punten li::before { content: '✓'; color: var(--groen); font-weight: 700; flex-shrink: 0; }
.diensten-zijbalk { list-style: none; padding: 0; margin-top: .5rem; display: flex; flex-direction: column; gap: .4rem; }
.diensten-zijbalk a {
  display: block;
  padding: .5rem .75rem;
  background: var(--licht-grijs);
  border-radius: 6px;
  font-size: .875rem;
  color: var(--tekst);
  font-weight: 500;
}
.diensten-zijbalk a:hover { background: var(--licht-blauw); color: var(--blauw); text-decoration: none; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .twee-kolommen { grid-template-columns: 1fr; gap: 2rem; }
  .drie-kolommen { grid-template-columns: 1fr 1fr; }
  .footer-rij { grid-template-columns: 1fr 1fr; }
  .zijbalk-layout { grid-template-columns: 1fr; }
  .zijbalk { position: static; }
}

@media (max-width: 700px) {
  .form-rij { grid-template-columns: 1fr; }
  .drie-kolommen { grid-template-columns: 1fr; }
  .footer-rij { grid-template-columns: 1fr; }
  .kaarten { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 2.5rem 0; }
  .sectie { padding: 2.5rem 0; }
  .header-tel { font-size: 1.1rem; }
}

@media (max-width: 420px) {
  .hero-knoppen { flex-direction: column; align-items: stretch; }
  .hero-knoppen .btn { text-align: center; }
  .gemeente-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Print ---- */
@media print {
  .header, .footer, .cta-sectie, .urgentie-balk, .topbalk { display: none; }
}
