/* DC Translate – Sprachumschalter */
.dct-switcher{display:inline-block;font-size:14px;line-height:1.2;vertical-align:middle}
.dct-switcher ul.dct-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.dct-switcher li.dct-item{margin:0;padding:0}
.dct-switcher a{display:inline-flex;align-items:center;gap:5px;text-decoration:none;color:inherit;padding:2px 4px;border-radius:3px;opacity:.85;transition:opacity .15s}
.dct-switcher a:hover,.dct-switcher li.dct-current a{opacity:1}
.dct-switcher li.dct-current a{font-weight:600}
.dct-switcher img.dct-flag{width:24px;height:18px;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.15);display:inline-block}
.dct-style-flags li.dct-current img.dct-flag{box-shadow:0 0 0 2px #2271b1}
.dct-code{font-weight:600;letter-spacing:.03em}
/* Dropdown */
.dct-style-dropdown{position:relative}
.dct-style-dropdown .dct-toggle{display:inline-flex;align-items:center;gap:6px;background:#fff;color:#222;border:1px solid #ccc;border-radius:4px;padding:5px 9px;cursor:pointer;font:inherit;line-height:1.2}
.dct-style-dropdown .dct-toggle:hover{border-color:#999}
.dct-style-dropdown .dct-caret{font-size:11px;opacity:.6}
.dct-style-dropdown ul.dct-list{display:none;position:absolute;left:0;bottom:calc(100% + 4px);min-width:170px;background:#fff;color:#222;border:1px solid #ccc;border-radius:4px;box-shadow:0 4px 16px rgba(0,0,0,.15);padding:4px 0;flex-direction:column;gap:0;z-index:9999}
.dct-style-dropdown.dct-open-down ul.dct-list{bottom:auto;top:calc(100% + 4px)}
.dct-style-dropdown.dct-open ul.dct-list{display:flex}
.dct-style-dropdown ul.dct-list li a{padding:6px 12px;width:100%;box-sizing:border-box;opacity:1}
.dct-style-dropdown ul.dct-list li a:hover{background:#f0f0f0}
.dct-style-dropdown ul.dct-list li.dct-current a{background:#f5f5f5}
/* Schwebend */
.dct-float{position:fixed;z-index:99990}
.dct-float-bottom-right{right:16px;bottom:16px}
.dct-float-bottom-left{left:16px;bottom:16px}
.dct-float-top-right{right:16px;top:16px}
.dct-float .dct-toggle{box-shadow:0 2px 10px rgba(0,0,0,.2)}
.dct-float-bottom-left ul.dct-list{left:0}
.dct-float-bottom-right ul.dct-list,.dct-float-top-right ul.dct-list{left:auto;right:0}
/* Menü */
.dct-menu-item img.dct-flag{width:20px;height:15px;vertical-align:-2px;margin-right:4px;border-radius:2px}
/* Sprachhinweis */
.dct-langbar{position:fixed;left:0;right:0;top:0;z-index:99995;background:#1d2327;color:#fff;padding:10px 44px 10px 16px;font-size:14px;line-height:1.4;box-shadow:0 2px 8px rgba(0,0,0,.3)}
.dct-langbar[hidden]{display:none}
.dct-langbar a{color:#fff;text-decoration:underline;font-weight:600;margin-left:6px}
.dct-langbar img.dct-flag{width:20px;height:15px;vertical-align:-3px;margin-right:4px;border-radius:2px}
.dct-langbar .dct-langbar-close{position:absolute;right:10px;top:4px;background:none;border:0;color:#fff;font-size:22px;cursor:pointer;line-height:1}
body.admin-bar .dct-langbar{top:32px}
@media (max-width:782px){body.admin-bar .dct-langbar{top:46px}}

/* Absicherung gegen Theme-Stile (zentrierte Listen, große Schrift, Button-Stile) */
.dct-switcher ul.dct-list,.dct-switcher ul.dct-list li{text-align:left;list-style:none;margin:0;padding:0}
.dct-switcher ul.dct-list li{background:none;border:0}
.dct-switcher ul.dct-list li::before,.dct-switcher ul.dct-list li::marker{content:none;display:none}
.dct-style-dropdown .dct-toggle{font-size:14px!important;font-weight:500;text-transform:none;letter-spacing:0;min-height:0;width:auto;margin:0}
.dct-style-dropdown ul.dct-list{width:max-content;min-width:180px;max-width:min(260px,calc(100vw - 32px));max-height:min(60vh,420px);overflow-y:auto;overscroll-behavior:contain;text-align:left}
.dct-style-dropdown ul.dct-list li{display:block;width:100%}
.dct-style-dropdown ul.dct-list li a{display:flex!important;justify-content:flex-start!important;align-items:center;gap:8px;font-size:14px!important;line-height:1.3!important;font-weight:400;white-space:nowrap;padding:7px 12px!important;color:#222!important;text-decoration:none!important}
.dct-style-dropdown ul.dct-list li.dct-current a{font-weight:600}
.dct-style-dropdown img.dct-flag{flex:0 0 auto;margin:0!important}
/* Handy: schwebender Umschalter nur mit Flagge + Kürzel, Liste kompakt */
@media (max-width:600px){
	.dct-float-bottom-right{right:10px;bottom:10px}
	.dct-float-bottom-left{left:10px;bottom:10px}
	.dct-float .dct-toggle .dct-name{display:none}
	.dct-float .dct-toggle{padding:6px 8px}
	.dct-float .dct-toggle::after{content:attr(data-code);font-weight:600;font-size:13px}
	.dct-style-dropdown ul.dct-list li a{padding:8px 12px!important}
}

.dct-style-dropdown.dct-align-right ul.dct-list{left:auto;right:0}
.dct-float .dct-toggle::after{order:1}
.dct-float .dct-toggle .dct-caret{order:2}

/* Auswahlliste immer deckend weiß */
.dct-switcher.dct-style-dropdown ul.dct-list{background:#fff!important;border:1px solid #ccc!important;border-radius:6px!important;box-shadow:0 6px 24px rgba(0,0,0,.22)!important;padding:4px 0!important;opacity:1!important}
.dct-switcher.dct-style-dropdown ul.dct-list li a:hover{background:#f0f0f0!important}
.dct-switcher.dct-style-dropdown ul.dct-list li.dct-current a{background:#f3f4f6!important}
