@font-face {
    font-family: "rubik-mediumitalic";
    src: url("fonts/Rubik-MediumItalic.woff2") format('woff2'),
         url("fonts/Rubik-MediumItalic.woff") format('woff');
         font-weight: 500;
         font-style: normal;
}


.hero-content-container {
  height: fit-content !important;
  min-height: none !important;
  /* display: none; */
}

#hero {
  height: fit-content !important;
  /* min-height: calc(140px + 5rem) !important; */
}


#wirkprinzip{
  width: 100vw;
  max-width: min(72rem, 90%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: fit-content;

}

#about-slogan, 
#about-text,
#about-campus{
  width: 100vw;
  max-width: min(72rem, 90%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: left;
  height: fit-content;
  padding: 2rem 1rem;
}



#about-slogan{
  width: fit-content;
  background: linear-gradient(20deg, #ffe3de, #ffeed7, #e7faff);
;

  /* align-items: center; */
  padding: 3.2rem 4rem 2rem 4rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  border: 0.3rem solid var(--logo-color);
}

@media (max-width: 39rem)  {
  #about-slogan {
    padding: 3.2rem 3rem 2rem 3rem;
    max-width: 98%;
  }


  h4{
    font-size: clamp(1.1rem, 3vw, 1.5rem);

  }
}

@media (max-width: 31rem)  {
  #about-slogan {
    padding: 3.2rem 1rem 2rem 1rem;
  }

}

@media (max-width: 26.5rem)  {

  #about-slogan {
    padding: 3.2rem 0.5rem 2rem 0.5rem;
  }
    h4{
    font-size: clamp(0.95rem, 3vw, 1.5rem);

  }


}

#about-text p,
#about-campus p{
  margin-bottom: 1.3rem;
}

.uprella-means {
  font-family: "rubik", sans-serif;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5rem;
}

.about-image{
  width: 100%;
  height: 10rem;
  /* background: var(--Background-gradient); */
  box-shadow: 5px 5px 17px rgba(0,0,0,0.35);
  box-shadow: inset 2px 2px 7px rgba(0,0,0,0.3);
  border-radius: 1rem;
  align-self: center;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* display: flex;
    justify-content: center;
    align-items: center; */
}

.abt-img-1{
  background-image: url("images/banner-005.jpg");
}

.abt-img-3{
  background-image: url("/images/Banner-orte-2.jpg");

}

/* .abt-img-inset{
    background-color: rgb(255, 255, 255);
    box-shadow:  2px 2px 7px rgba(0, 0, 0, 0.3);


    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: calc(100% - 1.3rem);
    width: calc(100% - 1.3rem);
    border-radius: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;

} */

/* .abt-img-inset-1{
  background-image: url("images/people/banner-004.jpg");
} */

/* .abt-img-inset-2{
  background-image: url("images/people/banner-004.jpg");
} */

/* .abt-img-inset-3{
  background-image: url("images/people/banner-004.jpg");
} */

#about-slogan h4{
  margin-top: 0rem;
  height: 3rem;
  font-family: "rubik-mediumitalic", sans-serif;

}

h3{
  margin-bottom: 0.5rem;
}

.wirkprinzip-1,
.wirkprinzip-3{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 2rem 1rem;

}


.wirkprinzip-2 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: sticky;
  top: 0rem;
  width: 100%;
  max-width: 40rem;
  height: 9rem;
}


.wirkprinzip-2::after{
  background-color: rgb(255, 255, 255);
  display: block;
  content: "";
  width: 100%;
  flex: 0 0 100%;
  mask-image: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 85%, rgba(255, 255, 255, 0) 100%);
  position: absolute;
  height: 12rem;
  z-index: -1;
  top: 0;
}


.wirkprinzip-3{
  max-width: 40rem ;
  padding-left: 2rem;
  padding-right: 2rem;
}

.wirkprinzip-step{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 12rem;
  margin-top: 1rem;
}

/* @media (max-width: 30rem)  {

  .wirkprinzip-step{
    height: 18rem;
    background-color: red;

  }


} */

.wirkprinzip-3 h4{
  margin-top: 0.3rem;
}

@media (max-width: 29rem)  {
  p{
    font-size: 0.95rem !important;
  }

    .wirkprinzip-3{
    padding: 1rem;
  }
}

@media (max-width: 22rem)  {

  p{
    font-size: 0.9rem !important;
  }

  .wirkprinzip-3{
    padding: 0;
  }
}

.read-more-button,
.read-less-button{
  color: var(--accent-color);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: underline;
}

/* .read-more-button{
    margin-left: 0.5em;

} */

.read-more-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  display: flex;
  flex-direction: column;

}

.read-more-wrapper.open {
  max-height: 5000px;
}

.svg-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: absolute;
}

.svg-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
}

/* .square-arrow path {
  fill: none;
  stroke: var(--mediumgray);
  stroke: green;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: zeichnen 2s linear forwards;
} */

/* .arrow.active path {
  animation: zeichnen 5s ease forwards;
  stroke: red;
} */

/* @keyframes zeichnen {
  to {
    stroke-dashoffset: 0;
  }
} */

.numbers-and-arrows{
  width: 84%;
  height: 50%;
  position: inherit;
  display: flex;
  justify-content: space-between;

}

.number{
  width:6%;
  display: flex;
  justify-content: center;
  align-items: center;

    font-family: "rubik-medium", sans-serif;
    color: var(--mediumgray);
    font-size: clamp(2rem, 4.15vw, 3rem);
    letter-spacing:2%;
    text-align: center;
}

.number.active {
  color: var(--logo-color);
}

#arrow-after-1,
#arrow-after-2,
#arrow-after-3,
#arrow-after-4,
#arrow-after-5 {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 9%;
  margin-top: 0.9%;
  flex: 0 0 auto;
}




/* .arrow path {
  fill: none;
  stroke: var(--mediumgray);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;

}

.arrow.active path {
  animation: zeichnen2 5s ease forwards;
}

@keyframes zeichnen2 {
  to {
    stroke-dashoffset: 0;
  }
} */

.arrow path {
  fill: none;
  stroke: var(--mediumgray);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* stroke-dasharray: 300;
  stroke-dashoffset: 300; */

  /* animation: zeichnen 1s ease forwards; */
}

.arrow.active path {
  animation: zeichnen-small 21s ease;

  stroke: var(--accent-color);
}

@keyframes zeichnen-small {
  to { stroke-dashoffset: 0; }
}

/* großer pfeil (nach nummer 6) */
.square-arrow path {
  fill: none;
  stroke: var(--accent-color);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  position: absolute;
}

.square-arrow.active path {
  animation: zeichnen 2s ease forwards;
}

@keyframes zeichnen {
  to {
    stroke-dashoffset: 0;
  }
}

.svg-wrapper .base {
  fill: none;
  stroke: var(--mediumgray);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
  position: absolute;
}

.svg-wrapper .grau {
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
  position: absolute;
  stroke: var(--mediumgray);

}

#about-grid{
  background-color: var(--lightgray);
  width: 100vw;
  max-width: min(72rem, 90%);
  height: 70vh;


}




#people-preview {

  background-color: var(--lightgray);
  width: 100vw;
  /* max-width: min(72rem, 90%); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: fit-content;
  padding-top: 2rem;
  padding-bottom: 2rem ;
  margin-bottom: 1rem;

}
#people-preview h3 {
  margin-left: 1rem;
  width: 100%;
  max-width: min(90%, 72rem);
  text-align: left;
}

 .slider-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* max-width: min(98%, 80rem); */
  }
  .slider {
    display: flex;
    overflow-x: auto;
    overflow-y: visible; /* vertikales Scrollen der Seite bleibt möglich */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain; /* blockiert nur horizontales Overscroll an Eltern */
    overscroll-behavior-y: auto;
    gap: 1rem;
    padding: 1.5rem 0;
  }


  .slider-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    cursor: pointer;
    z-index: 1;
    padding: 0;
    flex: 0 0 auto;
    background-color: rgba(255, 255, 255, 0);
    margin: 0.3rem;
    z-index: 3;
    height: 22rem;

  }
  .slider-btn.prev {  margin-right: 1rem; }
  .slider-btn.next {  margin-left: 1rem; }

  .scroll-arrow{
    /* background-color: rgb(255, 0, 0); */
    border-radius: 50%;
    width: 100%;
    aspect-ratio: 1/1;
    background-image: url("elements/dropdown-icon.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;

  }

  .scroll-arrow-left{
    transform: rotate(90deg);
  }

   .scroll-arrow-right{
    transform: rotate(270deg);
  }



  .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    width: 17rem;
    /* height: 35rem; */
    /* height: fit-content; */
    scroll-snap-align: start;
    background-color: white;
    border-radius: 1.3rem;
    padding: 1rem 1rem 1.5rem 1rem;




    position: relative;
    overflow: hidden;
  }

  .audio-ui {
    position: absolute;
    left: 5%;
    right: 5%;
    /* top: 15rem; */
    width: 90%;
    background-color: rgb(255, 255, 255);
    bottom: 0;
    height: 3rem;
    padding-bottom: 1.5rem;
}



.video-overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(255, 255, 255, 0.538); */
  display: none;
  z-index: 10;
}

.video-overlay video {
  width: 100.5%;
  height: 100.5%;
  object-fit: cover;
  background-color: white;
}

.video-overlay video:fullscreen {
  object-fit: contain;
}

.video-overlay video:-webkit-full-screen {
  object-fit: contain;
}














  
  .person-photo{
    width: 100%;
    aspect-ratio: 1/1;
    background-color: rgba(0, 128, 0, 0.42);
    /* border-radius: 50%; */
    border-radius: 0.7rem;
    
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .meet-hamid{ background-image: url(/images/people/meet-hamid.jpg);}

  .meet-hanna{ background-image: url(/images/people/meet-hanna.jpg);}

  .meet-recca{ background-image: url(/images/people/meet-recca-02.jpg);}

  .meet-eularia{ background-image: url(/images/people/meet-eularia.jpg);}

  .meet-asmaa{ background-image: url(/images/people/meet-asmaa-01.jpg);}

  .meet-ana{ background-image: url(/images/people/meet-ana-04.jpg);}

  .meet-ranya{ background-image: url(/images/people/meet-ranya.jpg);}

  .meet-kumar{ background-image: url(/images/people/meet-kumar.jpg);}

  .meet-linda{ background-image: url(/images/people/meet-linda-03.jpg);}

  .meet-vika{ background-image: url(/images/people/meet-vika.jpg);}

  .meet-sabrine{ background-image: url(/images/people/meet-sabrine.jpg);}

  .meet-jareb{ background-image: url(/images/people/meet-jareb.jpg);}

  .meet-nisha{ background-image: url(/images/people/meet-nisha-03.jpg);}

  .meet-isam{ background-image: url(/images/people/meet-isam.jpg);}

  .meet-sam{ background-image: url(/images/people/meet-sam-006.jpg);}

  .meet-alexa{ background-image: url(/images/people/meet-alexa-01.jpg);}

  .meet-zahra{ background-image: url(/images/people/meet-zahra.jpg);}

  .meet-carol{ background-image: url(/images/people/meet-carol.jpg);}

  .meet-qianyan{ background-image: url(/images/people/meet-qianyan.jpg);}

  .meet-mustafa{ background-image: url(/images/people/meet-mustafa-02.jpg);}



  .card h4, .card p{
    width: 100%;
  }

  .card h4{
    margin-top: 1.3rem;
  }

  #people-preview .button-container{
    /* justify-self: flex-end; */
    margin-top: auto;
    /* background-color: red; */
    min-height: 3.5rem;
  }

  /* #people-preview .button{
    background-color: aqua;
    margin-top: 10rem;
  } */



@media (max-width: 30rem)  {

  .card{
    width: calc(77vw - 0.6rem);
  }

  .slider-btn{
    max-width: 10vw;
  }

  .slider-btn.prev {  margin-right: 1.5vw; }
  .slider-btn.next {  margin-left: 1.5vw; }

  /* .slider{
    margin-left: 5vw;
    margin-right: 5vw;
  } */

}

.slider-progress {
  width: 17rem;
  height: 1rem;
  background: white;
  position: relative;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
}
.slider-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-color);
    /* border-radius: 0.5rem; */

  /* transition: width ease; */
}

@media (max-width: 52rem){
  #hero {
    height: fit-content !important;
    min-height: 10rem !important;
  }

  .hero-content-container{
    margin: 5rem 0 4rem 0;
    max-width: 96vw;
        
  }

  .about-image{
      aspect-ratio: 4 / 1 !important ;
      height: auto;
      border-radius: 0.5rem;
  }
}