/* LokalRakete: Luecken mit Scroll-Reveal */
.lr-gap-list {
	view-timeline-name: --lrgaps;
}

.lr-gap-list::before,
.lr-gap-list::after {
	content: "";
	position: absolute;
	left: 27px;
	top: 28px;
	bottom: 28px;
	width: 2px;
	z-index: 0;
}

.lr-gap-list::before {
	background: #E6F1FF;
}

.lr-gap-list::after {
	background: #FF6210;
	transform: scaleY(0);
	transform-origin: top;
}

@media (max-width: 767px) {
	.lr-gap-list::before,
	.lr-gap-list::after {
		left: 21px;
		top: 22px;
		bottom: 22px;
	}
}

@keyframes lrReveal {
	from { opacity: 0; transform: translateY(48px); }
	to { opacity: 1; transform: none; }
}

@keyframes lrGrowY {
	from { transform: scaleY(0); }
	to { transform: scaleY(1); }
}

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.lr-reveal {
			animation: lrReveal linear both;
			animation-timeline: view();
			animation-range: entry 5% cover 35%;
		}

		.lr-gap-list::after {
			animation: lrGrowY linear both;
			animation-timeline: --lrgaps;
			animation-range: entry 40% cover 75%;
		}
	}
}

@supports not (animation-timeline: view()) {
	.lr-gap-list::after {
		transform: scaleY(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.lr-gap-list::after {
		transform: scaleY(1);
	}
}

/* LokalRakete: Preis- und Funktionsspalten */
.lr-price-cols > .lr-price-col:first-child,
.lr-feature-cols > .lr-feature-col:first-child {
	border-left: 0;
	padding-left: 0;
}

@media (max-width: 1024px) {
	.lr-price-cols > .lr-price-col:first-child,
	.lr-feature-cols > .lr-feature-col:first-child {
		border-top: 0;
		padding-top: 0;
	}
}

/* LokalRakete: Anker mit Abstand zum festen Header */
[class*="lr-anchor-"] {
	scroll-margin-top: 80px;
}

/* LokalRakete: hervorgehobenes Wort in Ueberschriften nicht trennen */
.lr-hl span {
	white-space: nowrap;
}

/* LokalRakete: V3-Container (z. B. Formular-Karte) in V4-Spalten volle Breite */
.lr-col > .e-con:not(.e-atomic-element) {
	--width: 100%;
	width: 100%;
	max-width: 100%;
}

/* LokalRakete: Profil-Karte Vorher/Nachher */
.lr-pc-list > .lr-pc-row:last-child {
	border-bottom-width: 0;
}

.lr-pc-fill {
	transform-origin: left center;
}

@keyframes lrPcIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

@keyframes lrPcFill {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes lrPcPop {
	0% { transform: scale(0); }
	70% { transform: scale(1.25); }
	100% { transform: scale(1); }
}

@keyframes lrPcHint {
	0%, 100% { box-shadow: 0 0 0 0 rgba(255, 98, 16, 0.5); }
	60% { box-shadow: 0 0 0 8px rgba(255, 98, 16, 0); }
}

@media (prefers-reduced-motion: no-preference) {
	.lr-pc-pane .lr-pc-row {
		animation: lrPcIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
	}
	.lr-pc-pane .lr-pc-row:nth-child(2) { animation-delay: 0.07s; }
	.lr-pc-pane .lr-pc-row:nth-child(3) { animation-delay: 0.14s; }
	.lr-pc-pane .lr-pc-row:nth-child(4) { animation-delay: 0.21s; }
	.lr-pc-pane .lr-pc-row:nth-child(5) { animation-delay: 0.28s; }
	.lr-pc-pane .lr-pc-row:nth-child(6) { animation-delay: 0.35s; }

	.lr-pc-pane .lr-pc-fill {
		animation: lrPcFill 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
	}

	.lr-pc-pane-on .lr-pc-icon {
		animation: lrPcPop 0.45s 0.2s cubic-bezier(0.3, 1.4, 0.5, 1) backwards;
	}
	.lr-pc-pane-on .lr-pc-row:nth-child(2) .lr-pc-icon { animation-delay: 0.27s; }
	.lr-pc-pane-on .lr-pc-row:nth-child(3) .lr-pc-icon { animation-delay: 0.34s; }
	.lr-pc-pane-on .lr-pc-row:nth-child(4) .lr-pc-icon { animation-delay: 0.41s; }
	.lr-pc-pane-on .lr-pc-row:nth-child(5) .lr-pc-icon { animation-delay: 0.48s; }
	.lr-pc-pane-on .lr-pc-row:nth-child(6) .lr-pc-icon { animation-delay: 0.55s; }

	.lr-pc-tabs:not(.lr-pc-seen) .lr-toggle-tab:not(.e--selected) {
		animation: lrPcHint 1.8s ease-in-out infinite;
	}
}
