/* Eigenes Video-Overlay – unabhängig vom Elementor-Popup.
   Einbau: <div class="video-modal" id="video-modal" hidden> … </div>
   Trigger: <a data-video-modal="youtube" href="#">…</a> */

/* Die Elementor-Popup-Vorlagen sind im statischen Abbild unbrauchbar:
   es fehlt die Overlay-CSS, dadurch steht der Popup-Inhalt als Block am Seitenende. */
.elementor-location-popup {
	display: none !important;
}

.video-modal[hidden] {
	display: none !important;
}

.video-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 24px 24px;
}

.video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 28, 92, .93);
}

.video-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(1000px, 100%);
	padding: 16px;
	border-radius: 6px;
	background: #041C5C;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.video-modal__close {
	position: absolute;
	top: -42px;
	right: 0;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #ffffff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.video-modal__close:hover,
.video-modal__close:focus-visible {
	color: #0ABBEA;
	outline: none;
}

.video-modal__close:focus-visible {
	box-shadow: 0 0 0 2px #ffffff;
	border-radius: 4px;
}

body.video-modal-offen {
	overflow: hidden;
}

@media (max-width: 767px) {
	.video-modal {
		padding: 44px 12px 12px;
	}

	.video-modal__dialog {
		padding: 10px;
	}

	.video-modal__close {
		top: -40px;
		right: -2px;
	}
}
