/* Websiteverbeteraar Scan */
.wvs {
	--wvs-bg: #eff4fb;
	--wvs-heading: #004aad;
	--wvs-accent: #f04e29;
	--wvs-text: #1d2533;
	--wvs-muted: #5b6678;
	--wvs-line: #dbe3ef;
	--wvs-good: #1f9d55;
	--wvs-ok: #e08a00;
	--wvs-bad: #d64545;
	--wvs-radius: 14px;
	color: var(--wvs-text);
	font-size: 16px;
	line-height: 1.55;
	max-width: 980px;
	margin: 0 auto;
	box-sizing: border-box;
}
.wvs *, .wvs *::before, .wvs *::after { box-sizing: border-box; }
.wvs h2, .wvs h3, .wvs h4 { color: var(--wvs-heading); line-height: 1.25; margin: 0 0 .5em; }
.wvs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wvs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Hero */
.wvs-hero {
	background: var(--wvs-bg);
	border-radius: var(--wvs-radius);
	padding: clamp(24px, 5vw, 48px);
	text-align: center;
}
.wvs-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.wvs-intro { color: var(--wvs-muted); max-width: 620px; margin: 0 auto 24px; }
.wvs-form {
	display: flex;
	gap: 8px;
	max-width: 620px;
	margin: 0 auto;
	background: #fff;
	padding: 8px;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(0, 74, 173, .10);
}
.wvs-url {
	flex: 1;
	min-width: 0;
	border: 0;
	font-size: 17px;
	padding: 12px 14px;
	background: transparent;
	color: var(--wvs-text);
	outline: none;
}
.wvs-btn {
	background: var(--wvs-accent);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 12px 22px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
	display: inline-block;
	transition: transform .15s ease, filter .15s ease;
}
.wvs-btn:hover, .wvs-btn:focus-visible { filter: brightness(1.07); transform: translateY(-1px); color: #fff; }
.wvs-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.wvs-btn--ghost { background: transparent; color: var(--wvs-heading); border: 2px solid var(--wvs-heading); }
.wvs-btn--ghost:hover { color: var(--wvs-heading); }
.wvs-usps {
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 18px;
	font-size: 14px;
	color: var(--wvs-muted);
}
.wvs-usps li::before { content: "✓"; color: var(--wvs-accent); font-weight: 800; margin-right: 6px; }
.wvs-error { color: var(--wvs-bad); margin: 14px 0 0; font-weight: 600; }

/* Laden */
.wvs-loading { text-align: center; padding: 48px 16px; }
.wvs-spinner {
	width: 54px; height: 54px; margin: 0 auto 16px;
	border: 5px solid var(--wvs-bg);
	border-top-color: var(--wvs-accent);
	border-radius: 50%;
	animation: wvs-spin .9s linear infinite;
}
.wvs-spinner--sm { width: 16px; height: 16px; border-width: 2px; margin: 0; display: inline-block; vertical-align: -3px; }
@keyframes wvs-spin { to { transform: rotate(360deg); } }
.wvs-loading-step { color: var(--wvs-muted); font-weight: 600; }

/* Resultaat */
.wvs-result { margin-top: 28px; }
.wvs-summary {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 28px;
	align-items: center;
	background: var(--wvs-bg);
	border-radius: var(--wvs-radius);
	padding: clamp(20px, 4vw, 36px);
}
.wvs-ring { position: relative; width: 150px; height: 150px; }
.wvs-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.wvs-ring-track { stroke: #fff; }
.wvs-ring-bar { transition: stroke-dashoffset 1s ease; }
.wvs-ring-num {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	font-size: 42px; font-weight: 800; line-height: 1;
}
.wvs-ring-num small { font-size: 13px; color: var(--wvs-muted); font-weight: 600; margin-top: 4px; }
.wvs-domain { font-size: clamp(22px, 3vw, 30px); word-break: break-word; }
.wvs-verdict { margin: 0 0 10px; color: var(--wvs-text); }
.wvs-tally { display: flex; flex-wrap: wrap; gap: 8px; }
.wvs-pill {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13px; font-weight: 700;
	padding: 4px 10px; border-radius: 99px; background: #fff;
}
.wvs-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.wvs-pill--pass { color: var(--wvs-good); }
.wvs-pill--warn { color: var(--wvs-ok); }
.wvs-pill--fail { color: var(--wvs-bad); }
.wvs-pill--info { color: var(--wvs-muted); }

.wvs-cats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px;
	margin: 18px 0 32px;
}
.wvs-cat {
	background: #fff;
	border: 1px solid var(--wvs-line);
	border-radius: 12px;
	padding: 14px 16px;
}
.wvs-cat-label { font-size: 14px; color: var(--wvs-muted); font-weight: 600; }
.wvs-cat-score { font-size: 26px; font-weight: 800; margin: 2px 0 8px; }
.wvs-cat-score span { font-size: 14px; color: var(--wvs-muted); font-weight: 600; }
.wvs-cat-pending { font-size: 14px; color: var(--wvs-muted); margin: 8px 0 12px; display: flex; gap: 8px; align-items: center; }
.wvs-bar { height: 6px; border-radius: 6px; background: var(--wvs-bg); overflow: hidden; }
.wvs-bar i { display: block; height: 100%; border-radius: 6px; transition: width 1s ease; }

.wvs-section-title { font-size: 22px; margin-top: 8px; }
.wvs-issue {
	border: 1px solid var(--wvs-line);
	border-left: 5px solid var(--wvs-ok);
	border-radius: 10px;
	padding: 14px 18px;
	margin: 0 0 12px;
	background: #fff;
}
.wvs-issue--fail { border-left-color: var(--wvs-bad); }
.wvs-issue--pass { border-left-color: var(--wvs-good); }
.wvs-issue--info { border-left-color: var(--wvs-muted); }
.wvs-issue-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.wvs-issue-head h4 { margin: 0; font-size: 17px; }
.wvs-issue-cat { font-size: 12px; color: var(--wvs-muted); text-transform: uppercase; letter-spacing: .04em; }
.wvs-issue p { margin: 6px 0 0; }
.wvs-fix { color: var(--wvs-muted); font-size: 15px; }
.wvs-fix strong { color: var(--wvs-text); }

/* Leadformulier */
.wvs-gate {
	position: relative;
	margin: 26px 0;
	border-radius: var(--wvs-radius);
	overflow: hidden;
	min-height: 500px;
}
.wvs-gate-blur { filter: blur(5px); pointer-events: none; user-select: none; opacity: .55; }
.wvs-gate-blur .wvs-issue { margin-bottom: 10px; }
.wvs-gate-card {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
	background: linear-gradient(180deg, rgba(239, 244, 251, .55), rgba(239, 244, 251, .95));
}
.wvs-lead {
	background: #fff;
	border-radius: var(--wvs-radius);
	box-shadow: 0 10px 40px rgba(0, 74, 173, .16);
	padding: clamp(20px, 4vw, 30px);
	width: 100%;
	max-width: 480px;
}
.wvs-lead h3 { font-size: 21px; }
.wvs-lead p { color: var(--wvs-muted); margin: 0 0 14px; font-size: 15px; }
.wvs-field { display: block; margin-bottom: 10px; }
.wvs-field span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; color: var(--wvs-text); }
.wvs-field input {
	width: 100%;
	border: 1px solid var(--wvs-line);
	border-radius: 8px;
	padding: 11px 12px;
	font-size: 16px;
	background: #fff;
	color: var(--wvs-text);
}
.wvs-field input:focus { border-color: var(--wvs-heading); outline: 2px solid rgba(0, 74, 173, .15); }
.wvs-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--wvs-muted); margin: 6px 0 14px; }
.wvs-check input { margin-top: 3px; }
.wvs-lead .wvs-btn { width: 100%; }
.wvs-lead-error { color: var(--wvs-bad); font-size: 14px; font-weight: 600; margin-top: 10px; }
.wvs-sent {
	background: #e9f7ef;
	color: #14663a;
	border-radius: 10px;
	padding: 12px 16px;
	font-weight: 600;
	margin: 0 0 20px;
}

/* Volledige lijst */
.wvs-group { margin: 22px 0; }
.wvs-group > summary {
	cursor: pointer;
	list-style: none;
	display: flex; justify-content: space-between; align-items: center;
	background: var(--wvs-bg);
	border-radius: 10px;
	padding: 12px 16px;
	font-weight: 800;
	color: var(--wvs-heading);
	font-size: 18px;
}
.wvs-group > summary::-webkit-details-marker { display: none; }
.wvs-group > summary::after { content: "+"; font-size: 22px; color: var(--wvs-accent); }
.wvs-group[open] > summary::after { content: "–"; }
.wvs-group-body { padding-top: 12px; }

/* CTA */
.wvs-cta {
	margin-top: 32px;
	background: var(--wvs-heading);
	color: #fff;
	border-radius: var(--wvs-radius);
	padding: clamp(22px, 4vw, 36px);
	display: flex; flex-wrap: wrap; gap: 18px;
	align-items: center; justify-content: space-between;
}
.wvs-cta h3 { color: #fff; margin: 0 0 4px; font-size: 22px; }
.wvs-cta p { margin: 0; opacity: .85; }
.wvs-again { text-align: center; margin-top: 18px; }
.wvs-link { background: none; border: 0; color: var(--wvs-heading); text-decoration: underline; cursor: pointer; font-size: 15px; padding: 0; }

@media (max-width: 640px) {
	.wvs-form { flex-direction: column; }
	.wvs-btn { width: 100%; }
	.wvs-summary { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.wvs-tally { justify-content: center; }
	.wvs-ring { width: 130px; height: 130px; }
	.wvs-gate { min-height: 0; }
	.wvs-gate-card { position: static; background: none; padding: 0; }
	.wvs-gate-blur { display: none; }
}
