/* Nur Grundlayout des Anmeldeformulars; die Gestaltung übernimmt das Theme (Spur T). */
.lf-anmeldung fieldset { border: 1px solid currentColor; margin: 0 0 1.5em; padding: 1em; }
.lf-anmeldung legend { font-weight: 600; padding: 0 0.4em; }
.lf-anmeldung .lf-feld { margin: 0 0 0.8em; }
.lf-anmeldung .lf-feld label { display: block; margin-bottom: 0.2em; }
.lf-anmeldung .lf-feld input[type="text"],
.lf-anmeldung .lf-feld input[type="email"],
.lf-anmeldung .lf-feld select,
.lf-anmeldung .lf-feld textarea { width: 100%; max-width: 32em; box-sizing: border-box; font-size: 1rem; padding: 0.5em; }
.lf-anmeldung .lf-inline { display: inline-block; margin: 0 1em 0.4em 0; }
.lf-anmeldung .lf-rot { border: 2px solid var(--lf-error) !important; outline: none; }
.lf-anmeldung .lf-mehrmeter-rechnung { display: block; margin-top: 0.2em; }
.lf-anmeldung .lf-fehler { display: block; color: var(--lf-error); font-size: 0.95em; margin-top: 0.2em; }
.lf-anmeldung .lf-meldung { border: 2px solid var(--lf-error); padding: 0.6em 1em; margin: 0 0 1em; }
.lf-anmeldung .lf-meldung.lf-link-geschlossen { background: var(--lf-error); border-color: var(--lf-error); color: var(--lf-paper); font-weight: 600; }
.lf-anmeldung .lf-hinweis { font-size: 0.95em; }
.lf-anmeldung .lf-termin { border-top: 1px solid var(--lf-line-strong); padding: 0.6em 0; }
.lf-anmeldung.lf-js .lf-termin:not(.lf-offen) .lf-termin-details { display: none; }
.lf-anmeldung .lf-preistabelle { border-collapse: collapse; min-width: 18em; }
.lf-anmeldung .lf-preistabelle th,
.lf-anmeldung .lf-preistabelle td { padding: 0.2em 0.8em 0.2em 0; text-align: left; }
.lf-anmeldung .lf-betrag { text-align: right; white-space: nowrap; }
.lf-anmeldung .lf-honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-anmeldung .lf-volltext { display: inline; margin-left: 0.5em; }
.lf-anmeldung .lf-absenden { font-size: 1rem; padding: 0.7em 1.6em; cursor: pointer; }
/* Wahlmöglichkeiten (P32a): Kästchen, Radio oder Stückzahl links; rechts die Bezeichnung und darunter eingerückt der Preis */
.lf-anmeldung .lf-option { display: grid; grid-template-columns: auto 1fr; column-gap: 0.6em; align-items: start; margin: 0 0 0.6em; }
.lf-anmeldung .lf-option > input[type="checkbox"],
.lf-anmeldung .lf-option > input[type="radio"] { margin: 0.25em 0 0; }
.lf-anmeldung .lf-opt-text { display: block; min-width: 0; }
.lf-anmeldung .lf-opt-name,
.lf-anmeldung .lf-opt-preis { display: block; }
.lf-anmeldung .lf-opt-preis { font-size: 0.9em; font-weight: 400; color: var(--lf-ink-soft); }
.lf-anmeldung .lf-option-zahl { grid-template-columns: 5em 1fr; align-items: center; }
.lf-anmeldung .lf-option-zahl > input { grid-column: 1; grid-row: 1; width: 100%; box-sizing: border-box; }
.lf-anmeldung .lf-option-zahl > label { grid-column: 2; grid-row: 1; margin: 0; }
.lf-anmeldung .lf-option-zahl > .lf-fehler { grid-column: 1 / -1; }
.lf-anmeldung .lf-option-flaeche { margin: 0 0 0.6em; }
.lf-anmeldung .lf-opt-titel { margin: 0 0 0.3em; }
.lf-anmeldung .lf-opt-masse { display: flex; flex-wrap: wrap; gap: 0 1em; }
/* Unterüberschriften (Standart, Zusatzbuchungen) in Magenta (P32a (3)); Schrift-Magenta mit AA-Kontrast */
.lf-anmeldung .lf-untertitel > legend { color: var(--lf-accent-text); }
.lf-anmeldung .lf-rechtstext-link { white-space: nowrap; }
@media (max-width: 600px) {
	.lf-anmeldung fieldset { padding: 0.7em; }
}
/* UX-Audit (P37-Audit): Fehlerliste mit Sprunglinks, Gruppen, Hilfetexte, abhängige Felder; Werte nur aus lf-tokens.css */
.lf-anmeldung [hidden] { display: none !important; }
.lf-anmeldung .lf-meldung,
.lf-anmeldung .lf-feld,
.lf-anmeldung fieldset,
.lf-anmeldung .lf-kaestchen,
.lf-anmeldung .lf-termin-details { scroll-margin-top: calc(var(--lf-top-offset, 0px) + var(--lf-header-height) + var(--lf-space-7)); }
.lf-anmeldung .lf-meldung:focus { outline: 3px solid var(--lf-focus); outline-offset: 2px; }
.lf-anmeldung .lf-fehler-liste { margin: 0.4em 0 0; padding-left: 1.2em; }
.lf-anmeldung .lf-fehler-liste li { margin: 0 0 0.3em; }
.lf-anmeldung .lf-fehler-liste a { color: inherit; }
.lf-anmeldung .lf-fehler-liste-hinweis { margin: 0.2em 0 0; }
.lf-anmeldung .lf-feld-hilfe { display: block; margin: 0 0 0.3em; font-size: 0.95em; color: var(--lf-ink-soft); }
.lf-anmeldung .lf-feld input[type="checkbox"],
.lf-anmeldung .lf-kaestchen input[type="checkbox"],
.lf-anmeldung .lf-termin-wahl input[type="checkbox"],
.lf-anmeldung .lf-option > input[type="checkbox"],
.lf-anmeldung .lf-option > input[type="radio"] { width: 24px; height: 24px; flex: none; accent-color: var(--lf-accent); }
.lf-anmeldung .lf-preise-klapp { display: none; }
.lf-anmeldung .lf-preis-brutto th,
.lf-anmeldung .lf-preis-brutto td { font-weight: 700; }
@media (min-width: 600px) {
	.lf-anmeldung .lf-zeile-paar { display: flex; flex-wrap: wrap; gap: 0 1em; }
	.lf-anmeldung .lf-zeile-paar > .lf-feld { flex: 1 1 12em; min-width: 0; }
	.lf-anmeldung .lf-zeile-plz-ort > .lf-feld:first-child { flex: 0 1 9em; }
}

/* Abmeldeseite der Einladungen (P15); Werte nur aus lf-tokens.css. */
.lf-abmeldung-seite { margin: 0; background: var(--lf-paper-warm); color: var(--lf-ink); font-family: var(--lf-font-sans); }
.lf-abmeldung { max-width: 36rem; margin: var(--lf-space-7) auto; padding: var(--lf-space-5); background: var(--lf-paper); border: 1px solid var(--lf-line); border-radius: var(--lf-radius-md); }
.lf-abmeldung h1 { font-family: var(--lf-font-display); margin-top: 0; }
.lf-abmeldung-knopf { font: inherit; padding: var(--lf-space-3) var(--lf-space-5); border: 1px solid var(--lf-ink); border-radius: var(--lf-radius-sm); background: var(--lf-paper); color: var(--lf-ink); cursor: pointer; width: 100%; text-align: left; }
.lf-abmeldung-knopf:hover { background: var(--lf-ink-wash); }
.lf-abmeldung-knopf:focus-visible { outline: 2px solid var(--lf-focus); outline-offset: 2px; }
.lf-abmeldung-klein { color: var(--lf-ink-soft); font-size: 0.9rem; }
/* Externe Prüfung C-34 P2-4: Meldung, wenn das Speichern der Abmeldung fehlschlägt (wie die Meldung im Kontaktformular). */
.lf-abmeldung .lf-meldung { margin: 0 0 var(--lf-space-4); padding: var(--lf-space-3) var(--lf-space-4); border-left: 4px solid var(--lf-error); border-radius: var(--lf-radius-sm); background: var(--lf-error-tint); color: var(--lf-error-text); }
/* Falscher Wert (Sofortprüfung und nach dem Absenden): rot umrandet und rötlich hinterlegt, Hinweis darunter */
.lf-anmeldung .lf-rot,
.lf-anmeldung [aria-invalid="true"] { border: 2px solid var(--lf-error) !important; background: var(--lf-error-tint); }
