/* mtr-km-deps: */
/* Leiste der Wiki-Einzelseite: Fundstellen im Artikel, andere Einträge im Wiki als Verweis-Karten, kompakte Zeilen
   mit runden Knöpfen und am Handy eine schwebende Zeile mit Zurück und Weiter. Gehört zu assets/js/wiki-leiste.js. */
.mtr-wl{--wl-red:var(--mtr-red,#E62332);--wl-red-d:#C11C29;--wl-ink:var(--mtr-ink,#37424C);--wl-grau:#5F6B75;--wl-fein:#E6E6E6;
--wl-line:#D8D8D8;--wl-hell:#FDE9EB;--wl-flaeche:#F8F8F8;display:block;width:100%;font-family:"Open Sans",sans-serif}
.mtr-wl [hidden]{display:none!important}
.mtr-wl__sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);
white-space:nowrap;border:0}

/* Gruppe 1: In diesem Artikel (Überschrift, Zeile "Stelle 1 von 103 in diesem Artikel", Zurück und Weiter) */
.mtr-wl .mtr-wl__artikel{margin:0;padding:0}
.mtr-wl .mtr-wl__gruppe{display:none;margin:14px 0 4px;font-size:.8125rem;font-weight:700;line-height:1.4;letter-spacing:.08em;
text-transform:uppercase;color:var(--wl-ink)}
.mtr-wl.is-aktiv .mtr-wl__gruppe{display:block}
.mtr-wl .mtr-wl__status{margin:0;padding:0;font-size:.875rem;line-height:1.5;color:var(--wl-grau)}
.mtr-wl .mtr-wl__status strong{color:var(--wl-ink);font-weight:700}
.mtr-wl .mtr-wl__nav{display:flex;gap:8px;margin-top:10px}
.mtr-wiki-karte .mtr-wl button.mtr-wl__knopf{flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:6px;
min-width:0;min-height:40px;height:auto;margin:0;padding:0 12px;box-sizing:border-box;border:2px solid var(--wl-ink);
border-radius:5px;background:#fff;color:var(--wl-ink);font-family:inherit;font-size:.875rem;font-weight:600;line-height:1.2;
text-transform:none;letter-spacing:normal;box-shadow:none;cursor:pointer;
transition:background-color .2s ease,border-color .2s ease,color .2s ease}
.mtr-wiki-karte .mtr-wl button.mtr-wl__knopf svg{flex:none;width:18px;height:18px}
.mtr-wiki-karte .mtr-wl button.mtr-wl__knopf:hover,.mtr-wiki-karte .mtr-wl button.mtr-wl__knopf:focus-visible{
background:var(--wl-red);border:2px solid var(--wl-red);color:#fff}
.mtr-wiki-karte .mtr-wl button.mtr-wl__knopf:focus-visible{outline:2px solid var(--wl-red);outline-offset:2px}
.mtr-wiki-karte .mtr-wl button.mtr-wl__knopf:focus:not(:focus-visible):not(:hover){background:#fff;border:2px solid var(--wl-ink);color:var(--wl-ink)}

/* Gruppe 2: andere Einträge im Wiki, je als eigene Verweis-Karte, klar getrennt von den Fundstellen */
.mtr-wl .mtr-wl__lexikon{margin-top:16px;padding:12px;background:var(--wl-flaeche);border:1px solid var(--wl-fein);border-radius:5px}
.mtr-wl .mtr-wl__kopf{margin:0 0 10px;font-size:.8125rem;font-weight:700;line-height:1.4;letter-spacing:.08em;
text-transform:uppercase;color:var(--wl-ink)}
.mtr-wl .mtr-wl__liste{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.mtr-wl .mtr-wl__liste:empty{display:none}
.mtr-wl .mtr-wl__liste li{margin:0;padding:0;list-style:none}
.mtr-wl a.mtr-wl__eintrag{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;border:1px solid var(--wl-fein);
border-radius:5px;color:var(--wl-ink);text-decoration:none;transition:border-color .2s ease}
.mtr-wl .mtr-wl__text{display:block;flex:1 1 auto;min-width:0}
.mtr-wl .mtr-wl__titel{display:block;font-size:.9375rem;font-weight:700;line-height:1.4;color:var(--wl-ink);overflow-wrap:break-word;
transition:color .2s ease}
.mtr-wl .mtr-wl__bereich{display:block;margin-top:2px;font-size:.75rem;line-height:1.4;color:var(--wl-grau)}
.mtr-wl .mtr-wl__auszug{display:-webkit-box;margin-top:3px;overflow:hidden;font-size:.8125rem;line-height:1.45;color:var(--wl-grau);
-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:break-word}
.mtr-wl .mtr-wl__auszug mark{margin:0;padding:0;background:var(--wl-hell);color:var(--wl-ink);font:inherit}
.mtr-wl .mtr-wl__titel mark{margin:0;padding:0;background:var(--wl-hell);color:inherit;font:inherit}
.mtr-wl .mtr-wl__oeffnen{display:block;margin-top:4px;font-size:.8125rem;font-weight:600;line-height:1.4;color:var(--wl-red-d)}
.mtr-wl .mtr-wl__winkel{flex:none;display:flex;width:18px;height:18px;color:var(--wl-ink)}
.mtr-wl .mtr-wl__winkel svg{width:18px;height:18px}
.mtr-wl a.mtr-wl__eintrag:hover,.mtr-wl a.mtr-wl__eintrag:focus-visible{border-color:var(--wl-ink)}
.mtr-wl a.mtr-wl__eintrag:hover .mtr-wl__titel,.mtr-wl a.mtr-wl__eintrag:focus-visible .mtr-wl__titel{color:var(--wl-red)}
.mtr-wl a.mtr-wl__eintrag:focus-visible{outline:2px solid var(--wl-red);outline-offset:2px}

/* Ab 1025 px: Ergebnisse rollen in der Suchkarte (höchstens 55 % der Leiste), Zurück und Weiter bleiben oben stehen */
@media (min-width:1025px){
.mtr-wiki-leiste .mtr-wiki-suche>.mtr-wiki-suchfeld,.mtr-wiki-leiste .mtr-wiki-suchfeld>.elementor-widget-container{
display:flex;flex-direction:column;flex:0 1 auto;min-height:0}
.mtr-wiki-leiste .mtr-wl-bereich{display:flex;flex-direction:column;flex:0 1 auto;min-height:0}
.mtr-wiki-leiste .mtr-wl-bereich__innen{display:flex;flex-direction:column;flex:0 1 auto;min-height:0}
.mtr-wiki-leiste .mtr-wl-bereich__innen>search{flex:none}
.mtr-wiki-leiste .mtr-wl{flex:0 1 auto;min-height:0;margin:0 -4px;padding:0 4px;box-sizing:content-box;overflow-y:auto;
overscroll-behavior:contain}
.mtr-wiki-leiste .mtr-wl.is-fest .mtr-wl__artikel{position:sticky;top:0;z-index:1;background:#fff}
.mtr-wiki-leiste .mtr-wl.is-knapp .mtr-wl__gruppe{display:none}
.mtr-wiki-leiste .mtr-wl.is-knapp .mtr-wl__status{margin-top:4px}
.mtr-wiki-leiste .mtr-wl.is-knapp .mtr-wl__nav{margin-top:6px}
}

/* Kompakte Zeilen: Titel links, runder Knopf 40 px rechts, beide auf der Innenkante und senkrecht mittig */
.mtr-wiki-karte button.mtr-wl-lupe{display:none}
.mtr-wiki-stellen .mtr-wl-winkel{display:none}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wiki-suche{position:relative;gap:0;padding:11px 22px}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wiki-suche>.mtr-wiki-karte__titel{display:flex;align-items:center;
min-height:40px;padding-right:52px;box-sizing:border-box}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wiki-suche>.mtr-wiki-karte__titel>.elementor-widget-container,
html.mtr-wl-js .mtr-wiki-suche>.mtr-wiki-karte__titel>.elementor-widget-container{display:flex;align-items:center;width:100%}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wiki-suche button.mtr-wl-lupe,
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen a.elementor-button{display:inline-flex;align-items:center;justify-content:center;
width:40px;height:40px;min-width:40px;min-height:40px;margin:0;padding:0;box-sizing:border-box;border:2px solid #37424C;
border-radius:50%;background:#fff;color:#37424C;font-size:0;line-height:1;box-shadow:none;text-decoration:none;cursor:pointer;
transition:background-color .2s ease,border-color .2s ease,color .2s ease}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wiki-suche button.mtr-wl-lupe{position:absolute;top:11px;right:22px;z-index:1}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wiki-suche button.mtr-wl-lupe svg,
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen .mtr-wl-winkel svg{display:block;width:18px;height:18px}
/* Hover nur mit Maus, damit am Handy nach dem Tippen nichts rot stehen bleibt */
@media (hover:hover){
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wiki-suche button.mtr-wl-lupe:hover,
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen:hover a.elementor-button{background:#E62332;border-color:#E62332;color:#fff}
}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wiki-suche button.mtr-wl-lupe:focus-visible,
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen a.elementor-button:focus-visible{background:#E62332;border-color:#E62332;color:#fff}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wiki-suche button.mtr-wl-lupe:focus-visible,
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen a.elementor-button:focus-visible{outline:2px solid #E62332;outline-offset:2px}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wiki-suche button.mtr-wl-lupe:focus:not(:focus-visible):not(:hover){
background:#fff;border-color:#37424C;color:#37424C}

/* Formular und Ergebnisse klappen unter der Zeile auf; zu bleibt nur die Zeile mit der Lupe */
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wl-bereich{display:grid;grid-template-rows:minmax(0,1fr);
transition:grid-template-rows .2s ease}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wl-bereich__innen{min-height:0;margin:0 -4px;padding:0 4px;overflow:hidden}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wl-bereich__innen>search{margin-top:12px}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wl-bereich__innen>.mtr-wl{margin-bottom:11px}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-schmal) .mtr-wl-bereich.is-zu{grid-template-rows:minmax(0,0fr)}

/* Karriere-Karte kompakt (ab 1025 px bei wenig Höhe, bis 940 px Höhe auch während einer Suche): eine Zeile, die ganze Zeile führt zu den offenen Stellen */
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen{position:relative;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:12px;
padding:11px 22px}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen .elementor-widget,
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen .elementor-widget-container{position:static}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen>.mtr-wiki-karte__titel{flex:1 1 auto;width:auto;min-width:0}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen>.mtr-btn-w{flex:none;width:40px;margin:0}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen a.elementor-button{position:static}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen a.elementor-button::after{content:"";position:absolute;inset:0;border-radius:5px}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen a.elementor-button .elementor-button-content-wrapper{position:absolute!important;
width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.mtr-wiki-leiste:is(.mtr-wl-kompakt,.mtr-wl-eng) .mtr-wiki-stellen .mtr-wl-winkel{display:flex}

/* Vor dem Start des Skripts (Klasse mtr-wl-js aus dem Seitenkopf): unter 1025 px steht die Suchkarte schon als Zeile, damit der
   Text darunter nicht springt. Ohne JavaScript bleibt das Formular sichtbar. */
@media (max-width:1024px){
html.mtr-wl-js .mtr-wiki-suche:not(:has(.mtr-wl-lupe)){gap:0;padding:9px 20px}
html.mtr-wl-js .mtr-wiki-suche:not(:has(.mtr-wl-lupe))>.mtr-wiki-karte__titel{display:flex;align-items:center;min-height:40px}
html.mtr-wl-js .mtr-wiki-suchfeld>.elementor-widget-container>search{display:none}
.mtr-wiki-leiste.mtr-wl-schmal .mtr-wiki-suche{padding:9px 20px}
.mtr-wiki-leiste.mtr-wl-schmal .mtr-wiki-suche button.mtr-wl-lupe{top:9px;right:20px}
}

/* Fundstellen im Artikeltext: nur Farbe, keine Abstände, damit keine Zeile umbricht */
.mtr-wiki-text mark.mtr-wl-treffer{display:inline;margin:0;padding:0;border:0;border-radius:2px;background:#FDE9EB;color:#37424C;
font:inherit;line-height:inherit;letter-spacing:inherit;box-shadow:0 0 0 1px #FDE9EB;-webkit-box-decoration-break:clone;
box-decoration-break:clone}
.mtr-wiki-text mark.mtr-wl-treffer.is-aktuell{background:#E62332;color:#fff;box-shadow:0 0 0 2px #E62332}

/* Handy und Tablet: nach dem Sprung Zurück und Weiter am unteren Rand */
.mtr-wl .mtr-wl__schwebe{position:fixed;left:0;right:0;bottom:0;z-index:990;display:flex;align-items:center;gap:8px;
margin:0;padding:10px 20px calc(10px + env(safe-area-inset-bottom,0px));box-sizing:border-box;background:#fff;
border-top:1px solid var(--wl-line);box-shadow:0 -6px 18px rgba(32,32,32,.08)}
.mtr-wl .mtr-wl__schwebe-text{flex:1 1 auto;min-width:0;overflow:hidden;font-size:.9375rem;font-weight:600;line-height:1.3;
color:var(--wl-ink);white-space:nowrap;text-overflow:ellipsis}
.mtr-wiki-karte .mtr-wl .mtr-wl__schwebe button.mtr-wl__knopf--eckig{flex:0 0 44px;width:44px;min-height:44px;padding:0}
@media (min-width:1025px){.mtr-wl .mtr-wl__schwebe{display:none!important}}
@media (max-width:1024px){.mtr-wiki-karte .mtr-wl button.mtr-wl__knopf{min-height:44px}}
@media (prefers-reduced-motion:reduce){
.mtr-wiki-karte .mtr-wl button.mtr-wl__knopf,.mtr-wl a.mtr-wl__eintrag,.mtr-wl .mtr-wl__titel,.mtr-wiki-karte button.mtr-wl-lupe,
.mtr-wiki-stellen a.elementor-button,.mtr-wl-bereich,.mtr-wl-bereich__innen{transition:none!important}
}
