/* Kompakte CTA-Formate (1.7.0, 22.10.2026): Angebotsliste .fa-kl, Inline-Empfehlung .fa-ki, Sticky-Leiste .fa-st.
   Zeile .fa-kz = Logo (fester Kasten 4:3) · Name + Kernaussage · Coral-Button. Mobil höchstens 80 px je Zeile, Button 44 px.
   Farben nach CI-GUIDE: Text Navy-Grau, Kernaussage Blau, Button Coral, Linien/Hinweise Grau. Kein Verlauf, kein border-left. */

html body .fa-kl,
html body .fa-ki {
	box-sizing: border-box;
	max-width: 100%;
	margin: 28px 0;
	font-family: var(--font-body, inherit);
	color: var(--c-text, #1c2230);
}

html body .fa-kl__titel {
	margin: 0 0 8px !important;
	padding: 0 4px !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	font-weight: 700 !important;
	color: #5d6675 !important;
}

html body .fa-kl__rows {
	background: #fff;
	border: 1px solid var(--c-border, #e3e6ee);
	border-radius: var(--r-lg, 16px);
	overflow: hidden;
}

html body .fa-kz {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 10px;
	box-sizing: border-box;
	min-height: 64px;
	margin: 0;
	padding: 10px 12px;
}

html body .fa-kl .fa-kz + .fa-kz {
	border-top: 1px solid #eef0f4;
}

html body .fa-ki .fa-kz {
	background: #fff;
	border: 1px solid var(--c-border, #e3e6ee);
	border-radius: var(--r-lg, 16px);
}

html body .fa-kz__logo,
html body .fa-st__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 52px;
	aspect-ratio: 4 / 3;
	padding: 3px;
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: 8px;
	overflow: hidden;
}

html body .fa-kz__logo img,
html body .fa-st__logo img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	object-fit: contain;
}

/* Zugeschnittenes Logo: Inhaltsbereich füllt den Kasten (Werte aus fa_cta_kompakt_logo_crop) */
html body .fa-kz__logo.is-crop,
html body .fa-st__logo.is-crop {
	position: relative;
	display: block;
	padding: 0;
}

html body .fa-kz__logo.is-crop img,
html body .fa-st__logo.is-crop img {
	position: absolute;
	max-width: none !important;
	max-height: none !important;
	height: auto !important;
	object-fit: fill;
}

html body .fa-kz__text,
html body .fa-st__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

html body .fa-kz__name,
html body .fa-st__name {
	overflow: hidden;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--c-text, #1c2230);
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* Name bis zu zwei Zeilen, Kernaussage eine – zusammen höchstens 80 px Zeilenhöhe */
html body .fa-kz__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	white-space: normal;
	overflow-wrap: anywhere;
}

html body .fa-kz__kern {
	overflow: hidden;
	font-size: 13px;
	line-height: 1.35;
	color: #1750AE;
	white-space: nowrap;
	text-overflow: ellipsis;
}

html body a.fa-kz__btn,
html body a.fa-st__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	margin: 0;
	padding: 0 16px;
	background: #FF5A4F;
	border: 0;
	border-radius: var(--r-pill, 999px);
	box-shadow: none;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none !important;
	white-space: nowrap;
}

html body a.fa-kz__btn:hover,
html body a.fa-kz__btn:focus-visible,
html body a.fa-st__btn:hover,
html body a.fa-st__btn:focus-visible {
	background: #E8442F;
	color: #fff !important;
}

html body a.fa-kz__btn::after,
html body a.fa-st__btn::after {
	content: none !important;
}

/* Pflicht-Risikohinweis (_fa_risk): voller Wortlaut unter der Zeile, grau, ohne Rahmen/Akzent */
html body .fa-kz__risk {
	grid-column: 1 / -1;
	margin: 8px 0 0 !important;
	padding: 0 !important;
	font-size: 12.5px !important;
	line-height: 1.45 !important;
	font-weight: 400 !important;
	color: #5d6675 !important;
	hyphens: manual;
	overflow-wrap: break-word;
}

html body .fa-kl .fa-ad-footnote,
html body .fa-ki .fa-ad-footnote {
	margin-top: 8px !important;
}

@media (max-width: 380px) {
	html body a.fa-kz__btn {
		padding: 0 12px;
		font-size: 13.5px;
	}
}

@media (min-width: 768px) {
	html body .fa-kz {
		grid-template-columns: 64px minmax(0, 1fr) auto;
		column-gap: 16px;
		padding: 12px 18px;
	}
	html body .fa-kz__logo {
		width: 64px;
	}
	html body .fa-kz__name {
		font-size: 15.5px;
	}
	html body .fa-kz__kern {
		font-size: 14px;
	}
	html body a.fa-kz__btn {
		padding: 0 24px;
		font-size: 15px;
	}
}

/* ---- Sticky-Leiste: nur Handy ---- */
.fa-st {
	display: none;
}

@media (max-width: 767px) {
	html body .fa-st {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9990;
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr) auto 40px;
		align-items: center;
		column-gap: 8px;
		box-sizing: border-box;
		height: calc(60px + env(safe-area-inset-bottom, 0px));
		margin: 0;
		padding: 8px 2px calc(8px + env(safe-area-inset-bottom, 0px)) 12px;
		background: #fff;
		border-top: 1px solid var(--c-border, #e3e6ee);
		box-shadow: 0 -4px 16px rgba(0, 33, 78, .08);
		font-family: var(--font-body, inherit);
		transform: translateY(110%);
		visibility: hidden;
		transition: transform .2s ease, visibility 0s linear .2s;
	}
	html body .fa-st.is-an {
		transform: none;
		visibility: visible;
		transition: transform .2s ease;
	}
	html body .fa-st__logo {
		width: 44px;
	}
	html body .fa-st__name {
		font-size: 14px;
	}
	html body .fa-st__kern {
		overflow: hidden;
		font-size: 12px;
		line-height: 1.3;
		color: #1750AE;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
	html body a.fa-st__btn {
		padding: 0 14px;
		font-size: 14px;
	}
	html body .fa-st__stern {
		margin-left: 1px;
		font-size: .75em;
		vertical-align: super;
		line-height: 0;
	}
	html body .fa-st__zu {
		position: relative;
		width: 40px;
		height: 44px;
		margin: 0;
		padding: 0;
		background: none;
		border: 0;
		box-shadow: none;
		cursor: pointer;
	}
	html body .fa-st__zu::before,
	html body .fa-st__zu::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 14px;
		height: 2px;
		margin: -1px 0 0 -7px;
		background: #5d6675;
		border-radius: 1px;
		transform: rotate(45deg);
	}
	html body .fa-st__zu::after {
		transform: rotate(-45deg);
	}
	/* Sternchen fängt keine Klicks ab: GTM prüft das geklickte Element auf „[id*='amex-card-models'] a“ */
	html body .fa-st__stern {
		pointer-events: none;
	}
	/* Solange die Leiste sichtbar ist, ersetzt sie den Markt-Ticker (1.7.1): Ticker aus, reservierter Abstand
	   = Leistenhöhe, Consent-Reiter über die Leiste. Klasse weg → die Regeln aus fa-markt greifen wieder. */
	html.fa-st-an body .fam-fussstack {
		visibility: hidden !important;
		pointer-events: none !important;
	}
	html.fa-st-an body .wp-site-blocks {
		padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
	}
	html.fa-st-an body .cmplz-manage-consent {
		translate: 0 calc(-60px - env(safe-area-inset-bottom, 0px)) !important;
	}
	/* Stapelregel wie im Vergleichs-Widget: Cookie-Banner, Exit-Layer und Push-Abfrage haben Vorrang */
	html body:has(.cmplz-cookiebanner.cmplz-show) .fa-st,
	html body.fa-exit-offen .fa-st,
	html body.fa-push-offen .fa-st {
		visibility: hidden !important;
		transform: translateY(110%) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body .fa-st,
	html body .fa-st.is-an {
		transition: none;
	}
}
