:root {
  --teal: #1f7a8c;
  --teal-dark: #155562;
  --teal-light: #e6f3f5;
  --mint: #7fd6c2;
  --coral: #ff7a59;
  --ink: #12333b;
  --muted: #4f6b72;
  --line: #d9e6e9;
  --bg: #ffffff;
  --bg-soft: #f4f9fa;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(18, 51, 59, .28);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 700; color: var(--teal); margin-bottom: .8em;
}

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .9em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font-family: inherit; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 122, 89, .8); }
.btn-primary:hover { background: #ff6844; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-outline { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(18, 51, 59, .3); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--teal); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.link-mail { display: flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--ink); font-size: .95rem; }
.link-mail svg { width: 18px; height: 18px; fill: var(--teal); }

/* Hero */
.hero {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(127, 214, 194, .35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(31, 122, 140, .12), transparent 60%),
    var(--bg-soft);
  padding: 64px 0 40px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hl { color: var(--teal); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero-call { color: var(--muted); font-size: .95rem; }
.hero-call a { font-weight: 700; }

.hero-visual { position: relative; }
.scene {
  position: relative; aspect-ratio: 1 / 1; border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #eaf4f6 100%);
  box-shadow: var(--shadow); overflow: hidden;
}
.ceiling { position: absolute; inset: 0 0 auto 0; height: 14%; background: #dfecef; }
.sensor {
  position: absolute; top: 14%; left: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px;
}
.sensor .dot {
  position: absolute; inset: 22px; border-radius: 50%;
  background: #fff; border: 6px solid var(--teal);
  box-shadow: 0 6px 16px rgba(18, 51, 59, .25);
}
.sensor .dot::after {
  content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--coral); top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: blink 2.4s infinite;
}
.ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid var(--teal); opacity: 0;
  animation: ping 2.4s infinite;
}
.r2 { animation-delay: .5s; }
.r3 { animation-delay: 1s; }
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes blink { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }

.vapor { position: absolute; left: 30%; bottom: 22%; width: 40%; height: 46%; }
.vapor span {
  position: absolute; bottom: 0; width: 70px; height: 70px; border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 214, 194, .55), rgba(127, 214, 194, 0) 70%);
  animation: rise 5s infinite ease-in;
}
.vapor span:nth-child(1) { left: 10%; }
.vapor span:nth-child(2) { left: 40%; animation-delay: 1.2s; }
.vapor span:nth-child(3) { left: 25%; animation-delay: 2.4s; }
.vapor span:nth-child(4) { left: 55%; animation-delay: 3.6s; }
@keyframes rise {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-220%) scale(1.8); opacity: 0; }
}
.door {
  position: absolute; right: 12%; bottom: 0; width: 26%; height: 52%;
  background: var(--teal); border-radius: 10px 10px 0 0;
}
.door::after { content: ""; position: absolute; left: 14%; top: 52%; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.door-sign {
  position: absolute; top: 14%; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--teal-dark); font-weight: 800; font-size: .8rem;
  padding: 2px 8px; border-radius: 6px;
}

.notify {
  position: absolute; left: -28px; bottom: 32px;
  display: flex; gap: 12px; align-items: center;
  background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow); max-width: 280px;
  animation: pop 6s infinite;
}
.notify-icon { width: 40px; height: 40px; border-radius: 12px; background: #fff1ec; display: grid; place-items: center; flex: none; }
.notify-icon svg { width: 22px; height: 22px; fill: var(--coral); }
.notify-title { margin: 0; font-weight: 800; font-size: .95rem; }
.notify-meta { margin: 0; color: var(--muted); font-size: .82rem; }
@keyframes pop {
  0%, 18% { transform: translateY(12px); opacity: 0; }
  25%, 85% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

.trust {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.trust li {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; font-weight: 600; font-size: .95rem;
}
.trust svg { width: 22px; height: 22px; fill: var(--teal); flex: none; }

/* Secties */
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.prose p { color: var(--muted); font-size: 1.08rem; }

.how { background: var(--bg-soft); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: 32px 28px; border: 1px solid var(--line);
}
.step p { color: var(--muted); margin: 0; }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--teal); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 18px;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 56px; right: -24px; width: 24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 6px, transparent 6px 10px);
}
.extra {
  margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--teal-light); border-radius: var(--radius); padding: 24px 28px;
}
.extra p { margin: 0; max-width: 46em; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: .97rem; flex: 1; }
.card-tag {
  align-self: flex-start; font-size: .78rem; font-weight: 700; color: var(--teal-dark);
  background: var(--teal-light); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px;
}
.card-accent { background: var(--ink); border-color: var(--ink); color: #fff; }
.card-accent p { color: #c7dadd; }
.card-accent .card-tag { background: rgba(127, 214, 194, .2); color: var(--mint); }
.card-accent .text-link { color: var(--mint); }

.privacy { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); color: #fff; }
.privacy .eyebrow { color: var(--mint); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li {
  position: relative; padding: 18px 20px 18px 56px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px;
  color: #dcefef;
}
.checks li strong { color: #fff; }
.checks li::before {
  content: ""; position: absolute; left: 18px; top: 20px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%2312333b'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--teal); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Conversie */
.convert { background: var(--bg-soft); }
.convert-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.side-col { display: grid; gap: 28px; }
.form-card { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow); }
.form-card > p { color: var(--muted); }
.form-card-alt { background: var(--teal-light); box-shadow: none; }
.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
form { display: grid; gap: 14px; margin-top: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31, 122, 140, .15); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 600; font-size: .95rem; min-height: 1.4em; }
.form-status.is-ok { color: #1b7a4b; }
.form-status.is-error { color: #c0392b; }
.call-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px 40px; }
.call-card p { color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #c7dadd; padding: 48px 0 40px; font-size: .95rem; }
.footer-inner { display: grid; gap: 8px; }
.footer-logo { height: 33px; width: auto; filter: brightness(0) invert(1); margin-bottom: 12px; }
.site-footer a { color: #fff; }
.small { font-size: .85rem; opacity: .7; }

.mobile-bar { display: none; }

/* Sensor */
.sensor-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.sensor-visual { background: var(--bg-soft); border-radius: 28px; padding: 32px; text-align: center; }
.sensor-visual img { margin: 0 auto; width: 100%; height: auto; }
.sensor-caption { color: var(--muted); font-size: .9rem; margin: 8px 0 0; }
.lead-sm { color: var(--muted); font-size: 1.08rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 24px 0 0; }
.specs div { border-top: 1px solid var(--line); padding-top: 12px; }
.specs dt { font-weight: 700; font-size: .85rem; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .06em; }
.specs dd { margin: 4px 0 0; font-size: .97rem; }

.scenarios { background: var(--bg-soft); }
.scenario-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.scenario { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.scenario svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--teal-light); fill: var(--teal); margin-bottom: 16px; }
.scenario p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Patroonherkenning */
.patterns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks-light { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks-light li { position: relative; padding-left: 34px; color: var(--muted); }
.checks-light li strong { color: var(--ink); }
.checks-light li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%231f7a8c'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.note { margin-top: 20px; font-size: .92rem; color: var(--muted); }
.heatmap-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.heatmap-card figcaption { display: grid; gap: 2px; margin-bottom: 18px; }
.hm-title { font-weight: 800; font-size: 1.1rem; }
.hm-sub { color: var(--muted); font-size: .88rem; }
.heatmap { display: grid; grid-template-columns: 28px repeat(8, 1fr); gap: 2px; font-size: .72rem; color: var(--muted); }
.hm-col { text-align: center; padding-bottom: 4px; }
.hm-row { display: flex; align-items: center; font-weight: 600; }
.hm-cell { position: relative; aspect-ratio: 1.15 / 1; border-radius: 4px; background: #eef5f6; outline: none; }
.hm-cell.l1 { background: #d3e8ec; }
.hm-cell.l2 { background: #a9d2da; }
.hm-cell.l3 { background: #6fb2c0; }
.hm-cell.l4 { background: #3b8fa1; }
.hm-cell.l5 { background: #155562; }
.hm-peak { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--coral); }
.heatmap .hm-cell:hover, .heatmap .hm-cell:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); z-index: 2; }
.heatmap .hm-cell:hover::after, .heatmap .hm-cell:focus-visible::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; white-space: nowrap;
  padding: 6px 10px; border-radius: 8px; pointer-events: none;
}
.hm-legend { display: flex; align-items: center; gap: 4px; justify-content: flex-end; margin-top: 12px; font-size: .75rem; color: var(--muted); }
.hm-legend .hm-cell { width: 14px; aspect-ratio: 1; }
.prediction { margin-top: 20px; border-left: 4px solid var(--coral); background: #fff6f3; border-radius: 0 12px 12px 0; padding: 14px 16px; }
.prediction p { margin: 0; }
.prediction-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #c2532f; }
.prediction-main { font-weight: 700; margin-top: 2px !important; }
.prediction-sub { color: var(--muted); font-size: .92rem; }

/* Responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .cards, .scenario-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero-grid, .two-col, .convert-grid, .sensor-grid, .patterns-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .notify { left: 8px; bottom: 16px; }
  .trust { grid-template-columns: 1fr; margin-top: 36px; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .extra { flex-direction: column; align-items: flex-start; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { padding: 0 16px; }
  .link-mail { display: none; }
  .header-cta .btn { display: none; }
  .cards, .scenario-grid, .specs { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card, .call-card, .heatmap-card { padding: 28px 16px; }
  .heatmap { grid-template-columns: 24px repeat(8, 1fr); font-size: .62rem; }
  .cta-row .btn { width: 100%; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); box-shadow: 0 -8px 24px -12px rgba(18, 51, 59, .3);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .notify { opacity: 1; }
  html { scroll-behavior: auto; }
}
