/* ==========================================================================
   07 PAGE HEADER
   ========================================================================== */
.reference-page-header {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #111;
    color: #fff;
}


/* Hintergrund */
.reference-page-header-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.reference-page-header-background picture,
.reference-page-header-background img {
    display: block;
    width: 100%;
    height: 100%;
}

.reference-page-header-background img {
    object-fit: cover;
	opacity: 0.4;
}


/* Hauptinhalt */
.reference-page-header-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 140px 24px 180px;
}


/* Titelbereich */
.reference-page-header-title {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    transform: translateY(-35px);
}

.reference-page-header-title h1 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: clamp(3.2rem, 4vw, 4.5rem);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #fff;
    white-space: nowrap;
}

.reference-page-header-title h1 span {
    color: #00fac9;
    margin-right: 0.25em;
}


/* Linie */
.reference-page-header-line {
    display: block;
    width: 550px;
    max-width: 70%;
    height: auto;
    margin: 18px auto 0;
}


/* Beschreibung */
.reference-page-header-subtitle {
    max-width: 850px;
    margin: 38px auto 0;
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    line-height: 1.45;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: #fff;
    text-align: center;
}

.reference-page-header-subtitle p {
    margin: 0;
}


/* Service-Leiste unten */
.reference-page-header > .footer-head {
    position: absolute;
    left: 0;
    bottom: 25px;
    z-index: 2;
    width: 100%;
}


/* 07 Page Header – Tablet Landscape */
@media (min-width: 901px) and (max-width: 1100px) {

    /* Hauptinhalt */
	.reference-page-header-inner {
		position: relative;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 100vh;
		padding: 180px 24px 180px;
	}

	.reference-page-header-title h1 {
		font-size: 3.5rem;
		line-height: 1.15;
		white-space: normal;
	}


	
	/* Linie */
	.reference-page-header-line {
		display: block;
		width: 550px;
		max-width: 70%;
		height: auto;
		margin: 8px auto 0;
	}
	
	.reference-page-header-subtitle {
        max-width: 700px;
        font-size: 1.5rem;
        line-height: 1.5;
		margin: 18px auto 0;
    }

}


/* 07 Page Header – Tablet Porträt */
@media (min-width: 768px) and (max-width: 900px) {

	 /* Hauptinhalt */
	.reference-page-header-inner {
		position: relative;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 100vh;
		padding: 180px 24px 180px;
	}

	.reference-page-header-title h1 {
		font-size: 4.8rem;
		line-height: 1.15;
		white-space: normal;
	}
	
	.reference-page-header-subtitle {
		max-width: 620px;
		font-size: 1.3rem;
		line-height: 1.5;
	}

}


/* 07 Page Header – Smartphone */
@media (max-width: 767px) {

	.reference-page-header-inner {
		padding: 110px 20px 150px;
	}

	.reference-page-header-title {
		max-width: 100%;
		transform: translateY(0);
	}

	.reference-page-header-title h1 {
		font-size: 2.5rem;
		line-height: 1.15;
		white-space: normal;
	}

	.reference-page-header-title h1 span {
		margin-right: 0.12em;
	}
	
	.reference-page-header-line {
        transform: scaleY(1.35);
        transform-origin: center;
    }
	
	
	.reference-page-header-line {
		width: 300px;
		max-width: 80%;
		margin-top: 18px;
	}

	.reference-page-header-subtitle {
		max-width: 360px;
		margin-top: 42px;
		font-size: 1.15rem;
		line-height: 1.55;
		letter-spacing: 0.02em;
	}

	
}