/* +++ GENERELLE ANGABEN +++ */

html {
  font-size: 18px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
}

/* +++ SCHRIFTARTEN +++ */

/* quicksand-regular - latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/quicksand-v20-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/quicksand-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/quicksand-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/quicksand-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/quicksand-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/quicksand-v20-latin-regular.svg#Quicksand') format('svg'); /* Legacy iOS */
}
/* quicksand-500 - latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/quicksand-v20-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/quicksand-v20-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/quicksand-v20-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/quicksand-v20-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/quicksand-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/quicksand-v20-latin-500.svg#Quicksand') format('svg'); /* Legacy iOS */
}
/* quicksand-700 - latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/quicksand-v20-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/quicksand-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/quicksand-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/quicksand-v20-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/quicksand-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/quicksand-v20-latin-700.svg#Quicksand') format('svg'); /* Legacy iOS */
}

body {
  width: 95%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  margin-bottom: 0;
  margin-top: 0;
}

/* +++ HEADER +++ */

.flex-container-header {
  display: flex;
  background-color: rgba(59, 62, 81, 0.95);
  width: 100%;
  height: auto;
  justify-content: space-between;
}

.logo > img {
  display: block;
  height: auto;
  width: 250px;
  margin: 20px;

}

.adresse > ul {
  padding-left: 0;
}

.adresse li {
  font-size: 1.3rem;
  color: rgba(177, 182, 166, 1);
  display: inline-block;
  margin-right: 2rem;
  margin-top: .5rem;
  padding-top: .7rem;
  border-top: 2px solid rgba(177, 182, 166, 1);
}

.aktuelle-seite li {
  color: rgba(105, 103, 115, 1);
  border-top: 2px solid rgba(105, 103, 115, 1);
}

.adresse li:hover {
  color: rgba(136, 159, 160, 1);
  border-top: 2px solid rgba(136, 159, 160, 1);
}

@media (max-width: 900px) {
  .flex-container-header {
    flex-direction: column;
  }
}

@media (max-width: 350px) {
  .logo > img {
    display: block;
    height: auto;
    width: 130px;
    margin: 10px;
  }
}

/* +++ HEADER BANNER +++ */

.banner {
  width: 100%;
  height: 100%;
  background-size: cover;
  /* background-image: linear-gradient(rgba(136, 159, 160, 1), rgba(177, 182, 166, 1), rgba(105, 103, 115, 1)); */
  background-image: url('./img/immobanner.jpg');
  background-position:center;
}

.banner h1 {
  font-size: 8rem;
  text-align: center;
  font-weight: bold;
  color: rgba(59, 62, 81, 1);
  margin: 0;
  padding-top: 10rem;
  padding-bottom: 8rem;
  padding-left: 5rem;
  padding-right: 5rem;
  background-color: rgba(177, 182, 166, .4)
}

@media (max-width: 1200px) {
  .banner h1 {
  font-size: 5rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
  padding-left: 2rem;
  padding-right: 2rem;
  }
}

@media (max-width: 720px) {
  .banner h1 {
  font-size: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: .5rem;
  padding-right: .5rem;
  }
}

/* CONTAINER UNTER DEM banner */

.container-unter-banner {
  width: 100%;
  background-color: rgba(105, 103, 115, 1);
  color: rgba(177, 182, 166, 1);
  padding-bottom: 2rem;

}

.container-unter-banner h2 {
  font-weight: normal;
  font-size: 2.4rem;
  text-align: center;
  padding: 1rem;
  margin-top: 0;
  margin-bottom: 4rem;
}

.container-unter-banner p {
  font-size: 2.4rem;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 3rem;
  }

@media (max-width: 720px) {
  .container-unter-banner p {
  font-size: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  }
}
/* +++  EINLEITUNG-VORSTELLUNG +++ */

.einleitung {
  display: flex;
  background-image: url("./img/grundriss.jpg");
  background-size:contain;
  background-attachment: fixed;
}

 .vorstellung {
  color: rgba(177, 182, 166, 1);
  font-size: 2rem;
  text-align: justify;
  width: 90%;
  height: auto;
  margin-top: 7rem;
  margin-bottom: 7rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
}

 .vorstellung p {
   margin: 3rem;
   background-color: rgba(105, 103, 115, .97);
   padding: 3rem;
 }


@media (max-width: 720px) {
  .vorstellung {
  font-size: 1.5rem;
  }
}

@media (max-width: 720px) {
  .vorstellung {
  font-size: 1.5rem;
  padding: 1.5rem;
  }
}


/* +++ VORTEILE - ABLAUF-VERKAUF +++ */

.erklaerung {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
}


.erklaerung-rahmen {
    margin-top: 5rem;
    color: rgba(59, 62, 81, 1);
    font-weight: normal;
    border-radius: 15px;
    box-shadow: 17px -7px 21px 8px rgba(59, 62, 81, 1);
    background-color: rgba(177, 182, 166, 1);
    padding: 1.5rem;
    transition-duration: 1.5s;

  }

.erklaerung-rahmen:hover {
    transform: scale(1.025)
  }

.erklaerung-rahmen h3 {
    font-size: 5rem;
    font-weight: normal;
}

.erklaerung-rahmen li {
    list-style-type: none;
    margin-bottom: 3rem;
  }

.erklaerung-rahmen ul {
    padding: 0;
    font-size: 2rem;
  }

.vorteile,
.ablauf {
  flex-grow: 1;
  flex-basis: 40%;
}

.vorteile {
  margin-right: 100px;
}


@media (max-width: 1027px) {
  .erklaerung {
    flex-direction: column;
    flex-wrap: nowrap;
    }
  .ablauf {
    margin-left: 0;
  }
}

/* +++ FOOTER +++ */

.flex-container-footer {
  display: flex;
  background-color: rgba(59, 62, 81, 0.95);
  width: 100%;
  height: auto;
  justify-content: center;
}

.social img {
  width: 50px;
  height: 50px;
  margin-right: 20px;
  }

.social li {
  display:inline-block;
  transition-duration: 1.5s
  }

.social {
  width: 70%;
}

.social li:hover {
  transform: scale(1.1);
  }

.impressum ul {
  margin-top: 1.5rem;
  margin-right: 1rem;
  list-style-type: none;
  text-align: right;
  padding: 0;

  }

  .impressum a {
    margin-right: 2rem;
    margin-top: 2.5rem;
    font-family: Quicksand, sans-serif;
    font-size: 1.3rem;
    color: rgba(177, 182, 166, 1);
    padding: 0;
  }

  /* +++ KONTAKTFORMULAR +++ */

  .adresse-bild {
    width: 100%;
    height: 600px;
    background-image: url('./img/kontakt.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .adresse-h1 h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: normal;
    color: rgba(105, 103, 115, 1);
    }

  .adressdaten ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
    }

  .adressdaten li {
    display: inline-block;
    list-style-type: none;
    font-size: 1.5rem;
    color: rgba(105, 103, 115, 1);
    margin-right: 1rem;
    }



/*  +++ ÜBER MICH */

.ueber-mich {
  display: flex;
  justify-content: flex-start;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.vita {
  margin-left: 2rem;
  margin-right: 2rem;
}

.vita p {
  font-size: 2rem;
  color: rgba(105, 103, 115, 1);
  line-height: 4rem;
}

.passfoto img {
  width: 600px;
}


@media (max-width: 1400px) {
  .passfoto img {
    width: 400px;
    }
  .vita p {
    font-size: 1.7rem;
    line-height: 3rem;
  }
}

@media (max-width: 1024px) {
  .ueber-mich {
    flex-direction: column;
    align-items: baseline;
    margin-top: 2rem;
    }
}

@media (max-width: 800px) {
    .passfoto {
      width: 250px;
      }
  .vita {
    width: 100%;
  }
  .vita p {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}





/* +++ iMPRESSUM +++ */


.impressum {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  font-weight: normal;
  color: rgba(105, 103, 115, 1);
}

.impressum h2, h3 {
  font-size: 2rem;
}

.impressum p {
  font-size: 1.5rem;
}
