/* MEISEC — website. Zelfde ontwerptaal als het product: de sluis. */
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --ink: #13233f; --ink-2: #1c3155; --ink-3: #22406e; --ink-line: #2c4a7a;
  --dijk: #2457a6; --dijk-licht: #6c9be6;
  --rood: #e0483d; --groen: #2fae74; --groen-d: #1e8a5a; --amber: #e0a100;
  --paper: #f4f6f8; --surface: #ffffff; --line: #dce2ea; --text: #13233f; --muted: #55637a; --nevel: #9fb0cc;
  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --r: 14px; --schaduw: 0 1px 2px rgba(19,35,63,.06), 0 24px 60px -24px rgba(19,35,63,.35);
  --breed: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0b1322; --surface: #111c31; --line: #233453; --text: #e6ebf3; --muted: #9aa8c0; --schaduw: 0 1px 2px rgba(0,0,0,.4), 0 24px 60px -24px rgba(0,0,0,.8); color-scheme: dark; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dijk); }
@media (prefers-color-scheme: dark) { a { color: var(--dijk-licht); } }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 600; }
h2 { font-size: clamp(30px, 3.6vw, 44px); max-width: 22ch; }
h3 { font-size: 19px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--dijk-licht); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--breed), 100% - 40px); margin-inline: auto; }
.smal { width: min(780px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--dijk); margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--dijk-licht); } }
.kop { max-width: 26ch; }
section { padding: clamp(72px, 9vw, 120px) 0; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.go { background: var(--groen-d); color: #fff; box-shadow: 0 10px 30px -12px rgba(47,174,116,.7); }
.btn.go:hover { background: #22995f; }
.btn.ghost { color: #dbe3f0; border-color: rgba(255,255,255,.22); }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.light { background: #fff; color: var(--ink); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn.groot { height: 56px; padding: 0 30px; font-size: 18px; }

/* Kop */
.top { position: sticky; top: 0; z-index: 50; background: rgba(13, 25, 46, .82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.07); }
.top-in { height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .06em; font-size: 18px; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.menu a:not(.btn) { color: #c9d3e4; text-decoration: none; font-size: 15px; font-weight: 500; }
.menu a:not(.btn):hover { color: #fff; }
.menu-mobiel { display: none; margin-left: auto; position: relative; }
.menu-mobiel summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 10px; }
.menu-mobiel summary::-webkit-details-marker { display: none; }
.menu-mobiel summary span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.menu-mobiel nav { position: absolute; right: 0; top: 54px; background: var(--ink); border: 1px solid var(--ink-line); border-radius: 12px; padding: 8px; display: grid; min-width: 240px; box-shadow: var(--schaduw); }
.menu-mobiel nav a { color: #dbe3f0; text-decoration: none; padding: 12px 14px; border-radius: 8px; }
.menu-mobiel nav a:hover { background: var(--ink-2); }

/* Sluislichten */
.sluis { display: inline-flex; gap: 14px; padding: 12px; border-radius: 99px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); margin-bottom: 30px; }
.sluis i { width: 30px; height: 30px; border-radius: 50%; background: #3a4c6d; }
.sluis i:first-child { animation: lampRood 6s ease-in-out infinite; }
.sluis i:last-child { animation: lampGroen 6s ease-in-out infinite; }
@keyframes lampRood { 0%, 45% { background: var(--rood); box-shadow: 0 0 18px rgba(224,72,61,.7); } 55%, 100% { background: #3a4c6d; box-shadow: none; } }
@keyframes lampGroen { 0%, 20% { background: var(--rood); box-shadow: 0 0 18px rgba(224,72,61,.7); } 30%, 45% { background: var(--groen); box-shadow: 0 0 18px rgba(47,174,116,.8); } 55%, 92% { background: var(--groen); box-shadow: 0 0 26px rgba(47,174,116,.95); } 100% { background: var(--rood); box-shadow: 0 0 18px rgba(224,72,61,.7); } }
.sluis.klein { padding: 8px; gap: 9px; margin-bottom: 22px; }
.sluis.klein i { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) {
  .sluis i:first-child, .sluis i:last-child { animation: none; }
  .sluis i:first-child { background: #3a4c6d; }
  .sluis i:last-child { background: var(--groen); box-shadow: 0 0 18px rgba(47,174,116,.8); }
}
.lamps { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--ink); flex: none; }
.lamps i { width: 11px; height: 11px; border-radius: 50%; background: #3a4c6d; }
.lamps.dicht i { background: var(--rood); box-shadow: 0 0 8px rgba(224,72,61,.6); }
.lamps.gereed i:first-child { background: var(--rood); box-shadow: 0 0 8px rgba(224,72,61,.6); }
.lamps.gereed i:last-child, .lamps.open i:last-child, .lamps.live i:last-child { background: var(--groen); box-shadow: 0 0 8px rgba(47,174,116,.7); }
.lamps.live i:last-child { animation: puls 2.4s ease-in-out infinite; }
@keyframes puls { 50% { box-shadow: 0 0 16px rgba(47,174,116,1); } }
@media (prefers-reduced-motion: reduce) { .lamps.live i:last-child { animation: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(80px, 10vw, 140px);
  background: radial-gradient(1200px 600px at 85% -10%, rgba(108,155,230,.20), transparent 60%), radial-gradient(800px 500px at -10% 110%, rgba(47,174,116,.10), transparent 60%), linear-gradient(180deg, #0d192e 0%, var(--ink) 100%); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); pointer-events: none; }
.water { position: absolute; left: 0; right: 0; bottom: 0; height: 180px; opacity: .5; pointer-events: none; }
.water svg { width: 100%; height: 100%; }
.water path { fill: none; stroke: #2c4a7a; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--dijk-licht); }
.hero h1 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 700; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 span { color: transparent; background: linear-gradient(90deg, #8fb0e6, #4cc28a); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: #b6c3d9; max-width: 54ch; }
.lead strong { color: #fff; font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--nevel); font-size: 14.5px; }
.badges li { display: flex; align-items: center; gap: 8px; }
.badges li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--groen); box-shadow: 0 0 8px rgba(47,174,116,.8); }
.hero-visual { position: relative; perspective: 1600px; }
.browser { margin: 0; border-radius: 14px; overflow: hidden; background: #0f1b31; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(108,155,230,.08); transform: rotateY(-7deg) rotateX(3deg); transform-origin: left center; }
@media (prefers-reduced-motion: reduce) { .browser { transform: none; } }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #16243d; border-bottom: 1px solid rgba(255,255,255,.06); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3f61; }
.browser-bar span { margin-left: 14px; font-family: var(--mono); font-size: 11.5px; color: #8d9cb8; background: #0f1b31; padding: 3px 12px; border-radius: 6px; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 20px 50px -18px rgba(0,0,0,.6); font-size: 14px; line-height: 1.3; }
.float b { display: block; font-weight: 600; }
.float small { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.f1 { left: -28px; bottom: 18%; }
.f2 { right: -14px; top: 9%; }

/* Probleem */
.probleem { background: var(--surface); border-bottom: 1px solid var(--line); }
.drie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.probleem article { border-top: 2px solid var(--text); padding-top: 22px; }
.num { font-family: var(--mono); font-size: 13px; color: var(--rood); display: block; margin-bottom: 10px; }
.probleem p, .kaarten p { color: var(--muted); }

/* Hoe */
.intro { color: var(--muted); max-width: 62ch; font-size: 18px; }
.stappen { list-style: none; padding: 0; margin: 48px 0 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: stap; }
.stappen li { position: relative; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.stappen li::before { counter-increment: stap; content: '0' counter(stap); position: absolute; right: 22px; top: 20px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.stappen .lamps { margin-bottom: 18px; }
.stappen p { color: var(--muted); margin: 0; }
.stappen em { font-style: normal; font-family: var(--mono); font-size: .88em; color: var(--text); }
.shot { margin: 0; }
.shot img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--schaduw); background: var(--surface); }
.shot figcaption { color: var(--muted); font-size: 14.5px; margin-top: 14px; }
.shot.breed { max-width: 1000px; margin-inline: auto; }
.shot.breed img { aspect-ratio: 16 / 7.2; object-fit: cover; object-position: top left; }

/* Functies */
.functies { background: var(--ink); color: #fff; }
.functies .eyebrow { color: var(--dijk-licht); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 52px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: var(--r); overflow: hidden; }
.grid article { background: var(--ink); padding: 30px 26px; transition: background .2s; }
.grid article:hover { background: var(--ink-2); }
.grid p { color: var(--nevel); font-size: 15.5px; margin: 0; }
.ic { width: 30px; height: 30px; stroke: #8fb0e6; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }

/* Galerij */
.shots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; margin-top: 48px; align-items: start; }
.shots .shot { grid-column: span 2; }
.shots .groot { grid-column: span 4; grid-row: span 2; }
.shots .breder { grid-column: span 4; }
.shots .telefoon { grid-column: span 2; max-width: 300px; justify-self: center; }
.shots .telefoon img { border-radius: 28px; border: 8px solid #0d192e; }

/* Normen */
.normen { background: var(--surface); border-block: 1px solid var(--line); }
.twee { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.normen p { color: var(--muted); }
.tabel { border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; padding: 16px 20px; font-weight: 600; border-bottom: 1px solid var(--line); }
th { text-align: left; font-weight: 500; color: var(--muted); font-size: 13px; padding: 10px 20px; border-bottom: 1px solid var(--line); }
td { padding: 12px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
td:first-child { font-family: var(--mono); font-size: 13px; white-space: nowrap; color: var(--dijk); }
@media (prefers-color-scheme: dark) { td:first-child { color: var(--dijk-licht); } }
tr:last-child td { border-bottom: 0; }

/* Voor wie */
.kaarten article { padding: 30px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }

/* Installatie */
.installatie { background: linear-gradient(180deg, var(--paper), var(--surface)); }
.vinkjes { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.vinkjes li { display: flex; gap: 12px; color: var(--muted); }
.vinkjes li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--groen-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.terminal { border-radius: var(--r); background: #0a101c; border: 1px solid #1f2f4d; box-shadow: var(--schaduw); overflow: hidden; }
.terminal-bar { height: 34px; display: flex; gap: 7px; align-items: center; padding: 0 14px; background: #121c2f; }
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3f61; }
.terminal pre { margin: 0; padding: 22px 24px 26px; overflow-x: auto; }
.terminal code { font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: #c9d3e4; }
.terminal .p { color: #6c9be6; } .terminal .k { color: #e6ebf3; font-weight: 500; } .terminal .g { color: #4cc28a; } .terminal .w { color: #fff; font-weight: 500; }

/* Prijs */
.prijs-kaart { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 56px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 20px; color: #fff; background: radial-gradient(600px 300px at 100% 0%, rgba(108,155,230,.25), transparent 60%), var(--ink); box-shadow: var(--schaduw); }
.prijs-kaart .eyebrow { color: var(--dijk-licht); }
.prijs-kaart p { color: #b6c3d9; }
.edities { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.edities li { padding: 14px 18px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); display: grid; }
.edities b { font-weight: 600; }
.edities span { color: var(--nevel); font-size: 14.5px; }
.prijs-kaart .btn { justify-self: start; }

/* Eerlijk */
.eerlijk p { color: var(--muted); }
.status { padding: 32px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.status h3 { font-size: 16px; display: flex; align-items: center; gap: 10px; }
.status h3::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--groen); }
.status h3:nth-of-type(2)::before { background: var(--amber); }
.status h3:nth-of-type(3)::before { background: var(--dijk-licht); }
.status p:last-child { margin: 0; }

/* Vragen */
.vragen { background: var(--surface); border-top: 1px solid var(--line); }
.vragen h2 { margin-bottom: 30px; }
details:not(.menu-mobiel) { border-bottom: 1px solid var(--line); }
details:not(.menu-mobiel) summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
details:not(.menu-mobiel) summary::-webkit-details-marker { display: none; }
details:not(.menu-mobiel) summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font-size: 26px; font-weight: 400; color: var(--muted); transition: transform .2s; }
details[open]:not(.menu-mobiel) summary::after { transform: rotate(45deg); }
details:not(.menu-mobiel) p { color: var(--muted); padding-bottom: 14px; }

/* Contact */
.contact { color: #fff; text-align: center; background: radial-gradient(700px 360px at 50% 0%, rgba(47,174,116,.18), transparent 70%), linear-gradient(180deg, var(--ink), #0d192e); }
.contact-in { display: grid; justify-items: center; }
.contact h2 { margin-inline: auto; }
.contact p { color: #b6c3d9; max-width: 56ch; margin-bottom: 30px; }

/* Voet */
.voet { background: #0b1424; color: var(--nevel); padding: 44px 0; font-size: 14.5px; }
.voet-in { display: grid; gap: 6px; justify-items: start; }
.voet .brand { font-size: 16px; margin-bottom: 6px; }
.voet p { margin: 0; }
.voet a { color: #c9d3e4; }
.klein { font-size: 13.5px; opacity: .85; }

/* Responsief */
@media (max-width: 1060px) {
  .hero-in, .twee { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 10px; }
  .browser { transform: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prijs-kaart { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu { display: none; }
  .menu-mobiel { display: block; }
  .drie, .stappen { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shots .shot, .shots .groot, .shots .breder, .shots .telefoon { grid-column: auto; grid-row: auto; }
  .f1 { left: 8px; bottom: -22px; }
  .f2 { right: 8px; top: -22px; }
  .float { padding: 10px 12px; font-size: 13px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .float.f2 { display: none; }
  .cta .btn { flex: 1 1 100%; }
  td:first-child { white-space: normal; }
}

/* Losse pagina's */
.pagina { padding: 64px 0 96px; }
.pagina h1 { font-size: clamp(34px, 4vw, 48px); }
.pagina h2 { font-size: 22px; margin-top: 1.6em; }
.pagina p { color: var(--muted); }
