:root {
    --blue: #38bdf8;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: #020617;
    background: radial-gradient(circle at 50% 0%, #1e293b 0%, #020617 100%);
    color: #fff;
    overflow-x: hidden;
}

/* Header Fix */
.header {
    position: fixed; top: 0; width: 100%; height: 70px;
    background: rgba(2, 6, 23, 0.8); backdrop-filter: blur(15px);
    z-index: 1000; border-bottom: 1px solid var(--border);
    display: flex; align-items: center;
}

.header-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between; /* Logo links, Rakete rechts */
    align-items: center;
}

.logo-container { display: flex; align-items: center; gap: 15px; }
.logo { height: 45px !important; width: auto !important; object-fit: contain; }

/* NEU: Raketen-Button Styling */
.nav-rocket-btn {
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--blue);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}
.nav-rocket-btn:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--blue);
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* Landing Overlay */
#landing-overlay {
    position: fixed; inset: 0; background: #020617; z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s;
    visibility: visible; opacity: 1;
}
#landing-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.selection-box {
    width: 90%; max-width: 500px; padding: 40px; text-align: center;
    background: var(--glass); border: 1px solid var(--border); border-radius: 30px; backdrop-filter: blur(20px);
}
.selection-logo { height: 80px; margin-bottom: 20px; }
.terminal-text { color: var(--blue); font-weight: 800; margin-bottom: 10px; }
.selection-buttons { display: flex; gap: 15px; margin-top: 30px; justify-content: center; }

/* Main Layout */
main { max-width: 1100px; margin: 100px auto; padding: 0 20px; }
.section { margin-bottom: 100px; text-align: center; }
.section h2 { color: var(--blue); font-size: 2.2rem; margin-bottom: 35px; font-weight: 800; }

.glass-card, .glass-box {
    background: var(--glass); border: 1px solid var(--border); border-radius: 20px; backdrop-filter: blur(10px);
}
.glass-box { padding: 30px; text-align: left; line-height: 1.6; }

/* Team Sektion */
.team-photo-wrapper {
    max-width: 900px;
    margin: 0 auto 50px auto;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.team-photo-large { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.team-photo-large:hover { transform: scale(1.02); }

.team-layout { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; } }

.team-card { padding: 25px; transition: 0.3s ease; }
.team-card.leader { border: 1px solid var(--blue); max-width: 350px; width: 100%; }
.rank { font-size: 0.8rem; color: var(--blue); letter-spacing: 1px; margin-bottom: 5px; }

/* Links & Partner */
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; }
.link-item { display: flex; align-items: center; justify-content: center; padding: 25px; text-decoration: none; color: #fff; font-weight: 700; transition: 0.3s; }
.link-item:hover { background: rgba(56, 189, 248, 0.1); border-color: var(--blue); transform: translateY(-5px); }

.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.sponsor-item { background: #fff; height: 140px; border-radius: 20px; display: flex; align-items: center; justify-content: center; padding: 25px; transition: 0.3s; }
.sponsor-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1); }
.sponsor-item img { max-width: 100%; max-height: 90px; object-fit: contain; }

/* Buttons & Animations */
.glass-button { padding: 15px 25px; border-radius: 12px; font-weight: 700; border: none; cursor: pointer; transition: 0.3s; }
.main-btn { background: var(--blue); color: #020617; }
.secondary-btn { background: var(--glass); color: #fff; border: 1px solid var(--border); text-decoration: none; }

.fade-in { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-in.appear { opacity: 1; transform: translateY(0); }
.footer { padding: 40px; text-align: center; color: #475569; }