/* stammbaum.css – Modul Stammbaum. Farben und Schriften aus app.css bzw. dem Erscheinungsbild (--bg, --fg, --muted,
   --line, --card, --accent, --sans, --serif), dadurch hell und dunkel ohne eigene Werte. Nur auf /stammbaum geladen. */
.sb { font-family: var(--sans); color: var(--fg); }
.sb h1 { font-family: var(--serif); font-weight: 500; margin: 0 0 .4rem; }
.sb-einleitung { color: var(--muted); max-width: 46rem; margin: 0 0 .6rem; line-height: 1.55; }
.sb-legende { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: .85rem; color: var(--muted); margin: 0 0 1.2rem; }

.sb-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (min-width: 900px) {
  .sb-raster { grid-template-columns: minmax(0, 1fr) 20rem; }
  .sb-raster > .sb-karte { position: sticky; top: 4.5rem; max-height: max(24rem, calc(100vh - 6rem)); overflow: auto; }
}

/* Leiter: eine Zeile je Generation, durchgehende Linie in der Akzentfarbe */
.sb-leiter { list-style: none; margin: 0; padding: 0; }
.sb-zeile { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .5rem; position: relative; padding-bottom: .55rem; }
.sb-zeile::before { content: ""; position: absolute; left: calc(2.5rem + 1.25rem); bottom: 0; height: .55rem; border-left: 2px solid var(--accent); opacity: .6; }
.sb-leiter > .sb-zeile:last-child::before { display: none; }
.sb-nr { font-size: .78rem; color: var(--muted); text-align: right; padding-top: .62rem; font-variant-numeric: tabular-nums; }
.sb-feld { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .4rem .7rem .5rem; min-width: 0; }
.sb-zeile.sb-on .sb-feld { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.sb-nurlk .sb-feld { border-style: dashed; }
.sb-name { font: inherit; font-weight: 600; font-size: 1.02rem; color: var(--fg); background: none; border: 0; padding: .25rem 0; min-height: 44px;
  cursor: pointer; text-align: left; }
.sb-name:hover, .sb-name:focus-visible { color: var(--accent); }
.sb-stelle { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.sb-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .1rem; }
.sb-chip { display: inline-flex; align-items: center; min-height: 32px; font-size: .82rem; line-height: 1.2; padding: .2rem .55rem;
  border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--bg); text-decoration: none; }
a.sb-chip:hover, a.sb-chip:focus-visible { border-color: var(--accent); color: var(--fg); }
.sb-chip.sb-w { border-style: dashed; }
.sb-chip.sb-still { font-style: italic; }
.sb-marke { display: inline-flex; align-items: center; min-height: 32px; font-size: .78rem; padding: .1rem .5rem; border-radius: 8px;
  border: 1px dashed var(--accent); color: var(--accent); }

/* Teilung bei David: zwei Spalten ab 900 px, darunter untereinander */
.sb-teil { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: .4rem 0 0; }
@media (min-width: 900px) { .sb-teil { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.sb-teil h2, .sb-ende-t { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; margin: .8rem 0 .1rem; }
.sb-zahl { font-size: .82rem; color: var(--muted); margin: 0 0 .5rem; }

/* Familienkarte */
.sb-karte { background: var(--card); border: 1px solid var(--accent); border-radius: 12px; padding: .9rem 1rem 1rem; margin: 0; }
.sb-zeile > .sb-karte, .sb-register li > .sb-karte { grid-column: 2; margin-top: .4rem; }
@media (min-width: 900px) { .sb-raster > .sb-karte { margin: 0; } }
.sb-karte-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.sb-karte h2 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin: 0; }
.sb-zu { font: inherit; font-size: 1.3rem; line-height: 1; background: none; border: 0; color: var(--muted); cursor: pointer;
  min-width: 44px; min-height: 44px; margin: -.6rem -.6rem 0 0; }
.sb-zu:hover { color: var(--fg); }
.sb-k-gen { font-size: .85rem; color: var(--muted); margin: .1rem 0 0; }
.sb-k-abs { margin-top: .7rem; }
.sb-k-t { font-size: .75rem; color: var(--muted); text-transform: none; letter-spacing: .02em; margin-bottom: .1rem; }
.sb-k-namen { display: flex; flex-wrap: wrap; gap: .25rem .35rem; align-items: center; }
.sb-k-namen button { font: inherit; color: var(--accent); background: none; border: 0; padding: .3rem .1rem; min-height: 36px; cursor: pointer; text-decoration: underline;
  text-underline-offset: 2px; }
.sb-k-stelle { font-size: .82rem; color: var(--muted); }
.sb-k-stelle a { color: inherit; }
.sb-k-hinweis { font-size: .88rem; line-height: 1.5; margin-top: .7rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.sb-k-lesen { display: inline-block; margin-top: .8rem; color: var(--accent); }

/* Register */
.sb-register { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.sb-register summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.sb-register ul { list-style: none; padding: 0; margin: .4rem 0 0; columns: 2 18rem; column-gap: 2rem; }
.sb-register li { break-inside: avoid; padding: .25rem 0; font-size: .9rem; }
.sb-register li a { color: var(--fg); font-weight: 600; }
.sb-reg-info { color: var(--muted); font-size: .82rem; display: block; }
.sb-register li:target, .sb-zeile:target .sb-feld { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Hinweis im Leser */
.sb-leser-hinweis { margin: 1rem 0; font-family: var(--sans); font-size: .92rem; }
.sb-leser-hinweis a { display: inline-flex; align-items: center; gap: .45rem; color: var(--accent); min-height: 44px; }
.sb-leser-hinweis .navico { width: 1.2rem; height: 1.2rem; }
.sb-karte h2:focus { outline: none; }   /* Fokus nur für Bildschirmleser beim Öffnen, kein sichtbarer Rahmen */

/* Personen der Bibel: Register und Personenseite (gleiche Farben und Formen wie die Leiter) */
.sb-querlink { margin: 0 0 1rem; }
.sb-querlink a, .sb-pfad a { color: var(--accent); }
.sb-pfad { font-size: .85rem; color: var(--muted); margin: 0 0 .6rem; }
.sb-suche { margin: 0 0 1rem; max-width: 34rem; }
.sb-suche label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .25rem; }
.sb-suche-zeile { display: flex; gap: .5rem; }
.sb-suche input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; min-height: 44px; padding: .4rem .7rem; color: var(--fg);
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.sb-suche input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sb-suche .btn { min-height: 44px; }
.sb-abc { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 1.2rem; }
.sb-abc a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4rem; min-height: 40px; border: 1px solid var(--line);
  border-radius: 8px; color: var(--fg); text-decoration: none; font-size: .9rem; background: var(--card); }
.sb-abc a:hover, .sb-abc a:focus-visible { border-color: var(--accent); }
.sb-abc a[aria-current="page"] { border-color: var(--accent); color: var(--accent); font-weight: 600; box-shadow: 0 0 0 1px var(--accent); }
.sb-reg-t, .sb-block h2 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin: 1.4rem 0 .5rem; }
.sb-personen { list-style: none; padding: 0; margin: 0; columns: 2 20rem; column-gap: 2rem; }
.sb-personen li { break-inside: avoid; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.sb-personen li a { color: var(--fg); font-weight: 600; text-decoration: none; }
.sb-personen li a:hover, .sb-personen li a:focus-visible { color: var(--accent); text-decoration: underline; }
.sb-personen li a.sb-w { font-style: italic; }
.sb-leer, .sb-hinweis-klein { color: var(--muted); font-size: .88rem; }
.sb-quelle { color: var(--muted); font-size: .8rem; margin-top: 2rem; border-top: 1px solid var(--line); padding-top: .7rem; }

.sb-person h1.sb-h-w { font-style: italic; }
.sb-zusatz { color: var(--muted); font-size: .78rem; margin-left: .2rem; }
.sb-kette { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .1rem; line-height: 1.9; }
.sb-kette li { font-size: .92rem; }
.sb-kette li:not(:last-child)::after { content: "›"; color: var(--muted); margin: 0 .35rem; }
.sb-kette a { color: var(--fg); }
.sb-kette a.sb-w { font-style: italic; }
.sb-kette li[aria-current] { font-weight: 600; }
.sb-baum { list-style: none; margin: 0; padding-left: 1.1rem; border-left: 2px solid var(--line); }
.sb-block > .sb-baum { border-left-color: var(--accent); }
.sb-baum li { padding: .15rem 0; }
.sb-baum a { color: var(--fg); }
.sb-baum a.sb-w { font-style: italic; }
.sb-baum summary { cursor: pointer; min-height: 36px; display: list-item; padding: .2rem 0; }
.sb-stellen { list-style: none; padding: 0; margin: 0; }
.sb-stellen li { padding: .3rem 0; border-bottom: 1px solid var(--line); line-height: 1.8; font-size: .92rem; }
.sb-stellen a { color: var(--accent); white-space: nowrap; }
/* „Mehr dazu“: externe Quellen zur Person bzw. zum Ort */
.sb-mehr-liste { list-style: none; padding: 0; margin: 0; }
.sb-mehr-liste li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.sb-mehr-liste li:last-child { border-bottom: 0; }
.sb-mehr-liste a { color: var(--accent); font-weight: 600; }
.sb-buch { font-weight: 600; margin-right: .3rem; }
.sb-mehr summary { cursor: pointer; color: var(--accent); min-height: 44px; display: flex; align-items: center; }

/* Personen im Kapitel (Leser) */
.sb-leser-personen { margin: .6rem 0 1rem; font-family: var(--sans); font-size: .9rem; }
.sb-leser-personen summary { cursor: pointer; color: var(--accent); min-height: 44px; display: flex; align-items: center; }
.sb-leser-personen .sb-chips { margin-top: .3rem; }
.sb-k-person { display: block; }

/* Orte und Gruppen */
.sb-chip.sb-ort { border-style: solid; border-color: var(--line); }
.sb-karte-ort { margin: .2rem 0 0; }
.sb-karte-flaeche { height: 420px; border: 1px solid var(--line); border-radius: 10px; margin-top: .4rem; z-index: 0; }
@media (max-width: 600px) { .sb-karte-flaeche { height: 320px; } }
.sb-karte-knopf { min-height: 44px; }
.sb-karte-zusatz { color: #555; font-size: .8rem; margin-top: .15rem; } /* feste-farbe-ok: Leaflet-Popup ist immer weiss */
.sb-gliste { margin: 0; padding-left: 0; list-style: none; columns: 2 20rem; column-gap: 2rem; }
.sb-gliste li { break-inside: avoid; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.sb-gliste.sb-nummern { list-style: decimal; padding-left: 2rem; columns: 1; }
.sb-gliste.sb-nummern li::marker { color: var(--muted); font-size: .85rem; }
.sb-gliste a { color: var(--fg); font-weight: 600; text-decoration: none; }
.sb-gliste a:hover, .sb-gliste a:focus-visible { color: var(--accent); text-decoration: underline; }
.sb-gliste a.sb-w { font-style: italic; }
.sb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sb-gruppen-links { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; }
.sb-folge { font-size: .9rem; margin: .3rem 0 0; }
.sb-folge a { color: var(--accent); }

/* Startseite: Baustein „Menschen und Orte der Bibel“ (volle Breite, wie „Über diese Anwendung“) */
.sb-welt { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center; padding: 1.3rem 1.4rem; font-family: var(--sans); }
.sb-welt-text { flex: 1 1 22rem; min-width: 0; }
.sb-welt h2 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: 0 0 .3rem; }
.sb-welt-einl { color: var(--muted); margin: 0 0 1rem; line-height: 1.55; }
.sb-welt .sb-suche-zeile { margin: 0 0 1rem; }
.sb-welt input[type=search] { flex: 1; min-width: 0; font: inherit; font-size: 1rem; min-height: 44px; padding: .4rem .8rem; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.sb-welt input[type=search]:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sb-welt .btn { min-height: 44px; }
.sb-welt-zahlen { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin: 0 0 1rem; }
.sb-welt-zahlen a { color: var(--muted); text-decoration: none; font-size: .85rem; min-height: 44px; display: flex; flex-direction: column; justify-content: center; }
.sb-welt-zahlen a span { display: block; font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; color: var(--fg); font-variant-numeric: tabular-nums; }
.sb-welt-zahlen a:hover span, .sb-welt-zahlen a:focus-visible span { color: var(--accent); }
.sb-welt-karte { flex: 0 1 15rem; display: flex; flex-direction: column; align-items: center; gap: .3rem; margin: 0 auto; font-size: .85rem; }
.sb-welt-karte a { color: var(--accent); min-height: 32px; display: inline-flex; align-items: center; }
.sb-punktkarte { display: block; width: 100%; max-width: 14rem; height: auto; }
.sb-punkte circle { fill: var(--accent); fill-opacity: .35; }
.sb-punktkarte .sb-punkt-gross { fill: var(--accent); }
.sb-punktkarte text { font-family: var(--sans); font-size: 16px; font-weight: 600; fill: var(--fg); stroke: var(--card); stroke-width: 4px; paint-order: stroke; }
@media (max-width: 600px) { .sb-welt-karte { flex-basis: 100%; } .sb-punktkarte { max-width: 11rem; } }

/* Zeitleiste (/zeitleiste): oben eine Leiste zum Springen, darunter die Abschnitte an einer senkrechten Linie */
.sb-zl-leiste { overflow-x: auto; margin: .4rem 0 1.4rem; -webkit-overflow-scrolling: touch; }
.sb-zl-leiste ol { list-style: none; display: flex; margin: 0; padding: 0 0 .3rem; }
.sb-zl-leiste li { position: relative; flex: 1 1 0; min-width: 5.4rem; }
.sb-zl-leiste li::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line); }
.sb-zl-leiste li:first-child::before { left: 50%; }
.sb-zl-leiste li:last-child::before { right: 50%; }
.sb-zl-leiste a { position: relative; display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center;
  color: var(--fg); text-decoration: none; font-size: .78rem; line-height: 1.25; padding: 0 .25rem; min-height: 44px; }
.sb-zl-leiste a:hover .sb-zl-name, .sb-zl-leiste a:focus-visible .sb-zl-name { color: var(--accent); text-decoration: underline; }
.sb-zl-punkt { width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.sb-zl { list-style: none; margin: 0; padding: 0 0 0 1.1rem; border-left: 2px solid var(--line); }
.sb-zl-abschnitt { position: relative; padding: 0 0 1.2rem .9rem; scroll-margin-top: 4.5rem; }
.sb-zl-abschnitt h2 { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; margin: 0 0 .3rem; }
.sb-zl-nr { position: absolute; left: -2.15rem; top: .05rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-size: .85rem; font-weight: 600; background: var(--accent); color: var(--on-accent); }
.sb-zl-text { color: var(--muted); margin: 0 0 .5rem; line-height: 1.5; max-width: 46rem; }
.sb-zl-abschnitt h3 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: .8rem 0 .3rem; }
.sb-zl-reihen { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 1.2rem; }
.sb-zl-folge { list-style: none; counter-reset: k; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.sb-zl-folge li { counter-increment: k; display: inline-flex; align-items: center; gap: .15rem; }
.sb-zl-folge li::before { content: counter(k) "."; color: var(--muted); font-size: .72rem; min-width: 1.1rem; text-align: right; }

/* Karte der Orte eines Kapitels (Leser): nummerierte Punkte in der Reihenfolge der ersten Erwähnung */
.sb-leser-personen .sb-karte-ort { margin-top: .6rem; }
.sb-karte-nr { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font: 600 11px/1 system-ui, sans-serif; border: 2px solid var(--bg); box-shadow: 0 1px 3px rgba(0,0,0,.35); /* feste-farbe-ok: Schatten auf der Karte */ }

/* Bibelquiz (/quiz) */
.sb-qz { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 44rem; }
.sb-qz-frage { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 1rem 1.1rem; }
.sb-qz-nr { margin: 0 0 .2rem; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.sb-qz-text { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.35; margin: 0 0 .7rem; }
.sb-qz-optionen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: .45rem; }
@media (min-width: 560px) { .sb-qz-optionen { grid-template-columns: 1fr 1fr; } }
.sb-qz-opt { width: 100%; min-height: 44px; display: flex; align-items: center; gap: .5rem; text-align: left; font: inherit; font-size: .95rem;
  color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: .45rem .75rem; cursor: pointer; }
.sb-qz-opt:hover:not([disabled]):not([aria-disabled]) { border-color: var(--accent); }
.sb-qz-opt:focus-visible { outline: 2px solid var(--ring, var(--accent)); outline-offset: 2px; }
.sb-qz-opt[disabled] { cursor: default; }
.sb-qz-opt[aria-disabled] { cursor: default; }
.sb-qz-zeichen { display: inline-block; min-width: 1rem; font-weight: 700; }
.sb-qz-ok { border: 2px solid var(--accent); background: var(--accent-soft, var(--bg)); font-weight: 600; }
.sb-qz-ok .sb-qz-zeichen { color: var(--accent); }
.sb-qz-nein { border: 2px solid var(--err); }
.sb-qz-nein .sb-qz-zeichen { color: var(--err); }
.sb-qz-antwort { margin: .7rem 0 0; line-height: 1.5; }
.sb-qz-antwort a { color: var(--accent); }
.sb-qz-loesung { margin-top: .6rem; }
.sb-qz-loesung summary { cursor: pointer; color: var(--accent); min-height: 44px; display: flex; align-items: center; }
.sb-qz-stand { position: sticky; top: 0; z-index: 2; margin: 0 0 .8rem; padding: .5rem .8rem; max-width: 44rem; font-weight: 600;
  background: var(--bg); border-bottom: 1px solid var(--line); }
.sb-qz-ende { margin: 1.2rem 0 0; padding: 1rem 1.1rem; max-width: 44rem; border-radius: 12px; background: var(--accent); color: var(--on-accent); }
.sb-qz-ergebnis { margin: 0; font-family: var(--serif); font-size: 1.2rem; }
.sb-qz-neu { margin: 1.2rem 0 .6rem; }

/* Beziehungsnetz auf der Personenseite: Reihen Grosseltern, Eltern, Mitte (Geschwister, Person, Partner), Kinder,
   verbunden durch senkrechte Linien. Auf dem Handy steht die Mitte untereinander. */
.sb-netz { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; padding: .4rem 0 .2rem; }
.sb-netz-reihe { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.sb-netz > .sb-netz-reihe:not(:first-child)::before, .sb-netz-mitte.sb-netz-oben::before {
  content: ""; position: absolute; top: -1.3rem; left: 50%; width: 2px; height: 1.3rem; background: var(--line); }
.sb-netz-mitte { position: relative; display: flex; align-items: center; justify-content: center; gap: .9rem; flex-wrap: wrap; width: 100%; }
.sb-netz-k, .sb-netz-ich { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px;
  min-width: 6.5rem; max-width: 12rem; padding: .35rem .7rem; text-align: center; line-height: 1.25;
  border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--fg); text-decoration: none; }
.sb-netz-k:hover, .sb-netz-k:focus-visible { border-color: var(--accent); }
.sb-netz-k:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sb-netz-k .sb-netz-n { color: var(--accent); font-weight: 600; font-size: .92rem; }
.sb-netz-k.sb-w .sb-netz-n, .sb-netz-ich.sb-w .sb-netz-n { font-style: italic; }
.sb-netz-r { color: var(--muted); font-size: .74rem; margin-top: .1rem; }
.sb-netz-ich { border: 2px solid var(--accent); background: var(--accent-soft, var(--card)); padding: .55rem 1rem; max-width: 16rem; }
.sb-netz-ich .sb-netz-n { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.sb-netz-gross .sb-netz-k { min-width: 5.5rem; opacity: .9; }
.sb-netz-geschw, .sb-netz-partner { flex: 1 1 0; }
.sb-netz-geschw { justify-content: flex-end; }
.sb-netz-partner { justify-content: flex-start; }
.sb-netz-partner .sb-netz-k { border-style: dashed; }
@media (max-width: 640px) {
  .sb-netz-mitte { flex-direction: column; }
  .sb-netz-geschw, .sb-netz-partner { flex: none; justify-content: center; }
  .sb-netz-ich { order: -1; }
  .sb-netz-leer { display: none; }
}

/* Reisewege (/reisewege) */
.sb-rw-liste { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .7rem; }
.sb-rw-karte { display: flex; flex-direction: column; gap: .25rem; height: 100%; padding: .8rem 1rem; border: 1px solid var(--line);
  border-radius: 12px; background: var(--card); color: var(--fg); text-decoration: none; }
.sb-rw-karte:hover, .sb-rw-karte:focus-visible { border-color: var(--accent); }
.sb-rw-titel { font-family: var(--serif); font-size: 1.1rem; color: var(--accent); }
.sb-rw-stelle { font-size: .8rem; color: var(--muted); }
.sb-rw-kette { font-size: .86rem; line-height: 1.45; }
.sb-rw-stationen { margin: 0; padding-left: 1.8rem; }
.sb-rw-stationen li { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.sb-rw-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem .8rem; }
.sb-rw-stationen li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.sb-rw-ort { font-weight: 600; }
a.sb-rw-ort, .sb-rw-vers { color: var(--accent); }
.sb-rw-vers { font-size: .88rem; white-space: nowrap; }
.sb-rw-blaettern { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.4rem 0 0; }
.sb-rw-blaettern a { color: var(--accent); min-height: 44px; display: inline-flex; align-items: center; }

/* Personen und Orte im Koran (KoranNamen) */
.kn-ar { font-family: "Amiri", var(--serif); font-size: 1.05em; color: var(--muted); }
.kn-ar-gross { font-family: "Amiri", var(--serif); font-size: 1.9rem; line-height: 1.4; margin: 0 0 .3rem; color: var(--muted); text-align: left; }
.kn-familie a.kn-im-koran { font-weight: 600; }

.sb-quelle a { color: var(--accent); }
