/* Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #000;
    background: linear-gradient(to bottom right, #010445, #820262); /* Farbverlauf von Blau zu Lila */
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

/* Header */
#header {
    background-color: #fff;
    padding: 20px;
    border-bottom: 1px solid #faf4f4;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

#header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

#header nav ul li {
    margin: 0 20px;
}

#header nav ul li a {
    color: #115ee4;
    text-decoration: none;
    font-weight: bold;
    padding: 15px;
    position: relative;
    transition: color 0.9s ease;
}

#header nav ul li a:hover {
    color: #016669;
}

#header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #140155;
    transition: width 0.3s ease;
}

#header nav ul li a:hover::after {
    width: 100%;
}

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f7f7;
    color: #fff;
}

#header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#header nav ul li {
    margin-right: 20px;
}

#header nav ul li a {
    color: #0c0c0c;
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

#header nav ul li a:hover {
    background-color: rgb(232, 229, 229);
    border-radius: 5px;
}

.home-button {
    padding: 5px 15px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.home-button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Responsive Design: Anpassungen für kleinere Bildschirme */
@media (max-width: 768px) {
    #header nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    #header nav ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .home-button {
        margin-top: 10px;
        align-self: flex-end;
    }
}

/* Bewerbungs-Button */
.apply-button-container {
    text-align: center;
    margin: 30px 0;
}



#applyButton {
    background-color: #bb0a30;
    color: white;
    padding: 20px 40px;
    font-size: 1.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#applyButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    transform: skewX(-30deg);
    z-index: -1;
}

#applyButton:hover::before {
    left: 100%;
}

#applyButton:hover {
    background-color: #a10929;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

/* Content-Sektion */
.content-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px ;
    padding: 5%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.text-container {
    flex: 1;
    padding-right: ;
}

.text-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000;
    padding-left: %;
}

.text-container p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
    padding-left: 0%;
    padding-bottom: 3%;
    padding-right: 3%;
}

.image-container {
    flex-shrink: 0;
    width: 40%;
    text-align: center;
}

.image-container h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #000;
}

.image-container img {
    width: 100%;
    max-width: 500px; /* Maximale Breite des Bildes */
    height: auto;
    border-radius: 10px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .text-container {
        padding-right: 0;
    }

    .image-container {
        width: 100%;
        margin-top: 20px;
    }
}

/* Vollbild-Bild */
.fullpage-image {
    width: 100%;
    height: auto; /* Beibehaltung der Bildproportionen */
    display: block;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #000;
    color: white;
    margin-top: 50px;
}

/* Lightbox */
.lightbox {
    position: fixed; /* Fixiert auf der Seite */
    top: 50px; /* Direkt unter dem Header */
    left: 0;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ddd; /* Umrahmung wie beim Header */
    z-index: 1000; /* Über dem Content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transform: translateY(-100%); /* Startposition außerhalb des Bildschirms */
    opacity: 0;
    visibility: hidden; /* Unsichtbar, wenn nicht angezeigt */
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out; /* Sanfter Übergang */
}




.lightbox-content {
    display: flex;
    flex-direction: column;
}

.lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.lightbox-header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.lightbox-header nav ul li {
    margin: 0 10px;
}

.lightbox-nav-link {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.lightbox-nav-link:hover {
    color: #bb0a30;
}

.close-lightbox {
    background: none;
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Lightbox sichtbar */
.lightbox.show {
    transform: translateY(0); /* Endposition */
    opacity: 1;
    visibility: visible; /* Sichtbar, wenn angezeigt */
}

/* Overlay für Verdunkelung */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dunkle Überlagerung */
    z-index: 999; /* Unter der Lightbox, über dem Inhalt */
    opacity: 0; /* Anfangs unsichtbar */
    visibility: hidden; /* Anfangs unsichtbar */
    transform: translateY(-100%); /* Startposition außerhalb des Bildschirms */
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.4s ease-in-out; /* Sanfter Übergang */
}
/* Overlay sichtbar */
.lightbox-overlay.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Endposition */
}

/* Iframe */
#content-frame {
    width: 100vw; /* Volle Breite des Viewports */
    height: calc(100vh - 50px); /* Höhe minus Header */
    border: none;
    overflow: auto; /* Scrollbar für den Inhalt im Iframe */
}
