/* ============================================================
   Rioolspecialist Rotterdam — Designsysteem
   Marineblauw (vakmanschap/vertrouwen) + warme amber (actie/urgentie)
   Bewust onderscheidend van het generieke loodgieter-blauw sjabloon
   ============================================================ */

:root {
  /* Kleuren */
  --marine: #0b3d6b;
  --marine-diep: #072a4a;
  --marine-licht: #1a5a94;
  --amber: #e8a33d;
  --amber-diep: #cf8a24;
  --spoed: #d64533;
  --spoed-diep: #b8371f;
  --inkt: #14202e;
  --grijs-700: #3d4b5a;
  --grijs-500: #6b7a89;
  --grijs-300: #c3cdd6;
  --grijs-100: #eef2f6;
  --wit: #ffffff;
  --creme: #f7f9fb;
  --succes: #2f8f5b;

  /* Typografie */
  --font-display: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Ruimte */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-6: 3rem;
  --sp-8: 4rem;

  /* Overig */
  --radius: 10px;
  --radius-l: 16px;
  --schaduw: 0 4px 20px rgba(11, 61, 107, 0.10);
  --schaduw-diep: 0 8px 30px rgba(11, 61, 107, 0.18);
  --max: 1140px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--inkt);
  line-height: 1.65;
  background: var(--wit);
  font-size: 17px;
  overflow-x: hidden;
}

/* Op mobiel ruimte onderaan voor sticky belbalk */
@media (max-width: 899px) {
  body { padding-bottom: 54px; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--marine-diep);
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: var(--sp-3); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); margin-bottom: var(--sp-2); }

p { margin-bottom: var(--sp-2); color: var(--grijs-700); }

a { color: var(--marine-licht); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--sp-3); }

section { padding: var(--sp-8) 0; }
section.smal { padding: var(--sp-6) 0; }
.creme { background: var(--creme); }
.marine-bg { background: var(--marine-diep); color: var(--wit); }
.marine-bg h2, .marine-bg h3 { color: var(--wit); }
.marine-bg p { color: rgba(255,255,255,0.85); }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-bel {
  background: var(--amber);
  color: var(--marine-diep);
  box-shadow: 0 4px 14px rgba(232, 163, 61, 0.4);
}
.btn-bel:hover { background: var(--amber-diep); color: var(--marine-diep); }

.btn-amber { background: var(--amber); color: var(--marine-diep); }
.btn-amber:hover { background: var(--amber-diep); color: var(--marine-diep); }

.btn-outline {
  background: transparent;
  color: var(--wit);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--wit); }

.btn-groot { padding: 1.1rem 2rem; font-size: 1.12rem; }
.btn-vol { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--wit);
  box-shadow: 0 2px 10px rgba(11,61,107,0.08);
}
.header-balk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem var(--sp-3);
  max-width: var(--max);
  margin: 0 auto;
  gap: var(--sp-2);
}
.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; min-width: 0; text-decoration: none; }
.logo-merk { font-size: 1.02rem; color: var(--marine-diep); line-height: 1.12; white-space: nowrap; }
.logo-merk span { display: block; font-size: 0.6rem; color: var(--amber-diep); font-weight: 600; letter-spacing: 0.2px; }
.logo-icoon { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: block; }
@media (min-width: 480px) {
  .logo-merk { font-size: 1.18rem; }
  .logo-merk span { font-size: 0.68rem; letter-spacing: 0.4px; }
}

/* Inline icoon-systeem (strakke SVG's i.p.v. emoji) */
.ico { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.kaart-icoon .ico { width: 26px; height: 26px; stroke: #fff; }
.usp-item .ico { width: 20px; height: 20px; color: var(--marine-diep); }
.hero-badge .ico { width: 15px; height: 15px; color: var(--amber); }

/* ===== HEADER RECHTERKANT ===== */
.header-rechts { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

/* Telefoon in header: alleen zichtbaar op desktop */
.header-tel {
  display: none;
  align-items: center; gap: 0.5rem; text-decoration: none;
  color: var(--marine-diep); white-space: nowrap;
}
.header-tel .ico { width: 20px; height: 20px; color: var(--amber-diep); }
.header-tel-nr { font-size: 1.2rem; font-weight: 700; line-height: 1.1; }
.header-tel-nr small { display: block; font-size: 0.64rem; color: var(--grijs-500); font-weight: 600; }

/* Navigatie: alleen desktop */
.hoofdnav { display: none; }
.hoofdnav a { color: var(--grijs-700); font-weight: 600; font-size: 0.94rem; padding: 0.4rem 0.65rem; }
.hoofdnav a:hover { color: var(--marine); text-decoration: none; }

/* Hamburgerknop: alleen mobiel */
.menu-schakelaar { display: none; }
.menu-knop {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0;
  background: var(--grijs-100); cursor: pointer; border: none;
}
.menu-knop svg { width: 24px; height: 24px; stroke: var(--marine-diep); stroke-width: 2.2; fill: none; stroke-linecap: round; }
.menu-sluit { display: none; }

@media (min-width: 900px) {
  .header-tel { display: inline-flex; }
  .hoofdnav { display: flex; gap: 0.2rem; align-items: center; }
  .menu-knop { display: none; }
}

/* ===== UITSCHUIVEND MOBIEL MENU ===== */
.mobiel-menu {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(7,42,74,0.55);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
}
.mobiel-menu-paneel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(84vw, 330px); background: var(--wit);
  box-shadow: -8px 0 30px rgba(0,0,0,0.2);
  padding: var(--sp-3); transform: translateX(100%); transition: transform 0.25s ease;
  display: flex; flex-direction: column; gap: 0.2rem; overflow-y: auto;
}
.menu-schakelaar:checked ~ .mobiel-menu { opacity: 1; visibility: visible; }
.menu-schakelaar:checked ~ .mobiel-menu .mobiel-menu-paneel { transform: translateX(0); }
.mobiel-menu-paneel a.menu-link {
  padding: 0.85rem 0.6rem; font-weight: 600; color: var(--marine-diep);
  border-bottom: 1px solid var(--grijs-100); font-size: 1.02rem;
}
.mobiel-menu-paneel a.menu-link:hover { text-decoration: none; color: var(--amber-diep); }
.menu-sluit {
  display: flex; align-self: flex-end; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px; background: var(--grijs-100);
  margin-bottom: var(--sp-1); cursor: pointer;
}
.menu-sluit svg { width: 22px; height: 22px; stroke: var(--marine-diep); stroke-width: 2.2; fill: none; stroke-linecap: round; }
.mobiel-menu-bel {
  margin-top: var(--sp-3); background: var(--amber); color: var(--marine-diep);
  padding: 0.95rem; border-radius: var(--radius); font-weight: 700; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.mobiel-menu-bel:hover { text-decoration: none; background: var(--amber-diep); color: var(--marine-diep); }
.mobiel-menu-bel .ico { width: 20px; height: 20px; }
@media (min-width: 900px) { .mobiel-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--marine-diep) 0%, var(--marine) 60%, var(--marine-licht) 100%);
  color: var(--wit);
  padding: var(--sp-8) 0;
  position: relative;
}
.hero h1 { color: var(--wit); margin-bottom: var(--sp-2); }
.hero .lead { font-size: 1.2rem; color: rgba(255,255,255,0.9); margin-bottom: var(--sp-4); max-width: 620px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: var(--sp-4); }
.hero-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 0.9rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; color: var(--wit);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.hero-acties { display: flex; flex-direction: column; gap: var(--sp-2); }
.hero-acties .btn { width: 100%; }
@media (min-width: 560px) {
  .hero-acties { flex-direction: row; flex-wrap: wrap; }
  .hero-acties .btn { width: auto; }
}
.hero-trust {
  margin-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: var(--sp-3);
  font-size: 0.9rem; color: rgba(255,255,255,0.85);
}
.hero-trust b { color: var(--amber); }

.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero-foto { display: none; }
@media (min-width: 900px) {
  .hero-foto { display: block; }
  .hero-foto img { width: 100%; border-radius: var(--radius-l); box-shadow: 0 12px 40px rgba(0,0,0,0.35); border: 3px solid rgba(255,255,255,0.15); aspect-ratio: 4/3; object-fit: cover; }
  .hero-foto .bijschrift { color: rgba(255,255,255,0.7); font-size: 0.8rem; margin-top: 0.6rem; text-align: center; }
}

/* Foto in dienst-kaart */
.kaart-foto { width: calc(100% + 2 * var(--sp-3)); margin: calc(-1 * var(--sp-3)) calc(-1 * var(--sp-3)) var(--sp-2); height: 180px; object-fit: cover; border-radius: var(--radius-l) var(--radius-l) 0 0; display: block; }

/* Bewijs-strook (echte werkfoto's) */
.bewijs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
@media (min-width: 700px) { .bewijs-grid { grid-template-columns: repeat(4, 1fr); } }
.bewijs-foto { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--schaduw); }
.bewijs-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.bewijs-foto:hover img { transform: scale(1.05); }
.bewijs-foto span { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(7,42,74,0.9)); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 1.2rem 0.7rem 0.6rem; }

/* ---------- Sticky mobiele belbalk ---------- */
.mobiele-belbalk {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}
.mobiele-belbalk a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.75rem 0.5rem;
  color: var(--marine-diep); font-weight: 700; font-size: 0.98rem;
  text-decoration: none; background: var(--amber);
}
.mobiele-belbalk a .ico { width: 18px; height: 18px; }
@media (min-width: 900px) { .mobiele-belbalk { display: none; } }

/* ---------- Kaarten / grids ---------- */
.grid { display: grid; gap: var(--sp-3); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.kaart {
  background: var(--wit);
  border: 1px solid var(--grijs-100);
  border-radius: var(--radius-l);
  padding: var(--sp-3);
  box-shadow: var(--schaduw);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.kaart:hover { transform: translateY(-3px); box-shadow: var(--schaduw-diep); }
.kaart-icoon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--marine), var(--marine-licht));
  color: var(--wit); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: var(--sp-2);
}
.kaart h3 { margin-bottom: 0.5rem; }
.kaart p { font-size: 0.95rem; margin-bottom: 0.6rem; }
.kaart a.meer { font-weight: 700; color: var(--marine-licht); font-size: 0.95rem; }

/* ---------- USP-balk ---------- */
.usp-balk { background: var(--amber); }
.usp-balk .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: var(--sp-2); padding-top: var(--sp-3); padding-bottom: var(--sp-3); }
.usp-item { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--marine-diep); font-size: 0.98rem; }

/* ---------- Trust / reviews ---------- */
.sterren { color: var(--amber); letter-spacing: 1px; }
.review-kaart { background: var(--wit); border-radius: var(--radius-l); padding: var(--sp-3); box-shadow: var(--schaduw); }
.review-kaart .sterren { font-size: 1.1rem; margin-bottom: 0.5rem; }
.review-kaart .naam { font-weight: 700; color: var(--marine-diep); font-size: 0.9rem; margin-top: 0.6rem; }
.review-kaart .wijk { color: var(--grijs-500); font-size: 0.82rem; }

/* ---------- Tarieven ---------- */
.tarief-tabel { width: 100%; border-collapse: collapse; background: var(--wit); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--schaduw); }
.tarief-tabel th { background: var(--marine-diep); color: var(--wit); text-align: left; padding: var(--sp-2); font-size: 0.95rem; }
.tarief-tabel td { padding: var(--sp-2); border-bottom: 1px solid var(--grijs-100); }
.tarief-tabel td.prijs { font-weight: 700; color: var(--marine); white-space: nowrap; }
.tarief-tabel tr:last-child td { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--wit); border: 1px solid var(--grijs-100); border-radius: var(--radius); margin-bottom: var(--sp-2); overflow: hidden; }
.faq-vraag { padding: var(--sp-2) var(--sp-3); font-weight: 700; color: var(--marine-diep); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); list-style: none; }
.faq-vraag::-webkit-details-marker { display: none; }
.faq-vraag::after { content: '+'; font-size: 1.5rem; color: var(--amber-diep); flex-shrink: 0; }
details[open] .faq-vraag::after { content: '−'; }
.faq-antwoord { padding: 0 var(--sp-3) var(--sp-3); }
.faq-antwoord p { margin-bottom: 0.6rem; }

/* ---------- CTA-blok ---------- */
.cta-blok { background: linear-gradient(135deg, var(--marine-diep), var(--marine)); color: var(--wit); border-radius: var(--radius-l); padding: var(--sp-6); text-align: center; }
.cta-blok h2 { color: var(--wit); }
.cta-blok p { color: rgba(255,255,255,0.88); max-width: 560px; margin: 0 auto var(--sp-3); }
.cta-acties { display: flex; flex-direction: column; gap: var(--sp-2); justify-content: center; align-items: stretch; }
.cta-acties .btn { width: 100%; }
@media (min-width: 560px) {
  .cta-acties { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cta-acties .btn { width: auto; }
}

/* ---------- Breadcrumb ---------- */
.kruimel { font-size: 0.85rem; color: var(--grijs-500); padding: var(--sp-2) 0; }
.kruimel a { color: var(--grijs-500); }
.kruimel a:hover { color: var(--marine); }

/* ---------- Content-blokken ---------- */
.content-blok { max-width: 780px; }
.content-blok h2 { margin-top: var(--sp-4); }
.content-blok h3 { margin-top: var(--sp-3); }
.content-blok ul, .content-blok ol { margin: 0 0 var(--sp-2) 1.3rem; color: var(--grijs-700); }
.content-blok li { margin-bottom: 0.4rem; }
.check-lijst { list-style: none; margin-left: 0 !important; }
.check-lijst li { padding-left: 1.8rem; position: relative; }
.check-lijst li::before { content: '✓'; position: absolute; left: 0; color: var(--succes); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--inkt); color: rgba(255,255,255,0.75); padding: var(--sp-6) 0 var(--sp-4); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { color: var(--wit); margin-bottom: var(--sp-2); font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--amber); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-onder { border-top: 1px solid rgba(255,255,255,0.12); margin-top: var(--sp-4); padding-top: var(--sp-3); font-size: 0.82rem; color: rgba(255,255,255,0.5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2); }

/* ---------- Toegankelijkheid ---------- */
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
