@import url(https://fonts.googleapis.com/css?family=Raleway:200,300,400,500,600,700);

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background:#232323;
  font-family: 'Raleway',sans-serif;
  text-align: center;
}

/* Global
================*/
.logo {
  max-height: 70px;
}

.container {
  width: 90%;
  overflow: hidden;
  margin: 0 auto;
}
/* Header
================*/
header {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 1em;
  color: #a7a7a7;
}

header .logo {
  position: absolute;
  left: 2.5em;
  top: -.5em;
  float: left;
}

nav {
  position: absolute;
  right: 3em;
}

nav ul {
  margin: 0;
  left: 0;
  list-style: none;
}

nav li {
  display: inline-block;
  margin: 1em;
}

nav a {
  text-decoration: none;
  position: relative;
  color: #a7a7a7;
  z-index: 1;
}
/* Nav a:hover*/
/* A1:Hover*/
nav .a1:before {
  content: '';
  width: 100px;
  height: 30px;
  position: absolute;
  border-left: 2px solid #ff0000;
  transform: skewX(-20deg);
  top: -5.5px;
  left: -10px;
  transition: all 400ms;
  z-index: -1;
}

nav .a1:hover:before {
  border-left: 83px solid #ff0000;
}
/* A2:Hover*/
nav .a2:before {
  content: '';
  width: 100px;
  height: 30px;
  position: absolute;
  border-left: 2px solid #ffb000;
  transform: skewX(-20deg);
  top: -5.5px;
  left: -10px;
  transition: all 400ms;
  z-index: -1;
}

nav .a2:hover:before {
  border-left: 78px solid #ffb000;
}
/* A3:Hover*/
nav .a3:before {
  content: '';
  width: 100px;
  height: 30px;
  position: absolute;
  border-left: 2px solid #f2ff00;
  transform: skewX(-20deg);
  top: -5.5px;
  left: -10px;
  transition: all 400ms;
  z-index: -1;
}

nav .a3:hover:before {
  border-left: 93px solid #f2ff00;
}
/* A4:Hover*/
nav .a4:before {
  content: '';
  width: 47px;
  height: 30px;
  position: absolute;
  border-left: 2px solid #adff00;
  transform: skewX(-20deg);
  top: -5.5px;
  left: -10px;
  transition: all 400ms;
  z-index: -1;
}

nav .a4:hover:before {
  border-left: 78px solid #adff00;
}

@media (max-width:720px) {
  header .logo {
    position: absolute;
    left: 40%;
    right: 0em;
  }

  nav {
    position: absolute;
    top: 5em;
    right: 0;
    left: 0;
  }
}

@media (max-width:500px) {
  nav {
    font-size: .8em;
  }
  nav .a1:before {
    content: '';
    width: 100px;
    height: 20px;
    position: absolute;
    border-left: 2px solid #ff0000;
    transform: skewX(-20deg);
    top: -3.5px;
    left: -10px;
    transition: all 400ms;
    z-index: -1;
  }

  nav .a1:hover:before {
    border-left: 73px solid #ff0000;
  }
  /* A2:Hover*/
  nav .a2:before {
    content: '';
    width: 100px;
    height: 20px;
    position: absolute;
    border-left: 2px solid #ffb000;
    transform: skewX(-20deg);
    top: -3.5px;
    left: -10px;
    transition: all 400ms;
    z-index: -1;
  }

  nav .a2:hover:before {
    border-left: 68px solid #ffb000;
  }
  /* A3:Hover*/
  nav .a3:before {
    content: '';
    width: 100px;
    height: 20px;
    position: absolute;
    border-left: 2px solid #f2ff00;
    transform: skewX(-20deg);
    top: -3.5px;
    left: -10px;
    transition: all 400ms;
    z-index: -1;
  }

  nav .a3:hover:before {
    border-left: 83px solid #f2ff00;
  }
  /* A4:Hover*/
  nav .a4:before {
    content: '';
    width: 100px;
    height: 20px;
    position: absolute;
    border-left: 2px solid #adff00;
    transform: skewX(-20deg);
    top: -3.5px;
    left: -10px;
    transition: all 400ms;
    z-index: -1;
  }

  nav .a4:hover:before {
    border-left: 68px solid #adff00;
  }
}
/* Home-hero
================*/
.home-hero {
  background-image: url('../images_x/pattern2.jpeg');
  background-position: center;
  background-size: cover;
  padding: 7em 0em;
  color: #a7a7a7;
  box-shadow: 0 1px 20px 0 #0f0f0f;
}

.home-hero span {
  color: #adff00;
  font-weight: 400;
}

.home-hero a {
  position: relative;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 5px;
  color: #fff;
  z-index: 1;
}

.home-hero a:before {
  content: '';
  width: 200px;
  height: 30px;
  position: absolute;
  border-left: 280px solid #2e2e2e;
  transform: skewX(-20deg);
  left: -25px;
  top: -5px;
  z-index: -1;
}

.home-hero a:after {
  content: '';
  width: 200px;
  height: 30px;
  position: absolute;
  border-left: 10px solid #adff00;
  transform: skewX(-20deg);
  left: -26px;
  top: -5px;
  z-index: -1;
  transition: all 1.5s;
}

/* Home-hero button hover*/
.home-hero a:hover {
  color: #f4f4f4;
  transition: 200ms;
}
.home-hero a:hover:after {
  border-left: 282px solid #2e2e2e;
}
@media (min-height:850px) {
  .home-hero {
    padding: 17em 0em;
  }
}
/* Home-contact
================*/
.home-contact {
  color: #a7a7a7;
  padding: 5em 0em;
}

.home-contact a {
  position: relative;
  text-decoration: none;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #fff;
  z-index: 1;
  transition: all 400ms;
}

.home-contact a:hover {
  color:#f4f4f4;
}

.home-contact a:before {
  content: '';
  width: 100px;
  height: 40px;
  position: absolute;
  border-left: 380px solid #2e2e2e;
  /*border-left: 435px solid #adff00;*/
  left: -25px;
  top: -10px;
  z-index: -1;
  transform: skewX(-20deg);
}

.home-contact a:after {
  content: '';
  width: 100px;
  height: 40px;
  position: absolute;
  border-left: 15px solid #adff00;
  /*border-left: 435px solid #2e2e2e;*/
  left: -26px;
  top: -10px;
  z-index: -1;
  transform: skewX(-20deg);
  transition: all 1.5s;
}

.home-contact a:hover:after {
  border-left: 383px solid #2e2e2e;
}

.home-contact span {
  color: #adff00;
  font-weight: 400;
}
@media (min-height:700px) {
  .home-contact {
    font-size: 1.3em;
  }

  .home-contact {
    padding: 1.3em 0em;
  }

  .home-contact a:before {
    content: '';
    width: 100px;
    height: 40px;
    position: absolute;
    border-left: 435px solid #2e2e2e;
    /*border-left: 435px solid #adff00;*/
    left: -25px;
    top: -7px;
    z-index: -1;
    transform: skewX(-20deg);
  }

  .home-contact a:after {
    content: '';
    width: 100px;
    height: 42px;
    position: absolute;
    border-left: 15px solid #adff00;
    /*border-left: 15px solid #2e2e2e;*/
    left: -26px;
    top: -8.53px;
    z-index: -1;
    transform: skewX(-20deg);
    transition: all 400ms;
  }

  .home-contact a:hover:after {
    border-left: 437px solid #2e2e2e;
  }
}

.ktelefon {
  font-family: 'Verdana';
}
