/* Style by Michael Füby */
body {
  font-family: 'Nunito', sans-serif;
  margin:0px;
}
/* TOP-NAVBAR BEGIN */
.topnav {
  overflow: hidden;
  background-color: rgb(214, 214, 214);
  padding: 0px;
  margin-bottom: 8px;
  margin: 0px;
  box-shadow: 0px 10px 10px rgb(192, 192, 192);
  list-style-type: none;
}
.topnav a {
  float: right;
  display: block;
  color: rgb(131, 131, 131);
  text-align: left;
  padding: 20px 10px;
  text-decoration: none;
  font-size: 15px;
  margin-top: 0px;
  padding-bottom: 10px;
  padding-top: 72px;
  font-weight: 200;
}
.topnav a:hover {
  background-color: rgb(100, 13, 13);
  color: white;
  font-style: bold;
} 
.is-active {
  background-color: rgb(100, 13, 13);
  color: white !important;
  font-style: bold;
} 
.topnav .icon {
  display: none;
}
/* Logo Navbar Begin */
.navbar-logo {
  position: relative;
  top: 3px;
  left: 30px;
}
/* Logo Navbar End */
/* TOP-NAVBAR END */

/* TOP-NAVBAR MOBILE SCREEN BEGIN*/ 
@media screen and (max-width: 1225px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  .is-active {
    display: none;
  }
}
@media screen and (max-width: 1225px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 5px;
    top: 0px; 
    height: 100%;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: center;
  }
  .energieausweis-container {
    margin-left: 30px;
  }
}   
#slider li {
  overflow: hidden;
}
/* Footer Begin */
.footer {
  text-decoration: none;
  color: rgb(131, 131, 131);
  position: relative;
  padding-bottom: 10px;
  text-align: center;
}
.footer a {
  text-align: center;
  font-size: 20px;
  padding: 10px;
}
#footer-referenzen {
  margin-top: 25px;
}
#footer-philosophie {
  margin-top: 95px;
}
#footer-leistungen {
  margin-top: 173px;
}
#footer-visualisierungen {
  margin-top: 70px;
}
#footer-energieausweis {
  margin-top: 155px;
}
#footer-impressum {
  margin-top: 70px;
}
/* Footer End */

/* Impressum Begin */
#impressum {
  text-align: center;
  font-size: 15px;
  color: rgb(131, 131, 131);
}
.header-impressum h1{
  text-align: center;
  color: rgb(131, 131, 131);
}
/* Impressum End */
#home {
  overflow: hidden; /* Hide scrollbars */
}
.idee h3{
  margin-top: 75px;
  color: white;
  font-size: 25px;
}
.leistungen-container-1,
.leistungen-container-2,
.leistungen-container-3,
.leistungen-container-4 {
  margin-left: auto;
  margin-right: auto;
  width: 25em;
  font-size: 18px;
  color: rgb(131, 131, 131);
}
.baumanagement h3{
  margin-top: 75px;
  color: white;
  font-size: 25px;
}
.header-agb h1 {
  text-align: center;
  color: rgb(131, 131, 131);
}
#agb {
  text-align: left;
  margin-top: 70px;
  margin-left: 40px;
  color: rgb(131, 131, 131);
}
/* Kontakt Begin */
.textbox-kontakt {
  margin-left: 60%;
  margin-top: -1610px;
  /*margin-top:	1000px;*/
  color: rgb(131, 131, 131);
}
.name-kontakt b {
  font-size: 20px; 
  color: rgb(131, 131, 131);
}
.team-1 , .team-2 , .team-3 , .team-4 , .team-5, .team-6, .team-7{
  margin-left: 290px;
  color: rgb(131, 131, 131);
}
.team-1 p {
  margin-left: 300px;
  font-size: 15px;
  color: rgb(131, 131, 131);
}
.team-2 p {
  margin-left: 300px;
  font-size: 15px;
  color: rgb(131, 131, 131);
}
.team-3 p {
  margin-left: 300px;
  font-size: 15px;
  color: rgb(131, 131, 131);
}
.team-4 p {
  margin-left: 300px;
  font-size: 15px;
  color: rgb(131, 131, 131);
}
.team-5 p {
  margin-left: 300px;
  font-size: 15px;
  color: rgb(131, 131, 131);
}
.team-6 p {
  margin-left: 300px;
  font-size: 15px;
  color: rgb(131, 131, 131);
}
.iframe {
  margin-left: 60%;
}
/* Kontakt End */
.header-datenschutz {
  text-align: center;
  color: rgb(131, 131, 131);
}
#dsgvo {
  text-align: left;
  margin-top: 70px;
  margin-left: 150px;
  color: rgb(131, 131, 131);
}
/* Philosophie Begin */
.container-philosophie {
  margin-left: auto;
  margin-right: auto;
  width: 25em;
  font-size: 18px;
  color: rgb(131, 131, 131);
}
/* Philosophie End */

/* Referenzen Begin */
.header-wohnbau,
.header-oeffentliche-bauten,
.header-kranken-pflege b {
  margin-left: 170px;
  margin-right: auto;
  font-size: 18px;
  color: rgb(131, 131, 131);
}
.header-buero-geschaefts { 
  margin-top: -645px !important;
  margin-left: 940px;
  margin-right: auto;
  font-size: 18px;
  color: rgb(131, 131, 131);
}
.header-wettbewerbe {
  margin-top: 137px !important;
  margin-left: 940px;
  margin-right: auto;
  font-size: 18px;
  color: rgb(131, 131, 131);
}
.wohnbau-inhalt,
.oeffentliche-bauten-inhalt,
.kranken-pflege-inhalt {
  margin-left: 470px;
  margin-right: auto;
  font-size: 15px;
  color: rgb(131, 131, 131);
}
.buero-geschaefts-inhalt {
  margin-left: 1250px;
  margin-right: auto;
  font-size: 15px;
  color: rgb(131, 131, 131);
}
.wettbwerbe-inhalt {
  margin-left: 1250px;
  margin-right: auto;
  font-size: 15px;
  color: rgb(131, 131, 131);
}
/* Referenzen End */

/* Energieausweis Begin */
#energieausweis {
  padding-top: 52px;
}
#energieausweis b{
  background-color: white;
  border-color: rgb(100, 13, 13);
  border-width: 2px;
  border-style: solid;
  border-radius: 5px;
  padding-top: 2px;
  padding-left: 2px;
  padding-right: 2px;
  color: rgb(131, 131, 131);
}
.header-energieausweis p{
  margin-top: 55px;
  margin-left: 55%;
  font-size: 15px;
  text-decoration: none !important;
  color: white;
  background-color: rgb(100, 13, 13);
  font-weight: bolder;
  width: 260px;
  padding-top: 5px;
  border-radius: 5px;
  border-width: 2px;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px !important;
  margin-top: 90px;
}
.energieausweis-link {
  /*margin-top: 80px;*/
  margin-left: 55%;
  font-size: 15px;
  color: rgb(131, 131, 131);
}
.energieausweis-link b {
  background-color: rgb(112, 112, 112) !important;
  margin-right: 20px;
  color: white;
  padding-left: 5px;
  padding-right: 6px;
  border-radius: 5px;
}
.energieausweis-beschreibung b {
  background-color: rgb(112, 112, 112) !important;
  margin-right: 20px;
  color: white;
  padding-left: 5px;
  padding-right: 6px;
  border-radius: 5px;
}
.energieausweis-beschreibung p {
  color: rgb(131, 131, 131);
  margin-left: 55%;
  font-size: 15px;
}
#label-upload {
  color: rgb(131, 131, 131);
  margin-left: 55%;
}
#nachnamen-label {
  color: rgb(131, 131, 131);
  margin-left: 55%;
}
#vornamen-label {
  color: rgb(131, 131, 131);
  margin-left: 55%;
}
#button-2 {
  background-color: rgb(100, 13, 13);
  margin-left: 55%;
  font-size: 15px;
  color: white;
  border-radius: 5px;
  padding-bottom: 5px;
  padding-top: 5px;
  padding-right: 10px;
  padding-left: 10px;
}
input[type='file'] {
  margin-left: 55%;
  background-color: rgb(255, 241, 241);
  padding-right: 50px;
  padding-bottom: 30px;
  border: solid;
  padding-top: 30px;
  padding-left: 50px;
  color: rgb(131, 131, 131);
}
input[type='text'] {
  margin-left: 55%;
  width: 350px;
  height: 35px;
  text-align: center;
  background-color: rgb(255, 241, 241);
  border: solid;
  border-left-width: 1px;
  border-right-width: 1px;
  border-top-width: 1px;
  border-bottom-width: 1px;
  color: rgb(131, 131, 131);
  font-size: 15px;
}
.energieausweis-fragen p{
  color: rgb(131, 131, 131);
  margin-left: 55%;
  font-size: 15px;
  padding-left: 43px;
}
.energieausweis-container p {
  margin-left: 55%;
  font-size: 15px;
  color: rgb(131, 131, 131);
}
.energieausweis-bild img {
  position: fixed;
  top: 240px;
  left: 430px;
}
/* Energieausweis End */

/*Admin Besta */

#container-dateianzeige {
  margin-top: 100px;
  text-align: center;
}
.dateianzeige-header h1{
  text-align: center;
}

/* Mobile Screen 822px Begin*/
@media screen and (max-width: 822px) {
  .header-datenschutz h1 {
    font-size: 20px;
  }
  #dsgvo {
    text-align: left;
    margin-left: 5px;
  }
  .team-1 , .team-2, .team-3 , .team-4 , .team-5, .team-6 {
    margin-left: 5px;
    font-size: 20px;
    text-align: left;
    color: rgb(131, 131, 131);
  }
  #kontakt {
    text-align: center;
    font-size: 15px;
    color: rgb(131, 131, 131);
  }
  .iframe {
    display: none;
  }
  .ueber-uns .team-1 p {
    margin-left: 50%; 
    color: rgb(131, 131, 131);
  }
  .ueber-uns .team-2 p {
    margin-left: 50%; 
    color: rgb(131, 131, 131);
  }
  .ueber-uns .team-3 p {
    margin-left: 50%; 
    color: rgb(131, 131, 131);
  }
  .ueber-uns .team-4 p {
    margin-left: 50%; 
    color: rgb(131, 131, 131);
  }
  .ueber-uns .team-5 p {
    margin-left: 50%; 
    color: rgb(131, 131, 131);
  }
  .ueber-uns .team-6 p {
    margin-left: 50%; 
    color: rgb(131, 131, 131);
  }
  /*.ueber-uns .team-7 p {
    margin-left: 50%; 
    color: rgb(131, 131, 131);
  }*/
  .textbox-kontakt {
    position: relative;
    margin-top: 8%;
    margin-left: 2px !important;
  }
  .leistungen-container-1 {
    text-align: center;
    width: 18em;
    color: rgb(131, 131, 131);
  }
  .leistungen-container-2 {
    text-align: center;
    width: 18em;
    color: rgb(131, 131, 131);
  }
  .leistungen-container-3 {
    text-align: center;
    width: 18em;
    color: rgb(131, 131, 131);
  }
  .leistungen-container-4 {
    text-align: center;
    width: 18em;
    color: rgb(131, 131, 131);
  }
  .container-leistungen {
    text-align: center;
    width: 18em;
    color: rgb(131, 131, 131);
  }
  .container-philosophie {
    text-align: center;
    width: 18em;
    color: rgb(131, 131, 131);
  }
  #philosophie {
    text-align: center;
  }
  .header-wohnbau,
  .header-oeffentliche-bauten,
  .header-buero-geschaefts,
  .header-wettbewerbe {
    margin-left: 20px !important;
    margin-top: 80px !important;
  }
  .header-kranken-pflege b {
    margin-left: 20px !important;
    margin-top: 80px !important;
  }
  .buero-geschaefts-inhalt,
  .wettbwerbe-inhalt,
  .wohnbau-inhalt,
  .oeffentliche-bauten-inhalt,
  .kranken-pflege-inhalt {
    margin-left: 130px !important;
    margin-right: auto;
    font-size: 15px !important;
  }
  #energieausweis b {
    display: none;
  }
  .header-energieausweis p{
    margin-left: 35px;
   }
   .energieausweis-container p {
     margin-left: 35px;
   }
   .energieausweis-link {
     margin-left: 55px;
   }
   .energieausweis-beschreibung p{
     margin-left: 55px;
   }
   input[type='file'],input[type='text'] {
     margin-left: 55px;
   }
   #vornamen-label,
   #nachnamen-label {
     margin-left: 55px;
   }
   #button-2 {
     margin-left: 55px;
   }
}
/* Mobile Screen 822px End*/
@media screen and (max-width: 1112px) {
  .textbox-kontakt {
    margin-left: 50%;
    margin-top: 10%;
  }
  .iframe {
    display: none;
  }
}
/* Mobile Screen 1388px */
@media screen and (max-width: 1388px) {
  .textbox-kontakt {
    position: relative;
    margin-top: 8%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .iframe {
    display: none;
  }
}
/* Mobile Screen Referenzen Begin*/
@media screen and (max-width: 1450px) {
  .header-buero-geschaefts,
  .header-wettbewerbe {
    margin-left: 170px;
    margin-top: 80px !important;
  }
  .buero-geschaefts-inhalt,
  .wettbwerbe-inhalt {
    margin-left: 470px;
    margin-right: auto;
    font-size: 15px;
  }
}
@media screen and (max-width: 1823px) {
  .energieausweis-bild img{
    display: none;
  }
}
/* Mobile Screen Referenzen End*/
@media screen and (max-width: 497px) {
  .footer a {
    text-align: center;
    font-size: 15px;
    padding: 10px;
  }
  .leistungen-container-1 {
    text-align: center;
    width: 9em;
  }
  .leistungen-container-1, 
  .leistungen-container-2, 
  .leistungen-container-3, 
  .leistungen-container-4 {
    margin-left: auto;
    margin-right: auto;
    width: 15em;
    font-size: 20px;
  }
  .container-philosophie {
    text-align: center;
    width: 14em;
  }
  .navbar-logo {
    height: 105px;
    width: 300px;
  }
}


/* ------------------------------ Sanierungen ------------------------------- */
/* ************************************************************************** */
.sanierung-container {
    max-width: 1200px;
    padding: 0 1.5rem;
    margin: 0 auto;
    color: rgb(131, 131, 131);
}
.sanierung {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}
@media screen and (min-width: 560px) {
    .sanierung {
        grid-template-columns: repeat(6, 1fr);
    }
}
.sanierung header {
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px rgb(131, 131, 131) solid;
    grid-column: 1 / -1;
}
.sanierung:not(:first-child) header {
    margin-top: 2rem;
}
.sanierung > section.desc {
    grid-column: 1 / -1;
}
@media screen and (min-width: 560px) {
    .sanierung > section.desc {
        grid-column: auto / span 2;
    }
}
.sanierung > section.images {
    align-self: self-start;
    grid-column: auto / span 4;
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: 1fr 1fr;
}
.sanierung > section.images figure {
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
}
.sanierung > section.images figure img {
    width: 100%;
    height: auto;
}
.sanierung > section.images figure span {
    bottom: 5%;
    position: absolute;
    width: max-content;
    background: white; 
    padding: 0.1rem 0.8rem;
}
.sanierung > section.images figure:first-child span {
    right: 0;
}
.sanierung > section.images figure:last-child span {
    left: 0;
}
