/* Sprachauswahl der Sprachfassungen (Auftrag E1). Schwebende Schaltflaeche
   unten auf der Endseite (rechts bzw. in RTL links), damit das Layout der
   Vorlagen unveraendert bleibt. Nur logische Eigenschaften. */
.zt-lang { position: fixed; inset-block-end: 16px; inset-inline-end: 16px; z-index: 1000; font: 14px/1.4 system-ui, sans-serif; color: #1d2733; }
.zt-lang details { position: relative; }
.zt-lang summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding-block: 6px; padding-inline: 12px; border: 1px solid #b9c3cf; border-radius: 999px; background: #fff; list-style: none; min-block-size: 36px; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.zt-lang summary::-webkit-details-marker { display: none; }
.zt-lang summary::after { content: "▴"; margin-inline-start: 2px; }
.zt-lang details[open] summary::after { content: "▾"; }
.zt-lang summary:focus-visible, .zt-lang a:focus-visible { outline: 3px solid #1555cb; outline-offset: 2px; }
.zt-lang-label { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.zt-lang ul { position: absolute; inset-inline-end: 0; inset-block-end: calc(100% + 6px); margin: 0; padding-block: 6px; padding-inline: 0; list-style: none; background: #fff; border: 1px solid #b9c3cf; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.16); max-block-size: 60vh; overflow-y: auto; min-inline-size: 200px; }
.zt-lang li a { display: block; padding-block: 6px; padding-inline: 14px; color: inherit; text-decoration: none; text-align: start; }
.zt-lang li a:hover { background: #eef2f7; }
.zt-lang a[aria-current="true"] { font-weight: 700; }
@media print { .zt-lang { display: none; } }

/* RTL: Vorlagen, die die Sprungmarke mit negativem left verstecken, wuerden
   in rechts-nach-links-Dokumenten die Seite um 10.000 px verbreitern. */
html[dir="rtl"] .skip:not(:focus), html[dir="rtl"] .skip-to-main:not(:focus) { left: auto; right: -10000px; }
