/*

Theme Name: Harders Logistik
Text Domain: harders-logistik.de
Theme URI: http://www.harders-logistik.de
Version: 1.0
Description: Website Theme für Harders Logistik
Tags: Lebensmittel, Logistik, Spedition, Transport, Lagerung
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html 
Author: Reno Willhaus
Author URI: http://www.renowillhaus.de


*/

#crossdocking,
#direktverkehre {
  scroll-margin-top: 70px;
}

.show-contact-menu {
  right: 0;
  transition: all 0.3s ease-in;
}

/* Fade Out Scroll Up on Mobile */
.at-top .jump-top,
.at-bottom .jump-top {
  opacity: 0;
  pointer-events: none;
}

/* Button with effect */

.button_su {
  overflow: hidden;
  position: relative;
  display: inline-block;
  margin-bottom: 0px;
}

.su_button_circle {
  border-radius: 1000px;
  position: absolute;
  left: 0;
  top: 0;
  width: 0px;
  height: 0px;
  margin-left: 0px;
  margin-top: 0px;
  pointer-events: none;
  /*animation-timing-function: ease-in-out; */
}

.button_su_inner,
.button_su_inner_blue {
  display: inline-block;
  text-align: center;
  transition: 400ms;
  text-decoration: none;
  z-index: 80;
}

.button_text_container {
  position: relative;
  z-index: 80;
}

.explode-circle {
  animation: explode 1.2s forwards;
}

.desplode-circle {
  animation: desplode 1s forwards;
}

.explode-circle-blue {
  animation: explode_blue 1.2s forwards;
}

.desplode-circle-blue {
  animation: desplode_blue 1s forwards;
}

@keyframes explode {
  0% {
    width: 0px;
    height: 0px;
    margin-left: 0px;
    margin-top: 0px;
    background-color: rgba(0, 58, 112, 0.2);
  }
  100% {
    width: 800px;
    height: 800px;
    margin-left: -400px;
    margin-top: -400px;
    background-color: rgba(140, 226, 196, 0.8);
  }
}

@keyframes desplode {
  0% {
    width: 800px;
    height: 800px;
    margin-left: -400px;
    margin-top: -400px;
    background-color: rgba(140, 226, 196, 0.8);
  }
  100% {
    width: 0px;
    height: 0px;
    margin-left: 0px;
    margin-top: 0px;
    background-color: rgba(129, 80, 108, 0.6);
  }
}

@keyframes explode_blue {
  0% {
    width: 0px;
    height: 0px;
    margin-left: 0px;
    margin-top: 0px;
    background-color: rgba(0, 58, 112, 0.2);
  }
  100% {
    width: 800px;
    height: 800px;
    margin-left: -400px;
    margin-top: -400px;
    background-color: rgba(255, 255, 255, 0.8);
  }
}

@keyframes desplode_blue {
  0% {
    width: 800px;
    height: 800px;
    margin-left: -400px;
    margin-top: -400px;
    background-color: rgba(255, 255, 255, 0.8);
  }
  100% {
    width: 0px;
    height: 0px;
    margin-left: 0px;
    margin-top: 0px;
    background-color: rgba(129, 80, 108, 0.6);
  }
}

/* Parallax */
.parallax-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  top: 0%; /* eigentlich -20% Puffer oben */
  left: 0;
  width: 100%;
  height: 140%; /* eigentlich 140% mehr Höhe zum Bewegen */
  will-change: transform; /* Aktiviert GPU-Beschleunigung */
}

.show-mobile-menu {
  left: 0;
}

/* Animations */
.fadeInUp {
  opacity: 0;
}
.fadeInUpAni {
  animation: fadeInUp 1.5s ease backwards;
}
@keyframes fadeInUp {
  0% {
    transform: translate(0px, 40px);
    opacity: 0;
  }
  100% {
    transform: translate(0px, 0);
    opacity: 1;
  }
}

/* Animations */
.fadeInUp {
  opacity: 0;
}
.fadeInUpAni {
  animation: fadeInUp 1.5s ease backwards;
}
@keyframes fadeInUp {
  0% {
    transform: translate(0px, 40px);
    opacity: 0;
  }
  100% {
    transform: translate(0px, 0);
    opacity: 1;
  }
}

/* 404 Page */
/* 404 Page */
/* 404 Page */
/* 404 Page */
.loop-wrapper {
  margin: 0 auto;
  position: relative;
  display: block;
  width: 90dvw;
  height: 250px;
  overflow: hidden;
  border-bottom: 3px solid #fff;
  color: #fff;
}
.mountain {
  position: absolute;
  right: -900px;
  bottom: -20px;
  width: 2px;
  height: 2px;
  box-shadow:
    0 0 0 50px #a7bcd6,
    60px 50px 0 70px #a7bcd6,
    90px 90px 0 50px #a7bcd6,
    250px 250px 0 50px #a7bcd6,
    290px 320px 0 50px #a7bcd6,
    320px 400px 0 50px #a7bcd6;
  transform: rotate(130deg);
  animation: mtn 20s linear infinite;
}
.hill {
  position: absolute;
  right: -900px;
  bottom: -50px;
  width: 400px;
  border-radius: 50%;
  height: 20px;
  box-shadow:
    0 0 0 50px #a7bcd6,
    -20px 0 0 20px #a7bcd6,
    -90px 0 0 50px #a7bcd6,
    250px 0 0 50px #a7bcd6,
    290px 0 0 50px #a7bcd6,
    620px 0 0 50px #a7bcd6;
  animation: hill 4s 2s linear infinite;
}
.tree,
.tree:nth-child(2),
.tree:nth-child(3) {
  position: absolute;
  height: 100px;
  width: 35px;
  bottom: 0;
  background: url(/wp-content/themes/harders-logistik/assets/img/tree.svg)
    no-repeat;
}
.rock {
  margin-top: -17%;
  height: 2%;
  width: 2%;
  bottom: -2px;
  border-radius: 20px;
  position: absolute;
  background: var(--color-hl-lightgreen);
}
.truck,
.wheels {
  transition: all ease;
  width: 85px;
  margin-right: -60px;
  bottom: 0px;
  right: 50%;
  position: absolute;
  background: #eee;
}
.truck:after {
  content: url(/wp-content/themes/harders-logistik/assets/img/KE_HARDERS_Logo.svg);
  position: absolute;
  right: 40px;
  top: 12px;
  width: 34px;
}
.truck {
  background: url(/wp-content/themes/harders-logistik/assets/img/lkw.svg)
    no-repeat;
  background-size: contain;
  height: 60px;
}
.truck:before {
  content: " ";
  position: absolute;
  left: -4px;
  width: 25px;
  box-shadow:
    -30px 28px 0 1.5px #fff,
    -35px 18px 0 1.5px #fff;
}
.wheels {
  background: url(/wp-content/themes/harders-logistik/assets/img/wheels.svg)
    no-repeat;
  height: 15px;
  margin-bottom: 0;
}

.tree {
  animation: tree 3s 0s linear infinite;
}
.tree:nth-child(2) {
  animation: tree2 2s 0.15s linear infinite;
}
.tree:nth-child(3) {
  animation: tree3 8s 0.05s linear infinite;
}
.rock {
  animation: rock 4s -0.53s linear infinite;
}
.truck {
  animation: truck 4s 0.08s ease infinite;
}
.wheels {
  animation: truck 4s 0.001s ease infinite;
}
.truck:before {
  animation: wind 1.5s 0s ease infinite;
}

@keyframes tree {
  0% {
    transform: translate(1350px);
  }
  50% {
  }
  100% {
    transform: translate(-50px);
  }
}
@keyframes tree2 {
  0% {
    transform: translate(650px);
  }
  50% {
  }
  100% {
    transform: translate(-50px);
  }
}
@keyframes tree3 {
  0% {
    transform: translate(2750px);
  }
  50% {
  }
  100% {
    transform: translate(-50px);
  }
}

@keyframes rock {
  0% {
    right: -200px;
  }
  100% {
    right: 2000px;
  }
}
@keyframes truck {
  0% {
  }
  6% {
    transform: translateY(0px);
  }
  7% {
    transform: translateY(-6px);
  }
  9% {
    transform: translateY(0px);
  }
  10% {
    transform: translateY(-1px);
  }
  11% {
    transform: translateY(0px);
  }
  100% {
  }
}
@keyframes wind {
  0% {
  }
  50% {
    transform: translateY(3px);
  }
  100% {
  }
}
@keyframes mtn {
  100% {
    transform: translateX(-2000px) rotate(130deg);
  }
}
@keyframes hill {
  100% {
    transform: translateX(-2000px);
  }
}
