/* ==========================================================================
   M25 Hero – Figma 49:66 (desktop) / 50:14 (mobile)
   Spacing is module-specific (pt 176 / pb 120, mobile 64 / 56): Abstand = "Kein Abstand".
   Navigation + hero fill the first screen (min-height, svh).
   ========================================================================== */

section.m25_hero {
	display: flex;
	flex-direction: column;
	min-height: calc(100svh - var(--btw_header_height) - var(--wp-admin--admin-bar--height, 0px));
	padding-top: 176px;
	padding-bottom: 120px;
}

section.m25_hero > .mM_container {
	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
	width: 100%;
}

section.m25_hero .m25_hero_main {
	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
}

section.m25_hero .m25_untertitel_container + .m25_titel_container {
	padding-top: 32px;
}

section.m25_hero .m25_titel {
	margin: 0;
}

/* Body: text left (640), actions right (300), bottom aligned */
section.m25_hero .m25_body {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
	padding-top: 96px;
}

section.m25_hero .m25_content {
	flex: 0 1 640px;
	min-width: 0;
}

section.m25_hero .m25_intro {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.65;
}

section.m25_hero .m25_text_container {
	padding-top: 16px;
	font-size: 1.25rem;
	line-height: 1.65;
}

section.m25_hero .m25_actions {
	flex: 0 0 300px;
}

section.m25_hero .m25_links_container {
	margin-top: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

/* Trust bar */
section.m25_hero .m25_merkmale_container {
	margin-top: auto;
	padding-top: 120px;
}

section.m25_hero .m25_merkmale {
	display: flex;
	justify-content: space-between;
	gap: 16px 24px;
	margin: 0;
	padding: 24px 0 0;
	list-style: none;
	border-top: 1px solid var(--btw_linie);
}

section.m25_hero .m25_merkmal {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
}

section.m25_hero .m25_merkmal::before {
	content: none;
}

section.m25_hero .m25_merkmal_marker {
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	background-color: var(--btw_schwarz);
}

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

@media all and (max-width: 1199px) {
	section.m25_hero .m25_merkmale {
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	section.m25_hero .m25_merkmal {
		flex: 0 0 calc(50% - 12px);
	}
}

@media all and (max-width: 991px) {
	section.m25_hero {
		padding-top: 96px;
		padding-bottom: 72px;
	}

	section.m25_hero .m25_body {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
		padding-top: 48px;
	}

	section.m25_hero .m25_content,
	section.m25_hero .m25_actions {
		flex: 0 0 auto;
	}

	section.m25_hero .m25_merkmale_container {
		padding-top: 64px;
	}
}

@media all and (max-width: 575px) {
	section.m25_hero {
		padding-top: 64px;
		padding-bottom: 56px;
	}

	section.m25_hero .m25_untertitel_container + .m25_titel_container {
		padding-top: 20px;
	}

	/* Figma mobile: four lines "Ihre Tools / sind digital. / Ihre Prozesse / noch nicht." */
	section.m25_hero .m25_titel {
		max-width: 7.5em;
	}

	section.m25_hero .m25_body {
		padding-top: 32px;
	}

	section.m25_hero .m25_intro {
		font-size: 1.0625rem;
		line-height: 1.45;
	}

	section.m25_hero .m25_text_container {
		font-size: 1rem;
		line-height: 1.65;
	}

	section.m25_hero .m25_links_container {
		gap: 20px;
	}

	section.m25_hero .m25_links_container .m25_link_container,
	section.m25_hero .m25_links_container .mM_button {
		width: 100%;
	}

	section.m25_hero .m25_links_container .mM_button {
		justify-content: center;
		height: 52px;
	}

	section.m25_hero .m25_merkmale_container {
		padding-top: 48px;
	}

	section.m25_hero .m25_merkmale {
		gap: 14px 12px;
		padding-top: 20px;
	}

	section.m25_hero .m25_merkmal {
		flex: 0 0 calc(50% - 6px);
		align-items: flex-start;
		gap: 8px;
	}

	section.m25_hero .m25_merkmal_marker {
		flex-basis: 7px;
		width: 7px;
		height: 7px;
		margin-top: 4px;
	}

	section.m25_hero .m25_merkmal_text {
		font-size: 0.625rem;
		line-height: 1.5;
		letter-spacing: 0.198em;
	}
}
