/* Punkt 132: Kopfleiste Glas – Logo frei ohne Kasten (zweifarbiger Schriftzug, Unterzeile, Mitra-Glanz, schrumpft beim Scrollen),
   Glas-Knöpfe (Buch-Knopf „Heilige Vokabeln“ / „Der HackPapst-Modus“, „Eintreten“/„Anmelden“ getönt), Pillen Sonne/Modus gleich hoch,
   Erklär-Kachel (.kt-intro) im Stil der Startseiten-Kacheln. Nur transform/opacity animiert, feste Kopfhöhe (Regel 26). */
:root { --kopf-h:40px; --kopf-r:16px; --kopf-gast-h:76px;
  --kl-grund:#6c6f3a; --kl-papst:#c5c97a; --kl-tint:108,111,58; }
body[data-modus="kirche"] { --kl-grund:#8c3350; --kl-papst:#f0a3bb; --kl-tint:140,51,80; }
html[data-saison="sommer"] body { --kl-grund:#8e9340; --kl-papst:#d8dc86; }
html[data-saison="sommer"] body[data-modus="kirche"] { --kl-grund:#b0476d; --kl-papst:#f6b4c8; }
@media (pointer:coarse) { :root { --kopf-h:44px; } }

/* ---------- Logo ---------- */
.kopf-logo { --lw-split:47.6%; display:inline-flex !important; align-items:center; gap:11px; padding:0 !important; margin:0; border:0 !important; border-radius:0 !important;
  background:none !important; box-shadow:none !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; color:#fff; text-decoration:none;
  transform-origin:left center; transition:transform .35s cubic-bezier(.3,.7,.3,1); pointer-events:auto; }
.kopf-logo .kl-sym { position:relative; flex:none; display:block; width:46px; height:46px; }
.kopf-logo svg.kl-ikon { width:100% !important; height:100% !important; display:block; border-radius:12px; --logo-grund:var(--kl-grund);
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.kopf-logo .kl-glanz { position:absolute; inset:-6px; border-radius:16px; pointer-events:none; opacity:0;
  background:radial-gradient(circle at 50% 46%, rgba(255,255,255,.75), rgba(255,240,200,.25) 38%, transparent 68%); mix-blend-mode:screen; }
.kl-heim:hover .kl-glanz, .kl-heim:focus-visible .kl-glanz { animation:kl-glanz .9s ease-out 1; }   /* Punkt 220: nur Signet/Schriftzug, nicht die Saison-Auswahl */
@keyframes kl-glanz { 0% { opacity:0; transform:scale(.7); } 35% { opacity:1; transform:scale(1.05); } 100% { opacity:0; transform:scale(1.15); } }
.kopf-logo .kl-text { display:flex !important; flex-direction:column; gap:3px; min-width:0; filter:drop-shadow(0 1px 3px rgba(0,0,0,.55)) drop-shadow(0 0 10px rgba(0,0,0,.25));
  transition:opacity .3s ease; }
.kopf-logo .kl-wort { display:block !important; width:112px !important; height:24px !important; margin:0 !important; font-size:0;
  background:linear-gradient(90deg, #fff 0 var(--lw-split), var(--kl-papst) var(--lw-split) 100%) !important; }
.kopf-logo .kl-unter { display:block !important; margin:0 !important; font-family:var(--titel, inherit); font-size:12.5px !important; font-weight:650 !important; font-style:normal !important;
  letter-spacing:.01em; text-transform:none !important; line-height:1.15; color:rgba(255,255,255,.92) !important; white-space:nowrap; opacity:1; transition:opacity .3s ease; text-shadow:0 1px 4px rgba(0,0,0,.5); }
.kl-heim:focus-visible { outline:3px solid #fff; outline-offset:4px; border-radius:12px !important; }
/* Punkt 220: Logo schrumpft beim Scrollen nicht mehr – Logo, Schriftzug und Saisonzeile bleiben unverändert */
@media (forced-colors:active) { .kopf-logo .kl-wort { background:CanvasText !important; } }

/* Gäste-Kopf (Login, Registrierung, Startseite): fest oben, feste Höhe, Glas-Schleier erst beim Scrollen */
.login-kopf { position:fixed !important; top:0 !important; left:0; right:0; height:var(--kopf-gast-h); padding:0 20px !important; display:flex; align-items:center; z-index:60; }
.login-kopf::before { content:""; position:absolute; inset:0 0 -18px; pointer-events:none; opacity:0; transition:opacity .35s ease;
  background:linear-gradient(180deg, rgba(8,16,30,.72), rgba(8,16,30,.42) 62%, transparent); }
.login-kopf .lk-innen { position:relative; width:100%; height:100%; }
.login-kopf .login-ecke { gap:8px !important; }

/* ---------- Glas-Knöpfe ---------- */
.kopf-glas, .login-ecke .lk-anmelden.kopf-glas { all:unset; box-sizing:border-box; cursor:pointer; flex:none; display:inline-flex; align-items:center; justify-content:center; gap:7px;
  height:var(--kopf-h); min-width:var(--kopf-h); padding:0 15px; border-radius:var(--kopf-r); font:inherit; font-size:14px; font-weight:750; line-height:1; white-space:nowrap;
  color:#fff; text-decoration:none; text-shadow:0 1px 2px rgba(0,0,0,.35);
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05)); border:1px solid rgba(255,255,255,.34);   /* Punkt 219: vorher .2/.08 */
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3), 0 8px 20px -10px rgba(0,0,0,.55); -webkit-backdrop-filter:blur(12px) saturate(1.3); backdrop-filter:blur(12px) saturate(1.3);
  transition:transform .2s ease, opacity .2s ease; }
.kopf-glas.getoent, .login-ecke .lk-anmelden.kopf-glas { background:linear-gradient(180deg, rgba(var(--kl-tint),.78), rgba(var(--kl-tint),.56)); border-color:rgba(255,255,255,.38);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32), 0 8px 22px -10px rgba(var(--kl-tint),.9); }
.kopf-glas:hover { transform:translateY(-1px); }
.kopf-glas:active { transform:translateY(0) scale(.98); }
.kopf-glas:focus-visible { outline:3px solid #fff; outline-offset:2px; }
.kopf-glas .hp-ic { width:18px; height:18px; flex:none; --ic-hell:#fff; --ic-dunkel:rgba(255,255,255,.7); }
html.lg-ok .login-ecke .lk-anmelden.kopf-glas { display:none; }
@media (prefers-reduced-transparency:reduce) { .kopf-glas { background:rgba(16,26,44,.9); } }

/* Sonne- und Modus-Schalter bleiben Pillen – gleiche Höhe wie die Glas-Knöpfe */
html .login-ecke > .saison-knopf, .nav .gruppen ~ .saison-knopf { box-sizing:border-box; height:var(--kopf-h) !important; min-width:var(--kopf-h); padding:0 12px; display:inline-flex; align-items:center; justify-content:center; }
html .login-ecke > .modus-schalter, .nav .gruppen ~ .modus-schalter { box-sizing:border-box; height:var(--kopf-h); width:74px; padding:0 10px; }
html .login-ecke > .modus-schalter .ms-knopf, .nav .gruppen ~ .modus-schalter .ms-knopf { top:4px; left:4px; width:calc(var(--kopf-h) - 10px); height:calc(var(--kopf-h) - 10px); }
html .login-ecke > .modus-schalter.ist-kirche .ms-knopf, .nav .gruppen ~ .modus-schalter.ist-kirche .ms-knopf { transform:translateX(calc(74px - var(--kopf-h) + 0px)); }

/* Mitglieder-Navigation: Buch-Knopf nur als Symbol, Logo ohne Unterzeile-Sprung */
.nav .kopf-vokabeln.nav-vokabeln { height:36px; min-width:36px; width:36px; padding:0; border-radius:12px; margin-inline:2px; }
.nav .kopf-vokabeln.nav-vokabeln .kv-text { display:none; }
.nav.glas-pille .kopf-logo .kl-sym { width:38px; height:38px; }
.nav.glas-pille .kopf-logo svg.kl-ikon { border-radius:10px; }
.nav.glas-pille .kopf-logo .kl-wort { width:92px !important; height:20px !important; }
.nav.glas-pille .kopf-logo .kl-unter { font-size:11.5px !important; }
.nav .gruppen ~ .kopf-glas { margin-left:6px; }

/* Handy */
@media (max-width:860px) {
  :root { --kopf-gast-h:64px; }
  .login-kopf { padding:0 12px !important; }
  .login-kopf .kopf-logo .kl-unter { display:none !important; }
  .login-kopf .kopf-logo .kl-sym { width:38px; height:38px; }
  .login-kopf .kopf-logo .kl-wort { width:84px !important; height:18px !important; }
  .login-kopf .login-ecke, .nav .gruppen ~ * { gap:6px !important; }
  .kopf-vokabeln { padding:0 !important; width:var(--kopf-h); }
  .kopf-vokabeln .kv-text { display:none; }
  .kopf-glas { padding:0 13px; }
}
@media (max-width:440px) {
  .login-kopf .kopf-logo .kl-text { display:none !important; }
  html .login-ecke > .modus-schalter { width:66px; padding:0 8px; }
  html .login-ecke > .modus-schalter.ist-kirche .ms-knopf { transform:translateX(calc(66px - var(--kopf-h))); }
  html .login-ecke > .saison-knopf { padding:0 8px; }
}
@media (prefers-reduced-motion:reduce) {
  .kopf-logo, .kopf-logo .kl-text, .kopf-logo .kl-unter, .login-kopf::before, .kopf-glas { transition:none !important; }
  .kl-heim:hover .kl-glanz, .kl-heim:focus-visible .kl-glanz { animation:none; }
}

/* ---------- Erklär-Kachel (Punkt 132) – mittig, fest, scrollt nie (Regel 22) ---------- */
.kt-intro { position:fixed; inset:0; z-index:8000; display:grid; place-items:center; padding:12px; background:rgba(6,12,24,.6); -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px); }
.kt-intro[hidden] { display:none; }
.kt-intro-box { position:relative; width:min(720px, 100%); max-height:calc(100dvh - 24px); overflow:hidden; box-sizing:border-box; padding:22px 22px 18px; border-radius:24px; color:#fff;
  background:linear-gradient(160deg, rgba(36,46,68,.96), rgba(14,20,34,.97)); border:1px solid rgba(255,255,255,.18); box-shadow:0 30px 70px -20px rgba(0,0,0,.7); }
body[data-modus="kirche"] .kt-intro-box { background:linear-gradient(160deg, rgba(110,34,60,.97), rgba(40,14,28,.98)); }
.kti-ecke { position:absolute; top:0; right:0; padding:7px 16px 8px 18px; border-radius:0 24px 0 16px; font-size:12px; font-weight:800; letter-spacing:.04em; color:#1a1408;
  background:linear-gradient(135deg, #f4d58a, #c9a13b); box-shadow:0 4px 12px -4px rgba(0,0,0,.4); }
.kti-zu { all:unset; box-sizing:border-box; position:absolute; top:40px; right:12px; width:44px; height:44px; display:grid; place-items:center; border-radius:14px; cursor:pointer; font-size:17px; color:#fff; opacity:.85; }
.kti-zu:hover { opacity:1; background:rgba(255,255,255,.1); } .kti-zu:focus-visible { outline:3px solid #fff; outline-offset:-3px; }
.kt-intro-ober { margin:0 0 4px; font-size:12px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:rgba(255,255,255,.85); }
.kt-intro-box h2 { margin:0 52px 8px 0; font-size:23px; line-height:1.2; color:#fff; }
.kt-intro-box p { margin:0 0 12px; font-size:15px; line-height:1.45; color:rgba(255,255,255,.94); }
.kti-raster { list-style:none; margin:0 0 12px; padding:0; display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; }
.kti-k { display:flex; align-items:flex-start; gap:10px; padding:10px 12px; border-radius:16px; min-width:0;
  background:linear-gradient(150deg, var(--g1, #445), var(--g2, #223)); border:1px solid rgba(255,255,255,.16); box-shadow:inset 0 1px 0 rgba(255,255,255,.18); }
.kti-k:last-child:nth-child(odd) { grid-column:1 / -1; }
.kti-sym { flex:none; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.18); box-shadow:inset 0 0 0 1px rgba(255,255,255,.3); }
.kti-sym .hp-ic { width:21px; height:21px; --ic-hell:#fff; --ic-dunkel:rgba(255,255,255,.65); color:#fff; }
.kti-txt { min-width:0; display:flex; flex-direction:column; gap:1px; }
.kti-txt b { font-size:15px; line-height:1.2; color:#fff; }
.kti-txt small { font-size:12.5px; font-weight:650; line-height:1.2; color:rgba(255,255,255,.85); }
.kti-satz { margin-top:3px; font-size:13px; line-height:1.3; color:rgba(255,255,255,.93); }
.kt-intro-tipp { font-size:13.5px !important; color:rgba(255,255,255,.85) !important; }
.kt-intro-knoepfe { display:flex; flex-wrap:wrap; gap:8px; }
.kt-intro-knoepfe .kopf-glas { --kopf-h:44px; }
@media (max-width:600px) {
  .kt-intro-box { padding:18px 14px 14px; border-radius:20px; }
  .kti-ecke { border-radius:0 20px 0 14px; }
  .kt-intro-box h2 { font-size:20px; }
  .kt-intro-box p { font-size:14px; margin-bottom:10px; }
  .kti-raster { gap:6px; }
  .kti-k { padding:8px 9px; gap:8px; border-radius:14px; }
  .kti-sym { width:30px; height:30px; } .kti-sym .hp-ic { width:18px; height:18px; }
  .kti-txt b { font-size:13.5px; } .kti-txt small { font-size:11.5px; }
  .kti-satz { font-size:12px; }
  .kt-intro-knoepfe .kopf-glas { flex:1 1 auto; padding:0 12px; }
}
/* Niedrige Handys: Sätze nur noch als Tooltip (title), damit nichts scrollt */
@media (max-width:600px) and (max-height:800px) { .kti-satz { display:none; } }
@media (max-height:620px) { .kti-satz, .kt-intro-tipp { display:none; } }

/* Mitglieder-Navigation: ältere Regeln (neu.css „.nav .marke span“, bergwelt.css „.marke-text“) nicht auf das Signet anwenden */
.nav .kopf-logo .kl-sym { display:block !important; }
@media (min-width:861px) and (max-width:1279px) { .nav.glas-pille .kopf-logo .kl-unter { display:none !important; } }
@media (max-width:860px) { .nav.glas-pille .kopf-logo .kl-text { display:none !important; } .nav .kopf-vokabeln.nav-vokabeln { width:40px; height:40px; } }

/* Punkt 132 (Nachtrag): Saison-Pille im Gäste-Kopf – das Emoji wird zum Duoton-Symbol und erbte die dunkle Textfarbe (nur ein dunkler Punkt).
   Jetzt hell und gut sichtbar in beiden Saisons und Modi; Höhe wie die Glas-Knöpfe. */
html .login-ecke > .saison-knopf, .nav .gruppen ~ .saison-knopf { color:#fff; font-size:20px; line-height:1;
  background:linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.1)); border:1px solid rgba(255,255,255,.34); }
.saison-knopf .hp-ic, .saison-knopf svg { display:block; width:22px; height:22px; color:#fff; filter:drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.saison-knopf .s-winter .hp-ic { --ic-hell:#ffffff; --ic-dunkel:#9fd3f5; --ic-glanz:#fff; }
.saison-knopf .s-sommer .hp-ic { --ic-hell:#fff3c4; --ic-dunkel:#ffc24a; --ic-glanz:#fff; }
.saison-knopf .s-winter, .saison-knopf .s-sommer { line-height:0; }

/* ---------- Punkt 139: Kopfleiste global größer, nur Desktop ab 1024 px ----------
   `zoom` (--nz) skaliert Höhe, Schrift, Symbole, Klickflächen und das aufklappende Mega-Menü gemeinsam; Tablet/Handy bleiben unverändert.
   Voller Faktor 1,2 ab 1440 px; in engeren Fenstern weniger, damit die Bereichsnamen nie umbrechen und nichts überläuft.
   Prozentwerte skaliert zoom nicht, px-Werte schon → Breite/Abstände der Pille werden durch --nz geteilt, damit die
   Außenkanten weiter mit dem Inhalt fluchten (Punkt 52). Feste Höhen, kein Springen (Regel 26). */
@media (min-width:1024px) {
  :root { --nz:1; --kopf-gast-h:76px; }
  .nav.glas-pille { zoom:var(--nz); top:calc(10px / var(--nz)); width:min(calc(100% - 40px / var(--nz)), calc((var(--breite) - 40px) / var(--nz))); }
  /* Mega-Menü wächst nur halb so stark wie die Leiste (volle +20 % ließen die breiten Menüs rechts aus dem Fenster ragen) */
  .nav.glas-pille .mega { zoom:calc((1 + (var(--nz) - 1) / 2) / var(--nz)); }
  .nav.glas-pille .nav-innen { gap:2px; }
  .nav.glas-pille .g-knopf { padding:8px 7px; }
  .login-kopf .lk-innen { zoom:var(--nz); max-width:calc(1040px / var(--nz)); }
  .mit-vorschau .login-kopf .lk-innen { max-width:calc(1180px / var(--nz)); }
}
/* Faktor je Fensterbreite (gemessen: Leiste passt bei jedem Faktor ohne Überlauf; ab 1280 kommen die Bereichsnamen dazu) */
@media (min-width:1100px) { :root { --nz:1.1; --kopf-gast-h:84px; } }
@media (min-width:1280px) { :root { --nz:1.05; --kopf-gast-h:80px; } }
@media (min-width:1366px) { :root { --nz:1.1; --kopf-gast-h:84px; } }
@media (min-width:1440px) { :root { --nz:1.2; --kopf-gast-h:92px; } }
/* Unter 1366 px: Mega-Menü in Originalgröße (die breiten Menüs ragen dort schon ohne Vergrößerung bis an den Fensterrand) */
@media (min-width:1024px) and (max-width:1365px) { .nav.glas-pille .mega { zoom:calc(1 / var(--nz)); } }

/* ---------- Punkt 141: Kopfleiste überall gleich hoch + gleicher Abstand zum Inhalt ----------
   Eine Quelle für das Kopfmaß: --kopf-oben (Abstand zum Fensterrand), --kopf-hoehe (feste Höhe), --kopf-unten (Unterkante),
   --kopf-abst (Abstand Unterkante → erster Inhalt; Punkt 222: 16 px Desktop, 12 px Handy – eine Variable für Menü ↔ Leisten ↔ Begrüßung ↔ Brotkrumen).
   Maß ist die Glasleiste der Mitglieder (Punkt 139: 72 px × Zoomfaktor --nz); Gäste-Kopf, Kurie, Formularseiten und Kirchen-Modus
   werden gleich hoch (ab 768 px; Handy darunter wie bisher). Die Brotkrumen-Zeile misst nichts mehr per Skript. Kein Springen (Regel 26). */
:root { --kopf-oben:0px; --kopf-hoehe:60px; --kopf-unten:calc(var(--kopf-oben) + var(--kopf-hoehe)); --kopf-abst:16px;
  --kopf-inhalt:calc(var(--kopf-unten) + var(--kopf-abst)); --kz-nav:var(--kopf-unten); }
@media (max-width:720px) { :root { --kopf-abst:12px; } }
@media (max-width:767px) { body.zentriert, body:has(> .nav.glas-pille:not(.mit-menue)) { --kopf-hoehe:var(--kopf-gast-h); --kopf-unten:calc(var(--kopf-oben) + var(--kopf-hoehe)); --kopf-inhalt:calc(var(--kopf-unten) + var(--kopf-abst)); } }
@media (min-width:768px) and (max-width:860px) { :root { --kopf-gast-h:60px; } }
/* Gäste-Pille ohne Menü (Rechtsseiten u. a.) bis 860 px: feste Höhe wie der Kopf (Touch-Knöpfe 44 px passen hinein) */
@media (max-width:860px) { html .nav.glas-pille:not(.mit-menue) { box-sizing:border-box; height:var(--kopf-hoehe); } html .nav.glas-pille:not(.mit-menue) > .nav-innen { box-sizing:border-box; height:100%; align-items:center; padding-top:0; padding-bottom:0; } }
@media (min-width:861px) and (max-width:1023px) { :root { --nz:1; } }
@media (min-width:861px) {
  :root { --kopf-oben:10px; --kopf-hoehe:calc(72px * var(--nz)); }
  /* Mitglieder-Pille (auch Gäste-Pille auf Rechtsseiten): feste Höhe in der gezoomten Ebene = 72 px */
  html .nav.glas-pille { box-sizing:border-box; height:72px; min-height:0; max-height:72px; }
  html .nav.glas-pille > .nav-innen { box-sizing:border-box; height:100%; align-items:center; }
  html .nav.glas-pille .gruppe > .g-knopf { box-sizing:border-box; height:58px !important; min-height:0 !important; justify-content:center; }
  /* Kirchen-Menü (Name + Klartext) passt in dieselbe Höhe: Symbol kleiner, engere Zeilen */
  html body.modus-kirche .nav.glas-pille .gruppe > .g-knopf { padding-top:2px !important; padding-bottom:2px !important; gap:1px !important; }
  html body.modus-kirche .nav.glas-pille .gruppe .g-sym, html body.modus-kirche .nav.glas-pille .gruppe .g-sym .hp-ic { width:22px !important; height:22px !important; }
  html body.modus-kirche .nav.glas-pille .gruppe .g-name { line-height:1.05; }
}
/* Gäste-Kopf (Login, Registrierung, Passwort …): gleiche Ober-/Unterkante wie die Pille */
html .login-kopf { top:var(--kopf-oben) !important; height:var(--kopf-hoehe); }
html .login-kopf::before { inset:calc(-1 * var(--kopf-oben)) 0 -18px; }
/* Abstand zum ersten Inhalt – überall --kopf-inhalt */
html body.mit-band:not(#kopf-x) .hero-kopf.hero-band { height:var(--kopf-inhalt) !important; }
html body.mit-band > main { margin-top:0 !important; padding-top:0 !important; }
html body.mit-band > main > .seiten-pfad[aria-hidden="true"]:empty { display:none !important; }
html body.mit-band > main > :first-child:not(.kopf-zeile) { margin-top:0 !important; }
html body .hero-kopf.hero-gross .hero-inhalt { padding-top:var(--kopf-inhalt) !important; }
html body.zentriert > .login-buehne { padding-top:var(--kopf-inhalt) !important; align-content:start !important; }

/* ---------- Punkt 152: Anmelde-Knopf „Kloster aufsuchen“ / „Mein Konto“ – auffälligster Knopf der Leiste ----------
   Kirche: Weinrot-Glas mit feinem Goldrand (Gold nur Rand/Glanz, nie Schrift), Klosterpforte. Normal: Oliv-Glas mit hellem Rand, Person.
   Innerer Lichtschein; beim Überfahren läuft ein Glanz einmal über den Knopf, der Schein wird kräftiger. Feste Höhe (--kopf-h, Punkt 141),
   nur transform/opacity/box-shadow animiert (kein Springen, Regel 26). Grundfarben fest dunkel genug für weiße Schrift (AA, auch im Sommer). */
html .kopf-glas.kopf-anmelden, html .login-ecke .kopf-glas.kopf-anmelden.lk-anmelden { position:relative; overflow:hidden; isolation:isolate; height:var(--kopf-h); min-width:var(--kopf-h);
  gap:8px; padding:0 16px 0 12px; border-radius:var(--kopf-r); font-size:14px; font-weight:800; letter-spacing:.01em; color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.45);
  transition:transform .2s ease, box-shadow .35s ease, filter .35s ease; }
html .kopf-glas.kopf-anmelden.ka-normal { border:1px solid rgba(255,255,255,.6);
  background:radial-gradient(120% 95% at 28% 0%, rgba(255,255,235,.3), rgba(255,255,235,0) 58%), linear-gradient(180deg, #6f7338 0%, #595c2d 55%, #474a23 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 14px rgba(255,255,225,.16), 0 0 0 1px rgba(20,22,8,.25), 0 9px 22px -10px rgba(36,38,14,.95); }
html .kopf-glas.kopf-anmelden.ka-kirche { border:1px solid #c9a13b;
  background:radial-gradient(120% 95% at 28% 0%, rgba(255,214,226,.28), rgba(255,214,226,0) 58%), linear-gradient(180deg, #a33f62 0%, #84304f 55%, #6c243f 100%);
  box-shadow:inset 0 1px 0 rgba(255,226,160,.6), inset 0 0 0 1px rgba(244,213,138,.22), inset 0 0 16px rgba(255,190,150,.16), 0 0 0 1px rgba(40,8,20,.3), 0 9px 22px -10px rgba(80,16,38,.95); }
html .kopf-glas.kopf-anmelden:hover, html .kopf-glas.kopf-anmelden:focus-visible { filter:brightness(1.07) saturate(1.05); }
html .kopf-glas.kopf-anmelden.ka-normal:hover { box-shadow:inset 0 1px 0 rgba(255,255,255,.6), inset 0 0 20px rgba(255,255,225,.3), 0 0 0 1px rgba(20,22,8,.25), 0 0 20px -2px rgba(200,206,120,.55), 0 10px 24px -10px rgba(36,38,14,.95); }
html .kopf-glas.kopf-anmelden.ka-kirche:hover { box-shadow:inset 0 1px 0 rgba(255,226,160,.75), inset 0 0 0 1px rgba(244,213,138,.4), inset 0 0 22px rgba(255,200,140,.3), 0 0 0 1px rgba(40,8,20,.3), 0 0 22px -2px rgba(201,161,59,.6), 0 10px 24px -10px rgba(80,16,38,.95); }
html .kopf-glas.kopf-anmelden:focus-visible { outline:3px solid #fff; outline-offset:2px; }
.kopf-anmelden .ka-sym, .kopf-anmelden .ka-text { position:relative; z-index:1; }
.kopf-anmelden .ka-sym { width:19px; height:19px; flex:none; display:block; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; overflow:visible;
  filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.4)); }
.kopf-anmelden .ka-sym .ka-f { fill:rgba(255,255,255,.2); stroke:none; }
.kopf-anmelden.ka-kirche .ka-sym .ka-f { fill:rgba(244,213,138,.34); }
.kopf-anmelden .ka-sym .ka-p { fill:currentColor; stroke:none; }
.kopf-anmelden .ka-glanz { position:absolute; z-index:0; top:-4px; bottom:-4px; left:0; width:60%; pointer-events:none; opacity:0; transform:translateX(-120%) skewX(-18deg);
  background:linear-gradient(100deg, rgba(255,255,255,0) 15%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 85%); }
.kopf-anmelden.ka-kirche .ka-glanz { background:linear-gradient(100deg, rgba(255,222,150,0) 15%, rgba(255,226,160,.62) 50%, rgba(255,222,150,0) 85%); }
.kopf-anmelden:hover .ka-glanz, .kopf-anmelden:focus-visible .ka-glanz { animation:ka-lauf .85s cubic-bezier(.3,.6,.3,1) 1; }
@keyframes ka-lauf { 0% { opacity:0; transform:translateX(-120%) skewX(-18deg); } 15% { opacity:1; } 85% { opacity:1; } 100% { opacity:0; transform:translateX(220%) skewX(-18deg); } }
/* Handy: zu breit → nur Symbol (aria-label trägt den Text); Kirche schon ab 600 px, Normal erst ganz schmal */
@media (max-width:600px) { html .kopf-glas.kopf-anmelden.ka-kirche { width:var(--kopf-h); padding:0; } .kopf-anmelden.ka-kirche .ka-text { display:none; } .kopf-anmelden .ka-sym { width:21px; height:21px; } }
@media (max-width:440px) { html .kopf-glas.kopf-anmelden.ka-normal { width:var(--kopf-h); padding:0; } .kopf-anmelden.ka-normal .ka-text { display:none; } }   /* Punkt 220: ab 440 statt 380 px – Platz für das Saison-⌄ neben dem Logo */
@media (prefers-reduced-motion:reduce) { .kopf-anmelden:hover .ka-glanz, .kopf-anmelden:focus-visible .ka-glanz { animation:none; } html .kopf-glas.kopf-anmelden { transition:none; } }
@media (forced-colors:active) { html .kopf-glas.kopf-anmelden { border:1px solid ButtonText; } .kopf-anmelden .ka-glanz { display:none; } }
/* Punkt 153: Anmeldebox kurz hervorheben, wenn der Knopf dorthin führt (Umriss, verschiebt nichts) */
.login-buehne .box.lg-hin { animation:lg-hin 1.1s ease-out 1; }
@keyframes lg-hin { 0% { outline:3px solid rgba(255,255,255,.95); outline-offset:0; } 100% { outline:3px solid rgba(255,255,255,0); outline-offset:14px; } }
@media (prefers-reduced-motion:reduce) { .login-buehne .box.lg-hin { animation:none; outline:3px solid rgba(255,255,255,.9); outline-offset:3px; } }

/* ---------- Punkt 154: Buch-Knopf „Heilige Vokabeln“ / „Der HackPapst-Modus“ – eine Stufe zurückhaltender als der Anmelde-Knopf ----------
   Glas mit feinem hellem Rand, Buch auf heller Plakette (Kirche Weinrot, Normal Oliv) mit Lesebändchen. Überfahren: eine Seite blättert einmal um,
   sanfter Lichtschein. Kirche: winziger Heiligenschein-Schimmer über dem Buch. Feste Höhe (Punkt 141), ruhige Bewegung ohne Blättern/Schimmer. */
.kopf-vokabeln { --kv-farbe:#5d6030; --kv-hell:#eef0d2; position:relative; gap:8px; padding-left:7px !important;
  border-color:rgba(255,255,255,.42) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05)) !important;   /* Punkt 219: vorher .24/.1 */
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38), inset 0 0 0 1px rgba(255,255,255,.06), 0 8px 20px -10px rgba(0,0,0,.55) !important;
  transition:transform .2s ease, box-shadow .35s ease, background-color .35s ease !important; }
.kopf-vokabeln.kv-kirche { --kv-farbe:#8c3350; --kv-hell:#fbe7ee; }
.kopf-vokabeln:hover, .kopf-vokabeln:focus-visible { box-shadow:inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 14px rgba(255,255,255,.16), 0 0 16px -3px rgba(255,255,255,.4), 0 8px 20px -10px rgba(0,0,0,.55) !important; }
.kopf-vokabeln .kv-plak { position:relative; z-index:1; flex:none; display:grid; place-items:center; width:28px; height:28px; border-radius:50%;
  background:radial-gradient(circle at 35% 28%, #fff, var(--kv-hell) 70%); box-shadow:0 1px 3px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.7); }
.kopf-vokabeln .kv-buch { width:20px; height:20px; display:block; overflow:visible; }
.kv-buch .kv-seite { fill:#fff; stroke:var(--kv-farbe); stroke-width:1.5; stroke-linejoin:round; }
.kv-buch .kv-blatt { fill:#fffdf6; stroke:var(--kv-farbe); stroke-width:1.2; stroke-linejoin:round; opacity:0; transform-box:view-box; transform-origin:12px 12px; }
.kv-buch .kv-linie { fill:none; stroke:var(--kv-farbe); stroke-width:1.1; stroke-linecap:round; opacity:.7; }
.kv-buch .kv-band { fill:var(--kv-farbe); stroke:var(--kv-farbe); stroke-width:.6; stroke-linejoin:round; }
.kv-buch .kv-schein { fill:none; stroke:#c9a13b; stroke-width:1.2; opacity:.8; transform-box:fill-box; transform-origin:center; animation:kv-schimmer 4.5s ease-in-out infinite; }
@keyframes kv-schimmer { 0%, 70%, 100% { opacity:.55; } 82% { opacity:1; stroke:#f4d58a; } }
.kopf-vokabeln:hover .kv-blatt, .kopf-vokabeln:focus-visible .kv-blatt { animation:kv-blaettern .7s cubic-bezier(.45,.1,.35,1) 1; }
@keyframes kv-blaettern { 0% { opacity:1; transform:scaleX(1); } 50% { transform:scaleX(.05); } 100% { opacity:1; transform:scaleX(-1); } }
.kopf-vokabeln .kv-text { position:relative; z-index:1; }
.nav .kopf-vokabeln.nav-vokabeln { padding:0 !important; }
.nav .kopf-vokabeln.nav-vokabeln .kv-plak { width:26px; height:26px; }
@media (max-width:860px) { .kopf-vokabeln { padding:0 !important; } }
@media (prefers-reduced-motion:reduce) { .kopf-vokabeln:hover .kv-blatt, .kopf-vokabeln:focus-visible .kv-blatt, .kv-buch .kv-schein { animation:none; } .kopf-vokabeln { transition:none !important; } }
@media (forced-colors:active) { .kv-buch .kv-seite, .kv-buch .kv-blatt, .kv-buch .kv-linie { stroke:CanvasText; } .kv-buch .kv-band { fill:CanvasText; } }

/* ---------- Punkt 155: Logobereich ~15 % größer und aufgewertet (Kopfhöhe aus Punkt 141 bleibt) ----------
   Quadrat mit weichem Verlauf (Oliv dunkel → hell, Kirche Weinrot), feinem hellem Innenrand und Glanzlicht oben; Mitra funkelt alle paar Sekunden;
   Saison-Plakette an der Ecke. Schriftzug „Hack“ weiß, „Papst“ Markenfarbe mit leichtem Verlauf; Unterzeile als Kapitälchen mit feiner Linie.
   Überfahren: Quadrat hebt sich minimal, Mitra leuchtet (kl-glanz). upload/icon*.png / icon.svg unverändert (Regel 9). */
:root { --kl-v1:#a2a65a; --kl-v2:#6c6f3a; --kl-v3:#45471f; --kl-papst2:#adb55c; }
body[data-modus="kirche"] { --kl-v1:#bd5679; --kl-v2:#8c3350; --kl-v3:#561c31; --kl-papst2:#e6839f; }
html[data-saison="sommer"] body { --kl-v1:#b8bd66; --kl-v2:#8e9340; --kl-v3:#5f632a; --kl-papst2:#c1c766; }
html[data-saison="sommer"] body[data-modus="kirche"] { --kl-v1:#cf6a8f; --kl-v2:#b0476d; --kl-v3:#74284a; --kl-papst2:#ee93b2; }
html .kopf-logo .kl-sym { width:53px; height:53px; border-radius:14px; transition:transform .3s cubic-bezier(.3,.7,.3,1), box-shadow .3s ease;
  background:linear-gradient(160deg, var(--kl-v1) 0%, var(--kl-v2) 52%, var(--kl-v3) 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.34), inset 0 -6px 12px -6px rgba(0,0,0,.35), 0 5px 14px -4px rgba(0,0,0,.5); }
html .kopf-logo svg.kl-ikon { position:relative; z-index:1; --logo-grund:transparent; border-radius:inherit; filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.25)); }
html .kopf-logo .kl-sym::before { content:""; position:absolute; z-index:2; left:1px; right:1px; top:1px; height:48%; border-radius:13px 13px 40% 40% / 13px 13px 18% 18%; pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.05) 85%, rgba(255,255,255,0)); }
html .kopf-logo .kl-glanz { z-index:3; }
.kl-heim:hover .kl-sym, .kl-heim:focus-visible .kl-sym { transform:translateY(-1.5px);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.45), inset 0 -6px 12px -6px rgba(0,0,0,.35), 0 9px 18px -5px rgba(0,0,0,.55); }
/* Funkeln an der Mitra-Spitze */
.kopf-logo .kl-funkel { position:absolute; z-index:4; left:50%; top:13%; width:11px; height:11px; margin:-5.5px 0 0 -5.5px; pointer-events:none; background:#fff; opacity:0; transform:scale(0);
  clip-path:polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter:drop-shadow(0 0 3px rgba(255,255,255,.9));
  animation:kl-funkel 7s ease-in-out 2s infinite; }
@keyframes kl-funkel { 0%, 86%, 100% { opacity:0; transform:scale(0) rotate(0deg); } 91% { opacity:1; transform:scale(1) rotate(45deg); } 96% { opacity:0; transform:scale(.3) rotate(90deg); } }
/* Saison-Plakette */
.kopf-logo .kl-plak { position:absolute; z-index:4; right:-5px; bottom:-5px; width:19px; height:19px; border-radius:50%; display:grid; place-items:center; pointer-events:none;
  box-shadow:0 0 0 1.5px rgba(255,255,255,.92), 0 2px 5px rgba(0,0,0,.4); }
.kopf-logo .kl-plak svg { width:13px; height:13px; display:block; fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.kopf-logo .kl-plak.kl-winter { background:radial-gradient(circle at 35% 30%, #fff, #d6ecfb); } .kopf-logo .kl-winter svg { stroke:#25618c; }
.kopf-logo .kl-plak.kl-sommer { background:radial-gradient(circle at 35% 30%, #fffbe6, #ffe08a); } .kopf-logo .kl-sommer svg { stroke:#a35a00; } .kopf-logo .kl-sommer circle { fill:#ffc24a; }
/* Schriftzug und Unterzeile */
html .kopf-logo .kl-wort { width:129px !important; height:28px !important;
  background:linear-gradient(90deg, #fff 0 var(--lw-split), var(--kl-papst) var(--lw-split), var(--kl-papst2) 100%) !important; }
html .kopf-logo .kl-text { gap:4px; }
html .kopf-logo .kl-unter { font-size:13px !important; font-weight:700 !important; font-variant-caps:all-small-caps; letter-spacing:.15em; color:rgba(255,255,255,.8) !important;
  padding-top:3px; border-top:1px solid rgba(255,255,255,.34); line-height:1.1; }
/* Mitglieder-Pille (feste 72 px) */
html .nav.glas-pille .kopf-logo .kl-sym { width:44px; height:44px; border-radius:11px; }
html .nav.glas-pille .kopf-logo .kl-sym::before { border-radius:10px 10px 40% 40% / 10px 10px 18% 18%; }
html .nav.glas-pille .kopf-logo .kl-wort { width:106px !important; height:23px !important; }
html .nav.glas-pille .kopf-logo .kl-unter { font-size:12px !important; padding-top:2px; }
html .nav.glas-pille .kopf-logo .kl-plak { width:16px; height:16px; right:-4px; bottom:-4px; } html .nav.glas-pille .kopf-logo .kl-plak svg { width:11px; height:11px; }
@media (max-width:860px) {
  html .login-kopf .kopf-logo .kl-sym { width:44px; height:44px; border-radius:11px; }
  html .nav.glas-pille .kopf-logo .kl-sym { width:40px; height:40px; border-radius:10px; }   /* Mitglieder-Pille am Handy: Höhe ergibt sich aus dem Inhalt (40 px) – größer würde sie wachsen */
  html .login-kopf .kopf-logo .kl-wort { width:97px !important; height:21px !important; }
  html .login-kopf .kopf-logo .kl-plak, html .nav.glas-pille .kopf-logo .kl-plak { width:16px; height:16px; right:-4px; bottom:-4px; }
  html .login-kopf .kopf-logo .kl-plak svg, html .nav.glas-pille .kopf-logo .kl-plak svg { width:11px; height:11px; }
}
@media (prefers-reduced-motion:reduce) { .kopf-logo .kl-funkel { animation:none; } html .kopf-logo .kl-sym { transition:none; } .kl-heim:hover .kl-sym { transform:none; } }
@media (forced-colors:active) { html .kopf-logo .kl-sym { background:Canvas; border:1px solid CanvasText; } .kopf-logo .kl-funkel, .kopf-logo .kl-sym::before { display:none; } }

/* Punkt 181: Live-Werte in der Kopfzeile laufen nie über den Rand – passt ein Wert nicht mehr, rückt er in eine zweite (verborgene) Zeile.
   Der Seitenpfad behält mindestens 120 px. */
html main > .kopf-zeile > .band-live { flex:0 1 auto; min-width:0; flex-wrap:wrap; justify-content:flex-end; height:var(--kz-h); row-gap:24px; overflow:hidden; }
html main > .kopf-zeile > .seiten-pfad { min-width:min(120px, 40%); }

/* ---------- Punkt 193: Kopfleiste angemeldet – Lupe, Buch, Saison, Modus, Glocke und Profil gleich hoch (44 px), gleiches Glas,
   gleiche Symbolgröße, Zweier-Schalter als gleich hohe Kapseln. Profil kompakt: Avatar mit dünnem Ring in Knopfhöhe.
   Kopfhöhe (Punkt 141) bleibt; alles mit fester Größe (Regel 26). ---------- */
.nav.glas-pille.mit-menue { --kk-h:44px; --kk-ic:22px; --kk-w:65px; --kk-k:calc(var(--kk-h) - 8px); }
html .nav.glas-pille.mit-menue :is(.such-knopf, .such-knopf.gross, .glocke-knopf, .kopf-vokabeln.nav-vokabeln, .saison-schieber, .modus-schalter, .profil-knopf) {
  box-sizing:border-box !important; height:var(--kk-h) !important; min-height:var(--kk-h) !important; margin-block:0 !important; flex:none;
  border:1px solid rgba(255,255,255,.42) !important; color:#fff !important;
  background:linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04)) !important;   /* Punkt 219: vorher .24/.1 – auf dem Kopf-Glas bleibt die Schrift ≥ AA */
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38), 0 8px 20px -10px rgba(0,0,0,.55) !important; margin-inline:0 !important; }
html .nav.glas-pille.mit-menue :is(.such-knopf, .such-knopf.gross, .glocke-knopf, .kopf-vokabeln.nav-vokabeln) {
  width:var(--kk-h) !important; min-width:var(--kk-h) !important; padding:0 !important; border-radius:50% !important; display:inline-grid !important; place-items:center; }
html .nav.glas-pille.mit-menue :is(.such-knopf, .glocke-knopf):hover, html .nav.glas-pille.mit-menue .profil-knopf:hover, html .nav.glas-pille.mit-menue .profil.offen .profil-knopf {
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08)) !important; }
html .nav.glas-pille.mit-menue :is(.such-knopf, .glocke-knopf) :is(svg, .nav-ic) { width:var(--kk-ic) !important; height:var(--kk-ic) !important; }
html .nav.glas-pille.mit-menue .kopf-vokabeln.nav-vokabeln .kv-plak { width:calc(var(--kk-ic) + 8px); height:calc(var(--kk-ic) + 8px); }
html .nav.glas-pille.mit-menue .kopf-vokabeln.nav-vokabeln .kv-buch { width:var(--kk-ic); height:var(--kk-ic); }
/* Zweier-Schalter: gleich breite, gleich hohe Kapseln, Knauf mit 3 px Rand */
html .nav.glas-pille.mit-menue :is(.saison-schieber, .modus-schalter) { width:var(--kk-w) !important; padding:0 9px !important; border-radius:999px !important; font-size:16px; }
html .nav.glas-pille.mit-menue :is(.saison-schieber .ss-knopf, .modus-schalter .ms-knopf) { top:3px !important; left:3px !important; width:var(--kk-k) !important; height:var(--kk-k) !important; }
html .nav.glas-pille.mit-menue .saison-schieber.ist-winter .ss-knopf, html .nav.glas-pille.mit-menue .modus-schalter.ist-kirche .ms-knopf { transform:translateX(calc(var(--kk-w) - var(--kk-k) - 8px)) !important; }
html .nav.glas-pille.mit-menue .saison-schieber.ist-sommer .ss-knopf, html .nav.glas-pille.mit-menue .modus-schalter.ist-normal .ms-knopf { transform:none !important; }
html .nav.glas-pille.mit-menue .modus-schalter :is(.ms-kirche, .ms-normal) { width:18px; height:18px; }
html .nav.glas-pille.mit-menue .modus-schalter svg { width:18px !important; height:18px !important; }
/* Profil: Kapsel in Knopfhöhe, Ring 36 px, Avatar 30 px, Rang-Zeichen klein am Ring */
html .nav.glas-pille.mit-menue .profil-knopf { padding:0 10px 0 3px !important; gap:8px; border-radius:999px !important; display:inline-flex !important; align-items:center; }
html .nav.glas-pille.mit-menue .profil-knopf .pk-ring { width:var(--kk-k) !important; height:var(--kk-k) !important; }
html .nav.glas-pille.mit-menue .profil-knopf .pk-ring svg:not(.pk-rang) { width:100% !important; height:100% !important; }   /* Punkt 204: nicht das Rang-Zeichen (überdeckte sonst das Avatar-„M“) */
html .nav.glas-pille.mit-menue .profil-knopf .pk-ring .avatar { width:calc(var(--kk-k) - 6px) !important; height:calc(var(--kk-k) - 6px) !important; font-size:13px; }
html .nav.glas-pille.mit-menue .profil-knopf .pk-rang { width:14px; height:17px; right:-4px; top:-6px; }
html .nav.glas-pille.mit-menue .profil-knopf .pk-text { line-height:1.15; }
/* Handy/Tablett: Leiste bleibt 60 px hoch (Punkt 141), die 44-px-Knöpfe sitzen mittig */
@media (max-width:860px) { html .nav.glas-pille.mit-menue { box-sizing:border-box; height:var(--kopf-hoehe); }
  html .nav.glas-pille.mit-menue > .nav-innen { box-sizing:border-box; height:100%; align-items:center; padding-top:0; padding-bottom:0; } }

/* ---------- Punkt 219 (ändert Punkt 204): Kopfleiste immer mit dezentem Glas ----------
   In allen Ansichten (Gast/Mitglied/Admin, Winter/Sommer, beide Modi, auch am Handy) liegt hinter der Kopfleiste ein Glas in voller
   Fensterbreite, ohne Rundung: .kopf-schleier (layout.php) bzw. .login-kopf::before im Gäste-Kopf. Höhe = Kopf-Unterkante (--kopf-unten),
   damit die beim Scrollen angedockte Reiterleiste nicht überdeckt wird; die letzten 12 px laufen weich aus (Maske statt harter Kante).
   Scroll 0: dunkles Glas ~50 % + Unschärfe; der Hintergrund wird dabei abgedunkelt (brightness .62), sodass weiße Schrift auch auf
   reinweißem Himmel ≥ 4,5 : 1 erreicht (gemessen: werkzeuge/kopfleiste-knoepfe-pruefen.js). Ab 8 px Scroll (html.kopf-glas-an,
   kopf-glas.js) ~90 %, Übergang 200 ms. Je Modus getönt: Normal Nachtblau mit Oliv-Hauch, Kirche dunkles Weinrot. Die Pille selbst
   bleibt ohne Kasten. Feste Höhe, nichts springt (Regel 26). */
:root { --ks-rgb:12,20,36; --ks-a0:.5; --ks-a1:.9; --ks-tint:rgba(var(--kl-tint),.16); --ks-hell:.62; --ks-aus:12px; }
body[data-modus="kirche"] { --ks-rgb:24,10,22; --ks-tint:rgba(var(--kl-tint),.2); }
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) { :root { --ks-a0:.68; } }
html:root body .nav.glas-pille:not(#kopf-x) { background:transparent !important; border-color:transparent !important; box-shadow:none !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
html body .nav.glas-pille:not(#kopf-x) .g-knopf { text-shadow:0 1px 2px rgba(0,0,0,.55), 0 0 10px rgba(0,0,0,.25) !important; }
html body .nav.glas-pille .marke-trenner { opacity:.6; }
html body .kopf-schleier, html body .login-kopf::before { content:""; position:fixed; z-index:29; top:0; left:0; right:0; bottom:auto; height:var(--kopf-unten); pointer-events:none;
  display:block; opacity:1; visibility:visible; border:0; border-radius:0; box-shadow:none;
  background-color:rgba(var(--ks-rgb), var(--ks-a0)); background-image:linear-gradient(var(--ks-tint), var(--ks-tint));
  -webkit-backdrop-filter:blur(18px) saturate(1.15) brightness(var(--ks-hell)); backdrop-filter:blur(18px) saturate(1.15) brightness(var(--ks-hell));
  -webkit-mask-image:linear-gradient(180deg, #000 calc(100% - var(--ks-aus)), rgba(0,0,0,.4) calc(100% - 4px), transparent);
  mask-image:linear-gradient(180deg, #000 calc(100% - var(--ks-aus)), rgba(0,0,0,.4) calc(100% - 4px), transparent);
  transition:background-color .2s ease; }
html body .login-kopf::before { position:absolute; z-index:-1; inset:calc(-1 * var(--kopf-oben)) 0 0; height:auto; }
html.kopf-glas-an body .kopf-schleier, html.kopf-glas-an body .login-kopf::before { background-color:rgba(var(--ks-rgb), var(--ks-a1)); }
@media (prefers-reduced-motion:reduce) { html body .kopf-schleier, html body .login-kopf::before { transition:none !important; } }
@media (prefers-reduced-transparency:reduce) { html body .kopf-schleier, html body .login-kopf::before { background-color:rgb(14,20,34); -webkit-backdrop-filter:none; backdrop-filter:none; } }
@media (forced-colors:active) { html body .kopf-schleier, html body .login-kopf::before { background:Canvas; -webkit-mask-image:none; mask-image:none; } }
/* Unterzeilen kräftiger: Klartext unter den Bereichsnamen (Kirche, z. B. „Challenge“, „Sporttagebuch“), Bereichsnamen und Saisonzeile */
html body .nav.glas-pille .gruppe .g-name { font-weight:700; }
html body.modus-kirche .nav.glas-pille .gruppe .g-name .g-klar:not(#kt-x):not(#kopf-x) { color:rgba(255,255,255,.9) !important; opacity:1 !important; font-weight:600 !important;
  text-shadow:0 1px 2px rgba(0,0,0,.6) !important; }
html body .nav.glas-pille .pk-text small { color:rgba(255,255,255,.95) !important; }   /* Profil-Titel (vorher .82) */

/* Symbole in allen Kopf-Schaltern ~18 % kleiner (22 → 18 px), Knauf der Zweier-Schalter 36 → 30 px, Profil-Ring 36 → 32 px; Kapsel bleibt 44 px */
.nav.glas-pille.mit-menue { --kk-ic:18px; --kk-knauf:30px; --kk-ring:32px; }
html .nav.glas-pille.mit-menue :is(.saison-schieber .ss-knopf, .modus-schalter .ms-knopf) { top:calc((var(--kk-h) - 2px - var(--kk-knauf)) / 2) !important; left:calc((var(--kk-h) - 2px - var(--kk-knauf)) / 2) !important;
  width:var(--kk-knauf) !important; height:var(--kk-knauf) !important; }
html .nav.glas-pille.mit-menue .saison-schieber.ist-winter .ss-knopf, html .nav.glas-pille.mit-menue .modus-schalter.ist-kirche .ms-knopf {
  transform:translateX(calc(var(--kk-w) - 2px - (var(--kk-h) - 2px - var(--kk-knauf)) - var(--kk-knauf))) !important; }
html .nav.glas-pille.mit-menue .saison-schieber { font-size:13.5px; }
html .nav.glas-pille.mit-menue .saison-schieber .hp-ic { width:16px; height:16px; }
html .nav.glas-pille.mit-menue .modus-schalter :is(.ms-kirche, .ms-normal), html .nav.glas-pille.mit-menue .modus-schalter svg { width:15px !important; height:15px !important; }
html .nav.glas-pille.mit-menue .profil-knopf { padding-left:5px !important; }
html .nav.glas-pille.mit-menue .profil-knopf .pk-ring { width:var(--kk-ring) !important; height:var(--kk-ring) !important; }
html .nav.glas-pille.mit-menue .profil-knopf .pk-ring .avatar { width:calc(var(--kk-ring) - 6px) !important; height:calc(var(--kk-ring) - 6px) !important; font-size:12px; }
html .nav.glas-pille.mit-menue .profil-knopf .pk-rang { width:12px; height:15px; right:-5px; top:-6px; }
/* Punkt 204: ohne Glas-Kasten fiel auf, dass die Admin-Leiste im Kirchen-Modus (Kurie + Klartext) rechts aus der Leiste ragte –
   ist sie zu breit (menue.js setzt .nav-kompakt), rücken die Bereichsknöpfe enger zusammen (Klartext bleibt, Regel 21) */
@media (min-width:861px) { html .nav.glas-pille.nav-kompakt .gruppe > .g-knopf { padding-left:5px !important; padding-right:5px !important; } }
@media (min-width:861px) and (max-width:1100px) { html .nav.glas-pille.nav-kompakt .gruppe > .g-knopf { padding-left:2px !important; padding-right:2px !important; } html .nav.glas-pille.nav-kompakt .nav-innen { gap:0; } }

/* ---------- Punkt 202/203: Leisten direkt unter dem Menü (Einrichtungs-Leiste, auf der Mitglieder-Startseite darunter der Ticker) ----------
   Eine Höhe für beide (--kleiste-h), Abstand oben/unten und dazwischen = --kopf-abst – derselbe Abstand wie Menü ↔ Brotkrumen-Zeile.
   Seiten mit Brotkrumen: in main vor .kopf-zeile (oben sorgt .hero-band für --kopf-abst). Startseite/Seiten mit Kopf im Hero:
   vor .hero-inhalt, dessen Abstand nach oben schrumpft auf --kopf-abst. Feste Höhen, kein Springen (Regel 26). */
:root { --kleiste-h:48px; }
@media (pointer:coarse) { :root { --kleiste-h:52px; } }
.kopf-leisten { display:flex; flex-direction:column; gap:var(--kopf-abst); margin:0 0 var(--kopf-abst); min-width:0; }
/* Punkt 222: ab 1024 px stehen Einrichtungs-Leiste und Ticker nebeneinander (je 50 %, gleiche Höhe/Oberkante); ist nur eine da, füllt sie die ganze Breite.
   Die Archiv-Hinweisleiste bleibt über die volle Breite. Unter 1024 px untereinander. */
@media (min-width:1024px) {
  .kopf-leisten { flex-direction:row; flex-wrap:wrap; align-items:flex-start; }
  .kopf-leisten > .saison-archiv-leiste { flex:0 0 100%; }
  .kopf-leisten > .ew-leiste, .kopf-leisten > .sl-ticker { flex:1 1 calc(50% - var(--kopf-abst) / 2); min-width:0; max-width:100%; }
}
.hero-kopf > .kopf-leisten { position:relative; z-index:2; box-sizing:border-box; width:100%; max-width:var(--breite, 1440px); margin:0 auto; padding:var(--kopf-inhalt) 20px 0; }
html body .hero-kopf.hero-gross:has(> .kopf-leisten) .hero-inhalt { padding-top:var(--kopf-abst) !important; }
@media (max-width:720px) { .hero-kopf > .kopf-leisten { padding-left:14px; padding-right:14px; } }

/* ---------- Punkt 220: Logo bleibt beim Scrollen · Saisonzeile als Saison-Dropdown ----------
   Signet + Schriftzug führen zur Startseite (.kl-heim, .kl-wort-link), die Saisonzeile („WINTER 26/27“) ist ein Knopf (.kl-saison-ausl) –
   optisch wie bisher, nur mit kleinem ⌄ rechts; Klickfläche unsichtbar auf 44 px vergrößert, Fokus-Ring. Menü (.kl-saison-menue):
   Winter/Sommer umschalten, frühere Saisons ansehen (Archiv, _lib/saison_wahl.php). Schmale Ansichten ohne Saisonzeile zeigen nur das ⌄
   (44 × 44 px) neben dem Signet. Menü absolut positioniert, nur opacity/transform animiert – nichts verschiebt sich (Regel 26). */
html .kopf-logo.kl-mit-saison { top:auto; left:auto; }   /* bergwelt.css „.login-marke { position:fixed; top:18px }“ (alt) nicht wirken lassen */
html .kopf-logo .kl-heim { display:block; flex:none; color:inherit; text-decoration:none; border-radius:14px; }
html .kopf-logo.kl-mit-saison .kl-text { filter:none; position:relative; }
html .kopf-logo .kl-wort-link { display:block; width:max-content; line-height:0; color:inherit; text-decoration:none;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.55)) drop-shadow(0 0 10px rgba(0,0,0,.25)); }
html .kopf-logo .kl-saison { position:relative; display:block; font-size:13px; line-height:1.1; }
html .kopf-logo .kl-saison-ausl.kl-unter { -webkit-appearance:none; appearance:none; box-sizing:border-box; position:relative; display:flex !important; align-items:center; gap:4px;
  width:100%; min-width:0; margin:0 !important; padding:3px 0 0 !important; border:0; border-top:1px solid rgba(255,255,255,.4); border-radius:0; background:none; box-shadow:none;
  cursor:pointer; color:rgba(255,255,255,.95) !important; text-align:left; text-shadow:0 1px 3px rgba(0,0,0,.6), 0 0 8px rgba(0,0,0,.25); }
html .kopf-logo .kl-saison-ausl::before { content:""; position:absolute; left:-6px; right:-6px; top:-6px; height:44px; }   /* unsichtbare Klickfläche 44 px */
html .kopf-logo .kl-saison-ausl:focus { outline:none; }
html .kopf-logo .kl-saison-ausl:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.kl-saison-name { white-space:nowrap; }
/* ältere Regel bergwelt.css „.login-marke span“ (kursiv, gold) nicht auf Saisonzeile und Menü anwenden */
html body .kopf-logo.kl-mit-saison .kl-saison span { font-style:normal; font-weight:inherit; font-size:inherit; color:inherit; letter-spacing:inherit; line-height:inherit; }
.kl-saison-pfeil { flex:none; width:12px; height:12px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
  filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.5)); transition:transform .2s ease; }
.kl-saison.offen .kl-saison-pfeil { transform:rotate(180deg); }
/* Menü */
html body .kopf-logo .kl-saison-menue { position:absolute; z-index:90; top:calc(100% + 12px); left:-10px; box-sizing:border-box; width:max-content; min-width:240px; max-width:calc(100vw - 24px);
  display:flex; flex-direction:column; padding:6px; border-radius:16px; color:#fff; text-align:left;
  font:600 14.5px/1.2 var(--text, system-ui, sans-serif); font-variant-caps:normal; letter-spacing:normal; text-transform:none; text-shadow:none; white-space:nowrap;
  background:linear-gradient(160deg, rgba(36,46,68,.98), rgba(14,20,34,.98)); border:1px solid rgba(255,255,255,.18); box-shadow:0 22px 50px -16px rgba(0,0,0,.75);
  opacity:0; transform:translateY(-4px); transition:opacity .16s ease, transform .16s ease; }
html body[data-modus="kirche"] .kopf-logo .kl-saison-menue { background:linear-gradient(160deg, rgba(110,34,60,.98), rgba(40,14,28,.98)); }
html body .kopf-logo .kl-saison-menue[hidden] { display:none; }
/* neu.css „.nav .marke span { display:none }“ (≤ 420 px) nicht auf Saisonzeile und Menü anwenden */
html body .kopf-logo .kl-saison .kl-saison-name { display:inline; }
html body .kopf-logo .kl-saison-menue .ksm-item > span { display:block; }
html body .kopf-logo .kl-saison.offen .kl-saison-menue { opacity:1; transform:none; }
html body .kopf-logo .kl-saison-menue span.ksm-titel { display:block; padding:8px 12px 4px; font-size:11.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.78); }
.kl-saison-menue .ksm-item { display:flex; align-items:center; gap:10px; min-height:44px; padding:0 12px; border-radius:11px; color:#fff; text-decoration:none; outline:none; }
.kl-saison-menue .ksm-item:hover, .kl-saison-menue .ksm-item:focus { background:rgba(255,255,255,.12); }
.kl-saison-menue .ksm-item:focus-visible { box-shadow:inset 0 0 0 2px #fff; }
.kl-saison-menue .ksm-item.ist-an { background:rgba(255,255,255,.16); font-weight:800; }
html body .kopf-logo .kl-saison-menue .ksm-item small { margin-left:auto; padding-left:12px; font-size:12px; font-weight:650; color:rgba(255,255,255,.8); }
.kl-saison-menue .ksm-zurueck { margin-top:4px; border-top:1px solid rgba(255,255,255,.16); border-radius:0 0 11px 11px; }
.ksm-sym { flex:none; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
@media (prefers-reduced-motion:reduce) { html body .kopf-logo .kl-saison-menue, .kl-saison-pfeil { transition:none !important; } }
@media (forced-colors:active) { html body .kopf-logo .kl-saison-menue { border:1px solid CanvasText; } .kl-saison-menue .ksm-item:focus-visible { outline:2px solid Highlight; } }

/* Saisonzeile auch in der Mitglieder-Pille 861–1279 px sichtbar (vorher ausgeblendet; passt in die feste Höhe) */
@media (min-width:861px) { html body .nav.glas-pille .kopf-logo .kl-saison-ausl.kl-unter { display:flex !important; } }

/* Schmal: nur ⌄ neben dem Signet (Name bleibt für Screenreader im aria-label) – Gäste ≤ 860 px (mit Schriftzug ab 441 px), Mitglieder ≤ 860 px */
@media (max-width:860px) {
  html body :is(.login-kopf, .nav.glas-pille) .kopf-logo.kl-mit-saison { gap:2px; }
  html body :is(.login-kopf, .nav.glas-pille) .kopf-logo.kl-mit-saison .kl-text { display:flex !important; flex-direction:row; align-items:center; gap:0; }
  html body .nav.glas-pille .kopf-logo.kl-mit-saison .kl-wort-link { display:none; }
  html body :is(.login-kopf, .nav.glas-pille) .kopf-logo .kl-saison-ausl.kl-unter { display:flex !important; width:44px; height:44px; padding:0 0 0 6px !important; border:0; justify-content:flex-start; }
  html body :is(.login-kopf, .nav.glas-pille) .kopf-logo .kl-saison-ausl::before { inset:0; height:auto; }
  html body :is(.login-kopf, .nav.glas-pille) .kopf-logo .kl-saison-ausl:focus-visible { outline-offset:-4px; border-radius:12px; }
  html body :is(.login-kopf, .nav.glas-pille) .kopf-logo .kl-saison-name { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  html body :is(.login-kopf, .nav.glas-pille) .kopf-logo .kl-saison-pfeil { width:16px; height:16px; stroke-width:2; }
  html body .login-kopf .kopf-logo.kl-mit-saison .kl-wort-link { margin-right:2px; }
  html body .kopf-logo .kl-saison-menue { left:-8px; }
  html body .nav.glas-pille .kopf-logo.kl-mit-saison .kl-saison-menue { left:-46px; }
}
@media (max-width:440px) {
  html body .login-kopf .kopf-logo.kl-mit-saison .kl-text { display:flex !important; }
  html body .login-kopf .kopf-logo.kl-mit-saison .kl-wort-link { display:none; }
  html body .login-kopf .kopf-logo.kl-mit-saison .kl-saison-menue { left:-50px; }
  /* Mitglieder-Leiste: Platz für das ⌄ – Abstände 5 px, Trenner weg, Profil nur als Avatar (ohne Pfeilchen) */
  html body .nav.glas-pille.mit-menue > .nav-innen { gap:5px !important; }
  html body .nav.glas-pille.mit-menue .rechts-trenner { display:none !important; }
  html body .nav.glas-pille.mit-menue .profil-knopf { width:var(--kk-h) !important; padding:0 !important; justify-content:center; }
  html body .nav.glas-pille.mit-menue .profil-knopf .pfeilchen { display:none !important; }
}

/* Hinweisleiste der Archiv-Ansicht (in .kopf-leisten unter dem Menü): „Du siehst Winter 25/26 · zurück zur aktuellen Saison“ */
.saison-archiv-leiste { box-sizing:border-box; display:flex; align-items:center; gap:10px; height:var(--kleiste-h); padding:0 4px 0 14px; border-radius:16px; color:#fff; font-size:14.5px; line-height:1.2;
  background:linear-gradient(135deg, rgb(var(--kl-tint)), rgba(var(--kl-tint),.92)); border:1px solid rgba(255,255,255,.34);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22), 0 10px 26px -14px rgba(0,0,0,.7); }
.saison-archiv-leiste .ksm-sym { width:20px; height:20px; }
.saison-archiv-leiste .sal-text { flex:1 1 auto; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.saison-archiv-leiste .sal-zurueck { flex:none; display:inline-flex; align-items:center; min-height:44px; padding:0 12px; border-radius:12px; color:#fff; font-weight:750;
  text-decoration:underline; text-underline-offset:3px; }
.saison-archiv-leiste .sal-zurueck:hover { background:rgba(255,255,255,.14); }
.saison-archiv-leiste .sal-zurueck:focus-visible { outline:2px solid #fff; outline-offset:-2px; }
@media (max-width:600px) { .saison-archiv-leiste { font-size:13.5px; gap:8px; padding-left:10px; } .saison-archiv-leiste .sal-zusatz { display:none; } .saison-archiv-leiste .sal-zurueck { padding:0 8px; } }
@media (forced-colors:active) { .saison-archiv-leiste { border:1px solid CanvasText; } }
