/* ==========================================================================
   HookahMaster - öffentliche Landingpage (Auftrag "Premium Public Landing Experience")

   Vollständig isoliert: jede Regel hängt an #hm-landing-root bzw. .hml-*; die übernommenen
   Auth-Formularklassen (.shisha-auth-*) werden ausschließlich innerhalb von #hm-landing-root
   gestylt. shisha-game.css wird auf diesen Ansichten nicht geladen. Kein Webfont, kein externer
   Request - System-UI-Fontstack, Icons als Inline-SVG-Masken.
   ========================================================================== */

#hm-landing-root {
	/* Color Alignment Pass: Werte 1:1 aus der Ingame-UI (shisha-game.css --ui-*) - dunkles
	   Navy/Petrol als Basis, Aqua/Cyan für UI-Highlights, Gold nur als Premium-/CTA-Akzent. */
	--hml-bg: #050b11;
	--hml-bg-2: #071018;
	--hml-panel: #0d1923;
	--hml-panel-soft: #12232f;
	--hml-panel-hover: #162b38;
	--hml-line: rgba(255, 255, 255, 0.08);
	--hml-line-aqua: rgba(0, 214, 214, 0.30);
	--hml-line-strong: rgba(0, 214, 214, 0.45);
	--hml-text: #f4f0e8;
	--hml-muted: #91a6b2;
	--hml-body: #b6c6cf;
	--hml-soft: #667985;
	--hml-gold: #f4b83f;
	--hml-gold-bright: #ffd166;
	--hml-gold-deep: #d99b32;
	--hml-aqua: #00d6d6;
	--hml-aqua-bright: #5ee7e7;
	--hml-aqua-deep: #009fa8;
	--hml-danger: #ff8f7a;
	--hml-success: #7fe0a8;
	--hml-radius: 18px;
	--hml-header-h: 72px;
	--hml-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	/* Dieselbe WP-Layout-Umgehung wie bisher beim Auth-Root: die Seite liegt als eigene
	   Vollbild-Ebene über dem Theme (Theme-Chrome/is-layout-constrained greift nicht). */
	position: fixed;
	inset: 0;
	z-index: 1000;
	max-width: none;
	margin: 0 !important;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	background: var(--hml-bg);
	color: var(--hml-text);
	font-family: var(--hml-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-align: left;
}

#hm-landing-root *,
#hm-landing-root *::before,
#hm-landing-root *::after {
	box-sizing: border-box;
}

#hm-landing-root img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

#hm-landing-root h1,
#hm-landing-root h2,
#hm-landing-root h3,
#hm-landing-root p,
#hm-landing-root ul,
#hm-landing-root ol,
#hm-landing-root figure {
	margin: 0;
	padding: 0;
}

#hm-landing-root ul,
#hm-landing-root ol {
	list-style: none;
}

#hm-landing-root a {
	color: inherit;
	text-decoration: none;
}

#hm-landing-root button,
#hm-landing-root input {
	font-family: inherit;
}

#hm-landing-root :focus-visible {
	outline: 2px solid var(--hml-aqua-bright);
	outline-offset: 3px;
}

#hm-landing-root [id^="hml-"] {
	scroll-margin-top: calc(var(--hml-header-h) + 12px);
}

#hm-landing-root .hml-page {
	position: relative;
	min-height: 100%;
}

#hm-landing-root .hml-container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ----------------------------------------------------------------- Icons */

#hm-landing-root .hml-icon-mail,
#hm-landing-root .hml-icon-key {
	position: relative;
}

#hm-landing-root .hml-icon-mail::before,
#hm-landing-root .hml-icon-key::before {
	content: "";
	position: absolute;
	inset: 26%;
	background: currentColor;
	-webkit-mask: var(--hml-icon) center / contain no-repeat;
	mask: var(--hml-icon) center / contain no-repeat;
}

#hm-landing-root .hml-icon-mail { --hml-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
#hm-landing-root .hml-icon-key { --hml-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='m21 2-9.6 9.6'/%3E%3Cpath d='m15.5 7.5 3 3L22 7l-3-3'/%3E%3C/svg%3E"); }

/* ----------------------------------------------------------------- Buttons */

#hm-landing-root .hml-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 12px;
	border: 1px solid transparent;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

#hm-landing-root .hml-btn-sm {
	min-height: 38px;
	padding: 0 14px;
	font-size: 14px;
	border-radius: 10px;
}

#hm-landing-root .hml-btn-lg {
	min-height: 54px;
	padding: 0 28px;
	font-size: 16px;
	border-radius: 14px;
}

#hm-landing-root .hml-btn-gold {
	color: #2a1904;
	background: linear-gradient(160deg, var(--hml-gold-bright) 0%, var(--hml-gold) 55%, var(--hml-gold-deep) 100%);
	box-shadow: 0 8px 26px rgba(244, 184, 63, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

#hm-landing-root .hml-btn-gold:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 34px rgba(244, 184, 63, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

#hm-landing-root .hml-btn-ghost {
	color: var(--hml-text);
	background: rgba(13, 25, 35, 0.78);
	border-color: var(--hml-line-aqua);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

#hm-landing-root .hml-btn-ghost:hover {
	background: var(--hml-panel-hover);
	border-color: rgba(0, 214, 214, 0.65);
	color: var(--hml-aqua-bright);
	box-shadow: 0 0 18px rgba(0, 214, 214, 0.18);
}

/* ----------------------------------------------------------------- Header */

#hm-landing-root .hml-header {
	position: sticky;
	top: 0;
	z-index: 20;
	height: var(--hml-header-h);
	/* Header liegt über dem Hero-Bild statt es nach unten zu schieben. */
	margin-bottom: calc(-1 * var(--hml-header-h));
	transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	border-bottom: 1px solid transparent;
}

#hm-landing-root .hml-header.is-scrolled {
	background: rgba(5, 11, 17, 0.93);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom-color: rgba(0, 214, 214, 0.16);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

#hm-landing-root .hml-header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Im Hero steht das große Logo bereits - das Header-Logo blendet erst nach dem Scrollen ein. */
#hm-landing-root .hml-header-brand {
	display: flex;
	align-items: center;
	flex: none;
	transition: opacity 0.25s ease;
}

#hm-landing-root .hml-header:not(.is-scrolled) .hml-header-brand {
	opacity: 0;
	pointer-events: none;
}

#hm-landing-root .hml-header-brand img {
	width: auto;
	height: 60px;
	max-width: none;
	object-fit: contain;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

#hm-landing-root .hml-nav {
	display: flex;
	gap: 26px;
	margin-left: auto;
	font-size: 14px;
	font-weight: 600;
}

#hm-landing-root .hml-nav a {
	color: rgba(246, 239, 228, 0.78);
	transition: color 0.15s ease;
}

#hm-landing-root .hml-nav a:hover {
	color: var(--hml-aqua-bright);
}

#hm-landing-root .hml-header-actions {
	display: flex;
	gap: 10px;
	margin-left: 8px;
}

/* ----------------------------------------------------------------- Hero */

#hm-landing-root .hml-hero {
	position: relative;
	isolation: isolate;
	min-height: min(100vh, 940px);
	min-height: min(100svh, 940px);
	display: flex;
	align-items: center;
	padding: calc(var(--hml-header-h) + 40px) 0 56px;
	overflow: hidden;
}

#hm-landing-root .hml-hero-media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

#hm-landing-root .hml-hero-media img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 45%;
	/* Landingpage V2: Hero-Hintergrund ist bewusst vollständig STATISCH - keine Animation, kein
	   Transform, kein Parallax (siehe tests/landing-v2-test.js). */
}

/* Lesbarkeit: links dunkler (Textspalte), unten weicher Übergang in den Seitenhintergrund. */
#hm-landing-root .hml-hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(90deg, rgba(5, 11, 17, 0.93) 0%, rgba(5, 14, 22, 0.82) 30%, rgba(5, 14, 22, 0.42) 50%, rgba(5, 14, 22, 0.10) 68%, rgba(5, 14, 22, 0.18) 100%),
		linear-gradient(180deg, rgba(5, 11, 17, 0.60) 0%, rgba(5, 11, 17, 0) 22%, rgba(5, 11, 17, 0) 60%, var(--hml-bg) 100%),
		radial-gradient(ellipse 45% 55% at 18% 55%, rgba(0, 214, 214, 0.07), transparent 70%);
}

/* Statische Farbtönung Richtung Petrol (mix-blend color) - nimmt dem Sunset-Motiv die
   Orange-/Braun-Dominanz, ohne das Bild zu bewegen oder auszutauschen. */
#hm-landing-root .hml-hero-media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: #0b4656;
	mix-blend-mode: color;
	opacity: 0.22;
	pointer-events: none;
}

#hm-landing-root .hml-hero-inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 348px);
	gap: 88px;
	align-items: center;
}

#hm-landing-root .hml-hero-copy {
	max-width: 640px;
}

#hm-landing-root .hml-hero-logo {
	width: clamp(200px, 21vw, 290px);
	margin: 0 0 22px -6px;
	filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.65));
}

#hm-landing-root .hml-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hml-aqua-bright);
}

#hm-landing-root .hml-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--hml-aqua-deep), var(--hml-aqua-bright));
}

#hm-landing-root .hml-hero-title {
	text-wrap: balance;
	margin-top: 14px;
	font-size: clamp(2.4rem, 5.2vw, 4.25rem);
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -0.025em;
	color: #fff;
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

#hm-landing-root .hml-hero-title span {
	background: linear-gradient(100deg, #8ff3f3 0%, var(--hml-aqua-bright) 40%, var(--hml-aqua) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

#hm-landing-root .hml-hero-lead {
	margin-top: 20px;
	max-width: 540px;
	font-size: clamp(1rem, 1.3vw, 1.15rem);
	color: rgba(246, 239, 228, 0.9);
}

#hm-landing-root .hml-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

#hm-landing-root .hml-hero-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 26px;
	font-size: 14px;
	color: var(--hml-muted);
}

#hm-landing-root .hml-hero-facts li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

#hm-landing-root .hml-hero-facts li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--hml-aqua);
	box-shadow: 0 0 10px rgba(0, 214, 214, 0.7);
}

/* ----------------------------------------------------------------- Auth-Card */

#hm-landing-root .hml-auth {
	position: relative;
	width: 100%;
	padding: 22px 24px 20px;
	border-radius: 20px;
	background:
		linear-gradient(170deg, rgba(18, 35, 47, 0.94) 0%, rgba(13, 25, 35, 0.95) 55%, rgba(7, 16, 24, 0.96) 100%) padding-box,
		linear-gradient(160deg, rgba(94, 231, 231, 0.55) 0%, rgba(0, 214, 214, 0.16) 50%, rgba(0, 159, 168, 0.40) 100%) border-box;
	border: 1px solid transparent;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 70px rgba(0, 214, 214, 0.10), inset 0 1px 0 rgba(94, 231, 231, 0.10);
}

#hm-landing-root .shisha-auth-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 20px;
	padding: 4px;
	border-radius: 12px;
	background: rgba(5, 11, 17, 0.70);
	border: 1px solid rgba(0, 214, 214, 0.14);
}

#hm-landing-root .shisha-auth-tabs[hidden] {
	display: none;
}

#hm-landing-root .shisha-auth-tab {
	flex: 1;
	min-height: 40px;
	padding: 0 10px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--hml-muted);
	font-size: 13px;
	font-weight: 750;
	letter-spacing: 0.08em;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

#hm-landing-root .shisha-auth-tab:hover {
	color: var(--hml-text);
	background: rgba(0, 214, 214, 0.08);
}

#hm-landing-root .shisha-auth-tab.active {
	color: #2a1904;
	background: linear-gradient(160deg, var(--hml-gold-bright), var(--hml-gold));
	box-shadow: 0 4px 16px rgba(244, 184, 63, 0.3);
}

#hm-landing-root .shisha-auth-view {
	display: none;
	flex-direction: column;
	gap: 14px;
}

#hm-landing-root .shisha-auth-view.active,
#hm-landing-root #shisha-resetpw-form,
#hm-landing-root .shisha-auth-wait {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

#hm-landing-root .shisha-auth-view.active {
	animation: hml-fade 0.25s ease-out both;
}

#hm-landing-root .shisha-auth-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

#hm-landing-root .shisha-auth-field > span {
	font-size: 13px;
	font-weight: 600;
	color: rgba(246, 239, 228, 0.82);
}

#hm-landing-root .shisha-auth-field input {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border-radius: 11px;
	border: 1px solid rgba(0, 214, 214, 0.16);
	background: rgba(5, 11, 17, 0.72);
	color: #fff;
	font-size: 16px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

#hm-landing-root .shisha-auth-field input:hover {
	border-color: rgba(0, 214, 214, 0.32);
}

#hm-landing-root .shisha-auth-field input:focus {
	outline: none;
	border-color: var(--hml-aqua);
	background: rgba(5, 11, 17, 0.9);
	box-shadow: 0 0 0 3px rgba(0, 214, 214, 0.16), 0 0 18px rgba(0, 214, 214, 0.12);
}

#hm-landing-root .shisha-auth-field input:disabled {
	opacity: 0.55;
}

#hm-landing-root .shisha-auth-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--hml-muted);
	cursor: pointer;
	user-select: none;
}

#hm-landing-root .shisha-auth-checkbox input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--hml-aqua);
}

#hm-landing-root .shisha-auth-error:empty,
#hm-landing-root .shisha-auth-success:empty {
	display: none;
}

#hm-landing-root .shisha-auth-error,
#hm-landing-root .shisha-auth-success {
	padding: 11px 14px 11px 40px;
	border-radius: 11px;
	font-size: 14px;
	line-height: 1.45;
	position: relative;
}

#hm-landing-root .shisha-auth-error::before,
#hm-landing-root .shisha-auth-success::before {
	content: "!";
	content: "!" / "";
	position: absolute;
	left: 12px;
	top: 11px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

#hm-landing-root .shisha-auth-error {
	color: #ffd9d1;
	background: rgba(255, 110, 84, 0.12);
	border: 1px solid rgba(255, 143, 122, 0.35);
}

#hm-landing-root .shisha-auth-error::before {
	background: var(--hml-danger);
	color: #2a0d07;
}

#hm-landing-root .shisha-auth-success {
	color: #d6f7e4;
	background: rgba(127, 224, 168, 0.10);
	border: 1px solid rgba(127, 224, 168, 0.35);
}

#hm-landing-root .shisha-auth-success::before {
	content: "\2713";
	content: "\2713" / "";
	background: var(--hml-success);
	color: #0a2616;
}

#hm-landing-root .shisha-auth-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	margin-top: 4px;
	padding: 0 18px;
	border: 0;
	border-radius: 13px;
	color: #2a1904;
	background: linear-gradient(160deg, var(--hml-gold-bright) 0%, var(--hml-gold) 55%, var(--hml-gold-deep) 100%);
	box-shadow: 0 10px 28px rgba(244, 184, 63, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.45);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.07em;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

#hm-landing-root .shisha-auth-cta:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 14px 34px rgba(244, 184, 63, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

#hm-landing-root .shisha-auth-cta:disabled {
	cursor: default;
	filter: saturate(0.7) brightness(0.9);
}

#hm-landing-root .shisha-auth-cta[hidden] {
	display: none;
}

#hm-landing-root .shisha-auth-cta.is-loading .shisha-auth-cta-label {
	visibility: hidden;
}

#hm-landing-root .shisha-auth-spinner {
	display: none;
	position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2.5px solid rgba(42, 25, 4, 0.25);
	border-top-color: #2a1904;
	animation: hml-spin 0.7s linear infinite;
}

#hm-landing-root .shisha-auth-cta.is-loading .shisha-auth-spinner {
	display: block;
}

#hm-landing-root .shisha-auth-links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 14px;
	color: var(--hml-soft);
}

#hm-landing-root .shisha-auth-links[hidden] {
	display: none;
}

#hm-landing-root .shisha-auth-links-secondary {
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
}

#hm-landing-root .shisha-auth-link {
	padding: 4px 2px;
	border: 0;
	background: none;
	color: var(--hml-muted);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.2);
	text-underline-offset: 3px;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

#hm-landing-root .shisha-auth-link:hover {
	color: var(--hml-text);
	text-decoration-color: currentColor;
}

#hm-landing-root .shisha-auth-link-strong {
	color: var(--hml-aqua-bright);
	text-decoration-color: rgba(0, 214, 214, 0.40);
}

#hm-landing-root .shisha-auth-link-strong:hover {
	color: #b3f6f6;
}

#hm-landing-root .shisha-auth-hint {
	font-size: 14.5px;
	color: var(--hml-muted);
	line-height: 1.55;
}

#hm-landing-root .hml-auth-note {
	margin-top: -4px;
	text-wrap: balance;
	font-size: 13px;
	color: var(--hml-soft);
	text-align: center;
}

/* Kopf der Zustands-Ansichten (Passwort vergessen / Verifizierung / Reset) */
#hm-landing-root .hml-auth-state {
	display: flex;
	align-items: center;
	gap: 14px;
}

#hm-landing-root .hml-auth-state-icon {
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	color: var(--hml-aqua-bright);
	background: radial-gradient(circle at 30% 25%, rgba(0, 214, 214, 0.26), rgba(0, 159, 168, 0.08) 70%);
	border: 1px solid var(--hml-line-strong);
	box-shadow: 0 0 22px rgba(0, 214, 214, 0.16);
}

#hm-landing-root .hml-auth-state-title {
	font-size: 21px;
	font-weight: 750;
	line-height: 1.25;
	color: #fff;
}

#hm-landing-root .hml-mini-steps {
	counter-reset: hml-mini;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px;
	border-radius: 13px;
	background: rgba(5, 11, 17, 0.55);
	border: 1px solid rgba(0, 214, 214, 0.14);
	font-size: 14px;
	color: rgba(246, 239, 228, 0.86);
}

#hm-landing-root .hml-mini-steps li {
	counter-increment: hml-mini;
	display: flex;
	gap: 10px;
	line-height: 1.45;
}

#hm-landing-root .hml-mini-steps li::before {
	content: counter(hml-mini);
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: -1px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 12px;
	font-weight: 800;
	color: #032326;
	background: var(--hml-aqua);
}

/* ----------------------------------------------------------------- Sektionen */

#hm-landing-root .hml-section {
	position: relative;
	padding: clamp(34px, 4.5vw, 58px) 0;
}

#hm-landing-root .hml-section-title {
	text-wrap: balance;
	margin-top: 12px;
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}

#hm-landing-root .hml-pillars {
	text-align: center;
	background:
		radial-gradient(ellipse 45% 55% at 50% 45%, rgba(0, 214, 214, 0.05), transparent 70%),
		var(--hml-bg);
}

#hm-landing-root .hml-pillars .hml-eyebrow {
	justify-content: center;
}

#hm-landing-root .hml-pillar-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 32px;
	text-align: left;
}

#hm-landing-root .hml-pillar {
	padding: 28px 26px;
	border-radius: var(--hml-radius);
	background: linear-gradient(170deg, rgba(18, 35, 47, 0.85), rgba(13, 25, 35, 0.65));
	border: 1px solid var(--hml-line);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#hm-landing-root .hml-pillar:hover {
	transform: translateY(-3px);
	border-color: var(--hml-line-strong);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

#hm-landing-root .hml-pillar-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 15px;
	color: var(--hml-aqua-bright);
	background: radial-gradient(circle at 30% 25%, rgba(0, 214, 214, 0.22), rgba(0, 159, 168, 0.06) 70%);
	border: 1px solid var(--hml-line-aqua);
}

#hm-landing-root .hml-pillar h3 {
	margin-top: 18px;
	font-size: 19px;
	font-weight: 750;
	color: #fff;
}

#hm-landing-root .hml-pillar p {
	margin-top: 8px;
	font-size: 15.5px;
	color: var(--hml-body);
}

#hm-landing-root .hml-feature:nth-of-type(even) {
	background: linear-gradient(180deg, var(--hml-bg) 0%, #0a1620 50%, var(--hml-bg) 100%);
}

#hm-landing-root .hml-feature-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

#hm-landing-root .hml-feature-reverse .hml-feature-media {
	order: 2;
}

#hm-landing-root .hml-feature-media {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(0, 214, 214, 0.20);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.4);
}

#hm-landing-root figure.hml-feature-media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

#hm-landing-root figure.hml-feature-media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 60%, rgba(5, 11, 17, 0.45) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	border-radius: inherit;
}

#hm-landing-root .hml-feature-copy > p:not(.hml-eyebrow) {
	margin-top: 16px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--hml-body);
	max-width: 520px;
}

#hm-landing-root .hml-checklist {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 22px;
}

#hm-landing-root .hml-checklist li {
	position: relative;
	padding-left: 32px;
	font-size: 16px;
	color: rgba(246, 239, 228, 0.9);
}

#hm-landing-root .hml-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(0, 214, 214, 0.12);
	border: 1px solid rgba(0, 214, 214, 0.45);
}

#hm-landing-root .hml-checklist li::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 7px;
	width: 5px;
	height: 9px;
	border: solid var(--hml-aqua-bright);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Sammlungs-Vitrine aus echten Kopf-Grafiken */
#hm-landing-root .hml-bowl-case {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	padding: 22px;
	background:
		radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0, 214, 214, 0.10), transparent 70%),
		linear-gradient(170deg, #12232f 0%, #071018 100%);
}

#hm-landing-root .hml-bowl {
	--hml-tier: #c9d3db;
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--hml-tier) 22%, transparent), rgba(0, 0, 0, 0.35) 72%);
	border: 1px solid color-mix(in srgb, var(--hml-tier) 38%, transparent);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#hm-landing-root .hml-bowl:hover {
	transform: translateY(-3px);
	box-shadow: 0 0 26px color-mix(in srgb, var(--hml-tier) 35%, transparent);
}

#hm-landing-root .hml-bowl img {
	width: 72%;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55));
}

#hm-landing-root .hml-tier-standard { --hml-tier: #c9d3db; }
#hm-landing-root .hml-bowl-hochwertig,
#hm-landing-root .hml-tier-hochwertig { --hml-tier: #5ee7e7; }
#hm-landing-root .hml-bowl-premium,
#hm-landing-root .hml-tier-premium { --hml-tier: #ffd166; }
#hm-landing-root .hml-bowl-meister,
#hm-landing-root .hml-tier-meister { --hml-tier: #ff9a4d; }

#hm-landing-root .hml-tier-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

#hm-landing-root .hml-tier-list li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 650;
	color: var(--hml-tier);
	background: rgba(13, 25, 35, 0.8);
	border: 1px solid var(--hml-line);
}

#hm-landing-root .hml-tier-list li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hml-tier);
	box-shadow: 0 0 10px var(--hml-tier);
}

/* Abschluss-CTA */
#hm-landing-root .hml-final {
	position: relative;
	padding: clamp(46px, 5.5vw, 72px) 0;
	text-align: center;
	background:
		radial-gradient(ellipse 42% 62% at 50% 100%, rgba(0, 159, 168, 0.12), transparent 72%),
		radial-gradient(ellipse 22% 36% at 50% 100%, rgba(244, 184, 63, 0.04), transparent 72%),
		var(--hml-bg);
	border-top: 1px solid var(--hml-line);
}

#hm-landing-root .hml-final-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#hm-landing-root .hml-final-title {
	text-wrap: balance;
	font-size: clamp(1.8rem, 3.6vw, 2.75rem);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}

#hm-landing-root .hml-final-inner > p {
	margin-top: 12px;
	font-size: 17px;
	color: var(--hml-body);
}

#hm-landing-root .hml-final .hml-hero-ctas {
	justify-content: center;
}

/* FAQ */
#hm-landing-root .hml-faq-inner {
	max-width: 820px;
	text-align: center;
}

#hm-landing-root .hml-faq .hml-eyebrow {
	justify-content: center;
}

#hm-landing-root .hml-faq-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 26px;
	text-align: left;
}

#hm-landing-root .hml-faq-item {
	border-radius: 12px;
	background: rgba(13, 25, 35, 0.72);
	border: 1px solid var(--hml-line);
	transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

#hm-landing-root .hml-faq-item:hover {
	border-color: rgba(0, 214, 214, 0.38);
	background: var(--hml-panel-hover);
}

#hm-landing-root .hml-faq-item:hover summary {
	color: var(--hml-aqua-bright);
}

#hm-landing-root .hml-faq-item[open] {
	background: linear-gradient(170deg, var(--hml-panel-soft) 0%, var(--hml-panel) 100%);
	border-color: rgba(0, 214, 214, 0.45);
	box-shadow: 0 0 22px rgba(0, 214, 214, 0.10), inset 0 1px 0 rgba(94, 231, 231, 0.08);
}

#hm-landing-root .hml-faq-item summary {
	position: relative;
	display: block;
	padding: 15px 50px 15px 20px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	transition: color 0.18s ease;
	cursor: pointer;
	list-style: none;
}

#hm-landing-root .hml-faq-item summary::-webkit-details-marker {
	display: none;
}

#hm-landing-root .hml-faq-item summary::after {
	content: "";
	position: absolute;
	right: 24px;
	top: 50%;
	width: 9px;
	height: 9px;
	margin-top: -7px;
	border: solid var(--hml-aqua-bright);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	transition: transform 0.2s ease, margin-top 0.2s ease;
}

#hm-landing-root .hml-faq-item[open] summary::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}

#hm-landing-root .hml-faq-item[open] summary {
	color: var(--hml-aqua-bright);
}

#hm-landing-root .hml-faq-item p {
	margin: 0 20px;
	padding: 13px 0 17px;
	border-top: 1px solid rgba(0, 214, 214, 0.16);
	font-size: 15.5px;
	line-height: 1.6;
	color: #c4d2d9;
}

/* Footer */
#hm-landing-root .hml-footer {
	position: relative;
	padding: 46px 0 24px;
	border-top: 1px solid rgba(0, 214, 214, 0.18);
	background:
		radial-gradient(ellipse 50% 80% at 15% 0%, rgba(0, 214, 214, 0.06), transparent 70%),
		linear-gradient(180deg, #0a1620 0%, #050b11 100%);
	font-size: 14.5px;
	color: #9aadb8;
}

#hm-landing-root .hml-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 32px;
}

#hm-landing-root .hml-footer-brand img {
	width: 150px;
	margin-left: -4px;
}

#hm-landing-root .hml-footer-brand p {
	margin-top: 12px;
	max-width: 260px;
	color: var(--hml-body);
}

#hm-landing-root .hml-footer-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
}

#hm-landing-root .hml-footer-head {
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hml-aqua-bright);
}

#hm-landing-root .hml-footer-link {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: var(--hml-body);
	text-align: left;
	cursor: pointer;
	transition: color 0.15s ease;
}

#hm-landing-root .hml-footer-link:hover {
	color: var(--hml-aqua-bright);
}

#hm-landing-root .hml-footer-bottom {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--hml-line);
	font-size: 13.5px;
}

#hm-landing-root .hml-draft-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	border-radius: 999px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	vertical-align: 1px;
	color: #2a1904;
	background: rgba(255, 209, 102, 0.75);
}

/* Rechtliche Hinweise unter "Registrieren" */
#hm-landing-root .hml-auth-legal {
	margin-top: -6px;
	font-size: 12.5px;
	text-align: center;
	color: var(--hml-soft);
}

#hm-landing-root .hml-auth-legal a {
	color: var(--hml-muted);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.2);
	text-underline-offset: 3px;
}

#hm-landing-root .hml-auth-legal a:hover {
	color: var(--hml-text);
}

/* ----------------------------------------------------------------- Rechtsseiten */

body.hml-doc {
	margin: 0;
	background: #050b11;
}

#hm-landing-root.hml-legal .hml-page {
	display: flex;
	flex-direction: column;
}

#hm-landing-root .hml-legal-header {
	position: sticky;
	top: 0;
	z-index: 5;
	background: rgba(5, 11, 17, 0.93);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--hml-line);
}

#hm-landing-root .hml-legal-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}

#hm-landing-root .hml-legal-brand img {
	width: auto;
	height: 42px;
}

#hm-landing-root .hml-legal-main {
	flex: 1;
	padding: 48px 0 72px;
}

#hm-landing-root .hml-legal-container {
	max-width: 820px;
}

#hm-landing-root .hml-legal-title {
	font-size: clamp(1.8rem, 3.4vw, 2.5rem);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}

#hm-landing-root .hml-legal-article {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

#hm-landing-root .hml-legal-article p,
#hm-landing-root .hml-legal-text {
	color: rgba(246, 239, 228, 0.86);
}

#hm-landing-root .hml-legal-text > * + * {
	margin-top: 14px;
}

#hm-landing-root .hml-legal-text h2,
#hm-landing-root .hml-legal-text h3 {
	margin-top: 28px;
	color: #fff;
}

#hm-landing-root .hml-legal-text a,
#hm-landing-root .hml-legal-article dd a {
	color: var(--hml-aqua-bright);
}

#hm-landing-root .hml-legal-lead {
	color: var(--hml-muted);
}

#hm-landing-root .hml-legal-dl {
	display: grid;
	grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
	gap: 12px 24px;
	margin: 0;
	padding: 22px 24px;
	border-radius: 16px;
	background: rgba(13, 25, 35, 0.72);
	border: 1px solid var(--hml-line);
}

#hm-landing-root .hml-legal-dl dt {
	font-weight: 700;
	color: #fff;
}

#hm-landing-root .hml-legal-dl dd {
	margin: 0;
	color: rgba(246, 239, 228, 0.86);
}

#hm-landing-root .hml-legal-dl-wide {
	grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
}

#hm-landing-root .hml-legal-topics {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-left: 20px;
	list-style: disc;
	color: var(--hml-muted);
}

#hm-landing-root .hml-legal-contact .hml-btn {
	text-transform: none;
}

#hm-landing-root .hml-draft-notice {
	margin-bottom: 28px;
	padding: 14px 18px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: #2a1904;
	background: linear-gradient(160deg, var(--hml-gold-bright), var(--hml-gold));
}

#hm-landing-root .hml-draft-notice em {
	font-style: normal;
	font-weight: 700;
}

/* ----------------------------------------------------------------- Fokus-Ansichten (Verifizierung / Reset) */

#hm-landing-root.hml-focus .hml-page {
	display: flex;
	flex-direction: column;
	isolation: isolate;
}

#hm-landing-root .hml-focus-media {
	position: fixed;
	/* leicht überstehend statt skaliert, damit die Blur-Kanten außerhalb liegen - statisch */
	inset: -12px;
}

#hm-landing-root .hml-focus-media img {
	filter: blur(3px) saturate(0.9);
}

#hm-landing-root .hml-focus-media::after {
	background:
		radial-gradient(ellipse 60% 70% at 50% 45%, rgba(5, 11, 17, 0.45), rgba(5, 11, 17, 0.9) 100%),
		linear-gradient(180deg, rgba(5, 11, 17, 0.5), rgba(5, 11, 17, 0.75));
}

#hm-landing-root .hml-focus-main {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 16px;
}

#hm-landing-root .hml-focus-card {
	max-width: 480px;
}

#hm-landing-root .hml-focus-logo {
	width: 220px;
	margin: -4px auto 18px;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
}

#hm-landing-root.hml-focus .hml-footer {
	background: rgba(5, 6, 8, 0.8);
}

/* ----------------------------------------------------------------- Animationen */

@keyframes hml-fade {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}

@keyframes hml-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	#hm-landing-root {
		scroll-behavior: auto;
	}

	#hm-landing-root *,
	#hm-landing-root *::before,
	#hm-landing-root *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	#hm-landing-root .shisha-auth-spinner {
		animation-duration: 1.2s !important;
		animation-iteration-count: infinite !important;
	}
}

/* ----------------------------------------------------------------- Responsive */

@media (max-width: 1060px) {
	#hm-landing-root .hml-nav {
		gap: 18px;
	}

	#hm-landing-root .hml-hero-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 336px);
		gap: 44px;
	}
}

@media (max-width: 900px) {
	#hm-landing-root .hml-nav {
		display: none;
	}

	#hm-landing-root .hml-header-actions {
		margin-left: auto;
	}

	#hm-landing-root .hml-hero {
		min-height: 0;
		padding-bottom: 56px;
	}

	#hm-landing-root .hml-hero-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		justify-items: center;
	}

	#hm-landing-root .hml-hero-copy {
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	#hm-landing-root .hml-hero-logo {
		margin-left: 0;
		margin-right: 0;
	}

	#hm-landing-root .hml-hero-ctas,
	#hm-landing-root .hml-hero-facts {
		justify-content: center;
	}

	#hm-landing-root .hml-hero-media::after {
		background:
			linear-gradient(180deg, rgba(5, 11, 17, 0.72) 0%, rgba(5, 11, 17, 0.62) 40%, rgba(5, 11, 17, 0.85) 75%, var(--hml-bg) 100%);
	}

	#hm-landing-root .hml-auth {
		max-width: 480px;
	}

	#hm-landing-root .hml-pillar-grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: 520px;
		margin-left: auto;
		margin-right: auto;
	}

	#hm-landing-root .hml-feature-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	#hm-landing-root .hml-feature-reverse .hml-feature-media {
		order: 0;
	}
	#hm-landing-root .hml-footer-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#hm-landing-root .hml-footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	#hm-landing-root {
		--hml-header-h: 62px;
	}

	#hm-landing-root .hml-container,
	#hm-landing-root .hml-header-inner,
	#hm-landing-root .hml-hero-inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	#hm-landing-root .hml-header-inner {
		gap: 12px;
	}

	#hm-landing-root .hml-header-brand img {
		height: 46px;
	}

	#hm-landing-root .hml-header-actions {
		gap: 6px;
	}

	#hm-landing-root .hml-btn-sm {
		padding: 0 11px;
		font-size: 13px;
	}

	#hm-landing-root .hml-hero {
		padding-top: calc(var(--hml-header-h) + 24px);
	}

	#hm-landing-root .hml-hero-ctas {
		width: 100%;
		flex-direction: column;
	}

	#hm-landing-root .hml-hero-ctas .hml-btn {
		width: 100%;
		white-space: normal;
		text-align: center;
	}

	#hm-landing-root .hml-auth {
		padding: 22px 18px 18px;
		border-radius: 18px;
	}

	#hm-landing-root .hml-bowl-case {
		gap: 10px;
		padding: 16px;
	}

	#hm-landing-root .hml-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

	#hm-landing-root .hml-legal-dl,
	#hm-landing-root .hml-legal-dl-wide {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}

	#hm-landing-root .hml-legal-dl dd {
		margin-bottom: 10px;
	}
}

@media (max-width: 360px) {
	#hm-landing-root .hml-header-brand {
		display: none;
	}
}

#hm-landing-root .hml-legal-dl dd.hml-legal-missing {
	font-style: italic;
	color: var(--hml-gold);
}

#hm-landing-root .hml-legal-inventory {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* Phase 3.1: Listen in den Rechtstexten (Widerruf, Zahlung & Rueckerstattung) mit sichtbaren Aufzaehlungszeichen bzw. Nummern -
   der globale Reset nimmt <ul>/<ol> sonst die Marker, die Schritte der Widerrufsfunktion waeren nicht als Reihenfolge erkennbar. */
#hm-landing-root .hml-legal-text ul,
#hm-landing-root .hml-legal-text ol {
	padding-left: 1.5em;
}

#hm-landing-root .hml-legal-text ul {
	list-style: disc;
}

#hm-landing-root .hml-legal-text ol {
	list-style: decimal;
}

#hm-landing-root .hml-legal-text li + li {
	margin-top: 8px;
}

/* ----------------------------------------------------------------- Widerrufsfunktion (Phase 3.1)
   Der Einstieg "Vertrag widerrufen" ist auf jeder Landing-/Auth-/Rechtsseite im Footer sichtbar (erster Eintrag unter
   "Rechtliches", ohne Login erreichbar); die Seite /vertrag-widerrufen/ nutzt die Rechtsseiten-Huelle. In der Auth-Card
   steht kein eigener Widerrufs-Button mehr. */
/* Footer: normaler Textlink in der Linkliste (gleiche Schriftgroesse/Zeilenhoehe wie die uebrigen Footer-Links, erbt von
   .hml-footer-link), hervorgehoben nur durch Akzentfarbe, kraeftigere Schrift und dauerhafte dezente Unterstreichung. */
#hm-landing-root .hml-footer-link-withdraw {
	color: var(--hml-gold);
	font-weight: 600;
	white-space: nowrap;
	text-decoration: underline;
	text-decoration-color: var(--hml-gold-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: none;
}

#hm-landing-root .hml-footer-link-withdraw:hover {
	color: var(--hml-gold-bright);
	text-decoration-color: currentColor;
}

#hm-landing-root .hml-footer-link-withdraw:focus-visible {
	color: var(--hml-gold-bright);
	text-decoration-color: currentColor;
	outline: 2px solid var(--hml-aqua-bright);
	outline-offset: 3px;
	border-radius: 3px;
}

#hm-landing-root .hml-wd {
	max-width: 640px;
}

#hm-landing-root .hml-wd .hml-legal-title {
	margin: 0;
}

#hm-landing-root .hml-wd-sub {
	margin: 0;
	font-size: 20px;
	color: #fff;
}

#hm-landing-root .hml-wd-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

#hm-landing-root .hml-wd-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

#hm-landing-root .hml-wd-field label {
	font-size: 14px;
	font-weight: 700;
	color: rgba(246, 239, 228, 0.92);
}

#hm-landing-root .hml-wd-field input {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border-radius: 11px;
	border: 1px solid rgba(0, 214, 214, 0.28);
	background: rgba(5, 11, 17, 0.72);
	color: #fff;
	font-size: 16px;
	box-sizing: border-box;
}

#hm-landing-root .hml-wd-field input:focus {
	outline: none;
	border-color: var(--hml-aqua);
	box-shadow: 0 0 0 3px rgba(0, 214, 214, 0.22);
}

#hm-landing-root .hml-wd-field-error input {
	border-color: var(--hml-danger);
}

#hm-landing-root .hml-wd-hint {
	font-size: 13px;
	color: var(--hml-muted);
}

#hm-landing-root .hml-wd-error {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--hml-danger);
}

#hm-landing-root .hml-wd-alert {
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--hml-danger);
	background: rgba(255, 143, 122, 0.1);
	color: #ffd5cc;
}

#hm-landing-root .hml-wd-note {
	font-size: 14px;
	color: var(--hml-muted);
}

#hm-landing-root .hml-wd-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

#hm-landing-root .hml-wd-actions .hml-btn {
	min-height: 48px;
	white-space: normal;
	text-align: center;
}

#hm-landing-root .hml-wd-summary dd {
	overflow-wrap: anywhere;
}

#hm-landing-root .hml-wd-done {
	padding: 22px 24px;
	border-radius: 16px;
	border: 1px solid rgba(127, 224, 168, 0.5);
	background: rgba(127, 224, 168, 0.08);
}

#hm-landing-root .hml-wd-done h2 {
	margin: 0 0 10px;
	font-size: 22px;
	color: var(--hml-success);
}

@media (max-width: 560px) {
	#hm-landing-root .hml-wd-actions .hml-btn {
		width: 100%;
	}
}

/* ------------------------------------------------------------------ Patchnotes (/patchnotes/)
   Betreiberwunsch 2026-10-25: auch ohne Konto soll sichtbar sein, wie viel sich am Spiel tut.
   Aufbau wie die Szene im Spiel (Datum, darunter die Eintraege mit ihrer Art), nur in der
   Huelle der Landingpage. Eigener Praefix .hml-pn-*, damit keine Regel eines anderen Bereichs
   mitredet. Die Seite scrollt als Ganzes - anders als im Spiel, wo die Liste in einem eigenen
   Kasten laeuft, weil die Spielflaeche fest hoch ist. */
#hm-landing-root .hml-pn {
	gap: 30px;
}

#hm-landing-root .hml-pn-lead {
	margin: -8px 0 0;
	color: var(--hml-muted);
}

#hm-landing-root .hml-pn-tag {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

#hm-landing-root .hml-pn-datum {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--hml-line-aqua);
}

#hm-landing-root .hml-pn-datum span {
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--hml-gold-bright);
}

#hm-landing-root .hml-pn-datum em {
	flex: 0 0 auto;
	font-style: normal;
	font-size: 0.8rem;
	color: var(--hml-soft);
}

#hm-landing-root .hml-pn-liste {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#hm-landing-root .hml-pn-eintrag {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var(--hml-line);
	border-radius: 14px;
	background: var(--hml-panel);
}

#hm-landing-root .hml-pn-art {
	flex: 0 0 auto;
	min-width: 86px;
	margin-top: 2px;
	padding: 4px 9px;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-align: center;
	border-radius: 999px;
	border: 1px solid currentColor;
}

#hm-landing-root .hml-pn-art.is-neu        { color: var(--hml-gold-bright); background: rgba(244, 184, 63, 0.1); }
#hm-landing-root .hml-pn-art.is-balance    { color: var(--hml-aqua-bright); background: rgba(0, 214, 214, 0.1); }
#hm-landing-root .hml-pn-art.is-verbessert { color: #9db8c8; background: rgba(157, 184, 200, 0.08); }
#hm-landing-root .hml-pn-art.is-behoben    { color: var(--hml-success); background: rgba(127, 224, 168, 0.1); }

#hm-landing-root .hml-pn-text {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

#hm-landing-root .hml-pn-text strong {
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--hml-text);
}

#hm-landing-root .hml-pn-text span {
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--hml-body);
}

/* Abschluss: der einzige Weg ins Spiel am Ende einer langen Liste. */
#hm-landing-root .hml-pn-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-top: 10px;
	padding: 26px 24px;
	border: 1px solid var(--hml-line-aqua);
	border-radius: 16px;
	background: var(--hml-panel-soft);
	text-align: center;
}

#hm-landing-root .hml-pn-cta p {
	margin: 0;
}

/* Der Knopf in der Kopfzeile der Landingpage fuehrt als einziger auf eine andere Seite. */
#hm-landing-root .hml-btn-patchnotes {
	text-decoration: none;
}

@media (max-width: 560px) {
	#hm-landing-root .hml-pn-eintrag {
		flex-direction: column;
		gap: 8px;
	}

	#hm-landing-root .hml-pn-art {
		min-width: 0;
		align-self: flex-start;
	}
}

/* ------------------------------------------------------------------ Ausbau-Uebersicht (/ausbau/)
   Betreiberwunsch 2026-10-26: eine Uebersicht aller ausbaubaren Gebaeude mit Stufe, Kosten und
   Zeiten, sichtbar auch ohne Konto. Je Gebaeude eine Karte mit den Eckdaten, aufklappbar in die
   Einzelstufen.

   Aufgeklappt wird ueber <details>/<summary>, ohne eine Zeile JavaScript. Eigener Praefix
   .hml-ab-*, damit keine Regel eines anderen Bereichs mitredet (siehe Patchnotes daneben). */
#hm-landing-root .hml-ab {
	gap: 34px;
}

/* Der Weg zur Ausbau-Uebersicht aus dem Produktionsabschnitt heraus. */
#hm-landing-root .hml-feature-link {
	align-self: flex-start;
	margin-top: 6px;
}

#hm-landing-root .hml-ab-lead {
	margin: -8px 0 0;
	color: var(--hml-muted);
}

#hm-landing-root .hml-ab-hinweis {
	margin: 0;
	padding: 10px 14px;
	font-size: 0.86rem;
	color: var(--hml-soft);
	border-left: 2px solid var(--hml-line-aqua);
	background: rgba(0, 214, 214, 0.04);
	border-radius: 0 10px 10px 0;
}

#hm-landing-root .hml-ab-gruppe {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

#hm-landing-root .hml-ab-gruppe-titel {
	margin: 0;
	padding-bottom: 8px;
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--hml-gold-bright);
	border-bottom: 1px solid var(--hml-line-aqua);
}

#hm-landing-root .hml-ab-gruppe-text {
	margin: -4px 0 4px;
	font-size: 0.88rem;
	color: var(--hml-soft);
}

/* Die Karte. Zugeklappt zeigt sie nur die Kopfzeile, aufgeklappt die Stufentabelle darunter. */
#hm-landing-root .hml-ab-karte {
	border: 1px solid var(--hml-line);
	border-radius: 14px;
	background: var(--hml-panel);
	overflow: hidden;
}

#hm-landing-root .hml-ab-karte[open] {
	border-color: var(--hml-line-aqua);
}

#hm-landing-root .hml-ab-kopf {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 6px 18px;
	padding: 14px 18px;
	cursor: pointer;
	list-style: none;
}

/* Das Standarddreieck weg, dafuer ein eigenes am rechten Rand (gleiche Stelle bei jeder Karte). */
#hm-landing-root .hml-ab-kopf::-webkit-details-marker {
	display: none;
}

#hm-landing-root .hml-ab-kopf::after {
	content: "\25BC";
	grid-column: 2;
	grid-row: 1 / span 2;
	font-size: 0.6rem;
	color: var(--hml-soft);
	transition: transform 0.15s ease;
}

#hm-landing-root .hml-ab-karte[open] .hml-ab-kopf::after {
	transform: rotate(180deg);
}

#hm-landing-root .hml-ab-kopf:hover {
	background: rgba(255, 255, 255, 0.02);
}

#hm-landing-root .hml-ab-name {
	grid-column: 1;
	font-size: 1rem;
	font-weight: 700;
	color: var(--hml-text);
}

#hm-landing-root .hml-ab-meta {
	grid-column: 1;
	font-size: 0.82rem;
	color: var(--hml-soft);
}

#hm-landing-root .hml-ab-meta b {
	font-weight: 700;
	color: var(--hml-aqua-bright);
}

#hm-landing-root .hml-ab-meta i {
	font-style: normal;
}

/* Die Eckdaten rechts, untereinander: oben das Geld, darunter die Zeit. */
#hm-landing-root .hml-ab-summe {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	margin-right: 14px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--hml-gold-bright);
	white-space: nowrap;
}

#hm-landing-root .hml-ab-summe em {
	font-style: normal;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--hml-soft);
}

#hm-landing-root .hml-ab-tabelle {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.86rem;
}

#hm-landing-root .hml-ab-tabelle th {
	padding: 8px 18px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: right;
	color: var(--hml-soft);
	background: rgba(0, 0, 0, 0.22);
	border-top: 1px solid var(--hml-line);
}

#hm-landing-root .hml-ab-tabelle th:first-child,
#hm-landing-root .hml-ab-tabelle td:first-child {
	text-align: left;
}

#hm-landing-root .hml-ab-tabelle td {
	white-space: nowrap;
	padding: 7px 18px;
	text-align: right;
	color: var(--hml-muted);
	border-top: 1px solid rgba(255, 255, 255, 0.04);
}

#hm-landing-root .hml-ab-tabelle tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.015);
}

#hm-landing-root .hml-ab-stufe {
	font-weight: 700;
	color: var(--hml-text);
}

/* Die fuenfte Spalte steht linksbuendig: sie traegt Text, keine Zahl. */
#hm-landing-root .hml-ab-tabelle td.hml-ab-nutzen {
	white-space: normal;
	text-align: left;
	min-width: 34%;
}

#hm-landing-root .hml-ab-werte {
	display: block;
	color: var(--hml-aqua-bright);
}

#hm-landing-root .hml-ab-meilenstein {
	display: block;
	margin-top: 2px;
	font-size: 0.8rem;
	color: var(--hml-gold-bright);
}

#hm-landing-root .hml-ab-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 26px 18px;
	text-align: center;
	border: 1px solid var(--hml-line-aqua);
	border-radius: 16px;
	background: var(--hml-panel);
}

#hm-landing-root .hml-ab-cta p {
	margin: 0;
	color: var(--hml-muted);
}
