/*
 * Neverland Onboarding — Anmeldung
 *
 * DESIGN KOMMT AUS DEM ELEMENTOR-KIT, NICHT VON HIER.
 * Das Theme ist Hello Elementor, also leer; die ganze Gestaltung steckt im Kit (ID 45):
 *   primary   Gold              #DDB880   → --e-global-color-primary
 *   secondary Hintergrund       #000000   → --e-global-color-secondary
 *   text      Grau              #B9BAB5   → --e-global-color-text
 *   accent    Gold Akzent       #D4B483   → --e-global-color-accent
 *   custom    Body-Text Creme   #E7E7E2   → --e-global-color-d43caa2
 *   H1 Newsreader · H2 Cinzel · Text Manrope · Button Cinzel
 * Wir greifen diese Variablen ab und setzen unsere Werte nur als Rückfall, falls Elementor fehlt.
 * Ändert Maxim das Kit, ändert sich die Anmeldung mit. Das ist der Sinn.
 *
 * Die Maße dagegen bleiben fest, sie kommen aus der Design-Kritik vom 30.07.2026:
 * Feld und Knopf 56 px, Feldschrift 17 px (darunter zoomt iOS), Häkchenzeile 44 px Trefferfläche.
 */

.nol {
	--nol-ink:      var(--e-global-color-d43caa2, #E7E7E2);
	--nol-ink-2:    var(--e-global-color-text, #B9BAB5);
	--nol-gold:     var(--e-global-color-primary, #DDB880);
	--nol-gold-2:   var(--e-global-color-accent, #D4B483);
	--nol-grund:    var(--e-global-color-secondary, #000000);
	--nol-feld:     rgba(255, 255, 255, .07);
	--nol-rand:     rgba(221, 184, 128, .55);
	--nol-gold-ink: #14110B;
	--nol-warn:     #E9A08A;

	--nol-serif: var(--e-global-typography-secondary-font-family, 'Cinzel'), Georgia, serif;
	--nol-sans:  var(--e-global-typography-text-font-family, 'Manrope'), -apple-system, 'Segoe UI', sans-serif;
	--nol-btn:   var(--e-global-typography-accent-font-family, 'Cinzel'), Georgia, serif;

	max-width: 34rem;
	font-family: var(--nol-sans);
	font-size: 16px;
	line-height: 1.55;
	color: var(--nol-ink);
}

/* ---------- Der Block ---------- */
/* Der Rahmen ist Zierde, keine Bedienelement-Kante, darum bewusst leise (1,9:1 gegen Schwarz).
   Für die 3:1-Regel zählen Feldrahmen und Knopf, und die liegen bei 3,3:1 und 10,7:1. */
.nol-block {
	padding: clamp(1.4rem, 4vw, 2.3rem);
	border: 1px solid rgba(221, 184, 128, .34);
	border-radius: 4px;
	background: rgba(255, 255, 255, .035);
}
.nol-titel {
	margin: 0 0 .6rem;
	font-family: var(--nol-serif);
	font-size: clamp(1.5rem, 4.6vw, 2rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .01em;
	color: var(--nol-ink);
}
.nol-vorspann {
	margin: 0 0 1.3rem;
	font-size: 1rem;
	line-height: 1.62;
	color: var(--nol-ink-2);
}
.nol-punkte {
	margin: 0 0 1.7rem;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(221, 184, 128, .20);
}
.nol-punkte li {
	position: relative;
	padding: .62rem 0 .62rem 1.5rem;
	border-bottom: 1px solid rgba(221, 184, 128, .14);
	font-size: .95rem;
	line-height: 1.45;
	color: var(--nol-ink-2);
}
.nol-punkte li::before {
	content: "";
	position: absolute;
	left: .2rem;
	top: 1.02rem;
	width: 6px;
	height: 6px;
	transform: rotate(45deg);
	background: var(--nol-gold);
}

/* ---------- Formular ---------- */
.nol-form { margin: 0; }

.nol-lbl {
	display: block;
	margin: 0 0 .5rem;
	font-family: var(--nol-btn);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--nol-gold);
}
/*
 * Das Elementor-Kit macht aus jedem Eingabefeld einen Unterstrich:
 *   .elementor-kit-45 input:not([type="button"]):not([type="submit"])
 *     → border-width: 0 0 1px 0; background: transparent; padding: 0 0 12px 0;
 * Das ist Spezifität (0,3,1). Wir spiegeln dieselbe Form und hängen unsere Klasse dran, macht
 * (0,4,1), und gewinnt damit unabhängig von der Ladereihenfolge, ohne ein einziges !important.
 *
 * Das ist eine bewusste Abweichung vom Seitenstil, und zwar für genau diesen einen Baustein:
 * Der Unterstrich ist auf Schwarz eine Haarlinie in #FFFFFF50. Wer bei Sonne auf einem
 * Festivalgelände einhändig etwas eintippen soll, muss das Feld als Feld erkennen können.
 */
.nol input.nol-feld:not([type="button"]):not([type="submit"]) {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 56px;
	padding: 0 1rem;
	border: 1px solid var(--nol-rand);
	border-radius: 3px;
	background: var(--nol-feld);
	color: var(--nol-ink);
	font-family: var(--nol-sans);
	font-size: 17px;
	-webkit-appearance: none;
	appearance: none;
}
.nol input.nol-feld:not([type="button"])::placeholder { color: var(--nol-ink-2); opacity: .75; }
.nol input.nol-feld:not([type="button"]):focus-visible {
	outline: none;
	border-color: var(--nol-gold);
	box-shadow: 0 0 0 3px rgba(221, 184, 128, .28);
}
.nol input.nol-feld:not([type="button"])[aria-invalid="true"] { border-color: var(--nol-warn); }

.nol button.nol-knopf {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 56px;
	margin-top: .75rem;
	padding: 0 1.2rem;
	border: 0;
	border-radius: 3px;
	background: var(--nol-gold);
	color: var(--nol-gold-ink);
	font-family: var(--nol-btn);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .15s ease;
}
.nol button.nol-knopf:hover { background: var(--nol-gold-2); }
.nol button.nol-knopf:focus-visible { outline: 2px solid var(--nol-ink); outline-offset: 3px; }
.nol button.nol-knopf[disabled] { opacity: .55; cursor: default; }

.nol input.nol-feld.nol-feld-name:not([type="button"]) { margin-bottom: 1rem; }

.nol-hinweis {
	margin: .8rem 0 0;
	font-size: .82rem;
	line-height: 1.55;
	color: var(--nol-ink-2);
}

/* Die ganze Zeile ist die Trefferfläche, nicht nur das Kästchen. */
.nol-haken {
	display: flex;
	gap: .75rem;
	align-items: flex-start;
	min-height: 44px;
	margin-top: .85rem;
	padding: .3rem 0;
	cursor: pointer;
}
.nol .nol-haken input[type="checkbox"] {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin: 2px 0 0;
	accent-color: var(--nol-gold);
	cursor: pointer;
}
.nol-haken span {
	font-size: .84rem;
	line-height: 1.5;
	color: var(--nol-ink-2);
}
.nol-haken a { color: var(--nol-gold); text-decoration: underline; text-underline-offset: 2px; }
.nol-haken[data-fehlt] span { color: var(--nol-warn); }

/* Honigtopf: für Menschen unsichtbar, für Bots verlockend. Nicht display:none, das erkennen sie. */
.nol-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px; overflow: hidden;
}

.nol-antwort {
	margin: .8rem 0 0;
	font-size: .88rem;
	line-height: 1.5;
	color: var(--nol-warn);
}
.nol-antwort:empty { margin: 0; }

.nol-versprechen {
	margin: 1.4rem 0 0;
	padding: .85rem 1rem;
	border-left: 2px solid var(--nol-gold);
	background: rgba(221, 184, 128, .07);
	font-size: .86rem;
	line-height: 1.6;
	color: var(--nol-ink-2);
}
.nol-schluss {
	margin: 1.1rem 0 0;
	font-family: var(--nol-serif);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--nol-gold);
}

/* Nach dem Absenden bleibt nur der Dank stehen. */
.nol-erledigt > *:not(.nol-fertig) { display: none !important; }

.nol-fertig { padding: .3rem 0; }
.nol-fertig-titel {
	margin: 0 0 .6rem;
	font-family: var(--nol-serif);
	font-size: clamp(1.4rem, 4.4vw, 1.8rem);
	font-weight: 500;
	line-height: 1.25;
	color: var(--nol-ink);
}
.nol-fertig-text {
	margin: 0;
	font-size: .95rem;
	line-height: 1.65;
	color: var(--nol-ink-2);
}

@media (prefers-reduced-motion: no-preference) {
	.nol-fertig { animation: nol-auf .35s ease-out both; }
	@keyframes nol-auf {
		from { opacity: 0; transform: translateY(6px); }
		to   { opacity: 1; transform: none; }
	}
}
