/* ==========================================================================
   FHG Image Text v1.0.0
   Design: Figma FHG_Website / Hero1 (Node 703:1513)
   Vollbild mit Gradient-Overlay und Text-Overlay
   Colors: Sun #F4EE8F
   Fonts: SangBleu Kingdom (title), Poppins (subtitle)
   ========================================================================== */

/* --- Container --- */

.fhg-itext {
	position: relative;
	display: block;
	width: 100%;
	height: 962px;
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	color: #F4EE8F;
}

/* --- Background Image --- */

.fhg-itext__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center center;
}

/* --- Gradient Overlay --- */

.fhg-itext__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent 30%, rgb(25, 27, 24) 100%);
	opacity: 0.7;
	mix-blend-mode: multiply;
	pointer-events: none;
}

/* --- Content --- */

.fhg-itext__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	padding: 0 105px 130px;
	gap: 50px;
	z-index: 1;
}

/* --- Subtitle --- */

.fhg-itext__subtitle {
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 26px;
	line-height: 30px;
	letter-spacing: -0.26px;
	color: inherit;
	margin: 0;
}

/* --- Title --- */

.fhg-itext__title {
	font-family: 'SangBleu Kingdom', serif;
	font-weight: 500;
	font-size: 100px;
	line-height: 100px;
	letter-spacing: -3px;
	color: inherit;
	margin: 0;
	max-width: 650px;
}

.fhg-itext__title em,
.fhg-itext__title i {
	font-style: italic;
}

/* --- Link hover --- */

a.fhg-itext:hover .fhg-itext__image {
	transform: scale(1.03);
}

.fhg-itext__image {
	transition: transform 0.6s cubic-bezier(0.33, 0, 0.2, 1);
}

/* --- Focus visible --- */

.fhg-itext:focus-visible {
	outline: 2px solid #F4EE8F;
	outline-offset: 4px;
}

/* --- Responsive --- */

@media (max-width: 1024px) {
	.fhg-itext {
		height: 700px;
	}

	.fhg-itext__content {
		padding: 0 60px 80px;
		gap: 30px;
	}

	.fhg-itext__title {
		font-size: 70px;
		line-height: 72px;
		letter-spacing: -2px;
		max-width: 500px;
	}

	.fhg-itext__subtitle {
		font-size: 22px;
		line-height: 28px;
	}
}

@media (max-width: 767px) {
	.fhg-itext {
		height: 500px;
	}

	.fhg-itext__content {
		padding: 0 30px 50px;
		gap: 20px;
	}

	.fhg-itext__title {
		font-size: 46px;
		line-height: 48px;
		letter-spacing: -1.5px;
		max-width: 100%;
	}

	.fhg-itext__subtitle {
		font-size: 18px;
		line-height: 24px;
	}
}
