/* Öffentliche Anmeldeseite „Zentrale Schulungen“ – Corporate Design BNI Deutschland-Österreich (Template „Zentrale Schulungen“) */
:root {
	--zsa-rot: #cf2030; --zsa-rot-hover: #b21b28; --zsa-rot-hell: #f7dfe1;
	--zsa-weiss: #fff; --zsa-hell: #f2f2f2; --zsa-hell2: #f8f8f8; --zsa-sterling: #c8c8c8; --zsa-granite: #64666a; --zsa-text: #1c1c1e;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.zsa { margin: 0; background: var(--zsa-hell); color: var(--zsa-text); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.55; }
.zsa a { color: var(--zsa-rot); }
.zsa a:hover { color: var(--zsa-rot-hover); }
.zsa a:focus-visible, .zsa button:focus-visible, .zsa summary:focus-visible, .zsa input:focus-visible, .zsa select:focus-visible, .zsa textarea:focus-visible { outline: 3px solid var(--zsa-rot); outline-offset: 2px; }
.zsa [hidden] { display: none !important; }
.zsa-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.zsa-skip { position: absolute; left: -9999px; top: 0; background: var(--zsa-weiss); padding: .5rem 1rem; z-index: 10; }
.zsa-skip:focus { left: 1rem; }

/* Kopfleiste */
.zsa-leiste { background: var(--zsa-weiss); border-bottom: 1px solid var(--zsa-sterling); }
.zsa-leiste-innen { max-width: 960px; margin: 0 auto; padding: .85rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.zsa-logo { display: block; height: 40px; width: auto; }
.zsa-leiste-titel { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--zsa-granite); text-align: right; }

/* Karte */
.zsa-main { padding: 1.5rem 1rem 2.5rem; }
.zsa-karte { max-width: 600px; margin: 0 auto; background: var(--zsa-weiss); border-top: 4px solid var(--zsa-rot); border-radius: 0 0 6px 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.zsa-kopf { padding: 1.5rem 1.25rem 1rem; border-bottom: 1px solid var(--zsa-hell); }
.zsa-inhalt { padding: 1.25rem 1.25rem 1.5rem; }
.zsa-inhalt > :last-child { margin-bottom: 0; }
.zsa h1 { font-size: 1.5rem; line-height: 1.25; font-weight: 700; margin: 0 0 .35rem; }
.zsa h2 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; margin: 0 0 .75rem; }
.zsa h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .75rem; }
.zsa p { margin: 0 0 1rem; }
.zsa-dachzeile { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--zsa-granite); margin: 0 0 .4rem; }
.zsa-termin { color: var(--zsa-granite); margin: 0; }
.zsa-abschnitt { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--zsa-hell); }

/* Formular */
.zsa-feld { margin-bottom: 1rem; }
.zsa-label { display: block; font-weight: 700; margin-bottom: .3rem; }
.zsa-input { display: block; width: 100%; min-height: 48px; padding: .6rem .75rem; font: inherit; font-size: 16px; color: var(--zsa-text); background: var(--zsa-weiss); border: 1px solid var(--zsa-granite); border-radius: 4px; transition: border-color .15s; }
.zsa-input:focus { border-color: var(--zsa-rot); }
textarea.zsa-input { min-height: 6rem; resize: vertical; }
.zsa-hilfe { font-size: .875rem; color: var(--zsa-granite); margin-top: .35rem; }
.zsa-fieldset { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.zsa-fieldset legend { font-weight: 700; margin-bottom: .5rem; padding: 0; }
.zsa-auswahl { display: flex; align-items: flex-start; gap: .65rem; padding: .55rem 0; min-height: 44px; }
.zsa-auswahl input { flex: 0 0 auto; width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--zsa-rot); cursor: pointer; }
.zsa-auswahl label { cursor: pointer; }
.zsa-option { margin: 0 0 .75rem 2.1rem; }
.zsa-pflicht label { font-weight: 700; }

/* Buttons */
.zsa .zsa-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.4rem; font: inherit; font-weight: 700; color: var(--zsa-text); background: var(--zsa-weiss); border: 1px solid var(--zsa-granite); border-radius: 4px; cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.zsa .zsa-btn:hover { border-color: var(--zsa-rot); color: var(--zsa-rot); }
.zsa .zsa-btn-primaer { width: 100%; background: var(--zsa-rot); border-color: var(--zsa-rot); color: var(--zsa-weiss); }
.zsa .zsa-btn-primaer:hover { background: var(--zsa-rot-hover); border-color: var(--zsa-rot-hover); color: var(--zsa-weiss); }
.zsa .zsa-btn[disabled], .zsa .zsa-btn[aria-disabled="true"] { background: var(--zsa-hell); border-color: var(--zsa-sterling); color: var(--zsa-granite); cursor: not-allowed; }
@media (min-width: 480px) { .zsa .zsa-btn-primaer { width: auto; } }

/* Hinweiskasten: weißer Grund, linker Rand rot */
.zsa-hinweiskasten { background: var(--zsa-weiss); border: 1px solid var(--zsa-sterling); border-left: 4px solid var(--zsa-rot); padding: .85rem 1rem; margin-bottom: 1.25rem; }
.zsa-hinweiskasten > :last-child { margin-bottom: 0; }
.zsa-hinweiskasten ul { margin: 0; padding-left: 1.2rem; }
.zsa-hinweiskasten.zsa-fehler { background: var(--zsa-rot-hell); border-color: var(--zsa-rot); }
.zsa-hinweis { color: var(--zsa-granite); }
.zsa-klein { font-size: .875rem; color: var(--zsa-granite); }
.zsa-daten { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; margin: .75rem 0 0; }
.zsa-daten dt { color: var(--zsa-granite); }
.zsa-daten dd { margin: 0; word-break: break-word; }

/* Person, Chapter und Region */
.zsa-person { background: var(--zsa-hell2); border-radius: 4px; padding: .85rem 1rem; margin-bottom: 1rem; }
.zsa-person > :last-child { margin-bottom: 0; }
.zsa-name { font-weight: 700; margin-bottom: .35rem; }
.zsa-orgzeile { margin: 0 0 .25rem; }
.zsa-label-klein { display: inline-block; min-width: 4.5rem; font-size: .8rem; color: var(--zsa-granite); }
.zsa-org { color: var(--zsa-granite); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.zsa-ok { margin-top: .5rem; }
.zsa-ok span { color: var(--zsa-rot); font-weight: 700; }

/* Zustimmung */
.zsa-zustimmung { border-top: 1px solid var(--zsa-hell); padding-top: 1.25rem; margin: 1.25rem 0 1rem; font-size: .95rem; }
.zsa-details { margin: 0 0 1rem; }
.zsa-details summary { cursor: pointer; color: var(--zsa-rot); font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.zsa-details[open] summary { margin-bottom: .5rem; }
.zsa-details ul { margin: 0 0 1rem; padding-left: 1.2rem; }

/* Countdown */
.zsa-countdown { background: var(--zsa-hell2); border-radius: 4px; padding: 1rem; margin-bottom: 1rem; text-align: center; }
.zsa-countdown-werte { display: flex; justify-content: center; gap: 1.25rem; }
.zsa-countdown-werte > div { min-width: 4.5rem; }
.zsa-zahl { display: block; font-size: 2.25rem; font-weight: 700; color: var(--zsa-rot); line-height: 1.1; font-variant-numeric: tabular-nums; }
.zsa-einheit { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--zsa-granite); }

/* Chapter-Suche */
.zsa-trefferliste { list-style: none; margin: .35rem 0 0; padding: 0; border: 1px solid var(--zsa-sterling); border-radius: 4px; max-height: 18rem; overflow-y: auto; }
.zsa-trefferliste li + li { border-top: 1px solid var(--zsa-hell); }
.zsa-trefferliste button { display: block; width: 100%; min-height: 48px; padding: .5rem .75rem; text-align: left; font: inherit; color: var(--zsa-text); background: var(--zsa-weiss); border: 0; cursor: pointer; }
.zsa-trefferliste button:hover, .zsa-trefferliste button:focus { background: var(--zsa-rot-hell); }
.zsa-trefferliste .zsa-org { display: block; font-size: .8rem; }
.zsa-trefferliste .zsa-leer { padding: .6rem .75rem; color: var(--zsa-granite); }
.zsa-gewaehlt { margin: .6rem 0 0; padding: .6rem .75rem; background: var(--zsa-rot-hell); border-radius: 4px; }

/* Weiterleitung */
.zsa-fortschritt { height: 6px; background: var(--zsa-hell); border-radius: 3px; overflow: hidden; margin: 0 0 1.25rem; }
.zsa-fortschritt span { display: block; height: 100%; width: 0; background: var(--zsa-rot); }
.zsa-fortschritt.laeuft span { width: 100%; transition: width 3s linear; }
@media (prefers-reduced-motion: reduce) { .zsa-fortschritt.laeuft span { transition: none; } }

/* Unterlagen und Aufzeichnung */
.zsa-unterlagen ul { margin: 0 0 .75rem; padding-left: 1.2rem; }
.zsa-unterlagen li { margin: .4rem 0; }
.zsa-kenncode { font-family: Menlo, Consolas, monospace; font-size: 1.05rem; letter-spacing: .05em; }

/* Fußzeile */
.zsa-fuss { text-align: center; padding: 0 1rem 2rem; font-size: .875rem; color: var(--zsa-granite); }
.zsa-fuss a { color: var(--zsa-granite); }
.zsa-fuss a:hover { color: var(--zsa-rot); }

/* Kalendereintrag (Zustand 1) */
.zsa-kalender { border-top: 1px solid var(--zsa-hell); padding-top: 1rem; margin-top: 1rem; }
