/* ------------------------------------------------------------------
   infratekom – Consent-Gate für YouTube-Video & OpenStreetMap-Karte
   Wird im Cookie-Banner akzeptiert -> beides lädt automatisch.
   Wird abgelehnt -> kurzer Platzhalter, optional einzeln laden.
   Theme-Farbe: #3d71a1 · Schrift: Open Sans · Radius: 3px
   ------------------------------------------------------------------ */

:root {
	--itk-accent: #3d71a1;
	--itk-accent-hover: #34608a;
	--itk-font: "Open Sans", Helvetica, Arial, sans-serif;
}

/* ---------- dauerhafter Link: Cookie-Einstellungen erneut öffnen ---------- */

.itk-settings-link {
	position: fixed;
	left: 12px;
	bottom: 12px;
	z-index: 9998;
	padding: 6px 12px;
	background: rgba(30, 33, 38, .88);
	border-radius: 3px;
	color: #cfd3d8;
	font-family: var(--itk-font);
	font-size: 11.5px;
	text-decoration: none;
	cursor: pointer;
}

.itk-settings-link:hover,
.itk-settings-link:focus-visible {
	background: #23262b;
	color: #fff;
}

@media (max-width: 480px) {
	.itk-settings-link {
		left: 8px;
		bottom: 8px;
		font-size: 11px;
		padding: 5px 10px;
	}
}

/* ---------- Overlay: zeigt den ECHTEN Cookie-Banner erneut an ----------
   Die Seite selbst hat keine funktionierende Lightbox für
   #av-consent-extra-info (Enfolds eigener "Einstellungen"-Button wäre
   ebenso funktionslos) - dieses Overlay übernimmt nur Hintergrund und
   Zentrierung, der Inhalt (Tabs, Regler, Buttons) bleibt unverändert
   der echte Banner. */

.itk-banner-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, .6);
	overflow-y: auto;
}

.itk-banner-overlay.is-open {
	display: flex;
}

.itk-banner-overlay .av-inline-modal {
	display: block !important;
	opacity: 1 !important;
	position: relative;
	width: 100%;
}

.itk-banner-overlay__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 1;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .06);
	color: #333;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.itk-banner-overlay__close:hover {
	background: rgba(0, 0, 0, .12);
}

/* ---------- Platzhalter für Video / Karte ---------- */

.itk-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 16px;
	background: #2c3036;
	color: #cfd3d8;
	font-family: var(--itk-font);
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

.itk-ph--video {
	aspect-ratio: 16 / 9;
	height: auto;
}

/* .leaflet-map hat ein trapezförmiges clip-path (Design der Seite) -
   Text zweizeilig, damit er in der schmaleren Mitte nicht angeschnitten wird */
.itk-ph--maps {
	flex-direction: column;
	gap: 4px;
	padding: 16px 60px;
}

.itk-ph__link {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	white-space: nowrap;
	cursor: pointer;
}

.itk-ph__link:hover {
	color: var(--itk-accent-hover);
}

@media (max-width: 480px) {
	.itk-ph {
		flex-direction: column;
		gap: 4px;
	}
}

/* ---------- Abstand zwischen "Einstellungen akzeptieren" / "Alle ablehnen"
   (im Original ohne Zwischenraum) ---------- */

.avia-cookie-consent-button + .avia-cookie-consent-button {
	margin-left: 10px;
}
