/* SiteCheck: huisstijl afgeleid van www.standingout.be (SPEC-012) */
:root {
    --teal: #0a7390;
    --teal-2: #007c98;
    --teal-light: #e1f0f4;
    --ink: #1b1d21;
    --text: #6d6d6d;
    --dark: #303030;
    --line: #e1e6e9;
    --ok: #1e8e5a;
    --warn: #c77700;
    --bad: #c0392b;
    --na: #9aa3a8;
    --radius: 12px;
    --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
    --font-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
a { color: var(--teal); }
code { font-size: .85em; word-break: break-all; }
.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--na); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.eyebrow { font-weight: 800; font-size: 14px; color: var(--teal); text-transform: lowercase; margin: 0 0 .5em; letter-spacing: .02em; }
.eyebrow-light { color: #7fd0e6; }

.btn { display: inline-block; background: var(--teal); color: #fff; border: 0; border-radius: 6px; padding: 14px 28px;
       font-family: var(--font-body); font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--teal-2); }
.btn-small { padding: 8px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); margin-left: 8px; }
.btn-ghost:hover { background: var(--teal-light); }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 26px; width: auto; display: block; }
.brand-product { font-family: var(--font-head); font-weight: 900; color: var(--ink); padding-left: 12px; border-left: 2px solid var(--line); }
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-nav a:not(.btn) { color: var(--dark); font-weight: 600; text-decoration: none; font-size: 14px; }

/* Hero */
.hero { background: var(--ink); background-image: radial-gradient(circle at 85% 20%, rgba(10,115,144,.45), transparent 55%); color: #c9d1d6; }
.hero-inner { padding: 90px 0 80px; max-width: 820px; }
.hero h1 { color: #fff; }
.lead { font-size: 1.15rem; }
.scan-form { display: flex; gap: 10px; margin-top: 28px; background: #fff; padding: 8px; border-radius: 10px; }
.scan-form input { flex: 1; border: 0; font: inherit; font-size: 1.1rem; padding: 10px 14px; color: var(--ink); outline: none; min-width: 0; }
.form-error { color: #ffb4a8; font-weight: 700; margin-top: 12px; }
.hero-note { font-size: 14px; margin-top: 14px; opacity: .8; }

/* Secties en kaarten */
.section { padding: 80px 0; }
.section-tint { background: var(--teal-light); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin-top: 32px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.icon-tile { width: 48px; height: 48px; border-radius: 10px; background: var(--teal); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.advice-steps { padding-left: 1.2em; }
.advice-steps li { margin: .4em 0; color: var(--ink); }

/* Rapport */
.report-head { background: var(--ink); color: #c9d1d6; padding: 56px 0 40px; }
.report-head h1 { color: #fff; margin-bottom: .2em; word-break: break-word; }
.report-head .meta { margin: 0; }

.progress { height: 12px; background: var(--teal-light); border-radius: 99px; overflow: hidden; margin: 28px 0 10px; }
.progress-bar { height: 100%; background: var(--teal); border-radius: 99px; transition: width .4s; }

.summary { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.grade { border-radius: var(--radius); padding: 28px 20px; text-align: center; color: #fff; }
.grade-ok { background: var(--ok); } .grade-warn { background: var(--warn); } .grade-bad { background: var(--bad); } .grade-na { background: var(--na); }
.grade-letter { display: block; font-family: var(--font-head); font-size: 5rem; font-weight: 900; line-height: 1; }
.grade-score { display: block; margin-top: 8px; font-weight: 700; }
.advice { border: 1px solid var(--line); border-left: 6px solid var(--teal); border-radius: var(--radius); padding: 28px 32px; }
.advice-1 { border-left-color: var(--ok); } .advice-2 { border-left-color: var(--teal); }
.advice-3 { border-left-color: var(--warn); } .advice-4 { border-left-color: var(--bad); }
.advice-why-title { font-weight: 800; color: var(--ink); margin-bottom: .2em; }
.advice-why { margin-top: 0; padding-left: 1.2em; }

.category-scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 32px; }
.category-score { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
                  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--text); }
.category-score:hover { border-color: var(--teal); }
.category-score .pill { grid-row: span 2; }
.category-name { font-weight: 800; color: var(--ink); }
.category-note { grid-column: 2; font-size: 12px; color: var(--bad); }

.pill { display: inline-grid; place-items: center; min-width: 40px; padding: 4px 10px; border-radius: 99px; color: #fff; font-weight: 800; font-size: 14px; font-family: var(--font-body); }
.pill-ok { background: var(--ok); } .pill-warn { background: var(--warn); } .pill-bad { background: var(--bad); } .pill-na { background: var(--na); }

.task-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 24px; }
.task-group ul { padding-left: 0; list-style: none; margin: 0; }
.task { padding: 10px 0 10px 18px; border-top: 1px solid var(--line); position: relative; }
.task::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; border-radius: 50%; }
.task-bad::before { background: var(--bad); } .task-warn::before { background: var(--warn); }
.task strong { color: var(--ink); }

.category-block { margin-top: 48px; }
.category-block h3 { display: flex; gap: 12px; align-items: center; font-size: 1.4rem; }
.check { border: 1px solid var(--line); border-radius: 10px; margin: 10px 0; background: #fff; }
.check > summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.check > summary::-webkit-details-marker { display: none; }
.check > summary::after { content: "+"; margin-left: 8px; font-weight: 800; color: var(--na); }
.check[open] > summary::after { content: "–"; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--na); }
.check-ok .status-dot { background: var(--ok); } .check-warn .status-dot { background: var(--warn); } .check-bad .status-dot { background: var(--bad); }
.check-title { font-weight: 800; color: var(--ink); flex: 1; }
.check-status { font-size: 14px; font-weight: 700; }
.check-ok .check-status { color: var(--ok); } .check-warn .check-status { color: var(--warn); } .check-bad .check-status { color: var(--bad); } .check-na .check-status { color: var(--na); }
.check-body { padding: 0 18px 14px 42px; }
.check-body p { margin: .4em 0; }
.check-code { font-size: 12px; color: var(--na); }
.tech summary { cursor: pointer; color: var(--teal); font-weight: 700; font-size: 14px; }
.tech ul { padding-left: 1.2em; font-size: 14px; }

.cta { background: var(--teal); color: #e6f5f9; }
.cta h2 { color: #fff; }
.cta .btn { background: #fff; color: var(--teal); }
.cta .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }

/* Footer */
.site-footer { background: var(--dark); color: #b5b5b5; padding: 56px 0 0; font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-title { color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: .4em; }
.footer-bottom { border-top: 1px solid #444; margin-top: 32px; padding: 20px 0; font-size: 13px; }

@media (max-width: 720px) {
    .summary { grid-template-columns: 1fr; }
    .scan-form { flex-direction: column; }
    .header-nav a:not(.btn) { display: none; }
    .brand img { height: 20px; }
    .section { padding: 56px 0; }
    .check-body { padding-left: 18px; }
}

/* Fase 2: leadformulier, tekstpagina's */
.lead-grid { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; }
.teaser { list-style: none; padding: 0; margin: 24px 0 0; }
.teaser li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(0,0,0,.08); }
.teaser .muted { margin-left: auto; font-size: 14px; }
.lead-form { display: flex; flex-direction: column; gap: 6px; }
.lead-form label { font-weight: 700; color: var(--ink); font-size: 14px; margin-top: 8px; }
.lead-form input:not([type=checkbox]) { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); }
.lead-form input:focus { outline: 2px solid var(--teal); outline-offset: 0; }
.lead-form .btn { margin-top: 16px; }
.check-label { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--text) !important; }
.check-label input { margin-top: 6px; }
.small { font-size: 13px; }
.form-error-dark { color: var(--bad); font-weight: 700; margin: 0 0 8px; }
.cf-turnstile { margin-top: 12px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.lead-dark { font-size: 1.15rem; color: var(--ink); }
@media (max-width: 900px) { .lead-grid { grid-template-columns: 1fr; } }
.category-why { background: var(--teal-light); border-radius: 8px; padding: 12px 16px; color: var(--ink); }
.mail-note { background: var(--teal-light); border-radius: 6px; padding: 10px 12px; font-size: 14px; color: var(--ink); margin: 0 0 4px; }
.icon-tile-lg { width: 64px; height: 64px; margin: 0 auto 20px; }
.task-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.task-actions .btn-ghost { margin-left: 0; }
.quote-form fieldset { border: 0; padding: 0; margin: 8px 0 0; }
.quote-form legend { font-weight: 700; color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.quote-form select, .quote-form textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: #fff; }
.form-section { font-size: 1.1rem; margin: 20px 0 4px; }
.form-section:first-of-type { margin-top: 0; }

/* SPEC-033: sectie Klaar voor AI op de homepage */
.ai-section { background: var(--ink); background-image: radial-gradient(circle at 10% 80%, rgba(10,115,144,.4), transparent 55%); color: #c9d1d6; }
.ai-section h2 { color: #fff; }
.ai-grid { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: start; }
.ai-card { background: #fff; border-radius: var(--radius); padding: 32px 28px; color: var(--text); }
.ai-card h3 { margin-bottom: 12px; }
.ai-list { list-style: none; padding: 0; margin: 0 0 24px; }
.ai-list li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid var(--line); }
.ai-list li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } }

/* SPEC-034: rapportenoverzicht */
.search-form { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.search-form input { flex: 1; min-width: 220px; font: inherit; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); }
.search-form .btn-ghost { margin-left: 0; }
.table-wrap { overflow-x: auto; }
.reports { width: 100%; border-collapse: collapse; font-size: 15px; }
.reports th { text-align: left; color: var(--ink); font-weight: 800; border-bottom: 2px solid var(--line); padding: 10px 8px; }
.reports td { border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: middle; }
.reports tr:hover td { background: var(--teal-light); }
.nowrap { white-space: nowrap; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 24px; }

/* SPEC-036: vakje technische partner */
.partner-box { display: grid; grid-template-columns: auto 1fr; gap: 20px; margin-top: 40px; border-left: 6px solid var(--teal); }
.partner-box .icon-tile { margin-bottom: 0; }
.partner-list { padding-left: 1.2em; margin: 8px 0 0; }
@media (max-width: 720px) { .partner-box { grid-template-columns: 1fr; } }

/* SPEC-037: cookiebanner */
.cookie-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; display: flex; justify-content: center; }
.cookie-consent[hidden] { display: none; }
.cookie-inner { background: var(--ink); color: #c9d1d6; border-radius: var(--radius); padding: 20px 24px; max-width: 640px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 14px; }
.cookie-inner a { color: #7fd0e6; }
.cookie-title { color: #fff; font-weight: 800; margin: 0 0 4px; }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cookie-buttons .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; margin-left: 0; }

/* Knoppen naast elkaar, en met tussenruimte als ze op mobiel onder elkaar komen */
.button-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.button-row .btn-ghost, .task-actions .btn-ghost { margin-left: 0; }
@media (max-width: 480px) { .button-row .btn, .task-actions .btn { flex: 1 1 100%; text-align: center; } }
