

html {
  height: 100%;
}
body {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-weight: 400;
  min-width: 320px;
  height: 100%;
  color: #555;
}

main {
  position: relative;
  width: 100%;
  height: 100%;
}

b, strong {
  font-weight: 700;
  font-style: italic;
}
a {
  color: #005944;
}
a:hover {
  color: #005944;
  text-decoration: underline;
}
h1, h2, h3 {
  font-size: 1.125rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #005944;
}
p {
  font-size: .875rem;
  line-height: 1.125rem;
}
p.italic {
  font-style: italic;
}

.hidden {
  display: none;
}

a.show-hidden,
a:hover.show-hidden {
  text-decoration: none;
}

header.base {
  z-index: 99;
  position: fixed;
  width: 100%;
  background-color: rgba(255, 255, 255, .8);
  border-bottom: 1px solid rgba(0, 0, 0, .025);
  transition: all 300ms ease;
}
.small-menu header.base {
  transform: translateY(-70px);
}
a.brand {
  display: block;
  text-indent: -9999px;
  width: 130px;
  height: 38px;
  margin-top: 15px;
  margin-bottom: 15px;
  margin-left: 5px;
  background-image: url(../img/besei-logo@3x.png);
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: 130px 38px;
  background-size: 130px 38px;
  transition: all 300ms ease;
}
nav.main-menu {
  display: block;
}
nav.main-menu ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
nav.main-menu ul:before {
  content: "";
  display: block;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, .5);
}
nav.main-menu ul li {
  position: relative;
  float: left;
}
nav.main-menu ul li:first-child {
  margin-left: 15px;
}
nav.main-menu ul li:last-child {
  margin-right: 15px;
}
nav.main-menu ul li:before {
  content: "";
  display: block;
  position: absolute;
  bottom: 4px;
  left: 50%;
  height: 6px;
  width: 74%;
  background-color: #005944;
  opacity: 0;
  transform:
    skewX(-9deg)
    translateX(-50%);
  transition: all 300ms ease;
  z-index: -1;
}
nav.main-menu ul li:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  box-shadow:
    inset 0 0 23px 0 rgba(163, 163, 163, .5);
  opacity: 0;
  overflow: hidden;
  transform: skewX(-9deg);
  transition: all 300ms ease;
  z-index: -1;
}
nav.main-menu ul li a {
  display: block;
  font-size: .875rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1rem;
  letter-spacing: .05rem;
  text-decoration: none;
  text-transform: uppercase;
  padding: 12px 8px;
}
nav.main-menu ul li a:visited {
  color: #005944;
}
nav.main-menu ul li:hover:before {
  opacity: 1;
}
nav.main-menu ul li:hover a {

}

nav.main-menu ul li.current:before,
nav.main-menu ul li.current:after {
  opacity: 1;
}
nav.main-menu ul li.current a {
  color: #005944;
}

.bg-top {
  background-position: center top !important;
}

nav.cta-menu {
  z-index: 99;
  position: fixed;
  bottom: 96px;
  right: 0;
  transition: all 300ms ease;
}
nav.cta-menu ul {
  display: block;
  position: relative;
  list-style-type: none;
  height: 98px;
  margin: 0;
  padding: 0;
}
nav.cta-menu ul li {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  padding-right: 48px;
}
nav.cta-menu ul li:nth-child(2) {
  top: 50px;
}
nav.cta-menu ul li .ico-btn {
  z-index: 2;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  background-color: #F2B73B;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: 32px;
  background-size: 32px;
  box-shadow:
    0 15px 12px 0 rgba(0, 0, 0, .22),
    0 19px 38px 0 rgba(0, 0, 0, .30);
  opacity: .95;
  transition: all 300ms ease;
}
nav.cta-menu ul li .ico-btn:hover {
  cursor: pointer;
  opacity: 1;
}
nav.cta-menu ul li.cta-phone .ico-btn {
  background-image: url(../img/ico-phone@3x.png);
}
nav.cta-menu ul li.cta-mail .ico-btn {
  background-image: url(../img/ico-mail@3x.png);
}
nav.cta-menu ul li .cta-content {
  z-index: 1;
  align-items: center;
  display: flex;
  position: relative;
  text-align: right;
  height: 48px;
  padding-right: 24px;
  padding-left: 24px;
  background-color: #F2B73B;
  opacity: 0;
  transform: translateX(100%);
  transition: all 300ms ease;
}
nav.cta-menu ul li a {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  white-space: nowrap;
  color: white;
}
nav.cta-menu ul li a:hover {
  text-decoration: none;
}
nav.cta-menu ul li.active {
  width: auto;
}
nav.cta-menu ul li.active .ico-btn {
  -webkit-background-size: 48px;
  background-size: 48px;
}
nav.cta-menu ul li.active .cta-content {
  opacity: 1;
  transform: translateX(0);
}


.bg-green {
  background-color: #005944;
  color: white;
}
.bg-green h1,
.bg-green h2,
.bg-green h3,
.bg-green a {
  color: white;
}

.section {
  margin-bottom: 240px;
}
.header {
  text-align: center;
  padding-top: 6rem;
}
.header h2 {
  font-size: 2rem;
  line-height: 2rem;
  margin-bottom: 2rem;
}
.content {
  z-index: 9;
  position: relative;
  width: 100%;
}
.owl-carousel,
.owl-stage-outer,
.owl-stage,
.owl-item {
  height: 100%;
}
.banner,
.banner-item,
.banner-item-inner {
  background-position: center top;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}
.banner {
  height: 100%;
  position: relative;
  padding-right: 0;
  padding-left: 0;
}
.banner-item {
  height: 100%;
  width: 100%;
  background-position: center top;
  overflow: hidden;
}
.banner-item-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 110px;
  right: 0;
  bottom: 0;
  left: 0;
}
.banner-item span {
  font-size: 2rem; /* 2.5rem */
  font-weight: 800;
  font-style: italic;
  color: white;
  opacity: 0;
  text-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  transform: translateY(-100%);
  transition: all 600ms ease;
}
.active .banner-item span {
  opacity: 1;
  transform: translateY(60%);
}
.box-card {
  display: block;
  float: left;
  width: 100%;
  padding: 15px 15px 0;
  box-shadow:
    0 15px 12px 0 rgba(0, 0, 0, .22),
    0 19px 38px 0 rgba(0, 0, 0, .30);
}
#law {
  padding-top: 150px;
  padding-bottom: 100px;
}
#cover {
  position: relative;
  height: 400px;
  margin-bottom: 0;
}
#cover .content {
  display: flex;
  align-items: baseline;
  justify-content: center;
}
#cover .content > .container {
  align-self: flex-end;
}
#cover .banner {
  position: absolute;
}
#cover .box-card {
  transform: translateY(18vh);
}

#intro {
  margin-top: -48px;
}
#produkte {
  height: 400px;
}
#produkte.section {
  margin-bottom: 240px;
}
#produkte .banner {

}
.product-carousel {
  position: absolute;
  right: 0;
  bottom: -80px;
  left: 0;
}
.product-carousel:before,
.product-carousel:after {
  z-index: 9;
  content: "";
  display: block;
  position: absolute;
  top: 40px;
  bottom: 40px;
  width: 15px;
}
.product-carousel:before {
  left: 0;
  background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
  background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
}
.product-carousel:after {
  right: 0;
  background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
  background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 );
}
.product-carousel .owl-stage-outer {
  padding-bottom: 0;
}
.product-carousel .owl-item {
  align-items: flex-end;
  display: flex;
}
.product-item {
  position: relative;
  height: 360px;
  margin-bottom: 40px;
  padding: 10px 20px;
  background-color: white;
  box-shadow:
    0 15px 12px 0 rgba(0, 0, 0, .22),
    0 19px 38px 0 rgba(0, 0, 0, .30);
  overflow: hidden;
}
.product-item .bottom-align {
  position: absolute;
  bottom: 15px;
}
.product-item h3 {
  margin-bottom: .75rem;
}
.product-item p {
  margin: 0;
}
.product-item p:last-child {
  margin: 0;
}
.product-item img {
  width: auto !important;
}
.product-carousel .owl-dots {
  align-items: center;
  display: flex;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}
.product-carousel .owl-dot {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.product-carousel .owl-dot span {
  display: block;
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 12px;
  transition: all 300ms ease;
}
.product-carousel .owl-dot.active span {
  display: block;
  width: 16px;
  height: 16px;
  background-color: #005944;
}
#kontakt {
  height: 400px;
}
#kontakt.section {
  margin-bottom: 0;
}
#kontakt .box-card {
  margin-bottom: -96px;
}
#kontakt .banner {
  align-items: flex-end;
  display: flex;
}
footer.base {
  color: #005944;
}
footer.base p {
  padding-left: 15px;
}
footer.base a {
  color: #005944;
}



@media (min-width: 576px) {
  h1, h2, h3 {
    font-size: 1.375rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
  }
  p {
    line-height: 1.5rem;
  }
  .header {
    padding-top: 6rem;
  }
  .small-menu header.base {
    transform: translateY(-56px);
  }
  header.base .col-12 {
    padding-right: 0;
    padding-left: 0;
  }
  a.brand {
    float: left;
    margin-top: 30px;
    margin-left: 0;
  }
  .small-menu a.brand {
    height: 50px;
    margin-top: 54px;
    margin-bottom: 0px;
    -webkit-background-size: 100px 28px;
    background-size: 100px 28px;
  }
  nav.main-menu {
    float: right;
  }
  nav.main-menu ul:before {
    display: none;
  }
  nav.main-menu ul li:after {
    left: 5px;
  }
  nav.main-menu ul li a {
    padding-top: 71px;
    padding-bottom: 16px;
  }
  .box-card {
    padding: 20px 30px 5px;
  }
  .banner-item-inner {
    top: 104px;
  }
  .banner-item-inner span {
    font-size: 2.5rem;
  }
  .active .banner-item-inner span {
    transform: translateY(50%);
  }
  .product-carousel:before,
  .product-carousel:after {
    width: 30px;
  }
  .product-item {
    height: 310px;
    padding: 20px 30px;
  }
  .product-item h3 {
    margin-bottom: 1rem;
  }
  .product-item p {
    font-size: 1rem;
    line-height: 1.375rem;
  }
  #cover,
  #produkte,
  #kontakt {
    height: 350px;
  }
  #intro {
    margin-top: -60px;
  }
}



@media (min-width: 768px) {
  h1, h2, h3 {
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 1rem;
  }
  p.italic {
    font-size: 1.125rem;
  }
  .header {
    padding-top: 7rem;
  }
  .small-menu header.base {
    transform: translateY(-104px);
  }
  a.brand {
    width: 275px;
    height: 77px;
    margin-top: 52px;
    margin-bottom: 0;
    -webkit-background-size: 275px 77px;
    background-size: 275px 77px;
  }
  .small-menu a.brand {
    height: 80px;
    margin-top: 102px;
    margin-bottom: 0px;
    -webkit-background-size: 160px 45px;
    background-size: 160px 45px;
  }
  nav.main-menu ul li:before {
    bottom: 8px;
    height: 12px;
  }
  nav.main-menu ul li:after {
    left: 14px;
  }
  nav.main-menu ul li a {
    font-size: 1rem;
    padding: 114px 24px 32px;
  }
  .small-menu nav.main-menu ul li a {
    padding: 134px 24px 32px;
  }
  nav.cta-menu ul {
    height: 130px;
  }
  nav.cta-menu ul li {
    width: 64px;
    height: 64px;
    margin-bottom: 2px;
    padding-right: 64px;
  }
  nav.cta-menu ul li:nth-child(2) {
    top: 66px;
  }
  nav.cta-menu ul li .ico-btn {
    width: 64px;
    height: 64px;
  }
  nav.cta-menu ul li .cta-content {
    height: 64px;
    padding-right: 32px;
    padding-left: 32px;
  }
  nav.cta-menu ul li a {
    font-size: 2.5rem;
  }
  #cover,
  #kontakt {
    height: 580px;
  }
  #produkte {
    height: 460px;
  }
  #intro {
    margin-top: -60px;
  }

  #law {
    padding-top: 240px;
  }
  .banner-item-inner {
    top: 163px;
  }
  .banner-item span {
    font-size: 4.5rem;
  }
  .active .banner-item span {
    transform: translateY(50%);
  }
  .product-item {
    height: 400px;
  }
}

@media (min-width: 992px) {
  header.base {
    /* transform: translateY(-40px); */
  }
  .active .banner-item span {
    transform: translateY(100%);
  }
  #banner-home01 {
    background-position: center;
  }
  #banner-home04 {
    background-position: center bottom;
  }
  #cover,
  #kontakt {
    height: 800px;
  }
  #produkte {
    height: 600px;
  }
  #intro {
    margin-top: -120px;
  }
}
