:root{
  --blue:#0a5aa8; --blue-dark:#08477f; --teal:#1f9d8f; --teal-text:#146e60;
  --accent:#c2183a;
  --ink:#14233b; --muted:#44546a; --soft:#68788f;
  --bg:#f7f9fb; --surface:#fff; --line:#dde4ec;
  --dark-bg:#0f1b2d; --dark-ink:#f2f6fa; --dark-muted:#a8b8cc;
  --r:16px;
  --maat:min(1140px, calc(100% - 3rem));
  --stap:clamp(3.5rem, 7vw, 6rem);
}
@media (prefers-color-scheme: dark){
  :root{
    --ink:#eef3f9; --muted:#a9b8ca; --soft:#8496ab;
    --bg:#0d1726; --surface:#152438; --line:#25374f;
    --blue:#6db3f2; --blue-dark:#8cc4f7; --teal-text:#4fd6c0; --accent:#ff8ba3;
  }
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font:400 17px/1.65 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.wrap{width:var(--maat); margin-inline:auto}
a{color:var(--blue)}
h1,h2,h3{letter-spacing:-.025em; line-height:1.12; margin:0}
p{margin:0}

/* ---------- kopbalk ---------- */
header{position:sticky; top:0; z-index:30; background:color-mix(in srgb, var(--bg) 88%, transparent);
       backdrop-filter:saturate(1.5) blur(10px); border-bottom:1px solid var(--line)}
header .wrap{display:flex; align-items:center; gap:1.4rem; height:68px}
.merk{display:flex; align-items:center; gap:.65rem; font-weight:700; font-size:1.16rem;
      letter-spacing:-.022em; text-decoration:none; color:var(--ink)}
.merk svg{display:block; flex:none}
nav{margin-left:auto; display:flex; align-items:center; gap:1.5rem; font-size:.95rem}
nav a{color:var(--muted); text-decoration:none; font-weight:500}
nav a:hover{color:var(--ink)}
nav a.taal{border:1px solid var(--line); border-radius:8px; padding:.3rem .6rem; font-size:.86rem}
@media(max-width:720px){ nav a:not(.taal){display:none} }

/* ---------- hero ---------- */
.hero{padding:var(--stap) 0 2.6rem; position:relative; overflow:hidden}
.hero h1{font-size:clamp(2.3rem, 6vw, 4rem); font-weight:750; max-width:15ch; margin-bottom:1.2rem}
.hero h1 em{font-style:normal; color:var(--teal-text)}
.lead{font-size:clamp(1.08rem, 2.1vw, 1.3rem); color:var(--muted); max-width:54ch}
.hero .knoppen{display:flex; gap:.8rem; flex-wrap:wrap; margin-top:2rem}
.knop{display:inline-block; text-decoration:none; font-weight:600; font-size:.98rem;
      padding:.75rem 1.35rem; border-radius:10px; border:1px solid transparent; transition:.16s}
.knop.vol{background:var(--blue); color:#fff}
.knop.vol:hover{background:var(--blue-dark)}
.knop.leeg{border-color:var(--line); color:var(--ink)}
.knop.leeg:hover{border-color:var(--blue); color:var(--blue)}

/* het ECG dat zichzelf tekent */
.ecgstreep{margin-top:3rem; border:1px solid var(--line); border-radius:var(--r);
           background:var(--surface); overflow:hidden; height:clamp(90px,13vw,140px)}
.ecgstreep svg{width:100%; height:100%; display:block}
.ecgstreep path{stroke-dasharray:2600; stroke-dashoffset:2600; animation:teken 5.5s linear infinite}
@keyframes teken{to{stroke-dashoffset:-2600}}
@media (prefers-reduced-motion: reduce){
  .ecgstreep path{animation:none; stroke-dashoffset:0}
}

/* ---------- secties ---------- */
section{padding:var(--stap) 0}
.kopregel{font-size:.8rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase;
          color:var(--teal-text); margin-bottom:.7rem}
h2{font-size:clamp(1.7rem, 3.4vw, 2.3rem); font-weight:720; margin-bottom:.6rem}
.sub{color:var(--muted); max-width:58ch; margin-bottom:2.6rem}

/* ---------- producttegels ---------- */
.raster{display:grid; grid-template-columns:repeat(auto-fit, minmax(300px,1fr)); gap:1.3rem}
.tegel{display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line);
       border-radius:var(--r); overflow:hidden; transition:transform .18s, box-shadow .18s}
.tegel.leeft:hover{transform:translateY(-4px); box-shadow:0 14px 40px rgba(20,35,59,.13)}
.beeld{aspect-ratio:16/9; background:var(--dark-bg); position:relative; overflow:hidden}
.beeld svg, .beeld video{position:absolute; inset:0; width:100%; height:100%; display:block}
.beeld video{object-fit:cover; opacity:0; transition:opacity .3s}
.tegel.leeft:hover .beeld video, .beeld video.speelt{opacity:1}
.body{padding:1.3rem 1.4rem 1.5rem; display:flex; flex-direction:column; flex:1}
.rol{font-size:.78rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
     color:var(--teal-text); margin-bottom:.3rem}
.tegel h3{font-size:1.2rem; margin-bottom:.55rem}
.tegel p{color:var(--muted); font-size:.97rem; flex:1; margin-bottom:1.1rem}
.vlag{align-self:flex-start; font-size:.74rem; font-weight:700; letter-spacing:.05em;
      text-transform:uppercase; padding:.28rem .65rem; border-radius:999px}
.vlag.nu{background:color-mix(in srgb, var(--teal) 18%, transparent); color:var(--teal-text)}
.vlag.straks{background:color-mix(in srgb, var(--soft) 16%, transparent); color:var(--soft)}
.tegel .knop{margin-top:1rem; align-self:flex-start}
.later{margin-top:1rem; font-size:.9rem; color:var(--soft)}

/* ---------- verhaal ---------- */
.verhaal{background:var(--surface); border-block:1px solid var(--line)}
.verhaal .wrap{display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(2rem,5vw,4.5rem); align-items:start}
@media(max-width:860px){ .verhaal .wrap{grid-template-columns:1fr} }
.verhaal p + p{margin-top:1.1rem}
.verhaal p{color:var(--muted)}
.citaat{border-left:3px solid var(--blue); padding:.2rem 0 .2rem 1.2rem;
        font-size:1.12rem; color:var(--ink); font-weight:500}

/* ---------- beginselen ---------- */
.beginsel{display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:2rem 2.4rem}
.beginsel h3{font-size:1.05rem; margin-bottom:.35rem}
.beginsel p{color:var(--muted); font-size:.96rem}
.nr{display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px;
    border-radius:8px; background:var(--blue); color:#fff; font-size:.85rem; font-weight:700;
    margin-bottom:.8rem}

/* ---------- voor wie ---------- */
.lijst{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem}
.lijst div{background:var(--surface); border:1px solid var(--line); border-radius:12px;
           padding:1.1rem 1.2rem; font-size:.96rem; color:var(--muted)}
.lijst b{display:block; color:var(--ink); margin-bottom:.2rem; font-size:1rem}

/* ---------- voet ---------- */
footer{background:var(--dark-bg); color:var(--dark-muted); padding:3.2rem 0 3.6rem}
footer .wrap{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:2rem}
@media(max-width:760px){ footer .wrap{grid-template-columns:1fr} }
footer a{color:#8cc4f7; text-decoration:none}
footer a:hover{text-decoration:underline}
footer .merk{color:var(--dark-ink)}
footer h4{margin:0 0 .6rem; font-size:.82rem; letter-spacing:.1em; text-transform:uppercase;
          color:var(--dark-ink); font-weight:700}
footer p{font-size:.9rem; margin-top:.55rem}
footer ul{list-style:none; margin:0; padding:0; font-size:.92rem}
footer li{margin:.35rem 0}
.klein{font-size:.83rem; opacity:.8; line-height:1.6}
