/* Mobile */
@media screen and (max-width: 961px) {
  :root {
    --font-size-h1: 18px;
    --font-size-h2: 16px;
    --font-size-h3: 15px;
    --font-size-h4: 15px;
    --font-size-p:  2vh;
  }
  ul {
    list-style-position: outside;
    padding-left: 0;
  }
  ul li {
    font-size: 1.1em;
    list-style-position: outside;
  }
}

/* Tablet */
@media screen and (min-width: 962px) and (max-width: 1280px) {
  :root {
    --font-size-h1: 3.5vw;
    --font-size-h2: 2.8vw;
    --font-size-h3: 2.3vw;
    --font-size-h4: 2.3vw;
    --font-size-p:  2.2vw;
  }
  ul li {
    font-size: 1.5em;
  }
}

/* Desktop */
@media screen and (min-width: 1281px) {
  :root {
    --font-size-h1: 2.7em;
    --font-size-h2: 2.3em;
    --font-size-h3: 1.8em;
    --font-size-h4: 1.8em;
    --font-size-p:  2em;
  }
  ul li {
    font-size: 2em;
    padding-left: 0;
  }
}

/* Einsatz Variablen */
h1 {
  font-size: var(--font-size-h1);
  text-align: center;
}

h2 {
  font-size: var(--font-size-h2);
  text-align: center;
}

h3 {
  font-size: var(--font-size-h3);
  text-align: center;
}

p {
  font-size: var(--font-size-p);
}

html {
  scroll-behavior: smooth;
}
/* Allgemeines Styling */
body {
  margin: 0;
  padding: 0;
  color: #fff;
  letter-spacing: .3px;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.3;
}


/* Navbar */
.navibar {
  z-index: 10;
  max-width: 1180px;
  width: 90%;
  justify-content: space-between;
  align-items: center;
  padding:15px;
  display: flex;
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 10px;
  border: solid #fff 2px;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  font-size: 20px;
}

.navibar-logo img {
  margin-top: 10px;
  margin-left: 10px;
  max-width: 190px;
  max-height: 100px;
}

.navi-mobile {
  display: none;
}

.navi-mobile .bar {
  height: 3px;
  width: 25px;
  background-color: #fff;
  margin: 2px auto;
}

.navibar-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navibar-item {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.navibar-item:hover {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #87f7f1;
}
/* Navbar-Mobile */
@media screen and (max-width: 961px) {
  .navibar {
    top: 1vh;
    justify-content: space-between;
    width: 80%;
    border: none;
    /* border-bottom: 1px solid #fff; */
    border-radius: 0px;
    background: none;
    box-shadow: none;
    z-index: 1;
    padding-left: 0;
  }


  .navibar-menu {
    display: none;
  }

  .navi-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    right: 10px;
    z-index: 10;

  }

  .navi-mobile .bar {
    height: 3px;
    width: 20px;
    background-color: #fff;
    margin: 2px auto;
    margin-right: 10px;
    justify-items: left;

  }

  .navibar-menu.active {
    display: flex;
    flex-direction: column;
    top: 5%;
    box-shadow: none !important;
    position: absolute;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 10px;
    padding-top: 3rem;
    border: 1px solid #fff;
    backdrop-filter: blur(20px);
    justify-items: right;
    padding-right: 40px;
  }

  .navibar::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    border-bottom: 1px solid #fff;
    z-index: 10;
  }
  .navibar-menu.active .navibar-item {
    margin: 8px 0;
    text-align: center;
  }

  .navibar-logo img {
    position: relative;
    margin-top: 10px;
    margin-left: 10px;
    max-width: 40%; /* Das Logo wird die volle Breite des verfügbaren Platzes einnehmen */
    max-height: 50px; /* Eine maximale Höhe für das Logo setzen */
    z-index: 10;
  }
  .navibar-item {
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
  }
  .navibar-item:hover {
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 500;
    color: #87f7f1;
  }
}
/* Navbar Ende */

.page-wrapper {
  background-image: linear-gradient(180deg, #4c6ca2, #001437);
  color: #fff;
  overflow: hidden;
}

.page-wrapper .page-padding{
  padding-top: 32px;
  padding-right: 40px;
  padding-bottom: 32px;
  padding-left: 10vw;
}

/* Sections */
section {
  min-height: 100vh;
  position: relative;
  padding-top: 10%;
  padding-bottom: 10%;
  max-width: 85%;
}

section p {
  text-align: justify;
  margin-bottom: 5%;
}

section#Top {
  padding-top: 10%;
  display: flex;
  flex-direction: column;
  height: 80vh;
  }
  section#Top h1,
  section#Top h2,
  section#Top h3,
  section#Top h4 {
    text-align: left;
    margin-top: 2.5em;
  }
  section#Warum h1:nth-of-type(even){
    text-align: left;
  }
  section#PaketA {
    padding-top:20%;
  }
 
  section#Lösung {
    padding-bottom:50px;
  }

  /* Media */
@media screen and (max-width: 961px) {
  section {
    min-height: 80vh;
    padding-top: 20%;
    max-width: 90%;
  }
  section#Top {
    padding-top: 30px;
  }
  section#Top h3:last-child{
    margin-bottom:5%;
  }

  .page-wrapper .page-padding{
    padding-top: 32px;
    padding-right: 0;
    padding-bottom: 20px;
    padding-left: 10vw;
  }
}



  .Zoom {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    width: 60%;
    height: auto;
    overflow: hidden;
    cursor: pointer;
    margin: 0 auto; /* Fügt horizontalen Abstand hinzu und zentriert den Container */
  }
.Zoom img {

  width: 100%;
  height:100%;
  object-fit: contain;
  transition: transform 0.5s;
  object-position: center;
}
.zoomed {
  transform: scale(2);
}


  .flex-container {
    display: flex;
    align-items: center;
    text-align: left;
    flex-direction: column;
  }

  .flex-item {
    display: flex;
    align-items: right;
  }

  #intro-car {
    margin-right: -30vw;
    max-width: 100%;
    border-radius: 0 0 0 70%;
    margin-top: 10px;
  }

  #p1 {
    max-width: 100%;

  }


#Warum a{
  text-decoration: none;
  color: #4c6ca2;
}

  .info {
    margin-top: 10em;
    order: 1;
    align-self: flex-end;
  }

  .logo-container {
    order: 2;
    align-self: flex-end;
  }


.logo {
  max-width: 300px;
  max-height: 200px;
  align-items: right;
}

@media screen and (max-width: 961px) {
  .logo {
    max-width: 150px;
    max-height: 100px;
  }
  .logo-container {
    order: 2;
    align-self: center;
  }
  .info h4 {
    font-size: 16px;
  }
}

section #span {
  color: cornflowerblue;
}

/* Überschrift */
section h1 {
  color: #87f7f1;
}

/* Styling Listen */
ul {
  list-style: none;
}

li #span {
  color: #87f7f1;
}

ul li{
  margin-bottom: 0.5em;
  padding-left: -5em;

}

ul li::before {
  content: "\2714";
  color: #87f7f1;
  font-weight: bold;
  width: 2em;
  display: inline-block;
}



/* Styling "Boxen" */
.box-container {
  display: flex;
  justify-content: center;
}

#box-r, #box-l {
  background-color: rgba(51, 162, 236, 0.5);
  border-radius: 10px;
  width: 45%;
  margin: 10px;
  padding: 10px;
}

@media screen and (max-width: 961px) {
  .box-container {
    flex-direction: column;
    align-items: center;
  }

  #box-r, #box-l {
    width: 80%;
    margin: 10px 0;
  }
}

/* Footer */
footer {
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Mobile: Elemente untereinander anordnen */
  text-align: center; /* Text zentrieren */
}

.footerlogo {
  max-width: 100%; /* Auf volle Breite setzen */
  max-height: 50px;
  object-fit: scale-down;
  margin-bottom: 10px; /* Abstand zwischen Logo und Email hinzufügen */
}

.email {
  margin-bottom: 10px; /* Abstand zwischen Email und Links hinzufügen */
}

.footer-links {
  display: flex;
  justify-content: space-around;
  width: 100%;
}
.footer-links a{
  margin: 0 16px 5vh;
}

.footer-container {
  position: relative;
  margin-top: 5%;
}

.sektion-footer {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  font-size: 2vw;
  margin-bottom: 2vw;
  margin-top: 2vh;
}

@media screen and (max-width: 961px) {
  .sektion-footer {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3vw;
    margin-bottom: 5vh;
  }
}

.sektion-footer h4 {
  text-align: right;
}

.logo-container {
  order: 2;
}
.footer-container {
  margin-top: 20px; /* Ändere den Wert nach Bedarf */
  margin-bottom:2vh;
}





.product {
  display: flex;
  margin: 20px 0;
}

.product-image img {
  /* max-width: 100%; */
  height: auto;
  object-fit: contain;
  max-height: 80%;
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex; /* Füge Flexbox hinzu */
  flex-direction: column; /* Setze die Flexbox-Richtung auf Spalten */
}

.product-info h2 {
  color: #87f7f1;
  margin-bottom: 10px; /* Füge etwas Abstand zwischen Überschrift und Text hinzu */
}

@media screen and (max-width: 961px) {
  .product {
    flex-direction: column; /* Ändere die Richtung der Flexbox auf Spalten */
    align-items: center; /* Zentriere die Elemente horizontal */
  }

  .product-image {
    order: -1; /* Ändere die Reihenfolge, so dass das Bild über dem Text angezeigt wird */
  }

  .product-image img {
    max-width: 100%;
    height: auto;
  }
}
.product:nth-child(odd) .product-info {
  background-color: rgba(2, 68, 250, 0.5);
}

.product:nth-child(even) .product-info {
  background-color: rgba(94, 132, 236, 0.5);
}

.accordion-button {
  font-size: 2vh;
}
