@media screen and (max-width: 770px) {
  .red-square {
    background-color: black;
    width: 100%;
    height: 65%;
    position: absolute;
    z-index: -999;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 43%;
    -moz-opacity: 0.43;
    /* Firefox and Mozilla browsers */
    -webkit-opacity: 0.43;
    /* WebKit browser e.g. Safari */
    filter: alpha(opacity=43);
    /* For IE8 and earlier */
  }
  .contact_icon {
    font-size: 1.5rem;
  }
  .name_height {
    min-height: 103px;
    font-size: 1.3rem;
  }
  .profession_height {
    min-height: 73px;
    font-size: 1.3rem;
  }
  .max_video_height {
    max-height: 180px;
  }

  .orange {
    min-height: 370px;
    background: #fdcb05;
    margin-bottom: 0px;
  }

  .imageBernd {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Bernd_Wollscheid.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageAudrey {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Audrey.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageSandra {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Sandra_Goetze.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageEma {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Emanuela_Milani.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageMartin {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Martin.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imagePatrick {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Patrick.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageAvatar {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Avatar.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  
  .imageWenguang {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Wenguang.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageSilvana {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/SilvanaAlbert.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageMaik {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Maik_Müller.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageKathrin {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Kathrin_Frey.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageJacqui {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Jaqui.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageJonas {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Jonas_Albinus.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageFabian {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Fabian_Wendt.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageSebastian {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Sebastian_Steiner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageJulia {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Julia.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageHeidi {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Heidi.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageThijs {
    width: inherit;
    min-height: 370px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Thijs_Wildschut.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }
}

@media screen and (min-width: 771px) {
  .red-square {
    background-color: black;
    width: 32%;
    height: 57%;
    position: absolute;
    z-index: -999;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 43%;
    -moz-opacity: 0.43;
    /* Firefox and Mozilla browsers */
    -webkit-opacity: 0.43;
    /* WebKit browser e.g. Safari */
    filter: alpha(opacity=43);
    /* For IE8 and earlier */
  }
  .contact_icon {
    font-size: 2.5rem;
  }
  .name_height {
    min-height: 103px;
    font-size: 2.3rem;
  }
  .profession_height {
    min-height: 73px;
    font-size: 2rem;
  }
  .max_video_height {
    max-height: 450px;
  }

  .orange {
    min-height: 235px;
    background: #fdcb05;
    margin-bottom: 0px;
  }

  .imageBernd {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Bernd_Wollscheid.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageAudrey {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Audrey.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageSandra {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Sandra_Goetze.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageEma {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Emanuela_Milani.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageMartin {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Martin.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imagePatrick {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Patrick.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageAvatar {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Avatar.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  
  .imageWenguang {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Wenguang.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageSilvana {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/SilvanaAlbert.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageMaik {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Maik_Müller.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageKathrin {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Kathrin_Frey.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageJacqui {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Jaqui.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageJonas {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Jonas_Albinus.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageFabian {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Fabian_Wendt.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageSebastian {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Sebastian_Steiner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageJulia {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Julia.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageHeidi {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Heidi.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  .imageThijs {
    width: inherit;
    min-height: 240px;
    height: inherit;
    /* min-width: 283px; */
    background: url("../images/avatars/Thijs_Wildschut.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }
}

.contact_icons {
  margin-top: -5px;
  margin-bottom: -3px;
}

.clipped {
  clip-path: circle();
}

.quarter-width {
  width: 25%;
}

.nice_border {
  padding: 0.6rem 0;
  border-bottom: 1px solid #eaeaed;
  width: 100%;
  margin-bottom: 0;
}

/**
* ===================================================================
* highlights section
*
* -------------------------------------------------------------------
*/

#people {
  background: #ffffff;
  padding-top: 10.2rem;
  padding-bottom: 12rem;
  position: relative;
  min-height: 20.4rem;
  width: 100%;
  overflow: hidden;
  text-align: center;
}

#people .h01 {
  padding-bottom: 2.1rem;
  margin-bottom: 3.6rem;
  position: relative;
  color: #252525;
}

#people .h01::after {
  display: block;
  background-color: #05bca9;
  width: 120px;
  height: 3px;
  content: "\0020";
  position: absolute;
  left: 50%;
  bottom: 0;
  margin-left: -60px;
}

#people .flex-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#people-slider {
  margin: 0 0 3rem 0;
  position: relative;
}

#people-slider p {
  font-family: "raleway-medium", sans-serif;
  font-size: 2.5rem;
  line-height: 1.8;
  color: #8d8d8d;
}

#people-slider p::before,
#people-slider p::after {
  display: inline;
  font-family: Arial, sans-serif;
  color: #c7c7c7;
  font-size: 6rem;
  line-height: 0;
  vertical-align: bottom;
  position: relative;
  top: -1.2rem;
}

#people-slider p::before {
  margin-right: 0.5rem;
  content: "\201C";
}

#people-slider p::after {
  margin-left: 0.5rem;
  content: "\201D";
}

#people-slider .people-author img {
  width: 8.2rem;
  height: 8.2rem;
  margin: 0 auto 1.2rem auto;
  display: block;
  border-radius: 50%;
  vertical-align: middle;
  border: 9px solid #eaeaed;
}

#people-slider .people-author .author-info {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  font-family: "raleway-heavy", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 3rem;
  color: #252525;
}

#people-slider .people-author .author-info span {
  display: block;
  font-family: "raleway-semibold", sans-serif;
  font-size: 1.4rem;
  line-height: 2.1rem;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(0, 0, 0, 0.4);
}

/* control nav */

#people .flex-control-nav {
  width: 100%;
  text-align: center;
  display: block;
  position: absolute;
  bottom: -42px;
}

#people .flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
}

#people .flex-control-paging li a {
  width: 15px;
  height: 15px;
  display: block;
  border: 4px solid #8d8d8d;
  cursor: pointer;
  border-radius: 50%;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

#people .flex-control-paging li a:hover {
  border: 4px solid #05bca9;
}

#people .flex-control-paging li a.flex-active {
  background: #05bca9;
  border-color: #05bca9;
  cursor: default;
}

/* direction nav */

#people .flex-direction-nav li {
  padding: 0;
  z-index: 500;
  position: absolute;
  bottom: 0;
  margin-bottom: -57px;
}

#people .flex-direction-nav li a {
  display: block;
  opacity: 0.8;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

#people .flex-direction-nav li a.flex-prev::before,
#people .flex-direction-nav li a.flex-next::after {
  display: block;
  background: #eaeaed;
  color: #737373;
  border-radius: 5px;
  font-family: "Ionicons";
  font-size: 18px;
  height: 48px;
  width: 48px;
  line-height: 48px;
  text-align: center;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#people .flex-direction-nav li a.flex-prev::before {
  content: "\f2ca";
}

#people .flex-direction-nav li a.flex-next::after {
  content: "\f30f";
}

#people .flex-direction-nav li a.flex-next:hover::after,
#people .flex-direction-nav li a.flex-prev:hover::before {
  background: #05bca9;
  color: #ffffff;
}

#people .flex-direction-nav li.flex-nav-prev {
  left: 0;
}

#people .flex-direction-nav li.flex-nav-next {
  right: 0;
}

/**
* responsive:
* highlights slider
* -
*/

@media only screen and (max-width: 1024px) {
  #people .flex-container {
    max-width: 600px;
  }
  #people-slider p {
    font-size: 2.4rem;
  }
}

@media only screen and (max-width: 768px) {
  #people .flex-container {
    width: 90%;
  }
  #people-slider p {
    font-size: 2.2rem;
  }
}

@media only screen and (max-width: 600px) {
  #people .flex-container {
    width: 95%;
  }
  #people-slider p {
    font-size: 2rem;
  }
  #people-slider p::before,
  #people-slider p::after {
    top: -0.5rem;
  }
}

@media only screen and (max-width: 400px) {
  #people .flex-container {
    width: auto;
  }
  #people-slider p {
    font-size: 1.8rem;
  }
}

#play_button:hover {
  filter: brightness(120%);
}

#new_people {
  background: #ffffff;
  padding-top: 12rem;
  padding-bottom: 15rem;
  overflow: hidden;
}

.text_card {
  margin-bottom: 0px;
  margin-top: 5px;
  color: #423f3f;
  padding: 5px;
}

.text {
  position: absolute;
  background: linear-gradient(to bottom right, transparent 50%, #fdcb05 54%);
  bottom: 0;
  right: 0;
  /* opacity: 0.5; */
  padding: 60px 0 0 60px;
  text-align: right;
  white-space: nowrap;
  margin-bottom: 0;
  /* min-width: 280px; */
}

.corona_banner {
  color: #ffffff;
}

.corona {
  background: #a8322d !important;
  padding: 0.4rem;
  color: #ffffff !important;
  font-size: 2rem;
  text-align: center;
}

.possition_text {
  color: #000000;
  margin-bottom: -2px;
  padding-right: 13px;
  font-weight: bold;
  font-size: 1.2rem;
}

.black_text {
  color: #000000;
  font-size: 1.2rem;
}

.card-label {
  font-size: 1.1rem;
  line-height: 15px;
}

.job {
  color: #423f3f;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0px;
  margin-right: 13px;
  font-size: 1.2rem;
  line-height: 16px;
}


/* Fix for bouncing highlights section */
#highlights-slider .slides li {
    /* 1. Set a consistent height large enough for the tallest text */
    min-height: 1000px; 
    
    /* 2. Optional: Vertically center the content inside that height */
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

/* Adjust height for mobile screens so it doesn't look too empty */
@media only screen and (max-width: 768px) {
    #highlights-slider .slides li {
        min-height: auto; /* Let it resize naturally on mobile where vertical space is scarce */
    }
}
