/**
 * Dop Waardebepaling - stijl
 * Kleuren als CSS-variabelen zodat dit eenvoudig aan de huisstijl aan te passen is.
 */

/* Module-wrapper + hero */
.dop-wb-module {
	max-width: 1180px;
	width: 100%;
	margin: 0 auto 2rem;
	font-family: inherit;
}
.dop-wb-module *,
.dop-wb-module *::before,
.dop-wb-module *::after {
	box-sizing: border-box;
}
.dop-wb-hero {
	background: linear-gradient(135deg, #0d1b3d 0%, #16295c 55%, #1a3a73 100%);
	border-radius: 16px 16px 0 0;
	padding: 56px 56px 96px;
	text-align: center;
	color: #fff;
}
.dop-wb-hero__eyebrow {
	display: inline-block;
	color: #8dc2f2;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 12px;
}
.dop-wb-hero__title {
	margin: 0 0 12px;
	font-size: 34px;
	line-height: 1.25;
	font-weight: 800;
	color: #fff;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}
.dop-wb-hero__subtitle {
	margin: 0 auto;
	max-width: 640px;
	font-size: 16px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 700px) {
	.dop-wb-hero { padding: 32px 20px 70px; }
	.dop-wb-hero__title { font-size: 23px; }
}

/* Kaart: makelaar-paneel + wizard naast elkaar */
.dop-wb-card {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 20px 45px -22px rgba(13, 27, 61, 0.4);
	overflow: hidden;
}
.dop-wb-card--overlap {
	margin-top: -60px;
	position: relative;
	z-index: 1;
}
.dop-wb-card--stacked {
	grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 700px) {
	.dop-wb-card { grid-template-columns: minmax(0, 1fr); }
	.dop-wb-card--overlap { margin-top: -40px; }
}

.dop-wb-agent {
	background: #f6f9fc;
	border-right: 1px solid #e3ebf3;
	padding: 36px 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
@media (max-width: 700px) {
	.dop-wb-agent { border-right: none; border-bottom: 1px solid #e3ebf3; padding: 26px 24px; }
}
.dop-wb-agent__photo {
	position: relative;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	overflow: hidden;
	background: #dce8f7;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	color: #1a4fa0;
}
.dop-wb-agent__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 12%;
}
.dop-wb-agent__badge {
	position: absolute;
	z-index: 2;
	right: 2px;
	bottom: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #2fbf4e;
	border: 2.5px solid #f6f9fc;
	box-shadow: 0 0 0 1px rgba(47, 143, 78, 0.25);
}
.dop-wb-agent__name { font-weight: 700; font-size: 15px; margin: 0; color: #1f2933; }
.dop-wb-agent__functie { font-size: 12.5px; color: #5b6672; margin: 2px 0 0 0; }
.dop-wb-agent__quote {
	font-size: 12.5px;
	line-height: 1.5;
	color: #6b7684;
	font-style: italic;
	margin: 12px 0 0;
}
.dop-wb-agent__divider {
	width: 36px;
	height: 1px;
	background: #dde6f0;
	margin: 16px 0;
}
.dop-wb-agent__checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
	text-align: left;
	width: 100%;
}
.dop-wb-agent__checklist li {
	display: flex;
	gap: 7px;
	align-items: center;
	font-size: 12px;
	color: #3d4a58;
	white-space: nowrap;
}
.dop-wb-agent__checklist li span { overflow: hidden; text-overflow: ellipsis; }
.dop-wb-agent__checklist svg { flex-shrink: 0; color: #2f8f4e; }
.dop-wb-agent__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 100%;
}
.dop-wb-agent__rating {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	font-size: 12px;
	color: #5b6672;
}
.dop-wb-agent__stars { color: #f3ac3d; font-size: 14px; letter-spacing: 1px; }
.dop-wb-agent__bel { font-size: 12.5px; color: #5b6672; text-align: center; }
.dop-wb-agent__bel span { display: block; margin-bottom: 2px; }
.dop-wb-agent__bel a { color: #1a4fa0; font-weight: 700; font-size: 14px; text-decoration: none; }
.dop-wb-agent__bel a:hover { text-decoration: underline; }

.dop-wb-card .dop-wb {
	max-width: none;
	margin: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 40px 48px 34px;
}
@media (max-width: 700px) {
	.dop-wb-card .dop-wb { padding: 26px 22px 22px; }
}
@media (max-width: 480px) {
	.dop-wb-card .dop-wb { padding: 22px 18px 18px; }
}

.dop-wb {
	--dop-wb-primary: #1a4fa0;
	--dop-wb-primary-dark: #123b7a;
	--dop-wb-accent: #4f8fc4;
	--dop-wb-bg: #f6f9fc;
	--dop-wb-border: #dde6f0;
	--dop-wb-text: #2b2f36;
	--dop-wb-muted: #6b7684;
	--dop-wb-success-bg: #eef6f0;
	--dop-wb-radius: 12px;

	max-width: 620px;
	margin: 0 0 2rem 0;
	background: #ffffff;
	border: 1px solid var(--dop-wb-border);
	border-radius: var(--dop-wb-radius);
	box-shadow: 0 12px 30px -14px rgba(26, 79, 160, 0.35);
	padding: 28px 30px 24px;
	font-family: inherit;
	box-sizing: border-box;
}
.dop-wb *,
.dop-wb *::before,
.dop-wb *::after {
	box-sizing: border-box;
}
.dop-wb--compact {
	max-width: 460px;
	padding: 22px 22px 18px;
}

.dop-wb__badge {
	display: inline-block;
	background: var(--dop-wb-success-bg);
	color: #2f8f4e;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 10px;
}
.dop-wb__title {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.25;
	color: var(--dop-wb-text);
	font-weight: 700;
}
.dop-wb__subtitle {
	margin: 0 0 20px;
	color: var(--dop-wb-muted);
	font-size: 15px;
	line-height: 1.5;
}

/* Stap-indicator */
.dop-wb__steps {
	display: flex;
	justify-content: space-between;
	margin-bottom: 22px;
	position: relative;
}
.dop-wb__steps::before {
	content: "";
	position: absolute;
	top: 14px;
	left: 14px;
	right: 14px;
	height: 2px;
	background: var(--dop-wb-border);
	z-index: 0;
}
.dop-wb__step-indicator {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 1;
}
.dop-wb__step-dot {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--dop-wb-border);
	color: var(--dop-wb-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	transition: all 0.2s ease;
}
.dop-wb__step-label {
	font-size: 11px;
	color: var(--dop-wb-muted);
	text-align: center;
}
.dop-wb__step-indicator.is-active .dop-wb__step-dot {
	background: var(--dop-wb-primary);
	border-color: var(--dop-wb-primary);
	color: #fff;
}
.dop-wb__step-indicator.is-active .dop-wb__step-label {
	color: var(--dop-wb-primary);
	font-weight: 700;
}
.dop-wb__step-indicator.is-done .dop-wb__step-dot {
	background: var(--dop-wb-accent);
	border-color: var(--dop-wb-accent);
	color: #fff;
}
.dop-wb__step-mobile-label {
	display: none;
	font-size: 13px;
	font-weight: 700;
	color: var(--dop-wb-primary);
	margin: 0 0 14px;
}

@media (max-width: 480px) {
	.dop-wb__steps { display: none; }
	.dop-wb__step-mobile-label { display: block; }
	.dop-wb { padding: 20px 18px 18px; }
}

/* Panels */
.dop-wb__panel { display: none; }
.dop-wb__panel.is-active { display: block; animation: dopWbFade 0.25s ease; }
@keyframes dopWbFade {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}
.dop-wb__panel h4 {
	margin: 0 0 16px;
	font-size: 17px;
	color: var(--dop-wb-text);
}

.dop-wb__row {
	display: flex;
	gap: 14px;
	margin-bottom: 14px;
}
.dop-wb__row--checks {
	flex-direction: column;
	gap: 10px;
}
@media (max-width: 480px) {
	.dop-wb__row { flex-direction: column; gap: 10px; }
}

.dop-wb__field { flex: 1; min-width: 0; }
.dop-wb__field--grow { flex: 2; }
.dop-wb__field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--dop-wb-text);
	margin-bottom: 5px;
}
.dop-wb__field input,
.dop-wb__field select {
	width: 100%;
	padding: 12px 12px;
	border: 1px solid var(--dop-wb-border);
	border-radius: 8px;
	font-size: 16px;
	color: var(--dop-wb-text);
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dop-wb__field input:focus,
.dop-wb__field select:focus {
	outline: none;
	border-color: var(--dop-wb-primary);
	box-shadow: 0 0 0 3px rgba(26, 79, 160, 0.12);
}
.dop-wb__field input.is-invalid,
.dop-wb__field select.is-invalid {
	border-color: #d64545;
	box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.1);
}

.dop-wb__address-preview {
	font-size: 13px;
	color: var(--dop-wb-accent);
	min-height: 18px;
	margin: 2px 0 0;
}

.dop-wb__check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	color: var(--dop-wb-text);
	cursor: pointer;
}
.dop-wb__check input { margin-top: 2px; width: 18px; height: 18px; flex-shrink: 0; }
.dop-wb__check--privacy {
	margin-top: 6px;
	font-size: 13px;
	color: var(--dop-wb-muted);
}
.dop-wb__check a { color: var(--dop-wb-primary); }

.dop-wb__error {
	color: #d64545;
	font-size: 13px;
	margin: 8px 0 0;
	min-height: 16px;
}

.dop-wb__honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px; opacity: 0;
}

/* Resultaat */
.dop-wb__result {
	text-align: center;
	background: linear-gradient(180deg, #f2f7fc 0%, #e9f1fa 100%);
	border: 1px solid var(--dop-wb-border);
	border-radius: 10px;
	padding: 30px 20px;
}
.dop-wb__result-label {
	display: block;
	font-size: 14px;
	color: var(--dop-wb-muted);
	margin-bottom: 8px;
}
.dop-wb__result-range {
	display: block;
	font-size: 30px;
	font-weight: 800;
	color: var(--dop-wb-primary-dark);
	margin-bottom: 14px;
	letter-spacing: -0.01em;
}
@media (max-width: 480px) {
	.dop-wb__result-range { font-size: 24px; }
}
.dop-wb__result-disclaimer {
	display: block;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--dop-wb-muted);
	max-width: 480px;
	margin: 0 auto;
}

/* Navigatie */
.dop-wb__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 18px;
	gap: 10px;
}
.dop-wb__btn {
	border: none;
	border-radius: 8px;
	padding: 13px 22px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	min-height: 46px;
	transition: background-color 0.15s ease, transform 0.05s ease;
}
.dop-wb__btn:active { transform: translateY(1px); }
.dop-wb__btn--primary {
	background: var(--dop-wb-primary);
	color: #fff;
	margin-left: auto;
}
.dop-wb__btn--primary:hover { background: var(--dop-wb-primary-dark); }
.dop-wb__btn--primary:disabled {
	background: #a9bcd6;
	cursor: not-allowed;
}
.dop-wb__btn--ghost {
	background: transparent;
	color: var(--dop-wb-muted);
	border: 1px solid var(--dop-wb-border);
}
.dop-wb__btn--ghost:hover { background: #f2f5f8; }
.is-hidden { display: none !important; }
