/* share.frank-kemper.com – CI: Lila #792351, Pink #CF0055, Orange #EE7402 */
:root { --lila: #792351; --pink: #CF0055; --orange: #EE7402; --text: #161616; --grau: #666; --linie: #e4e4e4; --grund: #f6f5f4; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 17px; line-height: 1.5; }
a { color: var(--pink); }
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: #fff; padding: 16px max(16px, calc(50% - 600px)); border-bottom: 6px solid; border-image: linear-gradient(90deg, var(--lila), var(--pink), var(--orange)) 1; }
/* Kopf ohne Parteilogo (privates Angebot, Frank 25.10.2026): Wortmarke links, Hinweis rechts */
.marke { text-decoration: none; color: var(--text); line-height: 1.1; }
.marke strong { display: block; font-size: 28px; letter-spacing: -.01em; }
.marke span { display: block; color: var(--grau); font-weight: 300; font-size: 18px; }
.kopf-text { text-align: right; line-height: 1.3; font-size: 15px; }
.kopf-text a { display: block; color: var(--lila); font-weight: 700; text-decoration: none; }
.kopf-text a:hover { color: var(--pink); text-decoration: underline; }
.kopf-text span { color: var(--grau); font-weight: 300; }
main { max-width: 1200px; margin: 0 auto; padding: 24px 16px 48px; }
.filter { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.filter a { text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--linie); padding: 8px 18px; border-radius: 999px; font-weight: 700; }
.filter a.an { background: linear-gradient(90deg, var(--lila), var(--pink)); color: #fff; border-color: transparent; }
.leer { color: var(--grau); }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.karte { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.medium video, .medium img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #111; }
.f-quer video, .f-quer img { aspect-ratio: 16 / 9; }
.f-quadrat video, .f-quadrat img { aspect-ratio: 1 / 1; }
.f-hochkant img, .f-4x5 video { aspect-ratio: 4 / 5; }
.f-story img { aspect-ratio: 9 / 16; }
.medium [style*="--ar"] { aspect-ratio: var(--ar); }   /* echte Maße der Datei (Karikaturen, „(Un)gelogen“) */
.raster.breit { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.einzeln.breit { max-width: 860px; }
/* Reiter je Format: ansehen ohne Herunterladen */
.reiter { display: flex; border-bottom: 1px solid var(--linie); }
.reiter a { flex: 1; text-align: center; padding: 8px 4px 7px; font-size: 14px; font-weight: 700; color: var(--grau); text-decoration: none;
  border-bottom: 3px solid transparent; line-height: 1.15; }
.reiter a small { display: block; font-weight: 300; font-size: 12px; }
.reiter a[aria-selected="true"] { color: var(--lila); border-bottom-color: var(--pink); }
.reiter a:hover { color: var(--pink); }
.laden-titel { width: 100%; font-size: 13px; color: var(--grau); }
.inhalt { padding: 14px 16px 18px; }
.zeile-oben { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--grau); }
.art { font-weight: 700; color: var(--lila); text-transform: uppercase; letter-spacing: .06em; }
.karte h2, .karte h1 { font-size: 19px; line-height: 1.25; margin: 6px 0 12px; }
.laden { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.knopf { display: inline-block; background: var(--pink); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 7px 14px; border-radius: 6px; border: 0; cursor: pointer; font-family: inherit; }
.knopf:hover { background: var(--lila); }
details { border-top: 1px solid var(--linie); padding: 8px 0 0; margin-top: 8px; }
summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.posting { white-space: normal; font-size: 15px; background: var(--grund); padding: 10px 12px; border-radius: 6px; }
.kopieren { background: none; border: 1px solid var(--pink); color: var(--pink); border-radius: 6px; padding: 5px 12px; cursor: pointer; font-family: inherit; }
.quellen { font-size: 13px; padding-left: 18px; word-break: break-word; }
.fuss { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; padding: 24px 16px; background: #fff; border-top: 1px solid var(--linie); font-size: 15px; }
.fuss a { color: var(--text); }
.recht { background: #fff; padding: 24px; border-radius: 10px; max-width: 860px; word-break: break-word; }
.recht h1 { margin-top: 0; }
/* Admin */
.anmelden { max-width: 320px; margin: 40px auto; background: #fff; padding: 24px; border-radius: 10px; display: grid; gap: 10px; }
.anmelden input { font-size: 28px; letter-spacing: .4em; text-align: center; padding: 8px; border: 1px solid var(--linie); border-radius: 6px; }
.fehler { color: var(--pink); font-weight: 700; margin: 0; }
.admin-kopf { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.admin-kopf h1 { margin: 0; }
.hinweis { color: var(--grau); }
table.admin { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
table.admin td { padding: 8px 12px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
table.admin tr:not(.aktiv) td:not(:last-child) { opacity: .5; }
td.bild img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; display: block; }
table.admin small { color: var(--grau); word-break: break-all; }
.schalter { position: relative; display: inline-block; width: 52px; height: 30px; }
.schalter input { opacity: 0; width: 0; height: 0; }
.schalter span { position: absolute; inset: 0; background: #ccc; border-radius: 999px; transition: background .2s; cursor: pointer; }
.schalter span::before { content: ""; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; }
.schalter input:checked + span { background: var(--pink); }
.schalter input:checked + span::before { transform: translateX(22px); }
.schalter input:focus-visible + span { outline: 2px solid var(--lila); outline-offset: 2px; }
@media (max-width: 560px) { .kopf-text { text-align: left; } .marke strong { font-size: 24px; } }
/* Teilen-Knöpfe: alle gleich – Kreis, CI-Lila, beim Überfahren Pink */
.karte h2 a { color: inherit; text-decoration: none; }
.karte h2 a:hover { color: var(--pink); }
.teilen { border-top: 1px solid var(--linie); margin-top: 10px; padding-top: 10px; }
.teilen-titel { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.teilen-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.tk { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--lila); color: #fff;
  transition: background .15s, transform .15s; }
.tk svg { width: 20px; height: 20px; fill: currentColor; }
.tk:hover, .tk:focus-visible { background: var(--pink); transform: translateY(-1px); }
.tk:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.tk-teilen { background: linear-gradient(135deg, var(--lila), var(--pink)); }
.teilen-meldung { font-size: 13px; color: var(--lila); min-height: 1.2em; margin-top: 6px; }
.zurueck { margin: 0 0 16px; }
.einzeln { max-width: 420px; }
.werkzeugleiste { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 16px; }
.werkzeugleiste input, .werkzeugleiste select { font: inherit; font-size: 15px; padding: 8px 10px; border: 1px solid var(--linie); border-radius: 6px; background: #fff; }
.werkzeugleiste input { flex: 1 1 240px; }
.admin-reiter .anzahl { font-weight: 300; }
.admin-reiter .anzahl:empty { display: none; }
.neu { display: inline-block; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 1px 6px; border-radius: 4px; vertical-align: 2px; }
.sammel { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.sammel button:disabled { opacity: .4; cursor: default; }
/* Filter nach Absender (zweite Zeile unter den Reitern) */
.filter.absender { margin: -12px 0 24px; align-items: center; gap: 6px; }
.filter.absender a { font-weight: 400; font-size: 15px; padding: 5px 14px; }
.filter.absender a .anzahl { color: var(--grau); font-size: 13px; margin-left: 2px; }
.filter.absender a.an .anzahl { color: rgba(255,255,255,.8); }
.filter-titel { font-weight: 700; font-size: 15px; color: var(--grau); margin-right: 2px; }
.zeile-oben a { color: inherit; text-decoration: none; }
.zeile-oben a:hover { color: var(--pink); text-decoration: underline; }
/* Sterne */
.sterne { display: flex; align-items: center; gap: 2px; margin: -6px 0 10px; }
.stern { background: none; border: 0; padding: 0 1px; font-size: 24px; line-height: 1; color: #d6d2cf; cursor: pointer; font-family: inherit; }
.stern.voll { color: var(--orange); }
.stern.eigen { color: var(--pink); }
.sterne:hover .stern { color: var(--pink); }
.sterne .stern:hover ~ .stern { color: #d6d2cf; }
.stern:focus-visible { outline: 2px solid var(--lila); outline-offset: 1px; }
.sterne-text { font-size: 13px; color: var(--grau); margin-left: 6px; }
/* Sortierung für Besucher */
.sortieren { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: -12px 0 24px; }
.sortieren a { font-size: 15px; padding: 5px 14px; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--linie); border-radius: 999px; }
.sortieren a.an { border-color: var(--pink); color: var(--pink); font-weight: 700; }
/* Statistik im Adminmenü */
.admin-ansicht { display: flex; gap: 8px; margin: 12px 0 20px; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kachel { background: #fff; border-radius: 10px; padding: 14px 16px; }
.kachel b { display: block; font-size: 30px; line-height: 1.1; color: var(--lila); }
.kachel span { font-size: 13px; color: var(--grau); }
table.statistik th { text-align: left; font-size: 13px; color: var(--grau); padding: 8px 12px; border-bottom: 1px solid var(--linie); background: #fff; cursor: pointer; white-space: nowrap; }
table.statistik td.zahl, table.statistik th.zahl { text-align: right; font-variant-numeric: tabular-nums; }
table.statistik td small { word-break: normal; }
/* Vorschau (vorschau.php) und ihr Kasten im Adminmenü */
.vorschau-hinweis { background: #fff4e5; border: 2px solid var(--orange); border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; }
.vorschau-hinweis strong { display: block; font-size: 19px; color: var(--lila); }
.vorschau-hinweis span { color: var(--grau); font-size: 15px; }
.vorschau-admin { background: #fff; border-radius: 10px; padding: 16px; margin: 0 0 24px; }
.vorschau-admin h2 { margin: 0 0 4px; font-size: 19px; }
.vorschau-admin .hinweis { margin-top: 0; font-size: 15px; }
.vorschau-admin label { font-weight: 700; font-size: 14px; }
.vorschau-zeile { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 10px; }
.vorschau-zeile input[type="text"] { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 15px; padding: 6px 10px; border: 1px solid var(--linie); border-radius: 6px; }
.vorschau-zeile #vorschau-passwort { flex: 0 1 200px; }
.ok { color: #1a7f37; font-weight: 700; margin: 0; }
.anmelden { grid-template-columns: minmax(0, 1fr); }
.anmelden h1 { margin: 0; }
.anmelden .hinweis { margin: 0; font-size: 15px; }
/* Badges: Art (Kurzvideo, Reportage, Musikvideo, (Un)gelogen, Sharepic, Karikatur), Länge und KI, oben in der Karte (nicht aufs Bild: dort sitzt das KI-Kästchen) */
.zeile-oben { align-items: flex-start; }
.zeile-oben > span:last-child { text-align: right; }
.badges { display: flex; flex-wrap: wrap; gap: 5px; flex-shrink: 0; max-width: 60%; }
.badge { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; line-height: 1; padding: 5px 8px; border-radius: 4px; color: #fff; }
.b-kurz { background: var(--pink); }
.b-reportage { background: var(--lila); }
.b-musik { background: #1f1f1f; }
.b-sharepic { background: var(--orange); }
.b-satire { background: #b3261e; text-transform: none; }
.b-karikatur { background: #8a6420; }
.b-film { background: #1f6f8b; }
.b-reihe { background: #fff; color: #1f6f8b; box-shadow: inset 0 0 0 1.5px #1f6f8b; text-transform: none; }
.b-ki { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.b-kurzfassung { background: #fff; color: var(--lila); box-shadow: inset 0 0 0 1.5px var(--lila); }
.b-laenge { background: #ece9e6; color: var(--text); font-variant-numeric: tabular-nums; }
/* Hinweis: privates Angebot */
.privat { background: #fff; border-left: 6px solid var(--lila); border-radius: 10px; padding: 14px 18px; margin: 0 0 24px; font-size: 15px; }
.privat strong { display: block; font-size: 17px; color: var(--lila); margin-bottom: 4px; }
.privat p { margin: 0; }
.fuss-privat { flex-basis: 100%; text-align: center; margin: 0; color: var(--grau); font-size: 14px; }
.recht h2 { font-size: 20px; line-height: 1.3; margin: 26px 0 8px; }
/* Admin: Archiv und Löschen je Zeile */
td.aktionen { white-space: nowrap; text-align: right; }
.klein { font: inherit; font-size: 13px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--linie); background: #fff; color: var(--text); cursor: pointer; }
.klein:hover { border-color: var(--lila); color: var(--lila); }
.klein.loeschen:hover { border-color: #b00020; color: #fff; background: #b00020; }
tr[data-zustand="archiv"] td:not(:last-child) { opacity: .5; }
@media (max-width: 560px) { td.aktionen { white-space: normal; } td.aktionen .klein { margin: 2px 0; } }
/* Videoseite (beitrag.php bei Videos): Video groß auf Schwarz, darunter alles wie auf der Karte (Frank 26.10.2026) */
.einzeln.video { max-width: none; }
.buehne { background: #000; }
.buehne video { max-height: 82vh; background: #000; }
.einzeln.video .reiter, .einzeln.video .inhalt { max-width: 760px; margin: 0 auto; }
.einzeln.video h1 { font-size: 26px; }
.urheber { margin: -4px 0 8px; font-size: 15px; color: var(--grau); }
/* Album (Lieder ohne Video, Frank 26.10.2026): Cover des laufenden Lieds, Player, Liederliste mit MP3 je Lied */
.b-album { background: #1f1f1f; }
.medium .album-cover { aspect-ratio: 16 / 9; object-fit: contain; }
.medium audio { display: block; width: 100%; background: #111; }
.lieder { position: relative; list-style: none; margin: 0 0 12px; padding: 0; max-height: 312px; overflow-y: auto; border: 1px solid var(--linie); border-radius: 6px; }
.lieder li { display: flex; align-items: center; border-bottom: 1px solid var(--linie); }
.lieder li:last-child { border-bottom: 0; }
.lied { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 6px 8px;
  font: inherit; font-size: 15px; text-align: left; color: var(--text); cursor: pointer; }
.lied:hover, .lied[aria-current="true"] { background: var(--grund); }
.lied[aria-current="true"] { color: var(--lila); font-weight: 700; }
.lied img { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.lied-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lied small { color: var(--grau); font-weight: 300; font-variant-numeric: tabular-nums; }
.lied-laden { padding: 6px 12px; font-size: 13px; font-weight: 700; text-decoration: none; }
.lied-laden:hover { text-decoration: underline; }
/* Cartoon-Reihe (Frank 26.10.2026): Folgenliste unter dem Video, Standbild quer */
.folgen .lied img { width: 64px; height: 36px; background: #111; }
/* Bücher (Frank 26.10.2026): Karte mit Titelbild, „Jetzt lesen“, Hörbuch mit Kapiteln; Buchseite zweispaltig */
.b-buch { background: #2f5d50; }
.f-buch { background: var(--grund); }
.f-buch img { background: none; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.untertitel { margin: -8px 0 10px; font-size: 16px; color: var(--grau); line-height: 1.35; }
.buch-lesen { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.buch-lesen .knopf { font-size: 15px; padding: 9px 18px; }
.knopf.zweit { background: #fff; color: var(--lila); box-shadow: inset 0 0 0 1.5px var(--lila); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.knopf.zweit:hover { background: var(--lila); color: #fff; }
.knopf[hidden] { display: none; }
.hoerbuch summary small { font-weight: 300; color: var(--grau); margin-left: 4px; }
.hoerbuch audio { display: block; width: 100%; margin: 10px 0 8px; }
.hb-weiter { margin: 0 0 8px; }
.hb-kapitel { max-height: 260px; }
.hb-kapitel .lied { padding: 7px 10px; }
.hb-kapitel .lied-name { white-space: normal; }
.buch-inhalt ol { margin: 8px 0 4px; padding-left: 24px; font-size: 15px; line-height: 1.4; }
.buch-inhalt li { margin: 3px 0; }
.buch-inhalt a { color: var(--text); text-decoration: none; }
.buch-inhalt a:hover { color: var(--pink); text-decoration: underline; }
.einzeln.buch { max-width: 1040px; }
.einzeln.buch .karte { display: grid; grid-template-columns: minmax(200px, 340px) minmax(0, 1fr); align-items: start; }
.einzeln.buch .medium { padding: 24px; background: none; }
.einzeln.buch h1 { font-size: 28px; line-height: 1.2; margin-bottom: 12px; }
.einzeln.buch .inhalt { padding: 24px 24px 24px 8px; }
@media (max-width: 720px) {
  .einzeln.buch .karte { display: block; }
  .einzeln.buch .medium { padding: 20px 20% 8px; }
  .einzeln.buch .inhalt { padding: 14px 16px 18px; }
}

/* Leseseite (lesen.php): ruhige Textspalte, Leiste oben mit Inhalt, Schriftgröße, Farben und Fortschritt */
:root { --lese-gr: 19px; --lese-grund: #fff; --lese-text: #1d1d1d; --lese-seite: var(--grund); }
[data-lesemodus="sepia"] { --lese-grund: #f8f1e3; --lese-text: #3a2f22; --lese-seite: #ece2cf; }
[data-lesemodus="dunkel"] { --lese-grund: #1b1b1d; --lese-text: #d9d6d2; --lese-seite: #111; color-scheme: dark; }
[data-lesemodus] body { background: var(--lese-seite); }
[data-lesemodus="dunkel"] .kopf, [data-lesemodus="dunkel"] .fuss { background: #1b1b1d; color: #d9d6d2; border-color: #333; }
[data-lesemodus="dunkel"] .marke, [data-lesemodus="dunkel"] .fuss a { color: #d9d6d2; }
[data-lesemodus="dunkel"] .lesetext a { color: #ff7aa8; }
.lesen { max-width: 780px; margin: -8px auto 0; }
.lese-leiste { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 6px; padding: 8px 10px;
  background: var(--lese-grund); color: var(--lese-text); border-radius: 0 0 10px 10px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.lese-buch { flex: 1; min-width: 0; color: inherit; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lese-buch:hover { color: var(--pink); }
.lese-knopf { font: inherit; font-size: 15px; font-weight: 700; min-width: 40px; height: 36px; padding: 0 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--linie); background: transparent; color: inherit; }
.lese-knopf:hover, .lese-knopf[aria-expanded="true"] { border-color: var(--pink); color: var(--pink); }
.lese-fortschritt { position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; }
.lese-fortschritt span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lila), var(--pink), var(--orange)); border-radius: 3px; }
.lese-inhalt { position: fixed; z-index: 6; top: 60px; left: 16px; right: 16px; max-width: 748px; margin: 0 auto; max-height: calc(100vh - 80px); overflow-y: auto;
  background: var(--lese-grund); color: var(--lese-text); border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.25); padding: 12px 18px; font-size: 15px; }
.lese-inhalt[hidden] { display: none; }
.lese-inhalt ol { margin: 0; padding-left: 22px; line-height: 1.4; }
.lese-inhalt li { margin: 5px 0; }
.lese-inhalt a { color: inherit; text-decoration: none; }
.lese-inhalt a:hover { color: var(--pink); text-decoration: underline; }
.lese-inhalt .hier > a { color: var(--pink); font-weight: 700; }
.lese-inhalt li li { font-size: 14px; margin: 3px 0; }
.lese-stelle { margin: 14px 4px 8px; font-size: 13px; color: var(--grau); }
.lesetext { background: var(--lese-grund); color: var(--lese-text); border-radius: 10px; padding: 28px clamp(18px, 6vw, 60px) 36px;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Noto Serif", "DejaVu Serif", serif; font-size: var(--lese-gr); line-height: 1.68;
  hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.lesetext h1, .lesetext h2, .lesetext h3, .lesetext h4 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1.25; hyphens: manual; scroll-margin-top: 70px; }
.lesetext h1 { font-size: 1.55em; margin: .2em 0 .9em; }
.lesetext h2 { font-size: 1.22em; margin: 1.8em 0 .6em; }
.lesetext h3 { font-size: 1.06em; margin: 1.5em 0 .5em; }
.lesetext p { margin: 0 0 .9em; }
.lesetext section { scroll-margin-top: 70px; }
.lesetext figure { margin: 1.6em 0; text-align: center; }
.lesetext img { max-width: 100%; height: auto; border-radius: 4px; }
.lesetext figcaption { font-size: .8em; color: var(--grau); line-height: 1.4; margin-top: .5em; }
.lesetext blockquote { margin: 1em 0; padding: .2em 0 .2em 1em; border-left: 3px solid var(--lila); }
.lesetext table { display: block; overflow-x: auto; border-collapse: collapse; font-size: .82em; line-height: 1.4; margin: 1.2em 0; }
.lesetext th, .lesetext td { border: 1px solid var(--linie); padding: 4px 8px; vertical-align: top; text-align: left; }
.lesetext hr { border: 0; border-top: 1px solid var(--linie); margin: 2em 0; }
.lesetext .titelblatt, .lesetext .widmung { text-align: center; margin: 1.6em 0; }   /* Titelei der freien Buchausgaben (bauen.py) */
.lesetext .widmung { font-style: italic; }
.lesetext .gedicht { margin: 1.2em 0 1.2em clamp(0px, 4vw, 1.5em); hyphens: manual; -webkit-hyphens: manual; }   /* Verse: Strophen mit Zeilenumbruch */
.lesetext .gedicht p { margin: 0 0 1em; }
.lese-blaettern { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.lese-blaettern a { display: block; background: var(--lese-grund); color: var(--lese-text); text-decoration: none; padding: 12px 16px; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.lese-blaettern a span { display: block; font-weight: 700; color: var(--pink); }
.lese-blaettern a small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--grau); font-size: 13px; line-height: 1.3; }
.lese-blaettern .weiter-kap { grid-column: 2; text-align: right; }
.lese-blaettern a:hover { box-shadow: inset 0 0 0 1.5px var(--pink); }
.lese-ende { padding: 14px 16px 6px; background: var(--lese-grund); color: var(--lese-text); }
.lese-urheber { margin: 0 0 4px; font-size: 15px; }
.anmelden input#passwort { font-size: 18px; letter-spacing: .04em; }   /* langes Admin-Passwort statt PIN (26.10.2026) */
/* Galerien (Frank 26.10.2026): Diashow mit Pfeilen, Zähler, Play; Daumenleiste darunter */
.b-galerie { background: #3d6e9e; }
.dia { position: relative; background: #111; aspect-ratio: 1 / 1; user-select: none; }
.dia .dia-bild { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; background: #111; }
.dia-pfeil, .dia-play { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(0,0,0,.45); font-family: inherit; line-height: 1;
  display: grid; place-items: center; transition: background .15s; }
.dia-pfeil { top: 50%; transform: translateY(-50%); width: 44px; height: 64px; font-size: 40px; padding-bottom: 6px; }
.dia-zurueck { left: 0; border-radius: 0 8px 8px 0; }
.dia-weiter { right: 0; border-radius: 8px 0 0 8px; }
.dia-play { right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; font-size: 15px; }
.dia-pfeil:hover, .dia-play:hover, .dia-pfeil:focus-visible, .dia-play:focus-visible { background: var(--pink); }
.dia-zahl { position: absolute; left: 10px; bottom: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; padding: 3px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.dia-leiste { display: flex; gap: 4px; overflow-x: auto; padding: 6px; background: #1d1d1d; scrollbar-width: thin; }
.dia-daumen { flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 4px; background: none; cursor: pointer; opacity: .65; }
.dia-daumen img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 2px; }
.dia-daumen[aria-current="true"] { border-color: var(--pink); opacity: 1; }
.dia-daumen:hover { opacity: 1; }
.dia-titel { font-weight: 700; margin: 0 0 2px; }
.dia-text { margin: 0 0 8px; font-size: 15px; color: var(--grau); }
.dia-text[hidden] { display: none; }
.einzeln.galerie { max-width: 900px; }
.einzeln.galerie .dia { max-height: 80vh; }   /* quadratisch, auf großen Bildschirmen höchstens 80 % der Fensterhöhe */
.einzeln.galerie .dia-daumen img { width: 72px; height: 72px; }
/* Bilder groß (lesen.js, Frank 26.10.2026): Panorama „Siegburg 1895“ und alle anderen Abbildungen bildschirmfüllend */
.lesetext img:not(.zier) { cursor: zoom-in; }
.bild-lupe { display: inline-block; margin-top: .4em; font: 600 13px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--grau);
  background: none; border: 1px solid var(--linie); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.bild-lupe:hover, .bild-lupe:focus-visible { color: var(--pink); border-color: var(--pink); }
html.bild-offen { overflow: hidden; }
.bild-gross { position: fixed; inset: 0; z-index: 50; background: #0d0d0d; color: #ddd; display: flex; flex-direction: column; }
.bild-gross[hidden] { display: none; }
.bild-gross-flaeche { flex: 1; min-height: 0; overflow: auto; display: flex; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.bild-gross-flaeche img { margin: auto; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.bild-gross.voll .bild-gross-flaeche img { max-width: none; max-height: none; cursor: zoom-out; }
.bild-gross.panorama .bild-gross-flaeche img { max-width: none; max-height: none; width: auto; cursor: grab; }
.bild-gross.zieht .bild-gross-flaeche img { cursor: grabbing; }
.bild-gross-text { margin: 0; padding: 8px 56px 10px 16px; font: 14px/1.35 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.bild-gross-text:empty { display: none; }
.bild-gross.panorama .bild-gross-text::after { content: " · zum Verschieben wischen oder ziehen"; color: #888; }
.bild-gross-zu { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.6); color: #fff; font: 30px/1 sans-serif; padding-bottom: 3px; }
.bild-gross-zu:hover, .bild-gross-zu:focus-visible { background: var(--pink); }
