/* Noel Translate – Sprachumschalter */
:root {
	--nt-accent: #921916;
	--nt-text: #1c232f;
	--nt-bg: #ffffff;
	--nt-border: rgba(0, 0, 0, 0.12);
}

.nt-switcher {
	position: relative;
	display: inline-block;
	font-family: inherit;
	font-size: 14px;
	line-height: 1;
	color: var(--nt-text);
	text-align: left;
}

.nt-switcher button {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	font-family: inherit;
}

.nt-switcher .nt-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 40px;
	padding: 0 14px;
	border-radius: 200px;
	background: var(--nt-bg);
	border: 1px solid var(--nt-border);
	color: var(--nt-text);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nt-switcher .nt-btn:hover,
.nt-switcher.is-open .nt-btn {
	color: var(--nt-accent);
	border-color: var(--nt-accent);
}

.nt-switcher .nt-btn:focus-visible,
.nt-switcher .nt-item:focus-visible {
	outline: 2px solid var(--nt-accent);
	outline-offset: 2px;
}

.nt-switcher svg {
	display: block;
	flex: none;
}

.nt-switcher .nt-caret {
	transition: transform 0.2s ease;
}

.nt-switcher.is-open .nt-caret {
	transform: rotate(180deg);
}

.nt-switcher .nt-list {
	position: absolute;
	z-index: 10;
	top: calc(100% + 8px);
	right: 0;
	min-width: 180px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--nt-bg);
	border-radius: 12px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.nt-switcher .nt-list[hidden] {
	display: none;
}

.nt-switcher .nt-list li {
	display: block;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nt-switcher .nt-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	color: var(--nt-text);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.nt-switcher .nt-item:hover {
	background: rgba(0, 0, 0, 0.05);
}

.nt-switcher .nt-item.is-active {
	color: var(--nt-accent);
	font-weight: 600;
}

.nt-switcher .nt-code {
	display: inline-block;
	width: 24px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	opacity: 0.55;
}

.nt-switcher .nt-item.is-active .nt-code {
	opacity: 1;
}

/* Schwebend unten links oder rechts */
.nt-switcher.nt-floating {
	position: fixed;
	z-index: 9990;
	bottom: 20px;
}

.nt-switcher.nt-floating.nt-left {
	left: 20px;
}

.nt-switcher.nt-floating.nt-right {
	right: 20px;
}

.nt-switcher.nt-floating .nt-btn {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

.nt-switcher.nt-floating .nt-list {
	top: auto;
	bottom: calc(100% + 8px);
}

.nt-switcher.nt-floating.nt-left .nt-list {
	left: 0;
	right: auto;
}

/* Im Kopfbereich (Salient): ab 1000px im Menü, darunter schwebend */
.nt-header-item {
	display: flex;
	align-items: center;
	margin: 0 0 0 auto;
	padding: 0 0 0 20px;
	list-style: none;
}

.nt-header-item + .right-aligned-menu-items {
	margin-left: 16px !important;
}

.nt-switcher.nt-header .nt-btn {
	height: 38px;
}

.nt-switcher.nt-mobile-only {
	display: none;
}

@media (max-width: 999px) {
	.nt-header-item {
		display: none !important;
	}

	.nt-switcher.nt-mobile-only {
		display: inline-block;
	}
}

@media print {
	.nt-switcher.nt-floating {
		display: none;
	}
}
