/* ==================================================
   GRUNDLAYOUT
   ================================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: 'lightcase', sans-serif;
    min-height: 100vh;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}


/* ==================================================
   HINTERGRUND
   ================================================== */

body::after {

    pointer-events: none;

    transition:
        opacity 1.5s ease-in-out,
        visibility 1.5s;

    content: '';

    background-image: url(Bilder/bg.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    position: fixed;

    top: 0;
    left: 0;

    height: 100%;
    width: 100%;

    z-index: -1;

    visibility: visible;
    opacity: 1;
}


/* ==================================================
   NAVIGATION – PC
   ================================================== */

.navigation {

    height: 65px;
    width: 100%;

    position: fixed;

    top: 0;
    left: 0;

    background-color: rgba(4, 22, 37, 0.65);

    z-index: 101;

    display: flex;
    align-items: center;
    justify-content: center;
}


.menu-links {

    display: flex;
    align-items: center;
    justify-content: center;

}


.navigation a {

    color: white;

    display: block;

    padding: 1em 2em;

    font-size: 1.2rem;

    cursor: pointer;

    transition: all .125s ease-in-out;

    text-decoration: none;

}


.navigation a.selected {

    background-color: antiquewhite;

    color: black;

    opacity: .9;

}


.navigation a:hover {

    background-color: #ccc;

    color: #005b95;

}


/* Hamburger-Button auf PC verstecken */

.menu-button {

    display: none;

}


/* ==================================================
   HEADER / LOGO
   ================================================== */

.page-header {

    position: relative;

    display: block;

    color: white;

    text-align: center;

    padding-top: 8rem;

}


.logo-container {

    margin-bottom: 4rem;

}


.logo {

    font-size: 4rem;

    font-weight: 700;

    color: #fff;

    text-decoration: none;

    text-shadow:
        0 0 5px rgba(17, 17, 17, 0.75);

    font-family: 'lightcase', sans-serif;

}


.welcome {

    font-weight: 300;

    font-size: 2.5rem;

    display: block;

    color: rgba(255, 255, 255, 0.95);

    line-height: 3rem;

    text-shadow:
        0 0 5px rgba(17, 17, 17, 0.75);

}


/* ==================================================
   INHALT
   ================================================== */

.content {

    margin: 0 auto 2rem auto;

    width: 93rem;

    max-width: 90%;

    background: rgba(255, 255, 255, 0.95);

    box-shadow:
        0 0 15px 0 rgba(0, 0, 0, 0.75);

    border-radius: 4px;

}


.content-inner {

    padding: 2rem;

}


.headline {

    font-size: 1.7em;

    font-weight: 700;

    line-height: 1.3;

    margin: 0 0 1rem 0;

}


p {

    font-size: 1.2rem;

    line-height: 1.5;

    margin-bottom: 2rem;

    text-align: justify;

}


/* ==================================================
   BILDER-KARUSSELL
   ================================================== */

.karussell .row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    flex-wrap: wrap;

}


.karussell .row > img {

    cursor: pointer;

    max-width: 100%;

    height: auto;

    display: block;

}


img.hover-shadow {

    transition: 0.3s;

}


.hover-shadow:hover {

    box-shadow:
        0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);

}


/* ==================================================
   LIGHTBOX
   ================================================== */

.modal {

    display: none;

    position: fixed;

    z-index: 999;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    overflow: auto;

    background-color: rgba(51, 51, 51, .7);

    flex-direction: column;

    justify-content: center;

}


.modal-content {

    position: relative;

    background: none;

    padding: 0;

    display: flex;

    flex-direction: row;

    justify-content: center;

    align-items: center;

    max-width: 100%;

}


.mySlides {

    display: none;

    width: 800px;

    max-width: 85vw;

}


.mySlides img {

    width: 100%;

    height: auto;

    display: block;

}


/* ==================================================
   SCHLIESSEN-BUTTON
   ================================================== */

.close {

    color: white;

    position: absolute;

    top: 10px;
    right: 25px;

    font-size: 35px;

    font-weight: bold;

}


.close:hover,
.close:focus {

    color: #999;

    text-decoration: none;

    cursor: pointer;

}


/* ==================================================
   VOR / ZURÜCK
   ================================================== */

.prev,
.next {

    cursor: pointer;

    width: auto;

    padding: 16px;

    color: white;

    font-weight: bold;

    font-size: 20px;

    transition: 0.6s ease;

    border-radius: 3px 0 0 3px;

    user-select: none;

    -webkit-user-select: none;

}


.next {

    border-radius: 0 3px 3px 0;

}


.prev:hover,
.next:hover {

    background-color: rgba(0, 0, 0, 0.8);

}


.numbertext {

    color: #f2f2f2;

    font-size: 12px;

    padding: 8px 12px;

    position: absolute;

    top: 0;

}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

    .navigation a {

        padding: 1em 1em;

        font-size: 1rem;

    }


    .logo {

        font-size: 3rem;

    }


    .content {

        max-width: 94%;

    }

}


/* ==================================================
   SMARTPHONE
   ================================================== */

@media (max-width: 600px) {


    /* -----------------------------------------------
       Navigation
       ----------------------------------------------- */

    .navigation {

        height: 55px;

        display: block;

        background-color: rgba(4, 22, 37, 0.96);

    }


    /* Hamburger */

    .menu-button {

        display: block;

        width: 55px;

        height: 55px;

        margin: 0;

        padding: 0;

        border: none;

        background: transparent;

        color: white;

        font-size: 30px;

        line-height: 55px;

        cursor: pointer;

        text-align: center;

    }


    .menu-button:hover {

        background-color:
            rgba(255, 255, 255, 0.1);

    }


    /* Menü zunächst verstecken */

    .menu-links {

        display: none;

        width: 100%;

        background-color:
            rgba(4, 22, 37, 0.97);

        flex-direction: column;

        align-items: stretch;

        box-shadow:
            0 4px 10px rgba(0, 0, 0, 0.3);

    }


    /* Menü geöffnet */

    .menu-links.open {

        display: flex;

    }


    /* Menüpunkte */

    .navigation a {

        width: 100%;

        box-sizing: border-box;

        padding: 14px 20px;

        font-size: 1rem;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.15);

    }


    /* -----------------------------------------------
       Header
       ----------------------------------------------- */

    .page-header {

        padding-top: 7rem;

    }


    .logo-container {

        margin-bottom: 2rem;

    }


    .logo {

        font-size: 2.2rem;

        line-height: 1.2;

        padding: 0 15px;

    }


    /* -----------------------------------------------
       Inhalt
       ----------------------------------------------- */

    .content {

        width: auto;

        max-width: 94%;

        margin-bottom: 1rem;

    }


    .content-inner {

        padding: 1rem;

    }


    /* -----------------------------------------------
       Text
       ----------------------------------------------- */

    .headline {

        font-size: 1.4rem;

        line-height: 1.4;

    }


    p {

        font-size: 1rem;

        line-height: 1.6;

        margin-bottom: 1.4rem;

        text-align: left;

    }


    /* -----------------------------------------------
       Bilder
       ----------------------------------------------- */

    .karussell .row {

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 8px;

    }


    .karussell .row > img {

        width: 100%;

        height: auto;

    }


    /* -----------------------------------------------
       Lightbox
       ----------------------------------------------- */

    .modal-content {

        width: 100%;

    }


    .mySlides {

        width: 100%;

        max-width: 90vw;

    }


    .mySlides img {

        width: 100%;

        height: auto;

    }


    .prev,
    .next {

        padding: 10px;

        font-size: 18px;

    }


    .close {

        top: 5px;

        right: 15px;

        font-size: 32px;

    }

}


/* ==================================================
   SEHR KLEINE SMARTPHONES
   ================================================== */

@media (max-width: 400px) {


    .menu-button {

        font-size: 28px;

    }


    .logo {

        font-size: 1.9rem;

    }


    .headline {

        font-size: 1.25rem;

    }


    p {

        font-size: 0.95rem;

    }


    .karussell .row {

        grid-template-columns:
            repeat(2, 1fr);

    }

}
