/* Nobleclean Vertragscheck – mobile first. Colors bind to Kadence global palette with fallbacks. */
.nc-vc {
	--nc-vc-primary: var(--global-palette1, #0b2545);
	--nc-vc-primary-hover: var(--global-palette2, #13315c);
	--nc-vc-text: var(--global-palette3, #1a202c);
	--nc-vc-muted: var(--global-palette5, #4a5568);
	--nc-vc-border: var(--global-palette6, #a0aec0);
	--nc-vc-bg-soft: var(--global-palette7, #f1f5f9);
	--nc-vc-bg: var(--global-palette9, #ffffff);
	--nc-vc-error: #b42318;
	max-width: 42rem;
	margin: 0 auto;
	color: var(--nc-vc-text);
	font-size: 1rem;
	line-height: 1.5;
}

.nc-vc *,
.nc-vc *::before,
.nc-vc *::after {
	box-sizing: border-box;
}

.nc-vc-scope {
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--nc-vc-primary);
	background: var(--nc-vc-bg-soft);
	margin: 0 0 1rem;
}

.nc-vc fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

.nc-vc legend {
	font-weight: 700;
	font-size: 1.125rem;
	margin-bottom: 0.75rem;
}

.nc-vc-field {
	margin-bottom: 1rem;
}

.nc-vc-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.nc-vc input[type="text"],
.nc-vc input[type="number"],
.nc-vc input[type="email"],
.nc-vc input[type="tel"],
.nc-vc select {
	width: 100%;
	min-height: 48px;
	padding: 0.625rem 0.75rem;
	font-size: 1rem; /* >= 16px prevents iOS zoom */
	color: var(--nc-vc-text);
	background: var(--nc-vc-bg);
	border: 1px solid var(--nc-vc-border);
	border-radius: 6px;
}

.nc-vc input:focus-visible,
.nc-vc select:focus-visible,
.nc-vc button:focus-visible,
.nc-vc a:focus-visible,
.nc-vc-result:focus-visible {
	outline: 3px solid var(--nc-vc-primary);
	outline-offset: 2px;
}

.nc-vc [aria-invalid="true"] {
	border-color: var(--nc-vc-error);
}

.nc-vc-error {
	color: var(--nc-vc-error);
	font-size: 0.875rem;
	margin: 0.25rem 0 0;
	min-height: 0;
}

.nc-vc-error:empty {
	display: none;
}

.nc-vc-check {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.5rem;
	align-items: start;
}

.nc-vc-check input[type="checkbox"] {
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.15rem;
}

.nc-vc-check label {
	font-weight: 400;
	margin: 0;
}

.nc-vc-check .nc-vc-error {
	grid-column: 2;
}

.nc-vc-button {
	display: inline-block;
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	background: var(--nc-vc-primary);
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}

.nc-vc-button:hover {
	background: var(--nc-vc-primary-hover);
}

.nc-vc-button:disabled {
	opacity: 0.6;
	cursor: wait;
}

.nc-vc-required-note {
	font-size: 0.875rem;
	color: var(--nc-vc-muted);
}

.nc-vc-result {
	margin: 1.5rem 0;
}

.nc-vc-result:not(:empty) {
	padding: 1rem;
	background: var(--nc-vc-bg-soft);
	border-radius: 8px;
}

.nc-vc-result h3,
.nc-vc-lead h3 {
	margin-top: 0;
}

.nc-vc-ampel {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem;
	border-radius: 6px;
	background: var(--nc-vc-bg);
	border: 2px solid currentColor;
}

.nc-vc-ampel__dot {
	flex: 0 0 1.5rem;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: currentColor;
}

.nc-vc-ampel__text {
	margin: 0;
	color: var(--nc-vc-text);
}

.nc-vc-ampel--rot { color: #c62828; }
.nc-vc-ampel--gelb { color: #b7791f; }
.nc-vc-ampel--gruen { color: #2e7d32; }
.nc-vc-ampel--blau { color: #1565c0; }

.nc-vc-figures {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.25rem 1rem;
	margin: 1rem 0;
}

.nc-vc-figures dt {
	font-weight: 600;
}

.nc-vc-figures dd {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
}

.nc-vc-basis,
.nc-vc-disclaimer,
.nc-vc-hint {
	font-size: 0.875rem;
	color: var(--nc-vc-muted);
}

.nc-vc-notice {
	padding: 0.75rem;
	border-left: 4px solid #b7791f;
	background: var(--nc-vc-bg);
}

.nc-vc-lead {
	padding-top: 1rem;
	border-top: 1px solid var(--nc-vc-border);
}

.nc-vc-lead-status {
	margin-top: 1rem;
	font-weight: 600;
}

/* Honeypot: off-screen, not display:none (some bots skip hidden fields). */
.nc-vc-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nc-vc [hidden] {
	display: none !important;
}

@media (min-width: 640px) {
	.nc-vc-button {
		width: auto;
	}

	.nc-vc-figures {
		grid-template-columns: max-content 1fr;
	}

	.nc-vc-figures dd {
		margin: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nc-vc * {
		transition: none !important;
	}
}
