/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
@import url("https://fonts.googleapis.com/css2?family=Archivo+Narrow:wght@400;700&display=swap");
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:after,
blockquote:before {
  content: "";
  content: none;
}

q:after,
q:before {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

#textblock_1 img {
  height: 100%;
  width: auto;
  object-fit: cover;
}

:root {
  --main-color: hsl(108, 52%, 45%);
  --background-light: hsl(108, 52%, 95%);
  --background-dark: hsl(108, 52%, 5%);
  --text-color-light: hsl(108, 52%, 95%);
  --text-color-dark: hsl(108, 52%, 5%);
  --border-radius: 2px;
  --space-xs: 5px;
  --space-sm: 10px;
  --space-md: 20px;
  --space-lg: 30px;
  --container-width: 1200px;
  --hl-font: "Archivo Narrow", sans-serif;
  --h2-font: "Tex Gyre Adventor Bold", sans-serif;
  --text-font: "Arial Narrow", "Arial", sans-serif;
  --h1-font-size: 40px;
  --h2-font-size: 26px;
  --h3-font-size: 24px;
  --text-font-size: 18px;
}
.social-media-links {
  position: relative;
}
.social-media-links img {
  height: 76px;
  position: absolute;
  bottom: -10px;
}

.teaser-video {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.cookie-msg {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: var(--background-dark);
  color: var(--text-color-light);
  transition: transform 0.5s cubic-bezier(0.99, -0.62, 0.33, 0.63);
  box-shadow: 0px 20px 0px 0px var(--background-dark);
}
.cookie-msg .container {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  align-items: center;
  padding: var(--space-md) var(--space-sm);
}
#teaser-video-headline {
  text-align: center;
  margin-top: 50px;
  font-family: var(--hl-font);
  font-weight: 700;
  font-size: var(--h1-font-size);
}
#teaser-video-headline span {
  color: var(--main-color);
}
.cookie-msg {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px;
  display: none; /* Standardmäßig ausgeblendet */
  justify-content: center;
  z-index: 1000;
}

.cookie-msg.active {
  display: flex; /* Das Banner wird sichtbar, wenn die Klasse 'active' hinzugefügt wird */
}

.cookie-msg p {
  margin: 0;
  font-size: 14px;
  color: white;
}

.cookie-msg a {
  color: white;
  font-size: 14px;
  font-family: "PT Sans Narrow", sans-serif;
  text-decoration: underline;
}

.cookie-msg .accept-cookies,
.cookie-msg .decline-cookies {
  cursor: pointer;
  border: none;
  width: 150px;
  margin-bottom: 5px;
  margin-left: 20px;
  padding: 5px 10px;
  border-radius: var(--border-radius);
}

.cookie-settings-toggle {
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  border-top-right-radius: 10px;
  border: none;
}

.cookie-settings-toggle button {
  color: white;
  background: none;
  padding: 5px 10px;
  cursor: pointer;
}

/* Wenn das Cookie-Banner sichtbar ist, blende den Toggle-Button aus */
.cookie-msg.active + .cookie-settings-toggle {
  display: none;
}

.cookie-settings-toggle button {
  display: none; /* Standardmäßig ausgeblendet */
  border: none;
}

.cookie-msg.active + .cookie-settings-toggle button {
  display: none; /* Wenn das Banner angezeigt wird, Button ausblenden */
}

.cookie-msg:not(.active) + .cookie-settings-toggle button {
  display: block; /* Wenn das Banner nicht angezeigt wird, Button anzeigen */
}

.text.second span {
  color: var(--main-color);
}

/* Styling für responsive Buttons */
@media (max-width: 576px) {
  .cookie-msg .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cookie-msg button {
    margin-bottom: 10px;
  }
  .cookie-msg .accept-cookies,
  .cookie-msg .decline-cookies {
    cursor: pointer;
    border: none;
    width: 150px;
    margin-top: 10px;
    margin-left: 0;
    padding: 5px 10px;
    border-radius: var(--border-radius);
  }
  .links a {
    font-size: 0.9em;
  }
  .adresse p {
    font-size: 1em;
  }
  h2 {
    font-size: 1.4em !important;
  }
  .cta-bar a {
    font-size: 0.9em;
  }
  .cookie-msg {
    padding: 10px 0px;
  }
  .intro-text a {
    word-break: break-all;
  }
  .hero h1 {
    font-size: 3em !important;
  }
  .container.container-logo {
    padding: 0;
  }
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
@media screen and (max-width: 576px) {
  .container {
    padding: 0 var(--space-sm);
  }
  .cookie-msg .accept-cookies {
    margin-right: 0;
  }
}
@media screen and (min-width: 1200px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

.container-fluid {
  padding: 0 var(--space-md);
}
@media screen and (max-width: 576px) {
  .container-fluid {
    padding: 0 var(--space-sm);
  }
}
@media screen and (min-width: 1200px) {
  .container-fluid {
    padding: 0 var(--space-lg);
  }
}

.split {
  display: flex;
  justify-content: space-between;
}
.split > div {
  width: 49.9%;
  margin: 0 20px;
}
@media screen and (max-width: 822.86px) {
  .split > div {
    margin: 0;
  }
  #textblock_1 {
    margin-bottom: 60px;
  }
  .text.second > .split {
    flex-direction: column-reverse;
  }
}
@media screen and (max-width: 822.86px) {
  .split {
    flex-direction: column;
  }
  .split > div {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .hide-mobile {
    display: none;
  }
  .text.second > .split {
    flex-direction: column-reverse;
  }
}

p {
  font-family: var(--text-font);
  font-size: var(--text-font-size);
  line-height: 140%;
  color: var(--text-color-dark);
}
p span.bold {
  font-weight: 700;
}

a {
  font-family: var(--text-font);
  color: var(--text-color-dark);
  font-size: var(--text-font-size);
  text-decoration: none;
}

h1 {
  font-weight: 700;
  font-family: var(--hl-font);
  text-transform: uppercase;
  font-size: var(--h1-font-size);
  word-wrap: break-word;
}

h2 {
  font-family: var(--h2-font);
  font-size: var(--h2-font-size);
  text-transform: uppercase;
}

h3 {
  font-family: var(--hl-font);
  font-size: var(--h3-font-size);
}

.inline-green {
  color: var(--main-color);
}

.inline-white {
  color: var(--text-color-light);
}

.inline-black {
  color: var(--text-color-dark);
}

.flips {
  display: flex;
  flex-direction: column;
}

.flips-container {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
}
.flips-container:last-child {
  margin-bottom: 20px;
}
@media only screen and (max-width: 822.86px) {
  .flips-container {
    flex-direction: column;
  }
}

.flip {
  width: calc((100% - 40px) / 3);
  margin-right: 20px;
  background-color: red;
  padding: 50px 40px;
  background-color: var(--main-color);
  outline: 4px solid var(--text-color-light);
  outline-offset: -20px;
  border-radius: 2px;
}
@media only screen and (max-width: 822.86px) {
  .flip {
    width: calc(100% - 80px);
    margin-bottom: 20px;
  }
}
.flip p {
  font-size: 20px;
  font-family: "Roboto", sans-serif;
  font-weight: light;
}
.flip p.hl {
  color: white;
  font-weight: bold;
  font-size: 150%;
  text-align: center;
}
.flip p.sl {
  text-align: center;
  margin-top: 10px;
  text-transform: none;
  color: var(--text-color-dark);
  font-size: 100%;
}
.flip:last-child {
  margin-right: 0;
}

.flip-big {
  box-sizing: border-box;
  width: 100%;
  width: auto;
}

@media only screen and (max-width: 822.86px) {
  .flip-big {
    margin-top: -20px;
  }
}

.flip-big2 {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.flip-big2 div {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media only screen and (max-width: 890px) {
  .flip-big2 div {
    flex-direction: column;
    align-items: center;
  }
}

.flip-big2 p {
  font-size: 150%;
}

.custom-header-hero {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: calc(100vh - 598px);
  min-height: 650px;
  background: white;
}

.mySlides {
  opacity: 0;
  background: no-repeat center center;
  background-size: cover;
  position: absolute;
  width: 100%;
  height: 100%;
}

.slideIn {
  animation: slideIn 0.4s forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
  to {
    transform: translateX(0px);
    opacity: 1;
  }
}

.slideOut {
  animation: slideOut 0.4s forwards;
}

@keyframes slideOut {
  from {
    transform: translateX(0px);
    opacity: 1;
  }
  to {
    transform: translateX(-20px);
    opacity: 0;
  }
}

.controls {
  z-index: 99;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.navigate {
  cursor: pointer;
  font-family: sans-serif;
  padding: 5px 16px;
  color: white !important;
  font-weight: bold;
  font-size: 70px !important;
  transition: 0.2s ease;
  z-index: 999;
  user-select: none;
  text-shadow: 1px 2px 30px rgba(0, 0, 0, 0.8),
    0px 0px 2px rgba(255, 255, 255, 0.8);
}
.navigate:hover {
  color: white !important;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
  transform: scale(1.1);
}
.navigate:active {
  color: var(--main-color) !important;
  transform: scale(0.9);
}

.mySlides:nth-child(1) {
  background-image: url("../img/galery/galery-1.jpg");
}

.mySlides:nth-child(2) {
  background-image: url("../img/galery/galery-2.jpg");
}

.mySlides:nth-child(3) {
  background-image: url("../img/galery/galery-3.jpg");
}

.mySlides:nth-child(4) {
  background-image: url("../img/galery/galery-4.jpg");
}

.mySlides:nth-child(5) {
  background-image: url("../img/galery/galery-5.jpg");
}

.mySlides:nth-child(6) {
  background-image: url("../img/galery/galery-6.jpg");
}

.mySlides:nth-child(7) {
  background-image: url("../img/galery/galery-7.jpg");
}

.mySlides:nth-child(8) {
  background-image: url("../img/galery/galery-8.jpg");
}

.mySlides:nth-child(9) {
  background-image: url("../img/galery/galery-9.jpg");
}

.mySlides:nth-child(10) {
  background-image: url("../img/galery/galery-10.jpg");
}

.mySlides:nth-child(11) {
  background-image: url("../img/galery/galery-11.jpg");
}

.mySlides:nth-child(12) {
  background-image: url("../img/galery/galery-12.jpg");
}

.mySlides:nth-child(13) {
  background-image: url("../img/galery/galery-13.jpg");
}

.mySlides:nth-child(14) {
  background-image: url("../img/galery/galery-14.jpg");
}

.mySlides:nth-child(15) {
  background-image: url("../img/galery/galery-15.jpg");
}

.mySlides:nth-child(16) {
  background-image: url("../img/galery/galery-16.jpg");
}

.mySlides:nth-child(17) {
  background-image: url("../img/galery/galery-17.jpg");
}

.mySlides:nth-child(18) {
  background-image: url("../img/galery/galery-18.jpg");
}

.mySlides:nth-child(19) {
  background-image: url("../img/galery/galery-19.jpg");
}

.mySlides:nth-child(20) {
  background-image: url("../img/galery/galery-20.jpg");
}

.mySlides:nth-child(21) {
  background-image: url("../img/galery/galery-21.jpg");
}

.mySlides:nth-child(22) {
  background-image: url("../img/galery/galery-22.jpg");
}

.mySlides:nth-child(23) {
  background-image: url("../img/galery/galery-23.jpg");
}

.mySlides:nth-child(24) {
  background-image: url("../img/galery/galery-24.jpg");
}

.mySlides:nth-child(25) {
  background-image: url("../img/galery/galery-25.jpg");
}

.mySlides:nth-child(26) {
  background-image: url("../img/galery/galery-26.jpg");
}

.mySlides:nth-child(27) {
  background-image: url("../img/galery/galery-27.jpg");
}

.mySlides:nth-child(28) {
  background-image: url("../img/galery/galery-28.jpg");
}

.mySlides:nth-child(29) {
  background-image: url("../img/galery/galery-29.jpg");
}

.mySlides:nth-child(30) {
  background-image: url("../img/galery/galery-30.jpg");
}

.mySlides:nth-child(31) {
  background-image: url("../img/galery/galery-31.jpg");
}

.mySlides:nth-child(32) {
  background-image: url("../img/galery/galery-32.jpg");
}

.mySlides:nth-child(33) {
  background-image: url("../img/galery/galery-33.jpg");
}

.mySlides:nth-child(34) {
  background-image: url("../img/galery/galery-34.jpg");
}

.mySlides:nth-child(35) {
  background-image: url("../img/galery/galery-35.jpg");
}
.mySlides:nth-child(36) {
  background-image: url("../img/galery/galery-36.jpg");
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
}

section.cta-bar {
  background-color: var(--main-color);
  padding: var(--space-sm) 0;
}
section.cta-bar .container {
  display: flex;
  justify-content: flex-end;
}
section.cta-bar p {
  font-size: 140%;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
}

section.hero {
  background-image: url("../img/header.jpg");
  background-size: cover;
  background-position: center;
  padding: 50px 0 0 0;
}
section.hero .container-hero-text {
  min-height: 35vh;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
section.hero .container-hero-text img {
  width: 30vw;
  max-width: 500px;
  min-width: 300px;
  -webkit-filter: drop-shadow(3px 3px 15px rgba(255, 255, 255, 0.95));
  filter: drop-shadow(3px 3px 15px rgba(255, 255, 255, 0.95));
}
section.hero .container-logo {
  display: flex;
  justify-content: center;
}
section.hero .container-logo img {
  width: 80%;
  height: 200px;
  max-width: 400px;
}

.transporter img {
  width: 55%;
  margin-top: -230px;
}

section.intro {
  margin: 50px 0;
}
section.intro .split-img {
  flex-direction: column;
}
@media screen and (max-width: 822.86px) {
  section.intro .intro-imgs {
    margin-top: 30px;
  }
}

.intro-imgs img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 822.86px) {
  .intro-imgs {
    width: 100%;
    margin-top: 30px;
  }
}

section.cta-bar-middle {
  padding: var(--space-lg) 0;
  background-color: var(--background-dark);
  display: flex;
  align-items: center;
  flex-direction: column;
}
section.cta-bar-middle h1,
section.cta-bar-middle h2 {
  text-align: center;
}

section.contact {
  padding: 100px 0;
  background-image: url("../img/contact-bg.svg");
  background-position: -270px top;
  background-size: 100vw;
  background-repeat: no-repeat;
}
section.contact .split {
  min-height: 500px;
}
section.contact .split div.contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
section.contact p {
  font-size: 150%;
}
section.contact .social i {
  font-size: 300%;
}

section.footer {
  background-color: var(--main-color);
  color: var(--textColor);
  padding: var(--space-lg) 0;
}
section.footer p {
  text-align: center;
}
section.footer .boxed div {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
section.footer a {
  color: var(--textColor);
  text-transform: uppercase;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  text-decoration: none;
}
section.footer a:hover {
  color: var(--textColor);
}

/*# sourceMappingURL=main.css.map */

.text {
  margin: 100px 0;
}
.text.second .intro-imgs {
  overflow: hidden;
  max-height: 720px;
}

.gap {
  gap: 0;
}

@media screen and (max-width: 822.86px) {
  .text {
    margin: 0;
  }

  .gap {
    gap: 50px;
  }
}

.link {
  font-size: 1.5rem;
}

.link:hover {
  color: hsl(108, 52%, 45%);
}

/* == ZUSATZLEISTUNGEN BOX == */

.box {
  padding: 50px 40px;
  max-width: 1120px;
  background-color: var(--main-color);
  outline: 4px solid var(--text-color-light);
  outline-offset: -20px;
  border-radius: 2px;
  font-family: "Roboto", sans-serif;
  margin: 20px auto 0 auto;
}

.title {
  color: white;
  font-weight: bold;
  font-size: 150%;
  text-align: center;
  margin-bottom: 1rem;
  font-family: "Roboto", sans-serif;
}

.points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1.25rem;
}

.point {
  flex: 1 1 calc(22.5% - 10px);
  padding: 10px;
  text-align: center;
}

.second-row {
  flex: 1 1 calc(22.5% - 10px);
}

@media screen and (max-width: 1200px) {
  .box {
    margin: 20px 20px 0 20px;
  }
}

@media (max-width: 850px) /* Sind 768px */ {
  .point {
    flex: 1 1 100%;
  }
}

@media (max-width: 822.86px) {
  .box {
    margin: 20px 20px 50px 20px;
  }
}

@media screen and (max-width: 576px) {
  .box {
    margin: 20px 10px 50px 10px;
  }
  .contact.contact-right {
    margin-top: 50px;
  }
  .contact.contact-right h1 {
    margin-bottom: 30px;
  }
  .social {
    margin-top: 30px;
  }
  .ti-widget {
    width: 100% !important;
  }
  #textblock_1 img {
    max-height: 800px;
  }
  .container.split.bewertungen {
    justify-content: center;
    display: flex;
  }
  .container.split.bewertungen > .ti-widget {
    margin: auto;
  }
}

.bewertungen {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.contact.contact-right h1 {
  margin-bottom: 30px;
}
.ti-widget {
  width: 80% !important;
}

/* ---- Animationen ---- */ /* Container */

/* Container LKW */
#lkw-animation {
  position: relative;
  width: 70vw;
  max-width: 700px;
  aspect-ratio: 3 / 1; /* passend zum LKW-Bild */
  overflow: visible;
}

.lkw-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  animation: drive 3s ease-in-out forwards;
}

.karosserie {
  position: relative;
  width: 100%;
  height: 100%;
  animation: bounce 0.4s ease-in-out infinite alternate;
}

.karosserie img:first-child {
  width: 100%;
  height: auto;
  display: block;
  bottom: 0px;
  left: 0;
  position: absolute;
  z-index: 10;
}

.raeder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.rad {
  position: absolute;
  width: 12%; /* Gleiche Größe für beide Räder */
  height: auto; /* Höhe passt sich der Breite an */
  transform-origin: center center;
  animation: spin 0.8s linear infinite;
}

.raeder img:first-child {
  bottom: 3%;
  left: 76.3%;
  position: absolute;
  z-index: 5;
}

.raeder img:last-child {
  bottom: 2%;
  left: 21%;
  z-index: 5;
}

.vorne,
.hinten {
  width: 12% !important; /* Erzwingt gleiche Größe für beide Räder */
  height: auto;
}

@media screen and (max-width: 1050px) {
  .cta-bar .container .hide-mobile span {
    display: block;
  }
}

@keyframes drive {
  0% {
    transform: translateX(-180%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(0.5px);
  }
}

#animation-area {
  margin-top: -100px;
}

.karosserie::after {
  content: "";
  width: 90%;
  height: 42px;
  background: transparent;
  position: absolute;
  left: 0;
  bottom: 70px;
  border-radius: 100%;
  box-shadow: 60px 84px 18px #0c0c0c;
}

@media screen and (max-width: 880px) {
  #animation-area {
    margin-top: 0px;
  }
}

/* Animation - Reinschwebende Elemente */

/* ==========================
   SCROLL-ANIMATIONEN
========================== */

/* Ausgangszustand: unsichtbar und leicht verschoben */
.scroll-fade-in {
  opacity: 0;
  transform: translateX(50px);
  transition: all 2s ease-out;
}

.scroll-fade-in.from-left {
  transform: translateX(-50px);
}

/* Wenn sichtbar */
.scroll-fade-in.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-fade-in:nth-child(2) {
  transition-delay: 0.2s;
}
.scroll-fade-in:nth-child(3) {
  transition-delay: 0.4s;
}

.contact.contact-left > a {
  display: none !important;
}
