body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family : Arial, Helvetica, sans-serif;
  font-size: 16px;
  background-color: #000000;
}

[class*="col-"] {
  float: left;
  padding: 0px;
}

[class*="col-"] {
  width: 100%;
}

.layout_container {
  display: table;
  margin: auto;
}

.layout_links {
  width: 5%;
  display: table-cell;
}

.layout_mitte {
  width: 94.5em;
  display: table-cell;
}

.layout_rechts {
  width: 5%;
  display: table-cell;
}

.abstand_y {
  height: 2.0em;
}

.abstand_text_zu_ueberschrift {
  height: 2.0em;
}

.abstand_text_zu_menue {
  height:1.0em;
}

.zeilenabstand {
  height:0.5em;
}

.abstand_footer {
  height: 1.4em;
}

.abstand_footer_2 {
  height: 2.0em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(100%);
  border: 0;
  color: transparent !important;
  background: none !important;
}

h1 {
  font-size: 32px;
  line-height: 48px;
  margin: 0 0 24px 0;
}

h2 {
  font-size: 20px;
  line-height: 24px;
  margin: 0 0 0px 0;
}

h3 {
  font-size: 1.2em;
  font-weight: bold;
  color: inherit;
  margin: 0;
  padding: 0em 0em 0.0em 0em;
  color:#8e1f01;
  letter-spacing: 0.1em;
}

h3.literatur {
  font-size: 1em;
  letter-spacing: 0em;
  font-weight: bold;
  color: #000000;
}

.text {
      font-size: 16px;
      line-height: 24px;
      margin: 0 0 24px 0;
}

.text li {
  line-height: 1.4;
}

.text_fahrplan {
  font-size: 1.0em;
  line-height: 1.4em;
  padding: 0.4em 0em 0em 0em;
  color: #000000;
}

.text_fahrplan a {
  text-decoration: none;
  color: #000000;
  cursor: pointer;

  background-image: linear-gradient(#000 0 0);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;

  transition: background-size 0.3s ease;
}

.text_fahrplan a:hover {
  background-size: 0% 2px;
  background-position: 100% 100%;
}

.text_fahrplan a:hover::after {
  transform: scaleX(0);
  transform-origin: right;
}

.bild_titel {
  font-size: 1.4em;
  font-weight: bold;
  color: #ffffff;
}

.bild_text {
  font-size: 1.0em;
  color: #cccccc;
  margin-top: 0.5em;
}

.diashow_container {
  position: relative;
  aspect-ratio: 10 / 5.6;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.diashow_bild {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.diashow_textbox {
  position: absolute;
  background-color: #ffffff;
  color: inherit;
  opacity: 0.93;
  border-radius: 0;
  font-weight: bold;
/*   min-width: 10em; */
  max-width: 45%;
  min-height: 1em;
  padding: 0.5em;
  padding-left: 0.75em;
  padding-right: 0.75em;
  margin: 0.25em;
  font-size: 1.3em;
  line-height: 1.3em;
  left: 1em;
  bottom: 1em;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
}

.diashow_zoom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  animation: zoomEffect 15s ease-in-out forwards;
  z-index: 0;
}

.diashow_textbox_abstand_y {
  height: 0.5em;
}

.kopfzeile {
  height: 6em;
  background-color: black;
  padding: 1.0em 0px 1.0em 0px;
  display: table;
  width: 100%;
}

.kopfzeile_logo {
  width: 12em;
  height: 100%;
  background-color: black;
  display: table-cell;
}

.topnav {
  background-color: #000000;
  overflow: hidden;
  display: inline-block; margin: 0; padding: 0;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 0.0em 0.4em;
  text-decoration: none;
  font-size: 1.0em;
  font-weight: normal;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.burger_icon {
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.burger_icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
  opacity: 1;
  transition: all 0.4s ease-in-out;
}

.burger_icon span:nth-child(1) {
  top: 0;
}

.burger_icon span:nth-child(2) {
  top: 9px;
}

.burger_icon span:nth-child(3) {
  top: 18px;
}

.burger_icon.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.burger_icon.active span:nth-child(2) {
  opacity: 0;
}

.burger_icon.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

.menue_burger {
  position: absolute;
  display: none;
  z-index: 1000;
  opacity: 0.8;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.menue_burger.show {
  display: block;
  opacity: 0.8;
  visibility: visible;
  transform: translateY(0);
}

.menue_burger_punkte {
  color: #ffffff;
  background-color: #000000;
  z-index: 1000;
  padding: 1em 1em 1em 1em;
  font-size: 1.2em;
  font-weight: bold;
  text-align: right;
}

.menue_burger_punkte a {
  text-decoration: none;
  color: #f2f2f2;
  opacity: 1.0;
}

.menue_burger_punkte a:hover {
  background-color: #ddd;
  color: black;
}

.menue_instant {
  display: block;
  background-color: #F0F0F0;
  padding: 1em 1.2em 1em 1.2em;
  margin-bottom: 1.2em;
}

.trennlinie {
  height: 0.1em;
  background-color: #808080;
  margin: 0.5em 0em;
}

.menue_oben {
  background-color: black;
  display: none;
}

.menue_symbol {
  height: 100%;
  background-color: black;
}

.footer_nav {
  position: relative;
  height: 100%;
  width: 100%;
  background-color: #000000;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 0.5em 1em;
  box-sizing: border-box;
}

.footer_righttext {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.9em;
  line-height: 1.4;
  margin-top: -0.3em;
}

.footer_right_inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.footer_nav a:not(.facebook-link) {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 0.0em 0.4em;
  text-decoration: none;
  font-size: 1.0em;
  font-weight: normal;
}

.footer_nav a:not(.facebook-link):hover {
  background-color: #ddd;
  color: black;
}

.bild_unterschrift {
  font-size: 1.0em;
  line-height: 1.3em;
  color: #000000;
  padding: 0.5em 0em 0.0em 0em;
}

.bild_unterschrift_trennlinie {
  height: 0.1em;
  background-color: #808080;
  margin: 2.0em 0em 1.0em 0em;
}

.bild_quelle {
  font-size: 0.8em;
  padding: 1em 0em 0.0em 0em;
  color: #000000;
  text-align: right;
}

.b {width: 100%;}

.cards_container {
  background-color: #505050;
  color: #ffffff;
  height: 100%;
  transition: background-color 0.4s ease;
}

.cards_container:hover {
  background-color: #8E1F01;
}

.cards_container_literatur {
  background-color: #505050;
  color: #ffffff;
  height: 100%;
  transition: background-color 0.4s ease;
}

.cards_container_literatur:hover {
  background-color: #8E1F01;
}

.cards_container_hervorgehoben {
  background-color: #8E1F01;
  color: #ffffff;
  height: 100%;
}

.cards_container_text {
  padding: 0em 1.2em 1.2em 1.2em;
}

.cards_container_bild {
  width: 100%;
}

.cards_container_text h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.cards_container_text h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.cards_container:hover .cards_container_text h2::after,
.cards_container_literatur:hover .cards_container_text h2::after,
.cards_container_hervorgehoben:hover .cards_container_text h2::after {
  transform: scaleX(1);
}

.cards_2 {
  display: grid;
/*   grid-template-columns: repeat(2, 1fr); */
/*   grid-template-rows: repeat(2, 1fr); */
  grid-column-gap: 4em;
  grid-row-gap: 1em;
}

.cards_3 {
  display: grid;
/*   grid-template-columns: repeat(2, 1fr); */
/*   grid-template-rows: repeat(2, 1fr); */
  grid-column-gap: 1em;
  grid-row-gap: 1em;
}

.cards_4 {
  display: grid;
/*   grid-template-columns: repeat(4, 1fr); */
/*   grid-template-rows: repeat(2, 1fr); */
  grid-column-gap: 1em;
  grid-row-gap: 1em;
}

.row {
  margin: 0 auto;
}

.row:after {
  content: "";
  clear: both;
  display: block;
}

.pdf-download-icon {
  display: inline-block;
  width: 96px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  margin-top: 0;
}

.pdf-icon {
  width: 96px;
  height: 96px;
  background-color: #e53e3e;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  margin-bottom: 12px;
}

.pdf-icon::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 24%;
  height: 24%;
  background: #fff;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.pdf-icon::after {
  content: 'PDF';
  position: absolute;
  color: white;
  font-weight: bold;
  font-size: 24px;
  font-family: Arial, Helvetica, sans-serif;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: 1px;
}

.pdf-label {
  font-size: 1em;
  font-weight: bold;
  color: #333;
  position: relative;
  display: inline-block;
  cursor: pointer;
  padding-bottom: 8px;
  margin-top: 0;
}

.pdf-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: #e53e3e;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.pdf-download-icon:hover .pdf-icon {
  transform: scale(1.05);
}

.pdf-download-icon:hover .pdf-label::after {
  transform: scaleX(1);
}
.pdf-download-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 50px;
  margin-top: 24px;
  align-items: flex-start;
}

.verfuegbarkeit-liste {
  list-style: none;
  padding: 0;
  margin: 1.0em 0;
  font-size: 1.0em;
}
.verfuegbarkeit-liste li {
  margin-bottom: 0.4em;
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.status-label {
  padding: 0.6em 1.2em;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}
.verfuegbar {
  font-size: 16px;
  background-color: #28a745;
}

.gelegentlich-verfuegbar {
  background-color: #505050;
}

.nicht-verfuegbar {
  background-color: #dc3545;
}

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: #000000;
  border: 2px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 1000;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scrollTopBtn:hover {
  background-color: #ffffff;
  border-color: #000000;
}

#scrollTopBtn::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 17px solid #ffffff;
  transform: translateY(-2px);
}

#scrollTopBtn:hover::before {
  border-bottom-color: #000000;
}

.breadcrumb-bar {
  background-color: #000000;
  padding: 10px 20px;
  display: flex;
  justify-content: flex-start;
}

.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #ffffff;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb .separator {
  margin: 0 8px;
  color: #ffffff;
  user-select: none;
}

.breadcrumb a {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  padding-bottom: 2px;
}

.breadcrumb a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #ffffff;
  border-radius: 1px;
  transition: transform 0.3s ease;
  transform: scaleX(1);
  transform-origin: left;
}

.breadcrumb a:hover::after {
  transform: scaleX(0);
  transform-origin: right;
}

a[style*="color:#000000"]::after {
  background-color: #000000 !important;
}

.breadcrumb .current {
  font-weight: bold;
  color: #ffffff;
  cursor: default;
  padding-bottom: 2px;
  position: relative;
}

.breadcrumb .current::after {
  content: none;
}

.book-preview {
  padding: 2em 0;
}

.book-item {
  display: flex;
  align-items: flex-start;
/*   gap: 2em; */
  background-color: #f5f5f5;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 2em;
  transition: transform 0.3s ease;
}

.book-item:hover {
  transform: scale(1.01);
}

.book-cover {
  width: 100%;
  flex: 0 0 100%;
}

.book-cover img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow:
  8px 8px 32px rgba(0, 0, 0, 0.4),
  8px 8px 32px rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
}

.book-info h2 {
  font-size: 1.4em;
  margin: 0 0 0.6em;
  color: #222;
}

.book-info p {
  margin-bottom: 1em;
  color: #444;
  line-height: 1.5;
}

.book-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1em;
  color: #333;
}

.book-info ul li {
  margin-bottom: 0.4em;
}

.book-info h4 {
  margin-bottom: 0.6em;
}

.book-button {
  display: inline-block;
  padding: 0.6em 1.2em;
  background-color: #9d090d;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.book-button:hover {
  background-color: #c53030;
}

.buchpunkte {
  list-style: none;
  padding-left: 1.5em;
}

.buchpunkte li {
  position: relative;
  padding-left: 0.65em;
  text-indent: -0.65em;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: none;
  border-radius: 0;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
  cursor: auto;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
  background-color: transparent;
  border: none;
  padding: 0;
  line-height: 1;
  transition: transform 0.2s;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.facebook-link {
  display: block;
  width: 32px;
  height: 32px;
  background-image: url('../home/bilder/Facebook_Logo_Primary.png'); /* Blaues F */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.facebook-link:hover {
  transform: scale(1.1);
  background-image: url('../home/bilder/Facebook_Logo_Secondary.png'); /* Weißes F */
}

@media (max-width: 768px) {

  .diashow_textbox {
    max-width: 65%;
  }

  .book-item {
    gap: 2em;
    flex-direction: column;
  }

  .book-cover {
    width: 75%;
  }

  .book-cover img {
    width: 100%;
    margin: 0 auto;
  }

  .abstand_text_zu_ueberschrift {
    height: 0em;
  }

  .footer_righttext {
    float: none;
    display: block;
    text-align: left;
    max-width: 90%;
    margin: 1.0em 0 0 0.5em;
  }
}

@media (max-width: 950px) {
  .footer_righttext {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 1.0em 0 0 0.5em;
  }

  .footer_right_inner {
    justify-content: flex-start;
  }
}

@media (max-width: 1280px) {
  .book-item {
    gap: 2em;
  }

  .book-cover img {
    width: 100%;
    margin: 0 auto;
  }
}

/* 1 breakpoint */
@media only screen and (min-width: 768px) {
  .col-t-1  { width: 8.33%; }
  .col-t-2  { width: 16.66%; }
  .col-t-3  { width: 25%; }
  .col-t-4  { width: 33.33%; }
  .col-t-5  { width: 41.66%; }
  .col-t-6  { width: 50%; }
  .col-t-7  { width: 58.33%; }
  .col-t-8  { width: 66.66%; }
  .col-t-9  { width: 75%; }
  .col-t-10 { width: 83.33%; }
  .col-t-11 { width: 91.66%; }
  .col-t-12 { width: 100%; }

  .diashow_textbox {
    max-width: 45%;
    min-height: 1em;
    padding: 0.5em;
    padding-left: 0.75em;
    padding-right: 0.75em;
    margin:1em;
    font-size: 1.6em;
    line-height: 1.5em;
  }

  .cards_2, .cards_4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .book-item {
    gap: 2em;
  }

  .book-cover {
    width: 33.33%;
    flex: 0 0 33.33%;
  }

  .book-cover img {
    width: 100%;
  }

}

/* 2 breakpoint */
@media only screen and (min-width: 1280px) {
  .col-d-1  { width: 8.33%; }
  .col-d-2  { width: 16.66%; }
  .col-d-3  { width: 25%; }
  .col-d-4  { width: 33.33%; }
  .col-d-5  { width: 41.66%; }
  .col-d-6  { width: 50%; }
  .col-d-7  { width: 58.33%; }
  .col-d-8  { width: 66.66%; }
  .col-d-9  { width: 75%; }
  .col-d-10 { width: 83.33%; }
  .col-d-11 { width: 91.66%; }
  .col-d-12 { width: 100%; }

h1 {
  font-size: 36px;
  line-height: 56px;
  margin: 0 0 0px 0;
}

h2 {
  font-size: 24px;
  line-height: 28px;
  margin: 0 0 0px 0;
}

.text {
      font-size: 18px;
      line-height: 28px;
      margin: 0 0 28px 0;
}

  .kopfzeile { height: 8em; }
  .kopfzeile_logo { width: 16em; }

  .diashow_container {
    height: 37em;
    width: 100%;
  }

  .diashow_textbox {
    max-width: 45%;
    min-height: 1em;
    padding: 0.5em;
    padding-left: 0.75em;
    padding-right: 0.75em;
    margin: 0.5em;
    font-size: 2.5em;
    line-height: 1.4em;
  }

  .topnav a {
    font-size: 1.2em;
  }

  .menue_burger,
  .menue_burger_punkte,
  .menue_instant,
  .menue_symbol {
    display: none;
  }

  .menue_oben {
    display: block;
  }

  .bild_unterschrift { font-size: 1.1em; }

  .cards_3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards_4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .b { max-width: 46.8em; }

  .book-cover {
    width: 33.33%;
  }
  .book-cover img {
    width: 100%;
  }

}
