.hero-content {
    margin-top: 100px;
    max-width: 72vw;
    margin: 0 auto;
    margin-top: 200px;
}
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    height: calc(80vh - 200px);
    min-height: 400px;
}
.content-grid h1 {
    color: var(--main-light);
    font-size: 3rem;
    font-weight: 400;
    text-transform: uppercase;
    z-index: 2;
    position: relative;
    pointer-events: none;
}
.content-grid h1 span {
    font-weight: 700;
}
.titlestuff{
  display: flex;
  z-index: 2;
}
.content-grid #aktion {
  width: 150px;
  height: 150px;
  display: block;
  z-index: 2;
  text-align: center;
  background: var(--main-color);
  border-radius: 100%;
  display: flex;
  place-items: center;
  flex-direction: column;
  justify-content: center;
  transform: translate(25%, -10px);
  cursor: pointer;
  transition: scale 0.2s ease-in-out;
}
#aktion:hover{
  scale: 1.1;
}
#aktion p{
  color: white;
  font-family: "Poppins";
  font-size: 0.8rem;

}
#aktion p:first-child{
  font-weight: bold;
  font-size: 1rem;
}
.hero-buttons{
  z-index: 2;
}
.hero-buttons button {
    display: block;
    padding: 10px 15px;
    background: transparent;
    border: 3px solid var(--main-color);
    border-radius: 5px;
    color: var(--main-color);
    font-weight: 900;
    text-transform: uppercase;
    margin: 10px 0;
    transition: all 0.3s;
}
.hero-buttons button:hover{
    cursor: pointer;
    background-color: var(--main-color);
    color: var(--main-light);
}
.hero-image img {
    max-width: 15rem;
    transform: translateY(-5vh);
}
.usps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    max-width: 72vw;
    margin: 0 auto;
    justify-items: center;
}
.usp {
    text-align: center;
    margin-top: 100px;
}
.usp i {
    font-size: calc(3 * 16px);
    text-align: center;
    color: var(--main-color);
    border: 5px solid var(--main-color);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    line-height: 95px;
    transition: all 0.3s;
}
.usp:hover i{
    color: var(--main-light);
    background-color: var(--main-color);
}

.usp h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 900;
    margin: 20px 0;
    padding: 0 20px;
    min-height: 2.75rem;
}
.usp p{
    font-size: 0.9rem;
    color: var(--main-dark);
    padding: 0 15px;
}
.counter h2 {
    font-size: 2.5rem;
}
.counter p{
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: -15px;
}
section.infovideo {
    width: 72vw;
    max-width: 1000px;
    padding: 20px;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 30%);
    margin: 0 auto;
    border-radius: 5px;
    margin-top: 100px;
}
/*vimeo player */
.hero{
    z-index: 0;
}
.vimeo-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    pointer-events: none;
    overflow: hidden;
    

 }
 .vimeo-wrapper iframe {
    width: 100vw;
    height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
    min-height: 80vh;
    min-width: 177.77vh;  /*Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
 }

 /*Gallery*/
 .gallery{
   margin: 100px 0;
 }
 .gallery-image {
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .gallery-image img {
    object-fit: cover;
    height: 250px;
    width: 100%;
    transform: scale(1.0);
    transition: transform 0.4s ease;
  }
  
  .img-box {
    box-sizing: content-box;
    margin: 0px;
    height: 250px;
    width: 25%;
    overflow: hidden;
    display: inline-block;
    color: var(--main-light);
    position: relative;
    background-color: var(--main-light);
  }
  
  .caption {
    position: absolute;
    bottom: 5px;
    left: 20px;
    opacity: 0.0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .transparent-box {
    height: 250px;
    width: 100%;
    background-color:rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease;
  }
  
  .img-box:hover img { 
    transform: scale(1.1);
  }
  
  .img-box:hover .transparent-box {
    background-color:rgba(255, 184, 41, 0.5);
  }
  
  .img-box:hover {
    cursor: pointer;
  }
  .opacity-low {
    opacity: 0.5;
  }
  /*Ablauf*/

  .ablauftitel{
    font-size: 5rem;
    font-family: "Pacifico";
    text-align: center;
    margin-bottom: 60px;
    font-weight: unset;
  }
  .ablauf{
    display: grid;
    grid-template-columns: [start] 1fr [left] 1fr [right] 1fr [end];
    grid-template-areas: 
    "bild1 text1 text1"
    "text2 text2 bild2"
    "bild3 text3 text3"
    "text4 text4 bild4"
    ;
    gap: 100px;
    width: 700px;
    max-width: 90vw;
    margin: 0 auto;

  }
  .ablauf h2, h3{
    text-transform: uppercase;
  }
  .ablauf h2{
    font-weight: 400;
    font-size: 2rem;
  }
  .ablauf h3{
    font-weight: 300;
    font-size: 1.5rem;
  }
  .bild img{
    width: 100%;
  }
  .text{
    position: relative;
    padding-left: 1rem;
    margin-left: 3rem;
  }
  .text1{
    grid-area: text1;
  }
  .text1::before{
    content: "1";
  }
  .text2::before{
    content: "2";
  }
  .text3::before{
    content: "3";
  }
  .text4::before{
    content: "4";
  }
  .text::before{
    position: absolute;
    transform: translateX(-2rem);
    font-size: 5rem;
    color: var(--dark-orange);
    font-family: 'Pacifico';
    top: -4rem;
    left: -1rem;
  }
  .text2{
    grid-area: text2;
  }
  .text3{
    grid-area: text3;
  }
  .text4{
    grid-area: text4;
  }
  .bild1{
    grid-area: bild1;
  }
  .bild2{
    grid-area: bild2;
  }
  .bild3{
    grid-area: bild3;
  }
  .bild4{
    grid-area: bild4;
  }
  .text2, .text4{
    grid-column-start: start;
    grid-column-end: right;
  }
  .cta{
    display: flex;
    justify-content: center;
    padding-bottom: 80px;
  }
  .cta button {
    font-size: 2rem;
    font-family: "Lato";
    text-transform: uppercase;
    padding: 20px 50px;
    border-radius: calc(2rem + 20px);
    margin: 40px;
    background: var(--main-light);
    border: 4px solid var(--main-color);
    font-weight: bold;
    color: var(--main-color);
    transition: all 0.3s;
}
.cta button:hover{
  color: var(--main-light);
  background-color: var(--main-color);
  cursor: pointer;
}
.wof{
  text-align: center;
  font-size: 3rem;
  font-family: "Pacifico";
  font-weight: unset;
}
.logogrid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: calc(100% - 60px);
  margin: 0 auto;
  gap: 30px;
  justify-items: space-between;
  margin-top: 50px;
  padding-bottom: 100px;
  
}
.logogrid img {
  width: 200px;
  max-width: 100%;
  filter: saturate(0) contrast(1.2);
  transition: all .3s;
  overflow: hidden;
  border-radius: 10px;
}
.logogrid img:hover {
  filter: saturate(1) contrast(1);
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 30%);
}

@media only screen and (max-width: 1000px) {
    .usps{
      grid-template-columns: 1fr 1fr;
    }
    .content-grid h1 {
      color: var(--main-light);
      font-size: 2rem;
      font-weight: 400;
      text-transform: uppercase;
      z-index: 2;
  
}
@media only screen and (max-width: 768px) {
    .usps{
      grid-template-columns: auto;
    }
    .clients{
      display: none;
    }
    .ablauf{
display: block;
    }
    .ablauf div{
      margin-bottom: 40px;
    }
    .bild img {
      width: 50%;
      display: block;
      margin: 0 auto;
  }
  .ablauftitel{
    font-size: 3rem;
  }
}
}
