/* ==========================================================================
   M35 Förder-Check – overlay (no Figma screen; derived from the boxes of m31/m34)
   The section itself takes no space (Abstand "Kein Abstand").
   ========================================================================== */

section.m35_foerder_check {
	padding: 0;
	height: 0;
}

section.m35_foerder_check .m35_head {
	padding-right: 56px;
}

section.m35_foerder_check .m35_titel {
	font-size: 1.875rem;
	line-height: 1.15;
}

section.m35_foerder_check .m35_text_container {
	padding-top: 16px;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--btw_grau);
}

section.m35_foerder_check .m35_text_container p {
	color: var(--btw_grau);
}

/* Questions */
section.m35_foerder_check .m35_form {
	margin: 32px 0 0;
	border-top: 1px solid var(--btw_schwarz);
}

section.m35_foerder_check .m35_frage {
	margin: 0;
	padding: 20px 0;
	border: 0;
	border-bottom: 1px solid var(--btw_linie);
}

section.m35_foerder_check .m35_frage_legend {
	display: flex;
	gap: 16px;
	float: left;
	width: 100%;
	padding: 0;
}

section.m35_foerder_check .m35_frage_legend + * {
	clear: both;
}

section.m35_foerder_check .m35_frage_nummer {
	flex: 0 0 auto;
	font-size: 0.75rem;
	line-height: 2.2;
	letter-spacing: 0.18em;
	color: var(--btw_grau);
}

section.m35_foerder_check .m35_frage_text {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.65;
}

section.m35_foerder_check .m35_frage_erklaerung_container {
	padding: 6px 0 0 36px;
}

section.m35_foerder_check .m35_frage_erklaerung {
	font-size: 0.8125rem;
	line-height: 1.65;
	color: var(--btw_grau);
}

section.m35_foerder_check .m35_antworten {
	display: flex;
	gap: 12px;
	padding: 14px 0 0 36px;
}

section.m35_foerder_check .m35_antwort {
	position: relative;
	cursor: pointer;
}

section.m35_foerder_check .m35_antwort_label {
	position: relative;
	z-index: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 88px;
	height: 40px;
	padding: 0 18px;
	overflow: hidden;
	border: 1px solid var(--btw_schwarz);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--btw_schwarz);
}

section.m35_foerder_check .m35_antwort_label::before {
	content: '';
	position: absolute;
	inset: -1px;
	z-index: -1;
	background-color: var(--btw_schwarz);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--btw_speed) var(--btw_ease);
}

section.m35_foerder_check .m35_antwort_input:checked + .m35_antwort_label {
	color: var(--btw_weiss);
}

section.m35_foerder_check .m35_antwort_input:checked + .m35_antwort_label::before {
	transform: scaleX(1);
}

@media (hover: hover) {
	section.m35_foerder_check .m35_antwort:hover .m35_antwort_label::before {
		transform: scaleX(.08);
	}

	section.m35_foerder_check .m35_antwort:hover .m35_antwort_input:checked + .m35_antwort_label::before {
		transform: scaleX(1);
	}
}

section.m35_foerder_check .m35_antwort_input:focus-visible + .m35_antwort_label {
	outline: 2px solid var(--btw_schwarz);
	outline-offset: 3px;
}

/* Result */
section.m35_foerder_check .m35_ergebnis_panel {
	margin-top: 24px;
	padding: 16px 20px;
	border: 1px dashed var(--btw_hellgrau);
	font-size: 0.9375rem;
	line-height: 1.65;
}

section.m35_foerder_check .m35_ergebnis_panel--ja {
	border: 1px solid var(--btw_schwarz);
}

section.m35_foerder_check .m35_ergebnis_panel[hidden],
section.m35_foerder_check .m35_actions[hidden] {
	display: none;
}

section.m35_foerder_check .m35_actions {
	padding-top: 24px;
}

@media all and (max-width: 575px) {
	section.m35_foerder_check .m35_head {
		padding-right: 0;
	}

	section.m35_foerder_check .m35_titel {
		font-size: 1.5rem;
	}

	section.m35_foerder_check .m35_frage_erklaerung_container,
	section.m35_foerder_check .m35_antworten {
		padding-left: 0;
	}

	section.m35_foerder_check .m35_antwort {
		flex: 1 1 0;
	}

	section.m35_foerder_check .m35_antwort_label {
		width: 100%;
	}

	section.m35_foerder_check .m35_links_container .mM_button {
		width: 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	section.m35_foerder_check .m35_antwort_label::before {
		transition: none;
	}
}
