/**
 * Orphit – natives Newsletter-Popup.
 * Design-System: Orphit26-Tokens (Knowledge/design) + self-hosted Fonts
 * (Signika = Display, Golos Text = Body, fonts.css global).
 * Einspaltig (redaktionell, ohne Bild), Breite 440px.
 * Kein Mautic, kein Bricks.
 */

.orphit-nl-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-5, 1.25rem);
}

.orphit-nl-popup[hidden] {
	display: none;
}

.orphit-nl-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.43);
}

.orphit-nl-popup__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 440px;
	max-height: 92vh;
	overflow: auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	background: var(--surface, #faf7f2);
	border-radius: var(--radius-lg, 20px);
	box-shadow: 0 5px 10px 5px rgba(0, 0, 0, 0.2);
	font-family: "Golos Text", system-ui, sans-serif;
	animation: orphitNlIn var(--duration-base, 250ms) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

.orphit-nl-popup__content {
	flex: 1 1 auto;
	width: 100%;
	position: relative;
	padding: 34px 32px 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.orphit-nl-popup__close {
	position: absolute;
	top: 8px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 34px;
	line-height: 1;
	color: var(--text, #25211f);
	cursor: pointer;
	padding: 6px;
	opacity: 0.75;
	transition: opacity var(--duration-fast, 150ms) ease;
}

.orphit-nl-popup__close:hover {
	opacity: 1;
}

.orphit-nl-popup__close:focus-visible {
	opacity: 1;
	outline: none;
}

.orphit-nl-popup__title {
	margin: 0 0 12px;
	padding-right: 44px;
	font-size: clamp(18px, 16.35px + 0.513vw, 22.5px) !important;
	line-height: 1.25;
	font-weight: 700;
	color: var(--text, #25211f);
	font-family: "Signika", system-ui, sans-serif !important;
}

.orphit-nl-popup__text {
	margin: 0;
	font-size: clamp(16px, 15.2px + 0.25vw, 18px) !important;
	line-height: 1.5;
	color: var(--textmuted, #5e676b);
	font-family: "Golos Text", system-ui, sans-serif !important;
}

.orphit-nl-popup__text + .orphit-nl-popup__text {
	margin-top: 10px;
}

.orphit-nl-popup__note {
	margin: 12px 0 22px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--textmuted, #5e676b);
	opacity: 0.85;
	font-family: "Golos Text", system-ui, sans-serif !important;
}

.orphit-nl-popup__form .orphit-nl-form {
	max-width: 100%;
	margin: 0;
}

body.orphit-nl-lock {
	overflow: hidden;
}

@keyframes orphitNlIn {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 767px) {
	.orphit-nl-popup__content {
		padding: 28px 20px 24px;
	}
}

