/* Vreugde Offerte – form styling
 * --vo-primary, --vo-primary-hover, --vo-primary-dark, --vo-primary-soft,
 * --vo-primary-tint en --vo-focus-ring worden inline gezet vanuit PHP.
 */
.vo-wrap {
	--vo-primary: #0a4f3a;
	--vo-primary-hover: #08402f;
	--vo-primary-dark: #073629;
	--vo-primary-soft: rgba(10, 79, 58, .06);
	--vo-primary-tint: rgba(10, 79, 58, .14);
	--vo-focus-ring: rgba(10, 79, 58, .20);

	--vo-text: #1f2937;
	--vo-muted: #6b7280;
	--vo-border: #d6dbe1;
	--vo-bg: #ffffff;
	--vo-bg-soft: #f7f8f6;
	--vo-error: #b3261e;
	--vo-error-soft: #fbe9e7;
	--vo-radius: 10px;

	max-width: 920px;
	margin: 0 auto;
	color: var(--vo-text);
	font-family: inherit;
}

.vo-title {
	margin: 0 0 .25rem;
	font-size: 1.7rem;
	color: var(--vo-primary);
}

.vo-intro {
	margin: 0 0 1.5rem;
	color: var(--vo-muted);
}

.vo-form {
	background: var(--vo-bg);
	border: 1px solid var(--vo-border);
	border-radius: var(--vo-radius);
	padding: 1.75rem;
}

/* Stap-indicator bovenaan */
.vo-steps {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: .5rem;
	counter-reset: vo-step;
}

.vo-step {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .65rem .9rem;
	border: 1px solid var(--vo-border);
	border-radius: 999px;
	background: var(--vo-bg);
	font-size: .9rem;
	color: var(--vo-muted);
	position: relative;
}

.vo-step + .vo-step::before {
	content: "";
	position: absolute;
	left: -.5rem;
	top: 50%;
	width: .5rem;
	height: 2px;
	background: var(--vo-border);
	transform: translateY(-50%);
}

.vo-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--vo-primary-tint);
	color: var(--vo-primary-dark);
	font-weight: 700;
	font-size: .8rem;
	flex-shrink: 0;
}

.vo-step-label {
	font-weight: 600;
	color: var(--vo-text);
}

/* Secties */
.vo-section {
	border: 1px solid var(--vo-border);
	border-left: 4px solid var(--vo-primary);
	border-radius: var(--vo-radius);
	padding: 1.25rem 1.5rem 1.5rem;
	margin: 0 0 1.5rem;
	background: linear-gradient(180deg, var(--vo-primary-soft), transparent 80px), var(--vo-bg);
	position: relative;
}

.vo-section--2 {
	border-left-color: var(--vo-primary-hover);
}

.vo-section--3 {
	border-left-color: var(--vo-primary-dark);
}

.vo-section legend {
	display: flex;
	align-items: center;
	gap: .85rem;
	padding: 0;
	margin: 0 0 1.1rem;
	width: 100%;
	border: 0;
}

.vo-legend-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--vo-primary);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	flex-shrink: 0;
	box-shadow: 0 0 0 4px var(--vo-primary-tint);
}

.vo-section--2 .vo-legend-num { background: var(--vo-primary-hover); }
.vo-section--3 .vo-legend-num { background: var(--vo-primary-dark); }

.vo-legend-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.vo-legend-title {
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--vo-text);
}

.vo-legend-sub {
	font-size: .85rem;
	color: var(--vo-muted);
	font-weight: 500;
	margin-top: .15rem;
}

/* Velden */
.vo-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.vo-field--full {
	grid-column: 1 / -1;
}

.vo-field label,
.vo-label {
	display: block;
	font-weight: 600;
	font-size: .92rem;
	margin-bottom: .35rem;
	color: var(--vo-text);
}

.vo-field input[type="text"],
.vo-field input[type="email"],
.vo-field input[type="tel"],
.vo-field input[type="number"],
.vo-field input[type="date"],
.vo-field input[type="time"],
.vo-field select,
.vo-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .7rem .8rem;
	border: 1px solid var(--vo-border);
	border-radius: 6px;
	background: var(--vo-bg);
	color: var(--vo-text);
	font: inherit;
	transition: border-color .15s, box-shadow .15s;
}

.vo-field textarea {
	min-height: 110px;
	resize: vertical;
}

.vo-field input:focus,
.vo-field select:focus,
.vo-field textarea:focus {
	outline: 0;
	border-color: var(--vo-primary);
	box-shadow: 0 0 0 3px var(--vo-focus-ring);
}

.vo-field.is-invalid input,
.vo-field.is-invalid select,
.vo-field.is-invalid textarea {
	border-color: var(--vo-error);
	box-shadow: 0 0 0 3px rgba(179, 38, 30, .15);
}

.vo-field-error {
	color: var(--vo-error);
	font-size: .82rem;
	margin: .35rem 0 0;
}

.vo-radios {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	padding-top: .25rem;
}

.vo-radios label {
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin: 0;
}

.vo-req {
	color: var(--vo-error);
	font-weight: 700;
}

.vo-consent {
	background: var(--vo-bg-soft);
	border: 1px solid var(--vo-border);
	border-radius: 6px;
	padding: .9rem 1rem;
	margin: 0 0 1.25rem;
	font-size: .92rem;
}

.vo-consent label {
	display: flex;
	align-items: flex-start;
	gap: .55rem;
	margin: 0;
	font-weight: 500;
}

.vo-consent input[type="checkbox"] {
	margin-top: .25rem;
}

.vo-consent a {
	color: var(--vo-primary);
}

.vo-actions {
	display: flex;
	justify-content: flex-end;
}

.vo-submit {
	background: var(--vo-primary);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: .9rem 1.75rem;
	font: inherit;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color .15s, transform .05s, box-shadow .15s;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.vo-submit:hover {
	background: var(--vo-primary-hover);
}

.vo-submit:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 4px var(--vo-focus-ring);
}

.vo-submit:active {
	transform: translateY(1px);
}

.vo-submit:disabled {
	opacity: .65;
	cursor: progress;
}

.vo-honeypot {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.vo-messages {
	margin: 0 0 1rem;
}

.vo-messages:empty {
	display: none;
}

.vo-messages .vo-msg {
	padding: .9rem 1rem;
	border-radius: 6px;
	font-size: .95rem;
}

.vo-messages .vo-msg--success {
	background: var(--vo-primary-soft);
	color: var(--vo-primary-dark);
	border: 1px solid var(--vo-primary-tint);
}

.vo-messages .vo-msg--error {
	background: var(--vo-error-soft);
	color: var(--vo-error);
	border: 1px solid #f1c4c0;
}

.vo-form.is-submitted .vo-submit {
	display: none;
}

@media (max-width: 720px) {
	.vo-grid {
		grid-template-columns: 1fr;
	}
	.vo-form {
		padding: 1.1rem;
	}
	.vo-section {
		padding: 1rem 1.1rem 1.1rem;
	}
	.vo-steps {
		grid-template-columns: 1fr;
	}
	.vo-step + .vo-step::before {
		display: none;
	}
	.vo-legend-num {
		width: 32px;
		height: 32px;
		font-size: .9rem;
	}
	.vo-legend-title {
		font-size: 1rem;
	}
}
