/* Punkt 109: Kirchen-Modus verständlich – Klartext als Doppelzeile, Klammer, Tooltip; Glossar; Einführung.
   Alles greift nur im Kirchen-Modus (body.modus-kirche); im Normal-Modus entstehen die Elemente gar nicht. */

/* ---------- Doppelzeile allgemein ---------- */
.kt-klar { display:block; color:inherit; font-size:.72em; font-weight:500; line-height:1.15; letter-spacing:.01em; opacity:.92; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-family:inherit; text-transform:none; }
.kt-kl { font-size:.82em; font-weight:500; opacity:.75; white-space:nowrap; letter-spacing:0; }

/* Schnellzugriff der Startseite (Begrüßungskarte): heller, gut lesbar */
.modus-kirche .sgr-k .kt-klar { color:rgba(255,255,255,.9); opacity:1; font-size:11.5px; font-weight:600; margin-top:2px; }

/* Desktop-Kopfleiste: Gruppenname mit Klartext darunter */
.modus-kirche .nav.glas-pille .g-name { display:inline-flex; flex-direction:column; align-items:flex-start; line-height:1.05; }
.modus-kirche .nav.glas-pille .g-klar { display:block; font-size:10.5px; font-weight:500; opacity:.72; letter-spacing:.01em; margin-top:1px; white-space:nowrap; }

/* Brotkrumen: Gruppe bekommt den Klartext wie der Eintrag */
.seiten-pfad span > .bk-klar { opacity:.7; font-weight:500; }

/* Seitenkopf (Kopfkarte): Klartext als zweite Zeile unter dem Kirchen-Titel */
.modus-kirche .sx-kopf h1 small.kt-kopf-klar { display:block; margin:3px 0 0; font-size:max(13px, .46em); font-weight:600; letter-spacing:.02em; opacity:.8; line-height:1.2; }

/* Startseite: Bereichskopf und Kachel */
.modus-kirche .bz-kopf > span:not(.bz-ic) { display:inline-flex; flex-direction:column; line-height:1.1; }
.modus-kirche .bz-kopf .kt-klar { font-size:12.5px; font-weight:600; opacity:.92; margin-top:2px; }
.ka-klar { display:block; height:16px; line-height:16px; margin-top:1px; font-size:12px; font-weight:650; letter-spacing:.02em; color:rgba(255,255,255,.86); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; pointer-events:auto; }
.ka-fuss:has(.ka-klar) p { -webkit-line-clamp:1; max-height:18px; }

/* Reiter: Klammer bleibt in der Zeile */
.modus-kirche .sx-reiter a span .kt-kl { margin-left:2px; }

/* Handy: Leiste unten – Kurzform, darunter klein der Klartext */
.modus-kirche nav.tabbar .t-name { display:flex; flex-direction:column; align-items:center; line-height:1.08; }
.modus-kirche nav.tabbar .t-klar { display:block; font-size:9.5px; font-weight:500; opacity:.72; letter-spacing:0; white-space:nowrap; max-width:72px; overflow:hidden; text-overflow:ellipsis; }

/* „Mehr“-Menü (Blatt) */
.modus-kirche .blatt h3 .kt-klar { display:inline; font-size:.72em; margin-left:6px; }
.modus-kirche .blatt-raster .blatt-klar { display:block; font-size:10.5px; margin-top:1px; opacity:.72; font-weight:500; }
.modus-kirche .blatt-kopf b .kt-klar { display:inline; margin-left:6px; font-size:.7em; }

/* Benachrichtigungen (Liste und Glocke) */
.bn-klar { display:block; font-style:normal; font-size:11.5px; font-weight:600; opacity:.72; margin:1px 0 2px; }

/* ---------- Tooltip beim langen Antippen (Handy) bzw. Fokus ---------- */
.kt-blase { position:fixed; z-index:9000; max-width:min(320px, calc(100vw - 24px)); padding:9px 12px; border-radius:12px; font-size:13px; line-height:1.35; font-weight:500;
  color:#fff; background:rgba(16,24,40,.94); box-shadow:0 10px 28px -8px rgba(0,0,0,.55); border:1px solid rgba(255,255,255,.14); pointer-events:none; }
.kt-blase b { font-weight:750; }

/* Erklär-Kachel (.kt-intro): seit Punkt 132 in assets/kopf-glas.css */

/* ---------- Glossar in der Heiligen Schrift ---------- */
.kd-glossar { margin-top:8px; }
.kd-filter { display:flex; flex-direction:column; gap:4px; margin-bottom:10px; font-size:13px; font-weight:600; }
.kd-filter input { max-width:420px; min-height:40px; font-size:16px; }
.kd-tabelle { width:100%; border-collapse:collapse; font-size:14px; }
.kd-tabelle th, .kd-tabelle td { text-align:left; vertical-align:top; padding:8px 10px; border-bottom:1px solid var(--line, rgba(0,0,0,.1)); }
.kd-tabelle thead th { font-size:12px; text-transform:uppercase; letter-spacing:.06em; opacity:.75; }
.kd-tabelle tbody th { font-weight:750; white-space:nowrap; }
.kd-tabelle td small { display:block; font-size:12px; opacity:.72; margin-top:2px; }
@media (max-width:600px) {
  .kd-tabelle thead { display:none; }
  .kd-tabelle tr { display:grid; grid-template-columns:1fr 1fr; padding:6px 0; border-bottom:1px solid var(--line, rgba(0,0,0,.1)); }
  .kd-tabelle th, .kd-tabelle td { border:0; padding:3px 6px; }
  .kd-tabelle td:last-child { grid-column:1 / -1; font-size:13px; opacity:.85; }
}
.hb-pop-kd { margin:10px 0 0 !important; font-size:13px; }
.hb-pop-kd a { font-weight:650; }

/* Klartext übernimmt immer die Schriftfarbe der Umgebung (globale small-Farbe wäre auf dunklem Glas zu schwach) */
.modus-kirche small.g-klar, .modus-kirche small.t-klar, .modus-kirche small.bk-klar, .modus-kirche small.kt-kl,
.modus-kirche small.blatt-klar, .modus-kirche small.kt-klar, .modus-kirche small.kt-kopf-klar { color:inherit; }
.modus-kirche nav.tabbar .t-klar { font-size:10px; opacity:.8; }
.modus-kirche .sx-reiter a span .kt-kl { opacity:.8; }

/* ---------- Punkt 213: Kirchen-Titel und Klartext deutlich abheben – überall gleich (kt_doppel(), kt_klammer_html(), Menü, Reiter, Kopf) ----------
   Titel: fett in der Schriftfarbe der Umgebung (weiß auf Glas); Kennzahl-Kacheln färben ihn in der Akzentfarbe (start/11-kennzahl-kachel.css).
   Klartext: klein, normal stark, neutral grau = Umgebungsfarbe mit Grau gemischt (auf Glas hellgrau, auf hellen Flächen dunkelgrau),
   Kontrast AA auch auf mittleren Bereichsfarben (78 % Umgebungsfarbe). Ohne color-mix(): Umgebungsfarbe mit leichter Deckkraft. */
.modus-kirche .kt-begriff:not(#kt-x) { font:inherit; font-weight:800; text-transform:inherit; letter-spacing:inherit; margin:0; padding:0; }   /* :not(#kt-x) = Vorrang vor örtlichen Regeln, damit es überall gleich aussieht */
.modus-kirche :is(small.kt-klar, small.kt-kl, .g-klar, .t-klar, .bk-klar, .blatt-klar, .kt-kopf-klar, .ka-klar, .bn-klar, .ue-einl-klar):not(#kt-x) {
  color:inherit !important; opacity:.8 !important; font-weight:500 !important; font-style:normal; text-transform:none !important; letter-spacing:.01em !important; text-shadow:none; }
@supports (color:color-mix(in srgb, red 50%, blue)) {
  .modus-kirche :is(small.kt-klar, small.kt-kl, .g-klar, .t-klar, .bk-klar, .blatt-klar, .kt-kopf-klar, .ka-klar, .bn-klar, .ue-einl-klar):not(#kt-x) {
    color:color-mix(in srgb, currentColor 78%, #8a94a3) !important; opacity:1 !important; }
}
