*{
    box-sizing: content-box;
}

#header-wrapper{
    overflow: hidden;
    position: relative;
    display: flex;
    
}

#header-wrapper .container{
    z-index: 2;
    position: relative;
}

.diashow_header{
    background-size: auto, cover;
    top: 0;
    left: 0;
    z-index: 1;
}

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

.slide.aktivlayer{
    opacity: 1;
}
#header, #banner{
    z-index:2;
}





/*
 *
 *
 *
 *Kontaktformular
 *
 *
 *
 *
 *
 */

.versteckt-fuer-menschen {
            display: none !important;
            visibility: hidden !important;
        }
        
        
        
/*
 *
 *
 *
 *
 *
 *Galeriebilder
 *
 *
 *
 *
 *
 */

.main-screen {
  position: relative;
  z-index: 98;
  padding: 0;
  height: 600px;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y; /* Erlaubt vertikales Scrollen, optimiert horizontales Wischen */
}

.slideshow {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  z-index: 99;
  list-style: none;
}

.imageSlide {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  overflow: hidden;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
  border-radius: 8px;
  background-color: #303238;
}

.imageSlide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.imageSlide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none; /* Verhindert versehentliches Markieren beim Wischen */
}

/* Navigationspfeile */
.nav-arrows a {
  width: 42px;
  height: 42px;
  background: #fff;
  color: #222;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.85;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-arrows a:last-child {
  left: auto;
  right: 30px;
}

.nav-arrows a:hover {
  opacity: 1;
  background: #00730a;
  transform: translateY(-50%) scale(1.08);
}

/* Navigationspunkte (Dots) */
.nav-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 100;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}

.dot:hover {
  background: rgba(0,90,6, 0.85);
}

.dot.active {
  background: #00730a;
  transform: scale(1.25);
}





.cont{
    display: flex;
    justify-content: center;
    align-items: center;
}

.galeriebild{
    width: 20em;
    height: auto;
    border-radius: 8px;
    
}

.printSC{
    border-radius: 8px;
}


/*
 *
 *
 *
 *
 *
 *
 *
 * Videoplayer
 *
 *
 *
 *
 *
 *
 *
 *
 */

 .player-section {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 1000px; /* Mehr Platz für beide Elemente nebeneinander */
    font-family: system-ui, -apple-system, sans-serif;
    }

    /* Container für Video + Overlay-Controls */
    .video-wrapper {
      flex: 2;
      position: relative;
      background: #303238;
      border-radius: 8px;
      overflow: hidden;
      user-select: none;
    }

    video {
      height: 600px;
      width: 100%;
      display: block;
      cursor: pointer;
    }

    /* Overlay-Steuerleiste */
    .controls-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 24px 14px 10px;
      background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
      color: #fff;
      opacity: 1;
      transition: opacity 0.3s ease;
    }

    /* Klasse zum Ausblenden bei Inaktivität */
    .video-wrapper.controls-hidden .controls-overlay {
      opacity: 0;
      pointer-events: none;
    }

    .video-wrapper.controls-hidden {
      cursor: none;
    }

    .controls-overlay button {
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
      padding: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
    }

    .controls-overlay button:hover {
      background: rgba(255, 255, 255, 0.4);
    }

    .controls-overlay svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }
    
    .controls-overlay button:hover svg{
        fill: #00730a;
    }

    .progress-bar {
      flex: 1;
      cursor: pointer;
      accent-color: #00730a;
      height: 5px;
    }

    .time-display {
      font-size: 13px;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }

    /* Playlist-Styling */
    .playlist {
        flex: 1;
      list-style: none;
      padding: 0;
      margin: 0;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
    }

    .playlist li {
      padding: 12px 16px;
      cursor: pointer;
      border-bottom: 1px solid #ddd;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background 0.2s;
    }

    .playlist li:last-child {
      border-bottom: none;
    }

    .playlist li:hover {
      background-color: #f5f5f5;
    }

    .playlist li.aktiv {
      background-color: #303238;
      color: #fff;
      font-weight: 600;
    }
    
    
    /* Auf kleinen Bildschirmen (Handy) wieder untereinander stapeln */
@media (max-width: 768px) {
  .player-section {
    flex-direction: column;
  }
  .video-wrapper,
  .playlist {
    margin: 12px 0 0 0;
    width: 100%;
    flex: none;
  }
}

    
    



/*
 *
 *
 *
 *
 *
 * Profile
 *
 *
 *
 *
 *
 */

.profilimg{
    width: 200px;
    height: 200px;
    object-fit: cover;
    /*border-radius: 50%;*/
    border-radius: 8px;
}

.hoverevent{
    position: relative;
    display: inline-block;
    margin: 0;
}

.hoverevent figcaption{
    position: absolute;
    top: 75%; /* Setzt die Beschreibung exakt an die Unterkante des Bildes */
    left: 0;
    right: 0;
    z-index: 10; /* Stellt sicher, dass sie über dem unteren Text liegt */
    background: #d9d9d9;
    color: #222;
    padding: 10px;
    border-radius: 8px;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hoverevent figcaption::before{
    content: "";
    position: absolute;
    bottom: 100%; /* Setzt den Pfeil exakt auf die Oberkante der Box */
    left: 50%;
    transform: translateX(-50%); /* Zentriert den Pfeil exakt in der Mitte */
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #d9d9d9 transparent; /* Unten = Hintergrundfarbe der Box */
}

.hoverevent:hover figcaption{
    opacity: 0.9;
    visibility: visible;
}

figcaption.aktiv{
    opacity: 1;
    visibility: visible;
}


.hidden {
  display: none !important;
}

.show{
    display: block !important;
}


