/* ===== Suwie — stijl v3 (modern · strak · technisch) ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f7f5;
  --ink: #0c1713;
  --muted: #5a6b64;
  --line: #e4ebe7;

  --green-700: #0e7a78;
  --green-600: #12938e;
  --green-500: #17a7a0;
  --green-400: #2ec5bd;
  --green-300: #5cd8d1;
  --green-50:  #e7f6f5;

  --accent: #33d3c8;      /* brand teal/cyaan */
  --sun: #ffc23d;

  --dark: #081411;        /* technische donkere secties */
  --dark-2: #0c1c17;
  --dark-line: rgba(255,255,255,.08);
  --dark-ink: #e8f2ee;
  --dark-muted: #8fa89f;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 16px rgba(8, 20, 17, 0.06);
  --shadow: 0 20px 50px rgba(8, 20, 17, 0.14);
  --maxw: 1180px;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 { margin: 0 0 .5em; letter-spacing: -0.025em; font-weight: 700; }
h1 { font-size: clamp(2.7rem, 6.2vw, 4.6rem); line-height: 1.02; }
h1 .accent { color: var(--green-400); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.08; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

/* mono labels */
.mono-tag { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--accent); margin-bottom: 18px; font-weight: 500; }
.mono-tag.dark { color: var(--green-600); }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem; cursor: pointer; border: 1.5px solid transparent; transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-500); color: #fff; box-shadow: 0 8px 24px rgba(23,167,160,.28); }
.btn-primary:hover { background: var(--green-600); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); }
.btn-ghostline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghostline:hover { border-color: var(--green-500); color: var(--green-700); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 20px rgba(8,20,17,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: "Fredoka", var(--sans); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; color: var(--ink); }
.brand-tag { font-family: var(--mono); font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--green-500); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .12s ease; }
.site-nav a:hover { color: var(--green-700); }
.nav-cta { background: var(--green-500); color: #fff !important; padding: 10px 19px; border-radius: 999px; }
.nav-cta:hover { background: var(--green-600); }

/* ===== Hero (donker, technisch) ===== */
.hero { position: relative; background: radial-gradient(120% 120% at 100% 0%, #0e241d 0%, var(--dark) 55%); color: var(--dark-ink); overflow: hidden; padding: 92px 0 100px; }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 80%); }
.hero-glow { position: absolute; top: -140px; right: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(51,211,200,.28), transparent 62%); filter: blur(10px); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 1.18rem; color: var(--dark-muted); max-width: 44ch; margin-top: 6px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 34px; }
.hero-specs { display: flex; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--dark-line); padding-top: 22px; }
.spec { display: flex; flex-direction: column; gap: 4px; }
.spec-k { font-family: var(--mono); font-size: .72rem; color: var(--accent); }
.spec-v { font-size: .96rem; color: var(--dark-ink); font-weight: 500; }

/* Systeem-kaartje */
.hero-system { background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--dark-line); border-radius: var(--radius-lg); padding: 26px 24px; backdrop-filter: blur(6px); box-shadow: var(--shadow); }
.sys-head { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--dark-muted); display: flex; align-items: center; gap: 9px; margin-bottom: 24px; }
.sys-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(51,211,200,.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:.4 } }
.sys-flow { display: flex; flex-direction: column; gap: 0; }
.node { display: flex; align-items: center; gap: 14px; }
.node-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: rgba(51,211,200,.10); border: 1px solid var(--dark-line); color: var(--accent); }
.node-sun .node-ic { color: var(--sun); background: rgba(255,194,61,.12); }
.node-home .node-ic { color: #fff; }
.node-lb { font-size: .98rem; color: var(--dark-ink); font-weight: 500; }
.conn { height: 26px; margin-left: 21px; border-left: 2px dashed var(--dark-line); position: relative; overflow: hidden; }
.conn span { position: absolute; left: -3px; top: 0; width: 4px; height: 8px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: flow 1.8s linear infinite; }
@keyframes flow { from { transform: translateY(-10px); opacity: 0 } 20%{opacity:1} 80%{opacity:1} to { transform: translateY(26px); opacity: 0 } }
.sys-read { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; border-top: 1px solid var(--dark-line); padding-top: 18px; }
.sys-read div { display: flex; flex-direction: column; gap: 3px; }
.rk { font-family: var(--mono); font-size: .66rem; color: var(--dark-muted); letter-spacing: .04em; }
.rv { font-size: 1rem; color: var(--accent); font-weight: 600; }

/* ===== Strip ===== */
.strip { background: var(--dark-2); color: var(--dark-muted); border-top: 1px solid var(--dark-line); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; padding: 16px 24px; font-size: .88rem; font-weight: 500; }
.strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--green-500); }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 660px; margin-bottom: 54px; }
.section-intro { color: var(--muted); font-size: 1.12rem; margin: 0; }
.section-intro.light { color: var(--dark-muted); }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card-idx { position: absolute; top: 24px; right: 26px; font-family: var(--mono); font-size: .8rem; color: var(--green-300); }
.card-icon { width: 54px; height: 54px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--green-50); color: var(--green-600); margin-bottom: 20px; }
.card p { color: var(--muted); margin: 0 0 18px; font-size: .98rem; }
.card-link { color: var(--green-700); font-weight: 600; font-size: .93rem; }
.card-link:hover { color: var(--green-500); }

/* ===== Flow (donker) ===== */
.flow { position: relative; background: radial-gradient(110% 120% at 0% 0%, #0e241d, var(--dark) 60%); color: var(--dark-ink); }
.flow .section-head h2 { color: #fff; }
.flow-track { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
.fnode { background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 26px 22px; }
.fnode-ic { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(51,211,200,.10); color: var(--accent); border: 1px solid var(--dark-line); margin-bottom: 18px; }
.fnode h3 { color: #fff; margin-bottom: 8px; }
.fnode p { color: var(--dark-muted); font-size: .94rem; margin: 0; }
.farrow { align-self: center; width: 42px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent)); position: relative; }
.farrow::after { content: "▸"; position: absolute; right: -4px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: .7rem; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: #dde8e2; box-shadow: var(--shadow-sm); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 13px; color: #fff; font-size: .88rem; font-weight: 500; background: linear-gradient(to top, rgba(8,20,17,.8), transparent); }
.shot.is-empty { background: repeating-linear-gradient(135deg, #e6efe9, #e6efe9 12px, #dfeae4 12px, #dfeae4 24px); }
.shot.is-empty img { display: none; }
.shot.is-empty figcaption { background: none; color: var(--green-700); top: 50%; bottom: auto; transform: translateY(-50%); text-align: center; opacity: .75; font-family: var(--mono); font-size: .8rem; }
.gallery-hint { margin-top: 20px; color: var(--muted); font-size: .9rem; font-family: var(--mono); }
.gallery-hint code { color: var(--green-700); }

/* Realisaties — tijdelijke 'binnenkort'-staat */
.gallery-soon { text-align: center; max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px 32px; box-shadow: var(--shadow-sm); }
.gallery-soon .gs-ic { font-size: 2.4rem; margin: 0 0 8px; }
.gallery-soon h3 { font-size: 1.4rem; margin: 0 0 10px; }
.gallery-soon p { color: var(--muted); margin: 0 auto 22px; max-width: 46ch; }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--dark); color: var(--accent); font-family: var(--mono); font-weight: 500; font-size: 1.05rem; margin-bottom: 16px; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ===== Cijfers ===== */
.figures { background: var(--dark); color: #fff; border-top: 1px solid var(--dark-line); }
.figures-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 64px 24px; }
.fig { text-align: center; }
.fig-num { display: block; font-size: 3.1rem; line-height: 1; color: var(--accent); margin-bottom: 12px; font-weight: 700; letter-spacing: -0.03em; }
.fig-label { color: var(--dark-muted); font-size: .92rem; line-height: 1.45; }

/* ===== Over ===== */
.over-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.over-inner p { color: var(--muted); }
.quote-card { background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: 38px 34px; box-shadow: var(--shadow); }
.quote-mark { font-size: 3.5rem; color: var(--accent); line-height: .4; margin: 0 0 14px; }
.quote-text { font-size: 1.5rem; line-height: 1.35; color: #fff; margin: 0 0 18px; letter-spacing: -0.01em; }
.quote-by { color: var(--dark-muted); font-size: .9rem; margin: 0; font-family: var(--mono); }

/* ===== FAQ ===== */
.faq-inner { max-width: 800px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 22px; transition: box-shadow .15s ease; }
.faq-list details[open] { box-shadow: var(--shadow-sm); }
.faq-list summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--green-600); font-size: 1.4rem; font-weight: 400; transition: transform .2s ease; flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); margin: 0 0 18px; }

/* ===== Contact ===== */
.contact { background: radial-gradient(110% 120% at 100% 0%, #0e241d, var(--dark) 60%); color: var(--dark-ink); }
.contact .section-head h2, .contact h2 { color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy .light { color: var(--dark-muted); }
.contact-details { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-details li { padding: 9px 0; display: flex; align-items: center; gap: 13px; color: var(--dark-ink); }
.contact-details a { color: var(--dark-ink); }
.contact-details a:hover { color: var(--accent); }
.ci { color: var(--accent); font-size: 1.05rem; width: 22px; text-align: center; }
.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); color: var(--ink); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; transition: border-color .12s ease, box-shadow .12s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(23,167,160,.15); }
.field textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: .84rem; text-align: center; margin: 14px 0 0; }

/* ===== Footer ===== */
.site-footer { background: #060f0c; color: #b7cabf; padding: 54px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand .footer-name { display: block; color: #fff; font-size: 1.6rem; }
.footer-brand .footer-tag { font-family: var(--mono); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.footer-brand p { margin: 12px 0 0; color: #7f978c; font-size: .93rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #b7cabf; font-size: .93rem; }
.footer-links a:hover { color: var(--accent); }
.footer-legal { text-align: right; color: #7f978c; font-size: .88rem; font-family: var(--mono); }
.footer-legal p { margin: 4px 0; }

/* ===== Offerte-tool ===== */
.quote { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); color: var(--ink); }
.quote-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.quote-steps { display: flex; align-items: center; gap: 10px; }
.quote-steps .qs { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .82rem; background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); transition: all .2s ease; }
.quote-steps .qs.active { background: var(--green-500); color: #fff; border-color: var(--green-500); }
.quote-steps .qs.done { background: var(--green-50); color: var(--green-600); border-color: var(--green-300); }
.quote-steps i { width: 20px; height: 2px; background: var(--line); }
.quote-sub { margin: 0; font-family: var(--mono); font-size: .72rem; color: var(--green-600); letter-spacing: .02em; }

.qstep { display: none; animation: qfade .35s ease; }
.qstep.is-active { display: block; }
@keyframes qfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qtitle { font-size: 1.28rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 4px; }
.qtitle-2 { margin-top: 24px; }
.qhint { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: inherit; font-size: .95rem; font-weight: 500; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .15s ease; }
.chip:hover { border-color: var(--green-400); }
.chip.on { background: var(--green-50); border-color: var(--green-500); color: var(--green-700); box-shadow: inset 0 0 0 1px var(--green-500); }

.qnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.qnav .btn { padding: 12px 22px; }

.q-privacy { display: flex; gap: 8px; align-items: flex-start; background: var(--green-50); color: var(--green-700); font-size: .84rem; padding: 12px 14px; border-radius: var(--radius-sm); margin: 6px 0 0; }
.qerror { color: #c0392b; font-size: .88rem; background: #fdecea; border-radius: var(--radius-sm); padding: 10px 14px; margin: 0 0 4px; }
.shake { animation: shake .4s ease; }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-6px)} 40%,80%{transform:translateX(6px)} }

.qdone { text-align: center; padding: 14px 0; }
.qcheck { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--green-500); color: #fff; display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 10px 24px rgba(23,167,160,.4); animation: pop .4s ease; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qdone p { color: var(--muted); }
.qdone .q-mail { color: var(--green-700); font-weight: 600; }

/* ===== Juridische / tekstpagina's ===== */
.legal-hero { background: radial-gradient(120% 120% at 100% 0%, #0e241d 0%, var(--dark) 55%); color: var(--dark-ink); padding: 64px 0 48px; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal-hero .mono-tag { margin-bottom: 14px; }
.legal-body { max-width: 780px; padding: 64px 24px 90px; margin: 0 auto; }
.legal-body h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--green-700); text-decoration: underline; }
.legal-updated { font-family: var(--mono); font-size: .8rem; color: var(--green-600); }
.legal-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 30px; font-weight: 600; color: var(--green-700); }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; background: radial-gradient(120% 120% at 100% 0%, #0e241d 0%, var(--dark) 55%); color: var(--dark-ink); padding: 60px 24px; }
.nf-code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 700; color: var(--accent); line-height: 1; letter-spacing: -0.04em; }
.nf p { color: var(--dark-muted); margin: 10px 0 26px; }

/* ===== Reveal-animatie ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero-inner, .over-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-system { max-width: 460px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .figures-inner { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .flow-track { grid-template-columns: 1fr; gap: 14px; }
  .farrow { display: none; }
  .site-nav { gap: 15px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .footer-legal { text-align: left; }
}
@media (max-width: 560px) {
  .steps, .gallery, .cards { grid-template-columns: 1fr; }
  .figures-inner { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .hero { padding: 70px 0 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .sys-dot, .conn span { animation: none; }
}
