/* ============================================================
   Rapporter Portal – Login v4 (Split-Screen, animierte Szene)
   Farben aus login_v3_2.css übernommen
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap');

:root {
	--accent:       #a43e0b;
	--accent-dark:  #8a340a;
	--accent-hi:    #e2773f;   /* hellere Variante für Text/Icons auf dunklem Grund */
	--accent-soft:  rgba(164, 62, 11, 0.16);
	--accent-ring:  rgba(164, 62, 11, 0.32);

	--bg:           #1F1F1F;   /* Login-Seite (rechts) */
	--bg-deep:      #141414;   /* Markenseite (links) */
	--surface:      rgba(34, 34, 34, 0.86);
	--field:        rgba(255, 255, 255, 0.045);
	--border:       rgba(255, 255, 255, 0.08);
	--border-strong:rgba(255, 255, 255, 0.14);

	--text:         #f0f0f0;
	--text-2:       #b9b9b9;
	--muted:        #8e8e8e;

	--ok:           #4cc27a;
	--info:         #5ba8e5;

	--radius:       12px;
	--ease:         cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
	margin: 0;
	min-height: 100%;
	background: var(--bg);
}

body.lx-body {
	font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-variant-numeric: lining-nums;
	font-size: 15px;
	line-height: 1.5;
	color: var(--text);
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.lx-sr {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

svg { display: block; }

/* ============================================================
   Layout
   ============================================================ */
.lx {
	display: grid;
	grid-template-columns: minmax(0, 1.42fr) minmax(400px, 1fr);
	min-height: 100vh;
	min-height: 100dvh;
}

/* ---------------- Markenseite (links) ---------------- */
.lx-brand {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	padding: 28px clamp(28px, 4vw, 64px) 36px;
	background:
		radial-gradient(ellipse 60% 50% at 18% 30%, rgba(164, 62, 11, 0.16), transparent 70%),
		radial-gradient(ellipse 55% 45% at 85% 85%, rgba(164, 62, 11, 0.10), transparent 70%),
		var(--bg-deep);
	isolation: isolate;
}

/* feines Punktraster */
.lx-brand::before {
	content: '';
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: radial-gradient(ellipse 80% 70% at 40% 40%, #000 30%, transparent 80%);
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 40% 40%, #000 30%, transparent 80%);
	z-index: -1;
	pointer-events: none;
}

/* Netzwerk-Berge */
.lx-peaks {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	width: 100%;
	height: 46%;
	z-index: -1;
	pointer-events: none;
	opacity: .9;
}
.lx-edge {
	stroke: rgba(226, 119, 63, 0.22);
	stroke-width: 1;
}
.lx-flow {
	stroke: rgba(226, 119, 63, 0.65);
	stroke-width: 1.4;
	stroke-dasharray: 6 14;
	animation: lxFlow 2.4s linear infinite;
	animation-delay: calc(var(--d) * -1);
}
.lx-node {
	fill: rgba(240, 240, 240, 0.55);
	animation: lxTwinkle 4.5s ease-in-out infinite;
	animation-delay: calc(var(--d) * -1);
}
.lx-node-hi {
	fill: var(--accent-hi);
	filter: drop-shadow(0 0 5px rgba(226, 119, 63, 0.9));
}

.lx-brand-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	animation: lxIn .7s var(--ease) both;
}

.lx-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--text-2);
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.lx-dot {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--ok);
	box-shadow: 0 0 0 0 rgba(76, 194, 122, .6);
	animation: lxPulse 2.4s ease-out infinite;
	flex: none;
}

.lx-brand-body {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(8px, 2vh, 24px);
	padding-top: clamp(18px, 4vh, 44px);
}

.lx-intro {
	animation: lxIn .8s .1s var(--ease) both;
}

.lx-logo img {
	display: block;
	max-width: 180px;
	max-height: 72px;
	width: auto; height: auto;
}

/* Logos mit dunkler Schrift bekommen eine helle Fläche */
.lx-logo-plate {
	display: inline-block;
	padding: 10px 14px;
	background: #f4f4f2;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.lx-logo-plate img { max-height: 52px; max-width: 160px; }

.lx-headline {
	margin: 0 0 12px;
	font-size: clamp(30px, 2.9vw, 50px);
	line-height: 1.06;
	font-weight: 700;
	letter-spacing: -0.012em;
}
.lx-headline > span { display: block; white-space: nowrap; }
.lx-headline .lx-hl-2 {
	color: var(--accent-hi);
	background: linear-gradient(95deg, #f08a52 0%, var(--accent-hi) 45%, #c4521b 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.lx-lead {
	margin: 0;
	max-width: 52ch;
	color: var(--text-2);
	font-size: 15px;
}

.lx-stats {
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-wrap: wrap;
	gap: 14px clamp(22px, 3vw, 44px);
	animation: lxIn .8s .35s var(--ease) both;
}
.lx-stats dt {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.lx-stats dd {
	margin: 2px 0 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}

/* ---------------- Szene ---------------- */
.lx-stage-wrap {
	position: relative;
	flex: 1;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: lxIn .9s .25s var(--ease) both;
}

.lx-stage {
	--s: 1;
	position: relative;
	width: 560px;
	height: 470px;
	flex: none;
	transform: scale(var(--s));
	transform-origin: center center;
	font-size: 12.5px;
}

.lx-card {
	position: absolute;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow:
		0 24px 60px rgba(0, 0, 0, .5),
		inset 0 1px 0 rgba(255, 255, 255, .05);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.lx-card-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--border);
}
.lx-card-head-sm { padding: 10px 14px; gap: 8px; }
.lx-card-title { flex: 1; min-width: 0; }
.lx-card-title strong { display: block; font-size: 13px; }
.lx-card-title small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lx-avatar {
	width: 32px; height: 32px;
	flex: none;
	display: grid;
	place-items: center;
	border-radius: 10px;
	font-weight: 700;
	font-size: 12px;
	color: #fff;
	background: linear-gradient(135deg, var(--accent-hi), var(--accent-dark));
}

.lx-muted { color: var(--muted); }
.lx-ico { width: 16px; height: 16px; fill: var(--accent-hi); }

/* Status-Chip */
.lx-chip {
	flex: none;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	border: 1px solid transparent;
	transition: background .4s, color .4s, border-color .4s;
}
.lx-chip[data-state="open"]     { color: var(--accent-hi); background: var(--accent-soft); border-color: rgba(226, 119, 63, .35); }
.lx-chip[data-state="progress"] { color: var(--info); background: rgba(91, 168, 229, .12); border-color: rgba(91, 168, 229, .35); }
.lx-chip[data-state="done"]     { color: var(--ok); background: rgba(76, 194, 122, .12); border-color: rgba(76, 194, 122, .35); }
.lx-chip.is-bump { animation: lxBump .45s var(--ease); }

/* Chat */
.lx-chat {
	left: 0; top: 36px;
	width: 332px;
	height: 318px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.lx-msgs {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
	padding: 12px 14px 6px;
	overflow: hidden;
	mask-image: linear-gradient(to bottom, transparent 0, #000 22px);
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px);
}

.lx-msg {
	max-width: 84%;
	padding: 8px 11px;
	border-radius: 13px;
	line-height: 1.4;
	animation: lxMsgIn .45s var(--ease) both;
}
.lx-msg small {
	display: block;
	margin-top: 3px;
	font-size: 10.5px;
	opacity: .65;
}
.lx-msg.in {
	align-self: flex-start;
	background: rgba(255, 255, 255, .07);
	border: 1px solid var(--border);
	border-bottom-left-radius: 4px;
}
.lx-msg.out {
	align-self: flex-end;
	color: #fff;
	background: linear-gradient(135deg, #b8490f, var(--accent-dark));
	border-bottom-right-radius: 4px;
	box-shadow: 0 6px 18px rgba(164, 62, 11, .3);
}
.lx-msg .lx-check {
	display: inline-block;
	width: 14px; height: 14px;
	vertical-align: -2px;
	margin-right: 4px;
	fill: #fff;
}
.lx-msg.is-out-leave { animation: lxMsgOut .4s ease both; }

.lx-typing {
	align-self: flex-end;
	display: inline-flex;
	gap: 4px;
	padding: 11px 13px;
	border-radius: 13px;
	border-bottom-right-radius: 4px;
	background: rgba(164, 62, 11, .35);
	animation: lxMsgIn .3s var(--ease) both;
}
.lx-typing i {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: #fff;
	opacity: .5;
	animation: lxDots 1.1s infinite ease-in-out;
}
.lx-typing i:nth-child(2) { animation-delay: .15s; }
.lx-typing i:nth-child(3) { animation-delay: .3s; }

.lx-compose {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 6px 12px 12px;
	padding: 8px 8px 8px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid var(--border);
	color: var(--muted);
	font-size: 11.5px;
}
.lx-compose svg {
	width: 26px; height: 26px;
	padding: 6px;
	border-radius: 8px;
	fill: #fff;
	background: var(--accent);
}

/* Rapport */
.lx-rapport {
	right: 0; top: 214px;
	width: 290px;
	z-index: 2;
}
.lx-rapport .lx-card-head strong { flex: 1; font-size: 13px; }

.lx-r-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 12px 14px 0;
}
.lx-r-name { font-weight: 600; font-size: 13px; }
.lx-r-hours {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
	font-variant-numeric: lining-nums tabular-nums;
}
.lx-r-meta {
	padding: 2px 14px 0;
	color: var(--muted);
	font-size: 11.5px;
	font-variant-numeric: lining-nums tabular-nums;
}

.lx-bar {
	margin: 12px 14px 0;
	height: 6px;
	border-radius: 99px;
	background: rgba(255, 255, 255, .07);
	overflow: hidden;
}
.lx-bar i {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--accent), var(--accent-hi));
	box-shadow: 0 0 12px rgba(226, 119, 63, .6);
}

.lx-r-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px 14px;
	font-size: 11.5px;
}
.lx-tag {
	padding: 2px 7px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 11px;
	color: var(--accent-hi);
	background: var(--accent-soft);
	border: 1px solid rgba(226, 119, 63, .3);
}
.lx-stamp {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 3px 9px 3px 6px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 11px;
	color: var(--ok);
	background: rgba(76, 194, 122, .12);
	border: 1px solid rgba(76, 194, 122, .35);
	opacity: 0;
	transform: scale(.6) rotate(-8deg);
	transition: opacity .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1);
}
.lx-stamp svg { width: 13px; height: 13px; fill: currentColor; }
.lx-stamp.is-on { opacity: 1; transform: none; }

/* Wochenübersicht */
.lx-week {
	left: 26px; top: 372px;
	width: 214px;
	padding: 12px 14px 10px;
}
.lx-week-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 10px;
	font-size: 11.5px;
}
.lx-week-head strong { font-size: 14px; }
.lx-bars {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	align-items: end;
	gap: 8px;
	height: 44px;
}
.lx-bars i {
	display: block;
	height: var(--h);
	border-radius: 4px 4px 2px 2px;
	background: rgba(255, 255, 255, .12);
	transform-origin: bottom;
	animation: lxGrow 1s var(--d) var(--ease) both;
}
.lx-bars i.lx-bar-now {
	background: linear-gradient(180deg, var(--accent-hi), var(--accent));
	animation: lxGrow 1s var(--d) var(--ease) both, lxBreath 2.8s 1.2s ease-in-out infinite;
}
.lx-days {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	margin-top: 6px;
	text-align: center;
	color: var(--muted);
	font-size: 10px;
}

/* Benachrichtigung */
.lx-toast {
	position: absolute;
	right: 8px; top: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 222px;
	padding: 10px 14px 10px 10px;
	border-radius: 14px;
	background: rgba(40, 40, 40, .92);
	border: 1px solid var(--border-strong);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	opacity: 0;
	transform: translateY(-10px) scale(.96);
	transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.lx-toast.is-on { opacity: 1; transform: none; }
.lx-toast strong { display: block; font-size: 12.5px; }
.lx-toast small { display: block; font-size: 11px; color: var(--muted); }
.lx-toast-ico {
	flex: none;
	display: grid;
	place-items: center;
	width: 30px; height: 30px;
	border-radius: 9px;
	background: var(--accent-soft);
}
.lx-toast-ico svg { width: 16px; height: 16px; fill: var(--accent-hi); }
.lx-toast.is-on .lx-toast-ico svg { animation: lxRing .9s .2s ease-in-out; transform-origin: 50% 10%; }

/* Datenfluss-Linie */
.lx-link {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	overflow: visible;
	pointer-events: none;
}
.lx-link-path {
	fill: none;
	stroke: rgba(226, 119, 63, .55);
	stroke-width: 1.5;
	stroke-dasharray: 4 7;
	animation: lxFlow 1.6s linear infinite;
}
.lx-link-dot { fill: var(--accent-hi); filter: drop-shadow(0 0 6px var(--accent-hi)); }

/* ---------------- Login (rechts) ---------------- */
.lx-auth {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px clamp(24px, 4vw, 64px);
	background:
		radial-gradient(ellipse 80% 40% at 100% 0%, rgba(164, 62, 11, .07), transparent 70%),
		var(--bg);
	border-left: 1px solid var(--border);
}

.lx-auth-inner {
	width: 100%;
	max-width: 400px;
	animation: lxIn .7s .15s var(--ease) both;
}

.lx-mobile-logo { display: none; }

.lx-auth h1 {
	margin: 0 0 8px;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.lx-sub {
	margin: 0 0 28px;
	color: var(--text-2);
}

/* Meldungen */
.lx-alert {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 20px;
	padding: 12px 14px;
	border-radius: var(--radius);
	font-size: 14px;
	line-height: 1.45;
	animation: lxShake .5s var(--ease) both;
}
.lx-alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: currentColor; }
.lx-alert a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.lx-alert-error {
	color: #f3b08c;
	background: rgba(164, 62, 11, .14);
	border: 1px solid rgba(226, 119, 63, .38);
}
.lx-alert-success {
	color: #9fe0b8;
	background: rgba(76, 194, 122, .1);
	border: 1px solid rgba(76, 194, 122, .35);
	animation-name: lxIn;
}

/* Formular */
.lx-form { display: flex; flex-direction: column; gap: 14px; }

.lx-field {
	position: relative;
	display: block;
}
.lx-field-ico {
	position: absolute;
	left: 16px; top: 50%;
	width: 18px; height: 18px;
	transform: translateY(-50%);
	fill: var(--muted);
	transition: fill .2s;
	pointer-events: none;
}
.lx-field input {
	width: 100%;
	height: 54px;
	padding: 0 16px 0 46px;
	font: inherit;
	font-size: 15px;
	color: var(--text);
	background: var(--field);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	outline: none;
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.lx-field input[type="password"],
.lx-field input#password { padding-right: 52px; }
.lx-field input::placeholder { color: var(--muted); }
.lx-field input:hover { border-color: rgba(255, 255, 255, .22); }
.lx-field input:focus {
	border-color: var(--accent-hi);
	background: rgba(164, 62, 11, .07);
	box-shadow: 0 0 0 4px var(--accent-ring);
}
.lx-field:focus-within .lx-field-ico { fill: var(--accent-hi); }
.lx-field.is-invalid input { border-color: #e0664a; animation: lxShake .4s var(--ease); }

/* Chrome Autofill dunkel halten */
.lx-field input:-webkit-autofill {
	-webkit-text-fill-color: var(--text);
	-webkit-box-shadow: 0 0 0 1000px #2a2522 inset;
	caret-color: var(--text);
}

.lx-eye {
	position: absolute;
	right: 8px; top: 50%;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	padding: 0;
	border: 0;
	border-radius: 9px;
	background: transparent;
	cursor: pointer;
	transition: background .2s;
}
.lx-eye svg { width: 20px; height: 20px; fill: var(--muted); transition: fill .2s; }
.lx-eye:hover { background: rgba(255, 255, 255, .06); }
.lx-eye:hover svg { fill: var(--text); }
.lx-eye:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 1px; }
.lx-eye-closed { display: none !important; }
.lx-eye[aria-pressed="true"] .lx-eye-open { display: none !important; }
.lx-eye[aria-pressed="true"] .lx-eye-closed { display: block !important; }

.lx-caps {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: -4px;
	font-size: 12.5px;
	color: #f3b08c;
}
.lx-caps[hidden] { display: none; }
.lx-caps svg { width: 14px; height: 14px; fill: currentColor; }

.lx-row {
	display: flex;
	justify-content: flex-end;
	margin: -2px 0 4px;
}
.lx-row a,
.lx-row a:visited {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--text-2);
	text-decoration: none;
	transition: color .2s;
}
.lx-row a:hover { color: var(--accent-hi); }

.lx-submit {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 54px;
	border: 0;
	border-radius: var(--radius);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .01em;
	color: #fff;
	background: linear-gradient(135deg, #b8490f 0%, var(--accent) 55%, var(--accent-dark) 100%);
	box-shadow: 0 10px 28px rgba(164, 62, 11, .35), inset 0 1px 0 rgba(255, 255, 255, .15);
	cursor: pointer;
	overflow: hidden;
	transition: transform .15s, box-shadow .25s, filter .25s;
}
.lx-submit::after { /* Glanz */
	content: '';
	position: absolute;
	top: 0; bottom: 0; left: -60%;
	width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
	transform: skewX(-20deg);
	transition: left .7s var(--ease);
}
.lx-submit:hover { filter: brightness(1.08); box-shadow: 0 14px 34px rgba(164, 62, 11, .5), inset 0 1px 0 rgba(255, 255, 255, .15); transform: translateY(-1px); }
.lx-submit:hover::after { left: 120%; }
.lx-submit:active { transform: translateY(0); }
.lx-submit:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.lx-submit-arrow { width: 18px; height: 18px; fill: currentColor; transition: transform .25s var(--ease); }
.lx-submit:hover .lx-submit-arrow { transform: translateX(4px); }

.lx-spinner {
	display: none;
	width: 20px; height: 20px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	animation: lxSpin .7s linear infinite;
}
.lx-submit.is-loading { pointer-events: none; }
.lx-submit.is-loading .lx-submit-label,
.lx-submit.is-loading .lx-submit-arrow { display: none; }
.lx-submit.is-loading .lx-spinner { display: block; }

.lx-status,
.lx-status:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 22px;
	font-size: 13px;
	color: var(--text-2);
	text-decoration: none;
}
.lx-status-url { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .25); }
.lx-status:hover .lx-status-url { color: var(--text); text-decoration-color: var(--accent-hi); }

.lx-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px 16px;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
	font-size: 12.5px;
	color: var(--muted);
}
.lx-swiss { display: inline-flex; align-items: center; gap: 8px; }
.lx-swiss svg { width: 14px; height: 14px; }
.lx-foot a, .lx-foot a:visited { color: var(--muted); text-decoration: none; transition: color .2s; }
.lx-foot a:hover { color: var(--accent-hi); }
.lx-copy { margin: 10px 0 0; font-size: 12px; color: #6f6f6f; }

/* ---------------- Lokaler Mandanten-Umschalter ---------------- */
.lx-dev {
	position: fixed;
	left: 16px; bottom: 16px;
	z-index: 50;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	max-width: calc(100vw - 32px);
	padding: 6px;
	border-radius: 12px;
	font-size: 12px;
	background: rgba(10, 10, 10, .85);
	border: 1px dashed rgba(226, 119, 63, .5);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.lx-dev span { padding: 0 6px; color: var(--muted); }.lx-dev a, .lx-dev a:visited {
	padding: 4px 9px;
	border-radius: 8px;
	color: var(--text-2);
	text-decoration: none;
}
.lx-dev a:hover { background: rgba(255, 255, 255, .08); }
.lx-dev a.is-active { color: #fff; background: var(--accent); }

/* ============================================================
   Responsive
   ============================================================ */

/* Laptop: Login-Spalte etwas breiter gewichten */
@media (max-width: 1280px) {
	.lx { grid-template-columns: minmax(0, 1.15fr) minmax(380px, 1fr); }
}

/* niedrige Bildschirme: Platz für die Szene schaffen */
@media (max-height: 800px) {
	.lx-lead { display: none; }
	.lx-brand { padding-top: 22px; padding-bottom: 26px; }
}
@media (max-height: 680px) {
	.lx-stats { display: none; }
}

/* Tablet / Mobile: nur Login */
@media (max-width: 900px) {
	.lx { grid-template-columns: 1fr; }
	.lx-brand { display: none; }
	.lx-auth {
		align-items: flex-start;
		min-height: 100vh;
		min-height: 100dvh;
		padding: 40px 18px 28px;
		border-left: 0;
		background:
			radial-gradient(ellipse 90% 45% at 20% 0%, rgba(164, 62, 11, .16), transparent 70%),
			var(--bg);
	}
	.lx-auth-inner { margin: 0 auto; }
	.lx-mobile-logo { display: inline-block; margin-bottom: 30px; }
	.lx-mobile-logo img { display: block; max-width: 170px; max-height: 80px; width: auto; height: auto; }
	.lx-mobile-logo.lx-logo-plate { padding: 10px 14px; background: #f4f4f2; border-radius: 12px; }
	.lx-mobile-logo.lx-logo-plate img { max-height: 56px; max-width: 150px; }
	.lx-auth h1 { font-size: 28px; }
	.lx-dev { bottom: 10px; left: 10px; }
}

/* ============================================================
   Animationen
   ============================================================ */
@keyframes lxIn      { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lxFlow    { to { stroke-dashoffset: -40; } }
@keyframes lxTwinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes lxPulse   { 0% { box-shadow: 0 0 0 0 rgba(76, 194, 122, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(76, 194, 122, 0); } }
@keyframes lxMsgIn   { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lxMsgOut  { to { opacity: 0; transform: translateY(-8px); } }
@keyframes lxDots    { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes lxBump    { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes lxGrow    { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes lxBreath  { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }
@keyframes lxRing    { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 80% { transform: rotate(-4deg); } }
@keyframes lxShake   { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes lxSpin    { to { transform: rotate(360deg); } }

@keyframes lxFade    { from { opacity: 0; } to { opacity: 1; } }

/* Reduzierte Bewegung: Szene läuft weiter, aber nur mit Überblendungen statt Bewegung */
@media (prefers-reduced-motion: reduce) {
	/* Bewegung aus – reine Helligkeits-/Transparenz-Effekte (Funkeln, Pulsieren) bleiben */
	.lx-flow, .lx-link-path, .lx-chip.is-bump,
	.lx-toast.is-on .lx-toast-ico svg, .lx-field.is-invalid input { animation: none; }
	.lx-bars i { animation: lxFade .8s var(--d) ease both; }
	.lx-bars i.lx-bar-now { animation: lxFade .8s var(--d) ease both, lxBreath 2.8s 1.2s ease-in-out infinite; }
	.lx-typing i { animation: lxTwinkle 1.1s infinite ease-in-out; }
	.lx-link-dot { display: none; }
	.lx-msg, .lx-typing, .lx-alert,
	.lx-brand-top, .lx-intro, .lx-stage-wrap, .lx-stats, .lx-auth-inner { animation: lxFade .5s ease both; }
	.lx-toast, .lx-stamp, .lx-toast.is-on, .lx-stamp.is-on { transform: none; }
	.lx-submit, .lx-submit::after, .lx-submit-arrow { transition: none; }
	.lx-submit:hover, .lx-submit:hover .lx-submit-arrow { transform: none; }
}
