/* VGL – kleine Lead-Boxen. Farben: im Block gewählt, sonst Theme-Farben (Blocksy-Palette). */
.vgl-lbn {
	--vgl-lbn-btn: var(--theme-palette-color-1, var(--wp--preset--color--primary, #990011));
	--vgl-lbn-btn-fg: #fff;
	--vgl-lbn-bg: var(--theme-palette-color-6, #e1e4eb);
	--vgl-lbn-color: inherit;
	box-sizing: border-box;
	margin: 2em 0;
	padding: 28px 24px;
	border-radius: 8px;
	background: var(--vgl-lbn-bg);
	color: var(--vgl-lbn-color);
	text-align: center;
}
.vgl-lbn *,
.vgl-lbn *::before {
	box-sizing: border-box;
}
.vgl-lbn p {
	margin: 0;
}
.vgl-lbn__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 760px;
	margin: 0 auto;
}
.vgl-lbn__title {
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	font-weight: 700;
	line-height: 1.25;
	color: inherit;
}
.vgl-lbn__question {
	font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem);
	line-height: 1.25;
}
.vgl-lbn__text {
	line-height: 1.6;
}

/* Button */
.vgl-lbn__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 28px;
	border: 2px solid var(--vgl-lbn-btn);
	border-radius: 6px;
	background: var(--vgl-lbn-btn);
	color: var(--vgl-lbn-btn-fg) !important;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: filter 0.15s, transform 0.15s;
}
.vgl-lbn__btn:hover,
.vgl-lbn__btn:focus-visible {
	filter: brightness(1.12);
}
.vgl-lbn__btn:focus-visible {
	outline: 2px solid var(--vgl-lbn-btn);
	outline-offset: 3px;
}

/* Lead-Aufruf: zwei Zeilen, Button mittelbreit */
.vgl-lbn--lead-cta {
	padding: 36px 24px;
}
.vgl-lbn--lead-cta .vgl-lbn__inner {
	gap: 10px;
}
.vgl-lbn--lead-cta .vgl-lbn__title {
	font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
}
.vgl-lbn--lead-cta .vgl-lbn__btn {
	width: min(100%, 400px);
	margin-top: 24px;
}

/* Lead-Aufruf kurz */
.vgl-lbn--lead-cta-mini .vgl-lbn__btn {
	min-width: 200px;
}

/* Lead-Hilfebox: Trennlinien oben/unten, Button volle Breite */
.vgl-lbn--lead-help .vgl-lbn__inner {
	max-width: none;
}
.vgl-lbn--lead-help .vgl-lbn__btn {
	width: 100%;
	margin-top: 10px;
}
.vgl-lbn--lead-help.has-divider {
	position: relative;
	margin: 3em 0;
}
.vgl-lbn--lead-help.has-divider::before,
.vgl-lbn--lead-help.has-divider::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent);
}
.vgl-lbn--lead-help.has-divider::before {
	top: -30px;
}
.vgl-lbn--lead-help.has-divider::after {
	bottom: -30px;
}

/* Lead-Ablauf: dunkle Box, Schritte, heller Button */
.vgl-lbn--lead-steps {
	--vgl-lbn-bg: var(--theme-palette-color-4, #553a32);
	--vgl-lbn-color: #fff;
	--vgl-lbn-btn: #fff;
	--vgl-lbn-btn-fg: var(--theme-palette-color-4, #553a32);
	padding: 24px;
	border-radius: 4px;
	text-align: left;
}
.vgl-lbn--lead-steps .vgl-lbn__inner {
	align-items: stretch;
	max-width: none;
}
.vgl-lbn--lead-steps .vgl-lbn__title {
	font-weight: 400;
}
.vgl-lbn__steps {
	display: grid;
	gap: 10px;
	margin: 4px 0 6px;
	padding: 0;
	list-style: none;
}
.vgl-lbn__steps li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
}
.vgl-lbn__num {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 2px solid currentColor;
	border-radius: 50%;
	font-size: 0.85em;
	font-weight: 700;
}
.vgl-lbn--lead-steps .vgl-lbn__btn {
	width: 100%;
	min-height: 38px;
	padding: 8px 16px;
	border-radius: 4px;
}

/* Betrieb eintragen: Platzhalter-Eintrag in einer Firmenliste */
.vgl-lbn--listing-cta {
	--vgl-lbn-accent: var(--theme-palette-color-2, #1e3a8a);
	--vgl-lbn-bg: #fff;
	padding: 24px 24px 20px;
	border: 2px dashed var(--vgl-lbn-accent);
	border-radius: 10px;
	text-align: left;
}
.vgl-lbn__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}
.vgl-lbn__main {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 600px;
}
.vgl-lbn--listing-cta .vgl-lbn__title {
	font-size: 1.2rem;
}
.vgl-lbn__stars {
	color: #d1d5db;
	letter-spacing: 2px;
	line-height: 1;
}
.vgl-lbn__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.vgl-lbn__badge {
	padding: 4px 12px;
	border: 1px solid var(--vgl-lbn-accent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--vgl-lbn-accent) 8%, #fff);
	color: var(--vgl-lbn-accent);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
}
.vgl-lbn__badge--hot {
	border-color: var(--vgl-lbn-btn);
	background: color-mix(in srgb, var(--vgl-lbn-btn) 8%, #fff);
	color: color-mix(in srgb, var(--vgl-lbn-btn) 70%, #000);
}
.vgl-lbn__note {
	font-size: 0.875rem;
	opacity: 0.7;
}
.vgl-lbn__logo {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 110px;
	height: 110px;
	padding: 8px;
	border: 2px dashed #d1d5db;
	border-radius: 4px;
	color: #6b7280;
	font-size: 0.875rem;
	text-align: center;
}
.vgl-lbn__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 22px;
}
.vgl-lbn__btn--ghost {
	border-color: var(--vgl-lbn-accent);
	background: #fff;
	color: var(--vgl-lbn-accent) !important;
}

@media (max-width: 600px) {
	.vgl-lbn {
		padding: 22px 16px;
	}
	.vgl-lbn__head {
		flex-direction: column-reverse;
	}
	.vgl-lbn__logo {
		width: 80px;
		height: 80px;
	}
	.vgl-lbn__buttons {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}

/* Nur ein Button: volle Breite (Länge beider zusammen). */
.vgl-lbn__buttons > :only-child {
	grid-column: 1 / -1;
}

/* Betrieb eintragen: Vorteile mit Linien-Icon in der Akzentfarbe */
.vgl-lbn--listing-cta {
	container: vgl-lbn / inline-size;
}
.vgl-lbn__features {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px 28px;
	margin: 20px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid color-mix(in srgb, var(--vgl-lbn-accent) 20%, transparent);
	list-style: none;
}
@container vgl-lbn (min-width: 560px) {
	.vgl-lbn__features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.vgl-lbn__features li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
}
.vgl-lbn__ficon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--vgl-lbn-accent) 10%, transparent);
	color: var(--vgl-lbn-accent);
}
.vgl-lbn__ficon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.vgl-lbn__fbody {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.45;
}
.vgl-lbn__fbody strong {
	font-weight: 700;
}
.vgl-lbn__fbody span {
	font-size: 0.9rem;
	opacity: 0.8;
}
