/* STB – Flotten-Karten (Child-Block, 07.10.2026, STB Bauplan 21, P14)
   Das Markup kommt aus Block 6a. Hier nur: Kartenbilder immer 3:2 und der Hinweis „Entwurf“ für Redakteure. */
.stb-flotte .cardImgWrap img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.stb-flotte .stb-flotte-entwurf {
	display: inline-block;
	margin-top: .4em;
	padding: .15em .6em;
	border-radius: 999px;
	background: #fff3c4;
	color: #6b5200;
	font-size: .8em;
}

/* Handy: Karten als Wisch-Slider (Daniel, Tor D 07.10.2026, STB Bauplan 22). Nur CSS, kein Skript;
   die nächste Karte schaut rechts heraus, damit man sieht, dass es weitergeht. */
@media (max-width: 767px) {
	.stb-flotte .block-6a-teaser-einfach .flexRow {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 14px;
		margin-left: 0;
		margin-right: 0;
		padding-bottom: 12px;
		scrollbar-width: thin;
	}
	.stb-flotte .block-6a-teaser-einfach .flexRow > div {
		flex: 0 0 82%;
		max-width: 82%;
		width: 82%;
		scroll-snap-align: start;
		margin-bottom: 0;
	}
}

/* Facelift-Fuge vor den Flotten-Karten (Daniel 07.10.2026), aus demselben Grund wie beim Marina-Verzeichnis. */
.stb-facelift main > section:has(+ .stb-flotte) { padding-bottom: var(--stb-luft) !important; }
