/* YouTube erst nach dem Klick (GrowMedia 11/2026), Markup aus lib/functions/theme/inc/embeds.php. */
.video-facade {
	margin: 0 0 32px;
}

.te-film-section > .video-facade {
	margin-inline: auto;
}

.video-facade__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 24px;
	background: #141413 radial-gradient(circle at 50% 45%, #3a3936 0%, #141413 70%);
	cursor: pointer;
	isolation: isolate;
}

.video-facade__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.video-facade__frame:hover .video-facade__poster {
	transform: scale(1.02);
}

.video-facade__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 20, 19, 0.75) 0%, rgba(20, 20, 19, 0) 45%);
	pointer-events: none;
}

.video-facade__play {
	position: absolute;
	inset: 0;
	margin: auto;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: rgba(20, 20, 19, 0.72);
	box-shadow: 0 0 0 2px #ca9f63;
	color: #ca9f63;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

/* margin: 0 schlägt «svg { margin-inline: auto }» aus dem Theme. Das Dreieck ist so gezeichnet,
   dass sein Schwerpunkt in der Mitte liegt (embeds.php). */
.video-facade__play svg {
	width: 40px;
	height: 40px;
	margin: 0;
}

.video-facade__frame:hover .video-facade__play,
.video-facade__play:focus-visible {
	transform: scale(1.06);
	background: rgba(20, 20, 19, 0.88);
}

.video-facade__play:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

.video-facade__note {
	position: absolute;
	inset: auto 0 0;
	z-index: 1;
	margin: 0;
	padding: 12px 20px;
	color: #fff;
	font-size: 1.4rem;
	line-height: 1.4;
	text-align: center;
}

.video-facade__note a {
	color: #ca9f63;
}

.video-facade__frame.is-playing {
	cursor: auto;
	background: #000;
}

.video-facade__frame.is-playing::after {
	content: none;
}

.video-facade__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 600px) {
	.video-facade__frame {
		border-radius: 16px;
	}

	.video-facade__play {
		width: 64px;
		height: 64px;
	}

	.video-facade__play svg {
		width: 30px;
		height: 30px;
	}

	.video-facade__note {
		padding: 8px 12px;
		font-size: 1.2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.video-facade__poster,
	.video-facade__play {
		transition: none;
	}
}
