/* Zukunfts-Impuls – Accordion (wie Let's connect) */

.valnew-impulse {
	width: 100%;
	box-sizing: border-box;
	background: #ffffff;
	color: #1a1a1a;
	border: 1px solid #1a1a1a;
	padding: clamp(1.75rem, 4vw, 3.5rem);
}

/* Geschlossen: flache Leiste (Desktop 8:1), Titel vertikal zentriert. */
.valnew-impulse:not([open]) {
	aspect-ratio: 16 / 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
@media (max-width: 781px) {
	.valnew-impulse:not([open]) { aspect-ratio: 8 / 1; }
}

/* Summary = klickbarer Accordion-Titel */
.valnew-impulse__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	cursor: pointer;
	list-style: none;
	font-size: var(--impulse-title-size, var(--vn-fs-subheading, 1.5rem));
	font-weight: var(--vn-fw-subheading, 700);
	line-height: 1.2;
}
.valnew-impulse__head::-webkit-details-marker { display: none; }

/* +/× Indikator */
.valnew-impulse__toggle {
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
	position: relative;
}
.valnew-impulse__toggle::before,
.valnew-impulse__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.6em;
	height: 2px;
	background: #1a1a1a;
	transform: translate(-50%, -50%);
	transition: transform 0.3s ease, opacity 0.3s ease;
}
.valnew-impulse__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.valnew-impulse[open] .valnew-impulse__toggle::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

/* Inhalt */
.valnew-impulse__body { margin-top: 2rem; }
.valnew-impulse[open] .valnew-impulse__body { animation: vimp-reveal 0.35s ease; }
@keyframes vimp-reveal {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	.valnew-impulse[open] .valnew-impulse__body { animation: none; }
}

/* Überschrift, Fließtext und Button teilen sich EINE Schriftgröße
   (--impulse-text-size, im Backend einstellbar). */
.valnew-impulse__heading {
	font-size: var(--impulse-text-size, var(--vn-fs-subheading, 1.5rem));
	font-weight: var(--vn-fw-subheading, 700);
	line-height: 1.2;
	margin: 0 0 1rem;
}

/* Fließtext, normale Stärke */
.valnew-impulse__text {
	font-size: var(--impulse-text-size, var(--vn-fs-subheading, 1.5rem));
	font-weight: var(--vn-fw-normal, 400);
	line-height: 1.6;
	margin: 0 0 2rem;
}
.valnew-impulse__para { margin: 0 0 1rem; }
.valnew-impulse__para:last-child { margin-bottom: 0; }

/* CTA-Button (schwarz, invertiert bei Hover) */
.valnew-impulse__cta {
	display: inline-block;
	background: #1a1a1a;
	color: #fff;
	border: 1px solid #1a1a1a;
	padding: 0.95rem 2.1rem;
	font: inherit;
	/* gleiche Schriftgröße wie Überschrift & Text */
	font-size: var(--impulse-text-size, var(--vn-fs-subheading, 1.5rem));
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.valnew-impulse__cta:hover,
.valnew-impulse__cta:focus-visible {
	background: #fff;
	color: #1a1a1a;
}

/* ── Options-Karten (Preissektions-Stil) ──────────────────── */
.valnew-impulse__cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	align-items: stretch;
}
@media (max-width: 781px) {
	.valnew-impulse__cards { grid-template-columns: 1fr; }
}

.valnew-impulse__card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	border: 1px solid #1a1a1a;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: #fff;
}

.valnew-impulse__card-title {
	font-size: var(--impulse-text-size, var(--vn-fs-subheading, 1.5rem));
	font-weight: var(--vn-fw-subheading, 700);
	line-height: 1.15;
	margin: 0 0 0.4rem;
}
/* hervorgehobener Titel-Teil (z. B. „Miet" in „Miet the Team") */
.valnew-impulse__hl {
	position: relative;
	white-space: nowrap;
}
.valnew-impulse__hl::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.02em;
	height: 2px;
	background: currentColor;
}

.valnew-impulse__card-sub {
	font-size: var(--vn-fs-normal, 1.0625rem);
	font-weight: var(--vn-fw-normal, 400);
	line-height: 1.5;
	margin: 0 0 1.25rem;
	opacity: 0.8;
}

.valnew-impulse__features {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	flex: 1 1 auto;
}
.valnew-impulse__feature {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: var(--vn-fs-normal, 1.0625rem);
	font-weight: var(--vn-fw-normal, 400);
	line-height: 1.4;
}
/* Häkchen: runder Kreis mit weißem Haken auf schwarzem Grund */
.valnew-impulse__check {
	flex: 0 0 auto;
	width: 1.25em;
	height: 1.25em;
	margin-top: 0.05em;
	position: relative;
	background: #1a1a1a;
	border-radius: 50%;
}
.valnew-impulse__check::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 46%;
	width: 0.42em;
	height: 0.22em;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translate(-50%, -50%) rotate(-45deg);
}

.valnew-impulse__price {
	font-size: var(--vn-fs-xl, clamp(1.4rem, 2.5vw, 1.9rem));
	font-weight: var(--vn-fw-subheading, 700);
	line-height: 1.1;
	margin: 0 0 1.25rem;
}
.valnew-impulse__price-prefix {
	font-size: 0.55em;
	font-weight: var(--vn-fw-normal, 400);
	opacity: 0.7;
	margin-right: 0.1em;
}

.valnew-impulse__card-cta {
	align-self: flex-start;
	margin-top: auto;
}

/* ── Popup / Modal ────────────────────────────────────── */
.valnew-impulse__overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(0, 0, 0, 0.6);
}
.valnew-impulse__overlay[hidden] { display: none; }

.valnew-impulse__dialog {
	position: relative;
	width: 100%;
	max-width: 460px;
	background: #fff;
	color: #1a1a1a;
	border: 1px solid #1a1a1a;
	padding: clamp(1.75rem, 4vw, 3rem);
	text-align: left;
	animation: vimp-in 0.25s ease;
}
@keyframes vimp-in {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	.valnew-impulse__dialog { animation: none; }
}

.valnew-impulse__close {
	position: absolute;
	top: 0.4rem;
	right: 0.7rem;
	background: none;
	border: none;
	font-size: 1.9rem;
	line-height: 1;
	cursor: pointer;
	color: inherit;
}

.valnew-impulse__popup-heading {
	font-size: var(--vn-fs-subheading, 1.2rem);
	font-weight: var(--vn-fw-subheading, 700);
	margin: 0 0 1.5rem;
}

.valnew-impulse__options {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.valnew-impulse__option {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	border: 1px solid #1a1a1a;
	padding: 0.85rem 1.25rem;
	text-decoration: none;
	color: #1a1a1a;
	font-weight: 600;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.valnew-impulse__option:hover,
.valnew-impulse__option:focus-visible {
	background: #1a1a1a;
	color: #fff;
}
.valnew-impulse__option-sub {
	font-weight: 400;
	font-size: var(--vn-fs-small, 0.875rem);
	opacity: 0.75;
}

/* ── Warp-Zündung (Vollbild, per view.js dynamisch an <html> erzeugt) ──── */
.valnew-warp-canvas {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	background: #000;
	z-index: 2147483646;
	display: none;
}
.valnew-warp-canvas.is-visible { display: block; }

.valnew-warp-whiteout {
	position: fixed;
	inset: 0;
	background: #ffffff;
	opacity: 0;
	z-index: 2147483647;
	pointer-events: none;
}
