/* -------------------------------------------------- */
/* BASISLAYOUT                                         */
/* -------------------------------------------------- */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #eee;
    background: #000;
}

/* -------------------------------------------------- */
/* 3-LAYER HINTERGRUND                                 */
/* -------------------------------------------------- */

#bg-layer1,
#bg-layer2,
#bg-layer3 {
    position: fixed;
    inset: -2px 0 0 0;
    background-size: 102%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 5s ease-in-out;
    z-index: -1;
}

#bg-layer1 {
    opacity: 1;
}

/* -------------------------------------------------- */
/* FADE-IN ANIMATION                                   */
/* -------------------------------------------------- */

@keyframes fadeInSoft {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------- */
/* DESKTOP SCHRIFTZUG + SYMBOL                         */
/* -------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

#desktop-title-wrapper {
    position: relative;
    text-align: center;
    margin-top: 40px;
    opacity: 0;
    animation: fadeInSoft 1.8s ease-out forwards;
}

#desktop-title {
    font-family: 'Great Vibes', cursive;
    font-size: 52px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 2px;
    white-space: nowrap;
    display: inline-block;
}

#desktop-symbol {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    height: 130px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.6));
    opacity: 0;
    animation: fadeInSoft 2.2s ease-out forwards;
    animation-delay: 0.2s;
}

/* -------------------------------------------------- */
/* NAVIGATION                                          */
/* -------------------------------------------------- */

.links {
    margin-top: calc(20vh - 40px);
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.links a {
    width: 220px;
    padding: 10px 15px;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    background: rgba(0,0,0,0.45);
    border-radius: 10px;
    backdrop-filter: blur(3px);
    box-shadow: 0 0 8px rgba(0,0,0,0.35);
    transition: 0.25s ease;
}

.links a:hover {
    background: rgba(0,0,0,0.65);
    transform: translateX(6px);
}

.impressum-mobile {
    display: none;
}

/* -------------------------------------------------- */
/* GÄSTEBUCH OVERLAY                                   */
/* -------------------------------------------------- */

.overlay {
    position: fixed;
    inset: 0;
    display: none;
    justify-content:center;
    align-items:center;
    background: transparent;
    z-index: 99999;
    overflow: hidden;
}

#gaestebuch-overlay {
    background: rgba(0,0,0,0.25);
    overflow: hidden !important;
    padding: 0;
}

.gaestebuch-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    border: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* -------------------------------------------------- */
/* SCHLIESSEN-KNOPF                                    */
/* -------------------------------------------------- */

.close-btn {
    position: absolute;
    top: 3%;
    right: 3%;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    opacity: 0.8;
    text-shadow: 0 0 8px #000;
}

.close-btn:hover {
    opacity: 1;
}

/* -------------------------------------------------- */
/* DESKTOP: GIF ausblenden                             */
/* -------------------------------------------------- */

#mobil-start-gif {
    display: none;
}

/* -------------------------------------------------- */
/* MOBILE VERSION                                      */
/* -------------------------------------------------- */

@media (max-width: 600px) {

    #desktop-title-wrapper {
        display: none;
    }

    #bg-layer1,
    #bg-layer2,
    #bg-layer3 {
        inset: 0;
        background-size: cover;
        background-position: center;
    }

    #mobil-start-gif {
        display: block;
        width: 80vw;
        max-width: 400px;
        margin: 1vh auto 0 auto;
        pointer-events: none;
        z-index: 10;
    }

    .links {
        margin-top: 8vh;
    }

    .links a {
        width: 80vw;
        font-size: clamp(18px, 5vw, 26px);
        padding: clamp(10px, 3vw, 18px);
        border-radius: 12px;
    }

    .impressum-mobile {
        display: block;
    }

    .site-footer {
        display: none;
    }
}

/* -------------------------------------------------- */
/* FOOTER                                              */
/* -------------------------------------------------- */

.site-footer {
    position: fixed;
    bottom: 2vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 10px 20px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(3px);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.35);
    z-index: 9999999;
}

.site-footer a {
    color: #ffffff;
    font-size: 18px;
    font-weight: 300;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}
