.schlussbericht-header {
  /* span {
        font-family: 'Dia-Black', arial, sans-serif;
        font-size: 10em;
        border-bottom: 1px solid black;
        display: block;
        padding: 0 20px;
        &:nth-child(2){
            text-align: right;
        }
        @media screen and (max-width: $mobile) {
            font-size: 3.5em;
            
        }
    } */
}

.schlussbericht-header h1 {
  font-family: 'Dia-Black', arial, sans-serif;
  font-size: 4rem;
  line-height: 4rem;
  border-bottom: 1px solid black;
  display: block;
  padding: 35px 20px 30px;
}

@media screen and (max-width: 800px) {
  .schlussbericht-header h1 {
    font-size: 2em;
    line-height: 2rem;
  }
}

nav.inhaltsverzeichnis {
  background: white;
  border-left: none;
  width: 100%;
  height: auto;
  position: relative;
  right: 0;
  z-index: 0;
  top: auto;
  transform: none;
  transition: none;
  margin-bottom: 100px;
  margin-top: 30px;
}

nav.inhaltsverzeichnis h3 {
  font-size: 2rem;
  line-height: 2rem;
  font-family: "Dia-Black", sans-serif;
  padding: 20px 20px 0;
  margin-bottom: 0;
  border-bottom: 1px solid black;
}

@media screen and (max-width: 800px) {
  nav.inhaltsverzeichnis h3 {
    font-size: 1.5rem;
    line-height: 1.5rem;
    hyphens: auto;
  }
}

nav.inhaltsverzeichnis p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  padding: 20px 20px 10px;
  border-bottom: 1px solid black;
  font-family: "Dia-Black";
}

nav.inhaltsverzeichnis ul {
  /* column-count: 3;
        column-gap: 0; */
  display: block;
  /* grid-template-columns: repeat(auto-fill, minmax(550px, 1fr)); */
  /* &::after {
            content: "";
            display: block;
            width: 100%;
            grid-column: 1 / -1; // Spannt die gesamte Breite der letzten Reihe
            border-bottom: 1px solid red;
        } */
}

@media screen and (max-width: 800px) {
  nav.inhaltsverzeichnis ul {
    grid-template-columns: 1fr;
  }
}

nav.inhaltsverzeichnis ul li {
  display: table;
}

nav.inhaltsverzeichnis ul li a {
  padding: 0 20px;
  hyphens: auto;
  border-bottom: none;
  font-size: 1.3rem;
  line-height: 2rem;
  font-family: "Dia-Regular";
}

@media screen and (max-width: 800px) {
  nav.inhaltsverzeichnis ul li a {
    width: 100vw;
    /* font-size: 1.5rem;
                    line-height: 1.5rem; */
  }
}

main.schlussbericht p, main.schlussbericht li {
  font-size: 1.3rem;
  line-height: 1.8rem;
}

main.schlussbericht .text li {
  padding-left: 10px;
  list-style: disc;
  margin-left: 17px;
}

main.schlussbericht .text p:first-child {
  padding-top: 1em;
}

main.schlussbericht .text.schmale-spalten p:first-child {
  padding-top: 0;
}

@media screen and (max-width: 800px) {
  main.schlussbericht .text {
    column-count: 1 !important;
  }
}

.schlussbericht-matrix {
  border-bottom: 1px solid black;
  /* p{
        font-size: 1.3rem;
        line-height: 1.8rem;
    } */
}

.schlussbericht-matrix.line-after {
  border-bottom: 0;
}

.schlussbericht-matrix.line-after > * {
  margin-bottom: 0;
}

.schlussbericht-matrix > * {
  width: 100%;
  padding: 0 20% 60px 20px;
  margin-bottom: 100px;
}

@media screen and (min-width: 1700px) {
  .schlussbericht-matrix > * {
    padding: 0 33% 60px 20px;
  }
}

@media screen and (max-width: 800px) {
  .schlussbericht-matrix > * {
    padding: 0 20px 60px 20px;
    margin-bottom: 30px;
  }
}

.schlussbericht-matrix > *.bildcarousel {
  padding: 0 0 60px 0;
}

.schlussbericht-matrix h2 {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-right: 33%;
  border-bottom: 1px solid black;
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 3rem;
  font-family: "Dia-Black", sans-serif;
}

.schlussbericht-matrix h2 a {
  text-decoration: underline;
}

.schlussbericht-matrix h2 a:hover {
  text-decoration: none;
}

@media screen and (max-width: 800px) {
  .schlussbericht-matrix h2 {
    font-size: 2rem;
    line-height: 2rem;
    hyphens: auto;
    padding-right: 20px;
  }
}

.schlussbericht-matrix h3 {
  font-size: 1.3rem;
  line-height: 1.3rem;
  font-family: "Dia-Black", sans-serif;
  padding-top: 1em;
  padding-bottom: 0.5em;
}

.schlussbericht-matrix h3 a {
  text-decoration: underline;
}

.schlussbericht-matrix h3 a:hover {
  text-decoration: none;
}

@media screen and (max-width: 800px) {
  .schlussbericht-matrix h3 {
    hyphens: auto;
  }
}

.schlussbericht-matrix h4 {
  font-size: 1.3rem;
  padding-bottom: 0.5em;
}

.schlussbericht-matrix div.text table {
  width: 100%;
}

.schlussbericht-matrix div.text table tr {
  border-bottom: 1px solid black;
}

.schlussbericht-matrix div.text table tr td {
  padding: 20px 0;
  text-align: right;
  min-width: 200px;
  font-size: 1.5rem;
  line-height: 1.8rem;
  font-family: "Dia-Black", sans-serif;
}

.schlussbericht-matrix div.text table tr td:first-child {
  width: 50%;
  text-align: left;
  font-size: 1.5rem;
}

.schlussbericht-matrix div.text table tr td strong {
  font-size: 4rem;
  line-height: 4rem;
}

.schlussbericht-matrix div.text table tr th {
  padding: 20px 0;
  text-align: right;
  font-size: 1.5rem;
  line-height: 1.8rem;
  font-family: "Dia-Black", sans-serif;
}

@media (max-width: 800px) {
  .schlussbericht-matrix div.text table {
    width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    /* makes table scroll horizontally */
  }
  .schlussbericht-matrix div.text tr {
    display: block;
    margin-bottom: 1rem;
  }
  .schlussbericht-matrix div.text td {
    display: block;
    text-align: right;
    position: relative;
    padding-left: 50%;
  }
  .schlussbericht-matrix div.text td::before {
    content: attr(data-label);
    /* show column name */
    position: absolute;
    left: 0;
    width: 50%;
    padding-left: 1rem;
    font-weight: bold;
    text-align: left;
  }
}

.schlussbericht-matrix.matrix-grosse_zahlen {
  /* border-bottom: none; */
}

.schlussbericht-matrix div.matrix_grosse_zahlen {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  padding-left: 0;
  border-bottom: none;
}

@media screen and (max-width: 800px) {
  .schlussbericht-matrix div.matrix_grosse_zahlen {
    grid-template-columns: 1fr;
  }
}

.schlussbericht-matrix div.matrix_grosse_zahlen .zahl-block {
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  text-align: center;
  padding-bottom: 20px;
  background-color: #ffff00;
  /* &:not(:has(+ .zahl-block)) {
                border-bottom: none;
              } */
}

@media screen and (max-width: 800px) {
  .schlussbericht-matrix div.matrix_grosse_zahlen .zahl-block {
    border-right: none;
  }
}

.schlussbericht-matrix div.matrix_grosse_zahlen .zahl-block h3 {
  font-size: 8rem;
  line-height: 8rem;
  font-family: "Dia-Black", sans-serif;
}

.schlussbericht-matrix .bildcarousel .owl-dots {
  position: absolute;
  right: 0;
  margin-top: 0 !important;
  bottom: 0;
}

.schlussbericht-matrix .bildcarousel .owl-dots .owl-dot span {
  background: white;
  border: 1px solid black;
  width: 12px;
  height: 12px;
}

.schlussbericht-matrix .bildcarousel .owl-dots .owl-dot.active span, .schlussbericht-matrix .bildcarousel .owl-dots .owl-dot:hover span {
  background: #ffff00;
}

.schlussbericht-matrix .bildcarousel .galerie.no-carousel .item {
  max-width: 1000px;
  width: 100%;
  padding: 20px 20px;
}

.schlussbericht-matrix .bildcarousel .galerie.no-carousel .item img {
  width: 100%;
  height: auto;
  display: block;
}

.schlussbericht-matrix .bildcarousel .galerie.no-carousel .item .caption {
  padding: 0;
}

.schlussbericht-matrix .bildcarousel .galerie.owl-carousel {
  position: relative;
}

.schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-nav [class*=owl-]:hover {
  background: transparent;
}

.schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-prev,
.schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-next {
  position: absolute;
  top: 47%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}

@media screen and (max-width: 800px) {
  .schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-prev,
  .schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-next {
    top: 45%;
  }
}

.schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-prev img,
.schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-next img {
  width: 20px;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-prev:hover img,
.schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-next:hover img {
  opacity: 0.7;
  transform: scale(1.1);
}

.schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-prev {
  left: 20px;
}

.schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-next {
  right: 20px;
}

@media (max-width: 600px) {
  .schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-prev {
    left: 20px;
  }
  .schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-next {
    right: 20px;
  }
  .schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-prev img,
  .schlussbericht-matrix .bildcarousel .galerie.owl-carousel .owl-next img {
    width: 16px;
  }
}

.schlussbericht-matrix .bildcarousel .caption {
  margin-top: 15px;
  position: relative;
  min-height: 20px;
  padding: 0 20px;
  /* bottom: -20px; */
}

.schlussbericht-matrix .tabelle-titel {
  margin-bottom: 0;
}

.schlussbericht-matrix .matrix_tabelle .table-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-row-gap: 10px;
  /* padding: 16px; */
}

@media screen and (max-width: 800px) {
  .schlussbericht-matrix .matrix_tabelle .table-grid {
    grid-template-columns: 1fr;
  }
}

.schlussbericht-matrix .matrix_tabelle .table-grid > div {
  /* padding: 8px; */
  border-bottom: 1px solid #000;
  padding: 10px 0;
  display: flex;
  align-items: flex-end;
  line-height: 1rem;
  justify-content: flex-end;
}

@media screen and (max-width: 800px) {
  .schlussbericht-matrix .matrix_tabelle .table-grid > div {
    justify-content: space-between;
  }
  .schlussbericht-matrix .matrix_tabelle .table-grid > div::before {
    content: attr(data-label);
    display: block;
    font-family: "Dia-Regular";
    font-size: 1.3rem;
  }
}

.schlussbericht-matrix .matrix_tabelle .table-grid .titel {
  font-family: "Dia-Black";
  justify-content: flex-start;
}

@media screen and (max-width: 800px) {
  .schlussbericht-matrix .matrix_tabelle .table-grid .titel {
    margin-top: 20px;
  }
}

.schlussbericht-matrix .matrix_tabelle .table-grid .header {
  font-family: "Dia-Black";
  text-align: right;
}

@media screen and (max-width: 800px) {
  .schlussbericht-matrix .matrix_tabelle .table-grid .header {
    display: none;
  }
}

.schlussbericht-matrix .matrix_tabelle .table-grid .jahr {
  font-size: 3em;
  font-family: "Dia-Black";
  text-align: right;
  line-height: .7em;
  padding-top: 5px;
}

.schlussbericht-matrix .spalte {
  margin-bottom: 2em;
}

/* div.text-body{
	width: 100%;
	float: left;
	padding: 40px 0 60px 0;
	border-bottom: 1px solid black;
}
div.text-body h1{
	padding: 0 33% 30px 20px;
	border-bottom: 1px solid black;
	margin-bottom: 20px;
}
div.text-body h2{
	padding:  0 33% 20px 20px;
}
div.text-body p{
	padding: 0 33% 0 20px;
}
div.text-body img{
	height: 50px;
	width: auto;
} */
