/* =====================================================================
   familienforscher.at – modernes, barrierefreies Design der öffentlichen
   Webseite. Wird nur vom _PublicLayout geladen (body.public). Der Parten-
   Mitgliederbereich behält sein eigenes Design (site.css).
   Kontraste sind auf WCAG-AA ausgelegt; Fokus sichtbar; Animationen werden
   bei prefers-reduced-motion deaktiviert.
   ===================================================================== */
:root {
    --bg: #faf8f4;
    --surface: #ffffff;
    --surface-2: #f3ede4;
    --ink: #23201d;
    --muted: #5d554d;
    --primary: #9c3318;          /* heritage-rot, ~6:1 auf weiß */
    --primary-dark: #7c2812;
    --accent: #a9781f;           /* gold */
    --line: #e7e0d6;
    --focus: #1c64c4;
    --r: 12px;
    --r-sm: 7px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05), 0 2px 6px rgba(35,32,29,.06);
    --shadow-md: 0 6px 18px rgba(35,32,29,.10);
    --shadow-lg: 0 18px 44px rgba(35,32,29,.18);
    --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --wrap: 1180px;
}

body.public {
    margin: 0;
    /* Dezente Pergament-/Schrift-Textur im Hintergrund (wie die alte App),
       stark aufgehellt, damit Karten und Text gut lesbar bleiben. */
    background-color: var(--bg);
    background-image:
        linear-gradient(rgba(250,248,244,.88), rgba(250,248,244,.94)),
        url('/img/schrift1.jpg');
    background-repeat: no-repeat, no-repeat;
    background-position: center, center top;
    background-size: cover, cover;
    background-attachment: fixed, fixed;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.public h1, body.public h2, body.public h3, body.public h4 {
    font-family: var(--font-serif);
    line-height: 1.2;
    color: var(--ink);
    margin: 0 0 .6em;
}
body.public h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.6rem); font-weight: 600; }
body.public h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); font-weight: 600; }
body.public h3 { font-size: 1.2rem; font-weight: 600; }
body.public p { margin: 0 0 1rem; }

/* Standard-Linkfarbe (rot, unterstrichen) als echter DEFAULT mit Spezifität 0
   (via :where): so gewinnt jede Komponente, die ihre eigene Farbe setzt –
   Buttons (.btn), Kopf-/Fußleiste, Pager, Tabs usw. Sonst hätte diese globale
   Regel niedrig-spezifische Komponenten-Links auf dunklem Grund orange eingefärbt
   (oranger Text auf schwarzem Hintergrund). Inhalts-Links ohne eigene Regel
   bleiben rot/unterstrichen. */
:where(body.public a:not(.btn)) { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
:where(body.public a:not(.btn)):hover { color: var(--primary-dark); }

/* Sichtbarer Fokus für Tastaturnutzer (überall). */
body.public :focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Skip-Link (erste fokussierbare Stelle). */
.skip-link {
    position: absolute; left: 8px; top: -48px; z-index: 1200;
    background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
    text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Kopfleiste ---------- */
.site-head {
    background: var(--ink); color: #f4efe8;
}
.site-head-inner {
    max-width: var(--wrap); margin: 0 auto; padding: .5rem 1.5rem;
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.site-head .spacer { flex: 1; }
.site-head .site-tagline { font-size: .9rem; color: #d8cfc2; }
.site-head .site-auth { display: inline-flex; align-items: center; gap: .6rem; }
.site-head .site-user { font-size: .85rem; color: #d8cfc2; }
.site-head .btn-link, .site-head .site-login {
    background: none; border: 0; color: #fff; cursor: pointer; font: inherit;
    font-size: .9rem; padding: .35rem .6rem; border-radius: var(--r-sm); text-decoration: none;
}
.site-head .btn-link:hover, .site-head .site-login:hover { background: rgba(255,255,255,.14); color: #e8c067; text-decoration: none; }
#cms-toggle { border: 1px solid rgba(255,255,255,.4); }
body.cms-on #cms-toggle { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Markenzeile + Navigation ---------- */
.site-nav {
    background: var(--surface); border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm);
}
.site-nav-inner {
    max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem;
    display: flex; align-items: center; gap: 1rem;
}
.site-brand {
    display: inline-flex; align-items: baseline; gap: .1rem;
    font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600;
    color: var(--ink); text-decoration: none; padding: .7rem 0; white-space: nowrap;
}
.site-brand:hover { color: var(--primary); }
.site-brand b { color: var(--primary); font-weight: 600; }
.nav-toggle {
    margin-left: auto; display: none; align-items: center; gap: .5rem;
    background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
    color: var(--ink); font: inherit; font-size: .95rem; padding: .45rem .7rem; cursor: pointer;
}
.site-nav-links { display: flex; align-items: center; gap: .15rem; margin-left: auto; flex-wrap: wrap; }
.site-nav .nav-link {
    color: var(--ink); text-decoration: none; font-size: .98rem; font-weight: 500;
    padding: .65rem .8rem; border-radius: var(--r-sm); position: relative;
}
.site-nav .nav-link:hover { background: var(--surface-2); color: var(--primary-dark); }
.site-nav .nav-link.active { color: var(--primary); }
.site-nav .nav-link.active::after {
    content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 2px; height: 2px;
    background: var(--primary); border-radius: 2px;
}
.nav-sep-v { width: 1px; align-self: center; height: 1.4rem; background: var(--line); margin: 0 .3rem; }

/* „Parten" als eigener Bereich – Knopf. */
.site-nav .nav-link.nav-parten {
    background: var(--primary); color: #fff; font-weight: 600; padding: .5rem .95rem; margin-left: .3rem;
}
.site-nav .nav-link.nav-parten:hover { background: var(--primary-dark); color: #fff; }
.site-nav .nav-link.nav-parten::after { display: none; }

/* Verwaltungs-/Admin-Funktionen in der Kopfleiste (beim Benutzernamen). */
.head-admin {
    display: inline-flex; align-items: center; gap: .1rem; flex-wrap: wrap;
    padding-right: .6rem; margin-right: .2rem; border-right: 1px solid rgba(255,255,255,.18);
}
.head-admin-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: #b7ab9b; margin-right: .3rem; }
.head-admin a {
    color: #f0e9dd; text-decoration: none; font-size: .85rem; padding: .3rem .55rem; border-radius: var(--r-sm);
}
.head-admin a:hover { background: rgba(255,255,255,.14); color: #e8c067; }

/* ---------- Hauptbereich ---------- */
.site-main { max-width: var(--wrap); margin: 0 auto; padding: 2.25rem 1.5rem 3rem; }

/* Hero (Startseite). */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: var(--r); margin-bottom: 2rem; min-height: 360px;
    display: flex; align-items: center;
    background: var(--primary-dark) center / cover no-repeat;
    color: #fff; box-shadow: var(--shadow-md);
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, rgba(33,14,8,.92) 0%, rgba(33,14,8,.70) 50%, rgba(33,14,8,.30) 100%);
}
.hero-inner { padding: clamp(2rem, 1rem + 5vw, 4.5rem) clamp(1.25rem, .5rem + 4vw, 3.5rem); max-width: 720px; }
.public .hero-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: #f0d2a0; margin: 0 0 .6rem; font-weight: 600; }
.public .hero h1 { color: #fff; margin-bottom: .5rem; }
.public .hero-lead { font-size: 1.18rem; color: #f4ece1; margin-bottom: 1.6rem; max-width: 48ch; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
/* Primärer Hero-Knopf in Gold – hebt sich auf dem dunklen Bild klar ab. */
.hero-cta .btn:not(.ghost) { background: #e8c067; border-color: #e8c067; color: #2a1808; }
.hero-cta .btn:not(.ghost):hover { background: #dcab44; border-color: #dcab44; color: #2a1808; }

/* Kopfbild-Band der Innenseiten (Titel über thematischem Foto). */
.page-header {
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: var(--r); margin-bottom: 1.75rem; min-height: 180px;
    display: flex; align-items: flex-end;
    background: var(--primary-dark) center / cover no-repeat;
    color: #fff; box-shadow: var(--shadow-md);
}
.page-header::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(33,14,8,.30) 0%, rgba(33,14,8,.82) 100%);
}
.page-header-inner { padding: 1.4rem clamp(1.25rem, .5rem + 3vw, 2.5rem); width: 100%; }
.public .page-header h1 { color: #fff; margin: 0; }
.public .page-header h1::after { display: none; }

/* Überschriften mit Akzent-Unterstrich (statt reinem Schwarz). */
body.public h1::after {
    content: ""; display: block; width: 54px; height: 3px; margin-top: .5rem;
    background: var(--primary); border-radius: 2px;
}
body.public h2::after {
    content: ""; display: block; width: 40px; height: 3px; margin-top: .4rem;
    background: var(--accent); border-radius: 2px;
}
body.public h3 { color: var(--primary-dark); }
/* Ausnahmen: Hero (weiß auf dunkel) und Anmeldekarte ohne Balken. */
.public .hero h1::after, .public .login-card h1::after { display: none; }

/* Bild-Band mit Aufruf (z. B. „Mitglied werden") – weiteres Hintergrundbild. */
.cta-band {
    position: relative; isolation: isolate; overflow: hidden; text-align: center; color: #fff;
    border-radius: var(--r); margin: 1.5rem 0; padding: clamp(2rem, 1rem + 4vw, 3.5rem) 1.5rem;
    background: var(--primary-dark) center / cover no-repeat; box-shadow: var(--shadow-md);
}
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(33,14,8,.74); }
.cta-inner { max-width: 620px; margin: 0 auto; }
.public .cta-band h2 { color: #fff; }
.public .cta-band h2::after { margin-left: auto; margin-right: auto; }
.public .cta-band p { color: #f4ece1; margin-bottom: 1.4rem; }
.cta-band .btn:not(.ghost) { background: #e8c067; border-color: #e8c067; color: #2a1808; }
.cta-band .btn:not(.ghost):hover { background: #dcab44; border-color: #dcab44; color: #2a1808; }
.public .cta-band .cta-note { font-size: .92rem; margin-bottom: 0; }
.public .cta-band .cta-note a { color: #e8c067; text-decoration: underline; }
.public .cta-band .cta-note a:hover { color: #dcab44; }

/* Inhaltsblöcke als Karten. */
.content-section {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    padding: 1.6rem 1.75rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.content-section > h1:first-child, .content-section > h2:first-child { margin-top: 0; }
.article-body { font-size: 1.0625rem; line-height: 1.75; }
.article-body p:last-child { margin-bottom: 0; }

.panel {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    padding: 1.4rem 1.5rem; margin: 0 0 1.25rem; box-shadow: var(--shadow-sm);
}
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin: 0; }
.card-grid .panel { margin: 0; transition: transform .15s ease, box-shadow .15s ease; }
a.panel { text-decoration: none; color: inherit; display: block; }
a.panel:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* Listen (Links, Dokumente). */
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 0; }
.link-list .lnk-title { font-weight: 600; }

/* ---------- Aufklappbare Kategorie-Karten (Akkordeon) ---------- */
.accordion { display: flex; flex-direction: column; gap: .85rem; }
.acc-item {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.acc-item > summary {
    list-style: none; cursor: pointer; padding: 1rem 1.25rem;
    display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
    font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--ink);
}
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-item > summary::after {
    content: "\25BE"; margin-left: auto; color: var(--primary);
    font-size: 1rem; transition: transform .2s ease;
}
.acc-item[open] > summary::after { transform: rotate(180deg); }
.acc-item > summary:hover { background: var(--surface-2); }
.acc-item[open] > summary { border-bottom: 1px solid var(--line); }
.acc-count {
    background: var(--surface-2); color: var(--muted); border-radius: 999px;
    padding: .12rem .65rem; font-size: .8rem; font-weight: 600; font-family: var(--font-sans);
}
.acc-body { padding: 1.1rem 1.25rem 1.3rem; }
.acc-body > .article-body:first-child { margin-bottom: .8rem; }
/* Verschachtelte Untergruppe */
.acc-sub { margin-top: .85rem; }
.acc-sub > summary { font-size: 1.02rem; padding: .7rem 1rem; }
.acc-sub > .acc-body { padding: .9rem 1rem 1rem; }

/* Archiv-Einträge innerhalb einer Gruppe */
.arch-entry { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.arch-entry:last-child { border-bottom: 0; }
.arch-entry .arch-name { font-weight: 600; margin-bottom: .15rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    padding: .65rem 1.25rem; background: var(--primary); color: #fff;
    border: 1px solid var(--primary); border-radius: var(--r-sm);
    font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; text-decoration: none;
    transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: var(--surface); color: var(--primary); }
.btn.secondary:hover { background: var(--surface-2); color: var(--primary-dark); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn.danger { background: #fff; color: #a11; border-color: #c66; }
.btn.danger:hover { background: #a11; color: #fff; border-color: #a11; }
.btn.small { padding: .35rem .7rem; font-size: .82rem; }

/* ---------- Formulare ---------- */
.public label { display: block; font-size: .85rem; color: var(--muted); margin: 0 0 .25rem; font-weight: 500; }
.public input[type=text], .public input[type=email], .public input[type=password],
.public input[type=number], .public input[type=date], .public input[type=search],
.public select, .public textarea {
    width: 100%; padding: .6rem .7rem; font: inherit; font-size: 1rem;
    background: var(--surface); color: var(--ink);
    border: 1px solid #c9bfb0; border-radius: var(--r-sm);
}
.public input:focus, .public select:focus, .public textarea:focus {
    border-color: var(--primary); outline: 3px solid var(--focus); outline-offset: 1px;
}
.public .form-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.public .form-row > div { flex: 1; min-width: 160px; }
.public .checkbox { display: flex; align-items: center; gap: .5rem; }
.public .checkbox input { width: auto; }

/* ---------- Hinweise ---------- */
.public .alert {
    padding: .85rem 1.1rem; margin: 0 0 1rem; border-radius: var(--r-sm);
    border: 1px solid var(--line); border-left: 5px solid var(--muted); background: var(--surface-2);
}
.public .alert.error { border-left-color: #b3261e; background: #fdeceb; color: #7c1a14; }
.public .alert.success { border-left-color: #2e7d32; background: #ecf6ed; color: #1e5121; }
.public .alert.warn { border-left-color: var(--accent); background: #fbf2e0; }

/* ---------- Detailansicht / Mitglieder ---------- */
.detail-grid { display: grid; grid-template-columns: 300px 1fr; gap: 1.5rem; align-items: start; }
.detail-grid .panel { margin: 0; }
table.kv { width: 100%; border-collapse: collapse; }
table.kv td { padding: .45rem .3rem; font-size: .95rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.kv td.k { color: var(--muted); width: 40%; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.gallery .tile { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.gallery .tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.gallery .tile .cap { font-size: .78rem; color: var(--muted); padding: .4rem .5rem; }

/* ---------- Sponsoren ---------- */
.sponsors {
    display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: center;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r);
    padding: 1.5rem; box-shadow: var(--shadow-sm); margin-top: 1.5rem;
}
.public .sponsors img { height: 48px; width: auto; opacity: 1; filter: none; transition: transform .2s; }
.public .sponsors a:hover img, .public .sponsors a:focus-visible img { transform: scale(1.05); }

/* ---------- Fußbereich ---------- */
.site-foot { background: var(--ink); color: #cfc6b9; margin-top: 2.5rem; }
.site-foot-inner {
    max-width: var(--wrap); margin: 0 auto; padding: 1.6rem 1.5rem;
    display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; align-items: center;
    font-size: .9rem;
}
.site-foot a { color: #fff; }
.site-foot a:hover { color: #e8c067; background: none; }

/* ---------- Anmelde-/Registrierkarte ---------- */
.login-card {
    max-width: 460px; margin: 2.5rem auto; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-md);
    padding: 2.25rem;
}
.public .login-card h1 { text-align: center; font-size: 1.6rem; margin-bottom: .15rem; }
.public .login-card .sub { text-align: center; color: var(--muted); margin: 0 0 1.4rem; }

/* ---------- Inline-CMS (nur Admin/Redakteur) ---------- */
.cms-only { display: none !important; }
body.cms-on .cms-only { display: inline-flex !important; }
body.cms-on .cms-edit.cms-new { display: inline-flex !important; }
.cms-edit {
    align-items: center; gap: .3rem; background: var(--accent); color: #fff; border: 0;
    border-radius: var(--r-sm); font: inherit; font-size: .78rem; line-height: 1;
    padding: .25rem .55rem; margin-left: .5rem; cursor: pointer; vertical-align: middle;
}
.cms-edit:hover { background: #8c6219; }
.cms-edit.cms-new { margin: .75rem 0 0; }
.cms-field { margin-bottom: .9rem; }
.cms-actions { display: flex; gap: .5rem; margin-top: 1.2rem; flex-wrap: wrap; }
.cms-upload { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }

/* ---------- Modal (Inline-CMS) ---------- */
.public .modal-backdrop {
    display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(20,14,10,.6);
    align-items: flex-start; justify-content: center; padding: 5vh 1rem; overflow-y: auto;
}
.public .modal-backdrop.open { display: flex; }
.public .modal {
    background: var(--surface); width: min(680px, 94vw); border-radius: var(--r);
    box-shadow: var(--shadow-lg); border: 0; display: flex; flex-direction: column; max-height: 88vh;
}
.public .modal-head { display: flex; align-items: center; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.public .modal-head h2 { margin: 0; font-size: 1.25rem; }
.public .modal-close { margin-left: auto; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); border-radius: var(--r-sm); padding: 0 .4rem; }
.public .modal-close:hover { color: var(--ink); }
.public .modal-body { padding: 1.4rem; overflow-y: auto; }

/* ---------- Responsiv ---------- */
@media (max-width: 880px) {
    .site-nav-inner { flex-wrap: wrap; }
    .nav-toggle { display: inline-flex; }
    .site-nav-links {
        flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
        margin: 0 0 .5rem; display: none;
    }
    body.nav-open .site-nav-links { display: flex; }
    .site-nav .nav-link { padding: .8rem .6rem; border-radius: 0; border-bottom: 1px solid var(--line); }
    .site-nav .nav-link.active::after { display: none; }
    .site-nav .nav-link.nav-parten, .site-nav .nav-link.nav-admin { margin: .4rem 0; border-radius: var(--r-sm); }
    .nav-sep-v { display: none; }
    .nav-admin-group { border-left: 0; border-top: 1px solid var(--line); padding: .4rem 0 0; margin: .4rem 0 0; flex-basis: 100%; }
    .detail-grid { grid-template-columns: 1fr; }
}

/* Eingeklapptes Menü gleitet ein – Einträge gestaffelt (wie früher). */
@keyframes ffNavIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@media (max-width: 880px) {
    body.nav-open .site-nav-links .nav-link { animation: ffNavIn .25s ease both; }
    body.nav-open .site-nav-links .nav-link:nth-child(2) { animation-delay: .04s; }
    body.nav-open .site-nav-links .nav-link:nth-child(3) { animation-delay: .08s; }
    body.nav-open .site-nav-links .nav-link:nth-child(4) { animation-delay: .12s; }
    body.nav-open .site-nav-links .nav-link:nth-child(5) { animation-delay: .16s; }
    body.nav-open .site-nav-links .nav-link:nth-child(6) { animation-delay: .20s; }
    body.nav-open .site-nav-links .nav-link:nth-child(7) { animation-delay: .24s; }
    body.nav-open .site-nav-links .nav-link:nth-child(8) { animation-delay: .28s; }
}

/* Bewegung reduzieren, wenn vom Nutzer gewünscht. */
@media (prefers-reduced-motion: reduce) {
    body.public *, body.public *::before, body.public *::after {
        animation-duration: .001ms !important; animation-iteration-count: 1 !important;
        transition-duration: .001ms !important; scroll-behavior: auto !important;
    }
}
