/* ============================================================
   HQ Community — Auth (Login / Registrierung / Passwort)
   Skandinavisch-minimalistisches Split-Screen-Layout
   ============================================================ */

/* Fokussierte Auth-Bühne: globalen Rahmen ausblenden */
.hq-auth-page .site-header,
.hq-auth-page .site-footer,
.hq-auth-page .scroll-progress { display: none !important; }
.hq-auth-page .hq-app-page { padding-top: 0 !important; }
.hq-auth-page #main { margin: 0; }

.hq-auth {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	min-height: 100vh;
	background: var(--cream);
	font-family: 'Mulish', system-ui, sans-serif;
}

/* --- Bild-/Markenspalte ------------------------------------ */
.hq-auth__visual {
	position: relative;
	background-size: cover;
	background-position: center;
	min-height: 40vh;
}
.hq-auth__visual-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient( to top, rgba(44, 53, 49, 0.74) 0%, rgba(44, 53, 49, 0.30) 45%, rgba(44, 53, 49, 0.22) 100% );
}
.hq-auth__visual-inner {
	position: relative;
	height: 100%;
	padding: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 5rem);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.hq-auth__brand { display: inline-block; }
.hq-auth__brand img { height: 42px; width: auto; }
.hq-auth__visual-foot { max-width: 30rem; }
.hq-auth__eyebrow {
	display: block;
	font-size: 0.7rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
	font-weight: 600;
	margin-bottom: 1.1rem;
}
.hq-auth__quote {
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 200;
	font-style: italic;
	line-height: 1.35;
	color: #fff;
	margin: 0;
	letter-spacing: -0.01em;
}

/* --- Formularspalte ---------------------------------------- */
.hq-auth__panel {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1.4rem, 4vw, 3.5rem);
}
.hq-auth__card {
	width: 100%;
	max-width: 25rem;
}

.hq-auth__tabs {
	display: flex;
	gap: 2rem;
	border-bottom: 1px solid var(--line);
	margin-bottom: 2.4rem;
}
.hq-auth__tabs a {
	position: relative;
	padding-bottom: 1rem;
	font-size: 0.74rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--slate-mute);
	text-decoration: none;
	transition: color 0.3s;
}
.hq-auth__tabs a:hover { color: var(--slate); }
.hq-auth__tabs a.is-active { color: var(--slate); }
.hq-auth__tabs a.is-active::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--champagne);
}

.hq-auth__head { margin-bottom: 1.8rem; }
.hq-auth__title {
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	font-weight: 200;
	line-height: 1.15;
	color: var(--slate);
	margin: 0 0 0.6rem;
	letter-spacing: -0.01em;
}
.hq-auth__sub {
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--slate-soft);
	margin: 0;
}

.hq-auth__form { margin-top: 0.5rem; }
.hq-auth__form .hq-field { margin-bottom: 1.4rem; }

/* Eingabefelder für Auth (E-Mail/Passwort) */
.hq-auth__form input[type="text"],
.hq-auth__form input[type="email"],
.hq-auth__form input[type="password"] {
	width: 100%;
	padding: 0.95rem 1rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	font-family: inherit;
	font-size: 1rem;
	color: var(--slate);
	background: var(--white);
	transition: border-color 0.3s, box-shadow 0.3s;
}
.hq-auth__form input:focus {
	outline: none;
	border-color: var(--champagne);
	box-shadow: 0 0 0 3px rgba(169, 157, 141, 0.15);
}

.hq-auth__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: -0.4rem 0 1.6rem;
}

/* Checkboxen */
.hq-check {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.88rem;
	color: var(--slate-soft);
	cursor: pointer;
	line-height: 1.5;
}
.hq-check--block {
	align-items: flex-start;
	margin-bottom: 1.2rem;
}
.hq-check input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	border: 1px solid var(--slate-mute);
	border-radius: 4px;
	background: var(--white);
	cursor: pointer;
	position: relative;
	transition: background 0.2s, border-color 0.2s;
	margin-top: 0.1rem;
}
.hq-check input[type="checkbox"]:checked {
	background: var(--slate);
	border-color: var(--slate);
}
.hq-check input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid var(--cream);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.hq-check input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--champagne);
	outline-offset: 2px;
}

.hq-auth__link {
	color: var(--taupe);
	font-size: 0.88rem;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s, color 0.3s;
}
.hq-auth__link:hover { color: var(--slate); border-color: var(--champagne); }

/* Block-Button */
.hq-btn--block {
	width: 100%;
	text-align: center;
	padding: 1rem 1.6rem;
	font-size: 0.76rem;
}

.hq-auth__foot {
	margin-top: 1.8rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--line);
	font-size: 0.9rem;
	color: var(--slate-soft);
	text-align: center;
}
.hq-auth__foot a {
	color: var(--taupe);
	text-decoration: none;
	font-weight: 600;
	border-bottom: 1px solid var(--line);
	transition: border-color 0.3s;
}
.hq-auth__foot a:hover { border-color: var(--champagne); }

/* --- Responsive -------------------------------------------- */
@media (max-width: 880px) {
	.hq-auth {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.hq-auth__visual {
		min-height: 32vh;
	}
	.hq-auth__panel {
		padding: clamp(2rem, 8vw, 3rem) 1.4rem 4rem;
	}
}

/* --- Google-Login ------------------------------------------- */
.hq-gbtn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid var(--line);
	border-radius: 100px;
	background: var(--white);
	color: var(--slate);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.hq-gbtn:hover {
	border-color: var(--champagne);
	box-shadow: 0 6px 18px rgba(44, 53, 49, 0.08);
	transform: translateY(-1px);
}
.hq-gbtn__icon { flex-shrink: 0; }

.hq-auth-or {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 1.4rem 0;
	color: var(--slate-mute);
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.hq-auth-or::before,
.hq-auth-or::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--line);
}

/* Google-Consent: übernommene Identität */
.hq-gidentity {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--white);
	margin-bottom: 1.6rem;
	font-size: 0.95rem;
	color: var(--slate);
}
.hq-gidentity__avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--champagne);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	flex-shrink: 0;
}
