#wrapper.klasse {
  background: linear-gradient(to right,var(--main-background-color) 0,var(--main-background-color) 100%);
}

/* Header */
.class-project-header {
  margin-bottom: 50px;
  border-bottom: 0;
}

.class-project-header figure {
  height: auto;
}
.class-project-header figure img {
  width: 100%;
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.class-project-header .fullscreen-img-text {
  bottom: 0;
  left: 0;
  position:relative;
  padding: 20px 0 !important;
}
.class-project-header .fullscreen-img-text span.headline {
  font-size: 2.074rem;
  font-family: 'Constantia Condensed';
  font-weight: 500;
}
.class-project-header .fullscreen-img-text .article-teaser-meta {
  justify-content: start;
  margin-top: 20px;
}

/* Information Box & Contact */
.class-project-infobox,
.class-project-contact {
  padding-bottom: 30px;
  padding-top: 30px;
  background-color: var(--secondary-background-color);
  border: unset;
}
.class-project-infobox .headline-bar {
  margin-bottom: 30px;
}
.class-project-infobox .container:last-child,
.class-project-infobox .container:last-child .row article .article-tile .headline,
.class-project-contact {
  font-family: 'Franklin Gothic';
}
.class-project-infobox .container:last-child .row {
  flex-direction: column;
  align-items: center;
}
.class-project-infobox .container:last-child .row article:not(:last-child) {
  margin-bottom: 30px;
}
.class-project-infobox .container:last-child .row article:nth-child(odd) {
  margin-right: 52px;
}
.class-project-infobox .container:last-child .row article:nth-child(even) {
  margin-left: 52px;
}
.class-project-infobox .container:last-child .row article .article-tile {
  padding: 30px;
  border: 1px solid var(--main-border-color);
  height: 100%;
  background-color: var(--main-background-color);
}
.class-project-infobox .container:last-child .article-tile figure img {
  width: auto;
  height: 34px;
}
.class-project-infobox .container:last-child .row article .article-tile .headline {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 21.6px;
  margin-top: 15px;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.class-project-infobox .container:last-child .row article .article-tile .article-summary {
  font-size: 0.975rem;
}

/* Graphic */
.class-project-graphic {
  margin-top: 30px;
}
.class-project-graphic .row .col-12:not(:last-child) {
  margin-bottom: 15px;
}
.class-project-graphic .class-project-graphic-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  font-family: "Franklin Gothic";
}
.class-project-graphic .class-project-graphic-wrapper .class-project-graphic-label {
  width: 200px;
  text-align: end;
  margin-right: 30px;
  font-size: 0.985rem;
}
.class-project-graphic .class-project-graphic-wrapper .class-project-graphic-label span {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  width: 100%;
}

.class-project-graphic .col-12:nth-child(4) .class-project-graphic-label span {
    overflow-wrap: anywhere;
}

.class-project-graphic .class-project-graphic-wrapper .class-project-graphic-bar {
  position: relative;
  width: 100%;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: end;
}
.class-project-graphic .class-project-graphic-wrapper .class-project-graphic-bar:before {
  content: '';
  position: absolute;
  width: 15px;
  height: 1px;
  background: var(--main-text-color);
  left: -15px;
  top: 22.5px;
}
.class-project-graphic .class-project-graphic-wrapper .class-project-graphic-bar:after {
  content: attr(aria-label);
  display: flex;
  align-items: center;
  justify-content: end;
  position: absolute;
  width: var(--cp-graphic-bar-width);
  height: 100%;
  padding-right: 15px;
  color: #fff;
  background: var(--primary-button-background-color);
  left: 0;
  top: 0;
}
.class-project-graphic .class-project-graphic-source {
  text-align: center;
  margin-top: 30px;
  font-family: "Franklin Gothic";
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 14px;
}

/* Advantages */
.class-project-advantages {
  margin: 30px auto 70px;
}
.class-project-advantages .row:last-child {
  margin-top: 30px;
}
.class-project-advantages .row article:not(:last-child) {
  margin-bottom: 30px;
}
.class-project-advantages .row article figure.vw-100 {
  margin-bottom: 0;
}
.class-project-advantages .row article span.headline {
  font-weight: 500;
  font-family: 'Franklin Gothic Condensed';
  font-size: 1.375rem;
  margin: 10px 0;
}
.class-project-advantages .row article .article-summary a {
  color: var(--main-highlight-color);
}

/* Contact */
.class-project-contact {
  text-align: left;
}
.class-project-contact .container:first-child p {
  margin-top: 11px;
}
.class-project-contact .container:last-child {
  margin-top: 30px;
}
.class-project-contact .container:last-child article:not(:last-child) {
  margin-bottom: 30px;
}
.class-project-contact .container:last-child article .article-tile {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  flex-direction: row;
  align-items: center;
}

.class-project-contact .container:last-child article .article-tile figure img {
  height: 93px;
  width: auto;
}
.class-project-contact .container:last-child article .article-tile .article-contact-detail {
  margin-top: 0px;
  margin-left: 10px;
}
.class-project-contact .container:last-child article .article-tile .headline,
.class-project-contact .container:last-child article .article-tile .article-contact-detail p {
  font-size: 1rem;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin: 0;
}

.class-project-contact .container:last-child .row article .article-tile .headline {
  color: var(--secondary-text-color);
}

@media (min-width: 750px) {
  /* Header */
  .class-project-header {
    margin-bottom: 150px;
  }
  .class-project-header figure {
    height: 574px;
  }
  .class-project-header figure img {
    aspect-ratio: 16 / 9;
    height: auto;
    width: 100%;
  }
  .class-project-header .fullscreen-img-text {
    bottom: -100px;
    position: absolute;
    left: 15px;
    right: auto;
    padding: 30px 50px 30px 0 !important;
  }
  .class-project-header .fullscreen-img-text span.headline {
    font-size: 3.3125rem;
  }
  .class-project-header .fullscreen-img-text .article-teaser-meta {
    margin-top: 30px;
  }
  /* Information Box */
  .class-project-infobox,
  .class-project-contact {
    padding-bottom: 60px;
    padding-top: 60px;
  }
  .class-project-infobox .container:last-child .row {
    flex-direction: row;
    align-items: stretch;
  }
  .class-project-infobox .container:last-child .row article:not(:last-child) {
    margin-bottom: 0;
  }
  .class-project-infobox .container:last-child .row article:nth-child(odd),
  .class-project-infobox .container:last-child .row article:nth-child(even) {
    margin-right: 0;
    margin-left: 0;
  }
  /* Advantages */
  .class-project-advantages {
    margin: 30px auto 50px;
  }
  .class-project-advantages .row article:nth-child(2n-1) {
    padding-right: 36px;
  }
  .class-project-advantages .row article:nth-child(2n) {
    padding-left: 36px;
  }
  .class-project-advantages .row article:not(:last-child) {
    margin-bottom: 0;
  }
  .class-project-advantages .row article figure.vw-100 {
    margin-bottom: 30px;
  }
  .class-project-advantages .row article:not(:nth-last-child(-n+2)) {
    margin-bottom: 72px;
  }
  /* Cluster Class-Project */
  .cluster-class-project .toplist-container > div.col-12:last-of-type {
    margin-bottom: 30px;
  }
  .cluster-class-project .toplist-container > div.col-12:last-of-type article {
    height: 100%;
  }
  /* Graphic */
  .class-project-graphic {
    margin-top: 50px;
  }
  .class-project-graphic .class-project-graphic-wrapper .class-project-graphic-label {
    width: 250px;
    font-size: 1.125rem;
  }
  .class-project-graphic .class-project-graphic-source {
    margin-top: 50px;
  }
  /* Contact */
  .class-project-contact {
    text-align: center;
  }
  .class-project-contact .container:last-child {
    margin-top: 50px;
  }
  .class-project-contact .container:last-child article:not(:last-child) {
    margin-bottom: 0;
  }
  .class-project-contact .container:last-child article .article-tile {
    max-width: 185px;
    flex-direction: column;
  }
  .class-project-contact .container:last-child article .article-tile figure img {
    height: 178px;
  }
  .class-project-contact .container:last-child article .article-tile .article-contact-detail {
    margin-top: 20px;
    margin-left: 0;
  }
}

@media (prefers-color-scheme: dark) {
  .class-project-infobox article:first-child figure img {
    filter: invert(61%) sepia(38%) saturate(6495%) hue-rotate(187deg) brightness(92%) contrast(91%);
  }
}