/* =========================================================
   RVD Installatietechniek – stijlbestand
   ✏️ KLEUREN & LETTERTYPE: pas alleen de waarden hieronder aan,
   de hele website verandert automatisch mee.
   ========================================================= */
:root {
  --blauw: #0f2a4a;        /* hoofdkleur (donkerblauw) */
  --blauw-licht: #1d4373;  /* iets lichter blauw */
  --oranje: #f28c28;       /* accentkleur (knoppen, details) */
  --oranje-donker: #d9731a;
  --tekst: #1f2933;
  --tekst-zacht: #5b6775;
  --grijs: #f4f6f9;        /* achtergrond lichte secties */
  --lijn: #e3e8ee;
  --wit: #ffffff;
  --radius: 10px;
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--tekst); background: var(--wit); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--blauw-licht); }
h1, h2, h3 { color: var(--blauw); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sectie { padding: 88px 0; }
.sectie--grijs { background: var(--grijs); }
.sectie-kop { max-width: 640px; margin-bottom: 48px; }
.sectie-kop--midden { text-align: center; margin-left: auto; margin-right: auto; }
.label { display: inline-block; color: var(--oranje-donker); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.intro { color: var(--tekst-zacht); font-size: 1.1rem; }

/* ---------- Knoppen ---------- */
.knop { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: .2s; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; }
.knop--oranje { background: var(--oranje); color: var(--wit); }
.knop--oranje:hover { background: var(--oranje-donker); }
.knop--rand { border-color: rgba(255,255,255,.7); color: var(--wit); }
.knop--rand:hover { background: var(--wit); color: var(--blauw); }

/* ---------- Header & menu ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--wit); border-bottom: 1px solid var(--lijn); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-blok { background: var(--blauw); color: var(--wit); font-weight: 800; font-size: 1.15rem; padding: 6px 10px; border-radius: 6px; letter-spacing: .04em; border-bottom: 3px solid var(--oranje); }
.logo-tekst { color: var(--blauw); font-weight: 600; font-size: 1rem; line-height: 1.1; }
.logo-tekst small { display: block; color: var(--tekst-zacht); font-weight: 500; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; color: var(--tekst); font-weight: 500; font-size: .97rem; }
.menu a:hover, .menu a.actief { color: var(--oranje-donker); }
.menu .knop { color: var(--wit); padding: 10px 20px; }
.menu-knop { display: none; background: none; border: 0; font-size: 1.8rem; color: var(--blauw); cursor: pointer; }

/* ---------- Hero (grote foto) ---------- */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; color: var(--wit);
  background-color: var(--blauw); background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,42,74,.92) 0%, rgba(15,42,74,.6) 55%, rgba(15,42,74,.2) 100%); }
.hero .container { position: relative; }
.hero h1 { color: var(--wit); max-width: 720px; }
.hero p { font-size: 1.2rem; max-width: 560px; opacity: .92; margin-bottom: 32px; }
.hero-knoppen { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-punten { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 44px; list-style: none; padding: 0; font-weight: 500; }
.hero-punten li::before { content: "✓"; color: var(--oranje); font-weight: 800; margin-right: 8px; }

/* ---------- Kaarten (diensten) ---------- */
.raster { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.kaart { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.kaart:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,42,74,.1); }
.kaart-foto { aspect-ratio: 4/3; background-color: var(--blauw-licht); background-size: cover; background-position: center; }
.kaart-inhoud { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.kaart-inhoud p { color: var(--tekst-zacht); font-size: .97rem; flex: 1; }
.lees-meer { font-weight: 600; text-decoration: none; color: var(--oranje-donker); }
.lees-meer::after { content: " →"; }

/* ---------- Twee kolommen (tekst + foto) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-foto { aspect-ratio: 5/4; border-radius: var(--radius); background-color: var(--blauw-licht); background-size: cover; background-position: center; }
.vinklijst { list-style: none; padding: 0; margin: 0 0 28px; }
.vinklijst li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.vinklijst li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--oranje); color: var(--wit); font-size: .75rem; display: grid; place-items: center; font-weight: 800; }

/* ---------- Reviews & keurmerken ---------- */
.review { background: var(--wit); border-radius: var(--radius); padding: 30px; border: 1px solid var(--lijn); }
.sterren { color: var(--oranje); letter-spacing: 3px; margin-bottom: 12px; }
.review p { font-style: italic; }
.review strong { color: var(--blauw); font-size: .95rem; }
.keurmerken { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; margin-top: 56px; }
.keurmerken img { height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.keurmerken img:hover { filter: none; opacity: 1; }
.keurmerk-tekst { font-weight: 700; color: var(--tekst-zacht); border: 2px solid var(--lijn); padding: 10px 18px; border-radius: 6px; }

/* ---------- Actieblok ---------- */
.cta { background: var(--blauw); color: var(--wit); padding: 64px 0; }
.cta .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: var(--wit); margin-bottom: 6px; }
.cta p { margin: 0; opacity: .85; }

/* ---------- Footer ---------- */
.footer { background: #0a1d33; color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: .95rem; }
.footer-raster { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h3 { color: var(--wit); font-size: 1rem; }
.footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer a:hover { color: var(--oranje); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer-onder { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: .85rem; }

/* ---------- Mobiel ---------- */
@media (max-width: 860px) {
  .menu-knop { display: block; }
  .menu { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--wit); flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 20px 24px; border-bottom: 1px solid var(--lijn); box-shadow: 0 12px 24px rgba(0,0,0,.06); }
  .menu.open { display: flex; }
  .menu li { width: 100%; }
  .menu a { display: block; padding: 12px 0; }
  .menu .knop { display: inline-flex; margin-top: 10px; }
  .split, .footer-raster { grid-template-columns: 1fr; gap: 36px; }
  .sectie { padding: 64px 0; }
  .hero { min-height: 70vh; }
}
