/* ==========================================================================
   M33 Über mich – Figma 66:580 / 67:523
   Figma: photo box 480 × 540 (cover), text column 620 (from x 700).
   Companies block (66:746 / 67:689): 3 columns à 400 with logo row 48 px.
   ========================================================================== */

section.m33_ueber_mich .m33_body {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	padding-top: 64px;
}

section.m33_ueber_mich .m33_bild_container {
	position: relative;
	flex: 0 0 480px;
	height: 540px;
	margin: 0;
	overflow: hidden;
	background-color: var(--btw_flaeche);
}

section.m33_ueber_mich .m33_bild {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 15%; /* keeps the head clear when the photo is cropped flatter (mobile) */
}

section.m33_ueber_mich .m33_bild_label {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 10px 16px;
	background-color: var(--btw_schwarz);
	font-size: 0.6875rem;
	line-height: 1.65;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--btw_weiss);
}

section.m33_ueber_mich .m33_content {
	flex: 0 1 620px;
	min-width: 0;
}

section.m33_ueber_mich p,
section.m33_ueber_mich dl,
section.m33_ueber_mich dd {
	margin: 0;
}

section.m33_ueber_mich .m33_name {
	font-size: 1.5rem;
	line-height: 1.65;
	letter-spacing: -0.02em;
}

section.m33_ueber_mich .m33_rolle_container {
	padding-top: 6px;
}

section.m33_ueber_mich .m33_rolle {
	font-size: 0.75rem;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--btw_grau);
}

section.m33_ueber_mich .m33_text_container {
	padding: 28px 0 18px;
	font-size: 1rem;
	line-height: 1.65;
}

section.m33_ueber_mich .m33_text_container > p + p {
	margin-top: 18px;
}

/* Companies and holdings */
section.m33_ueber_mich .m33_firmen {
	margin-top: 80px;
	padding-top: 48px;
	border-top: 1px solid var(--btw_linie);
}

section.m33_ueber_mich .m33_firmen_intro_container {
	max-width: 880px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: -0.02em;
	color: var(--btw_schwarz);
}

section.m33_ueber_mich .m33_gruppe {
	padding-top: 32px;
}

section.m33_ueber_mich .m33_firmen_intro_container + .m33_gruppe {
	padding-top: 40px;
}

section.m33_ueber_mich .m33_gruppe_titel {
	font-size: 0.75rem;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--btw_grau);
}

section.m33_ueber_mich .m33_firmen_liste {
	display: flex;
	flex-wrap: wrap;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--btw_schwarz);
}

section.m33_ueber_mich .m33_firma {
	flex: 0 0 33.3333%;
	min-width: 0;
	margin: 0;
	padding: 20px 24px 24px;
	border-bottom: 1px solid var(--btw_linie);
	border-left: 1px solid var(--btw_linie);
}

section.m33_ueber_mich .m33_firma:nth-child(3n + 1) {
	padding-left: 0;
	border-left: 0;
}

section.m33_ueber_mich .m33_firma_logo_container {
	display: flex;
	align-items: center;
	height: 48px;
}

section.m33_ueber_mich .m33_firma_logo {
	display: block;
	width: auto;
	max-width: 200px;
	height: var(--m33_logo_h, 26px);
	object-fit: contain;
	object-position: left center;
}

section.m33_ueber_mich .m33_firma_name {
	font-size: 1rem;
	font-weight: 700;
}

section.m33_ueber_mich .m33_firma_text_container {
	padding-top: 12px;
}

section.m33_ueber_mich .m33_firma_text {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--btw_grau);
}

section.m33_ueber_mich .m33_firmen_hinweis_container {
	max-width: 760px;
	padding-top: 32px;
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--btw_grau);
}

section.m33_ueber_mich .m33_firmen_hinweis_container p {
	color: inherit;
}

/* Key figures */
section.m33_ueber_mich .m33_kennzahlen {
	display: flex;
	margin-top: 88px;
	padding-top: 48px;
	border-top: 1px solid var(--btw_linie);
}

section.m33_ueber_mich .m33_kennzahlen--nach_firmen {
	margin-top: 48px;
}

section.m33_ueber_mich .m33_kennzahl {
	flex: 0 0 33.3333%;
	min-width: 0;
	padding-right: 24px;
}

section.m33_ueber_mich .m33_kennzahl_wert {
	font-size: 4rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	white-space: nowrap;
}

section.m33_ueber_mich .m33_kennzahl_text {
	max-width: 300px;
	padding-top: 16px;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--btw_grau);
}

@media all and (max-width: 1199px) {
	section.m33_ueber_mich .m33_bild_container {
		flex-basis: 40%;
	}

	section.m33_ueber_mich .m33_kennzahl_wert {
		font-size: 3rem;
	}
}

@media all and (max-width: 767px) {
	section.m33_ueber_mich .m33_body {
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
		padding-top: 32px;
	}

	section.m33_ueber_mich .m33_bild_container {
		flex: 0 0 auto;
		width: 100%;
		max-width: 480px;
		height: 380px;
	}

	section.m33_ueber_mich .m33_bild_label {
		padding: 8px 12px;
		font-size: 0.5625rem;
	}

	section.m33_ueber_mich .m33_content {
		flex: 0 0 auto;
	}

	section.m33_ueber_mich .m33_name {
		font-size: 1.25rem;
		letter-spacing: 0;
	}

	section.m33_ueber_mich .m33_rolle_container {
		padding-top: 4px;
	}

	section.m33_ueber_mich .m33_rolle {
		font-size: 0.6875rem;
		line-height: 1.5;
	}

	section.m33_ueber_mich .m33_text_container {
		padding: 16px 0 0;
		font-size: 0.9375rem;
	}

	section.m33_ueber_mich .m33_text_container > p + p {
		margin-top: 16px;
	}

	/* Companies: stacked rows (67:689) */
	section.m33_ueber_mich .m33_firmen {
		margin-top: 40px;
		padding-top: 28px;
	}

	section.m33_ueber_mich .m33_firmen_intro_container {
		font-size: 1rem;
	}

	section.m33_ueber_mich .m33_gruppe {
		padding-top: 20px;
	}

	section.m33_ueber_mich .m33_firmen_intro_container + .m33_gruppe {
		padding-top: 24px;
	}

	section.m33_ueber_mich .m33_gruppe_titel {
		font-size: 0.6875rem;
		line-height: 1.5;
	}

	section.m33_ueber_mich .m33_firmen_liste {
		flex-direction: column;
		margin-top: 10px;
	}

	section.m33_ueber_mich .m33_firma,
	section.m33_ueber_mich .m33_firma:nth-child(3n + 1) {
		flex: 0 0 auto;
		padding: 14px 0;
		border-left: 0;
	}

	section.m33_ueber_mich .m33_firma_logo_container {
		height: 40px;
	}

	section.m33_ueber_mich .m33_firma_logo {
		height: calc(var(--m33_logo_h, 26px) * 0.85);
		max-width: 100%;
	}

	section.m33_ueber_mich .m33_firma_text {
		font-size: 0.8125rem;
	}

	section.m33_ueber_mich .m33_firmen_hinweis_container {
		padding-top: 20px;
		font-size: 0.8125rem;
	}

	section.m33_ueber_mich .m33_kennzahlen,
	section.m33_ueber_mich .m33_kennzahlen--nach_firmen {
		flex-direction: column;
		margin-top: 40px;
		padding-top: 0;
		border-top: 0;
	}

	section.m33_ueber_mich .m33_kennzahl,
	section.m33_ueber_mich .m33_kennzahl + .m33_kennzahl {
		padding: 20px 0;
		border-top: 1px solid var(--btw_linie);
	}

	section.m33_ueber_mich .m33_kennzahl_wert {
		font-size: 2.75rem;
	}

	section.m33_ueber_mich .m33_kennzahl_text {
		padding-top: 10px;
		font-size: 0.8125rem;
		line-height: 1.65;
	}
}
