/* Webdeals Hub – Stufen-Ablauf auf der Bundle-Seite (Entwurf „Schritt für Schritt nach unten").
   Farben aus dem Umfeld: im dunklen Panel helle Schrift, auf weiß dunkle – Flächen halbtransparent. */
.whub-st-bar {
	--whub-st-accent: var(--whub-bc-accent-user, var(--whub-bc-accent-site, var(--fs-color-primary, #446084)));
	--whub-st-done: #2f9e5e;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}
.whub-st-bar li { margin: 0; padding: 0; list-style: none; }
/* Leiste aus dem Baustein „Konfigurator-Schrittleiste“ (frei im Template platziert). */
.whub-st-slot .whub-st-bar { margin: 0; }
.whub-st-bar button.whub-st-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 4px 13px 4px 4px;
	border: 0;
	border-radius: 999px;
	background: rgba(128, 128, 128, .14);
	color: inherit;
	font: inherit;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
	opacity: .78;
	cursor: pointer;
}
.whub-st-bar button.whub-st-pill b {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid rgba(128, 128, 128, .55);
	font-size: 12px;
	font-weight: 700;
}
.whub-st-bar button.whub-st-pill.is-cur { opacity: 1; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--whub-st-accent); background: rgba(128, 128, 128, .2); }
.whub-st-bar button.whub-st-pill.is-cur b { background: var(--whub-st-accent); border-color: var(--whub-st-accent); color: #fff; }
.whub-st-bar button.whub-st-pill.is-done { opacity: 1; }
.whub-st-bar button.whub-st-pill.is-done b { background: var(--whub-st-done); border-color: var(--whub-st-done); color: #fff; }
.whub-st-bar button.whub-st-pill:focus-visible { outline: 3px solid var(--whub-st-accent); outline-offset: 2px; }

/* Schritte untereinander mit feiner Linie, wie im Entwurf. */
form.whub-st .whub-bc-root { gap: 0; }
form.whub-st .whub-bc-root > .whub-bc-step {
	padding: 24px 0 26px;
	border-top: 1px solid rgba(128, 128, 128, .32);
	scroll-margin-top: 110px;
	transition: opacity .25s ease;
}
form.whub-st .whub-bc-root > .whub-bc-step:first-child { border-top: 0; padding-top: 4px; }
form.whub-st .whub-bc-summary-root { scroll-margin-top: 110px; transition: opacity .25s ease; }
form.whub-st .whub-bc-step.is-locked,
form.whub-st .whub-bc-summary-root.is-locked { opacity: .36; }
form.whub-st .whub-bc-step.is-locked .whub-bc-grid,
form.whub-st .whub-bc-step.is-locked .whub-bc-cards,
form.whub-st .whub-bc-step.is-locked .whub-bc-card { pointer-events: none; }
.whub-st-lock { display: none; margin: -6px 0 12px; font-size: 13.5px; opacity: .85; }
form.whub-st .whub-bc-step.is-locked .whub-st-lock { display: block; }

/* Überschrift zweiteilig: fett + grau (Zusatz des Bestandteils). */
form.whub-st .whub-bc-step > .whub-bc-h .whub-bc-h-sub { opacity: .6; font-weight: 400; }

/* Gewähltes Modell (Schritt 1). */
.whub-st-mcard {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border: 2px solid var(--whub-bc-accent, var(--fs-color-primary, #446084));
	border-radius: var(--whub-bc-radius, 12px);
	background: rgba(128, 128, 128, .16);
	background: color-mix(in srgb, var(--whub-bc-accent, #446084) 14%, transparent);
}
.whub-st-mimg { flex: none; width: 92px; height: 72px; border-radius: var(--whub-bc-img-radius, 8px); background: var(--whub-bc-photo, #f2f2f2); overflow: hidden; }
.whub-st-mimg img, .whub-st-mimg picture, .whub-st-mimg picture img { display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; }
.whub-st-mtxt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.whub-st-mtxt b { font-size: 17px; line-height: 1.25; }
.whub-st-mtxt small { font-size: 13px; opacity: .72; }
a.whub-st-change { margin-left: auto; padding: 6px 4px; font-weight: 700; white-space: nowrap; color: var(--whub-bc-accent, var(--fs-color-primary, #446084)); text-decoration: none; }
.dark a.whub-st-change { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a.whub-st-change:hover { text-decoration: underline; }

@media (max-width: 549px) {
	.whub-st-bar button.whub-st-pill { font-size: 13px; padding-right: 10px; }
	.whub-st-mimg { width: 72px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
	form.whub-st .whub-bc-root > .whub-bc-step, form.whub-st .whub-bc-summary-root { transition: none; }
}
