body {
  font-family: 'Lato', sans-serif;
  color: #000;
  background-color: #fff;
}

  /* Grid  */

.outerContainer {
  width: 1000px;
  background-color: #fff;
  margin: 15px auto;
}

.container {
  width: 800px;
  margin: 0 auto;
  background-color: #fff;
}


  /* Titel  */

h1 {
  font-weight: 900;
  font-size: 3.5em;
  margin: 15px 0;
  letter-spacing: 1px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 1.6em;
  line-height: 1.4;
  margin: 0 0 15px 0;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 1.2em;
  line-height: 1.4;
  margin: 15px 0;
}

p {
  margin: 0 0 10px 0;
  color: #6c6d74;
  line-height: 1.5;
}


/*
Navigation
  .topnav {
  text-align: center;
}

*/
.logo {
  max-width: 100px;
}

  /* Navigation  */

.headerImg {
  max-width: 800px;
}

.lead {
  width: 700px;
}
  /*   */

#mieter_all h2 {
  margin: 30px 0;
}


.mieter_box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-row-gap: 50px;
  grid-column-gap: 6.25%;
}

.mieter_box div {
  padding: 10px;
  border: 1px solid #e5e5e7;
  text-align: center;
}

.mieter_box div img {
  padding: 25px 25px 10px 25px;
  max-width: 250px;
}


  /* Start Styling Contact-Div */

@media screen and (min-width: 1500px) {
  .content > .contact {
    position: fixed;
    top: 450px;
    left: 40px;
    border: 2px solid #e5e5e7;
    padding: 20px;
    background-color: #fff;
  }
  .content > .contact > .button {
    width: 100%;
    border: 1px solid red;
  }
  .content > .contact > hr {
    display: none;
  }
}

address {
  color: #6c6d74;
  line-height: 1.5;
  font-style: normal;
}

address > a {
  color: #6c6d74;
}

/* Ende Styling Contact-Div */

#address_footer {
  display: inline-block;
  width: 46.875%;
  margin-right: 6.25%;
}

#footer_button {
  display: inline-block;
  vertical-align: top;
  background: transparent;
  color: #444;
  padding: 18px;
  margin-right: 0px;
  border: 1px solid #e5e5e7;
  width: 46.491%;
  text-align: center;
  text-decoration: none;
}

#footer_button:hover {
  border: 1px solid red;
}

@media screen and (max-width: 800px) {
  #address_home {
    width: 100%;
  }
  #footer_button {
    margin-top: 50px;
    width: 46.875%;
  }
}






/* Start Accordion-Styling in Mieterbox */

.accordion {
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 80%;
    text-align: center;
    border: 1px solid #e5e5e7;
    transition: 0.4s;
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 5px 0;
    background: transparent;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
    background-color: #eee;
}

/* Style the accordion panel. Note: hidden by default */
.mieter_box div .panel {
    display: none;
    overflow: hidden;
    border: none;
}

.accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: red;
  float: right;
  margin-left: 5px;
}

.active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
}

  /* Ende Accordion-Styling */


  /* Start Button-Styling in Mieter-Boxen */

.toWebSite {
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 80%;
    text-align: center;
    border: 1px solid #e5e5e7;
    transition: 0.4s;
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    margin: 5px 0 0 0;
}

.toWebSite:hover {
   background-color: #eee;
}

  /* Ende Button-Styling in Mieter-Boxen */

a {
  color: #b4b5ba;
  text-decoration: underline;
  cursor: pointer;
}

a:hover {
  color: #09090a;
}

.red {
  color: red;
}

/* Start Main-Button */

.btnContainer {
  margin: 40px 0;
}

.button {
  background: transparent;
  color: #444;
  padding: 18px;
  margin: 20px 0;
  display: inline-block;
  border: 1px solid #e5e5e7;
  width: 46.875%;
  text-align: center;
  text-decoration: none;
}

.button:first-of-type {
  margin-right: 6.25%;
}

.button:hover {
  border: 1px solid red;
}

/* Ende Main-Button margin: auto; */

/* Start Footer */

.footer {
  margin-top: 30px;
  margin-bottom: 50px;
}

#footerLine {
  border-top: 1px solid red;
  width: 95%;
  margin: 50px auto;
}

/* linear-gradient(to bottom, red 0%, red 3%, #ffffff 100%) */

/* Ende Footer */


.logo_mobile {
    display: none;
}

.topnav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  overflow: hidden;
  background-color: transparent;
}

#logo_nav {
  margin-right: auto;
  padding: 40px 0 0 0;

}

.topnav a {
  padding: 16px 20px;
  text-decoration: none;
  font-size: 17px;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 800px) {
  .logo_mobile {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .topnav a {
    display: none;
    padding: 15px;
   }
  .topnav a.icon {
    /* float: right; */
    display: block;
    padding-top: 0;
    font-size: 30px;
  }
}

@media screen and (max-width: 800px) {
  .topnav.responsive {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* position: relative; */
   }

  .topnav.responsive .icon {
      /*
      display: block;
      position: absolute;
      right: 0;
      top: 0; */
  }
  .topnav.responsive #logo_nav {
    display: none;
  }
  .topnav.responsive a {
    display: block;
      /*
      float: none;
      display: block;
      text-align: center; */
  }
}


  /*
  Ende Styling Navigation
  */

  /*
  MOBILE OPTIMIERUNGEN
  */

  @media screen and (max-width: 1000px) {
    .outerContainer {
      width: 100%;
    }
  }

  @media screen and (max-width: 800px) {
    .outerContainer {
      width: 100%;
    }
  .container {
    width: 90%;
  }
  .lead {
    width: 100%;
  }
  .headerImg {
    width: 100%;
  }
  h1 {
    font-size: 2.2em;
  }

  /* Mieter Boxen */

  .mieter_box {
    grid-template-columns: 1fr 1fr;
  }
}

  @media screen and (max-width: 600px) {
  h1 {
    font-size: 1.8em;
  }
  /* Start Main-Button */

  .btnContainer {
    margin: 0;
  }

  .button {
    display: block;
    padding: 18px;
    margin: 20px 2px;
    width: 100%;
  }

  /* Mieter Boxen */

  .mieter_box {
    grid-template-columns: 1fr;
  }

  /*  */


  }

  @media screen and (max-width: 400px) {
    h1 {
      font-size: 1.6em;
    }
    .button {
      width: 100%;
    }
    .accordion {
      width: 100%;
    }
    .toWebSite {
      width: 100%;
    }
  }

/*
  ACHTUNG: Start
  Spezifische Styles für
  Über uns Seite
  Milestone alt:
  display: flex;
  flex-wrap: wrap;
  margin: 50px 0 25px 0;

*/

.milestone {
  display: flex;
  flex-wrap: wrap;
  margin: 50px 0 25px 0;
  justify-content: center;
  align-items: center;
}

.milestone_content {
    flex: 1;
}

.milestone_img {
    flex: 1;
    padding-left: 25px;
    text-align: right;
}

.milestones > hr:last-child {
  display: none;
}

@media screen and (max-width: 750px) {
  .milestone {
    display: block;
    margin: 50px 0 25px 0;
    justify-content: center;
    align-items: center;
  }
  .milestone_img {
    padding-left: 0px;
    text-align: left;
  }
}

.milestone_img img {
    max-width: 300px;
}

@media screen and (max-width: 450px) {
  .milestone_img img {
      max-width: 100%;
  }
}


/*
  Styling markierte Texte
*/

::selection {
    background: rgba(255,103,51,0);
    color: red;
    text-shadow: none;
}
