/* ==========================================================================
   Linkfeed Fördercheck V2
   Namensraum: lffc2  (Altbestand lffc bleibt unberührt)

   Vier Varianten, mehr gibt es bewusst nicht:
     standard  eigene Section, Fördercheck allein
     wide      sehr breit, möglichst flach
     slim      schmal, für Zwei-Spalten-Layouts
     mobile    Handy, ein Schritt ohne Scrollen

   Umbruchregel (Design-System, 2026-08-02): nur an Wortgrenzen.
   Kein hyphens:auto, kein overflow-wrap:anywhere, kein word-break.
   Passt Text nicht, wird das Layout geändert — nicht das Wort zerlegt.

   CSS-Falle 4: Komponenten-Styling steht ausserhalb jeder Media Query.
   ========================================================================== */

.lffc2 {
	--lffc2-bg: #050407;
	--lffc2-panel: rgba(16, 14, 22, 0.84);
	--lffc2-panel-strong: rgba(24, 20, 33, 0.92);
	--lffc2-line: rgba(255, 255, 255, 0.24);
	--lffc2-line-strong: rgba(255, 255, 255, 0.52);
	--lffc2-text: #ffffff;
	--lffc2-muted: rgba(255, 255, 255, 0.72);
	--lffc2-soft: rgba(255, 255, 255, 0.52);

	--lffc2-accent: #f0c2ff;
	--lffc2-purple: #d840ff;
	--lffc2-purple-2: #8d37ff;

	--lffc2-yes: #7ee3b0;
	--lffc2-maybe: #ffd27a;
	--lffc2-no: rgba(255, 255, 255, 0.42);

	--lffc2-radius: 8px;

	color: var(--lffc2-text);
	font-family: Montserrat, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	hyphens: manual;
	overflow-wrap: break-word;
}

.lffc2 *,
.lffc2 *::before,
.lffc2 *::after {
	box-sizing: border-box;
	hyphens: manual;
}

.lffc2__noscript {
	padding: 20px;
	border: 1px solid var(--lffc2-line);
	border-radius: var(--lffc2-radius);
	background: var(--lffc2-panel);
	color: var(--lffc2-muted);
}

/* --------------------------------------------------------------- Shell -- */

.lffc2__shell {
	position: relative;
	overflow: hidden;
	width: min(860px, 100%);
	margin: 0 auto;
	padding: 28px;
	border: 1px solid rgba(222, 134, 255, 0.72);
	border-radius: var(--lffc2-radius);
	background:
		radial-gradient(circle at 50% 20%, rgba(216, 64, 255, 0.18), transparent 32%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
		var(--lffc2-bg);
	box-shadow: 0 0 42px rgba(216, 64, 255, 0.28);
}

.lffc2__shell::before {
	content: "";
	position: absolute;
	inset: -20% -10%;
	pointer-events: none;
	background:
		linear-gradient(100deg, transparent 18%, rgba(216, 64, 255, 0.16) 48%, transparent 78%),
		linear-gradient(165deg, transparent 24%, rgba(255, 255, 255, 0.08) 50%, transparent 74%);
	opacity: 0.5;
}

.lffc2__main {
	position: relative;
	z-index: 1;
	min-width: 0;
}

/* --------------------------------------------------------------- Kopf --- */

/* Das Zeichen ist ein Icon, kein Banner: feste 26×26, niemals mitwachsend. */
.lffc2__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.lffc2__brand-logo {
	display: block;
	width: 26px;
	height: 26px;
	max-width: 26px;
	flex: 0 0 auto;
	object-fit: contain;
}

.lffc2__header {
	margin: 0 auto 20px;
	text-align: center;
}

.lffc2__kicker {
	margin: 0 0 8px;
	color: var(--lffc2-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lffc2 h2,
.lffc2 h3,
.lffc2 p {
	color: inherit;
}

.lffc2 h2 {
	margin: 0;
	font-size: clamp(24px, 0.8rem + 2.4vw, 40px);
	line-height: 1.04;
	font-weight: 900;
	text-transform: uppercase;
}

.lffc2 h3 {
	margin: 0;
	font-size: clamp(17px, 0.8rem + 0.8vw, 21px);
	line-height: 1.25;
	font-weight: 800;
}

.lffc2__header p:last-child,
.lffc2__question p:last-child {
	margin: 8px 0 0;
	color: var(--lffc2-muted);
	font-size: 14px;
	line-height: 1.5;
}

/* ---------------------------------------------------------- Fortschritt -- */

.lffc2__progress-wrap {
	display: grid;
	gap: 8px;
	width: min(610px, 100%);
	margin: 0 auto 20px;
	text-align: center;
}

.lffc2__step-label {
	font-size: 13px;
	font-weight: 800;
}

.lffc2__progress {
	display: flex;
	gap: 6px;
}

.lffc2__progress-item {
	flex: 1 1 0;
	min-width: 0;
	height: 6px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
}

.lffc2__progress-item.is-active {
	border-color: rgba(240, 151, 255, 0.86);
	background: linear-gradient(90deg, var(--lffc2-purple), var(--lffc2-purple-2));
}

/* ------------------------------------------------------------- Fragen --- */

.lffc2__question {
	max-width: 720px;
	margin: 0 auto 14px;
	text-align: center;
}

.lffc2__hint {
	margin: 10px auto 0;
	max-width: 620px;
	color: var(--lffc2-soft);
	font-size: 12px;
	line-height: 1.45;
	text-align: center;
}

.lffc2__options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

/* Fragen mit langen Antworten laufen einspaltig — das ist der strukturelle
   Ersatz für die verbotene Silbentrennung. */
.lffc2__options--single {
	grid-template-columns: minmax(0, 1fr);
}

.lffc2__option {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	place-items: center;
	min-height: 62px;
	height: auto;
	min-width: 0;
	padding: 14px 16px;
	border: 1px solid var(--lffc2-line);
	border-radius: var(--lffc2-radius);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018));
	color: var(--lffc2-text);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
	text-align: center;
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lffc2__option:hover,
.lffc2__option:focus-visible,
.lffc2__option.is-selected {
	border-color: rgba(240, 151, 255, 0.9);
	background: linear-gradient(145deg, rgba(216, 64, 255, 0.24), rgba(141, 55, 255, 0.08));
	box-shadow: inset 0 0 0 1px rgba(216, 64, 255, 0.24), 0 0 20px rgba(216, 64, 255, 0.2);
	outline: none;
}

.lffc2__option--multi {
	position: relative;
	grid-template-columns: 20px minmax(0, 1fr);
	place-items: center start;
	gap: 12px;
	padding: 13px 16px;
	min-height: 54px;
	text-align: left;
}

.lffc2__option--multi::before {
	content: "";
	width: 18px;
	height: 18px;
	border: 1px solid var(--lffc2-line-strong);
	border-radius: 4px;
}

.lffc2__option--multi.is-selected::before {
	border-color: var(--lffc2-accent);
	background: var(--lffc2-accent);
}

/* ---------------------------------------------------------- Navigation -- */

.lffc2__nav {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr) 200px;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
}

.lffc2__button {
	display: inline-grid;
	place-items: center;
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border: 1px solid var(--lffc2-line-strong);
	border-radius: 7px;
	background: transparent;
	color: var(--lffc2-text);
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
}

.lffc2__button:disabled {
	cursor: not-allowed;
	opacity: 0.42;
}

.lffc2__button--ghost {
	background: rgba(0, 0, 0, 0.14);
}

.lffc2__button--primary {
	border-color: rgba(240, 151, 255, 0.9);
	background: linear-gradient(90deg, rgba(96, 24, 125, 0.95), rgba(164, 54, 205, 0.95));
	box-shadow: 0 0 22px rgba(216, 64, 255, 0.42);
}

/* Themes setzen Linkfarben mit hoher Spezifität — Buttons als <a> müssen
   dagegen abgesichert sein, sonst lila Text auf lila Grund. */
.lffc2 a.lffc2__button,
.lffc2 a.lffc2__button:hover,
.lffc2 a.lffc2__button:focus,
.lffc2 a.lffc2__button:visited {
	color: #ffffff !important;
	text-decoration: none !important;
}

.lffc2__privacy {
	margin: 0;
	color: var(--lffc2-soft);
	font-size: 11px;
	text-align: center;
}

/* ---------------------------------------------------------- Ergebnis ----
   Immer kompakt: Begründungen liegen hinter "Warum". Sie bleiben vollständig
   erhalten, kosten aber keine Höhe, solange niemand danach fragt. Damit ist
   die Ergebnisseite etwa so hoch wie ein Fragenschritt.
   ------------------------------------------------------------------------ */

.lffc2__result-head {
	margin-bottom: 18px;
	text-align: center;
}

.lffc2__cards {
	display: grid;
	gap: 8px;
}

.lffc2__card {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--lffc2-line);
	border-radius: var(--lffc2-radius);
	background: var(--lffc2-panel);
	min-width: 0;
}

.lffc2__card--yes { border-color: rgba(126, 227, 176, 0.5); }
.lffc2__card--maybe { border-color: rgba(255, 210, 122, 0.45); }
.lffc2__card--no { opacity: 0.72; }

.lffc2__card-status {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	border: 2px solid currentColor;
	font-size: 15px;
	font-weight: 900;
}

.lffc2__card--yes .lffc2__card-status { color: var(--lffc2-yes); }
.lffc2__card--maybe .lffc2__card-status { color: var(--lffc2-maybe); }
.lffc2__card--no .lffc2__card-status { color: var(--lffc2-no); }

.lffc2__card-body { min-width: 0; }

.lffc2__card-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
}

.lffc2__card-title {
	margin: 0;
	font-size: 14px;
	font-weight: 900;
	text-transform: uppercase;
}

.lffc2__card-verdict {
	color: var(--lffc2-muted);
	font-size: 12px;
	font-weight: 700;
}

.lffc2__why { margin-top: 6px; }

.lffc2__why summary {
	color: var(--lffc2-accent);
	cursor: pointer;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	list-style: none;
	text-transform: uppercase;
}

.lffc2__why summary::-webkit-details-marker { display: none; }
.lffc2__why summary::after { content: " +"; }
.lffc2__why[open] summary::after { content: " –"; }

.lffc2__card-reason {
	margin: 6px 0 0;
	color: var(--lffc2-muted);
	font-size: 12px;
	line-height: 1.5;
}

.lffc2__card-meta {
	margin: 6px 0 0;
	color: var(--lffc2-soft);
	font-size: 11px;
	line-height: 1.45;
}

.lffc2__card-meta a {
	color: var(--lffc2-accent);
	text-decoration: underline;
}

.lffc2__scale {
	margin-top: 10px;
	padding: 12px 14px;
	border: 1px solid rgba(222, 134, 255, 0.4);
	border-radius: var(--lffc2-radius);
	background: var(--lffc2-panel-strong);
}

.lffc2__scale h3 {
	margin-bottom: 4px;
	font-size: 14px;
}

.lffc2__scale p {
	margin: 0;
	color: var(--lffc2-muted);
	font-size: 12px;
	line-height: 1.5;
}

.lffc2__scale strong { color: var(--lffc2-accent); }

.lffc2__cta {
	margin-top: 10px;
	padding: 14px;
	border: 1px solid rgba(240, 151, 255, 0.5);
	border-radius: var(--lffc2-radius);
	background: linear-gradient(145deg, rgba(216, 64, 255, 0.14), rgba(141, 55, 255, 0.05));
	text-align: center;
}

.lffc2__cta h3 { font-size: 15px; }

.lffc2__cta-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	max-width: 520px;
	margin: 12px auto 0;
}

.lffc2__disclaimer {
	margin: 10px 0 0;
	color: var(--lffc2-soft);
	font-size: 10px;
	line-height: 1.5;
	text-align: center;
}

/* -------------------------------------------------------------- Lead ---- */

.lffc2__lead {
	max-width: 720px;
	margin: 0 auto;
	padding: 20px;
	border: 1px solid var(--lffc2-line);
	border-radius: var(--lffc2-radius);
	background: var(--lffc2-panel-strong);
}

.lffc2__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.lffc2 label {
	display: grid;
	gap: 6px;
	min-width: 0;
	color: var(--lffc2-muted);
	font-size: 12px;
	font-weight: 700;
}

.lffc2 input,
.lffc2 textarea {
	width: 100%;
	padding: 12px 13px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 7px;
	background: rgba(0, 0, 0, 0.28);
	color: var(--lffc2-text);
	font: inherit;
	font-size: 14px;
	outline: none;
}

.lffc2 input:focus,
.lffc2 textarea:focus {
	border-color: rgba(240, 151, 255, 0.9);
	box-shadow: 0 0 0 3px rgba(216, 64, 255, 0.18);
}

.lffc2__field-wide { grid-column: 1 / -1; }

/* Honeypot statt Google reCAPTCHA — kein Drittlandtransfer */
.lffc2__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.lffc2__checkbox {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	align-items: start;
	gap: 10px;
	margin-top: 14px;
	color: var(--lffc2-muted);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
}

.lffc2__checkbox input { width: 18px; height: 18px; padding: 0; }

.lffc2__lead-actions {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 12px;
	margin-top: 16px;
}

.lffc2__notice {
	margin: 14px 0 0;
	color: var(--lffc2-accent);
	font-size: 13px;
}

.lffc2__notice.is-error { color: #ff9db6; }
.lffc2__notice.is-success { color: var(--lffc2-yes); }

/* ====================================================== VARIANTE: WIDE ===
   Sehr breit, möglichst flach. Antworten und Ergebniskarten liegen
   nebeneinander statt untereinander — das ist der Höhengewinn.
   ======================================================================== */

.lffc2--wide .lffc2__shell {
	width: min(1240px, 100%);
	padding: 26px 32px;
}

.lffc2--wide .lffc2__options {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lffc2--wide .lffc2__options--single {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lffc2--wide .lffc2__cards {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	align-items: start;
}

.lffc2--wide .lffc2__card {
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}

.lffc2--wide .lffc2__card-status {
	width: 26px;
	height: 26px;
	font-size: 13px;
}

.lffc2--wide .lffc2__scale {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: baseline;
	gap: 4px 14px;
}

.lffc2--wide .lffc2__cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 520px;
	align-items: center;
	gap: 20px;
	text-align: left;
}

.lffc2--wide .lffc2__cta-actions { margin: 0; }

/* ====================================================== VARIANTE: SLIM ===
   Schmal, für Zwei-Spalten-Layouts. Alles einspaltig.
   ======================================================================== */

.lffc2--slim .lffc2__shell {
	width: min(480px, 100%);
	padding: 20px;
}

.lffc2--slim h2 { font-size: 24px; }
.lffc2--slim h3 { font-size: 16px; }

.lffc2--slim .lffc2__options,
.lffc2--slim .lffc2__options--single,
.lffc2--slim .lffc2__nav,
.lffc2--slim .lffc2__fields,
.lffc2--slim .lffc2__lead-actions,
.lffc2--slim .lffc2__cta-actions {
	grid-template-columns: minmax(0, 1fr);
}

.lffc2--slim .lffc2__option {
	min-height: 52px;
	padding: 12px 14px;
	font-size: 13px;
}

.lffc2--slim .lffc2__privacy { order: 3; }

/* ==================================================== VARIANTE: MOBILE ===
   Ein Schritt passt ohne Scrollen auf einen Handyschirm. Ab Schritt 2
   verschwindet die grosse Headline — sie kostet rund 90px und sagt nichts
   mehr, was der Nutzer nicht schon weiss.
   ======================================================================== */

.lffc2--mobile .lffc2__shell {
	width: min(430px, 100%);
	padding: 16px;
}

.lffc2--mobile .lffc2__brand { margin-bottom: 8px; }
.lffc2--mobile .lffc2__brand-logo { width: 22px; height: 22px; max-width: 22px; }

.lffc2--mobile.is-running .lffc2__header { display: none; }

.lffc2--mobile .lffc2__header { margin-bottom: 12px; }
.lffc2--mobile h2 { font-size: 22px; }
.lffc2--mobile h3 { font-size: 15px; }

.lffc2--mobile .lffc2__question p:last-child {
	font-size: 12px;
	line-height: 1.4;
}

.lffc2--mobile .lffc2__progress-wrap { gap: 5px; margin-bottom: 12px; }
.lffc2--mobile .lffc2__step-label { font-size: 11px; }
.lffc2--mobile .lffc2__progress-item { height: 4px; }
.lffc2--mobile .lffc2__progress { gap: 4px; }

.lffc2--mobile .lffc2__options,
.lffc2--mobile .lffc2__options--single,
.lffc2--mobile .lffc2__fields,
.lffc2--mobile .lffc2__lead-actions,
.lffc2--mobile .lffc2__cta-actions {
	grid-template-columns: minmax(0, 1fr);
	gap: 7px;
}

.lffc2--mobile .lffc2__option {
	min-height: 44px;
	padding: 10px 13px;
	font-size: 12.5px;
}

.lffc2--mobile .lffc2__option--multi { min-height: 42px; }

.lffc2--mobile .lffc2__nav {
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 7px;
	margin-top: 12px;
}

.lffc2--mobile .lffc2__button { min-height: 42px; font-size: 11px; }

.lffc2--mobile .lffc2__privacy {
	grid-column: 1 / -1;
	order: 3;
	font-size: 10px;
}

/* ---------------------------------------------------------- Breakpoints --
   Lückenlose Kette: 1100 → 860 → 620 → 460. Kein Bereich fällt durch.
   ------------------------------------------------------------------------ */

@media (max-width: 1100px) {
	.lffc2--wide .lffc2__cta {
		grid-template-columns: minmax(0, 1fr);
		text-align: center;
	}

	.lffc2--wide .lffc2__cta-actions { margin: 12px auto 0; }
}

@media (max-width: 860px) {
	.lffc2__shell { padding: 22px; }

	.lffc2--wide .lffc2__options,
	.lffc2--wide .lffc2__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lffc2__nav { grid-template-columns: 120px minmax(0, 1fr) 170px; gap: 10px; }
}

@media (max-width: 620px) {
	.lffc2__shell { padding: 18px; }

	.lffc2__options,
	.lffc2--wide .lffc2__options,
	.lffc2--wide .lffc2__options--single,
	.lffc2--wide .lffc2__cards,
	.lffc2__fields,
	.lffc2__lead-actions,
	.lffc2__cta-actions {
		grid-template-columns: minmax(0, 1fr);
	}

	.lffc2__nav { grid-template-columns: minmax(0, 1fr); }
	.lffc2__privacy { order: 3; }
	.lffc2__card { grid-template-columns: 30px minmax(0, 1fr); }
}

@media (max-width: 460px) {
	.lffc2__shell { padding: 15px; }
	.lffc2 h2 { font-size: 22px; }
	.lffc2__option { min-height: 46px; padding: 11px 13px; font-size: 12.5px; }
}
