/* bai-jamjuree-regular - latin */
@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/bai-jamjuree-v11-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/bai-jamjuree-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/bai-jamjuree-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/bai-jamjuree-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/bai-jamjuree-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/bai-jamjuree-v11-latin-regular.svg#BaiJamjuree') format('svg'); /* Legacy iOS */
}

/* bai-jamjuree-700 - latin */
@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/bai-jamjuree-v11-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/bai-jamjuree-v11-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/bai-jamjuree-v11-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/bai-jamjuree-v11-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/bai-jamjuree-v11-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/bai-jamjuree-v11-latin-700.svg#BaiJamjuree') format('svg'); /* Legacy iOS */
}

/* roboto-300 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v30-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v30-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v30-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v30-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v30-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v30-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v30-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v30-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v30-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* +++++++++++++++++ Fonts +++++++++++++++++ */
/* @import url('https://fonts.googleapis.com/css?family=Bai+Jamjuree:400,700|Roboto:300,400,700&display=swap'); */

/* +++++++++++++++++ Typselektoren +++++++++++++++++ */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* overflow-x: hidden !important; */
}

body {
  font-size: 16px;
  line-height: 1.7em;
  color: #555;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

h1, h2, h3, h4, h5 {
  font-family: 'Bai Jamjuree', sans-serif;
  line-height: 1.3;
  color: #00a0c8;
  font-weight: 700;
}

h1 {
  text-transform: uppercase;
  color: #fff;
  font-size: 40px;
  background: rgba(0, 160, 200, 0.9);
  padding: 5px 10px;
  margin: 0px;
  display: inline;
  line-height: 65px;
  white-space: pre-wrap;
}

@media(max-width:991px) {
  h1 {
    font-size: 34px;
  }
}

@media(max-width:768px) {
  h1 {
    font-size: 4.5vw;
  }
}

h2 {
  font-weight: 700;
  font-size: 28px;
  padding: 0px 0px 0px 10px;
  margin-top: 50px;
  border-left: 2px solid #00a0c8;
  text-transform: uppercase;
}

h3 {
  margin: 20px 0px 10px;
  text-transform: uppercase;
  font-weight: 700;
}

h4 {
  font-size: 16px;
  margin: 5px 0px 10px;
  text-transform: uppercase;
  font-weight: 700;
}

a {
  color: #00a0c8;
}

a:hover, a:focus, a:active {
  color: #00a0c8;
  cursor: pointer;
}

p {
  margin: 0 0 20px;
}

img {
  width: 100%;
}

ul {
  padding: 0px;
  margin: 0px;
}

li {
  list-style-type: none;
  font-size: 18px;
  line-height: 20px;
}

/* +++++++++++++++++ Klassen-Selektoren Layout +++++++++++++++++ */
.center {
  text-align: center;
}

.right {
  float: right;
}

.left {
  float: left;
}

.firmenname {
  color: #00a0c8;
}

.linksbuendig {
  text-align: left !important;
}

/* +++++++++++++++++ Navigation +++++++++++++++++ */
#logo {
  width: 200px;
  margin: 15px 0px 13px;
  float: left;
}

.navigation {
  background: #f8f8f8;
  box-shadow: 0px 1px 10px 0px rgba(156, 156, 156, 0.4);
  position: fixed;
  display: block;
  width: 100%;
  z-index: 10000;
}

#navi {
  float: right;
}

header ul li {
  display: inline-block;
  padding: 70px 0px 0px 30px;
  color: #1a171b;
}

header ul li a {
  color: #1a171b;
  padding-bottom: 6px;
  font-weight: 400;
}

header ul li a:hover {
  color: #00a0c8;
  text-decoration: none;
  border-bottom: 4px solid #00a0c8;
}

header ul li a:active, header ul li a:focus {
  text-decoration: none;
}

.hamburger {
  display: none;
}

@media(max-width:996px) {
  #navi {
    display: block;
    width: 100%;
    float: left;
  }

  #navi li #logo {
    width: 150px;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 15px;
    top: 15px;
    float: right;
    border: 6px solid #00a0c8;
    border-top: none;
    height: 41px;
    width: 50px;
    padding: 0px 3px 3px;
  }

  .balken {
    width: 32px;
    border: 3px solid #00a0c8;
    margin-bottom: 6px;
  }

  header ul li {
    display: block;
    padding: 0px 0px 20px 0px;
  }

  header ul li:first-child {
    padding: 20px 0px 20px 0px;
    border-top: solid 4px #00a0c8;
  }

  #navigationsliste {
    display: none;
  }

  .navian {
    display: block !important;
  }
}

/* +++++++++++++++++ Header +++++++++++++++++ */
.keyvisual {
  margin-top: 100px;
  margin-bottom: 30px;
  background-image: url('../img/keyvisual.jpg');
  background-position: right center;
  background-size: cover;
  height: 300px;
}

@media(max-width:768px) {
  .keyvisual {
    height: 296px;
  }

  .container.aussenabstand {
    margin: 0px 15px;
  }
}

.headlinerahmen {
  position: absolute;
  top: 30px;
  left: 40px;
  padding: 0px 0px 2px 2px;
}

@media(max-width:996px) {
  .keyvisual {
    margin-top: 80px;
  }
}

@media (max-width:600px) {
  .headlinerahmen {
    left: auto;
  }

  h1 {
    font-size: 4vw;
    padding: 4px 8px 0px
  }

  .keyvisual {
    height: 200px;
  }
}

/* +++++++++++++++++ Aufmacher +++++++++++++++++ */
.marginaussen {
  margin: 0px;
}

.aufmacher {
  text-align: center;
  font-size: 16px;
  padding: 20px 80px;
  margin-bottom: 40px;
  background: #f8f8f8;
}

.aufmacher h2 {
  border: none;
  font-size: 32px;
  margin-top: 30px;
  padding: 0px;
}

.kontaktbutton {
  margin: auto;
  margin-top: 40px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 13px 10px 10px;
  background-color: #bf0000;
  width: 300px;
}

.kontaktbutton a {
  color: #fff;
  text-decoration: none;
}

.kontaktaufforderung {
  margin-top: 20px;
  font-size: 16px;
}

.telefonnummer {
  font-size: 16px;
  font-weight: 700;
}

.bildabstand {
  margin-top: 20px;
}

@media(max-width:768px) {
  .aufmacher {
    padding: 10px;
  }

  .aufmacher h2 {
    font-size: 27px;
  }

  .kontaktbutton {
    width: 240px;
    font-size: 18px;
  }
}

/* +++++++++++++++++ Teaser +++++++++++++++++ */
.teaser {
  /* padding:10px; */
  margin-bottom: 20px;
  /* box-shadow: 0px 3px 12px 1px rgba(156, 156, 156, 0.64);*/
}

/* +++++++++++++++++ Kontakt +++++++++++++++++ */
.kontakt .teaser {
  /* background-image: url(../img/teaser-bg.jpg);*/
  margin-bottom: 40px;
}

.kontakt h3 {
  margin-bottom: 10px;
}

/* +++++++++++++++++ Referenzen +++++++++++++++++ */
.referenzen h3 {
  margin: 0px 0px 20px;
  padding: 12px 10px 10px 40px;
  background-color: #00a0c8;
  color: #fff;
  background-image: url(../img/map.svg);
  background-position: 10px 10px;
  background-size: 20px;
  background-repeat: no-repeat;
}

.referenzen img {
  margin-bottom: 20px;
}

/* +++++++++++++++++ Footer +++++++++++++++++ */
footer {
  background-color: #00a0c8;
  color: #fff;
  text-align: center;
  padding: 20px 0px;
}

footer a {
  padding: 0px 10px;
  font-size: 16px;
  color: #fff;
  font-weight: 400;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}
