/* ==========================================================================
   Block: SL Facts Light
   ========================================================================== */

.sl-facts-light {
	background-color: var(--sl-color-white);
	padding: 120px 0;
}

.sl-facts-light__inner {
	display: flex;
	align-items: flex-start;
	gap: 64px;
	max-width: var(--sl-content-width);
	margin: 0 auto;
	padding: 0 var(--sl-content-padding);
}

/* --------------------------------------------------------------------------
   Text Column (left)
   -------------------------------------------------------------------------- */

.sl-facts-light__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 0 0 calc((100% - 64px) * 0.33);
	min-width: 0;
	padding-top: 32px;
}

.sl-facts-light__headline {
	color: var(--sl-color-green);
	text-align: center;
	margin: 0;
}

.sl-facts-light__copy {
	color: var(--sl-color-black);
	text-align: center;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Facts Grid (right)
   -------------------------------------------------------------------------- */

.sl-facts-light__grid {
	flex: 1 1 0%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	min-width: 0;
}

/* --------------------------------------------------------------------------
   Fact Card
   -------------------------------------------------------------------------- */

.sl-facts-light__card {
	display: flex;
	flex-direction: column;
	gap: 40px;
	background-color: var(--sl-color-grey);
	border-radius: 4px;
	padding: 40px 24px;
}

.sl-facts-light__icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
}

.sl-facts-light__icon img {
	display: block;
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.sl-facts-light__card-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: transform 0.3s ease;
}

.sl-facts-light__card:hover .sl-facts-light__card-content {
	transform: translateY(8px);
}

.sl-facts-light__card-headline {
	color: var(--sl-color-green);
	margin: 0;
}

.sl-facts-light__card-copy {
	color: var(--sl-color-black);
	margin: 0;
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
	.sl-facts-light {
		padding: 80px 0;
	}

	.sl-facts-light__inner {
		flex-direction: column;
		gap: 40px;
		padding: 0 22px;
	}

	.sl-facts-light__text {
		flex: none;
		width: 100%;
		padding-top: 0;
	}

	.sl-facts-light__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* --------------------------------------------------------------------------
   Variante: Row (Text oben, 3 Facts zentriert in einer Reihe)
   -------------------------------------------------------------------------- */

.sl-facts-light--row .sl-facts-light__inner {
	flex-direction: column;
	gap: 80px;
	align-items: stretch;
}

.sl-facts-light--row .sl-facts-light__text {
	flex: none;
	width: 100%;
	padding-top: 0;
}

.sl-facts-light--row .sl-facts-light__grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 80px;
}

.sl-facts-light--row .sl-facts-light__card {
	background-color: transparent;
	padding: 0;
	gap: 24px;
	align-items: center;
	text-align: center;
}

.sl-facts-light--row .sl-facts-light__icon {
	width: 64px;
	height: 64px;
}

.sl-facts-light--row .sl-facts-light__icon img {
	width: 64px;
	height: 64px;
}

.sl-facts-light--row .sl-facts-light__card:hover .sl-facts-light__card-content {
	transform: none;
}

@media (max-width: 767px) {
	.sl-facts-light--row .sl-facts-light__inner {
		gap: 40px;
	}

	.sl-facts-light--row .sl-facts-light__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}
