/* AIRBUSFAN BETA 2.0 - OPTIMIZED & STABLE */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root {
    --bg-dark: #05070a;
    --accent-cyan: #00f2ea;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-dim: #b0b3b8;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-dark);
    background-image: url('/fra/adm2.JPG'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 7, 10, 0.82); 
    z-index: -1;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0; width: 100%; height: 70px;
    background: rgba(5, 7, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-left { display: flex; align-items: center; gap: 12px; }

.nav-logo { 
    height: 42px !important; 
    width: auto !important; 
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.2);
}

.nav-brand { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.5px; }

.beta-tag { 
    font-size: 0.6rem; 
    background: var(--accent-cyan); 
    color: #000; 
    padding: 2px 6px; 
    border-radius: 4px; 
    font-weight: 800;
    text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 25px; }

.nav-links a { 
    color: var(--text-dim); 
    text-decoration: none; 
    font-size: 0.9rem; 
    font-weight: 600;
    transition: var(--transition); 
}

.nav-links a:hover { color: var(--accent-cyan); transform: translateY(-1px); }

/* --- DROPDOWN --- */
.language-dropdown { position: relative; }

.dropbtn { 
    background: var(--glass); 
    border: 1px solid var(--glass-border); 
    color: white; 
    padding: 8px 14px; 
    border-radius: 10px; 
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.dropbtn:hover { background: rgba(255,255,255,0.1); border-color: var(--accent-cyan); }

.dropdown-content {
    display: none; 
    position: absolute; 
    right: 0; 
    top: calc(100% + 10px);
    background: rgba(15, 17, 21, 0.95); 
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px; 
    min-width: 140px; 
    z-index: 2000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    overflow: hidden;
}

.dropdown-content.show { display: block; animation: fadeIn 0.2s ease-out; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-content a { 
    display: block; 
    padding: 12px 16px; 
    color: white; 
    text-decoration: none; 
    font-size: 0.85rem; 
    transition: 0.2s;
}

.dropdown-content a:hover { background: var(--accent-cyan); color: #000; }

/* --- GRID SYSTEM --- */
.container {
    max-width: 1200px;
    margin: 100px auto 50px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 220px;
    gap: 25px;
}

.bento-item {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    transition: var(--transition);
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 234, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.wide { grid-column: span 2; }
.tall { grid-row: span 2; }

/* --- CONTENT --- */
.bento-content, .bento-link-wrapper {
    padding: 30px;
    height: 100%; width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
    text-decoration: none;
    color: white;
}

/* FIX FÜR HINTERGRUNDBILDER IN BOXEN */
.bento-bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; /* WICHTIG */
    background-position: center; /* WICHTIG */
    opacity: 0.35; 
    z-index: 1;
    transition: transform 0.5s ease;
}

.bento-item:hover .bento-bg-img { transform: scale(1.05); }

.badge {
    position: absolute;
    top: 25px; left: 25px;
    background: var(--accent-cyan); 
    color: #000;
    padding: 5px 12px; 
    border-radius: 10px;
    font-size: 0.75rem; 
    font-weight: 800; 
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 242, 234, 0.3);
}

/* --- RESPONSIVE FIX --- */
@media (max-width: 900px) {
    .wide { grid-column: span 1; }
    .container { 
        grid-template-columns: 1fr; /* Auf Handys alles untereinander */
        grid-auto-rows: auto;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: auto;
        padding: 15px 5%;
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 5px 10px;
        background: rgba(255,255,255,0.05);
        border-radius: 6px;
    }

    .container {
        margin-top: 140px; /* Mehr Platz für die zweizeilige Navbar am Handy */
    }
}

/*ÜBERMICH PAGE SPECIFIC*/
#uebermich-page{
    background-image: url('/fra/dhl1.JPG');
}

/*BILDER PAGE SPECIFIC*/
#bilder-page{
    background-image: url('/fra/egy6.JPG');
}