/* === GLOBAL ===*/

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Raleway', 'Lato', 'Helvetica Neue', 'Arial', sans-serif;
}

* {
  box-sizing:border-box;
}

section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media(max-width: 1366px) {
  section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media(max-width: 1024px) {
  section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

@media(max-width: 768px) {
  section {
    padding-top: .5rem;
    padding-bottom: .5rem;
  }
}

/* === GENERELLSES ==*/

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

.active {
  background-color: #A62C21 !important;
}

.wichtiger-text {
  font-weight: bold;
}

.screenreader {
  display: none;
}

.intro-container {
  text-align: center;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

@media(max-width: 1366px) {
  .intro-container {
    width: 90%;
  }
}

@media(max-width: 1024px) {
  .intro-container {
    width: 100%;
  }
}

@media(max-width: 1024px) {
  .intro-container {
    margin-bottom: 1rem;
  }
}

.intro-container > h1 {
  font-size: 1.6rem;
  text-transform: uppercase;
}

.intro-container > p {
  font-size: 1.2rem;
}

@media(max-width: 1366px) {
  .intro-container > p {
    margin-bottom: .5rem;
  }
}

@media(max-width: 1024px) {
  .intro-container > p {
    font-size: 1.2rem;
  }
}

/* === BUTTONS === */

.btn-typ-1 {
  background-color: #A62C21;
  border: 2px solid #A62C21;
  color: #FFF;
  padding: .4rem .6rem;
  transition: border .5s ease-in-out;
}

.btn-typ-1:hover {
  border: 2px solid #FFF;
  cursor: pointer;
}

.btn-typ-2 {
  border: 2px solid #FFF;
  background-color: transparent;
  color: #FFF;
  padding: .4rem .6rem;
  transition: color .5s ease-in-out, border .5s ease-in-out
}

.btn-typ-2:hover {
  color: #A62C21;
  border: 2px solid #A62C21;
}

.btn-typ-3 {
  border: 2px solid #3D3F45;
  background-color: transparent;
  font-size: 1rem;
  color: #3D3F45;
  width: 150px;
  height: 39px;
  transition: border .5s ease-in-out;
}

.btn-typ-3:hover {
  border: 2px solid #A62C21;
}

/* === NAVIGATIONSLEISTE === */

#header-nav {
  width: 100%;
  height: 50px;
  background-color: #3D3F45;
  position: relative;
  font-weight: bold;
  font-size: 1.1rem;
}

#header-nav a > img {
  height: 30px;
  width: auto;
  margin: .55rem;
  float: left;
}

#header-nav ul {
  margin: 0;
  padding: 0;
  float: right;
  height: 100%;
}

#header-nav ul > li {
  display: inline-block;
  height: 100%;
  padding: 0 .4rem 0 .4rem;
}

#header-nav ul > li > a {
  margin-top: .8rem;
  display: inline-block;
}

#header-nav ul > li > a:link {
  color: #FFF;
  text-decoration: none;
}

#header-nav ul > li > a:hover {
  color: #F0F0F0;
  text-decoration: none;
}

#header-nav ul > li > a:active {
  color: #F0F0F0;text-decoration: none;

}

#header-nav ul > li > a:visited {
  color: #FFF;
  text-decoration: none;
}

#header-nav .col-6 {
  padding-top: 0;
  padding-bottom: 0;
}

#header-nav .container,
#header-nav .row,
#header-nav .col-6 {
  height: 100%;
}

.logo-link {
  display: inline-block;
}

/* === NAVIGATIOSLEISTE (MOBIL) === */

#mobile-nav {
  display: none;
}

#mobile-nav-button {
  color: #FFF;
  float: right;
  font-size: 2rem;
  border: 2px solid #FFF;
  width: 37px;
  height: 37px;
  position: relative;
  margin-top: .4rem;
  margin-bottom: .5rem;
}

#mobile-nav-button > span {
  position: absolute;
  bottom: -2px;
  left: 7px;
}

#mobile-nav-content > ul > li {
  display: block;
  background-color: #3D3F45;
  height: 50px;
  padding: 0 1.2rem;
  text-align: center;
}

#mobile-nav-dropdown {
  position: relative;
  display: inline-block;
  float: right;
}

#mobile-nav-content {
  position: absolute;
  right: 0;
  top: 50px;
  display: none;
}

#mobile-nav-dropdown:hover > #mobile-nav-content {
  display: none;
}

@media (max-width: 768px) {

  #desktop-nav {
    display: none;
  }

  #mobile-nav {
    display: block;
  }

}


/* === HEADER-BANNER === */

#header-banner {
  width: 100%;
  height: 0;
  padding-top: 20.83%;
  background: url("../img/hintergrund.jpg") no-repeat;
  background-size: contain;
}

#header-banner-klein {
  width: 100%;
  height: 0;
  padding-top: 16.625%;
  background: url("../img/hintergrund.jpg") no-repeat;
  background-size: cover;
}

/* === NEWSLETTER-BEREICH === */

#newsletter-bereich {
  width: 100%;
  background-color: #3D3F45;
  padding-bottom: 0;
  padding-top: 0;
}

#nb-werbetext {
  color: #FFF;
  font-size: 1.2rem;
}

#nb-form {
  margin-top: .7rem;
  float: right;
  width: 100%;
  text-align: right;
}

#nb-email-input {
  width: 78%;
  height: 35px;
  border: 2px solid #FFF;
  padding: .4rem;
}

#nb-button {
  height: 35px;
}

@media (max-width: 1822px) {

  #nb-email-input {
    width: 70%;
  }
}

@media (max-width: 1348px) {

  #nb-email-input {
    width: 100%;
    margin-bottom: .5rem;
  }

  #nb-button {
    width: 100%;
  }
}

@media(max-width: 768px) {

  #nb-werbetext {
    display: none;
  }

  #nb-form {
    margin: 0;
  }

  #newsletter-bereich .col-4 {
    display: none;
  }

  #newsletter-bereich .col-2 {
    float: none;
    width: auto;
  }
}

@media (max-width: 480px) {
  #nb-email-input {
    height: 25px;
  }

  #nb-button {
    height: 25px;
    padding: .1rem;
  }

}

/* === ANIMIERTES-LOGO === */

@keyframes logoAnimation {
    0%         { transform: rotateZ(0deg);   }
    11.111%    { transform: rotateZ(0deg);   }
    22.222%    { transform: rotateZ(90deg);  }
    33.333%    { transform: rotateZ(90deg);  }
    44.444%    { transform: rotateZ(180deg); }
    55.555%    { transform: rotateZ(180deg); }
    66.666%    { transform: rotateZ(270deg); }
    77.777%    { transform: rotateZ(270deg); }
    88.888%    { transform: rotateZ(360deg); }
    100%       { transform: rotateZ(360deg); }
}

#animiertes-logo {
  height: 150px;
  width: 150px;
  background-color: #3D3F45;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
  padding: 25px;
}

#animiertes-logo > img {
  display: block;
  width: 100px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
  animation: logoAnimation 5s ease-in-out infinite alternate;
}

@media (max-width: 768px) {
  #animiertes-logo {
    display: none;
  }
}
/* === LEISTUNGEN-BEREICH ===*/

#leistungen-bereich {
  padding-top: 1rem;
}

.leistung-teaser-box {
  background-color: #3D3F45;
  text-align: center;
  color: #FFF;
  padding: 1rem 3rem 2.5rem;
  width: 60%;
  margin-bottom: 1.6rem;
}

@media (max-width: 480px) {
  .leistungs-teaser-box {
    padding: 1rem 1.5rem 2.5rem;
  }
}

#leistungen-bereich .row > .col-3:nth-of-type(odd) > .leistung-teaser-box {
  margin-right: 1rem;
  margin-left: auto;
}

#leistungen-bereich .row > .col-3:nth-of-type(even) > .leistung-teaser-box {
  margin-left:1rem;
  margin-right: auto;
}

.leistung-teaser-box > h2 {
  font-size: 1.4rem;
}

.leistungen-ansehen-btn {
  text-decoration: none;
  height: 40px;
  display: inline-block;
  padding-top: .5rem;
  width: 40%;
  min-width: 100px;
  margin-top: 1rem;
}

.leistungen-ansehen-btn:link {
  color: #FFF;
}

.leistungen-ansehen-btn:visited {
  color: #FFF;
}

.leistungen-ansehen-btn:active {
  color: #FFF;
}

.leistungen-ansehen-btn:hover {
  color: #A62C21;
  border: 2px solid #A62C21;
}

@media(max-width: 1366px) {
  .leistung-teaser-box {
    width: 80%;
  }
}

@media(max-width: 1024px) {
  .leistung-teaser-box {
    width: 100%;
    margin-bottom: .6rem;
  }

  #leistungen-bereich .row > .col-3:nth-of-type(even) > .leistung-teaser-box {
    margin-left: .5rem;
  }

  #leistungen-bereich .row > .col-3:nth-of-type(odd) > .leistung-teaser-box {
    margin-right: .5rem;
  }
}

@media(max-width: 768px) {

  #leistungen-bereich .row > .col-3:nth-of-type(even) > .leistung-teaser-box {
    margin-left: 0;
  }

  #leistungen-bereich .row > .col-3:nth-of-type(odd) > .leistung-teaser-box {
    margin-right: 0;
  }

}

/* === VIDEO-BEREICH === */

#video-bereich {
  background-color: #3D3F45;
  color: #FFF
}

#video-bereich video {
  width: 35%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media (max-width: 1440px) {
  #video-bereich video {
    width: 45%;
  }
}

@media (max-width: 1024px) {
  #video-bereich video {
    width: 60%;
  }
}

@media (max-width: 768px) {
  #video-bereich video {
    width: 75%;
  }
}

@media (max-width: 480px) {
  #video-bereich video {
    width: 100%;
  }
}

/* === SERVICE-BEREICH === */

#service-bereich {
  background-color: #F0F0F0;
  color: #000;
}

.service-box {
  text-align: center;
}

.service-box h1 {
  font-size: 1.4rem
}

#service-bereich .row:nth-of-type(2) > .col-2:first-of-type > .service-box {
  margin-right: 0;
  margin-left: auto;
}

#service-bereich .row:nth-of-type(2) > .col-2:nth-of-type(2) > .service-box {
  margin-left: auto;
  margin-right: auto;
}

.service-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  transition: transform 1s;
}

.service-icon:hover {
  transform: rotateZ(360deg);
}

#guenstig-icon {
  background: #3D3F45 url("./../img/services-sprite.png") left 0 top 0;
}

#schnell-icon {
  background: #3D3F45 url("./../img/services-sprite.png") left -120px top 0;
}

#modern-icon {
  background: #3D3F45 url("./../img/services-sprite.png") left -240px top 0;
}

@media (max-width: 768px) {

  #service-bereich > .container .row:nth-of-type(2) > .col-2 > .service-box {
    margin-right: auto;
    margin-left: auto;
  }

}

@media (max-width: 480px) {
    .service-box {
      width: 100%;
    }
}

/* === ÜBER-UNS-BEREICH === */

#über-uns-bereich {
  background-color: #FFF;
}

#über-uns-container {
  position: relative;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

#über-uns-container > img {
  position: absolute;
  top: 0;
  right: 100px;
  height: 100%
}

#über-uns-container > p {
  width: 75%;
  font-size: 1.2rem;
  margin-top: 0;
}

@media (max-width: 1440px) {

  #über-uns-container > img {
    right: 50px;
  }

}

@media (max-width: 1280px) {

  #über-uns-container > img {
    right: 0;
  }

}

@media (max-width: 1140px) {

  #über-uns-container > p {
    width: 70%;
  }

}

@media (max-width: 1024px) {

  #über-uns-container > p {
    width: 100%;
  }

  #über-uns-container > img {
    display: none;
  }

}

/* === FOOTER === */

#footer {
  background-color: #3D3F45;
  height: 2.8rem;
  color: #FFF;
}

#footer-nav {
  display: inline-block;
  float: right;
}

#footer-nav a {
  text-decoration: none
}

#footer-nav a:link {
  color: #FFF;
}

#footer-nav a:visited {
  color: #FFF;
}

#footer-nav a:active {
  color: #FFF;
}

#footer-nav a:hover {
  color: #F0F0F0;
}

@media (max-width: 565px) {
  #footer span {
    display: none;
  }
}

/* === LEISTUNGEN-SEITE === */

.leistung {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.leistung:nth-of-type(even) {
  background-color: #F0F0F0;
}

.flex-container {
  display: flex;
  width: 80%;
  margin-right: auto;
  margin-left: auto;
  justify-content: space-around;
  align-items: center;
}

@media(max-width: 1366px) {
  .flex-container {
    width: 90%;
  }
}

@media(max-width: 1024px) {
  .flex-container {
    width: 100%;
    padding-left: 4rem;
    padding-right: 4rem;
  }

}

.flex-container > .intro-container {
  width: 100%;;
}

.leistungs-box {
  background-color: #3D3F45;
  flex-basis: 25%;
  color: #FFF;
  padding: 2rem 4rem;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}



.leistungs-box-empfohlen {
  flex-basis: 27.5%;
  min-height: 720px;
  box-shadow: 0 0 20px 0 #3D3F45;
  font-size: 1.05rem;
}

@media (max-width: 1782px) {

  .leistungs-box {
    flex-basis: 27.5%;
  }



  .leistungs-box-empfohlen {
    flex-basis: 30%;
  }

}

@media (max-width: 1622px) {

  .leistungs-box {
    flex-basis: 30%;
  }



  .leistungs-box-empfohlen {
    flex-basis: 32.5%;
  }

}

@media (max-width: 1488px) {

  .leistungs-box {
    padding: 1rem 2rem;
  }

  .flex-container {
    align-items: stretch;
  }

  .leistungs-box-empfohlen {
    min-height: initial;
  }

}

@media (max-width: 1088px) {

  .flex-container {
    width: 80%;
    flex-direction: column;
    padding: 0;
  }

  .leistungs-box {
    padding: 2rem 4rem;
    margin-bottom: 2rem;
    min-height: initial;
  }

}

@media (max-width: 768px) {

  .flex-container {
    width: 90%;
  }

}

@media (max-width: 409px) {

  .leistungs-box {
    padding: 1rem 2rem;
  }
}

@media (max-width: 338px) {

  .leistungs-box {
    padding: .5rem 1rem 2rem 1rem;
  }
}

.leistungs-box h1 {
  margin-bottom: 0;
  margin-top: 1.5rem;
}

.leistungs-box ul {
  padding: 0;
}

.leistungs-box ul > li {
  list-style-position: inside;
  margin-bottom: .5rem;
}

.leistungen-auswählen-btn {
  width: 50%;
  height: 2.5rem;
  font-size: 1rem;
  margin-top: .5rem;
  min-width: 170px;
}

.leistungen-auswählen-btn:hover {
  font-weight: normal;
}

/* === KONTAKT-SEITE === */

#kontakt-bereich {
  padding-top: 1rem;
}

#kontakt-formular input,
#kontakt-formular textarea {
  width: 100%;
  border: 2px solid #3D3F45;
  padding: .5rem;
  font-size: 1rem;
  font-family: 'Raleway', 'Lato', 'Helvetica Neue', 'Arial', sans-serif;
  color: #3D3F45;
  transition: border .5s ease-in-out;
}

#kontakt-formular textarea {
  height: 100px;
}

#kontakt-formular input:hover,
#kontakt-formular textarea:hover {
  border: 2px solid #A62C21;
}

#kontakt-formular {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

@media(max-width: 1366px) {
  #kontakt-formular {
    width: 90%;
  }
}

@media(max-width: 1024px) {
  #kontakt-formular {
    width: 100%;
  }
}

@media(max-width: 768px) {
  #kontakt-formular button {
    width: 100%;
  }
}

/* === GRID-SYSTEM === */

.container {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

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

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

.col-1 {width: 16.66%; }
.col-2 {width: 33.33%; }
.col-3 {width: 50%;    }
.col-4 {width: 66.66%; }
.col-6 {width: 100%;   }

@media (max-width: 1024px) {

.col-1 { width: 33.33%; }

}

@media (max-width: 768px) {

  .col-1 {width: 50%;  }
  .col-2 {width: 100%; }
  .col-3 {width: 100%; }
  .col-4 {width: 100%; }

}

@media (max-width: 480px) {

  .col-1 {width: 100%; }
  .col-2 {width: 100%; }
  .col-3 {width: 100%; }
  .col-4 {width: 100%; }

}
