.locale-switcher{display:inline-flex;align-items:center;min-width:0;margin:0}.locale-switcher fieldset{display:flex;align-items:center;gap:.5rem;min-width:0;margin:0;padding:0;border:0}.locale-switcher-label{font-size:.72rem;font-weight:900;line-height:1;letter-spacing:.035em;white-space:nowrap;color:inherit}.locale-switcher-options{display:inline-flex;align-items:stretch;gap:2px;padding:3px;border:1px solid rgba(100,116,139,.32);border-radius:.72rem;background:rgba(255,255,255,.94);box-shadow:0 3px 12px rgba(15,23,42,.06)}.locale-switcher-option{display:inline-flex;align-items:center;justify-content:center;gap:.22rem;min-width:2.08rem;height:1.9rem;margin:0;padding:0 .48rem;border:0;border-radius:.48rem;background:transparent;color:#334155;font:inherit;font-size:.72rem;font-weight:900;line-height:1;cursor:pointer;white-space:nowrap}.locale-switcher-option small{display:inline-grid;place-items:center;min-width:1.25rem;height:1.15rem;padding:0 .22rem;border-radius:.3rem;background:#e2e8f0;color:#334155;font-size:.58rem;line-height:1}.locale-switcher-option:hover{background:#eef2f7}.locale-switcher-option:focus-visible{outline:3px solid rgba(32,184,180,.28);outline-offset:1px}.locale-switcher-option.is-active{background:#172033;color:#fff;box-shadow:0 2px 6px rgba(15,23,42,.18)}.locale-switcher-option.is-active small{background:rgba(255,255,255,.2);color:#fff}.locale-switcher--public .locale-switcher-options{border-color:rgba(100,116,139,.32)}.locale-switcher--manager .locale-switcher-label,.locale-switcher--student .locale-switcher-label{font-size:.68rem}.locale-switcher--manager .locale-switcher-option,.locale-switcher--student .locale-switcher-option{min-width:1.92rem;height:1.75rem;padding:0 .4rem;font-size:.67rem}.locale-switcher--auth{width:100%}.locale-switcher--auth fieldset{width:100%;justify-content:space-between}.locale-switcher--auth .locale-switcher-options{margin-left:auto}.locale-switcher--course .locale-switcher-option,.locale-switcher--embed .locale-switcher-option{min-width:1.9rem;height:1.75rem;padding:0 .38rem;font-size:.66rem}.locale-switcher--embed .locale-switcher-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.public-header-language{display:flex;align-items:center;justify-content:flex-end;margin-left:auto}.public-header-controls{display:flex;align-items:center;gap:.65rem;margin-left:auto}.embed-header-tools{display:flex;align-items:center;justify-content:flex-end;gap:.7rem;min-width:0}@media(max-width:1100px) and (min-width:931px){.locale-switcher--public .locale-switcher-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.locale-switcher--public .locale-switcher-option{min-width:1.83rem;padding:0 .34rem}}@media(max-width:930px){.public-header-language{margin-left:auto}.locale-switcher--public .locale-switcher-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}@media(max-width:760px){.locale-switcher fieldset{gap:.35rem}.locale-switcher-label{font-size:.65rem}.locale-switcher-options{gap:1px;padding:2px}.locale-switcher-option,.locale-switcher--manager .locale-switcher-option,.locale-switcher--student .locale-switcher-option,.locale-switcher--course .locale-switcher-option,.locale-switcher--embed .locale-switcher-option{min-width:1.76rem;height:1.7rem;padding:0 .31rem;font-size:.63rem}.locale-switcher-option:first-child{padding:0 .4rem}.locale-switcher-option small{min-width:1.05rem;height:1.05rem;font-size:.52rem}.locale-switcher--student .locale-switcher-label,.locale-switcher--manager .locale-switcher-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}@media(max-width:520px){.locale-switcher-option{min-width:1.62rem!important;padding:0 .25rem!important}.locale-switcher-option:first-child{min-width:2.8rem!important}.locale-switcher-option small{display:none}.locale-switcher--auth .locale-switcher-label{font-size:.62rem}.embed-header-tools{width:100%;justify-content:space-between}}@media(max-width:390px){.locale-switcher--student .locale-switcher-option{min-width:1.48rem!important;height:1.58rem;padding:0 .2rem!important;font-size:.58rem}.locale-switcher--student .locale-switcher-option:first-child{min-width:2.55rem!important}}


/* Patch 3: Im Manager bleibt die manuelle Auswahl als klarer Knopfblock
   sichtbar – auch wenn ein Plattform-Admin gerade in einer Fahrschule arbeitet. */
.manager-language-control{display:flex;align-items:center;flex:0 0 auto;padding:.2rem .35rem;border:1px solid #cbd9e6;border-radius:.9rem;background:#f7fbff;box-shadow:0 2px 8px rgba(11,53,88,.08)}
.manager-language-control .locale-switcher-label{color:#0b3558;font-size:.67rem}
.manager-language-control .locale-switcher-options{border-color:#bdd0df;background:#fff;box-shadow:none}
.manager-language-control .locale-switcher-option{min-width:2rem;height:1.8rem}
.manager-language-control .locale-switcher-option.is-active{background:#0b3558;color:#fff}
@media(max-width:1180px){.manager-language-control .locale-switcher-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}
@media(max-width:900px){.manager-language-control{border:0;padding:0;background:transparent;box-shadow:none}.manager-language-control .locale-switcher-options{padding:2px}.manager-language-control .locale-switcher-option{min-width:1.72rem;height:1.68rem;padding:0 .28rem}}
@media(max-width:600px){.manager-language-control .locale-switcher-option{min-width:1.55rem!important;padding:0 .2rem!important;font-size:.6rem}.manager-language-control .locale-switcher-option:first-child{min-width:2.65rem!important}.manager-language-control .locale-switcher-option small{display:none}}
