/*
 * DSGVO-Hinweis als Vollflächen-Popup (Backdrop + Dialog); Theme-Farben
 */
html.dsgvo-hinweis-dismissed #dsgvo-hinweis {
	display: none !important;
}

html.dsgvo-hinweis-open,
html.dsgvo-hinweis-open body {
	overflow: hidden;
	height: auto;
	min-height: 100%;
}

#dsgvo-hinweis.dsgvo-hinweis {
	box-sizing: border-box;
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(16px, env(safe-area-inset-top))
		max(16px, env(safe-area-inset-right))
		max(24px, env(safe-area-inset-bottom))
		max(16px, env(safe-area-inset-left));
	margin: 0;
	font-family: inherit;
}

#dsgvo-hinweis .dsgvo-hinweis__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 20, 35, 0.78);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

#dsgvo-hinweis .dsgvo-hinweis__panel {
	position: relative;
	z-index: 1;
	width: min(34rem, 100%);
	max-height: min(90vh, 44rem);
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	background: #1a3550;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 6px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

#dsgvo-hinweis .dsgvo-hinweis__inner {
	margin: 0 auto;
	padding: 1.35rem 1.5rem 1.5rem;
	box-sizing: border-box;
}

#dsgvo-hinweis .dsgvo-hinweis__title {
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 0.85rem;
	color: #fff;
}

#dsgvo-hinweis .dsgvo-hinweis__lead {
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0 0 0.85rem;
}

#dsgvo-hinweis .dsgvo-hinweis__lead strong {
	font-weight: 600;
	margin-right: 0.35em;
}

#dsgvo-hinweis .dsgvo-hinweis__consent {
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0 0 1rem;
	color: rgba(255, 255, 255, 0.95);
}

#dsgvo-hinweis .dsgvo-hinweis__lead a,
#dsgvo-hinweis .dsgvo-hinweis__consent a {
	color: #cde4ff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

#dsgvo-hinweis .dsgvo-hinweis__lead a:hover,
#dsgvo-hinweis .dsgvo-hinweis__lead a:focus-visible,
#dsgvo-hinweis .dsgvo-hinweis__consent a:hover,
#dsgvo-hinweis .dsgvo-hinweis__consent a:focus-visible {
	color: #fff;
}

#dsgvo-hinweis .dsgvo-hinweis__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
	margin: 0;
}

#dsgvo-hinweis .dsgvo-hinweis__btn {
	display: inline-block;
	font-family: inherit;
	font-size: 0.9rem;
	line-height: 1.35;
	cursor: pointer;
	border-radius: 3px;
	padding: 0.5rem 1.15rem;
	border: none;
	transition: background 0.15s ease, outline 0.15s ease;
}

#dsgvo-hinweis .dsgvo-hinweis__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

#dsgvo-hinweis .dsgvo-hinweis__btn--primary {
	background: #fff;
	color: #1a3550;
	font-weight: 600;
}

#dsgvo-hinweis .dsgvo-hinweis__btn--primary:hover {
	background: #eaf2fb;
}

#dsgvo-hinweis .dsgvo-hinweis__btn--ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

#dsgvo-hinweis .dsgvo-hinweis__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}

@media screen and (max-width: 480px) {
	#dsgvo-hinweis .dsgvo-hinweis__inner {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	#dsgvo-hinweis .dsgvo-hinweis__actions {
		flex-direction: column;
		align-items: stretch;
	}

	#dsgvo-hinweis .dsgvo-hinweis__btn {
		text-align: center;
	}
}
