/*
 * GP Video-Vorschau: Vorschaubild mit goldenem Abspielknopf statt Vimeo-Player.
 * Markenfarben: Anthrazit #2B2B2B, Gold #D9B96F.
 * Wird nur auf Seiten geladen, auf denen ein Vimeo-Video steht.
 */

/* Avadas Videorahmen gibt Breite und Seitenverhältnis vor (padding-top in
   Prozent). Die Vorschau legt sich genau darüber. */
.fluid-width-video-wrapper {
	position: relative;
}

.gp-vv {
	position: relative;
	display: block;
	box-sizing: border-box;
	overflow: hidden;
	margin: 0;
	padding: 0;
	background: #2B2B2B;
	color: #fff;
	text-align: left;
	line-height: 1.4;
}

.gp-vv *,
.gp-vv *::before,
.gp-vv *::after {
	box-sizing: border-box;
}

/* Im Avada-Rahmen: ganze Fläche ausfüllen. */
.gp-vv.gp-vv-fuellend {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Frei im Text: volle Breite bis zur Originalbreite, Höhe über den Abstandhalter. */
.gp-vv.gp-vv-frei {
	width: 100%;
}

.gp-vv .gp-vv-abstand {
	display: block;
	width: 100%;
	height: 0;
}

/* WordPress-Einbettungsblöcke mit festem Seitenverhältnis. */
.wp-has-aspect-ratio .wp-block-embed__wrapper > .gp-vv {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: none !important;
}

.wp-has-aspect-ratio .wp-block-embed__wrapper > .gp-vv .gp-vv-abstand {
	display: none;
}

/* Der Knopf ist die ganze Fläche. Theme-Stile für Knöpfe zurücksetzen. */
.gp-vv .gp-vv-knopf {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #2B2B2B;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	overflow: hidden;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.gp-vv .gp-vv-bild {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border: 0;
	object-fit: cover;
}

/* Goldener Abspielknopf in der Mitte. */
.gp-vv .gp-vv-symbol {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 68px;
	height: 68px;
	margin: -34px 0 0 -34px;
	border-radius: 50%;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
	transition: transform 0.15s ease;
}

.gp-vv .gp-vv-symbol svg {
	display: block;
	width: 100%;
	height: 100%;
}

.gp-vv .gp-vv-knopf:hover .gp-vv-symbol {
	transform: scale(1.08);
}

/* Tastatur: deutlich sichtbarer Fokus. Avada blendet Fokusrahmen von Knöpfen
   aus (Klasse fusion-disable-outline); diese Regel ist spezifischer. */
.gp-vv .gp-vv-knopf:focus {
	outline: none;
}

.gp-vv .gp-vv-knopf:focus-visible {
	outline: 3px solid #D9B96F;
	outline-offset: -3px;
}

.gp-vv .gp-vv-knopf:focus-visible .gp-vv-symbol {
	transform: scale(1.08);
	box-shadow: 0 0 0 4px #fff, 0 0 0 7px #2B2B2B;
}

/* Neutraler Platzhalter, wenn Vimeo kein Bild geliefert hat. */
.gp-vv .gp-vv-platzhalter {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 1px solid rgba(217, 185, 111, 0.35);
	background: #2B2B2B radial-gradient(circle at 50% 45%, #3a3a3a 0%, #2B2B2B 65%);
}

.gp-vv .gp-vv-marke {
	position: absolute;
	top: 14px;
	left: 14px;
	right: 14px;
	display: block;
	color: #D9B96F;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.gp-vv .gp-vv-titel {
	position: absolute;
	top: 34px;
	left: 14px;
	right: 14px;
	display: block;
	color: #fff;
	font-size: 15px;
	line-height: 1.35;
}

/* Datenschutzhinweis am unteren Rand. Klicks auf den Text gehen an den
   Knopf darunter weiter, nur der Link bleibt eigenständig anklickbar. */
.gp-vv .gp-vv-hinweis {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	margin: 0;
	padding: 18px 12px 8px;
	background: linear-gradient(to top, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0.84) 70%, rgba(20, 20, 20, 0) 100%);
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	pointer-events: none;
}

.gp-vv .gp-vv-hinweis a {
	color: #D9B96F;
	text-decoration: underline;
	pointer-events: auto;
}

.gp-vv .gp-vv-hinweis a:hover {
	color: #fff;
}

.gp-vv .gp-vv-hinweis a:focus-visible {
	outline: 2px solid #D9B96F;
	outline-offset: 2px;
}

/* Nach dem Klick: der Player nimmt genau den Platz der Vorschau ein.
   Anthrazit statt Weiß, bis Vimeo sein Bild zeigt (ruhiger Übergang). */
.gp-vv-iframe-fuellend {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #2B2B2B;
}

.gp-vv-iframe-frei {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
	background: #2B2B2B;
}

/* Hinweis für Bildschirmleser nach dem Klick, unsichtbar. */
.gp-vv-ansage {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	.gp-vv .gp-vv-symbol {
		transition: none;
	}
}
