/* =========================================================
   M30 - Hero (hone)
   Tokens: dunkel #303030 | gold #a5936f | weiss #fff
   Font: cresta (Theme-Typekit) | Font-Sizes in rem, Spacing in px.
   Figma: m_hero auf 00_Startseite (1920x1080)
   ========================================================= */

section.m30_home_entry {
	position: relative;
	min-height: 100vh;
	background-color: #303030;
	overflow: hidden;
	display: flex;
}

/* ---------- Hintergrund: Bild s/w + Overlay ---------- */
section.m30_home_entry .m30_bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

section.m30_home_entry .m30_bg_img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	filter: grayscale(1);
	opacity: .4;
	display: block;
}

/* Gradient von links (Lesbarkeit des Textes) */
section.m30_home_entry .m30_bg_overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(48, 48, 48, 0.8) 0%, rgba(48, 48, 48, 0) 100%);
}

/* ---------- Content unten links, in Flucht der m1-Dunkelkarte ----------
   Breitenlogik identisch zu .hone_dark_card: calc(100% - 170px),
   gedeckelt auf Container + 293px je Breakpoint-Stufe (1755/1973/2093). */
section.m30_home_entry .m30_inner {
	position: relative;
	z-index: 1;
	width: calc(100% - 170px);
	max-width: 1755px;         /* Container 1462 + 293 */
	margin: 0 auto;
	display: flex;
	align-items: flex-end;
	padding: 170px 0 97px 0;   /* oben Platz fuer den fixierten Header */
	box-sizing: border-box;
}

@media (min-width: 2200px) {
	section.m30_home_entry .m30_inner {
		max-width: 1973px;     /* Container 1680 + 293 */
	}
}

@media (min-width: 2400px) {
	section.m30_home_entry .m30_inner {
		max-width: 2093px;     /* Container 1800 + 293 */
	}
}

section.m30_home_entry .m30_content {
	max-width: 660px;
}

/* Titel (per JS injiziert): 3 Zeilen, uppercase, Zeile im <span> gold */
section.m30_home_entry .m30_titel_container {
	margin-bottom: 28px;
}

section.m30_home_entry .m30_titel {
	margin: 0;
	font-size: 3.25rem;        /* 65px (Basis 20px) */
	line-height: 1;            /* 65px */
	font-weight: 500;          /* Cresta Medium */
	letter-spacing: 0.875px;
	text-transform: uppercase;
	color: #fff;
}

section.m30_home_entry .m30_titel span {
	color: #a5936f;
	font-weight: 500;
	display: block;   /* goldene Phrase auf eigener Zeile (ersetzt frueheres <br>) */
}

section.m30_home_entry .m30_subtext {
	max-width: 573px;
	margin-bottom: 50px;
	font-size: 0.9rem;         /* 18px (Basis 20px) */
	line-height: 1.4444;       /* 26px */
	letter-spacing: 0.45px;
	color: #fff;
	font-weight: 300;
}

/* Buttons: global in project.css (hone Buttons) definiert */

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	section.m30_home_entry .m30_inner {
		width: calc(100% - 80px);  /* wie .hone_dark_card */
		padding: 160px 0 70px 0;
	}

	section.m30_home_entry .m30_titel {
		font-size: 2.6rem;     /* 52px (Basis 20px) */
	}
}

@media (max-width: 767px) {
	section.m30_home_entry {
		min-height: 90vh;
	}

	section.m30_home_entry .m30_inner {
		width: calc(100% - 40px);  /* wie .hone_dark_card */
		padding: 140px 0 50px 0;
	}

	section.m30_home_entry .m30_titel {
		font-size: 1.8rem;     /* 36px (Basis 20px) */
	}

	section.m30_home_entry .m30_subtext {
		font-size: 0.8rem;     /* 16px (Basis 20px) */
		margin-bottom: 36px;
	}

	section.m30_home_entry .mM_links {
		gap: 12px;
	}

	section.m30_home_entry .mM_links a.button,
	section.m30_home_entry .mM_links a.mM_button {
		height: auto;              /* 2-zeilige Labels (z.B. "Aktuelle Projekte ansehen"
		                              ab ~330px) wachsen statt zu quetschen */
		min-height: 38px;
		padding: 8px 24px;
		justify-content: center;
		text-align: center;
	}
}

