@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;
  /* background-color: yellow; */

}

#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;
  /* background-color: red; */
  padding: 2rem 1rem;
}



#about-slogan{
  width: fit-content;
  background-color: var(--offwhite);
  /* 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;
}

.about-image{
  width: 100%;
  height: 10rem;
  background-color: rgb(66, 180, 142);
  align-self: center;
  margin-bottom: 1rem;
  margin-top: 1rem;


}

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

}

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;
  /* margin-bottom: 11.5rem; */
}


.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;
  /* background-color: yellow; */
}

/* @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{
  /* background-color: pink; */
  width: 84%;
  height: 50%;
  position: inherit;
  display: flex;
  justify-content: space-between;

}

.number{
  /* background-color: rgba(255, 0, 0, 0.217); */
  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%;
  /* background-color: aqua; */
  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;
  /* background-color: red; */
  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%;
    padding: 3rem 0;
    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;
    /* background-color: aquamarine; */
  }


  .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;
    /* background-color: rgb(255, 255, 255); */
    height: 22rem;

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

  .scroll-arrow{
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    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: 27rem;
    scroll-snap-align: start;
    background-color: white;
    border-radius: 1rem;
    padding: 2rem 1rem;
  }

  .person-photo{
    width: 80%;
    aspect-ratio: 1/1;
    background-color: rgba(0, 128, 0, 0.42);
    border-radius: 50%;
  }

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