/* ── Turnier-Leitfaden im neuen Rahmen (Redesign L10) — js/lf-leitfaden.js (LF), Praefix lf-. Zeilen, Abschnitte, Knopf, Person
   sind Bausteine (rd-tw.css); hier nur der Klappknopf je Schritt, die Erklaerung und der Spickzettel. ── */
.lf-liga { max-width: 360px; margin: 0 0 var(--tw-abschnitt); }
.lf-liste { border-top: 1px solid var(--tw-linie); }
.lf-s { border-bottom: 1px solid var(--tw-linie); }
.lf-kopf { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lf-kopf .tw-z { border-bottom: 0; min-height: 64px; }
.lf-kopf:hover .tw-z-text > span:first-child, .lf-kopf:focus-visible .tw-z-text > span:first-child { color: var(--tw-akzent); }
.lf-kopf:focus-visible { outline: 1px solid var(--tw-akzent); outline-offset: -1px; }
.lf-auf { flex: none; display: inline-flex; color: var(--tw-text-3); transition: rotate var(--tw-dauer) ease; }
.lf-s.offen .lf-auf { rotate: 180deg; color: var(--tw-text); }
.lf-s.s-hier .tw-z-nr { color: var(--tw-akzent); }
.lf-panel { padding: 0 0 26px 46px; display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.lf-text { display: flex; flex-direction: column; gap: 10px; color: var(--tw-text-2); font-size: var(--tw-s-text); line-height: 1.6; }
.lf-kn { display: flex; flex-wrap: wrap; gap: 10px; }
.lf-sehen { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.lf-spick small { display: block; margin-top: 4px; color: var(--tw-text-3); font-size: var(--tw-s-klein); }
.lf-spick dd { line-height: 1.55; }

@media (max-width: 759px) {
    .lf-panel { padding-left: 0; }
}

/* ── Bewegung (nur html.lf-bew; reduzierte Bewegung = alles steht) ── */
@media (prefers-reduced-motion: no-preference) {
    html.lf-bew .tw-ab:not(.lf-da) :is(.lf-s, .tw-kv > div) { opacity: 0; translate: 0 14px; }
    html.lf-bew .tw-ab :is(.lf-s, .tw-kv > div) { transition: opacity .45s ease, translate .6s cubic-bezier(.2, .8, .2, 1); }
    html.lf-bew .tw-ab .lf-s:nth-child(2) { transition-delay: 40ms; } html.lf-bew .tw-ab .lf-s:nth-child(3) { transition-delay: 80ms; }
    html.lf-bew .tw-ab .lf-s:nth-child(4) { transition-delay: 120ms; } html.lf-bew .tw-ab .lf-s:nth-child(5) { transition-delay: 160ms; }
    html.lf-bew .tw-ab .lf-s:nth-child(6) { transition-delay: 200ms; } html.lf-bew .tw-ab .lf-s:nth-child(7) { transition-delay: 240ms; }
    html.lf-bew .tw-ab .lf-s:nth-child(8) { transition-delay: 280ms; } html.lf-bew .tw-ab .lf-s:nth-child(n+9) { transition-delay: 320ms; }
    html.lf-bew .lf-panel:not([hidden]) { animation: lf-auf .35s cubic-bezier(.2, .8, .2, 1); }
}
@keyframes lf-auf { from { opacity: 0; translate: 0 -6px; } }
