/*
 * Home hero ([bdn_home_hero]) — rebuilt from prototype/index.html in the site's
 * own palette: brand green #28BDB1 (dark #127A71 for text), yellow #F8C83E
 * buttons and #FFC400 underline, slate #2B4448 text, warm greys, Poppins.
 */

.bfi-hero-wrap {
	--bfi-ink: #1a1a1a;
	--bfi-slate: #2B4448;
	--bfi-muted: #5C6B6D;
	--bfi-green: #127A71;
	--bfi-green-mid: #28BDB1;
	--bfi-green-50: #EEF8F7;
	--bfi-green-100: #E3F5F3;
	--bfi-green-200: #BFE5E1;
	--bfi-cream: #FAF9F7;
	--bfi-line: #E9E5DE;
	--bfi-line-strong: #D9D3C9;
	--bfi-accent: #E8833A;
	--bfi-yellow: #F8C83E;
	--bfi-yellow-hover: #F0BC28;
	--bfi-shadow-sm: 0 1px 2px rgba(16, 40, 44, .06), 0 1px 1px rgba(16, 40, 44, .04);
	--bfi-shadow-md: 0 6px 18px rgba(16, 40, 44, .07), 0 2px 4px rgba(16, 40, 44, .04);
	--bfi-shadow-lg: 0 24px 60px rgba(16, 40, 44, .12), 0 6px 16px rgba(16, 40, 44, .06);
	--bfi-ease: cubic-bezier(.2, .7, .2, 1);
	--bfi-width: var(--site-content-width, 1210px);
	--bfi-gutter: 48px;
	font-family: Poppins, sans-serif;
	color: var(--bfi-ink);
}

/* The row is "full width, no padding": the hero draws its own background edge to edge.
 * The top padding stays: as the first row, the theme uses it to clear the fixed header. */
.l-section:has(> .l-section-h .bfi-hero-wrap) > .l-section-h {
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-bottom: 0 !important;
	max-width: none !important;
}
.l-section:has(> .l-section-h .bfi-hero-wrap) {
	overflow-x: clip;
}

.bfi-hero-wrap :is(h1, h2, h3, p, figure, ol, ul, li) {
	margin: 0;
	padding: 0;
}
.bfi-hero-wrap a {
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}
.bfi-hero-wrap a:focus-visible {
	outline: 3px solid var(--bfi-accent);
	outline-offset: 4px;
	border-radius: 6px;
}

.bfi-hero__icon {
	width: 1.15em;
	height: 1.15em;
	flex-shrink: 0;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .18s var(--bfi-ease);
}

/* ── Hero background ───────────────────────────────────────────────── */
.bfi-hero {
	position: relative;
	overflow: hidden;
	padding: 56px 0 64px;
	background:
		radial-gradient(1000px 520px at 85% 10%, rgba(191, 229, 225, .5), transparent 60%),
		radial-gradient(700px 400px at 0% 100%, rgba(245, 243, 240, .95), transparent 60%),
		#fff;
	text-align: left;
}
.bfi-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(16, 40, 44, .07) 1px, transparent 1px);
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
	pointer-events: none;
}
.bfi-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); /* long words never stretch a column */
	gap: 72px;
	align-items: center;
	width: min(var(--bfi-width), calc(100% - 2 * var(--bfi-gutter)));
	margin-inline: auto;
}
.bfi-hero--single .bfi-hero__inner {
	grid-template-columns: minmax(0, 760px);
}

/* ── Release pill ("New" + what's new in the app) ─────────────────
 * Reads as one sentence: label, text, arrow after the last word. One line when
 * it fits; on narrower screens or with longer translations the text wraps under
 * the label instead of being cut off. */
.bfi-hero__release {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin-bottom: 22px;
	padding: 4px 13px 4px 4px;
	background: #fff;
	border: 1px solid var(--bfi-line);
	border-radius: 16px; /* a full pill on one line, a soft box on two */
	box-shadow: var(--bfi-shadow-sm);
	color: var(--bfi-slate);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.55;
	text-wrap: balance; /* two even lines, never one word alone on the second */
	transition: border-color .18s var(--bfi-ease), box-shadow .18s var(--bfi-ease);
}
a.bfi-hero__release:hover {
	border-color: var(--bfi-green-200);
	box-shadow: var(--bfi-shadow-md);
	color: var(--bfi-slate);
}
.bfi-hero__release-version {
	display: inline-block;
	margin-right: 8px;
	padding: 1px 10px;
	border-radius: 999px;
	background: var(--bfi-green);
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: .02em;
	white-space: nowrap;
	vertical-align: 1px;
}
.bfi-hero__release .bfi-hero__icon {
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-left: 6px;
	vertical-align: -3px;
}
a.bfi-hero__release:hover .bfi-hero__icon {
	transform: translateX(3px);
	color: var(--bfi-green);
}

/* ── Title + intro ─────────────────────────────────────────────────── */
.bfi-hero .bfi-hero__title {
	max-width: 620px;
	color: var(--bfi-ink);
	font-family: inherit;
	font-size: clamp(40px, 4.4vw, 62px);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -.03em;
	text-wrap: balance;
	text-align: left;
}
.bfi-hero__mark {
	position: relative;
	display: inline-block;
	color: var(--bfi-green);
	font-style: normal;
	white-space: nowrap;
}
.bfi-hero__mark::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -.12em;
	/* Scales with the title: same curve as before, ~0.1em thick like the underlines on Pricing. */
	height: .24em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 276 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9.5C46.1081 3.00787 164.955 -0.376652 274 5.06167' fill='none' stroke='%23FFC400' stroke-width='5.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.bfi-hero__num {
	white-space: nowrap;
}
.bfi-hero .bfi-hero__lead {
	max-width: 540px;
	margin: 24px 0 32px;
	color: var(--bfi-slate);
	font-size: 18px;
	line-height: 1.7;
	text-wrap: pretty;
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.bfi-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.bfi-hero a.bfi-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 12px 22px;
	border: 1px solid var(--bfi-yellow);
	border-radius: 100px;
	background: var(--bfi-yellow);
	color: #242820;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	transition: background .18s var(--bfi-ease), border-color .18s var(--bfi-ease), transform .18s var(--bfi-ease), box-shadow .18s var(--bfi-ease);
}
.bfi-hero a.bfi-hero__btn .bfi-hero__icon {
	width: 18px;
	height: 18px;
}
.bfi-hero a.bfi-hero__btn:hover {
	background: var(--bfi-yellow-hover);
	border-color: var(--bfi-yellow-hover);
	color: #242820;
	transform: translateY(-1px);
}
.bfi-hero a.bfi-hero__btn:hover .bfi-hero__icon {
	transform: translateX(2px);
}
.bfi-hero a.bfi-hero__btn--secondary {
	background: #fff;
	border-color: var(--bfi-line-strong);
	color: var(--bfi-ink);
	box-shadow: var(--bfi-shadow-sm);
}
.bfi-hero a.bfi-hero__btn--secondary:hover {
	background: var(--bfi-green-50);
	border-color: var(--bfi-green-200);
	color: var(--bfi-ink);
}

/* ── Scroll link + small print ─────────────────────────────────────── */
.bfi-hero a.bfi-hero__explore {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin: 18px 0 20px;
	color: var(--bfi-slate);
	font-size: 15px;
	font-weight: 600;
}
.bfi-hero a.bfi-hero__explore:hover {
	color: var(--bfi-green);
}
.bfi-hero__explore-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--bfi-line-strong);
	border-radius: 50%;
	background: #fff;
	color: var(--bfi-green);
}
.bfi-hero__explore-icon .bfi-hero__icon {
	width: 15px;
	height: 15px;
}
.bfi-hero a.bfi-hero__explore:hover .bfi-hero__icon {
	transform: translateY(2px);
}
.bfi-hero .bfi-hero__fine {
	padding-left: 14px;
	border-left: 2px solid var(--bfi-green-100);
	color: var(--bfi-muted);
	font-size: 13px;
	line-height: 1.7;
}
.bfi-hero__actions + .bfi-hero__fine {
	margin-top: 24px;
}

/* ── Workflow card ─────────────────────────────────────────────────── */
/* One-time entrance: the card rises and fades in, then the steps and arrows
 * appear in order (--n = position, set in PHP). Runs once; off for reduced
 * motion. When the card starts below the first screen (phones), home-hero.js
 * holds it until it scrolls into view. */
@keyframes bfi-hero-rise {
	from {
		opacity: 0;
		transform: translateY(var(--bfi-rise, 18px));
	}
	to {
		opacity: 1;
		transform: none;
	}
}
.bfi-hero__visual {
	animation: bfi-hero-rise .7s cubic-bezier(.22, .8, .25, 1) .1s both;
}
.bfi-hero__steps > li {
	--bfi-rise: 10px;
	animation: bfi-hero-rise .5s cubic-bezier(.22, .8, .25, 1) both;
	animation-delay: calc(.45s + var(--n, 0) * .12s);
}
.bfi-hero__visual {
	position: relative;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--bfi-line);
	border-radius: 22px;
	box-shadow: var(--bfi-shadow-lg);
}
.bfi-hero__visual-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 22px;
	border-bottom: 1px solid var(--bfi-line);
	background: #fff;
	color: var(--bfi-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.4;
	text-transform: uppercase;
}
.bfi-hero__visual-title {
	text-align: center;
}
.bfi-hero__mini {
	color: var(--bfi-ink);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -.05em;
	text-transform: none;
}
.bfi-hero__mini span {
	color: var(--bfi-accent);
}
.bfi-hero__dots {
	display: inline-flex;
	flex-shrink: 0;
	gap: 6px;
}
.bfi-hero__dots i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--bfi-green-200);
}
.bfi-hero__dots i:first-child {
	background: #F2C3A0;
}
.bfi-hero__dots i:nth-child(2) {
	background: #F6E6B0;
}
.bfi-hero__canvas {
	position: relative;
	min-height: 430px;
	padding: 32px 28px 36px;
	overflow: hidden;
	background:
		radial-gradient(rgba(16, 40, 44, .08) 1px, transparent 1px) 0 0 / 18px 18px,
		linear-gradient(180deg, #F7FBFA, #EDF6F4);
}
.bfi-hero__globe {
	position: absolute;
	top: -10px;
	right: -110px;
	width: 480px;
	max-width: 100%;
	stroke: var(--bfi-green-200);
	stroke-width: 1;
	opacity: .8;
	/* Own compositing layer: the animation never repaints the text around it. */
	will-change: transform;
	transform: translateZ(0);
}
.bfi-hero__globe-dot {
	fill: var(--bfi-green-mid);
	stroke: #fff;
	stroke-width: 1.5;
}
.bfi-hero__globe-ring {
	fill: none;
	stroke: var(--bfi-green-mid);
	stroke-width: 1.5;
}

.bfi-hero__steps {
	position: relative;
	list-style: none;
}
.bfi-hero .bfi-hero__step {
	position: relative;
	display: flex;
	gap: 16px;
	max-width: 400px;
	margin: 0 0 0 calc(var(--i, 0) * 32px);
	padding: 20px;
	background: #fff;
	border: 1px solid var(--bfi-line);
	border-radius: 14px;
	box-shadow: var(--bfi-shadow-md);
	list-style: none;
}
.bfi-hero__step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--bfi-green-100);
	color: var(--bfi-green);
	font-size: 13px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.bfi-hero__step:first-child .bfi-hero__step-num {
	background: var(--bfi-green);
	color: #fff;
}
.bfi-hero__step-label {
	display: block;
	margin-bottom: 6px;
	color: var(--bfi-green);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.4;
	text-transform: uppercase;
}
.bfi-hero .bfi-hero__step-title {
	color: var(--bfi-ink);
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.02em;
}
.bfi-hero .bfi-hero__step-text {
	margin-top: 6px;
	color: var(--bfi-muted);
	font-size: 13px;
	line-height: 1.55;
}
.bfi-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}
.bfi-hero__tags span {
	padding: 3px 9px;
	border: 1px solid var(--bfi-line);
	border-radius: 999px;
	background: var(--bfi-cream);
	color: var(--bfi-slate);
	font-size: 12px;
	line-height: 1.5;
}
/* Each arrow sits halfway between the step numbers above and below it.
 * Number centre = indent + card padding + half the 38px number; arrow is 24px wide. */
.bfi-hero .bfi-hero__connector {
	position: relative;
	display: flex;
	align-items: center;
	height: 38px;
	margin: 0 0 0 calc(11px + var(--i, 1) * 32px);
	color: var(--bfi-green);
	list-style: none;
}
.bfi-hero__connector::before {
	content: "";
	position: absolute;
	left: 11px;
	top: 0;
	bottom: 0;
	border-left: 2px dashed var(--bfi-green-200);
}
.bfi-hero__connector .bfi-hero__icon {
	position: relative;
	width: 24px;
	height: 24px;
	padding: 5px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 1px var(--bfi-green-200), var(--bfi-shadow-sm);
}

.bfi-hero__visual figcaption {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 22px;
	border-top: 1px solid var(--bfi-line);
	background: #fff;
	color: var(--bfi-slate);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}
.bfi-hero__status {
	display: inline-block;
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bfi-green-mid);
	box-shadow: 0 0 0 4px var(--bfi-green-100);
}
.bfi-hero__note {
	margin-left: auto;
	color: var(--bfi-muted);
	font-size: 12px;
	font-weight: 400;
	text-align: right;
}

/* ── Client logos ──────────────────────────────────────────────────── */
.bfi-hero-logos {
	padding: 22px 0 24px;
	background: #fff;
	border-block: 1px solid var(--bfi-line);
}
.bfi-hero-logos .bfi-hero-logos__label {
	width: min(var(--bfi-width), calc(100% - 2 * var(--bfi-gutter)));
	margin: 0 auto 16px;
	color: var(--bfi-muted);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
}
.bfi-hero-wrap .bfi-hero-logos__list {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: center;
	gap: 32px;
	width: min(var(--bfi-width), calc(100% - 2 * var(--bfi-gutter)));
	margin: 0 auto;
	list-style: none;
}
.bfi-hero-wrap .bfi-hero-logos__list li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 68px;
	margin: 0;
	list-style: none;
}
.bfi-hero-logos__list img {
	display: block;
	width: 140px;
	max-width: 100%;
	height: 68px;
	object-fit: contain;
	/* --bfi-logo-b is measured per logo so white, light and dark logos end up the same grey. */
	filter: grayscale(1) brightness(var(--bfi-logo-b, 1));
	opacity: .85;
	transition: opacity .18s var(--bfi-ease);
}
.bfi-hero-logos__list li:hover img {
	opacity: 1;
}
/* Second set of logos: only used by the scrolling row on phones. */
.bfi-hero-wrap .bfi-hero-logos__list li.is-copy {
	display: none;
}

/* One-time entrance when the page loads: the logos rise and fade in one after
 * another (--n = position, set in PHP), then the rating. CSS animations run once;
 * switched off for reduced motion (bottom of this file). When the strip starts
 * below the first screen (phones), home-hero.js holds it until it scrolls into view. */
@keyframes bfi-hero-logo-in {
	from {
		opacity: 0;
		transform: translateY(14px) scale(.96);
		filter: blur(3px);
	}
	to {
		opacity: 1;
		transform: none;
		filter: blur(0);
	}
}
.bfi-hero-logos__label,
.bfi-hero-wrap .bfi-hero-logos__list li,
.bfi-hero-rating-wrap {
	animation: bfi-hero-logo-in .8s cubic-bezier(.22, .8, .25, 1) both;
	animation-delay: calc(.25s + var(--n, 0) * .09s);
}
.bfi-hero-logos__label {
	animation-delay: .1s;
}

/* ── Review rating (Trustpilot) under the logos ──────────────────── */
.bfi-hero-wrap .bfi-hero-rating-wrap {
	display: flex;
	justify-content: center;
	width: min(var(--bfi-width), calc(100% - 2 * var(--bfi-gutter)));
	margin: 20px auto 0;
}
.bfi-hero-rating {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 10px;
	padding: 8px 16px;
	border: 1px solid var(--bfi-line);
	border-radius: 999px;
	background: var(--bfi-cream);
	color: var(--bfi-slate);
	font-size: 14px;
	line-height: 1.4;
	transition: border-color .18s var(--bfi-ease), box-shadow .18s var(--bfi-ease);
}
.bfi-hero-wrap a.bfi-hero-rating:hover {
	border-color: #B9E6D3;
	box-shadow: var(--bfi-shadow-sm);
	color: var(--bfi-slate);
}
.bfi-hero-rating__label {
	color: var(--bfi-ink);
	font-weight: 600;
}
.bfi-hero-rating__stars {
	display: inline-flex;
	gap: 2px;
}
/* Trustpilot-style stars: white star on a green square, the last one partly green. */
.bfi-hero-rating__star {
	display: inline-flex;
	width: 20px;
	height: 20px;
	background: linear-gradient(90deg, #00B67A var(--fill, 100%), #DCDCE6 var(--fill, 100%));
}
.bfi-hero-rating__star svg {
	width: 100%;
	height: 100%;
	fill: #fff;
}
.bfi-hero-rating__score {
	color: var(--bfi-ink);
	font-weight: 600;
}
.bfi-hero-rating__reviews {
	padding-left: 10px;
	border-left: 1px solid var(--bfi-line-strong);
}
.bfi-hero-rating__source {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--bfi-ink);
	font-weight: 600;
}
.bfi-hero-rating__source svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	transform: translateY(-1px);
	fill: #00B67A;
}

/* ── Longer translated titles (FR/DE/IT/ES) ────────────────────────── */
html:not([lang^="en"]) .bfi-hero .bfi-hero__title {
	font-size: clamp(36px, 3.9vw, 54px);
	overflow-wrap: break-word; /* safety net for a very long word on a narrow phone */
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (min-width: 1600px) {
	.bfi-hero {
		padding-block: 72px 80px;
	}
}

@media (max-width: 1150px) {
	.bfi-hero-wrap {
		--bfi-gutter: 32px;
	}
	.bfi-hero__inner {
		gap: 40px;
	}
	.bfi-hero .bfi-hero__lead {
		font-size: 17px;
	}
	.bfi-hero__canvas {
		padding: 26px 20px;
	}
	.bfi-hero .bfi-hero__step {
		margin-left: calc(var(--i, 0) * 18px);
	}
	.bfi-hero .bfi-hero__connector {
		margin-left: calc(18px + var(--i, 1) * 18px);
	}
}

@media (max-width: 950px) {
	.bfi-hero {
		padding: 44px 0 48px;
	}
	.bfi-hero__inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}
	.bfi-hero__copy {
		max-width: 640px;
	}
	.bfi-hero__visual {
		max-width: 600px;
	}
	.bfi-hero-logos__list,
	.bfi-hero-wrap .bfi-hero-logos__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px 32px;
	}
}

@media (max-width: 700px) {
	.bfi-hero-wrap {
		--bfi-gutter: 20px;
	}
	.bfi-hero {
		padding: 32px 0 40px;
	}
	.bfi-hero__release {
		display: flex;
		align-items: center;
		gap: 10px;
		width: 100%;
		box-sizing: border-box;
		margin-bottom: 18px;
		padding: 10px 12px;
		border-radius: 14px;
		text-wrap: pretty;
	}
	.bfi-hero__release-text {
		flex: 1 1 auto;
		min-width: 0;
		line-height: 1.45;
	}
	.bfi-hero__release-version {
		flex: 0 0 auto;
		margin-right: 0;
		padding: 1px 9px;
		font-size: 11px;
	}
	.bfi-hero__release .bfi-hero__icon {
		flex: 0 0 16px;
		width: 16px;
		height: 16px;
		margin-left: 0;
	}
	.bfi-hero .bfi-hero__title {
		font-size: clamp(34px, 9vw, 50px);
	}
	html:not([lang^="en"]) .bfi-hero .bfi-hero__title {
		font-size: clamp(30px, 8vw, 44px);
	}
	.bfi-hero .bfi-hero__lead {
		margin: 20px auto 26px;
		font-size: 16.5px;
	}
	/* Phones: the text block is centred (title, intro, buttons, scroll link, small print).
	 * Tablets and desktops keep it left-aligned next to / above the card. */
	.bfi-hero__copy {
		margin-inline: auto;
		text-align: center;
	}
	.bfi-hero .bfi-hero__title {
		margin-inline: auto;
		text-align: center;
	}
	.bfi-hero__actions {
		justify-content: center;
	}
	.bfi-hero .bfi-hero__fine {
		padding-left: 0;
		border-left: 0; /* the side line would sit off-centre */
	}
	.bfi-hero__release {
		text-align: left; /* the news box keeps its own layout */
	}
	.bfi-hero__canvas {
		min-height: 0;
		padding: 22px 16px 26px;
	}
	.bfi-hero .bfi-hero__step {
		gap: 12px;
		padding: 16px;
		margin-left: calc(var(--i, 0) * 12px);
	}
	.bfi-hero .bfi-hero__step-title {
		font-size: 16.5px;
	}
	.bfi-hero .bfi-hero__connector {
		margin-left: calc(17px + var(--i, 1) * 12px);
	}
	.bfi-hero__visual-head {
		padding-inline: 16px;
	}
	.bfi-hero__visual-title {
		font-size: 10px;
	}
	.bfi-hero__visual figcaption {
		padding-inline: 16px;
	}
	.bfi-hero__note {
		display: none;
	}
	.bfi-hero-logos {
		padding: 20px 0;
	}
	.bfi-hero-logos .bfi-hero-logos__label {
		max-width: 300px;
		margin-bottom: 12px;
	}

	/* Phones: one row of smaller logos scrolling slowly in a loop (the second set
	 * makes it seamless), faded at both edges. Pauses while touched. */
	.bfi-hero-logos__viewport {
		overflow: hidden;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
		mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	}
	.bfi-hero-wrap .bfi-hero-logos__list {
		display: flex;
		gap: 0;
		width: max-content;
		margin: 0;
		animation: bfi-hero-logos-scroll 28s linear infinite;
	}
	.bfi-hero-logos__viewport:active .bfi-hero-logos__list {
		animation-play-state: paused;
	}
	.bfi-hero-wrap .bfi-hero-logos__list li,
	.bfi-hero-wrap .bfi-hero-logos__list li.is-copy {
		display: flex;
		flex: none;
		width: 112px;
		height: 44px;
		padding-inline: 12px;
	}
	.bfi-hero-logos__list img {
		width: 88px;
		height: 44px;
	}

	/* Rating on one line: stars, score, reviews, Trustpilot (the word "Excellent" is left out). */
	.bfi-hero-wrap .bfi-hero-rating-wrap {
		margin-top: 14px;
	}
	.bfi-hero-rating {
		flex-wrap: nowrap;
		gap: 7px;
		padding: 6px 12px;
		font-size: 12.5px;
		white-space: nowrap;
	}
	.bfi-hero-rating__label {
		display: none;
	}
	.bfi-hero-rating__star {
		width: 16px;
		height: 16px;
	}
	.bfi-hero-rating__reviews {
		padding-left: 7px;
	}
	.bfi-hero-rating__source svg {
		width: 15px;
		height: 15px;
	}
}

@media (max-width: 380px) {
	.bfi-hero-wrap {
		--bfi-gutter: 16px;
	}
	/* Narrowest phones: the one-line rating gets tighter so the longest
	 * translation ("38 Bewertungen") still fits. */
	.bfi-hero-wrap .bfi-hero-rating-wrap {
		width: calc(100% - 16px);
	}
	.bfi-hero-rating {
		gap: 5px;
		padding: 5px 10px;
		font-size: 12px;
	}
	.bfi-hero-rating__stars {
		gap: 1px;
	}
	.bfi-hero-rating__star {
		width: 14px;
		height: 14px;
	}
	.bfi-hero-rating__reviews {
		padding-left: 5px;
	}
	.bfi-hero-rating__source svg {
		width: 14px;
		height: 14px;
	}
	.bfi-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}
	.bfi-hero a.bfi-hero__btn {
		width: 100%;
	}
	.bfi-hero .bfi-hero__step {
		margin-left: calc(var(--i, 0) * 6px);
	}
	.bfi-hero .bfi-hero__connector {
		margin-left: calc(20px + var(--i, 1) * 6px);
	}
}

@keyframes bfi-hero-logos-scroll {
	to {
		transform: translateX(-50%); /* exactly one set: the copy takes its place, no jump */
	}
}

@media (prefers-reduced-motion: reduce) {
	/* No moving row: the logos can be swiped sideways instead. */
	.bfi-hero-logos__viewport {
		overflow-x: auto;
		-webkit-mask-image: none;
		mask-image: none;
	}
	.bfi-hero-wrap .bfi-hero-logos__list li.is-copy {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bfi-hero-wrap *,
	.bfi-hero-wrap *::before,
	.bfi-hero-wrap *::after {
		transition: none !important;
		animation: none !important;
	}
}
