/* postion: relativ => verschiebung von der eigenen Position
  Position: absolut => Innerhalb des VaterBlocks absolute postion
  postion: sticky => bleibt "kleben", kann mit margin-Top oben noch etwas platz lassen und später wird wert Top eingehalten
  postion: static => top, right, bottom und left wirken sich nicht aus.
  postion: fixed => Ausrichtung an der sichtbaren Oberfläche, wird aus dem Textfluss genommen
   */
/* ===FARBEN===
braun = #483601
Orange = #ff8000
dunkelgrau = #3D3F45
hellgrau = #f5f5f5  ;Whitesmoke

*/

/* === GLOBAL === */
@font-face {
  font-family: "Brush_Skript";
  src: url(brush-script.ttf) format("truetype");
  src: url("brush_script.eot"); /* IE9*/
  src: url("brush_script.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
  url("brush_script.woff2") format("woff2"), /* chrome、firefox */
  url("brush_script.woff") format("woff"), /* chrome、firefox */
  url("brush_script.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url("brush_script.svg#Brush_Skript") format("svg"); /* iOS 4.1- */
}

* {
  box-sizing: border-box; /*damit die div-Boxen immer gleich groß sind*/
}

/* === zur Verbesserung der Floats === */
.clearfix::after {
  content: "";
  clear: both;
  display: block;
}

html, body {
  background-color: #DCDCDC;
  height: 100%;
  font-family: helvetica, tahoma, verdana, sans-serif;
}

body {
  margin: 0;
  font-size: 16px;
}

h1, h2, h3, h4 {  color: #483601; margin-top: 30px;}

h1 {  font-size: 1.5rem; text-align: center;}
h2 {  font-size: 1.2rem;}
h3 {  font-size: 1.0rem;}
h4 {  font-size: 0.9rem; font-style: italic;}
a {
  text-decoration: none;
  color: #483601;
}

/* styling für die Menü Icons */
[class*="fas"] {
  font-size: 1em;
  color: #483601;
  margin-left: .1em;
  margin-right: .3em;
}

/*=== HEADER === */
header {
  background-color: white;
  width: 100%;
  display: block;
  position: relative;
  border-bottom: 2px;
  border-bottom-style: solid;
  border-bottom-color: #483601;
  position: -webkit-sticky; /*für safari*/
  position: sticky;
  top: 0px;
}

header .container,
header .row,
header .col-1,
header .col-3 {
  height: 100%;
}

header .col-1,
header .col-3 {
  padding-top: .55em;

}

header h1{
  font-size: 3.5rem;
  font-family: "impact";
  text-align: center;
  padding-top: 2rem;
  margin:0px;
}

header a > img {
  height: 120px;
  width: auto;
  left: 2rem;
  top: 0.8rem;
}

header ul {
  position: absolute;
  top: 100px;
  right: 2em;
}

header li {
  display: inline;
  padding-right: .8em;
}

/* === BANNER === */
section {
  height: 400px;
  width: 100%;
  border-bottom: 1px solid #483601;
  postion: absolute;
}

.startseitebanner {
  width: 100%;
  height: 100%;
  padding-top: 20.83%; /* damit die Höhe mit sklaiert, bei 1920x400 */
  background: url("../img/titel.png") no-repeat;
  background-attachment: local;
  background-size: cover; /* Resize the background image to cover the entire container */
  /* background-size: contain;  bessere alternative wenn bild optimal auf 1920x400 ist */
  border-bottom: 1px solid #483601;
}

.bannertext{
  font-family: "Brush_Skript", cursive, sans-serif;
  margin: 0;
  color: #ff8000;
  font-size: 5em;
  text-shadow: 2px 2px 1px #3D3F45;
  padding-left: 100px;
  margin-top: -18%;
}

/* für Titelbilder der anderen Seiten */
.seitenbanner {
  width: 100%;
  height: 0;
  padding-top: 15.5%; /* damit die Höhe mit sklaiert, bei 1920x300 */
  border-bottom: 1px solid #483601;
}

.leistungen {
  background-image: url("../img/front.gif");
  background-repeat: no-repeat; /* Do not repeat the image */
  background-position: center center; /* Center the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}

.referenzen {
  background-image: url("../img/referenzen.gif");
  background-repeat: no-repeat; /* Do not repeat the image */
  background-position: center center; /* Center the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}


.haendler {
  background-image: url("../img/partnerlogo/partner.gif");
  background-repeat: no-repeat; /* Do not repeat the image */
  background-position: center center; /* Center the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}

.impressum {
  background-image: url("../img/impressum.gif");
  background-repeat: no-repeat; /* Do not repeat the image */
  background-position: center center; /* Center the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}

/*=== NAVIGATIONSLEISTE=== */
.hauptnavigation {
  position: -webkit-sticky; /*für safari*/
  position: sticky;
  top: 147px;
  margin-top: 0;
  padding-right: 0 !important;
  float: left;
  font-weight: bold;
  font-size: 1.2rem;
  max-width: 250px;
}


.hauptnavigation > div {
  background-color: white;
  width: 200px;
  height: 35px;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  border: 1px solid #483601;
  margin-left: 5px;
  margin-top: 5px;
}

.hauptnavigation > div.selected {
  background-color: #ffffff;
  border-right: 0px solid #483601;
  padding-right: 0;
  float: right;
}
.hauptnavigation > div.selected > i {
  color: #ff8000;
}

.hauptnavigation > div.unselected {
  background-color: #DCDCDC;
  float: right;
  padding-right: 0;
}

.hauptnavigation > div > a {
  color: #483601;
  text-decoration: none;
}

.hauptnavigation > div > a:hover {
  color: #ff8000;
  text-decoration: none;
}


/* === MOBILE NAVIGATIONSLEISTE === */

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

.mobile-nav-dropdown:hover > .mobile-nav-content {
  display: block;
}
.mobile-nav-button {
  color: #483601;
  float: right;
  font-size: 3rem;
  /* border: 1px solid #483601; */
  width: 37px;
  height: 37px;
  position: relative;
  margin-top: .55rem;
  margin-bottom: .4rem;
  right: 15px;
}

.mobile-nav-button > span {
  position: absolute;
  top: -14px;
}

.mobile-nav-content{
  float: right;
  position: absolute;
  right: 0;
  top: -70px;
  right: -17px;
  display: none;
}

.mobile-nav-content > ul > li {
  display: block;
  background-color: white;
  text-align: center;
  height: 40px;
  width: 160px;
  padding: .6rem .5rem;
}

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

/* status active wenn mit smart-devices genutzt wird */
header a:hover, header a:active {
  color: #ff8000;
  -webkit-user-select: none;
  -webkit-touch-callout: none
}

@media (max-width: 1055px) {
  .desknav {
    display: none;
  }

  .mobile-nav-dropdown {
    display: block;
  }
}

@media (min-width: 1056px) {
    .desknav {
      width: auto;
    }

    .mobile-nav-dropdown {
      display: none;
    }
}


/* === MAIN === */
main {
  background-color: white;
  height: auto;
  justify-content: center;
  text-align: justify;
  padding: 0 30px 5% 30px !important;
  margin-left: -1px;
  margin-top: -1px;
  margin-right: 2%;
  border: 1px solid #483601;
}

/* === Bildergalerie ===*/
galerie {
  background-color: white;
  height: auto;
  justify-content: center;
  padding: 0 30px 5% 30px !important;
  margin-left: -1px;
  margin-top: -1px;
  margin-right: 2%;
  border: 1px solid #483601;
}
galerie a>img {
  margin-bottom: 0.4em;
  border: 1px solid #483601;
}

/* === LEISTUNGEN === */
.fa-ul>li {
    margin-top: .8em;
}

/* === HAENDLER === */
iframe {
    height: 350px;
    width: 95%;
}


/* === FREIFLÄCHE === */
.freiflaeche {
  height: 3%;
}

/* === PARTNERLOGOS === */

.PARTNERLOGOS {
  border-top: 1px solid #483601;
  background-color: white;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -1px;
}

.PARTNERLOGOS > a > img {
  max-height: 85px;
  width: auto;
  max-width: 90%;
}

/* === FOOTER === */

footer{
  clear: both;
  width: 100%;
  min-height: 140px;
  background-color: #483601;
  position: absolute;
}

.kontakt {
  color: white;
  padding-left: 15px !important;
}

.kontakt a {
  color: white;
}

footer img {
  max-height: 100px;
  float: left;
}

.logovelux {
  float: right;
  margin-right: 25px;
}
/* =================================================================== */
/* =================================================================== */

/* === GRID-System === */
.container {
  width: 100%;
  margin-left: auto; /*durch margin-left und margin-right auf auto bleibt es zentriert*/
  margin-right: auto;
}

.row::after { /*clearfix-hack für die Rows*/
  content:"";
  clear: both;
  display: block;
}

.col-1  { width: 16.666%;}
.col-15 { width: 20%;    }
.col-14 { width: 25%;    }
.col-2  { width: 33.333%;}
.col-3  { width: 50%;    }
.col-5  { width: 70%;    }
.col-34 { width: 75%;    }
.col-45 { width: 78%;    }
.col-6  { width: 100%;   }

[class*="col-"] { /*für alle Klassen mit Beginn "col-"*/
  float:left;
  min-height: 1px;
  padding: .4rem;
}


/* === REPSONSIVE-Größen ===
320px (iPhone Hochformat)
480px (iPhone Querformat) WICHTIG
768px (iPad Hochformat) WICHTIG
1024px (iPad Querformat) WICHTIG
1200px (Laptop)
>1200px (große Endgeräte)
*/

@media (max-width: 1055px) {
  .col-1   { width: 33.333%; }
  .col-14  { width: 50%;     }
  .col-15  { width: 50%;     }
  .col-3   { width: 75%;     }
  .col-34  { width: 100%;    }
  .col-45  { width: 100%;    }
  .desknav { width: 16.75%;  }
  main { margin: 0 0 .1em; }

  header h1 {
    font-size: 3rem;
    text-align: center;
  }

  .bannertext {
    font-size: 3.5em;
    padding-left: 50px;
  }
  iframe {
      transform: scale(0.5);
      transform-origin: left top 0;
  }
}

@media (max-width: 768px) {
  .col-1   { width: 50%; }
  .col-14  { width: 100%;}
  .col-15  { width: 100%;}
  .col-3   { width:  80%;}
  .col-34  { width: 100%;}
  .col-45  { width: 100%;}
  .col-2   { width: 100%;}
  .col-3   { width: 100%;}

  header h1 {
    font-size: 2.5rem;
    text-align: center;
  }
  .bannertext {
    font-size: 2.5em;
    padding-left: 30px;
  }
  iframe {
      transform: scale(0.5);
      transform-origin: left top 0;
  }
}

@media (max-width: 480px) {
  .col-1  { width: 100%;}
  .col-14 { width: 100%;}
  .col-15 { width: 100%;}
  .col-3  { width:  80%;}
  .col-34 { width: 100%;}
  .col-45 { width: 100%;}
  .col-2  { width: 100%;}
  .col-3  { width: 100%;}

  header h1 {
    font-size: 2rem;
    text-align: center;
  }

  main {
    text-align: left;
  }
  .bannertext {
    font-size: 2em;
    padding-left: 20px;
  }
  iframe {
      display: none;
  }
}
