/* m83 - Kunden in Zahlen (Figma Group 57, Online_Marketing_BTW_00 / 56:616)
 * Linksbündige Headline + N-Spalten-Grid mit Testimonial-Karten.
 * Karten-Stil entspricht m77_box (Gradient + Inset-White + Drop-Shadow).
 */

section.m83_leistungen {
	position: relative;
}

section.m83_leistungen .container {
	position: relative;
	z-index: 3;
}

/* Hell-Variante etwas dunkler als Theme-Default (#fff), um Figma #fafafe zu treffen */

section.m83_leistungen[data-innerer-abstand="innerer_abstand_oben_und_unten"] {
	padding-top: 91px;
	padding-bottom: 91px;
}
section.m83_leistungen[data-innerer-abstand="innerer_abstand_nur_oben"]  { padding-top: 91px; }
section.m83_leistungen[data-innerer-abstand="innerer_abstand_nur_unten"] { padding-bottom: 91px; }

/* === Headline (linksbündig) === */
section.m83_leistungen .m83_titel {
	margin: 0 0 14px;
	font-family: 'Nexa-Heavy', sans-serif;
	font-size: 2.1875rem;
	line-height: 1;
	font-weight: 400;
	color: #1f1db0;
	letter-spacing: 1.1px;
	text-align: left;
	text-shadow: 0 0 24px rgba(226, 249, 255, 0.15);
}

section.m83_leistungen .m83_text_container *,
section.m83_leistungen .m83_beschreibung,
section.m83_leistungen .m83_untertitel,
section.m83_leistungen .m83_beschriftung {
	color: #101079;
}

section.m83_leistungen .m83_beschriftung {
	margin-bottom: 3px;
}

section.m83_leistungen .m83_untertitel {
	font-size: 1.063rem;
	margin-bottom: 10px;
}

section.m83_leistungen .m83_verlinkung {
	margin-top: 33px;
}

section.m83_leistungen .m83_icon {
	margin-bottom: 19px;
}

section.m83_leistungen .btw_button.secondary {
	background: linear-gradient(180deg, #08083d, #08083d);
	width: 100%;
	text-align: center;
}

section.m83_leistungen .m83_counter {
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	background: #FF5B4A;
	position: absolute; 
	top: -20px;
	left: auto;
}

section.m83_leistungen .m83_counter p {
	line-height: 1;
	color: #fff;
	margin-top: 3px;
	margin-left: 3px;
}

/* === Grid === */
section.m83_leistungen .m83_grid {
	display: grid;
	grid-template-columns: repeat(var(--m83-cols, 3), 1fr);
	gap: 30px;
	align-items: stretch;
}

/* === Card === */
section.m83_leistungen .m83_item {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 51px;
	border: 2px solid #efebff;
	border-radius: 15px;
	background-image:
		linear-gradient(180deg, #ededf9 0%, #fff 50.481%);
	box-shadow:
		inset 0 0 65px 5px rgba(255, 255, 255, 0.8),
		0 5px 4px 1px rgba(231, 227, 246, 0.45);
}

/* === Big Zahl === */
section.m83_leistungen .m83_zahl {
	margin: 0 0 2px;
	font-family: 'Nexa-Heavy', sans-serif;
	font-size: 2.8125rem;
	line-height: 1;
	font-weight: 400;
	color: #ff5b4a;
	letter-spacing: 1.1px;
}
section.m83_leistungen .m83_praefix,
section.m83_leistungen .m83_suffix { display: inline; }

/* === Subline === */
section.m83_leistungen .m83_subline {
	margin: 0 0 40px;
	font-family: 'Nexa-Regular', sans-serif;
	font-size: 1.0625rem;
	line-height: 25px;
	color: #101079;
	letter-spacing: 0.32px;
}

/* === Zitat === */
section.m83_leistungen .m83_zitat {
	margin: 0 0 32px;
	font-family: 'Nexa-Regular', sans-serif;
	font-size: 1rem;
	line-height: 24px;
	color: #101079;
	letter-spacing: 0.32px;
	flex-grow: 1;
}

/* === Author === */
section.m83_leistungen .m83_author {
	position: relative;
	padding-left: 20px;
}
section.m83_leistungen .m83_author::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 4px;
	height: 41px;
	background: #1f1db0;
	border-radius: 2px;
}
section.m83_leistungen .m83_author_name {
	margin: 0;
	font-family: 'Nexa-Heavy', sans-serif;
	font-size: 1rem;
	line-height: 24px;
	color: #101079;
	letter-spacing: 0.32px;
}
section.m83_leistungen .m83_author_rolle {
	margin: 0;
	font-family: 'Nexa-Regular', sans-serif;
	font-size: 1rem;
	line-height: 24px;
	color: #101079;
	letter-spacing: 0.32px;
}

section.m83_leistungen .m83_head_right .btw_button {
	display: flex;
	align-items: center;
	gap: 7px;
}

section.m83_leistungen .m83_head_right .btw_button_icon svg {
	width: 14px;
	min-width: 14px;
	fill: #fff;
}

section.m83_leistungen .m83_head_container {
	display: flex;
	gap: 92px;
	align-items: flex-end;
	justify-content: space-between;
}

section.m83_leistungen .m83_head_left,
section.m83_leistungen .m83_head_right {
	width: 50%;
}

section.m83_leistungen .m83_head_right {
	display: flex;
	justify-content: flex-end;
}

section.m83_leistungen .m83_icon svg {
	height: 114px;
	width: auto;
	margin-left: -10px;
}

section.m83_leistungen .m83_head_container {
	margin-bottom: 92px;
}

/* === Responsive === */
@media screen and (max-width: 1399px) {
	section.m83_leistungen .m83_head_container {
		flex-direction: column;
		align-items: flex-start;
		gap: 35px;
	}
	
	section.m83_leistungen .m83_head_left,
	section.m83_leistungen .m83_head_right {
		width: 100%;
	}
	
	section.m83_leistungen .m83_head_right {
		justify-content: flex-start;
	}
}

@media (max-width: 1199px) {
	section.m83_leistungen .m83_item { padding: 36px; }
	section.m83_leistungen .m83_titel { font-size: 1.875rem; }
}

@media (max-width: 991px) {
	section.m83_leistungen[data-innerer-abstand="innerer_abstand_oben_und_unten"] {
		padding-top: 70px;
		padding-bottom: 70px;
	}
	section.m83_leistungen .m83_titel { margin-bottom: 36px; }
	section.m83_leistungen .m83_grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 575px) {
	section.m83_leistungen .m83_item { padding: 28px; }
	section.m83_leistungen .m83_zahl { font-size: 2.25rem; }
	
	section.m83_leistungen .m83_head_container {
		margin-bottom: 52px;
	}
}

body.page-id-14254 section.m83_leistungen .m83_item,
body.page-id-14250 section.m83_leistungen .m83_item,
body.page-id-14247 section.m83_leistungen .m83_item,
body.page-id-14244 section.m83_leistungen .m83_item {
	padding: 44px 27px;
}