/* Styles specific to the "Über uns" page */

ul li {
  margin-left: 24px;
}

.site-main--ueber-uns {
  --hero-image: url('../img/ueber-uns/uber-uns-hero.jpg');
}

#ueber-uns .hero {
  padding: 120px 0 140px;
}

.ueber-uns-statement {
  padding: 96px 0 110px;
  position: relative;
}

.ueber-uns-statement-inner {
  margin: 0 auto;
  text-align: center;
}

.ueber-uns-statement-quote {
  margin: 0 0 48px;
  font-family: 'Tamil MN', 'Noto Serif', Georgia, serif;
  font-size: clamp(34px, 5vw, 55px);
  line-height: 1.3;
  color: #F39406;
}

.ueber-uns-statement-text {
  margin: 0 auto 40px;
  max-width: 100%;
  text-align: left;
  color: #394669;
}

.ueber-uns-statement-text p {
  margin: 0 0 18px;
}

.ueber-uns-statement-cta {
  margin-top: 8px;
}

.ueber-uns-statement-icon,
.ueber-uns-statement-icon-r {
  position: absolute;
}

.ueber-uns-statement-icon {
  bottom: 50px;
  left: 136px;
}

.ueber-uns-statement-icon-r {
  top: 50px;
  right: 136px;
  left: auto;
  transform: scaleX(-1);
}

@media (max-width: 1899px) {

  .ueber-uns-statement-icon,
  .ueber-uns-statement-icon-r {
    width: 112px;
    height: auto;
  }

  .ueber-uns-statement-icon {
    bottom: 28px;
    left: 96px;
  }

  .ueber-uns-statement-icon-r {
    top: 28px;
    right: 96px;
  }
}

@media (max-width: 1440px) {

  .ueber-uns-statement-icon,
  .ueber-uns-statement-icon-r {
    width: 80px;
  }

  .ueber-uns-statement-icon {
    left: 25px;
  }

  .ueber-uns-statement-icon-r {
    right: 25px;
  }
}

@media (max-width: 1199px) {

  .ueber-uns-statement-icon,
  .ueber-uns-statement-icon-r {
    display: none;
  }
}

.ueber-uns-team {
  position: relative;
  background: linear-gradient(202deg, #7b9ccd 42.54%, #3e4e67 112.81%);
  color: #fff;
  padding: 120px 0 140px;
}

.ueber-uns-team-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ueber-uns-team-title {
  position: relative;
  height: 100%;
}

.ueber-uns-team-title h2 {
  margin: 0 0 20px;
  color: #fff;
}

.ueber-uns-team-title .work-accent {
  position: absolute;
  bottom: -15%;
  left: -15%;
}

.ueber-uns-team-body.body-l {
  width: 100%;
  max-width: 100%;
  color: #fff;
}

@media (max-width: 1290px) {
  .ueber-uns-team-title .work-accent {
    display: none;
  }
}

.ueber-uns-team-grid {
  margin-top: 64px;
  display: flex;
  gap: 20px;
  align-items: baseline;
  flex-wrap: wrap;
}

.ueber-uns-team-block {
  margin-top: 64px;
}

.ueber-uns-team-special {
  width: 292px;
}

.ueber-uns-team-special h3 {
  margin: 0;
  line-height: 1.1;
}

.ueber-uns-team-description {
  flex: 1;
  min-width: 240px;

}

.ueber-uns-team-photos {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(5, 222px);
  gap: 24px;
  grid-auto-rows: 222px;
}

.ueber-uns-team-photo {
  margin: 0;
  position: relative;
  width: 222px;
  height: 222px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

@media (max-width: 450px) {
  .ueber-uns-team-photos {
    width: 80%;
  }

  .ueber-uns-team-photo {
    width: 100%;
    height: 100%;
  }
}

.ueber-uns-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ueber-uns-team-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.5) 34.41%,
      #fff 83.1%);
  transform: translateY(100%);
  transition: transform 260ms ease;
  z-index: 1;
}

.ueber-uns-team-photo:hover::before,
.ueber-uns-team-photo:focus-within::before {
  transform: translateY(0);
}

.ueber-uns-team-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 15px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(100%);
  transition: transform 260ms ease;
  z-index: 2;
}

.ueber-uns-team-photo:hover .ueber-uns-team-caption,
.ueber-uns-team-photo:focus-within .ueber-uns-team-caption {
  transform: translateY(0);
}

.ueber-uns-team-name {
  color: var(--Orange, #F39406);
  text-shadow: 0 0 5px #fff;
  font-family: 'Roboto', 'Inter', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
}

.ueber-uns-team-role {
  color: var(--Orange, #F39406);
  font-family: 'Roboto', 'Inter', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
}

.ueber-uns-team-cta {
  margin-top: 64px;
  border-radius: 32px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.ueber-uns-team-cta-text h4 {
  margin: 0 0 16px;
  color: #F39406;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.ueber-uns-team-cta-text p {
  margin: 0 0 32px;
  color: #fff;
}

.ueber-uns-team-cta-card {
  background: #fff;
  border-radius: 10px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.ueber-uns-team-cta-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ueber-uns-team-cta-main>img {
  border-radius: 50%;
  width: 199px;
  height: 199px;
  object-fit: cover;
}

.ueber-uns-team-cta-info {
  color: #1f242b;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ueber-uns-team-cta-heading {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 30px;
  color: #F39406;
}

.ueber-uns-team-cta-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ueber-uns-team-cta-row img {
  width: 24px;
  height: auto;
  flex-shrink: 0;
  margin-top: 3px;
}

.ueber-uns-team-cta-row p {
  margin: 0;
  color: #394669;

}

.ueber-uns-team-cta-row a {
  margin: 0;
  text-decoration: none;
  color: #394669;
}

.ueber-uns-team-cta-row a:hover,
.ueber-uns-team-cta-row a:focus {
  color: #F39406
}

@media (max-width: 1200px) {
  .ueber-uns-team-photos {
    grid-template-columns: repeat(auto-fit, minmax(222px, 1fr));
  }
}

.ueber-uns-chronicle {
  padding: 96px 0 120px;
}

.ueber-uns-chronicle-header {
  text-align: center;
  margin-bottom: 64px;
}

.ueber-uns-chronicle-header h2 {
  margin: 0;
}

.ueber-uns-chronicle-row p, .ueber-uns-chronicle-row ul li {
  color: #394669;
}


.ueber-uns-chronicle-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 130px;
  row-gap: 32px;
  margin-bottom: 96px;
  color: #394669;
}

.ueber-uns-chronicle-row:last-of-type {
  margin-bottom: 0;
}

.ueber-uns-chronicle-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
}

.chronicle-media-1 img {
  width: 371px;
  max-width: 100%;
  height: 350px;
}

.chronicle-media-2 img {
  width: 481px;
  max-width: 100%;
  height: 317px;
}

.chronicle-media-3 img {
  width: 415px;
  max-width: 100%;
  height: 317px;
}

.chronicle-media-4 img {
  width: 481px;
  max-width: 100%;
  height: 317px;
}

.ueber-uns-chronicle-bottom {
  margin: 0;
  margin-top: 64px;
  max-width: 100%;
  color: #394669;
}

.ueber-uns-chronicle-bottom + .ueber-uns-chronicle-bottom {
  margin-top: 16px;
}

.ueber-uns-gemeinschaft.section-support {
  height: 577px;
}

.ueber-uns-gemeinschaft.section-support::before {
  background: url('../img/ueber-uns/gemeinschaft-bg.png') center/cover no-repeat;
}

.ueber-uns-chronicle-text {
  color: #1f242b;
}

.ueber-uns-chronicle-text p {
  margin: 0 0 16px;
}

.ueber-uns-chronicle-list {
  margin: 0 0 16px 18px;
  padding: 0;
}


.ueber-uns-chronicle-row.is-reverse {
  grid-template-columns: 1fr auto;
}

.ueber-uns-chronicle-row.is-reverse .ueber-uns-chronicle-media {
  order: 2;
}

.ueber-uns-chronicle-row.is-reverse .ueber-uns-chronicle-text {
  order: 1;
}

@media (max-width: 1024px) {

  .ueber-uns-chronicle-row,
  .ueber-uns-chronicle-row.is-reverse {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .ueber-uns-chronicle-row.is-reverse .ueber-uns-chronicle-media {
    order: 1;
  }

  .ueber-uns-chronicle-row.is-reverse .ueber-uns-chronicle-text {
    order: 2;
  }

  .chronicle-media-1 img {
    width: 100%;
    height: auto;
  }

  .chronicle-media-2 img {
    width: 100%;
    height: auto;
  }
}

.ueber-uns-chronicle-text {
  position: relative;
}

.ueber-uns-chronicle-text .chronicle-date {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(calc(-100% - 24px));
  color: #F39406;
  text-align: center;
  font-family: "Tamil MN";
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.ueber-uns-chronicle-text .chronicle-date__r {
  left: auto;
  right: 0;
  transform: translateX(calc(100% + 24px));
}

@media (max-width: 1040px) {
  .ueber-uns-chronicle-text .chronicle-date,
  .ueber-uns-chronicle-text .chronicle-date__r {
    position: relative;
    transform: none;
    text-align: left;
  }

  .ueber-uns-chronicle .ueber-uns-chronicle-row:nth-child(2) .ueber-uns-chronicle-text::before,
  .ueber-uns-chronicle .ueber-uns-chronicle-row:nth-child(3) .ueber-uns-chronicle-text::before,
  .ueber-uns-chronicle .ueber-uns-chronicle-row:nth-child(4) .ueber-uns-chronicle-text::before  {
    display: none;
  }
}




.ueber-uns-chronicle .ueber-uns-chronicle-row:nth-child(2) .ueber-uns-chronicle-text::before {
  content: url('../img/ueber-uns/unsere_01.svg');
  position: absolute;
  left: 0px;
  top: 120px;
  transform: translateX(calc(-100% + 50px));
}

.ueber-uns-chronicle .ueber-uns-chronicle-row:nth-child(3) .ueber-uns-chronicle-text::before {
  content: url('../img/ueber-uns/unsere_02.svg');
  position: absolute;
  right: 0px;
  top: 220px;
  transform: translateX(calc(100% - 20px));
}

.ueber-uns-chronicle .ueber-uns-chronicle-row:nth-child(4) .ueber-uns-chronicle-text::before {
  content: url('../img/ueber-uns/unsere_03.svg');
  position: absolute;
  left: 0px;
  top: 80px;
  transform: translateX(calc(-40% + 24px));
}

section.ueber-uns-chronicle {
  position: relative;
}

section.ueber-uns-chronicle::before {
  content: url('../img/ueber-uns/unsere_l.png');
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
    transform-origin: top left;
}

@media (max-width: 1440px) {
  section.ueber-uns-chronicle::before {
    scale: .7;
  }
.ueber-uns-statement-icon-r {
    left: auto;
  }

}


.ueber-uns-chronicle .ueber-uns-statement-icon-r {
  bottom: 0px;
  top: auto;
}

#ueber-uns .support-content {
  max-width: 100%;
}

#ueber-uns .support-content p {
  text-align: left;
}

@media (max-width: 768px) {
  .ueber-uns-team-cta-main {
    flex-direction: column;
  }
}
