/*
 * Langescheid – Darstellung "Mehr Schwarz"
 * Aktiv, sobald <html class="ls-black"> gesetzt ist (siehe theme-switch.js).
 * Entspricht dem ersten Entwurf: schwarze Kopfzeile, schwarzer Hero,
 * dunkler Beratungsbereich. Alles andere bleibt unverändert.
 */

html.ls-black {
	--ls-black: #0C1613;
	--ls-black-line: #243832;
}

/* ------------------------------------------------------------ Kopfzeile */

html.ls-black .ls-topbar {
	background: var(--ls-black) !important;
}
html.ls-black .ls-topbar a,
html.ls-black .ls-topbar .ls-meta,
html.ls-black .ls-topbar .ls-lang {
	color: #C5D4CF !important;
}
html.ls-black .ls-topbar .ls-meta--accent a {
	color: #7ED9C4 !important;
}
html.ls-black .ls-topbar a:hover,
html.ls-black .ls-topbar .ls-lang a.is-active {
	color: #fff !important;
}
html.ls-black .ls-topbar svg {
	color: #7ED9C4;
}
html.ls-black .ls-topbar a:hover svg {
	color: #fff;
}

/* ----------------------------------------------------------------- Hero */

html.ls-black .ls-hero {
	background: var(--ls-black) !important;
	border-bottom-color: var(--ls-black-line);
}
html.ls-black .ls-hero::before {
	background: radial-gradient(circle, rgba(26, 138, 116, .34) 0%, rgba(26, 138, 116, 0) 68%);
}

/* Beratungsbereich der Startseite */
html.ls-black section#beratung {
	background-color: var(--ls-black) !important;
}

/* ---------------------------------------------- Unterseiten (Modern-Layout) */

html.ls-black .ls-page .ls-kicker { color: #7ED9C4; }
html.ls-black .ls-page .ls-hero h1 { color: #fff; }
html.ls-black .ls-page .ls-lead { color: #C5D4CF; }

html.ls-black .ls-page .ls-cta {
	background: var(--ls-black);
	border-left: 5px solid #1A8A74;
}
html.ls-black .ls-page .ls-cta .ls-btn {
	background: #1A8A74;
	color: #fff !important;
}
html.ls-black .ls-page .ls-cta .ls-btn:hover {
	background: #146F5E;
}

/* ------------------------------------------------------------ Umschalter */

.ls-design {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 99990;
	display: flex;
	align-items: stretch;
	transform: translate(calc(100% - 44px), -50%);
	transition: transform .3s cubic-bezier(.2, .7, .3, 1);
	font-family: Montserrat, Inter, "Helvetica Neue", Arial, sans-serif;
	font-size: 13px;
	line-height: 1.2;
	filter: drop-shadow(0 10px 28px rgba(12, 22, 19, .28));
}
.ls-design:hover,
.ls-design:focus-within,
.ls-design.is-open {
	transform: translate(0, -50%);
}

.ls-design__handle {
	flex: 0 0 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 56px;
	padding: 0;
	margin: auto 0;
	border: 1px solid #243832;
	border-right: 0;
	border-radius: 10px 0 0 10px;
	background: #0C1613;
	color: #7ED9C4;
	cursor: pointer;
}
.ls-design__handle svg { width: 22px; height: 22px; }

.ls-design__panel {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 190px;
	padding: 14px 16px 16px;
	background: #0C1613;
	color: #fff;
	border: 1px solid #243832;
	border-right: 0;
	border-radius: 12px 0 0 12px;
}

.ls-design__title {
	margin: 0;
	color: #7ED9C4;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ls-design__opts {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ls-design__opt {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 9px 12px;
	border: 1px solid #243832;
	border-radius: 6px;
	background: transparent;
	color: #C5D4CF;
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.ls-design__opt:hover { border-color: #1A8A74; color: #fff; }
.ls-design__opt[aria-pressed="true"] {
	background: #1A8A74;
	border-color: #1A8A74;
	color: #fff;
}

.ls-design__swatch {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .85);
}
.ls-design__swatch--original { background: linear-gradient(135deg, #16382F 50%, #E8F2EE 50%); }
.ls-design__swatch--black { background: #000; }

@media (max-width: 767px) {
	.ls-design { transform: translate(calc(100% - 38px), -50%); }
	.ls-design__handle { flex-basis: 38px; width: 38px; }
}
@media print {
	.ls-design { display: none; }
}
