/*
 * en2x Animierte Kreise – module styles.
 *
 * White 80%-opacity circles over a full-bleed background image / colour. Number,
 * symbol, text and button centered inside each circle. Responsive: 3 (desktop) /
 * 3 tighter (tablet) / 2 / 1 stacked. Font inherited (Rubik from Salient).
 */

.en2x-circles {
	padding: 64px 0;
	background-repeat: no-repeat;
	background-size: cover;
	font-family: inherit;
}

.en2x-circles__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 40px;
}

.en2x-circles__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	align-items: center;
	justify-items: center;
}

.en2x-circles__item {
	width: 100%;
	display: flex;
	justify-content: center;
}

/* The circle itself: perfect circle, white 80% opacity. */
.en2x-circles__circle {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 420px;
	aspect-ratio: 1 / 1;
	padding: 12% 15%;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.8);
	text-align: center;
	box-sizing: border-box;
}

.en2x-circles__number {
	font-size: clamp(34px, 4vw, 54px);
	font-weight: 700;
	line-height: 1;
	color: var(--en2x-color-headline, #250F51);
}

.en2x-circles__symbol {
	margin-top: 2px;
	font-size: clamp(14px, 1.4vw, 18px);
	font-weight: 700;
	line-height: 1;
	color: var(--en2x-color-headline, #250F51);
}

.en2x-circles__text {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: #50575e;
}

.en2x-circles__button {
	display: inline-block;
	margin-top: 16px;
	padding: 8px 20px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--en2x-button-radius, 999px);
	transition: opacity 0.15s ease;
}

.en2x-circles__button:hover,
.en2x-circles__button:focus {
	opacity: 0.88;
	color: #fff;
}

/* ---------------------------------------------------------------------------
 * Responsive: 3 (desktop) -> 3 tighter (tablet) -> 2 -> 1 stacked.
 * ------------------------------------------------------------------------- */

/* Tablet: keep 3, tighter gap + smaller circles. */
@media (max-width: 1024px) {
	.en2x-circles__inner {
		padding: 0 24px;
	}

	.en2x-circles__row {
		gap: 12px;
	}

	.en2x-circles__circle {
		padding: 10% 12%;
	}

	.en2x-circles__text {
		font-size: 13px;
	}
}

/* Smaller tablet / large phone: 2 columns. */
@media (max-width: 768px) {
	.en2x-circles__row {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.en2x-circles__circle {
		max-width: 360px;
		padding: 12% 14%;
	}
}

/* Mobile: 1 column, stacked. */
@media (max-width: 540px) {
	.en2x-circles__row {
		grid-template-columns: 1fr;
		gap: 24px;
		max-width: 360px;
		margin: 0 auto;
	}
}
