/* ================================================================
   Morning Blue — www.morningblue.be
   Gedeeld design-systeem. Geen externe fonts, geen JS.
   Doelgroep 55+: basis 18px, AA-contrast, grote tap-targets.
   Cache-bust: link als /assets/style.css?v=1 en bump bij wijziging.
   ================================================================ */

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

:root {
  --navy:  #0C2D4D;   /* diep vóór-dageraad-blauw: koppen, hero, footer */
  --navy-2:#123E68;   /* hero-gradient onderkant */
  --blue:  #175D97;   /* links, iconen, accenten */
  --sky:   #EAF3FB;   /* lichte sectie-achtergrond */
  --dawn:  #F6C177;   /* dageraad-amber: decoratief, nooit tekst op wit */
  --dawn-2:#E8A54E;   /* iets dieper amber voor logo/glow */
  --cta:   #C2410C;   /* warme belknop, wit erop ≈ 4.9:1 */
  --cta-2: #9A3412;   /* hover/active */
  --wa:    #075E54;   /* WhatsApp-donkergroen, wit erop ≈ 7:1 */
  --wa-2:  #054C44;
  --text:  #1C2733;
  --muted: #4A5A6A;
  --bg:    #FDFBF7;   /* warm wit */
  --line:  #DCE6EF;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(12, 45, 77, 0.08);
  --header-h: 76px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;              /* 18px, op álle viewports */
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img, svg { max-width: 100%; height: auto; }

/* ── Typografie ─────────────────────────────────────────────── */
h1, h2, h3 { color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 700; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.35em; }
p  { max-width: 62ch; }
.lead { font-size: 1.2rem; color: var(--muted); }
.center { text-align: center; }
.center p { margin-inline: auto; }
.small { font-size: 0.95rem; color: var(--muted); }

/* Links in lopende tekst: altijd onderstreept (55+-regel) */
main a:not(.btn):not(.card-link) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
main a:not(.btn):not(.card-link):hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: 0 0 8px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ── Knoppen ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  border-radius: 999px;
  font-size: 1.1rem; font-weight: 700; text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn svg { flex: none; width: 22px; height: 22px; }
.btn-call     { background: var(--cta); color: #fff; }
.btn-call:hover, .btn-call:active { background: var(--cta-2); color: #fff; }
.btn-wa       { background: var(--wa); color: #fff; }
.btn-wa:hover, .btn-wa:active { background: var(--wa-2); color: #fff; }
.btn-ghost    { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.75); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.14); }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
  padding: 10px 5%;
  background: rgba(253, 251, 247, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; margin-right: auto;
}
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-name {
  font-weight: 800; font-size: 1.3rem; color: var(--navy);
  line-height: 1.1; white-space: nowrap;
}
.brand-tagline {
  display: block; font-size: 0.8rem; font-weight: 500;
  color: var(--muted); letter-spacing: 0.01em;
}
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  color: var(--navy); text-decoration: none; font-weight: 600;
  padding: 8px 2px;
}
.main-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-call { min-height: 48px; padding: 8px 20px; font-size: 1rem; white-space: nowrap; }

@media (max-width: 1020px) { .main-nav { display: none; } }
@media (max-width: 560px)  {
  .brand svg { width: 38px; height: 38px; }
  .brand-name { font-size: 1.1rem; }
  .brand-tagline { display: none; }
  .header-call { padding: 8px 14px; font-size: 0.95rem; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-2) 78%, #1B5384 100%);
  color: #fff;
  padding: clamp(56px, 9vw, 110px) 5% clamp(72px, 10vw, 130px);
  text-align: center;
}
.hero::after {                       /* dageraad-glow, puur decoratief */
  content: ""; position: absolute; left: 50%; bottom: -320px;
  width: 900px; height: 480px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
              rgba(246, 193, 119, 0.38) 0%,
              rgba(246, 193, 119, 0.12) 45%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .lead { color: #DCE9F5; margin: 0 auto 36px; }
.hero-badge {
  display: inline-block; margin-bottom: 26px;
  background: rgba(246, 193, 119, 0.16);
  border: 1px solid rgba(246, 193, 119, 0.55);
  color: var(--dawn);
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 7px 18px; border-radius: 999px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hero-note { margin: 26px auto 0; color: #C8DBE9; font-size: 1rem; }

/* ── Peppol-band ────────────────────────────────────────────── */
.peppol-band {
  background: linear-gradient(90deg, #FBE8CE, #F9DFBA);
  border-block: 1px solid #EFCB94;
  padding: 20px 5%;
}
.peppol-band .inner {
  max-width: 1060px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
}
.peppol-band p { max-width: none; color: #5C3A0E; font-size: 1.05rem; }
.peppol-band strong { color: #4A2E08; }
.peppol-band a { color: #7C3E06; font-weight: 700; white-space: nowrap; display: inline-block; padding: 4px 2px; }

/* ── Secties ────────────────────────────────────────────────── */
section { padding: clamp(56px, 8vw, 96px) 5%; scroll-margin-top: var(--header-h); }
.section-inner { max-width: 1060px; margin: 0 auto; }
.alt { background: var(--sky); }
.section-intro { margin: 0 auto 44px; }

/* ── Dienstenkaarten ────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(12, 45, 77, 0.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}
.card-img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 10px; margin-bottom: 18px; display: block;
}
.alt .card { border-color: #D3E2EF; }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sky); color: var(--blue); margin-bottom: 18px;
}
.alt .card-icon { background: #FBE8CE; color: #92400E; }
.card-icon svg { width: 30px; height: 30px; }
.card p { margin-bottom: 14px; }
.card-price { margin-top: auto; font-weight: 700; color: var(--navy); padding-top: 6px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  color: var(--blue); font-weight: 700; text-decoration: underline;
  text-underline-offset: 3px;
}
.card-link:hover { color: var(--navy); }

/* ── Stappen ────────────────────────────────────────────────── */
.steps { list-style: none; counter-reset: stap; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.steps li { counter-increment: stap; }
.steps h3::before {
  content: counter(stap);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: 12px;
  border-radius: 50%; background: var(--navy); color: var(--dawn);
  font-size: 1.15rem; font-weight: 800;
}
.steps h3 { display: flex; align-items: center; margin-bottom: 10px; }

/* ── USP's ──────────────────────────────────────────────────── */
.usps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px 32px; max-width: 900px; margin: 0 auto; }
.usps li { display: flex; gap: 14px; align-items: flex-start; }
.usps svg { flex: none; width: 26px; height: 26px; color: var(--blue); margin-top: 4px; }
.usps strong { color: var(--navy); }

/* ── Prijzen ────────────────────────────────────────────────── */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 26px; }
.price-card {
  background: #fff; border: 1px solid #D3E2EF; border-radius: var(--radius);
  border-top: 4px solid var(--dawn-2);
  box-shadow: var(--shadow); padding: 28px;
  display: flex; flex-direction: column;
}
.price-card.featured { border: 2px solid var(--dawn-2); border-top-width: 4px; }
.price-card h3 { color: var(--blue); font-size: 1.1rem; }
.price {
  font-size: 1.9rem; font-weight: 800; color: var(--navy);
  margin: 6px 0 2px;
}
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card ul { list-style: none; margin-top: 14px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; }
.price-card li svg { flex: none; width: 20px; height: 20px; color: var(--wa); margin-top: 5px; }

/* ── Over ───────────────────────────────────────────────────── */
.over-grid { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: start; max-width: 940px; margin: 0 auto; }
.over-figure {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(12, 45, 77, 0.18);
  aspect-ratio: 1;
}
.over-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.over-grid p + p { margin-top: 14px; }
@media (max-width: 720px) {
  .over-grid { grid-template-columns: 1fr; }
  .over-figure { max-width: 340px; margin: 0 auto; }
}

/* ── Contact ────────────────────────────────────────────────── */
.contact-box {
  max-width: 760px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(28px, 5vw, 48px);
  text-align: center;
}
.contact-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 26px 0 10px; }
.contact-tel {
  font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--navy);
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px;
  display: inline-block; margin: 4px 0 2px;
}
.contact-tel:hover { color: var(--blue); }
.contact-details {
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; text-align: left;
}
.contact-details div { display: flex; gap: 12px; align-items: flex-start; }
.contact-details svg { flex: none; width: 24px; height: 24px; color: var(--blue); margin-top: 3px; }
.contact-details strong { display: block; color: var(--navy); }
.contact-details p { font-size: 1rem; color: var(--muted); }

/* ── FAQ (detailpagina's) ───────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 14px; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 18px 22px;
  font-weight: 700; color: var(--navy); font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sky); color: var(--blue);
  font-size: 1.4rem; font-weight: 700; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 20px; }
.faq details p + p { margin-top: 10px; }

/* ── Detailpagina's ─────────────────────────────────────────── */
.page-hero { padding-bottom: clamp(88px, 11vw, 140px); }
.page-photo {
  max-width: 960px;
  margin: clamp(-72px, -7vw, -48px) auto 0;
  padding: 0 5%;
  position: relative; z-index: 2;
}
.page-photo img {
  width: 100%; aspect-ratio: 5 / 2; object-fit: cover; display: block;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(12, 45, 77, 0.28);
}
@media (max-width: 560px) { .page-photo img { aspect-ratio: 3 / 2; } }
.page-photo + section { padding-top: clamp(80px, 10vw, 120px); }
.breadcrumb { margin-bottom: 18px; font-size: 0.95rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #9FBDD6; }
.breadcrumb a { color: #D8E8F3; }
.hero.page-hero .breadcrumb a { color: #D8E8F3; }
.checklist { list-style: none; max-width: 700px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 7px 0; }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--wa); margin-top: 5px; }
.checklist.herken svg { color: var(--cta); }
.cta-block {
  text-align: center; background: var(--navy); color: #fff;
  border-radius: var(--radius); padding: clamp(32px, 6vw, 56px);
  max-width: 900px; margin: 0 auto;
}
.cta-block h2 { color: #fff; }
.cta-block p { color: #DCE9F5; margin: 0 auto 26px; }
.cta-block .contact-buttons { margin: 0; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy); color: #C7D5E3;
  padding: 44px 5% calc(44px + 74px);   /* ruimte voor mobiele balk */
  font-size: 1rem; text-align: center;
}
.site-footer .inner { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.site-footer a { color: #E8F0F8; }
.site-footer .brand-line { font-weight: 700; color: #fff; }
@media (min-width: 768px) { .site-footer { padding-bottom: 44px; } }

/* ── Vaste mobiele belbalk ──────────────────────────────────── */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 62px; font-size: 1.1rem; font-weight: 800;
  text-decoration: none; color: #fff;
}
.mobile-bar a svg { width: 24px; height: 24px; }
.mobile-bar .bar-call { background: var(--cta); }
.mobile-bar .bar-wa   { background: var(--wa); }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ── 404 ────────────────────────────────────────────────────── */
.error-page { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.error-page .section-inner { max-width: 640px; }
