/*
(c) 2026 by Ing. F. Weijers, weijers@cyberprofis.de
Lizenz: MIT
ausdauerfreunde.de – gemeinsames Stylesheet, mobile first (Grundregeln für das Handy,
Erweiterungen ab 40em und 60em). Farben und Verläufe aus dem Stand vom 06.09.2026.
*/
:root {
    --gruen: #059669;
    --gruen-dunkel: #047857;
    --gruen-text: #046c4e;
    --akzent: #f59e0b;
    --erfolg: #10b981;
    --text: #1f2937;
    --text-hell: #4b5563;
    --grund-hell: #f0fdf4;
    --weiss: #ffffff;
    --verlauf-1: linear-gradient(135deg, #34d399 0%, #059669 100%);
    --verlauf-2: linear-gradient(135deg, #6ee7b7 0%, #10b981 100%);
    --verlauf-tri: linear-gradient(135deg, #059669 0%, #0d9488 50%, #0891b2 100%);
    --schatten-s: 0 1px 2px rgba(0, 0, 0, .05);
    --schatten-m: 0 4px 6px -1px rgba(0, 0, 0, .1);
    --schatten-l: 0 10px 15px -3px rgba(0, 0, 0, .1);
    --kopfhoehe: 4rem;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-padding-top: calc(var(--kopfhoehe) + 1rem); -webkit-text-size-adjust: 100%; }

body {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--weiss);
    overflow-x: hidden;
    padding-bottom: 4.75rem;               /* Platz für die Aktionsleiste auf dem Handy */
}

img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.25; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
p, li, dd { overflow-wrap: break-word; }
a { color: var(--gruen-text); }
a:hover { color: var(--gruen-dunkel); }
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--gruen-dunkel); outline-offset: 3px; border-radius: 4px;
}

.container { width: 100%; max-width: 75rem; margin: 0 auto; padding: 0 1.25rem; }
.lesen { max-width: 46rem; }
.inhalt.lesen { margin: 0 auto; }
.seitenkopf .container { max-width: calc(46rem + 2.5rem); }
.nw { white-space: nowrap; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 1100;
    background: var(--weiss); color: var(--gruen-dunkel); padding: .75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ── Kopfzeile und Navigation ── */
.kopf {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--schatten-s);
    transition: box-shadow .3s ease;
}
.kopf.gescrollt { box-shadow: var(--schatten-m); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: var(--kopfhoehe); gap: 1rem; }

.logo {
    font-size: clamp(1.15rem, 5.2vw, 1.5rem); font-weight: 700; white-space: nowrap; text-decoration: none;
    background: var(--verlauf-1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.menue-knopf {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; background: none; border: 0; border-radius: .5rem;
    color: var(--text); cursor: pointer;
}
.menue-knopf .ico { width: 1.6rem; height: 1.6rem; margin: 0; }

.navliste { display: none; list-style: none; }
.navliste.offen {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--weiss); box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
    max-height: calc(100vh - var(--kopfhoehe)); overflow-y: auto; padding: .25rem 0 .75rem;
}
.navliste li { border-top: 1px solid rgba(0, 0, 0, .06); }
.navliste a { display: block; padding: .85rem 1.5rem; color: var(--text); text-decoration: none; font-weight: 500; }
.navliste a[aria-current="page"] { color: var(--gruen-dunkel); font-weight: 700; }
.navliste .nur-gross { display: none; }

/* ── Aktionsleiste (nur Handy und Tablet) ── */
.aktionsleiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    display: flex; gap: .6rem; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); box-shadow: 0 -4px 12px rgba(0, 0, 0, .08);
}
.aktionsleiste a {
    flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: 3rem; padding: .5rem .6rem; border-radius: 999px; font-weight: 600; text-decoration: none; text-align: center; line-height: 1.2;
}
.aktionsleiste .ico { margin: 0; width: 1.2em; height: 1.2em; }
.aktionsleiste .primaer { background: var(--gruen); color: var(--weiss); }
.aktionsleiste .sekundaer { background: var(--grund-hell); color: var(--gruen-dunkel); border: 2px solid #a7f3d0; }

/* ── Schaltflächen ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 3rem; padding: .7rem 1.6rem; border-radius: 999px; border: 0;
    font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.25;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn .ico { margin: 0; }
.btn-hell { background: var(--weiss); color: var(--gruen); box-shadow: var(--schatten-l); }
.btn-hell:hover { color: var(--gruen-dunkel); transform: translateY(-2px); }
.btn-rand { background: rgba(255, 255, 255, .12); color: var(--weiss); border: 2px solid rgba(255, 255, 255, .45); }
.btn-rand:hover { color: var(--weiss); background: rgba(255, 255, 255, .22); }
.btn-gruen { background: var(--gruen); color: var(--weiss); }
.btn-gruen:hover { background: var(--gruen-dunkel); color: var(--weiss); }
.btn-umriss { background: var(--weiss); color: var(--gruen-dunkel); border: 2px solid #a7f3d0; }
.btn-umriss:hover { border-color: var(--gruen); }
.knopfreihe { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; }

/* ── Startbereich (Startseite) ── */
.hero {
    position: relative; overflow: hidden; color: var(--weiss); text-align: center;
    padding: calc(var(--kopfhoehe) + 2.5rem) 0 3rem;
}
.hero::before {
    content: ""; position: absolute; inset: 0; opacity: .3;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23g)"/></svg>');
}
.hero .container { position: relative; }
.hero h1 { font-size: clamp(1.8rem, 7.5vw, 3.75rem); margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0, 0, 0, .3); }
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 38rem; margin: 0 auto 1.75rem; opacity: .95; }
.sport-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1.75rem; list-style: none; }
.sport-tags a {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: .45rem 1rem;
    border-radius: 999px; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35);
    color: var(--weiss); text-decoration: none; font-weight: 500;
}
.sport-tags a:hover { background: rgba(255, 255, 255, .3); color: var(--weiss); }
.sport-tags .ico { margin: 0; }
.hero .knopfreihe { max-width: 22rem; margin: 0 auto; }

/* ── Hintergrundbild Turnhalle (800 px fürs Handy, 1600 px ab 60em), dunkelgrün abgedunkelt für lesbare weiße Schrift ── */
.hero, .seitenkopf {
    --schleier: linear-gradient(160deg, rgba(6, 78, 59, .80) 0%, rgba(4, 47, 46, .70) 100%);
    background-color: #065f46;
    background-image: var(--schleier), url("/bilder/hintergrund-800.jpg");
    background-image: var(--schleier), image-set(url("/bilder/hintergrund-800.webp") type("image/webp"), url("/bilder/hintergrund-800.jpg") type("image/jpeg"));
    background-size: cover; background-position: center 55%;
}
.seitenkopf { --schleier: linear-gradient(160deg, rgba(6, 78, 59, .86) 0%, rgba(4, 47, 46, .78) 100%); }
.seitenkopf.tri { --schleier: linear-gradient(135deg, rgba(4, 78, 62, .88) 0%, rgba(12, 74, 110, .86) 100%); }
.hero::before { display: none; }

/* ── Seitenkopf (Unterseiten) ── */
.seitenkopf { color: var(--weiss); padding: calc(var(--kopfhoehe) + 1.5rem) 0 2.25rem; }
.brotkrumen { font-size: .9rem; margin-bottom: .75rem; }
.brotkrumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.brotkrumen li + li::before { content: "/"; margin-right: .35rem; opacity: .7; }
.brotkrumen a { color: var(--weiss); }
.seitenkopf h1 { font-size: clamp(1.75rem, 7vw, 2.75rem); margin-bottom: .6rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.seitenkopf .einleitung { font-size: 1.1rem; max-width: 40rem; opacity: .95; }

/* ── Abschnitte ── */
.abschnitt { padding: 2.75rem 0; }
.abschnitt.hell { background: var(--grund-hell); }
.abschnitt.dunkel { background: var(--text); color: var(--weiss); }
.titel { text-align: center; margin-bottom: 1.75rem; }
.titel h2 {
    font-size: clamp(1.6rem, 6.5vw, 2.6rem); margin-bottom: .5rem;
    background: var(--verlauf-1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.titel h2 .ico { color: var(--gruen); margin-right: .15em; }
.titel p { color: var(--text-hell); max-width: 38rem; margin: 0 auto; }
.abschnitt.dunkel .titel p { color: rgba(255, 255, 255, .8); }

.inhalt h2 { font-size: clamp(1.4rem, 5.5vw, 1.85rem); color: var(--gruen-dunkel); margin: 2.25rem 0 .75rem; }
.inhalt h2:first-child { margin-top: 0; }
.inhalt h3 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; }
.inhalt p, .inhalt ul, .inhalt ol, .inhalt dl, .inhalt .tabelle { margin-bottom: 1rem; }
.inhalt ul, .inhalt ol { padding-left: 1.4rem; }
.inhalt li { margin-bottom: .35rem; }
.inhalt .klein { font-size: .95rem; color: var(--text-hell); }

/* Liste mit gezeichnetem Haken (kein Schriftzeichen) */
.haken { list-style: none; padding-left: 0 !important; }
.haken li { position: relative; padding-left: 1.75rem; }
.haken li::before {
    content: ""; position: absolute; left: .4rem; top: .45em; width: .42rem; height: .78rem;
    border: solid var(--erfolg); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* ── Steckbrief „Auf einen Blick“ ── */
.steckbrief {
    background: var(--weiss); border-radius: 1rem; box-shadow: var(--schatten-m);
    border-left: 5px solid var(--gruen); padding: 1.25rem 1.25rem .5rem; margin: -1.5rem 0 2rem; position: relative;
}
.steckbrief h2 { font-size: 1.15rem !important; margin: 0 0 .75rem !important; color: var(--text) !important; }
.steckbrief dl { display: grid; grid-template-columns: 1fr; gap: 0 1.5rem; margin: 0; }
.steckbrief dl > div { min-width: 0; }
.steckbrief dt { font-size: .85rem; font-weight: 700; color: var(--gruen-dunkel); text-transform: uppercase; letter-spacing: .03em; display: flex; align-items: center; gap: .4rem; }
.steckbrief dt .ico { margin: 0; }
.steckbrief dd { margin: 0 0 .85rem; }

/* ── Karten ── */
.raster { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.karte { background: var(--weiss); border-radius: 1rem; box-shadow: var(--schatten-m); overflow: hidden; display: flex; flex-direction: column; }
.karte-kopf { height: 7.5rem; display: flex; align-items: center; justify-content: center; color: var(--weiss); background: var(--verlauf-1); }
.karte-kopf.kinder { background: var(--verlauf-2); }
.karte-kopf.tri { background: var(--verlauf-tri); }
.karte-kopf .ico { width: 3rem; height: 3rem; opacity: .85; margin: 0 .15rem; }
.karte-inhalt { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.karte-inhalt h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.karte-inhalt > p { color: var(--text-hell); margin-bottom: 1rem; }
.zeitplan { background: var(--grund-hell); border-radius: .6rem; padding: .8rem 1rem; margin-bottom: 1rem; }
.zeitplan p { display: flex; gap: .5rem; align-items: baseline; }
.zeitplan .ico { flex: none; color: var(--gruen); margin: 0; }
.zeitplan strong { color: var(--gruen-dunkel); }
.karte-inhalt .haken { margin-bottom: 1.25rem; }
.karte .knopfreihe { margin-top: auto; }

.infokarte { background: var(--weiss); border-radius: 1rem; box-shadow: var(--schatten-s); padding: 1.5rem; text-align: center; }
.infokarte h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.infokarte p { color: var(--text-hell); }
.rundsymbol {
    width: 3.5rem; height: 3.5rem; margin: 0 auto .9rem; border-radius: 50%;
    background: var(--verlauf-1); color: var(--weiss); display: flex; align-items: center; justify-content: center;
}
.rundsymbol .ico { width: 1.5rem; height: 1.5rem; margin: 0; }
.mehr { margin-top: .75rem; font-weight: 600; }

/* Verweiskarten auf Unterseiten */
.verweis { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: 1rem; background: var(--weiss); box-shadow: var(--schatten-s); text-decoration: none; color: var(--text); border: 1px solid #d1fae5; }
.verweis:hover { border-color: var(--gruen); color: var(--text); }
.verweis .rundsymbol { margin: 0; flex: none; width: 3rem; height: 3rem; }
.verweis > span:last-child { min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.verweis strong { display: block; color: var(--gruen-dunkel); }
.verweis span span { color: var(--text-hell); font-size: .95rem; }

/* ── Meldungen ── */
.meldung { background: var(--weiss); border-radius: 1rem; box-shadow: var(--schatten-m); padding: 1.4rem; margin-bottom: 1rem; border-left: 4px solid var(--akzent); }
.meldung.wichtig { border-left-color: #ef4444; background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%); }
.meldung .datum { font-size: .9rem; color: var(--text-hell); margin-bottom: .3rem; }
.meldung h3 { color: var(--gruen-dunkel); font-size: 1.2rem; margin-bottom: .6rem; display: flex; gap: .45rem; align-items: baseline; }
.meldung h3 .ico { flex: none; margin: 0; }
.meldung p + p { margin-top: .5rem; }

/* ── Beiträge ── */
.preise { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 0 0 1.5rem; }
.preis { background: var(--weiss); border: 2px solid #d1fae5; border-radius: 1rem; padding: 1.25rem; text-align: center; }
.preis .betrag { display: block; font-size: 2.2rem; font-weight: 800; color: var(--gruen-dunkel); line-height: 1.1; }
.preis .wer { display: block; font-weight: 600; margin-top: .3rem; }
.preis .zusatz { display: block; color: var(--text-hell); font-size: .95rem; }

/* ── Hinweis- und Aufrufkästen ── */
.kasten { border-radius: 1rem; padding: 1.25rem 1.4rem; margin: 1.5rem 0; background: var(--grund-hell); border: 1px solid #d1fae5; }
.kasten.achtung { background: #fffbeb; border-color: #fde68a; }
.kasten > :last-child { margin-bottom: 0; }
.kasten h3 { margin-top: 0 !important; display: flex; gap: .45rem; align-items: baseline; }
.aufruf { background: var(--verlauf-1); color: var(--weiss); border-radius: 1.25rem; padding: 1.75rem 1.4rem; text-align: center; margin: 2.5rem 0 0; }
.aufruf h2 { color: var(--weiss) !important; margin: 0 0 .5rem !important; }
.aufruf p { margin-bottom: 1.25rem; opacity: .95; }

/* ── Tabelle ── */
.tabelle { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabelle table { width: 100%; border-collapse: collapse; font-size: .92rem; }
@media (min-width: 40em) { .tabelle table { font-size: .97rem; } }
.tabelle th, .tabelle td { padding: .55rem .45rem; text-align: left; vertical-align: top; border-bottom: 1px solid #e5e7eb; hyphens: auto; -webkit-hyphens: auto; }
.tabelle td:first-child, .tabelle th:first-child, .tabelle .zahlen td { white-space: nowrap; }
.tabelle .zahlen td + td { font-variant-numeric: tabular-nums; }
.tabelle th { background: var(--grund-hell); color: var(--gruen-dunkel); }

/* ── Häufige Fragen (aufklappbar) ── */
.fragen { max-width: 50rem; margin: 0 auto; }
.fragen details { background: var(--weiss); border-radius: .9rem; box-shadow: var(--schatten-s); margin-bottom: .75rem; border: 1px solid #e5e7eb; }
.fragen summary {
    list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.25rem; font-weight: 600; position: relative; min-height: 3rem;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
    content: ""; position: absolute; right: 1.35rem; top: 1.35rem; width: .55rem; height: .55rem;
    border: solid var(--gruen); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .2s ease;
}
.fragen details[open] summary::after { transform: rotate(-135deg); top: 1.6rem; }
.fragen details > div { padding: 0 1.25rem 1.1rem; color: var(--text-hell); }

/* ── Kontakt ── */
.kontaktkarte { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 1rem; padding: 1.4rem; }
.kontaktkarte h3 { color: var(--akzent); margin-bottom: .9rem; display: flex; gap: .45rem; align-items: baseline; }
.kontaktkarte h3 .ico { margin: 0; flex: none; }
.kontaktzeile { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .8rem; color: rgba(255, 255, 255, .92); }
.kontaktzeile > .ico { flex: none; width: 1.2em; height: 1.2em; margin: .2em 0 0; }
.kontaktzeile a { color: var(--weiss); overflow-wrap: anywhere; }
.kontaktzeile a:hover { color: var(--akzent); }
.kontaktzeile > span, .kontaktzeile > a { min-width: 0; overflow-wrap: anywhere; }

/* Bankverbindung */
.bank { background: var(--weiss); border-radius: 1rem; box-shadow: var(--schatten-s); padding: 1.25rem; border-left: 5px solid var(--akzent); }
.bank dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.bank dt { font-weight: 700; }
.bank dd { overflow-wrap: anywhere; }

/* ── Quellen ── */
.quellen { font-size: .95rem; color: var(--text-hell); }
.quellen li { margin-bottom: .6rem; }
sup a { text-decoration: none; font-weight: 600; }

/* ── Fußzeile ── */
.fuss { background: #111827; color: rgba(255, 255, 255, .82); padding: 2.5rem 0 1.5rem; }
.fuss-raster { display: grid; grid-template-columns: 1fr; gap: 1.75rem; margin-bottom: 1.75rem; }
.fuss h2 { font-size: 1rem; color: var(--weiss); margin-bottom: .6rem; }
.fuss ul { list-style: none; }
.fuss li { margin-bottom: .1rem; }
.fuss a { color: rgba(255, 255, 255, .85); text-decoration: none; display: inline-block; padding: .3rem 0; }
.fuss a:hover { color: var(--akzent); }
.fuss-unten { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.25rem; font-size: .9rem; }
.fuss-unten a { color: var(--weiss); text-decoration: underline; padding: 0; }

/* ── Rechtstexte ── */
.recht h2 { font-size: 1.3rem; }

/* ═════ ab 40em (Tablet hochkant, großes Handy quer) ═════ */
@media (min-width: 40em) {
    .knopfreihe { flex-direction: row; flex-wrap: wrap; align-items: center; }
    .hero .knopfreihe { max-width: none; justify-content: center; }
    .raster.zwei, .raster.drei, .raster.vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .preise { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steckbrief dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fuss-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .abschnitt { padding: 3.75rem 0; }
}

/* ═════ ab 60em (Desktop): waagrechte Navigation, keine Aktionsleiste ═════ */
@media (min-width: 60em) {
    :root { --kopfhoehe: 4.5rem; }
    body { padding-bottom: 0; font-size: 1.075rem; }
    .menue-knopf, .aktionsleiste { display: none; }
    .navliste, .navliste.offen {
        display: flex; position: static; gap: 1.6rem; box-shadow: none; background: none; padding: 0; max-height: none; overflow: visible;
    }
    .navliste li { border: 0; }
    .navliste a { padding: .35rem 0; position: relative; }
    .navliste a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gruen); transition: width .25s ease; }
    .navliste a:hover::after, .navliste a[aria-current="page"]::after { width: 100%; }
    .navliste .nur-klein { display: none; }
    .navliste .nur-gross { display: list-item; }
    .hero { padding: calc(var(--kopfhoehe) + 5rem) 0 5rem; }
    .hero, .seitenkopf {
        background-image: var(--schleier), url("/bilder/hintergrund-1600.jpg");
        background-image: var(--schleier), image-set(url("/bilder/hintergrund-1600.webp") type("image/webp"), url("/bilder/hintergrund-1600.jpg") type("image/jpeg"));
    }
    .seitenkopf { padding: calc(var(--kopfhoehe) + 2.5rem) 0 3.25rem; }
    .raster.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .karte .knopfreihe { flex-direction: row; }
    .raster.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .fuss-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .abschnitt { padding: 4.5rem 0; }
    .steckbrief dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
    .kopf, .aktionsleiste, .fuss, .aufruf { display: none; }
    body { padding: 0; }
    .seitenkopf, .hero { background: none; color: var(--text); padding: 0 0 1rem; }
}

/* ── Liniensymbole (werkzeuge/ikonen.py): eingebettetes SVG statt Emojis/Sonderzeichen ── */
.ico { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; flex: none; overflow: visible; }
h1 .ico, h2 .ico, h3 .ico, h4 .ico, li .ico, p .ico, a .ico, .btn .ico { margin-right: .35em; }
.ico-pfeil:last-child { margin: 0 0 0 .25em; }
i > .ico { vertical-align: -.12em; }   /* ersetzte Font-Awesome-Symbole: <i> behält Größe und Farbe */
.ico[class*="ico-punkt-"] { width: .85em; height: .85em; vertical-align: -.08em; }
/* Menüknöpfe: Balken bzw. Kreuz je nach Zustand */
button .ico-schliessen { display: none; }
button[aria-expanded="true"] .ico-menue { display: none; }
button[aria-expanded="true"] .ico-schliessen { display: inline-block; }
