/**
 * Buchly Login – BillMore Split + Animationen
 */

:root {
	--buchly-orange: 249 115 22;
	--buchly-orange-light: 251 146 60;
	--buchly-orange-dark: 194 65 12;
	--buchly-field-border: #94a3b8;
	--buchly-field-border-hover: #64748b;
	--buchly-field-bg: #ffffff;
	--buchly-field-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

@keyframes billmore-auth-fade-up {
	from {
		opacity: 0;
		transform: translateY(1.25rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes billmore-auth-ken-burns {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.1);
	}
}

@keyframes billmore-auth-float {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}
	50% {
		transform: translate3d(0, -1.25rem, 0);
	}
}

@keyframes billmore-auth-glow-pulse {
	0%,
	100% {
		opacity: 0.45;
		transform: scale(1);
	}
	50% {
		opacity: 0.75;
		transform: scale(1.08);
	}
}

@keyframes billmore-auth-tagline-in {
	from {
		opacity: 0;
		transform: translateY(1.5rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

html.billmore-auth-html,
body.billmore-auth-page {
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100%;
	background: #fff;
	overflow-x: hidden;
}

body.billmore-auth-page.billmore-fullpage .entry-content,
body.billmore-auth-page.billmore-fullpage .wp-block-post-content,
body.billmore-auth-page.billmore-fullpage main.wp-block-group,
body.billmore-auth-page .site-content,
body.billmore-auth-page .content-area,
body.billmore-auth-page #content,
body.billmore-auth-page .container,
body.billmore-auth-page .wrap,
body.billmore-auth-page article,
body.billmore-auth-page .hentry {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.billmore-auth-page .billmore-auth-root {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.billmore-auth-root {
	--buchly-orange: 249 115 22;
	--buchly-orange-light: 251 146 60;
	--buchly-orange-dark: 194 65 12;
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
	background: #fff;
}

.billmore-auth-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	box-sizing: border-box;
}

/* ---- Login: Split-Layout wie BillMore ---- */
.billmore-auth-layout--login {
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	min-height: calc(100vh - 4.5rem);
	min-height: calc(100dvh - 4.5rem);
	padding: 0;
	background: #fff;
}

.billmore-auth-panel--login {
	position: relative;
	z-index: 10;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	min-height: calc(100vh - 4.5rem);
	min-height: calc(100dvh - 4.5rem);
	background: #fff;
	padding: 2.5rem 1rem 5.5rem;
	box-sizing: border-box;
}

.billmore-auth-main--login {
	width: 100%;
	max-width: 26rem;
	margin: 0 auto;
	box-sizing: border-box;
}

.billmore-auth-visual--login {
	display: none;
}

.billmore-auth-main--login .billmore-auth-logo {
	width: 100%;
	max-width: 20.5rem;
	height: auto;
	display: block;
}

@keyframes buchly-logo-blink {
	0%,
	100% {
		opacity: 1;
	}
	10% {
		opacity: 0;
	}
	20% {
		opacity: 1;
	}
	30% {
		opacity: 0;
	}
	40% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	60% {
		opacity: 1;
	}
}

.buchly-logo-animated {
	animation: buchly-logo-blink 2.4s ease-in-out 1 forwards;
}

.billmore-auth-main--login .billmore-auth-title {
	margin-top: 1.75rem;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.4;
	color: #111827;
}

.billmore-auth-main--login .billmore-auth-lead {
	margin-top: 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #4b5563;
}

.billmore-auth-main--login .billmore-auth-form {
	margin-top: 2rem;
	gap: 1.25rem;
}

.billmore-auth-main--login .billmore-auth-field label {
	margin-bottom: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #374151;
}

.billmore-auth-main--login .billmore-auth-input {
	min-height: 3rem;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	border-radius: 0.5rem;
	border-color: #e5e7eb;
	background: #f9fafb;
}

.billmore-auth-main--login .billmore-auth-input:focus {
	background: #fff;
}

.billmore-auth-main--login .billmore-auth-submit {
	min-height: 3rem;
	margin-top: 0.5rem;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 0.5rem;
}

.billmore-auth-main--login .billmore-auth-submit svg {
	width: 1.25rem;
	height: 1.25rem;
}

.billmore-auth-main--login .billmore-auth-forgot {
	margin-top: 1rem;
	display: flex;
	justify-content: center;
	padding-bottom: 1.25rem;
}

.billmore-auth-main--login .billmore-auth-forgot a {
	font-size: 0.9375rem;
	font-weight: 500;
}

.billmore-auth-back-home {
	margin: 1.25rem 0 0;
}

.billmore-auth-back-home-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #6b7280 !important;
	text-decoration: none;
	transition: color 0.2s ease;
}

.billmore-auth-back-home-link:hover {
	color: rgb(var(--buchly-orange-dark)) !important;
}

.billmore-auth-back-home-link svg {
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
}

.billmore-auth-brand {
	margin-bottom: 0.25rem;
}

.billmore-auth-brand--center {
	display: flex;
	justify-content: center;
}

.billmore-auth-logo {
	width: auto;
	height: auto;
	max-width: 18rem;
	display: block;
	overflow: visible;
}

.billmore-auth-title {
	margin: 2rem 0 0;
	font-family: Lexend, Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: clamp(1.75rem, 3vw, 2rem);
	font-weight: 600;
	line-height: 1.25;
	color: #111827;
}

.billmore-auth-title--center {
	text-align: center;
	margin-top: 1.5rem;
}

.billmore-auth-lead {
	margin: 1rem 0 0;
	font-size: 1rem;
	line-height: 1.6;
	color: #374151;
}

.billmore-auth-lead--center {
	text-align: center;
}

.billmore-auth-lead a {
	font-weight: 500;
	color: rgb(var(--buchly-orange));
	text-decoration: none;
}

.billmore-auth-lead a:hover {
	color: rgb(var(--buchly-orange-dark));
	text-decoration: underline;
}

.billmore-auth-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin-top: 2.25rem;
}

.billmore-auth-field label {
	display: block;
	margin-bottom: 0.5rem;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1f2937;
}

/* Sichtbare Eingabe-Kaesten – Login, Register, Onboarding */
.billmore-auth-input,
.billmore-auth-select,
select.billmore-auth-input {
	display: block;
	width: 100%;
	min-height: 3.25rem;
	box-sizing: border-box;
	appearance: none;
	border: 1.5px solid var(--buchly-field-border);
	border-radius: 0.625rem;
	background: var(--buchly-field-bg);
	padding: 0.75rem 1rem;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	color: #111827;
	box-shadow: var(--buchly-field-shadow);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.billmore-auth-select,
select.billmore-auth-input {
	cursor: pointer;
	padding-right: 2.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 1.125rem;
}

.billmore-auth-input::placeholder {
	color: #9ca3af;
	opacity: 1;
}

.billmore-auth-input:hover,
.billmore-auth-select:hover,
select.billmore-auth-input:hover {
	border-color: var(--buchly-field-border-hover);
}

.billmore-auth-input:focus,
.billmore-auth-select:focus,
select.billmore-auth-input:focus {
	outline: none;
	border-color: rgb(var(--buchly-orange));
	background: #fff;
	box-shadow: 0 0 0 3px rgba(var(--buchly-orange), 0.22), var(--buchly-field-shadow);
}

.billmore-auth-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 3.25rem;
	margin-top: 0.75rem;
	border: 0;
	border-radius: 0.625rem;
	padding: 0.875rem 1rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	background-color: rgb(var(--buchly-orange));
	color: #fff !important;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.billmore-auth-submit:hover {
	background-color: rgb(var(--buchly-orange-dark));
	color: #fff !important;
}

.billmore-auth-submit svg {
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
}

.billmore-auth-forgot {
	margin-top: 1.5rem;
	text-align: center;
}

.billmore-auth-forgot a {
	font-size: 0.9375rem;
	font-weight: 500;
	color: rgb(var(--buchly-orange));
	text-decoration: none;
}

.billmore-auth-forgot a:hover {
	text-decoration: underline;
}

.billmore-auth-logged-in-actions {
	margin-top: 2rem;
}

.billmore-auth-logged-in-actions .billmore-auth-submit {
	width: auto;
}

/* ---- Register: Modal auf unscharfem Dashboard ---- */
.billmore-signup-scene {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	overflow: hidden;
}

.billmore-signup-backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: #eef2f7;
}

.billmore-signup-backdrop-inner {
	position: absolute;
	inset: -2rem;
	filter: blur(7px);
	transform: scale(1.04);
	opacity: 0.95;
}

.billmore-signup-mock {
	display: flex;
	min-height: 100%;
	background: #f3f4f6;
}

.billmore-signup-mock-sidebar {
	width: 16rem;
	padding: 1.5rem 1rem;
	background: #fff;
	border-right: 1px solid #e5e7eb;
}

.billmore-signup-mock-logo {
	width: 7rem;
	height: 1.5rem;
	margin-bottom: 2rem;
	border-radius: 0.375rem;
	background: #e5e7eb;
}

.billmore-signup-mock-sidebar span {
	display: block;
	height: 0.875rem;
	margin-bottom: 0.85rem;
	border-radius: 0.375rem;
	background: #f3f4f6;
}

.billmore-signup-mock-sidebar span:first-of-type {
	width: 70%;
	background: #ffedd5;
}

.billmore-signup-mock-main {
	flex: 1;
	padding: 2rem 2.5rem;
}

.billmore-signup-mock-topbar {
	height: 3rem;
	margin-bottom: 2rem;
	border-radius: 0.5rem;
	background: #fff;
}

.billmore-signup-mock-title {
	width: 40%;
	height: 1.75rem;
	margin-bottom: 0.75rem;
	border-radius: 0.375rem;
	background: #d1d5db;
}

.billmore-signup-mock-subtitle {
	width: 28%;
	height: 1rem;
	margin-bottom: 2rem;
	border-radius: 0.375rem;
	background: #e5e7eb;
}

.billmore-signup-mock-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.billmore-signup-mock-cards div {
	height: 6.5rem;
	border-radius: 0.5rem;
	background: #fff;
}

.billmore-signup-mock-chart {
	height: 14rem;
	border-radius: 0.5rem;
	background: linear-gradient(180deg, #fff 0%, #f9fafb 100%);
}

.billmore-signup-modal-wrap {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 2rem 1.25rem 5rem;
	box-sizing: border-box;
}

.billmore-signup-modal {
	width: 100%;
	max-width: 42rem;
	max-height: min(92vh, 52rem);
	overflow-y: auto;
	border-radius: 0.875rem;
	background: #fff;
	padding: 2.5rem 2rem 2rem;
	box-shadow:
		0 25px 50px -12px rgba(15, 23, 42, 0.22),
		0 0 0 1px rgba(15, 23, 42, 0.04);
	box-sizing: border-box;
}

.billmore-signup-modal .billmore-auth-logo {
	max-width: 9.5rem;
	margin: 0 auto;
}

.billmore-signup-modal .billmore-auth-form {
	margin-top: 1.75rem;
	gap: 1rem;
}

.billmore-signup-modal .billmore-auth-submit {
	margin-top: 1rem;
}

.billmore-auth-panel {
	position: relative;
	z-index: 10;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	min-height: 0;
	background: #fff;
	padding: 2.5rem 1.25rem;
	box-sizing: border-box;
}

.billmore-auth-main {
	width: 100%;
	max-width: 28rem;
	margin: 0 auto;
	box-sizing: border-box;
}

.billmore-auth-animate-item {
	opacity: 0;
	animation: billmore-auth-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: var(--bm-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
	.billmore-auth-animate-item {
		opacity: 1;
		animation: none;
	}

	.buchly-logo-animated {
		animation: none;
		opacity: 1;
	}

	.billmore-auth-visual-img,
	.billmore-auth-visual-glow,
	.billmore-auth-shape,
	.billmore-auth-visual-tagline,
	.billmore-auth-visual-sub {
		animation: none !important;
	}
}

.billmore-auth-logo {
	width: auto;
	height: auto;
	max-width: 11rem;
	display: block;
	transition: transform 0.35s ease;
}

.billmore-auth-brand a:hover .billmore-auth-logo {
	transform: scale(1.02);
}

.billmore-auth-title {
	margin: 2rem 0 0;
	font-family: Lexend, Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: clamp(1.75rem, 3vw, 2rem);
	font-weight: 600;
	line-height: 1.25;
	color: #111827;
}

.billmore-auth-lead {
	margin: 1rem 0 0;
	font-size: 1rem;
	line-height: 1.6;
	color: #374151;
}

.billmore-auth-lead a {
	font-weight: 500;
	color: rgb(var(--buchly-orange));
	text-decoration: none;
	transition: color 0.2s ease;
}

.billmore-auth-lead a:hover {
	color: rgb(var(--buchly-orange-dark));
	text-decoration: underline;
}

.billmore-auth-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin-top: 2.25rem;
}

.billmore-auth-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 3.25rem;
	margin-top: 0.75rem;
	border: 0;
	border-radius: 0.625rem;
	padding: 0.875rem 1rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	background-color: rgb(var(--buchly-orange));
	color: #fff !important;
	box-shadow: none;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.billmore-auth-submit:hover {
	background-color: rgb(var(--buchly-orange-dark));
	color: #fff !important;
	box-shadow: none;
	transform: none;
}

.billmore-auth-submit:hover svg {
	transform: none;
}

.billmore-auth-submit:active {
	transform: scale(0.99);
}

.billmore-auth-submit svg {
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
}

.billmore-auth-forgot {
	margin-top: 1.5rem;
	text-align: center;
}

.billmore-auth-forgot a {
	font-size: 0.9375rem;
	font-weight: 500;
	color: rgb(var(--buchly-orange));
	text-decoration: none;
	transition: color 0.2s ease;
}

.billmore-auth-forgot a:hover {
	color: rgb(var(--buchly-orange-dark));
	text-decoration: underline;
}

.billmore-auth-logged-in-actions {
	margin-top: 2rem;
}

.billmore-auth-logged-in-actions .billmore-auth-submit {
	width: auto;
}

/* Rechte Seite */
.billmore-auth-visual {
	display: block;
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	min-height: 18rem;
	overflow: hidden;
	background: linear-gradient(135deg, #312e81 0%, #6366f1 35%, #a855f7 65%, #ec4899 100%);
}

.billmore-auth-visual-glow {
	position: absolute;
	inset: -20%;
	z-index: 1;
	background: radial-gradient(circle at 30% 40%, rgba(251, 146, 60, 0.45), transparent 55%),
		radial-gradient(circle at 70% 70%, rgba(236, 72, 153, 0.35), transparent 50%);
	animation: billmore-auth-glow-pulse 8s ease-in-out infinite;
	pointer-events: none;
}

.billmore-auth-visual-shapes {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.billmore-auth-shape {
	position: absolute;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(2px);
}

.billmore-auth-shape--1 {
	top: 12%;
	left: 10%;
	width: 5rem;
	height: 5rem;
	animation: billmore-auth-float 7s ease-in-out infinite;
}

.billmore-auth-shape--2 {
	top: 55%;
	right: 14%;
	width: 7rem;
	height: 7rem;
	animation: billmore-auth-float 9s ease-in-out infinite 1s;
}

.billmore-auth-shape--3 {
	bottom: 18%;
	left: 22%;
	width: 4rem;
	height: 4rem;
	animation: billmore-auth-float 6s ease-in-out infinite 0.5s;
}

.billmore-auth-visual-img {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	animation: billmore-auth-ken-burns 22s ease-in-out infinite alternate;
	will-change: transform;
}

.billmore-auth-visual-overlay {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: clamp(2rem, 5vw, 4rem);
	background: linear-gradient(to top, rgba(15, 23, 42, 0.55) 0%, transparent 55%);
	pointer-events: none;
}

.billmore-auth-visual-tagline {
	margin: 0;
	font-family: Lexend, Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
	animation: billmore-auth-tagline-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.billmore-auth-visual-sub {
	margin: 0.75rem 0 0;
	max-width: 28rem;
	font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
	animation: billmore-auth-tagline-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.billmore-auth-footer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 30;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	padding: 1rem 1.5rem;
	background: #fff;
	border-top: 1px solid #e5e7eb;
	box-shadow: 0 -1px 3px rgba(15, 23, 42, 0.06);
}

.billmore-auth-footer--minimal {
	justify-content: flex-start;
	border-top: 0;
	box-shadow: none;
}

body.billmore-auth-page--register .billmore-auth-footer--minimal {
	background: transparent;
}

.billmore-auth-footer-copy {
	font-size: 0.875rem;
	color: #6b7280;
}

.billmore-auth-footer-copy a {
	color: inherit;
	text-decoration: none;
}

.billmore-auth-footer-copy a:hover {
	text-decoration: underline;
}

.billmore-auth-footer-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	font-weight: 500;
	color: #6b7280;
}

.billmore-auth-footer-links a {
	color: rgb(var(--buchly-orange));
	text-decoration: none;
}

.billmore-auth-footer-links a:hover {
	color: rgb(var(--buchly-orange-light));
	text-decoration: underline;
}

.billmore-auth-notice {
	margin-top: 1rem;
	border-radius: 0.5rem;
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	line-height: 1.45;
	animation: billmore-auth-fade-up 0.5s ease both;
}

.billmore-auth-notice--ok {
	border: 1px solid #bbf7d0;
	background: #f0fdf4;
	color: #166534;
}

.billmore-auth-notice--err {
	border: 1px solid #fecaca;
	background: #fef2f2;
	color: #991b1b;
}

.billmore-auth-notice--info {
	border: 1px solid #bfdbfe;
	background: #eff6ff;
	color: #1e40af;
}

@media (min-width: 640px) {
	.billmore-auth-panel--login {
		padding: 2.5rem 1.5rem 5.5rem;
		box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
	}

	.billmore-signup-modal {
		padding: 2.75rem 2.5rem 2.25rem;
		max-width: 42rem;
	}
}

@media (min-width: 768px) {
	.billmore-auth-layout--login {
		flex-direction: row;
		align-items: stretch;
		justify-content: center;
		min-height: 100vh;
		min-height: 100dvh;
	}

	.billmore-auth-panel--login {
		flex: 0 0 clamp(26rem, 32vw, 36rem);
		width: clamp(26rem, 32vw, 36rem);
		max-width: 36rem;
		min-height: 100vh;
		min-height: 100dvh;
		align-items: flex-start;
		justify-content: flex-start;
		padding: 3.25rem clamp(2.5rem, 4vw, 4.5rem) 5.5rem;
	}

	.billmore-auth-main--login {
		max-width: 100%;
		width: 100%;
		margin: 0;
	}

	.billmore-auth-visual--login {
		display: block;
		position: relative;
		flex: 1 1 auto;
		min-height: 18rem;
		overflow: hidden;
		background: #312e81;
	}

	.billmore-auth-visual--login .billmore-auth-visual-img {
		animation: none;
	}
}

@media (min-width: 1024px) {
	.billmore-auth-layout--login {
		padding-left: 0;
		padding-right: 0;
	}

	.billmore-auth-panel--login {
		flex: 0 0 clamp(28rem, 32vw, 38rem);
		width: clamp(28rem, 32vw, 38rem);
		max-width: 38rem;
		padding: 3.5rem clamp(3rem, 5vw, 5.5rem) 5.5rem;
	}

	.billmore-auth-visual--login {
		display: block;
		flex: 1 1 auto;
		min-height: 100vh;
		min-height: 100dvh;
	}
}

/* ---- Registrierung / Onboarding ---- */
.billmore-auth-panel--register {
	justify-content: flex-start;
	padding-top: 2rem;
	padding-bottom: 2rem;
	overflow-y: auto;
}

.billmore-auth-main--register {
	max-width: 36rem;
}

.billmore-auth-layout--register {
	min-height: calc(100vh - 4.5rem);
}

.billmore-ob-wrap {
	width: 100%;
}

.billmore-ob-promo {
	margin-top: 1rem;
	border-radius: 0.5rem;
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #374151;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
}

.billmore-ob-promo--active {
	color: #9a3412;
	background: #fff7ed;
	border-color: #fed7aa;
}

.billmore-ob-promo strong {
	color: rgb(var(--buchly-orange-dark));
}

.billmore-ob-progress {
	height: 0.5rem;
	margin: 1rem 0 1.25rem;
	border-radius: 9999px;
	overflow: hidden;
	background: #e5e7eb;
}

.billmore-ob-progress > span {
	display: block;
	height: 100%;
	border-radius: 9999px;
	background: linear-gradient(90deg, rgb(var(--buchly-orange)), rgb(var(--buchly-orange-light)));
	transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.billmore-ob-step {
	display: none;
}

.billmore-ob-step.is-active {
	display: block;
}

.billmore-ob-step.is-entering {
	animation: billmore-auth-fade-up 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.billmore-ob-title {
	margin: 0 0 0.75rem;
	font-family: Lexend, Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: clamp(1.25rem, 2.2vw, 1.75rem);
	font-weight: 600;
	line-height: 1.25;
	color: #111827;
}

.billmore-ob-sub {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	color: #6b7280;
}

.billmore-ob-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.billmore-ob-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.billmore-ob-grid--3 {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 480px) {
	.billmore-ob-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.billmore-ob-card {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
	border: 1.5px solid var(--buchly-field-border);
	border-radius: 0.75rem;
	background: #fff;
	padding: 1rem 1.125rem;
	cursor: pointer;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #111827;
	box-shadow: var(--buchly-field-shadow);
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.billmore-ob-card small {
	display: block;
	margin-top: 0.375rem;
	font-weight: 500;
	font-size: 0.8125rem;
	color: #6b7280;
}

.billmore-ob-card:hover {
	border-color: rgba(var(--buchly-orange), 0.45);
	background: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.billmore-auth-hint {
	margin: 0.375rem 0 0;
	font-size: 0.8125rem;
	color: #6b7280;
}

.billmore-auth-form-row {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.billmore-auth-form-row--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.billmore-auth-check {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	margin-top: 0.5rem;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #6b7280;
}

.billmore-auth-check input {
	margin-top: 0.15rem;
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	accent-color: rgb(var(--buchly-orange));
}

.billmore-auth-check a {
	color: rgb(var(--buchly-orange));
	font-weight: 500;
	text-decoration: none;
}

.billmore-auth-check a:hover {
	text-decoration: underline;
}

.billmore-auth-form--signup .billmore-auth-submit {
	margin-top: 1rem;
}

.billmore-ob-card.is-selected {
	border-color: rgb(var(--buchly-orange));
	background: rgba(var(--buchly-orange), 0.08);
	box-shadow: 0 0 0 1px rgb(var(--buchly-orange));
}

.billmore-ob-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.billmore-ob-actions--submit .billmore-auth-submit {
	width: auto;
	min-width: 12rem;
	margin-top: 0;
}

.billmore-ob-back {
	border: 1.5px solid var(--buchly-field-border);
	border-radius: 0.5rem;
	background: #fff;
	padding: 0.625rem 0.875rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #374151 !important;
	cursor: pointer;
	box-shadow: var(--buchly-field-shadow);
	transition: border-color 0.2s ease, color 0.2s ease;
}

.billmore-ob-back:hover {
	border-color: rgb(var(--buchly-orange));
	color: rgb(var(--buchly-orange-dark)) !important;
}

.billmore-ob-next {
	width: auto;
	min-width: 8rem;
	margin-top: 0;
}

.billmore-ob-form-grid {
	display: grid;
	gap: 1rem;
}

.billmore-auth-select {
	cursor: pointer;
}

.billmore-ob-hint {
	margin: 0.375rem 0 0;
	font-size: 0.8125rem;
	color: #6b7280;
}

.billmore-ob-check {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	margin-top: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.45;
	color: #374151;
}

.billmore-ob-check input {
	margin-top: 0.2rem;
	accent-color: rgb(var(--buchly-orange));
}

.billmore-ob-legal {
	margin-top: 1rem;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #6b7280;
}

.billmore-ob-legal a {
	color: rgb(var(--buchly-orange));
	text-decoration: none;
}

.billmore-ob-legal a:hover {
	text-decoration: underline;
}

.billmore-ob-trust {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid #e5e7eb;
}

.billmore-ob-trust ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.5rem;
}

.billmore-ob-trust li {
	position: relative;
	padding-left: 1.125rem;
	font-size: 0.875rem;
	color: #4b5563;
}

.billmore-ob-trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 9999px;
	background: rgb(var(--buchly-orange));
}

@media (min-width: 768px) {
	.billmore-auth-panel--register {
		flex: 0 0 clamp(30rem, 50vw, 46rem);
		width: clamp(30rem, 50vw, 46rem);
		min-height: calc(100vh - 4.5rem);
	}

	.billmore-auth-main--register {
		max-width: 38rem;
	}
}

@media (min-width: 1280px) {
	.billmore-auth-panel--register {
		flex-basis: clamp(34rem, 46vw, 52rem);
		width: clamp(34rem, 46vw, 52rem);
	}

	.billmore-auth-main--register {
		max-width: 40rem;
	}
}
