/* Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: Arial, sans-serif;
    color: #000;
    background: linear-gradient(to bottom right, #010445, #820262);
}

/* Header */
#header {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #faf4f4;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 105%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

#header nav {
    flex-grow: 1;
}

#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: #000;
    text-decoration: none;
    font-weight: bold;
    padding: 15px;
    position: relative;
    transition: color 0.3s 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%;
}

.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;
    margin-right: 20px;
}

.home-button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Hamburger-Menü */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 20px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.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.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.lightbox-overlay.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Iframe */
#content-frame {
    width: 100%;
    height: calc(100vh - 50px);
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    #header {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 0;
    }

    #menu-toggle {
        display: block;
        order: 1;
    }

    #header nav {
        flex-basis: 100%;
        order: 3;
        display: none;
    }

    #header nav.show {
        display: block;
    }

    #header nav ul {
        flex-direction: column;
        align-items: center;
    }

    #header nav ul li {
        margin: 10px 0;
    }

    .home-button {
        order: 2;
        margin-right: 20px;
    }

    .lightbox {
        top: 0;
        height: 100vh;
        overflow-y: auto;
    }

    .lightbox-content {
        padding: 20px;
    }

    .lightbox-header nav ul {
        flex-direction: column;
    }

    .lightbox-header nav ul li {
        margin: 10px 0;
    }

    #content-frame {
        height: calc(100vh - 60px);
    }
    /* Fügen Sie dies zu Ihrem bestehenden <style> Bereich hinzu */
.bewerbungsportal-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.bewerbungsportal-link {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #FFD700, #DAA520);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.bewerbungsportal-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.6s;
}

.bewerbungsportal-link:hover::before {
    left: 100%;
}

.bewerbungsportal-link:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(218,165,32,0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
}

}