/**
 * Landingpage unter /termin/. Das Schloss liegt unten links, außerhalb der Karte.
 */

.auszeit-termin-landing {
	background: var(--hp3-paper);
}

.az-termin-gate {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100svh - 14.5rem);
	padding: clamp(1.4rem, 4.5vw, 3rem) var(--hp3-gutter);
}

.az-termin-gate__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 34rem;
	width: 100%;
	margin: 0 auto;
	padding: clamp(1.8rem, 4.8vw, 3.2rem) clamp(1.4rem, 4vw, 2.6rem);
	background: var(--hp3-white);
	border: 2px solid var(--az-wellness-surface);
	border-radius: 1.45rem;
	text-align: center;
}

.az-termin-gate__tor {
	position: absolute;
	z-index: 2;
	left: 1rem;
	bottom: 1rem;
}

.az-termin-gate__tor summary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	color: var(--hp3-muted);
	background: var(--hp3-white);
	border-radius: 999px;
	list-style: none;
	cursor: pointer;
}

.az-termin-gate__tor summary::-webkit-details-marker {
	display: none;
}

.az-termin-gate__tor summary:hover,
.az-termin-gate__tor summary:focus-visible {
	color: var(--hp3-ink);
	background: var(--hp3-paper);
	outline: none;
}

.az-termin-gate__tor form {
	position: absolute;
	z-index: 2;
	bottom: 2.45rem;
	left: 0;
	display: grid;
	grid-template-columns: auto auto;
	gap: 0.4rem 0.45rem;
	width: max-content;
	max-width: calc(100vw - 3rem);
	padding: 0.6rem;
	background: var(--hp3-white);
	border: 1px solid var(--az-wellness-surface);
	border-radius: 0.85rem;
	box-shadow: 0 10px 28px rgba(28, 42, 38, 0.08);
	text-align: left;
}

.az-termin-gate__tor-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.az-termin-gate__tor input {
	min-width: 0;
	width: 11rem;
	padding: 0.45rem 0.6rem;
	border: 1px solid var(--az-wellness-surface);
	border-radius: 0.65rem;
	font: inherit;
}

.az-termin-gate__tor button {
	padding: 0.45rem 0.75rem;
	border: 0;
	border-radius: 0.65rem;
	background: var(--hp3-ink);
	color: var(--hp3-white);
	font: inherit;
	font-size: 0.92rem;
	cursor: pointer;
}

.az-termin-gate__tor-fehler {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--hp3-ink);
	font-size: 0.88rem;
}

.az-termin-gate__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5.4rem;
	height: 5.4rem;
	margin-bottom: 1.15rem;
	color: var(--az-wellness-primary);
	background: var(--az-wellness-surface);
	border-radius: 1.2rem;
}

.az-termin-gate__h {
	margin: 0 0 1rem;
	color: var(--hp3-ink);
	font-family: var(--hp3-display);
	font-size: clamp(1.7rem, 4.4vw, 2.45rem);
	font-weight: 760;
	letter-spacing: -0.04em;
	line-height: 1.12;
}

.az-termin-gate__lead {
	margin: 0 0 0.7rem;
	max-width: 28rem;
	color: var(--hp3-muted);
	font-family: var(--hp3-body);
	font-size: 1.05rem;
	line-height: 1.55;
}

.az-termin-gate__lead + .az-termin-gate__lead {
	margin-top: 0;
}

.az-termin-gate__emphasis {
	margin: 0.55rem 0 1.4rem;
	max-width: 28rem;
	color: var(--hp3-ink);
	font-family: var(--hp3-display);
	font-size: 1.18rem;
	font-weight: 720;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.az-termin-gate .hp3-btn {
	border-radius: 1.05rem;
}

@media (max-width: 640px) {
	.az-termin-gate {
		min-height: 0;
		padding-block: 1.4rem 1.8rem;
	}

	.az-termin-gate__card {
		padding: 1.55rem 1.2rem 1.7rem;
	}

	.az-termin-gate__mark {
		width: 4.6rem;
		height: 4.6rem;
		margin-bottom: 0.9rem;
	}

	.az-termin-gate__mark svg {
		width: 58px;
		height: 58px;
	}

	.az-termin-gate__lead {
		font-size: 1rem;
	}

	.az-termin-gate__emphasis {
		margin-bottom: 1.15rem;
		font-size: 1.08rem;
	}
}
