@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/inter/inter-400.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/inter/inter-500.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/inter/inter-600.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/inter/inter-700.woff2') format('woff2');
}

body:has(.lp-page) {
	background: #fff;
	--bs-body-color: var(--lp-ink);
	--bs-border-color: var(--lp-line);
}

body:has(.lp-page) .container {
	max-width: var(--lp-maxw);
}

@media (max-width: 991.98px) {
	body:has(.lp-page) .container {
		padding-inline: 1.25rem;
	}
}

.lp-page hr {
	border-color: var(--lp-line);
	opacity: 1;
}

.lp-page,
.lp-footer {
	font-family: var(--lp-font);
	overflow-x: clip;
}

.nav-link.active {
	color: var(--primary-lighter) !important;
}

/* --- Buttons ------------------------------------------------------------- */
.lp-page .btn {
	--bs-btn-padding-x: 22px;
	--bs-btn-padding-y: 12px;
	--bs-btn-border-radius: var(--lp-radius-sm);
	--bs-btn-border-width: 1.5px;
	--bs-btn-font-size: 0.95rem;
	--bs-btn-font-weight: 600;
	font-family: var(--lp-font-ui);
}

/* --- Cards --------------------------------------------------------------- */
.lp-page .card {
	--bs-card-border-color: var(--lp-line);
	--bs-card-border-radius: var(--lp-radius);
	--bs-card-spacer-x: 24px;
	--bs-card-spacer-y: 24px;
	box-shadow: var(--lp-shadow);
}

/* --- Fluid headings ------------------------------------------------------ */
.lp-display {
	font-size: clamp(2.5rem, 5.5vw, 4.375rem);
}
.lp-display-prefix {
	font-size: clamp(2rem, 4.4vw, 3.4375rem);
}
@media (max-width: 767.98px) {
	.lp-display-prefix {
		font-size: clamp(1.5rem, 8.2vw, 2rem);
	}
}
.lp-title {
	font-size: clamp(1.7rem, 3vw, 2.2rem);
}
.lp-title-lg {
	font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

/* --- Badge --------------------------------------------------------------- */
.lp-page .badge {
	--bs-badge-color: var(--primary);
	--bs-badge-padding-x: 14px;
	--bs-badge-padding-y: 9px;
	--bs-badge-font-size: 14px;
	--bs-badge-font-weight: 600;
	--bs-badge-border-radius: var(--lp-radius-sm);
	background: var(--lp-success-light);
	vertical-align: middle;
}

/* --- Header (navbar) ----------------------------------------------------- */
.lp-header {
	--bs-navbar-color: var(--lp-ink);
	--bs-navbar-hover-color: var(--primary);
	--bs-navbar-active-color: var(--primary);
	background: #fff;
	border-bottom: 1px solid var(--lp-line);
	font-family: var(--lp-font-ui);
}

.lp-header .navbar-nav {
	--bs-nav-link-font-weight: 400;
}

@media (max-width: 991.98px) {
	.lp-header .navbar {
		position: relative;
	}

	.lp-header .navbar-collapse {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 0.5rem 1rem 1rem;
		background: #fff;
		border-bottom: 1px solid var(--lp-line);
		box-shadow: var(--lp-shadow);
	}
}

.lp-header__logo {
	height: 28px;
	width: auto;
	display: block;
}

/* --- Hero ---------------------------------------------------------------- */
.lp-hero {
	padding-block: 64px 48px;
	background: linear-gradient(180deg, var(--lp-green-tint) 0%, #fff 100%);
}

.lp-hero__rotator {
	display: grid;
}

.lp-hero__phrase {
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity 0.6s ease;
	color: var(--primary);
}

.lp-hero__phrase.is-active {
	opacity: 1;
}

/* --- Search -------------------------------------------------------------- */
.lp-search {
	max-width: 520px;
}

.lp-search .input-group {
	box-shadow: var(--lp-shadow);
	border-radius: var(--lp-radius-sm);
}

.lp-search__input {
	border-color: var(--lp-line);
	padding: 19px 22px;
	font-size: 1.05rem;
	border-top-left-radius: var(--lp-radius-sm);
	border-bottom-left-radius: var(--lp-radius-sm);
}

.lp-search__input:focus {
	border-color: var(--primary);
	box-shadow: none;
}

.lp-search__btn {
	background: var(--primary);
	color: #fff;
	padding-inline: 24px;
	font-size: 1.15rem;
	border-top-right-radius: var(--lp-radius-sm);
	border-bottom-right-radius: var(--lp-radius-sm);
}

.lp-search__btn:hover,
.lp-search__btn:focus {
	background: var(--primary-darker);
	color: #fff;
}

.lp-search__results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 30;
	background: #fff;
	border-radius: 0 0 var(--lp-radius-sm) var(--lp-radius-sm);
	box-shadow: var(--lp-shadow);
	overflow: hidden;
}

.lp-hero__media {
	position: relative;
	width: min(420px, 100%);
	/* Own stacking context: keeps the z-index:-1 shape behind the photo but
	   above the hero's gradient background. */
	isolation: isolate;
	transition: transform 0.4s ease;
}

/* Hover: lift the whole media block a touch (image + shape rise together). */
.lp-hero__media:hover,
.lp-forclubs__media:hover {
	transform: translateY(-5px);
}

.lp-hero__stats {
	gap: clamp(2rem, 6vw, 4rem);
}

.lp-hero__frame {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
}

.lp-hero__slide {
	opacity: 0;
	transition: opacity 0.8s ease;
}

.lp-hero__slide.is-active {
	opacity: 1;
}

.lp-hero__shape {
	position: absolute;
	inset: 0.5rem;
	background: var(--lp-green-light);
	border-radius: var(--lp-radius);
	transform: rotate(-3deg);
	z-index: -1;
	transition:
		transform 0.8s ease,
		inset 0.4s ease,
		filter 0.4s ease;
}

.lp-hero__shape.is-alt {
	transform: rotate(-4.2deg);
}

/* Hover: flip the shape the other way (+3deg), grow it a touch (via inset) and
   brighten it a hair, all behind the photo. The hover rule outranks the
   rotator's is-alt state while hovering; the photo itself stays put (no rotation). */
.lp-hero__media:hover .lp-hero__shape {
	inset: 0.15rem;
	transform: rotate(3deg);
	filter: brightness(1.06);
}

/* --- Why: segmented toggle ----------------------------------------------- */
.lp-why .lp-toggle {
	display: flex;
	width: fit-content;
	margin: 0 auto 40px;
	border: 1.5px solid var(--primary);
}

.lp-toggle__btn {
	font-family: var(--lp-font-ui);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: none;
	background: #fff;
	color: var(--primary);
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition:
		background-color 0.15s ease,
		color 0.15s ease;
}

.lp-toggle__btn.is-active {
	background: var(--primary);
	color: #fff;
}

@media (max-width: 575.98px) {
	.lp-why .lp-toggle {
		width: 100%;
	}

	.lp-toggle__btn {
		flex: 1 1 0;
		justify-content: center;
		white-space: nowrap;
		padding-inline: 0.75rem !important;
	}
}

/* --- For clubs ----------------------------------------------------------- */
.lp-forclubs__media {
	position: relative;
	/* Own stacking context for the z-index:-1 shape. */
	isolation: isolate;
	transition: transform 0.4s ease;
}

.lp-forclubs__media::before {
	content: '';
	position: absolute;
	inset: 0.5rem;
	background: var(--lp-green-light);
	border-radius: var(--lp-radius);
	transform: rotate(-3deg);
	z-index: -1;
	transition:
		inset 0.4s ease,
		transform 0.6s ease,
		filter 0.4s ease;
}

/* Hover: same treatment as the hero shape — flip to +3deg, grow, brighten. */
.lp-forclubs__media:hover::before {
	inset: 0.15rem;
	transform: rotate(3deg);
	filter: brightness(1.06);
}

.lp-forclubs__panel {
	position: relative;
	isolation: isolate;
	padding: clamp(1.5rem, 4vw, 3rem);
}

.lp-forclubs__panel::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--lp-success-light);
	border-radius: var(--lp-radius);
	transform: rotate(-3deg);
	z-index: -1;
}

.lp-forclubs__mockup {
	display: block;
	width: 100%;
	height: auto;
}

.lp-about__photo {
	max-width: 440px;
	margin-inline: auto;
}

/* --- Sub-page hero (/ueber-uns, /kontakt) -------------------------------- */
.lp-pagehero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, var(--lp-green-tint) 0%, #fff 100%);
	padding-block: 72px 56px;
}

.lp-pagehero__inner {
	position: relative;
	z-index: 1;
}

.lp-pagehero__hex {
	position: absolute;
	z-index: 0;
	width: 120px;
	aspect-ratio: 1 / 1;
	background: var(--lp-green-light);
	opacity: 0.45;
	clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.lp-pagehero__hex--l {
	top: 10%;
	left: 6%;
}

.lp-pagehero__hex--l2 {
	top: 56%;
	left: -2%;
	width: 84px;
	opacity: 0.35;
}

.lp-pagehero__hex--r {
	top: 14%;
	right: 7%;
	width: 96px;
}

/* --- Support card -------------------------------------------------------- */
.lp-support__card {
	max-width: 720px;
	background: #fff;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	box-shadow: var(--lp-shadow);
}

.lp-support__sep {
	border: 0;
	border-top: 1px solid var(--lp-line);
	margin-block: 28px;
	opacity: 1;
}

.lp-support__contact {
	font-size: clamp(0.875rem, 4.5vw, 1.5rem);
	white-space: nowrap;
}

.lp-support__icon {
	font-size: 1.35em;
}

.lp-support__contact:hover {
	color: var(--primary-darker);
}

/* --- Testimonials -------------------------------------------------------- */
.lp-testimonial {
	container-type: inline-size;
}

.lp-testimonial__body {
	display: grid;
	grid-template-columns: 56px 1fr;
	grid-template-areas:
		'logo name'
		'quote quote';
	column-gap: 1rem;
	row-gap: 0.75rem;
	align-items: center;
}

.lp-testimonial__logo {
	grid-area: logo;
	width: 56px;
	height: 56px;
}

.lp-testimonial__name {
	grid-area: name;
}

.lp-testimonial__quote {
	grid-area: quote;
}

@container (min-width: 28rem) {
	.lp-testimonial__body {
		grid-template-areas:
			'logo name'
			'logo quote';
		row-gap: 0.25rem;
		align-items: start;
	}
}

/* --- Categories marquee -------------------------------------------------- */
.lp-marquee {
	--lp-cat-width: 240px;
	--lp-cat-gap: 20px;
	position: relative;
	overflow: hidden;
}

.lp-marquee::before,
.lp-marquee::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 1;
	width: 4%;
	pointer-events: none;
}

.lp-marquee::before {
	left: 0;
	background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.lp-marquee::after {
	right: 0;
	background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.lp-marquee__track {
	display: flex;
	width: max-content;
	padding-block: 8px;
	animation: lp-marquee 60s linear infinite;
	will-change: transform;
}

@media (hover: hover) {
	.lp-marquee:hover .lp-marquee__track {
		animation-play-state: paused;
	}
}

@media (max-width: 767.98px) {
	.lp-marquee {
		--lp-cat-width: 160px;
		--lp-cat-gap: 12px;
	}

	.lp-marquee__track {
		animation-duration: 25s;
	}
}

@keyframes lp-marquee {
	to {
		/* Move by exactly one of the three copies. */
		transform: translateX(
			calc(var(--lp-cat-count) * (var(--lp-cat-width) + var(--lp-cat-gap)) * -1)
		);
	}
}

.lp-cat-card {
	flex: 0 0 var(--lp-cat-width);
	aspect-ratio: 1 / 1;
	margin-right: var(--lp-cat-gap);
}

.lp-cat-card__overlay {
	gap: 2px;
	padding: 18px 18px 24px;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0) 55%,
		rgba(255, 255, 255, 0.28) 100%
	);
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
	transform-origin: center bottom;
	transition: transform 0.35s ease;
}

.lp-cat-card img {
	transition:
		transform 0.4s ease,
		filter 0.4s ease;
}

/* Hover: darken + zoom the image (so the white labels stay legible) and grow the
   labels a touch, signalling the card is clickable. */
.lp-cat-card:hover img {
	transform: scale(1.06);
	filter: brightness(0.78);
}

.lp-cat-card:hover .lp-cat-card__overlay {
	transform: scale(1.07);
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 40%,
		rgba(0, 0, 0, 0.5) 100%
	);
}

/* --- Footer -------------------------------------------------------------- */
.lp-footer__logo-vf {
	height: 32px;
	width: auto;
	max-width: 100%;
}

.lp-footer__logo-ev {
	height: 52px;
	width: auto;
	max-width: 100%;
}

.lp-footer__logo-sd {
	height: 28px;
	width: auto;
	max-width: 100%;
}

.lp-footer__col a:hover {
	color: var(--primary);
}

/* --- Image placeholder --------------------------------------------------- */
.lp-img-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(
		135deg,
		var(--lp-green-tint),
		var(--lp-green-light)
	);
	color: rgba(31, 42, 36, 0.28);
	font-size: 2.4rem;
	border-radius: var(--lp-radius);
}

@media (prefers-reduced-motion: reduce) {
	.lp-marquee__track {
		animation: none;
	}

	.lp-hero__slide,
	.lp-hero__phrase,
	.lp-hero__shape,
	.lp-hero__media,
	.lp-forclubs__media,
	.lp-forclubs__media::before,
	.lp-cat-card img,
	.lp-cat-card__overlay {
		transition: none;
	}
}
