.video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;     /* zeigt das komplette Video */
    object-position: center; /* mittig zentriert */
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    background: #000;        /* Hintergrundfarbe für die Balken */
}
  

h1 {
    text-align: center;
    color: #333;
    font-family: '3', Arial, sans-serif;
    text-decoration: none;
    font-weight: 700;
    font-size: 50px;
}

.container-a {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: auto;
    height: max-content;
    display: flex;
    flex-direction: column;
}

.container-b {
    background-color: rgba(255, 255, 255, 0.616);
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  
    /* Flexbox aktivieren */
    display: flex;
    justify-content: space-between; /* Abstand Text ↔ Bild */
    align-items: flex-start;        /* Oben ausrichten */
  }


.container-c {
    flex: 1;              /* nimmt den restlichen Platz */
    margin-right: 20px;   /* Abstand zum Bild */
    font-family: '3';
    font-size: 30px;
    font-weight: 900;   
  }


.side-img {
    width: 20%;   /* immer 20 % vom Container */
    height: auto; /* Höhe automatisch */
    object-fit: contain;
}
/* Header */
    .header-horizontalbox {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: auto;
        width: auto;
        padding: 0;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    }


    .header-verticalbox {
        background-color: rgba(255, 255, 255, 0.616);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: auto;
        height: max-content;
        display: flex;
        flex-direction: column;
    }

    .header-button {
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        width: auto; 
        height: auto;
        text-align: center;
        flex: 1;
        margin: 0 10px;
        text-decoration: none;
        color: #333;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        font-family: '3';
        font-size: 30px;
        font-weight: 900;
    }

    #iframeheader{
        display:block;
        width:100%;
        border:0;
        height: 480px
    }

    #iframefooter{
        display:block;
        width:100%;
        border:0;
        height: 700px
    }

.marked-box {
    background-color: rgb(224, 218, 218);
    text-decoration: none; 
    display: inline-block; 
    margin: 10px;  
    border: 5px solid rgb(0, 0, 0); 
    padding: 10px; 
    font-family: '3';
    font-size: 30px;
    font-weight: 900;
}


.sub-container {
    display: flex;
    justify-content: center;   /* alle Boxen horizontal zentrieren */
    gap: 20px;                 /* Abstand zwischen den Boxen */
    margin-top: 20px;
  }
  
.thumb-box {
    flex: 0 0 25%;   /* jede Box ~25% breit, fixiert – nicht unendlich dehnbar */
    max-width: auto; /* optional Begrenzung */
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    padding: 10px;
}
  
.thumb-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}


.mySlides { display: none; }
.fade { animation: fadeEffect 1.2s; }
@keyframes fadeEffect { from { opacity: .4; } to { opacity: 1; } }

.slideshow-container {
  max-width: 2000px;
  position: relative;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
}



