/* --- BASIS --- */
* { box-sizing: border-box; }
body, html {
    margin: 0; padding: 0; width: 100%; height: 100%;
    overflow: hidden; background-color: #000;
}

.view-wrapper {
    position: relative;
    display: none; /* Standard: Aus */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    margin: auto;
}

/* --- WEICHE: PORTRAIT (9:16) --- */
@media (orientation: portrait) {
    .portrait-wrapper {
        display: flex;
        width: 100vw; height: 177.78vw; /* 9:16 */
        max-height: 100vh; max-width: 56.25vh;
        background-image: url('background_texture_mobile_portrait.png');
    }
}

/* --- WEICHE: LANDSCAPE (16:9) --- */
@media (orientation: landscape) {
    .landscape-wrapper {
        display: flex;
        width: 100vw; height: 56.25vw; /* 16:9 */
        max-width: 100vh; max-width: 1920px; /* Skaliert bis Full HD */
        background-image: url('background_texture_mobile_landscape.png');
    }
}

/* --- GEMEINSAME ELEMENTE --- */
.title-area {
    position: absolute; top: 8%; width: 100%;
    display: flex; justify-content: center; z-index: 5;
}
.title-area img { width: 70%; object-fit: contain; }

.strips-area { position: absolute; display: flex; z-index: 2; width: 100%; }

/* PORTRAIT: Strips untereinander */
.portrait-strips { flex-direction: column; top: 25%; height: 55%; }

/* LANDSCAPE: Strips nebeneinander */
.landscape-strips { flex-direction: row; top: 20%; height: 60%; }

.strip-link {
    flex: 1; position: relative; overflow: hidden;
    display: flex; justify-content: center; align-items: center;
    text-decoration: none;
}
.img-box {
    position: absolute; width: 100%; height: 100%;
    background-size: cover; background-position: center;
}

/* BLUR & LABELS */
.label-box {
    position: relative; padding: 10px 25px;
    display: flex; justify-content: center; align-items: center;
}
.blur {
    position: absolute; width: 120%; height: 120%;
    background: rgba(128, 128, 128, 0.1);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}
.label-box span {
    position: relative; font-family: 'Source Sans 3', sans-serif;
    font-weight: 900; color: white; font-size: 1.5rem;
    letter-spacing: 2px; z-index: 2;
}

/* --- RAHMEN-LINIEN --- */
.line-frame { position: absolute; width: 100%; height: 6px; z-index: 3; }

/* Portrait: Oben (Pink/Weiß) */
.top-lines { top: 0; border-top: 3px solid #ffccff; border-bottom: 3px solid white; }
/* Portrait: Unten (Weiß/Pink) */
.bottom-lines { bottom: 0; border-top: 3px solid white; border-bottom: 3px solid #ffccff; }

/* Landscape: Nur Unten (Weiß oben, Pink unten) */
.bottom-lines-landscape {
    bottom: 0; border-top: 3px solid white; border-bottom: 3px solid #ffccff;
}

/* --- FOOTER --- */
.footer-area {
    position: absolute; bottom: 5%; width: 90%;
    display: flex; flex-direction: column; gap: 15px; z-index: 10;
}
.logo-row { display: flex; justify-content: space-around; align-items: center; }
.logo-row img { height: 30px; width: auto; object-fit: contain; }

.text-row { display: flex; justify-content: space-around; padding: 0 10%; }
.nav-text {
    font-family: 'Source Sans 3', sans-serif; font-weight: 700;
    color: white; font-size: 0.9rem; letter-spacing: 1px;
    cursor: pointer; text-decoration: none;
}

/* --- POP-UP --- */
.popup-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); display: none;
    justify-content: center; align-items: flex-end; z-index: 1000;
}
.popup-content {
    width: 90%; max-width: 500px; margin-bottom: 15%;
    background: #ffccff; border: 5px solid white;
    border-radius: 15px; padding: 25px; text-align: center;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.popup-logos { display: flex; justify-content: center; gap: 15px; margin-top: 20px; }
.popup-logos img { height: 35px; }
.close-trigger { position: absolute; top: 10px; right: 15px; cursor: pointer; font-weight: bold; }