/**
 * Einstiegsseite Online-Vorsorgeberater (/bestattungsvorsorge/online-vorsorgeberater/).
 * Lädt nur, wenn der Inhalt die Klasse himml-ovb trägt (inc/assets.php).
 * Vorbild: Landingpage aus himml26 (online-vorsorge-hero, vimeo-cover).
 */

/* Hero: Text links, Video rechts; unter 900 px Video oben. */
.himml-ovb > .himml-ovb-hero {
	margin-top: 0 !important;
}

.himml-ovb-hero__title {
	margin-top: 10px;
	font-size: clamp(32px, 1.4rem + 1.6vw, 50px);
	hyphens: manual;
	font-weight: 300;
	line-height: 1.08;
}

.himml-ovb-hero__title strong {
	color: #fff;
	font-weight: 700;
}

.himml-ovb-hero__content > * + * {
	margin-top: 22px;
}

.himml-ovb-hero__content .is-style-lead {
	color: var(--wp--preset--color--on-night);
}

.himml-ovb-hero__content .is-style-check {
	grid-template-columns: 1fr !important;
	color: var(--wp--preset--color--on-night);
}

.himml-ovb-hero__login {
	color: var(--wp--preset--color--on-night-muted);
}

.himml-ovb-hero__login a {
	color: #fff;
}

@media (max-width: 899px) {
	.himml-ovb-hero {
		flex-wrap: wrap !important;
	}

	.himml-ovb-hero > .wp-block-column {
		flex-basis: 100% !important;
	}

	.himml-ovb-hero__media {
		order: -1;
	}
}

/* Video-Cover: Seitenverhältnis wie das alte Hero-Video, Player füllt das Cover. */
.himml-video-cover {
	aspect-ratio: 426 / 240;
	min-height: 0 !important;
	overflow: hidden;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.himml-video-cover .wp-block-cover__image-background {
	filter: none;
}

.himml-video-cover__play .wp-block-button__link {
	gap: 12px;
	padding-left: 14px;
}

/* Play-Symbol: Kreis mit Dreieck vor dem Text. */
.himml-video-cover__play .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.4);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.himml-video-cover__play .wp-block-button__link::after {
	content: "";
	position: absolute;
	left: 27px;
	top: 50%;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 9px solid currentColor;
	transform: translate(-30%, -50%);
}

.himml-video-cover__play .wp-block-button__link {
	position: relative;
}

.himml-video-cover__play .wp-block-button__link:hover::before {
	transform: scale(1.06);
	background-color: rgba(255, 255, 255, 0.28);
}

.himml-video-cover__player,
.himml-video-cover__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.himml-video-cover__player {
	z-index: 3;
	background: #000;
}

.himml-video-cover.is-playing > .wp-block-cover__inner-container {
	visibility: hidden;
}

/* Fragen: weiße Karten mit Fragezeichen, zwei Spalten. */
.himml-questions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
	gap: 14px;
	margin-top: var(--wp--preset--spacing--40) !important;
	padding: 0;
	list-style: none;
}

.himml-questions li {
	position: relative;
	margin: 0;
	padding: 18px 22px 18px 64px;
	border-radius: var(--wp--preset--border-radius--large);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.45;
}

.himml-questions li::before {
	content: "?";
	position: absolute;
	left: 18px;
	top: 16px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--wp--preset--color--mist);
	color: var(--wp--preset--color--blue);
	font-weight: 700;
	font-size: 16px;
}

/* Blaues Band. */
.himml-ovb-band {
	gap: 24px;
	margin-top: var(--wp--preset--spacing--60) !important;
	--himml-focus: var(--wp--preset--color--base);
}

.himml-ovb-band h2 {
	max-width: 760px;
	margin: 0;
	font-weight: 300;
	line-height: 1.15;
}

.himml-ovb-band h2 strong {
	font-weight: 700;
}

/* Vorteile neben dem Foto. */
.himml-ovb-photo img {
	border-radius: var(--wp--preset--border-radius--x-large);
}

.himml-ovb-feature-list {
	margin-block: var(--wp--preset--spacing--40) !important;
}

.himml-ovb-feature {
	gap: 18px !important;
	padding-block: 16px;
	border-top: 1px solid var(--wp--preset--color--line);
}

.himml-ovb-feature:last-child {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.himml-ovb-feature .wp-block-image {
	flex: none;
	margin: 0;
}

.himml-ovb-feature h3 {
	margin: 0 0 4px;
	font-weight: 700;
}

.himml-ovb-feature p {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 16px;
}

@media (max-width: 781px) {
	.himml-ovb-photo img {
		aspect-ratio: 4 / 3 !important;
	}
}
