/* ===========================
   GLOBAL
=========================== */

body {
    background: url("Bilder/hintergrundre2.jpg") no-repeat center center fixed;
    background-size: cover;
    position: relative;
    color: #502f13;
    padding-right: 85px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(175, 230, 238, 0.75);
    pointer-events: none;
    z-index: -1;
    
}

/* ===========================
   DESKTOP LAYOUT – FINAL
=========================== */

/* ===========================
   DESKTOP LAYOUT – PERFEKT WIE FRÜHER
=========================== */

.video-area {
    display: grid;
    grid-template-columns: 420px 1fr;   /* Links fix, rechts flexibel */
    grid-template-rows: auto auto;      /* 2 Reihen */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    padding-left: 50px;
}

/* VIDEO – linke Spalte, erste Reihe */
.video-block {
    grid-column: 1;
    grid-row: 1;
   
}

/* BILDER – linke Spalte, zweite Reihe */
.video-photos {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* TEXT – rechte Spalte, über beide Reihen */
.video-text {
    grid-column: 2;
    grid-row: 1 / span 2;   /* über beide Reihen */
    max-width: 600px;
    line-height: 1.6;
    padding-top: 0.5rem;
    margin: 0 auto;
}

/* Größen */
video,
.video-photos img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
}



/* ===========================
   HEADER
=========================== */

header {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 50px;
}

nav a {
    margin-right: 0.8rem;
    text-decoration: none;
    color: var(--text);
    font-size: 1.2rem;
  
}

/* ===========================
   FOOTER
=========================== */

footer {
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* ===========================
   SPRACHBUTTONS
=========================== */

.sprache button {
    background-color: #ffffff;
    color: #502f13;
    border: 1px solid #ccc;
    padding: 6px 25px;
    border-radius: 20px;
    cursor: pointer;
}

.sprache button:hover {
    background-color: #e6e6e6;
}

.link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;   /* deine Wunschfarbe */
    color:  #502f13;        
  }
  

@media (max-width: 768px) {

    body {
        padding-right: 0;
        background-attachment: scroll;
    }

    /* Grid komplett zurücksetzen */
    .video-area {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    /* Jede Sektion wird ein normaler Block */
    .video-block,
    .video-text,
    .video-photos {
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100%;
    }

    /* Video */
    video {
        width: 100%;
        height: 500px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    /* Text */
    .video-text {
        width: 90%;
        margin: 0 auto;
    }

    /* Bilder */
    .video-photos {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    .video-photos img {
        width: 90%;
        max-width: 360px;
        height: auto;
    }

    header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding-bottom: 20px;
    }

    /* SPRACHE nach oben */
    .sprache {
        order: -1;
    }

    /* NAVIGATION bleibt darunter */
    nav {
        order: 1;
    }

    nav a {
        font-size: 1rem;
        margin-right: 0.5rem;
    }
}
