/*** Cookie-Banner sperrt die Seite, bis eine Wahl getroffen wurde (siehe JavaScript/consent.js) ***/

html.cc-locked,
html.cc-locked body {
	overflow: hidden;
}

html.cc-locked body::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: calc(var(--cookieconsent-zindex, 1080) - 1);
	background-color: rgba(0, 0, 0, 0.6);
}

/* Banner mittig als Dialog anzeigen */
html.cc-locked .cc-window.cc-floating {
	top: 50%;
	right: auto;
	bottom: auto;
	left: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 2rem);
	max-height: calc(100% - 2rem);
	overflow-y: auto;
}

/* "Ablehnen" gleichwertig zu "Erlauben" darstellen, nicht nur als Textlink */
.cc-window .cc-highlight .cc-btn.cc-deny {
	border-color: currentColor;
	text-decoration: none;
}

/* Datenschutz- und Impressum-Link nebeneinander (siehe consent.js) */
.cc-window .cc-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.5rem;
	margin: 0.5em 0 1em;
}

.cc-window .cc-links .cc-link {
	padding: 0;
}
