/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

hr {
	margin-top: 22px;
	margin-bottom: 22px;
	border: 0 !important;
	border-top: 1px solid #eeeeee !important;
}

#main p a {
	font-weight: 600;
	/*text-decoration: none;*/
}

.gb-icon {
	line-height: 24px;
	/*margin-top: 5px;*/
}

h2 {
	font-size: 34px;
	margin-top: 22px;
	margin-bottom: 11px;
	font-weight: 400;
 	line-height: 1.1;
}

h3 {
	font-size: 28px;
	margin-top: 22px;
	margin-bottom: 11px;
	font-weight: 400;
	line-height: 1.1;
}

h3.title {
	font-size: 46px;
	font-weight: 300;
	line-height: 1.2em;
	margin-top: 0;
}

h4 {
	font-size: 26px;
	font-weight: 300;
	margin-bottom: 1em;
	margin-top: 1.64em;
}

.img-rounded img {
	border-radius: 6px;
}

.headline1 {
	font-size: 64px;
	font-weight: 100;
	margin-bottom: 1em;
	margin-top: 1.64em;
	text-align: center;
}

/* Startseite */
.home .page-hero h1 {
	font-size: 86px;
	line-height: 1em;
	margin-bottom: 31px;
}

.home h2 {
	font-size: 64px;
	font-weight: 100;
	margin-bottom: 1em;
	text-align: center;
}

.home .page-hero p {
	font-size: 24px;
	line-height: 1.8em;
}

.home .page-hero {
	min-height: 650px;
}

.home .headerBreadcrumb {
	display: none;
}


/* Unterseiten */
.page-hero {
	position: relative;
	z-index: 1;
	background-size: cover;
	min-height: 400px;
	display: flex;
	align-items: center; /* Vertikales Zentrieren des Inhalts */
	justify-content: flex-start; /* Horizontales Ausrichten des Inhalts am linken Rand */
}

.page-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	/*background-image: linear-gradient(90deg, #89B8AF 5%, rgba(137, 184, 175, 0.76) 53%, rgba(137, 184, 175, 0) 82%);*/
	/*background-image: linear-gradient(90deg, #89B8AF 5%, rgba(137, 184, 175, 0.76) 25%, rgba(137, 184, 175, 0) 50%);*/
	background-image: linear-gradient(90deg, #89B8AF 5%, rgba(137, 184, 175, 0.76) 30%, rgba(137, 184, 175, 0) 60%);
}

@media only screen and (max-width: 600px) {
	.page-hero::before {
		background-image: linear-gradient(0deg, #89B8AF 70%, rgba(137, 184, 175, 0) 85%) !important;
	}
	
	.page-hero {
		background-size: contain;
		background-position: top center;
		padding: 150px 20px 20px 20px;
	}
	
	.page-hero h1 {
		font-size: 36px !important;
	}
	
	.alignright, .alignleft  {
		float: none !important;
		margin: 15px 0 !important;
	}
}

.inside-page-hero {
    max-width: 1400px; /* Setzt die maximale Breite des Inhalts */
    width: 100%; /* Sorgt dafür, dass der Inhalt sich bis zu seiner maximalen Breite ausdehnt */
    margin-left: auto;
    margin-right: auto; /* Diese beiden Margins zentrieren den .inside-page-hero innerhalb des .page-hero, wenn weniger Platz als 1400px vorhanden ist */
}

.headerBreadcrumb,
.headerBreadcrumb a {
	color: #fff; font-size: 14px; font-weight: 300;
}

.headerTitle {
	color: #fff; font-size: 54px; line-height: 1.2em; font-weight: 300; margin-top: 25px; margin-bottom: 20px; max-width: 750px;
}

.headerSubtitle {
	color: #fff; font-size: 22px; line-height: 1.55em; font-weight: 300; max-width: 750px;
}

.infoTextBorder {
	border: 2px;
	border-style: dotted;
	border-color: #add3cd;
	text-align: center;
	padding: 5px;
}

.contentSummary {
	background: #89b8af;
	color: #fff;
	padding: 30px;
	margin: 50px 0;
}

.contentSummary a {
	color: #fff;
}

.contentSummary a:hover {
	color: #000;
}

.infoBox {
	background: #e37a3c;
	color: #fff;
	padding: 30px;
	margin: 50px 0;
}

.infoBox a {
	color: #fff;
}

.infoBox a:hover {
	color: #000;
}

/* Vergleiche */
.vergleiche {
	margin: 20px 0 50px 0;
}

.vergleiche li {
	text-align: left;
}

.vergleiche h3 {
	font-size: 24px;
	font-weight: 700;
	line-height: 33.6px;
	text-align: center;
	color: rgb(51, 51, 51);
}

.vergleiche strong {
	font-size: 45px;
	font-weight: 500;
	line-height: 1.1;
}

.vergleiche small {
	
}

.vergleiche .wp-block-list {
	font-size: 80%;
}

/* 300px Boxen */
.box {
	position: relative;
}

.box:before {
    content: "";
    position: absolute;
    top: 80%;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, grey 100%);
	z-index: 1;
}

.box:hover {
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.3) !important;
}

.box p {
	margin-bottom: 0;
	position: relative;
	z-index: 1;
}

.box .gb-headline {
	margin-top: -33px;
	padding-bottom: 10px;
	font-size: 16px;
	line-height: 1.42857143;
}

.box .gb-headline a {
	color: #fff;
}

/* Blog */
.single h2 {
	color: rgb(101, 101, 99);
	font-size: 34px;
	margin-top: 22px;
	margin-bottom: 11px;
	font-weight: 400;
	line-height: 1.1;
}

.single h3 {
	color: rgb(101, 101, 99);
	font-size: 28px;
	margin-top: 22px;
	margin-bottom: 11px;
	font-weight: 400;
	line-height: 1.1;
}

/* Blog Custom Pages */
.custom-pages-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.custom-link-item {
    text-align: center;
    margin: 10px;
}

.custom-link-item h2 {
    margin-bottom: 8px;
}

.custom-link-item img {
    max-width: 300px;
    height: auto;
}

.custom-pages-grid {
	margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.custom-grid-item {
    position: relative;
    overflow: hidden;
}

.custom-grid-item img {
    display: block;
    width: 100%;
    height: auto;
}

.custom-grid-item {
    width: 100%;
    transition: box-shadow 0.3s ease-in-out;
}

.custom-grid-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.custom-grid-item a {
    text-decoration: none;
    color: white; /* Passen Sie die Farbe nach Bedarf an */
}

.image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Schwarzes Overlay mit Transparenz */
    padding: 10px 0;
    text-align: center;
    font-size: 1em;
}

/* Smartphones und kleine Geräte */
@media (max-width: 767px) {
    .custom-pages-grid {
        grid-template-columns: repeat(2, 1fr); /* Reduziert auf zwei Spalten */
    }

    .image-title {
        font-size: 0.8em; /* Kleinere Schriftgröße für den Titel */
    }
}

/* Sehr kleine Geräte (z.B. kleinere Handys) */
@media (max-width: 480px) {
    .custom-pages-grid {
        grid-template-columns: 1fr; /* Eine Spalte auf sehr kleinen Bildschirmen */
    }

    .image-title {
        font-size: 0.7em; /* Noch kleinere Schriftgröße */
    }
}



/* Erklärungen Responsive */
.explanations-container {
    display: flex;
    flex-wrap: wrap;
    margin: -10px; /* Anpassung für den Abstand zwischen den Spalten */
}

.explanation {
    padding: 5px; /* Abstand innerhalb der Spalten */
    box-sizing: border-box;
}

.explanation img {
	margin-top: 40px;
}

.explanation h3 {
	font-size: 28px;
	font-weight: 300;
	font-size: 28px;
	color: #656563;
	margin-top: 0;
	margin-bottom: 22px;
	padding-bottom: 22px;
}

.explanation .content {
	font-weight: 300;
	font-size: 18px;
	color: #656563;
	line-height: 29px;
	padding: 0 7px;
}

/* Desktop: 4 Spalten */
@media (min-width: 1024px) {
    .explanation {
        width: 25%;
    }
}

/* Tablet: 2 Spalten */
@media (min-width: 768px) and (max-width: 1023px) {
    .explanation {
        width: 50%;
    }
}

/* Mobil: 1 Spalte */
@media (max-width: 767px) {
    .explanation {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 767px) {
	.home .page-hero h1 {
		font-size: 46px;
		line-height: 1em;
		margin-bottom: 31px;
	}

	.home h2 {
		font-size: 24px;
		font-weight: 100;
		margin-bottom: 1em;
		text-align: center;
	}
	
	.page-hero::before {
		background-image: linear-gradient(90deg, #89B8AF 5%, rgba(137, 184, 175, 0.76) 53%, rgba(137, 184, 175, 0) 82%);
	}
}

/* Footer */
#footer-widgets {
	font-weight: 300;
	font-size: 16px;
}