/* IG Parts inquiry journey: scoped to the public vehicle-request route. */
body.igparts-site .igparts-page--fahrzeug-anfrage {
	max-width: 1120px;
	margin: 0 auto;
	padding: clamp(32px, 5vw, 64px) 24px;
	background: #ffffff;
	color: #464B50;
}

/* Keep the proven GoFleet page hierarchy, translated to the IG Parts CI. */
body.igparts-site .igparts-page--fahrzeug-anfrage::before {
	content: 'Fahrzeug anfragen';
	display: block;
	max-width: min(18ch, 100%);
	margin: 0 0 clamp(32px, 5vw, 56px);
	color: #001A72;
	font-family: var(--ig-font-display);
	font-size: clamp(40px, 6vw, 76px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
}

body.igparts-site .igparts-page--fahrzeug-anfrage > .gf-section--tight > p:first-child {
	max-width: 58ch;
	margin: 0 0 clamp(28px, 4vw, 44px);
	padding-bottom: clamp(24px, 3vw, 36px);
	border-bottom: 2px solid #00E6FF;
	color: #464B50;
	font-size: clamp(1.125rem, 2vw, 1.375rem);
	line-height: 1.5;
}

/* Compact IG Parts inquiry heading spacing. */
body.igparts-site .igparts-page--fahrzeug-anfrage::before {
	margin: 0 0 clamp(16px, 2.5vw, 24px);
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(.mmh-native-lead-form-wrap, .gofleet-native-lead-form-wrap) {
	/* Surface boundaries stay neutral; navy belongs to actual form controls. */
	border: 1px solid #D7DDE8;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: none;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(.mmh-native-lead-form-wrap, .gofleet-native-lead-form-wrap) :is(h2, h3) {
	color: #001A72;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(.mmh-native-lead-form-wrap, .gofleet-native-lead-form-wrap) {
	padding: 24px;
}

body.igparts-site .igparts-page--fahrzeug-anfrage .elementor-form-fields-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(.elementor-col-100, .elementor-field-group-salutation, .elementor-field-group-contact_preference, .elementor-field-group-message, .elementor-field-group-terms_privacy, .elementor-field-group-marketing_consent, .elementor-field-type-submit) {
	grid-column: 1 / -1;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(input, select, textarea) {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	border: 1px solid #BCC1C7;
	border-radius: 3px;
	background: #ffffff;
	color: #464B50;
	padding: 10px 12px;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

body.igparts-site .igparts-page--fahrzeug-anfrage textarea {
	min-height: 120px;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(input, select, textarea):focus {
	border-color: #001A72;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(input, select, textarea):focus-visible {
	outline: 2px solid #00E6FF;
	outline-offset: 2px;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(input[type="checkbox"], input[type="radio"]) {
	width: 18px;
	min-height: 18px;
	accent-color: #001A72;
}

body.igparts-site .igparts-page--fahrzeug-anfrage .mmh-native-lead-form__consent-option {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: #464B50;
}

body.igparts-site .igparts-page--fahrzeug-anfrage .mmh-native-lead-form__handoff-note {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid #D7DDE8;
	border-radius: 3px;
	background: #F7FAFF;
	color: #464B50;
}

body.igparts-site .igparts-page--fahrzeug-anfrage .mmh-native-lead-form__handoff-icon {
	display: grid;
	width: 20px;
	height: 20px;
	place-items: center;
	border-radius: 50%;
	background: #001A72;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
}

body.igparts-site .igparts-page--fahrzeug-anfrage .mmh-native-lead-form__handoff-note p {
	margin: 0;
	color: inherit;
	font-size: 0.875rem;
	line-height: 1.45;
}

/* The protected Staging renderer still emits gofleet-* classes. Keep both
 * renderers on the same explicit IG Parts consent and handoff layout. */
body.igparts-site .igparts-page--fahrzeug-anfrage :is(.mmh-native-lead-form__consent-option, .gofleet-native-lead-form__consent-option) {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(.mmh-native-lead-form__consent-text, .gofleet-native-lead-form__consent-text) {
	min-width: 0;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(.mmh-native-lead-form__consent-text, .gofleet-native-lead-form__consent-text) a {
	color: #001A72;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(.mmh-native-lead-form__consent-text, .gofleet-native-lead-form__consent-text) a:focus-visible {
	outline: 2px solid #00E6FF;
	outline-offset: 2px;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(.mmh-native-lead-form__handoff-note, .gofleet-native-lead-form__handoff-note) {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #D7DDE8;
	border-radius: 3px;
	background: #F7FAFF;
	white-space: nowrap;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(.mmh-native-lead-form__handoff-icon, .gofleet-native-lead-form__handoff-icon) {
	flex: 0 0 20px;
	display: grid;
	width: 20px;
	height: 20px;
	place-items: center;
	border-radius: 50%;
	background: #001A72;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(.mmh-native-lead-form__handoff-note, .gofleet-native-lead-form__handoff-note) p {
	margin: 0;
	color: #464B50;
	font-size: 0.8125rem;
	line-height: 1.35;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(button[type="submit"], input[type="submit"]) {
	min-height: 46px;
	border: 1px solid #001A72;
	border-radius: 3px;
	background: #001A72;
	color: #ffffff;
	font-weight: 700;
	padding: 12px 20px;
}

body.igparts-site .igparts-page--fahrzeug-anfrage :is(button[type="submit"], input[type="submit"]):hover {
	background: #00145C;
}

@media (max-width: 640px) {
	body.igparts-site .igparts-page--fahrzeug-anfrage {
		padding: 28px 16px;
	}

	body.igparts-site .igparts-page--fahrzeug-anfrage :is(.mmh-native-lead-form-wrap, .gofleet-native-lead-form-wrap) {
		padding: 18px;
	}

	body.igparts-site .igparts-page--fahrzeug-anfrage .elementor-form-fields-wrapper {
		grid-template-columns: 1fr;
	}

	body.igparts-site .igparts-page--fahrzeug-anfrage :is(.mmh-native-lead-form__handoff-note, .gofleet-native-lead-form__handoff-note) {
		align-items: flex-start;
		white-space: normal;
	}
}

/*
 * Groesse des Einwilligungstextes.
 *
 * GoFleet setzt den Text in `gofleet-portal.css` auf `0.75rem` mit
 * `line-height: 1.45`. Diese Datei wird auf dem IG-Parts-Host nicht geladen,
 * und die Regel ist zusaetzlich auf `body.gofleet-site` eingegrenzt. IG Parts
 * erbte deshalb die Grundgroesse von 16px — am 20.08.2026 am laufenden System
 * gemessen, gleich gross wie die Feldbeschriftungen daneben.
 *
 * Bewusst nicht die GoFleet-Groesse uebernommen: 12px sind fuer einen
 * Einwilligungstext, der auf AGB und Datenschutz verweist, zu klein. 14px
 * setzen ihn sichtbar vom Formular ab und bleiben gut lesbar.
 */
body.igparts-site .igparts-page--fahrzeug-anfrage :is(.mmh-native-lead-form__consent-text, .gofleet-native-lead-form__consent-text) {
	font-size: 0.875rem;
	line-height: 1.5;
}
