/* Kostenlose Checks – nexoDEsign
   Farben ausschließlich über die Variablen der Globalen Farben.
   Ergebnis: Stufe immer als Text und Symbol, Farbe nie als einziges Signal. */

.nexo-check {
	display: grid;
	gap: 20px;
	max-width: 760px;
	color: var(--nexo-text);
}

.nexo-check form {
	display: grid;
	gap: 20px;
}

.nexo-check-einleitung {
	margin: 0;
	font-size: 17px;
}

.nexo-check fieldset {
	margin: 0;
	padding: 16px 20px 20px;
	border: 1px solid var(--nexo-text);
	border-radius: 12px;
}

.nexo-check fieldset.nexo-check-offen {
	border-width: 3px;
}

.nexo-check legend {
	padding: 0 6px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

.nexo-check-hilfe {
	margin: 4px 0 12px;
	font-size: 16px;
}

.nexo-check-optionen {
	display: grid;
	gap: 4px;
}

.nexo-check label {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-size: 17px;
	cursor: pointer;
}

.nexo-check input[type="radio"] {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--nexo-primary);
}

.nexo-check-aktionen {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.nexo-check-button {
	appearance: none;
	min-height: 44px;
	padding: 12px 22px;
	border: 0;
	border-radius: 8px;
	background-color: var(--nexo-primary);
	color: var(--nexo-text-on-primary);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.nexo-check-button:hover {
	text-decoration: underline;
}

.nexo-check-button--zweit {
	border: 2px solid var(--nexo-text);
	background-color: transparent;
	color: var(--nexo-text);
}

.nexo-check-fehler {
	margin: 0;
	font-weight: 600;
}

.nexo-check-fehler:empty {
	display: none;
}

.nexo-check-ergebnis {
	padding: 24px;
	border-left: 6px solid var(--nexo-text);
	border-radius: 12px;
	background-color: var(--nexo-neutral-grau);
	color: var(--nexo-text);
}

.nexo-check-ergebnis:focus {
	outline: 3px solid var(--nexo-text);
	outline-offset: 3px;
}

.nexo-check-ergebnis h3 {
	margin: 0 0 8px;
	font-size: 22px;
}

.nexo-check-stufe {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
}

.nexo-check-symbol {
	margin-right: 8px;
	letter-spacing: 0.1em;
}

.nexo-check-ergebnis ul {
	margin: 0 0 16px 1.2em;
}

.nexo-check-ergebnis li {
	margin-bottom: 6px;
}

.nexo-check-ergebnis a {
	color: var(--nexo-text);
	font-weight: 600;
	text-decoration: underline;
}

.nexo-check-hinweis {
	margin: 16px 0 0;
	font-size: 16px;
}
