/* BF Kalender-Extras – Kundenstimmen-Slider + Logoband (heller Hintergrund, direkt vor der Kurzbeschreibung) */

/* ---- Logoband ---- */
.bfke-brands {
	--bfke-gold: #fcaf3b;
	margin: 6px 0 18px;
	padding: 4px 0;
	background: transparent;
}
.bfke-brands__viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.bfke-brands__track {
	display: flex;
	width: max-content;
	animation: bfke-scroll var(--bfke-dur, 50s) linear infinite;
	will-change: transform;
}
.bfke-brands__viewport:hover .bfke-brands__track,
.bfke-brands__viewport:focus-within .bfke-brands__track { animation-play-state: paused; }

.bfke-brands__list {
	display: flex;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.bfke-brands__item {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	margin: 0 30px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.bfke-brands__item::before, .bfke-brands__item::marker { content: none !important; }

/* „mono“: Logo als Maske, Farbe und Deckkraft aus den Einstellungen */
.bfke-logo {
	display: block;
	background-color: var(--bfke-color, #2b2b2b);
	opacity: var(--bfke-alpha, .85);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition: background-color .25s ease, opacity .25s ease, transform .25s ease;
}
.bfke-brands__item:hover .bfke-logo {
	background-color: var(--bfke-hover, #fcaf3b);
	opacity: 1;
	transform: scale(1.06);
}

/* „grau“ / „original“: echtes Bild (für Logos mit heller Schrift in dunklem Wappen) */
.bfke-brands__item img {
	display: block;
	max-width: none;
	object-fit: contain;
	opacity: var(--bfke-alpha, .85);
	transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}
.bfke-brands__item--grau img { filter: grayscale(1) contrast(1.15); }
.bfke-brands__item:hover img { opacity: 1; transform: scale(1.06); }
.bfke-brands__item--grau:hover img { filter: none; }

/* Marken ohne Logo-Datei: Schriftzug */
.bfke-brands__item--word span {
	font-family: Poppins, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--bfke-color, #2b2b2b);
	opacity: var(--bfke-alpha, .85);
	transition: color .25s ease, opacity .25s ease;
}
.bfke-brands__item--word:hover span { color: var(--bfke-hover, #fcaf3b); opacity: 1; }

/* Geheim-Platz */
.bfke-brands__item--secret span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border: 1px solid var(--bfke-gold);
	border-radius: 999px;
	font-family: Poppins, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #8a5a00;
	background: #fff8ea;
	box-shadow: 0 0 12px rgba(252, 175, 59, .25);
	animation: bfke-glow 2.6s ease-in-out infinite;
}
.bfke-brands__item--secret i { font-style: normal; font-size: 12px; color: var(--bfke-gold); }

@keyframes bfke-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@keyframes bfke-glow {
	0%, 100% { box-shadow: 0 0 8px rgba(252, 175, 59, .18); }
	50% { box-shadow: 0 0 16px rgba(252, 175, 59, .45); }
}

@media (prefers-reduced-motion: reduce) {
	.bfke-brands__track { animation: none; }
	.bfke-brands__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.bfke-brands__dup { display: none; }
	.bfke-brands__item--secret span { animation: none; }
}
@media (max-width: 600px) {
	.bfke-brands__item { margin-right: 24px !important; height: 44px; }
}

/* ---- Kundenstimme ---- */
.bfke-proof {
	margin: 14px 0 8px !important;
	padding: 12px 14px 12px 16px;
	background: #faf6ee;
	border-left: 3px solid #fcaf3b;
	border-radius: 0 10px 10px 0;
	font-family: Poppins, Arial, Helvetica, sans-serif;
}
.bfke-proof__top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.bfke-proof__stars {
	position: relative;
	display: inline-block;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 2px;
	color: #e3dccd;
}
.bfke-proof__stars::before { content: "★★★★★"; }
.bfke-proof__stars span {
	position: absolute;
	left: 0;
	top: 0;
	width: var(--bfke-fill, 100%);
	overflow: hidden;
	white-space: nowrap;
	color: #fcaf3b;
}
.bfke-proof__meta { font-size: 12px; color: #6b6660; }

/* Slider: alle Stimmen liegen übereinander, die Box ist so hoch wie die längste – nichts springt. */
.bfke-proof__slides { display: grid; }
.bfke-proof__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}
.bfke-proof__slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .45s ease, transform .45s ease, visibility 0s;
}
.bfke-proof__dots { display: flex; gap: 6px; margin-top: 7px; }
.bfke-proof__dot {
	width: 7px;
	height: 7px;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #e3dccd !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: width .3s ease, background-color .3s ease;
}
.bfke-proof__dot[aria-current="true"] { width: 18px; background: #fcaf3b !important; }
.bfke-proof__dot:focus-visible { outline: 2px solid #fcaf3b; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.bfke-proof__slide, .bfke-proof__slide.is-active { transition: none; transform: none; }
}

.bfke-proof__quote {
	margin: 7px 0 3px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	font-size: 14px !important;
	font-style: italic;
	line-height: 1.5;
	color: #272626;
	quotes: none;
}
.bfke-proof__quote::before, .bfke-proof__quote::after { content: none !important; }
.bfke-proof__author { margin: 0 !important; font-size: 12px; color: #6b6660; }

/* Warenkorb-Button bei Varianten über der Auswahl (Klasse kommt vom Plugin an <body>) */
.bfke-cart-up .summary form.variations_form { display: flex !important; flex-direction: column !important; }
.bfke-cart-up .summary form.variations_form .single_variation_wrap { display: contents !important; }
.bfke-cart-up .summary form.variations_form .woocommerce-variation-add-to-cart { order: -1; margin-bottom: 18px; }

/* Team-Bild hinter der Kurzbeschreibung */
.bfke-team { margin: 18px 0 8px !important; padding: 0 !important; }
.bfke-team img { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; }
