*{
  box-sizing: border-box;
  font-family: sans-serif, Arial;
  font-size: 16px;
  padding: 0;
  margin: 0;
}
/* === home cow === */
#home-cow{
  position: fixed;
  top: 3%;
  left: 3%;
  color: #8E9063;
}
#home-cow img{
  width: 3rem;
  height: auto;
}
/* === Nav open === */
#mobile-nav #nav-box-open{
  display: block;
  position: fixed;
  top: 3%;
  right: 3%;
  background-color: #f2f2f2;
  border: 3px solid #8E9063;
  border-radius: 3px;
  padding: 3px 7px 3px 7px;
}
#nav-box-open:hover{
  cursor: pointer;
}
#mobile-nav #nav-box-open p{
  display: inline;
  font-size: 2.2rem;
  text-transform: uppercase;
}
#mobile-nav #nav-box-open span{
  font-size: 2.5rem;
  background-color: #f2f2f2;
}
/* === Nav close === */
#nav-box-close{
  display: none;
  background-color: #8E9063;
  color: #f2f2f2;
  position: fixed;
  right: 0;
  width: 300px;
  height: 100vh;
}
#nav-btn-close:hover{
  cursor: pointer;
}
#nav-btn-close{
    margin: 15px;
}
#nav-btn-close span{
  font-size: 4rem;
}
#nav-wohnungen-lst{
  margin: 10px;
}
#nav-wohnungen-lst > a{
  text-decoration: none;
  font-size: 1.8rem;
  color: #f2f2f2;
  margin: 25px;
  display: block;
}

/* === HEADER === */
body{
  background-color: #f2f2f2;
  color: #8E9063;
}
/* === Main Image === */
#header-wohnungen #main-image{
  width: 100%;
  height: auto;
}
#header-wohnungen #main-image > img{
  width: 100%;
  height: auto;
  border: 3px solid #f2f2f2;
  border-radius: 8px;
}
#title{
  color: #8E9063;
}
#header-wohnungen #title h1{
  font-size: 2.8rem;
  padding-top: 20%;
  padding-bottom: 10%;
  padding-left: 10%;
}
#header-wohnungen #title h2{
  padding-left: 10%;
  font-size: 1.8rem;
}
#btn2{
  display: inline-block;
  padding: 7px;
  margin-left: 10%;
  margin-top: 5%;
  border: 3px solid #8E9063;
  border-radius: 3px;
}
#btn2 > a{
  text-decoration: none;
  color: #8E9063;
}
#btn2 > a > h3{
  font-size: 1.6rem;
}
#btn2:hover{
  cursor: pointer;
}
@media (max-width: 1024px){
  #header-wohnungen #title h1{
    padding-bottom: 5%;
  }
}
@media (max-width: 768px){
  #header-wohnungen #title h1{
    padding-top: 2%;
    padding-bottom: 2%;
    padding-left: 0;
    text-align: center;
  }
  #header-wohnungen #title h2{
    padding-left: 0;
    text-align: center;
  }
  #btn2{
    padding-left: 0;
    display: block;
    margin-left: 20%;
    margin-right: 20%;
    text-align: center;
  }
}
/* === overview === */
.overview{
  text-align: center;
  border: 3px solid #f2f2f2;
  border-radius: 8px;
  color: #f2f2f2;
}
.overview > h3{
  font-size: 1.3rem;
  padding-top: 8px;
}
.overview img{
  width: 100%;
  height: auto;
  padding: 10px;
}
.overview > ul{
  padding-top: 10px;
  padding-bottom: 10px;
}
.overview > ul > li{
  font-size: 1.1rem;
  list-style: none;
  line-height: 1.4;
}
.btn1{
  display: inline-block;
  border: 2px solid #f2f2f2;
  border-radius: 3px;
  color: #f2f2f2;
  padding: 7px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.btn1 > a{
  text-decoration: none;
  color: #f2f2f2;
}
.btn1:hover{
  cursor: pointer;
  opacity: 0.5;
}
/* === style wohnungen === */
.whg-1{
  background-color: #8E9063;
}
/* === overview whonung 2 === */
.whg-2{
  background-color: #8E9063;
}
.whg-3{
  background-color: #8E9063;
}
.whg-4{
  background-color: #8E9063;
}
/* === description === */
#description{
  background-image: url("../img/Aussenbild_1.jpg"), linear-gradient(grey, grey);
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 600px;
  border-radius: 8px;
}
#description #text{
  color: #8E9063;
  display: inline-block;
  font-size: 2rem;
  margin-top: 6%;
  margin-left: 10%;
  margin-right: 10%;
  line-height: 130%;
}
#description #text-desk{
  color: #8E9063;
  display: inline-block;
  font-size: 2rem;
  margin-left: 10%;
  margin-right: 10%;
  line-height: 130%;
}
#direction #pkt{
  display: none;
}
@media (max-width: 1288px){
  #description #text,
  #description #text-desk{
    font-size: 1.8rem;
  }
}
@media (max-width: 1159px){
  #description #text,
  #description #text-desk{
    font-size: 1.6rem;
  }
}
 @media (max-width: 1024px) {
   #description #text-desk{
     display: none;
   }
   #description #text,
   #direction #pkt{
     font-size: 2rem;
     margin-top: 0;
   }
}
@media (max-width: 728px){
  #description #text-desk{
    display: none;
  }
  #description #text{
    display: none;
  }
}
/* === Freizeitmöglichkeiten === */
#freiz{
  background-color: #8E9063;
  text-align: center;
  padding-top: 2%;
  padding-bottom: 2%;
  border-radius: 8px;
}
#freiz h3{
  color: #f2f2f2;
  font-size: 1.8rem;
  padding-top: 10px;
  padding-bottom: 10px;
}
#freiz ul{
  color: #f2f2f2;
  font-size: 1.4rem;
}
#freiz ul > li{
  list-style: none;
  line-height: 1.5;
}
#freiz ul > li > a{
  color: #f2f2f2;
}
/* === Zertifigkate === */
#kooper{
  text-align: center;
  font-size: 1.8rem;
  padding-top: 2%;
  padding-bottom: 1%;
}
.zert{
  background-color: #8E9063;
  text-align: center;
  margin: 5px;
  border-radius: 8px;
}
.zert > a{
  display: inline-block;
  text-decoration: none;
  color: #f2f2f2;
  font-size: 1.3rem;
  margin: 15px;
}
@media (max-width: 1024px){
  .zert{
      height: 80px;
  }
}
@media (max-width: 768px){
  .zert{
    height: auto;
  }
}
/* === footer === */
#footer{
  height: 100px;
  background-color: #cecece;
  text-align: center;
}
#footer #nav-bottom{
  margin: 35px;
}
#footer a{
  font-size: 1.6rem;
  text-decoration: none;
  color: #8E9063;
  margin: 20px;
}

/* === IMAGE GALLERY === */
#img-gallery{
  padding-top: 80px;
  padding-bottom: 40px;
}
#img-gallery h1{
  font-size: 2.2rem;
  text-align: center;
  margin: 10px 0 10px 0;
}
#img-gallery #gallery-box{
  width: 50%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
@media(max-width: 1024px){
  #img-gallery #gallery-box{
    width: 80%;
  }
}
@media (max-width: 768px){
  #img-gallery #gallery-box{
    width: 95%;
  }
}
#img-gallery #gallery-box > img{
  width: 100%;
  height: 100%;
}

#gallery-box .gallery-sm{
  float: left;
  width: 25%;
  height: auto;
}

#gallery-box .gallery-sm > img{
  width: 100%;
  height: 100%;
}
@media(max-width: 1024px){
  #gallery-box .gallery-sm{
    display: none;
  }
}
/* === Gallery modul === */
#gallery-modul{
  display: none;
  position: fixed;
  top: 12%;
  left: 12%;
  width: 76%;
  height: 76vh;
  background-color: #8E9063;
  color: #f2f2f2;
}
@media(max-width: 1024px){
  #gallery-modul{
    width: 96%;
    top: 2%;
    left: 2%;
  }
}
/* === Gallerymodul close button === */
#gallery-btn-close{
  display: inline-block;
  color: #f2f2f2;
  width: 60px;
  height: 60px;
  position: relative;
  float: right;
}
#gallery-btn-close span{
  position: absolute;
  font-size: 4rem;
  width: 100%;
  height: 100%;
  text-align: center;
}
#gallery-btn-close span:hover{
  cursor: pointer;
}
/* === next prev btn === */
.prev{
  display: inline-block;
  color: #f2f2f2;
  top: 45%;
  left: 0;
  width: 60px;
  height: 60px;
  position: relative;
  float: left;
  z-index: 1000;
}
.prev > span{
  position: absolute;
  font-size: 3rem;
  width: 100%;
  height: 100%;
  text-align: center;
}
.prev > span:hover{
  cursor: pointer;
}

.next{
  display: inline-block;
  color: #f2f2f2;
  top: 46%;
  right: 12%;
  width: 60px;
  height: 60px;
  position: fixed;
  float: right;
  z-index: 1000;
}
@media (max-width: 1024px){
  .next{
    top: 35%;
    right: 2%;
  }
}
.next > span{
  position: absolute;
  font-size: 3rem;
  width: 100%;
  height: 100%;
  text-align: center;
}
.next > span:hover{
  cursor: pointer;
}
/* === imgaes style === */
#gallery-modul .images{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  width: 80%;
  height: 80%;
  margin: 0;
}
/* === Wohnungs details === */
#details h2{
  text-align: center;
  font-size: 2rem;
}
#details ul{
  text-align: center;
}
#details ul > li{
  list-style: none;
  font-size: 1.5rem;
  padding: 3px;
}

/* === allg-info === */
#allg-info h2{
  text-align: center;
  font-size: 2rem;
  padding-top: 40px;
}
#allg-info ul{
  text-align: center;
}
#allg-info ul > li{
  list-style: none;
  font-size: 1.5rem;
  padding: 3px;
}
#allg-info p{
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  padding-top: 15px;
  padding-bottom: 15px;
}

/* === ANFAHRT  === */
#anfahrt{
  padding-top: 80px;
  padding-bottom: 40px;
}
#anfahrt h1{
  font-size: 2.2rem;
  text-align: center;
  margin: 10px 0 10px 0;
}
#anfahrt #google-m{
  width: 60%;
  height: 60vh;
  margin-left: auto;
  margin-right: auto;
}
#anfahrt #google-m > iframe{
  width: 100%;
  height: 100%;
}
@media(max-width: 1024px){
  #anfahrt #google-m{
    width: 80%;
  }
}
@media (max-width: 768px){
  #anfahrt #google-m{
    width: 95%;
  }
}
#adresse h2{
  display: block;
  text-align: center;
  font-size: 1.6rem;
}
#anschrift{
  text-align: center;
  margin: 10px;
  font-size: 1.1rem;
}
#anschrift > ul{
  margin-bottom: 0.8rem;
  font-size: 3rem;
}
#anschrift > ul > li{
  font-size: 1.4rem;
  line-height: 150%;
}
/* === KONTAKTFORMULAR  === */
/* === KONTAKT FORM === */
#kontakt-text{
  background-color: #8E9063;
  width: 80%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 5%;
  padding-bottom: 5%;
  border-radius: 10px;
}
#kontakt-text > ul{
  text-align: center;
  color: #f2f2f2;
  line-height: 300%;
}
#kontakt-text > ul > li{
  font-size: 1.3rem;
}
@media (max-width: 768px){
  #kontakt-text{
    width: 100%;
  }
}
#kontakt-form{
  background-color: #d0d2bc;
  width: 80%;
  height: 100%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
/* === FORM STYLE === */
.form-group{
  width: 100%;
  margin-top: 20px;
  font-size: 1.8rem;
}
.form-group input,
.form-group textarea{
  width: 100%;
  padding: 5px;
  font-size: 1.1rem;
  border: 1px solid #d0d2bc;
  margin-top: 5px;
}
textarea{
  resize: vertical;
}
#btn-senden[type="submit"]{
  width: 100%;
  border: none;
  outline: none;
  padding: 10px;
  font-size: 1.2rem;
  border-radius: 8px;
  color: #8E9063;
  background-color: #f2f2f2;
  text-align: center;
  cursor: pointer;
  transition: .5s ease background-color;
}
#btn-senden[type="submit"]:hover{
  background-color: #8E9063;
  color: #f2f2f2;
}
#status{
  width: 50%;
  text-align: center;
  padding: 10px;
  margin: 10px auto;
  border-radius: 8px;
}
#status.success{
  background-color: #8E9063;
  color: #f2f2f2;
  animation: status 4s ease forwards;
}
#status.error{
  background-color: #982F31;
  color: #f2f2f2;
  animation: status 4s ease forwards;
}
@keyframes status{
  0%{
    opacity: 1;
    pointer-events: all;
  }
  90%{
    opacity: 1;
    pointer-events: all;
  }
  100%{
    opacity: 0;
    pointer-events: all;
  }
}
/* === Impressum === */
#impressum{
  padding-top: 80px;
  padding-bottom: 40px;
}
#impressum h1{
  text-align: center;
  font-size: 2.2rem;
}


/* === CSS-Gridsystem  Basis Col-8 === */
.container{
  width: 98%;
  margin-left: auto;
  margin-right: auto;
}

.row::after{
  content: "";
  clear: both;
  display: block;
}

[class*='col-']{
  float:left;
  min-height: 1px;
  padding: .2rem;
}

.col-1{ width: 12.5%; }
.col-2{ width: 25%;   }
.col-4{ width: 50%;   }
.col-6{ width: 75%;   }
.col-8{ width: 100%;  }

/* === WICHTIGE BREAKPOINTS === */
@media (max-width: 1024px){
  .col-1{ width: 25%; }
}
@media (max-width: 768px){
  .col-1{ width: 50%; }
  .col-2{ width: 100%;}
  .col-4{ width: 100%;}
  .col-6{ width: 100%;}
  .col-8{ width: 100%;}
}
@media (max-width: 480px){
  .col-1{ width: 100%;}
  .col-2{ width: 100%;}
  .col-4{ width: 100%;}
  .col-6{ width: 100%;}
  .col-8{ width: 100%;}
}
