
    :root {
      --primary-color: #1f2a38;
      --accent-color: #a678bc;
      --text-color: #d0d7e2;
      --body-bg: #0e141c;
      --parallax-opacity: 1.0;
    }
	
	html, body {
		height: 100%;
		display: flex;
		flex-direction: column;
}

.sticky-menu {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(15, 20, 30, 0.92);
  backdrop-filter: blur(6px);
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

main {
  flex: 1;
}	
	
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      font-family: 'Georgia', serif;
      background-color: var(--body-bg);
      color: var(--text-color);
      line-height: 1.7;
      position: relative;
      opacity: 0;
      animation: pageFadeIn 1.6s ease-out forwards;
    }

    body::before {
      content: "";
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-image: url('../images/hintergrund-neu.png');
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center center;
      opacity: var(--parallax-opacity);
      z-index: -1;
    }

    header {
  /* nur noch Hintergrundfarbe, keine Ausrichtung */
  background-color: var(--primary-color);
}

footer {
  background-color: rgba(15, 20, 30, 0.95);
  color: var(--text-color);
  text-align: center;
  padding: 1rem 0.5rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    nav {
      background-color: rgba(15, 20, 30, 0.92);
      backdrop-filter: blur(6px);
      padding: 1rem;
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .dropdown-container {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
    }

    .dropdown {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .dropdown label {
      color: white;
      font-weight: bold;
    }

    .dropdown select {
      background-color: var(--primary-color);
      color: white;
      padding: 0.5rem 1rem;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    .container {
      max-width: 900px;
      margin: 2rem auto;
      padding: 1rem;
      background-color: rgba(15, 20, 30, 0.92);
      border-radius: 12px;
    }

    video {
      display: block;
      width: 100%;
      max-width: 360px;
      margin: 1rem auto;
      aspect-ratio: 9 / 16;
      border-radius: 8px;
    }

    button {
      margin-top: 1rem;
      padding: 0.75rem 1.5rem;
      background-color: var(--accent-color);
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    .pdf-container {
      display: none;
      margin-top: 1rem;
    }

    .pdf-container iframe {
      width: 100%;
      height: 500px;
      border: none;
    }

    #topBtn {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 30px;
  z-index: 200;
  font-size: 48px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent-color);
  animation: float 2s infinite ease-in-out;
  text-shadow: 0 0 6px rgba(255,255,255,0.2);
}

    #topBtn:hover {
      transform: scale(1.25);
      color: var(--accent-color);
    }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-4px); }
    }

    @keyframes pageFadeIn {
      to { opacity: 1; }
    }

    @media (max-width: 768px) {
      .dropdown-container {
        flex-direction: column;
        align-items: stretch;
      }

      .dropdown select {
        width: 100%;
        max-width: 300px;
      }
    }
	
	.sticky-footer {
  position: sticky;
  bottom: 0;
  width: 100%;
  background-color: rgba(15, 20, 30, 0.95);
  color: var(--text-color);
  text-align: center;
  padding: 1rem 0.5rem;
  font-size: 0.9rem;
  z-index: 999;
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-footer a {
  color: #a678bc;
  margin: 0 0.75rem;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.sticky-footer a:hover {
  color: #ffffff;
  text-shadow: 0 0 5px var(--accent-color);
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer a:hover {
  color: #ffffff;
  text-shadow: 0 0 5px var(--accent-color);
}

.horizontal-gallery {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.horizontal-gallery img {
  height: 240px;
  border-radius: 8px;
  flex-shrink: 0;
  scroll-snap-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.horizontal-gallery img:hover {
  transform: scale(1.05);
}

#lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: zoom-out;
}

#lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.kapitel-card {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.kapitel-card.active {
  display: block;
  opacity: 1;
}

.kapitel-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.kapitel-card p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
  white-space: pre-line;
}

.kapitel-card .button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.kapitel-card .button:hover {
  background-color: #c88be5;
  transform: scale(1.05);
}

.kapitel-card .volltext {
  display: none;
  margin-top: 1rem;
  white-space: pre-line;
  line-height: 1.6;
}

.slideshow-wrapper {
  max-width: 960px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: rgba(15, 20, 30, 0.92);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  position: relative;
}

.slideshow-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.slideshow-controls button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.slideshow-controls button:hover {
  background-color: #c88be5;
  transform: scale(1.05);
}

.kapitel-zahl {
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 1rem;
}
