/* Übersicht /leistungen/. */

.bf-leistungen .bf-leist {
	color: var(--bf-text);
}

.bf-leist__hero {
	position: relative;
	background: var(--bf-dark);
	color: #fff;
}

.bf-leist__hero-img {
	display: block;
	width: 100%;
	height: clamp(420px, 52vw, 620px);
	object-fit: cover;
	background: var(--bf-dark);
}

.bf-leist__hero-copy {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: clamp(28px, 5vw, 56px) var(--bf-gutter) clamp(24px, 4vw, 40px);
	background: linear-gradient(transparent, rgba(29, 29, 27, 0.82) 58%);
}

.bf-leist__eyebrow {
	margin: 0 0 8px;
	color: var(--bf-gold-light, #e4d3ae);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.bf-leist__hero h1 {
	margin: 0 0 10px;
	max-width: 12em;
	color: #fff;
	font-size: clamp(40px, 5vw, 64px);
	font-weight: 500;
	line-height: 1.05;
}

.bf-leist__hero-text p:last-child {
	margin: 0;
	max-width: 38em;
	color: #f4efe6;
	font-size: clamp(16px, 1.6vw, 18px);
	line-height: 1.5;
}

.bf-leist__hero-action {
	margin: 18px 0 0;
}

.bf-leist__proof {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 28px;
	margin: 0;
	padding: 16px var(--bf-gutter);
	background: var(--bf-dark);
	color: #fff;
	list-style: none;
	font-size: 14px;
	font-weight: 600;
}

.bf-leist__group {
	padding: clamp(48px, 6vw, 84px) 0;
}

.bf-leist__group--cream {
	background: #efeae2;
}

.bf-leist__group--white {
	background: #fff;
}

.bf-leist__inner {
	width: min(1180px, calc(100% - 2 * var(--bf-gutter)));
	margin-inline: auto;
}

.bf-leist__kicker {
	margin: 18px 0 8px;
	color: var(--bf-gold);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-align: center;
	text-transform: uppercase;
}

.bf-leist__group h2 {
	margin: 0;
	color: var(--bf-dark);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 500;
	line-height: 1.15;
	text-align: center;
}

.bf-leist__group h2 a {
	color: inherit;
	text-decoration: none;
}

.bf-leist__group h2 a:hover,
.bf-leist__group h2 a:focus-visible {
	color: var(--bf-gold);
}

.bf-leist__lead {
	max-width: 40em;
	margin: 14px auto 0;
	font-size: 18px;
	line-height: 1.55;
	text-align: center;
}

.bf-leist__grid,
.bf-leist__tiles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 22px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.bf-leist__grid > li {
	flex: 1 1 260px;
	max-width: 360px;
}

.bf-leist__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	color: var(--bf-dark);
	text-decoration: none;
	box-shadow: 0 12px 32px rgba(29, 29, 27, 0.08);
	transition: transform 0.2s ease;
}

.bf-leist__group--white .bf-leist__card {
	background: #efeae2;
}

.bf-leist__card:hover,
.bf-leist__card:focus-visible {
	transform: translateY(-4px);
	color: var(--bf-dark);
}

.bf-leist__card-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.bf-leist__card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 18px 20px;
}

.bf-leist__card strong,
.bf-leist__tile strong {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.bf-leist__card-body span,
.bf-leist__tile-copy span {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
}

.bf-leist__card:hover strong,
.bf-leist__card:focus-visible strong {
	color: var(--bf-gold);
}

.bf-leist__tiles > li {
	flex: 1 1 280px;
	max-width: 380px;
}

.bf-leist__tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 380px;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
}

.bf-leist__tile-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.bf-leist__tile:hover .bf-leist__tile-img,
.bf-leist__tile:focus-visible .bf-leist__tile-img {
	transform: scale(1.04);
}

.bf-leist__tile-copy {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	padding: 72px 20px 20px;
	background: linear-gradient(transparent, rgba(29, 29, 27, 0.86));
}

.bf-leist__tile:hover,
.bf-leist__tile:focus-visible,
.bf-leist__tile:hover strong,
.bf-leist__tile:focus-visible strong {
	color: #fff;
}

.bf-leist__split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
	margin-top: 28px;
}

.bf-leist__split-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.bf-leist__split-copy .bf-leist__kicker,
.bf-leist__split-copy h2,
.bf-leist__split-copy .bf-leist__lead {
	text-align: left;
	margin-left: 0;
}

.bf-leist__split-copy .bf-separator-icon {
	margin-left: 0;
	width: min(280px, 100%) !important;
}

.bf-leist__split-action {
	margin: 22px 0 0;
}

.bf-leist__close {
	padding: clamp(48px, 6vw, 80px) 0;
	background: var(--bf-dark);
	color: #f4efe6;
}

.bf-leist__close h2 {
	margin: 0;
	max-width: 16em;
	color: #fff;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 500;
	line-height: 1.15;
}

.bf-leist__close p {
	max-width: 38em;
	margin: 14px 0 0;
	font-size: 18px;
	line-height: 1.5;
}

.bf-leist__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.bf-leist__ghost {
	background: transparent;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.75);
}

.bf-leist__close .bf-leist__ghost:hover,
.bf-leist__close .bf-leist__ghost:focus-visible {
	background: #fff;
	color: var(--bf-dark) !important;
}

.bf-leist__phone,
.bf-leist__faq {
	font-size: 15px;
}

.bf-leist__phone a,
.bf-leist__faq a {
	color: var(--bf-gold-light, #e4d3ae);
	text-decoration: none;
}

.bf-leist__phone a:hover,
.bf-leist__phone a:focus-visible,
.bf-leist__faq a:hover,
.bf-leist__faq a:focus-visible {
	color: #fff;
}

@media (max-width: 800px) {
	.bf-leist__hero-img {
		height: 78vw;
		min-height: 460px;
	}

	.bf-leist__hero-copy {
		padding-right: 72px;
	}

	.bf-leist__split {
		grid-template-columns: 1fr;
	}

	.bf-leist__split-copy .bf-leist__kicker,
	.bf-leist__split-copy h2,
	.bf-leist__split-copy .bf-leist__lead,
	.bf-leist__split-copy .bf-separator-icon {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}
}
