/* ===================================
1. General
==================================== */
@import url("font.css");
@import url("font-awesome.css");
@import url("jquery.fancybox.css");

body {
  font-family: "Avenir LT Std", sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #181716;
  background: #fff;
  line-height: 20px;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
  cursor: pointer;
  outline: 0;
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.row {
  margin: 0;
}

.content {
  max-width: 1024px;
  margin: 0 auto;
}

ul {
  list-style: none;
  text-align: left;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

p + p {
  margin-top: 16px;
}

p + h1,
p + h2,
p + h3,
p + h4,
p + h5,
p + h6,
ul + h2,
ul + h3 {
  margin-top: 30px;
}

#wrapper {
  max-width: 100%;
  margin: 0 auto;
}

header {
  max-width: 100%;
  margin: 25px auto;
  background: #c5c6c6;
  position: relative;
  z-index: 7;
}
header #logo {
  margin: 0;
  padding: 0;
}
header #logo .logo {
  padding: 12px 25px 10px;
  text-align: left;
  margin: 0;
  color: #fff;
  font-size: 32px;
}
header #logo .slogan {
  padding: 12px 25px 10px;
  text-align: right;
  margin: 0;
  color: #fff;
  font-size: 32px;
}
header .open-nav {
  position: absolute;
  top: 30px;
  left: 15px;
  display: none;
}
header .open-nav .fa {
  color: #bebdbd;
  font-size: 35px;
}

.btn-menu {
  position: absolute;
  left: 15px;
  top: 22px;
  display: none;
  z-index: 9;
}
.bars,
.bars:before,
.bars:after {
  position: relative;
  width: 28px;
  height: 3px;
  margin: 0 auto;
  background: #ecf0f1;
  border-radius: 2px;
  transition: top 0.2s 0.2s, transform 0.2s;
  transform: rotate(0deg);
  display: inline-block;
  top: -5px;
}
.bars:before,
.bars:after {
  content: "";
  display: block;
  position: absolute;
}
.bars:before {
  top: -10px;
}
.bars:after {
  top: 10px;
}

.active .bars:before,
.active .bars:after {
  transition: top 0.2s, transform 0.2s 0.2s;
  top: 0;
}
.active .bars {
  background: transparent;
}
.active .bars:before {
  transform: rotate(45deg);
}
.active .bars:after {
  transform: rotate(-45deg);
}

#overlay {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  position: absolute;
  z-index: 6;
  display: none;
}
.active #overlay {
  display: block;
}

/* Slider */
#wrapper #slider {
  margin: 0;
  text-align: center;
  padding: 0;
  position: relative;
}

#wrapper #slider .scrollto {
  position: absolute;
  bottom: 15px;
  font-size: 40px;
  color: rgba(255, 255, 255, 0.8);
}

#wrapper #navigation {
  background: #c5c6c6;
  padding: 0;
  margin: 25px 0 0;
  letter-spacing: 1px;
  opacity: 1;
  width: 100%;
}
#wrapper #navigation ul {
  padding: 0;
  margin: 0;
  text-align: center;
}
#wrapper #navigation li {
  display: inline-block;
  padding: 0 15px 0 23px;
  margin: 0;
  position: relative;
  background: url(../images/bg-menu.png) no-repeat 0 15px;
}
#wrapper #navigation li:first-child {
  padding: 0 15px 0 15px;
  background: none;
}
#wrapper #navigation li a {
  font-size: 15px;
  padding: 16px 24px 15px;
  color: #fff;
  text-transform: uppercase;
  display: inline-block;
  background: none;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
#wrapper #navigation li.active a,
#wrapper #navigation li:hover a {
  color: #181716;
  text-decoration: none;
}

#wrapper #navigation li ul.nav-child {
  position: absolute;
  left: 4px;
  top: 100%;
  width: 100%;
  min-width: 150px;
  margin: 0;
  padding: 0;
  background: rgba(225, 209, 200, 0.99);
  z-index: 9;
}
#wrapper #navigation li ul.nav-child {
  display: none;
}
#wrapper #navigation li:hover ul.nav-child {
  display: block;
}
#wrapper #navigation li ul.nav-child li {
  display: block;
  padding: 0;
  margin: 0;
  background: none;
}
#wrapper #navigation li ul.nav-child li a {
  font-size: 13px;
  text-transform: none;
  padding: 10px 18px;
  text-align: center;
  display: block;
  font-weight: normal;
  background-image: none;
  color: #7d6c60;
}
#wrapper #navigation li ul.nav-child li.active a,
#wrapper #navigation li ul.nav-child li a:hover {
  background: rgba(182, 172, 165, 0.9);
  color: #fff;
}

#wrapper #navigation .close-nav {
  position: absolute;
  top: 10px;
  right: 15px;
  display: none;
  z-index: 11;
}
#wrapper #navigation .close-nav .fa {
  color: #fefefe;
  font-size: 30px;
}

/* Content */
#wrapper #main-cotent {
  margin: 0 auto;
  padding: 0;
  background: #ececec;
}
#wrapper #main-cotent .inhalt {
  text-align: left;
  margin: 50px 0;
  z-index: 1;
}
#wrapper #main-cotent .inhalt h2 {
  color: #868686;
  margin: 0 0 25px;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 30px 0 0;
}
#wrapper #main-cotent .inhalt h3 {
  color: #868686;
  font-size: 20px;
  font-weight: 400;
  margin: 30px 0 15px;
}
#wrapper #main-cotent .inhalt h4 {
  color: #181716;
  font-size: 18px;
  font-weight: 600;
  margin: 30px 0 15px;
}
#wrapper #main-cotent .inhalt p {
  font-size: 15px;
}
#wrapper #main-cotent .inhalt .p-hide {
  display: none;
}

#wrapper #main-cotent .inhalt .mehr .fa {
  display: inline-block;
  margin-right: 5px;
  font-size: 20px;
  vertical-align: bottom;
}

#wrapper #main-cotent .inhalt .blog_akuelles h3::before {
  content: "\f073";
  font-family: "FontAwesome";
  display: inline-block;
  margin-right: 15px;
}
#wrapper #main-cotent .inhalt .blog_akuelles div[class^="items"] {
  padding: 40px 0 0 0;
  border-top: 1px solid #bbb;
  margin: 0 0 50px;
  position: relative;
}
#wrapper #main-cotent .inhalt .blog_akuelles div[class^="items"]:first-child {
  border-top: none;
}

#wrapper #main-cotent .inhalt .item-image img {
  max-width: 300px;
  margin: 0 0 15px 30px;
}

/* #wrapper #main-cotent .inhalt .blog_akuelles img {
  float: right;
  max-width: 30%;
  margin: 0 0 15px 30px;
} */

/* Home Blog */
#wrapper #main-cotent .inhalt .home > div {
  padding: 40px 0 0 0;
  border-top: 1px solid #bbb;
  margin: 0 0 50px;
  position: relative;
}

#wrapper #main-cotent .inhalt .home > div:first-of-type {
  padding-top: 0;
  border: none;
}

/* Animation Button Hover */
#wrapper a.btn {
  display: inline-block;
  margin: 15px 10px 0 0;
  padding: 7px 20px;
  background: transparent;
  color: #181716;
  border: none;
  border-radius: 0;
  font-size: 12px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
#wrapper a.btn:before,
#wrapper a.btn:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: #181716;
  z-index: -1;
  transform: translate3D(0, -100%, 0);
  transition: all 0.5s;
}
#wrapper a.btn:before {
  background: #c5c6c6;
  z-index: -2;
  transform: translate3D(0, 0, 0);
}
#wrapper a.btn:hover {
  color: #fff;
}
#wrapper a.btn:hover:after {
  transform: translate3D(0, 0, 0);
  transition: all 0.5s;
}

/* Intro Slide */
#inhalt-slide {
  position: absolute;
  padding: 40px 10px 40px 25px;
  background: rgba(255, 255, 255, 0.85);
  width: 35%;
  top: 50px;
  right: 50px;
  text-align: justify;
  z-index: 1;
}
#inhalt-slide h2 {
  font-size: 24px;
  margin: 0 0 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #181716;
}
#inhalt-slide h3 {
  color: #868686;
  font-size: 20px;
  margin: 15px 0;
}
#inhalt-slide h3::before {
  content: "\f073";
  font-family: "FontAwesome";
  display: inline-block;
  margin-right: 15px;
}
#inhalt-slide .nodate h3 {
  margin: 0 0 15px;
}
#inhalt-slide .nodate h3::before {
  display: none;
}
#inhalt-slide h4 {
  color: #181716;
  font-size: 18px;
  margin: 15px 0;
  font-weight: 600;
}
#inhalt-slide img {
  max-width: 40%;
  margin: 0 0 25px 25px;
  float: right;
  display: inline-block;
}
#inhalt-slide hr {
  border-color: #ccc;
}
#inhalt-slide p + p {
  margin-top: 16px;
}
#inhalt-slide .nano-content {
  padding: 0 25px 0 0;
}
#inhalt-slide p.phone::before,
#inhalt-slide p.mail::before {
  font-family: "FontAwesome";
  display: inline-block;
  margin-right: 10px;
}
#inhalt-slide p.mail {
  margin-top: 2px;
}
#inhalt-slide p.phone::before {
  content: "\f095";
}
#inhalt-slide p.mail::before {
  content: "\f0e0";
}
#inhalt-slide a {
  color: #000;
}

#inhalt-slide.noscroll {
  position: static;
  background: none;
  width: 100%;
  padding: 40px 15px 0;
  margin: 0;
}
#inhalt-slide.noscroll .nano-content {
  padding: 0 0 40px;
  border-bottom: 1px solid #bbb;
}
#inhalt-slide.noscroll h2 {
  margin-bottom: 50px;
}

/* Kontakt */
.mainkontakt {
  padding: 40px 0;
}
.kontaktform section.bfPageIntro {
  margin-bottom: 50px;
}
.kontaktform section {
  margin: 20px 0 0;
}
.kontaktform section label {
  width: 34%;
  vertical-align: top;
  font-weight: 100;
}
.kontaktform section input[type="text"],
.kontaktform section textarea {
  float: none;
  width: 65%;
  background-color: #f6f6f6;
  border: 1px solid #ccc;
  padding: 6px 5px 5px;
  font-size: 14px;
  font-weight: normal;
  color: #666;
}
.kontaktform .bfSubmitButton {
  background: #181716;
  border: none;
  display: inline-block;
  float: right;
  margin: 15px 0;
  padding: 9px 20px 8px;
  color: #fff;
  border-radius: 0px;
}
.kontaktform .bfSubmitButton:hover {
  background: #868686;
  color: #181716;
}
.kontaktform .bfRequired {
  color: red;
}
.kontaktform .bfErrorMessage {
  color: red;
  line-height: 25px;
  display: inherit;
  padding: 15px;
  background: rgba(250, 0, 0, 0.2);
  width: 100%;
}

/* Footer */
footer {
  width: 100%;
  padding: 15px;
  background: #c5c6c6;
  color: #fff;
  font-size: 14px;
}
footer p {
  margin: 0;
}
footer a {
  color: #fff;
}
footer a:hover,
footer a:focus {
  color: #181716;
  text-decoration: none;
}
footer .copyright {
  text-align: right;
  padding: 0 15px;
}
footer .links {
  text-align: left;
  padding: 0 15px;
}

.scrollup {
  width: 50px;
  height: 50px;
  font-size: 24px;
  line-height: 46px;
  color: #fff;
  background: #c5c6c6;
  border-radius: 50%;
  -webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.4);
  position: fixed;
  right: 40px;
  bottom: 40px;
  display: none;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  z-index: 20;
}

.scrollup:hover {
  color: #fff;
  background: #777;
}

.scrollup::before {
  font-weight: 400;
  font-family: "FontAwesome";
  content: "\f106";
}

@media (max-width: 1024px) {
  #inhalt-slide {
    width: 45%;
    top: 10px;
    right: 10px;
    padding: 20px;
  }
  #inhalt-slide h2 {
    margin: 0 0 20px;
    padding-bottom: 15px;
  }
  #inhalt-slide img {
    display: none;
  }
  #wrapper a.btn {
    margin-top: 5px;
  }
}

@media (max-width: 968px) {
  #wrapper #navigation li {
    background: url(../images/bg-menu.png) no-repeat 0 17px;
  }
  #wrapper #navigation li a {
    font-size: 13px;
    padding: 16px 10px 15px;
  }
}

@media (max-width: 900px) {
  #inhalt-slide.noscroll img {
    display: inline-block;
    max-width: 30%;
  }
  #inhalt-slide .isMobile {
    padding: 0 !important;
  }
  #inhalt-slide .isMobile .absolute p {
    font-size: 12px !important;
    line-height: 15px !important;
  }
  #inhalt-slide.static {
    position: static;
    width: 100%;
  }
  #inhalt-slide.static h2 {
    font-size: 19px;
  }
  .mainkontakt {
    padding: 0;
  }
}

@media (max-width: 768px) {
  header {
    margin: 15px auto;
  }
  #inhalt-slide .hideMobile {
    display: none;
  }
  #wrapper #main-cotent .inhalt {
    margin: 25px 0 0;
  }
  #wrapper #main-cotent .inhalt h4 {
    margin-top: 0;
  }
  #wrapper #main-cotent .inhalt .blog_akuelles div[class^="items"] {
    padding-top: 10px;
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  body.active {
    position: fixed;
    overflow: hidden;
  }
  header {
    margin: 10px auto;
  }
  .btn-menu {
    display: block;
  }
  header #logo .logo {
    text-align: center;
    padding: 5px 10px 0;
    font-size: 28px;
  }
  header #logo .slogan {
    text-align: center;
    padding: 0 0 5px;
    font-size: 16px;
  }

  #wrapper #navigation {
    display: block;
    left: -70%;
    top: 77px;
    height: 100vh;
    z-index: 9;
    position: fixed;
    width: 70%;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    padding-top: 20px;
    margin: 0;
  }
  #wrapper #navigation li {
    display: block;
    padding: 0 15px 0 23px;
    background: none;
    text-align: left;
  }
  #wrapper #navigation li:first-child {
    padding: 0 15px 0 23px;
  }
  #wrapper #navigation li a {
    font-size: 15px;
    padding: 16px 25px 15px;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    background: none;
    text-align: left;
  }
  #wrapper #navigation li.active a {
    color: #181716;
    text-decoration: none;
    padding-left: 15px;
  }
  #wrapper #navigation li:hover a {
    color: #181716;
    text-decoration: none;
  }

  .active #wrapper #navigation {
    left: 0;
  }
  footer .copyright,
  footer .links {
    text-align: center;
  }
  .scrollup {
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 35px;
    right: 15px;
    bottom: 20px;
  }

  @media (max-width: 460px) {
    .kontaktform section label {
      width: 100%;
      font-size: 13px;
    }
    .kontaktform section input[type="text"],
    .kontaktform section textarea {
      width: 100%;
    }
    .kontaktform section span.bloc-intresse {
      padding: 25px 0 0 0;
    }
    .kontaktform section a.main-intresse {
      width: 100%;
      text-align: left;
    }

    footer .footer {
      min-height: inherit;
      height: auto;
      margin-bottom: 10px;
    }
  }

  @-moz-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      -moz-transform: translateY(0);
      transform: translateY(0);
    }
    40% {
      -moz-transform: translateY(-30px);
      transform: translateY(-30px);
    }
    60% {
      -moz-transform: translateY(-15px);
      transform: translateY(-15px);
    }
  }
  @-webkit-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
    40% {
      -webkit-transform: translateY(-30px);
      transform: translateY(-30px);
    }
    60% {
      -webkit-transform: translateY(-15px);
      transform: translateY(-15px);
    }
  }
  @keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      -moz-transform: translateY(0);
      -ms-transform: translateY(0);
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
    40% {
      -moz-transform: translateY(-30px);
      -ms-transform: translateY(-30px);
      -webkit-transform: translateY(-30px);
      transform: translateY(-30px);
    }
    60% {
      -moz-transform: translateY(-15px);
      -ms-transform: translateY(-15px);
      -webkit-transform: translateY(-15px);
      transform: translateY(-15px);
    }
  }

  .bounce {
    -moz-animation: bounce 5s infinite;
    -webkit-animation: bounce 5s infinite;
    animation: bounce 5s infinite;
  }
}
