* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    text-decoration: none;
    font-family: "noto-sans-display", sans-serif;
    font-weight: 400;
    font-style: normal;
	image-rendering: optimizeSpeed;
}

img {
	image-rendering: optimizeSpeed;
}

body {
	color: var(--main-text-color);
    background-color: var(--bg);
    font-family: "noto-sans-display", sans-serif;
    font-weight: 400;
    font-style: normal;
	width: 100%;
	max-width: 100%;
}

.center {
	text-align: center;
	width: 100%;
	position: fixed;
	height: 75px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	z-index: 9999;
}

.header {
    background-color: var(--bg2);
	box-shadow: 0px 0px 15px 0px grey;
    display: flex;
    width: 80%;
    max-width: 100%;
    height: 65px;
    margin-top: 15px;
    align-items: center;
    justify-content: center;
    position: fixed;
    transition: width .6s, margin-top .6s;
    padding-top: 10px;
    padding-bottom: 10px;
	z-index: 500;
}


.header.scrolled {
    width: 100%;  /* Beim Scrollen volle Breite */
	max-width: none;
	border-bottom: 1px solid var(--bg);
    margin-top: 0; /* Beim Scrollen kein Margin-Top */
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: calc(100% - 50px);
	max-width: 1250px;
}

.logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo img {
	width: 130px;
	margin-top: 7px;
}

.nav1 {
	display: flex;
	justify-content: space-around;
	width: 100%;
	max-width: 800px;
	align-items: center;
}

.nav1 a {
	font-size: 110%;
	font-weight: 500;
	text-transform: uppercase;
	word-spacing: 2px;
	letter-spacing: 0.7px;
	color: var(--main-text-color);
}

.nav1-btn i {
	margin-right: 5px;
}

.nav1-btn a {
	background: var(--cta2);
	color: rgb(255, 255, 255);
	min-width: 154px;
	text-decoration: none;
    font-size: clamp(13px, .8vw, 15px);
	font-weight: 600;
	text-transform: uppercase;
	display: inline-block;
	padding: 10px 20px;
	border-radius: 5px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* optional shadow */
	transition: background-color 0.3s ease;
}


/* banner start */
.banner {
	min-width: 100%;
	max-width: 100%;
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.600);
}
.banner video {
	width: 100%;
	height: 100vh;
	position: absolute;
	z-index: -1;
	object-fit: cover;
}
.banner .text {
	text-align: center;
}
.banner .text h1 {
	font-size: 400%;
	font-weight: bold;
}
.banner .text h2 {
	font-size: 300%;
	font-weight: bold;
}
.banner .text h3 {
	font-size: 150%;
}
.banner a {
	text-decoration: none;
}
.banner a .button {
	max-width: calc(90% - 20px);
	width: 400px;
	background: var(--cta2);
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	border-radius: 5px;
	color: white;
	font-weight: bold;
	margin-top: 20px;
	font-size: 120%;
	scale: 1;
	transition: scale .75s;
}
@media only screen and (max-width: 1150px) {
	.banner .text h1 {
		font-size: 300%;
	}
	.banner .text h3 {
		font-size: 140%;
	}
}
@media only screen and (max-width: 820px) {
	.banner .text h1 {
		font-size: 250%;
	}
	.banner .text h3 {
		font-size: 120%;
	}
	.banner a .button {
		max-width: calc(90% - 20px);
		width: 300px;
		background: var(--cta2);
		margin-left: auto;
		margin-right: auto;
		padding: 10px;
		border-radius: 5px;
		color: white;
		font-weight: bold;
		margin-top: 20px;
		font-size: 110%;
	}
}
@media only screen and (max-width: 700px) {
	.banner .text h1 {
		font-size: 200%;
	}
}
@media only screen and (max-width: 560px) {
	.banner .text h1 {
		font-size: 150%;
	}
	.banner .text h3 {
		font-size: 110%;
	}
	.banner a .button {
		max-width: calc(90% - 20px);
		width: 300px;
		background: var(--cta2);
		margin-left: auto;
		margin-right: auto;
		padding: 10px;
		border-radius: 5px;
		color: white;
		font-weight: bold;
		margin-top: 20px;
		font-size: 110%;
	}
}
.banner a .button:hover {
	cursor: pointer;
	scale: 1.05;
	transition: scale .75s;
}
/* banner end */

/* counter begin*/
.counter {
	position: relative;
	background-color: var(--bg2);
	padding: 20px;
	width: 80%;
	max-width: calc(40% - 40px);
	border-radius: 5px;
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: -56px;
}
.counter .kasten {
	width: auto;
	text-align: center;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}
.counter .kasten h2 {
	font-size: 200%;
	color: white;
	font-weight: bold;
}

.counter .kasten .eins {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.counter .kasten .eins span {
	margin-left: 5px;
	font-size: 150%;
}

.counter .kasten h3 {
	color: var(--second-text-color);
	font-size: 110%;
}
@media only screen and (max-width: 695px) {
	.counter {
		max-width: calc(100% - 40px);
		width: 100%;
		border-radius: 0;
		margin-top: 0;
	}
}
@media only screen and (max-width: 560px) {
	.counter {
		max-width: calc(100% - 40px);
		width: 100%;
		border-radius: 0;
		flex-direction: column;
		margin-top: 0;
	}
	.counter .kasten:nth-child(2) {
		margin-top: 15px;
		margin-bottom: 15px;
	}
}
/* counter end*/

/*services start*/
.service {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
	margin-bottom: 50px;
	padding-top: 30px;
	padding-bottom: 30px;
}
.service h3 {
	color: var(--gold);
	font-size: 110%;
	text-align: center;
}
.service .flex {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.service .flex .line {
	width: 50px;
	height: 3px;
	background: var(--gold);
	border-radius: 100px;
	margin: 10px;
}
.service .flex h2 {
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 200%;
}

.service .dienstleistungen {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
	flex-wrap: wrap;
}

.service .dienstleistungen .box {
	width: 280px;
	background-color: var(--bg2);
	padding: 20px;
	margin: 10px;
	text-align: center;
	height: 350px;
	position: relative;
}

.service .dienstleistungen .box h4 {
	text-align: center;
	font-size: 180%;
	text-transform: uppercase;
	margin-bottom: 0;
	padding-bottom: 0;
}

.service .dienstleistungen .box h5 {
	font-weight: bold;
	text-align: center;
	font-size: 180%;
	text-transform: uppercase;
	padding-top: 0;
	margin-top: 0;
	line-height: 0.7;
	margin-bottom: 20px;
}

.service .dienstleistungen .box p {
	color: var(--second-text-color);
}

.service .dienstleistungen .box a .button {
	color: white;
	background: var(--cta2);
	margin-top: 20px;
	padding: 10px;
	bottom: 20px;
	width: 260px;
	position: absolute;
}
/*services end*/

/* vorteile start */

.ds-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center ;
    width: 100%;
    margin-top: 100px;
	margin-bottom: 100px;
}

.dsc-h1 {
    max-width: 1600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.dsc-h1 .flex {
	display: flex;
	justify-content: center;
	text-align: center;
	width: 100%;
}

.dsc-h1 .flex .line {
	width: 50px;
	height: 3px;
	background: var(--gold);
	border-radius: 100px;
	margin: 25px;
}


@media only screen and (max-width: 530px) {
	.dsc-h1 .flex .line {
		display: none;
	}
}

.dsc-h1 h2 {
    color: white;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 200%;
}

.dsc-h1 h3 {
    color: var(--gold);
	font-size: 110%;
	text-align: center;
}

.dcs-box {
    width: 100%;
    max-width: 1400px;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.dcs-box-1 {
    width: 100%;
    max-width: 250px;
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dcs-box-icon {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dcs-box-icon::before {
    display: none;
    position: absolute;
    width: 130%;
    height: 350%;
    background: var(--cta2);
}

.dcs-box-icon::after {
    display: none;
    position: absolute;
    width: 92%;
    height: 90%;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dcs-box-icon:hover::before {
    display: flex;
    content: '';
    animation: spin 1.5s infinite linear;
}

@keyframes spin {

    to {
        transform: rotate(360deg);
    }
    
}

.dcs-box-icon i {
    display: flex;
    justify-content: center;
    color: white;
    background-color: var(--bg2);
    font-size: 34px;
    padding: 25px;
    border-radius: 24px;
    width: 34px;
    max-height: 84px;
    z-index: 10;
}

.dcs-box-text {
    margin-top: 10px;
    width: 100%;
    max-width: 200px;
}

.dcs-box-text p {
    font-size: clamp(13px, 5vw, 20px);
    font-weight: 500;
}

.dcs-p {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: clamp(18px, 5vw, 30px);
    font-weight: 600;
    width: calc(100% - 20px);
}

.dcs-button {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    width: calc(100% - 20px);
    max-width: 1600px;
}

.dcs-button a .button{
    text-align: center;
	color: white;
	background: var(--cta2);
	width: 300px;
	max-width: 90%;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	font-weight: bold;
	border-radius: 5px;
    margin-bottom: 15px;
	font-size: 120%;
	scale: 1;
	transition: scale .75s;
}

.dcs-button a .button:hover {
    cursor: pointer;
	scale: 1.05;
	transition: scale .75s;
}

/* vorteile ende */


/* kontakt banner */

.kontakt-banner {
	width: calc(100% - 10px);
	margin-bottom: 100px;
	margin-top: 50px;
	background: var(--bg2);
	text-align: center;
	padding: 5px;
}

.kontakt-banner .line {
	width: 87.5%;
	height: 3px;
	background: var(--cta2);
	border-radius: 100px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}

.kontakt-banner h2 {
	font-size: 200%;
	color: white;
}

.kontakt-banner p {
	color: var(--second-text-color);
	font-size: 110%;
}

.kontakt-banner a .button {
	color: white;
	background: var(--cta2);
	width: 300px;
	max-width: 90%;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	font-weight: bold;
	margin-top: 15px;
	border-radius: 5px;
	font-size: 120%;
	scale: 1;
	transition: scale .75s;
}
.kontakt-banner a .button:hover {
	cursor: pointer;
	scale: 1.05;
	transition: scale .75s;
}
/* kontakt banner end */

/*top immos*/
.topimmos, .kundenbewertungen {
	width: 87%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 100px;
	margin-top: 0;
}
.topimmos a {
	text-decoration: none;
	color: white;
}
.topimmos h3, .kundenbewertungen h3 {
	color: var(--gold);
	font-size: 110%;
	text-align: center;
}
.topimmos .flex, .kundenbewertungen .flex {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.topimmos .flex .line, .kundenbewertungen .flex .line {
	width: 50px;
	height: 3px;
	background: var(--gold);
	border-radius: 100px;
	margin: 10px;
}
.topimmos .flex h2, .kundenbewertungen .flex h2 {
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 200%;
}

.immogrid {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-top: 15px;
	justify-content: space-around;
	flex-wrap: wrap;
}

.immokarte {
	width: 100%;
	max-width: 380px;
	height: 600px;
	max-height: 600px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	scale: 1;
	transition: scale .75s;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.immokarte:hover {
	cursor: pointer;
	scale: 1.06;
	transition: scale .75s;
}

.immokarte img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.immokarte h4 {
	font-size: 150%;
}

.immokarte h5 {
	font-size: 120%;
	color: var(--gold);
	margin-bottom: 10px;
}

.immokarte .inhalt {
	border-bottom: 1px solid var(--gold);
	margin-bottom: 10px;
	padding-bottom: 5px;
	height: 50px;
}

.immokarte .inhalt h6 {
	font-size: 120%;
	font-weight: bold;
}

.immokarte .inhalt p {
	font-size: 100%;
}

.topimmos .more {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.topimmos .more a {
	color: var(--gold);
	font-size: 120%;
}
/* ende top immos*/

/* top immo suche */
.search {
	width: calc(100% - 25px);
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}

.search form {
	width: calc(100% - 20px);
	background-color: var(--bg2);
	padding: 10px;
	display: flex;
	justify-content: space-around;
	align-items: center;
	max-width: calc(100% - 20px);
	flex-wrap: wrap;
}

.search form .left {
	max-width: 90%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.search form input[type=text] {
	font-size: 110%;
	color: black;
	background-color: white;
	outline: none;
	border: 1px solid black;
	padding: 5px;
	max-width: calc(100% - 30px);
}

.search form input[type=submit] {
	font-size: 110%;
	color: black;
	background-color: white;
	outline: none;
	border: 1px solid black;
	padding: 5px;
	min-width: 15%;
	width: 15%;
	max-width: 15%;
	cursor: pointer;
	min-width: 80px;
}

.search form input[type=submit]:hover {
	background-color: var(--bg);
	color: white;
	border: 1px solid white;
}

.search form select {
	font-size: 110%;
	color: black;
	background-color: white;
	outline: none;
	border: 1px solid black;
	padding: 4px;
	min-width: 250px;
	width: 15%;
	max-width: 15%;
	cursor: pointer;
}

@media only screen and (max-width: 696px) {
	.search form select {
		font-size: 110%;
		color: black;
		background-color: white;
		outline: none;
		border: 1px solid black;
		padding: 4px;
		width: calc(100% - 20px);
		min-width: 220px;
		max-width: 200px;
		cursor: pointer;
	}
	.search form .left {
		max-width: 100%;
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 10px;
	}

	.search form input[type=text] {
		font-size: 110%;
		color: black;
		background-color: white;
		outline: none;
		border: 1px solid black;
		padding: 5px;
		width: 80%;
		max-width: calc(100% - 30px);
	}
	.search form input[type=submit] {
		font-size: 110%;
		color: black;
		background-color: white;
		outline: none;
		border: 1px solid black;
		padding: 5px;
		min-width: 19%;
		width: 19%;
		max-width: 19%;
		cursor: pointer;
		min-width: 80px;
		border-left: none;
	}
}

/* ende top immo suche */

/* carousel kundenbewertungen*/
.kundenbewertungen .carousel {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: center;
	justify-content: start;
	margin-top: 20px;
	overflow-x: scroll;
}

.kundenbewertungen .carousel .kundenbewertung {
	width: 250px;
	position: relative;
	background-color: var(--bg2);
	padding: 20px;
	float: center;
	text-align: center;
	min-width: 250px;
	height: 550px;
	max-height: 550px;
	margin: 5px;
	white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis;
    overflow: hidden; /* Versteckt den überflüssigen Inhalt */
    display: -webkit-box; /* Setzt das Element in einen flexiblen Container */
    -webkit-box-orient: vertical; /* Setzt die Ausrichtung der flexiblen Box auf vertikal */
    -webkit-line-clamp: 3; /* Beschränkt den Text auf drei Zeilen */
    line-clamp: 3; /* Für zukünftige Browser-Unterstützung */
    white-space: normal; /* Erlaubt Zeilenumbruch innerhalb des Elements */
}

.kundenbewertungen .carousel .kundenbewertung::after {
	content: '...'; /* Text, der angezeigt wird, um zu signalisieren, dass mehr Text vorhanden ist */
    position: absolute; /* Absolut positioniert, um das Element am unteren Rand zu platzieren */
    bottom: 0; /* Am unteren Rand des Eltern-Elements */
    right: 0; /* Am rechten Rand des Eltern-Elements */
    padding: 0 5px; /* Abstand zum Rand des Eltern-Elements */
}

.kundenbewertungen .carousel .kundenbewertung img {
	width: 70%;
	object-fit: cover;
	border-radius: 1000px;
	margin-left: auto;
	margin-right: auto;
	float: center;
	text-align: center;
}

.kundenbewertungen .carousel .kundenbewertung h4 {
	text-align: center;
	font-size: 150%;
	font-weight: bold;
}
.kundenbewertungen .carousel .kundenbewertung p {
	font-size: 90%;
	text-align: justify;
	font-weight: bold;
	color: var(--second-text-color);
}
.kundenbewertungen .carousel .kundenbewertung .sterne {
	text-align: center;
}
.kundenbewertungen .carousel .kundenbewertung .sterne i {
	text-align: center;
	color: rgb(255, 217, 0);
	margin: 5px;
	margin-bottom: 20px;
}
/* ende kundenbewertungen*/

/* over me */
.overme {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-around;
}
.overme img {
	width: 30%;
	max-height: 600px;
	min-width: 300px;
	object-fit: cover;
	max-width: 100%;
}
.overme .rechts {
	width: 60%;
	margin-left: 20px;
	padding: 20px;
	background: var(--bg2);
}
.overme .flex {
	display: flex;
	align-items: center;
}
.overme .flex .line {
	width: 40px;
	height: 3px;
	border-radius: 100px;
	background: var(--gold);
	margin-top: -6px;
}
.overme .flex .line:nth-child(1) {
	margin-right: 10px;
}
.overme .flex .line:nth-child(2) {
	margin-left: 10px;
}
.overme .rechts h2 {
	color: white;
	font-size: 180%;
	font-weight: bold;
	margin-bottom: 10px;
	text-transform: uppercase;
	margin-right: 10px;
}
.overme .rechts p {
	font-size: 100%;
	color: var(--second-text-color);
	padding-bottom: 10px;
}
.overme .rechts a {
	color: var(--gold);
	font-size: 120%;
}
@media only screen and (max-width: 900px) {
	.overme {
		flex-direction: column;
		background: var(--bg2);
		padding-top: 20px;
		padding-bottom: 20px;
		width: 90%;
	}
	.overme .rechts {
		width: 90%;
		padding: 0;
		margin-left: 0;
	}
	.overme img {
		width: 90%;
		margin-bottom: 10px;
		margin-left: 0;
		min-width: none;
		max-width: none;
	}
	.overme .flex {
		justify-content: center;
	}
	.overme .rechts p {
		text-align: justify;
	}
}
/* end over me */


/*footer*/
footer {
	background-color: var(--bg2);
	margin-top: -102px;
	height: 300px;
}
footer .filter {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
footer .oben {
	display: none;
}
footer .uu {
	width: 87%;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	text-align: center;
}
footer .uu a img {
	max-height: 200px;
	text-align: center;
	margin: 0;
	padding: 0;
}
footer .line {
	height: 3px;
	width: 87%;
	background: var(--cta2);
	border-radius: 100px;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
}
footer .unten {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 87%;
	flex-wrap: wrap;
}
footer .unten a {
	color: var(--second-text-color);
	display: inline;
}
footer .unten .zwei {
	display: flex;
	flex-direction: row;
}
footer .unten a:nth-child(1) {
	margin-right: 10px;
}
footer .unten a:nth-child(2) {
	margin-right: 10px;
}

@media only screen and (max-width: 918px) {
	footer .unten {
		justify-content: space-around;
	}
}
/*footer end*/

/* Scroll animation left to right*/
  
.revealzwei{
    position: relative;
    opacity: 0;
    transition: 2s all ease;
}
  
.revealzwei.activezwei{
    opacity: 1;
}



@media only screen and (max-width: 800px) {
	.banner video {
		display: none;
	}
	.banner {
		background-image: url(./img/bg2-2.jpg);
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
	}
}

p {
	font-size: 110%;
}