
/*
 * Uber uns Page specific styles
 */
.uber-uns-page-body .hero-image {
	background: url("https://cdn-ileoiog.nitrocdn.com/piAqWgIWecvSPVdBrcEeynjswQnooKKO/assets/images/optimized/rev-3709b25/famev.de/wp-content/themes/main/img/uber-uns/hero.jpg") center/cover no-repeat;
	height: 540px;
}

.uber-uns-page-body .hero-title {
	color: white;
	text-align: center;
	padding-top: 150px;
}

.hero-overlay .grid h2 {
	max-width: 100%;
}

.content-grid {
	display: grid;
	gap: 100px;
	align-items: center;
}

.index-1 .content-grid, .index-4 .content-grid {
	grid-template-columns: 500px 1fr;
}

.index-2 .content-grid, .index-5 .content-grid {
	grid-template-columns: 500px 1fr;
}

.index-3 {
	background: url("https://cdn-ileoiog.nitrocdn.com/piAqWgIWecvSPVdBrcEeynjswQnooKKO/assets/images/optimized/rev-3709b25/famev.de/wp-content/themes/main/img/uber-uns/uber-uns-3.jpg") center/cover no-repeat;
	min-height: 600px;
	display: flex;
	align-items: center;
}

.index-3 .content-text {
	max-width: 600px;
	border-radius: 16px;
	color: #fff;
}

.index-3 .content-text h2 {
	color: #fff;
}

.content-media {
	max-width: 100%;
}

.content-text {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.content-media img {
	width: 100%;
	height: auto;
	border-radius: 16px;
}

@media (max-width: 980px) {
	.index-1 .content-grid, .index-2 .content-grid, .index-4 .content-grid, .index-5 .content-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	
	.index-1 .content-media, .index-4 .content-media {
		order: 2;
	}
	
	.index-1 .content-text, .index-4 .content-text {
		order: 1;
	}
}

@media (max-width: 1440px) {
	.uber-uns-page-body .hero-image {
		height: 400px;
	}
}

@media (max-width: 768px) {
	.uber-uns-page-body .hero-title {
		padding-top: 100px;
		font-size: 32px;
	}
}

@media (min-width: 1366px) {
	.index-6 .content-grid {
		grid-template-columns: minmax(0, 750px) minmax(0, 750px);
	}
	
	.index-6 .content-text {
		top: 160px;
		width: 740px;
		position: relative;
		z-index: 2;
	}
	
	.index-6 .content-media {
		position: absolute;
		max-width: 740px;
		height: 506px;
		z-index: 3;
	}
	
	.index-7 {
		margin-top: 160px;
	}
}

.index-6 .content-text {
	background: var(--green);
	padding: 40px;
	color: #fff;
	border-radius: 16px;
}

.index-6 .content-text h2 {
	font-size: 30px;
	line-height: 1.3;
	color: #fff;
}

.index-6 .media-card-cta:hover {
	transition: all .3s ease 0s;
}

.index-6 .media-card-cta {
	width: fit-content;
	display: inline-block;
	color: #fff;
	transition: all .3s ease 0s;
	font-weight: bold;
}

.index-6 .content-text p {
	max-width: 406px;
}

@media (max-width: 768px) {
	.index-6 .content-text h2 {
		font-size: 24px;
	}
	
	.index-6 .content-text {
		padding: 20px;
	}
}

.index-6.ueber-uns-1 .content-media {
	border-radius: 12px;
	overflow: hidden;
}

.index-6.ueber-uns-1 {
	margin-bottom: 190px;
}

.index-6.ueber-uns-1 .media-card-cta {
	padding: 10px 29px;
	font-size: 25px;
	margin-top: 6px;
}

.index-6.ueber-uns-1 .content-text {
	z-index: 4;
}

.index-6.ueber-uns-1 .content-text p {
	max-width: none;
}

.index-7 {
	background: #e8f2e5;
}

.index-7 h2 {
	margin-bottom: 30px;
}

.index-7 .section-intro {
	width: 100%;
	margin-bottom: 50px;
}

.index-7 .boxes-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	align-items: stretch;
}

.index-7 .info-box {
	background: linear-gradient(129.04deg, #00628d 17.15%, #0098da 82.6%);
	padding: 40px;
	border-radius: 16px;
	color: #fff;
	display: flex;
	flex-direction: column;
}

.index-7 .info-box p {
	font-size: 20px;
}

.index-7 .info-box h3 {
	color: #fff;
	margin-bottom: 20px;
}

.index-7 .cta-g {
	margin-top: 60px;
}

.index-7 h3 {
	font-size: 30px;
	color: #fff;
	margin-bottom: 30px;
}

@media (max-width: 980px) {
	.index-7 .boxes-grid {
		grid-template-columns: 1fr;
	}
	
	.index-7 h3 {
		font-size: 22px;
	}
}

.index-8.logos-section {
	padding: 60px 0;
	background: #fff;
}

.index-8 .logos-container {
	max-width: 80%;
	margin: 0 auto;
}

.index-8 .logos-grid {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 40px;
}

.index-8 .logos-grid img {
	max-width: 150px;
	height: auto;
}

.ueber-uns-2 .cta-g {
	font-size: 25px;
}

.content-flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: stretch;
}

.ueber-uns-2 {
	background: #e3eef2;
	padding: 100px 0 20px;
}

.ueber-uns-2.ueber-uns-3 {
	padding-top: 54px;
	padding-bottom: 100px;
}

.ueber-uns-2 .content-media {
	width: 442px;
	border-radius: 12px;
	overflow: hidden;
	justify-self: normal;
}

.ueber-uns-2 .content-text small {
	color: var(--blue);
	display: block;
	font-weight: 700;
	font-size: 22px;
}

.ueber-uns-2 .content-text {
	justify-self: normal;
	width: calc(100% - 460px);
	height: auto;
	max-width: 750px;
}

@media (min-width: 960px) {
	.section.index-6 .content-grid .content-media {
		right: 0;
	}
	
	.section.index-6 .content-grid {
		position: relative;
	}
}

@media (max-width: 768px) {
	.index-8 .logos-grid {
		justify-content: center;
	}
}
