/* --- VARIABLEN & GRUNDEINSTELLUNGEN --- */
:root {
    --color-bg-main: #24005e;
    --color-bg-darker: #1a0044;
    --color-purple: #7a00ff;
    --color-pink: #f15a8a;
    --color-yellow: #fdd81d;
    --color-white: #ffffff;
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-glow-pink: 0 0 10px rgba(241, 90, 138, 0.7), 0 0 20px rgba(241, 90, 138, 0.5);
    --neon-glow-yellow: 0 0 10px rgba(253, 216, 29, 0.7), 0 0 20px rgba(253, 216, 29, 0.5);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 25px;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    margin: 0;
    background-color: var(--color-bg-main);
    color: var(--color-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .logo, .btn-neon {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 900;
}

/* --- HINTERGRUND ANIMATIONEN --- */
.background-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    mix-blend-mode: screen;
    animation: float 20s infinite ease-in-out alternate;
}

.shape-1 {
    width: 50vw; height: 50vw;
    background: var(--color-purple);
    top: -10%; left: -10%;
    animation-duration: 25s;
}

.shape-2 {
    width: 40vw; height: 40vw;
    background: var(--color-pink);
    bottom: 10%; right: -10%;
    animation-duration: 18s;
    animation-delay: -5s;
}

.shape-3 {
    width: 30vw; height: 30vw;
    background: var(--color-yellow);
    bottom: -10%; left: 30%;
    animation-duration: 30s;
    opacity: 0.2;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(10%, 15%) rotate(10deg) scale(1.1); }
    100% { transform: translate(-5%, -10%) rotate(-5deg) scale(0.9); }
}

/* --- NEON UTILITIES --- */
.neon-text-pink { color: var(--color-pink); text-shadow: var(--neon-glow-pink); }
.neon-text-yellow { color: var(--color-yellow); text-shadow: var(--neon-glow-yellow); }
.yellow-txt { color: var(--color-yellow); }
.white-txt { color: var(--color-white); }

/* --- NAVBAR BASIS --- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(36, 0, 94, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Symmetrie-System (Desktop) */
.logo-area, .nav-right-area {
    flex: 0 0 200px; /* Gleicher Platz links & rechts für exakte Mitte */
    display: flex;
    align-items: center;
}

.nav-right-area {
    justify-content: flex-end;
}

/* Logo Fix */
.nav-logo {
    height: 45px; /* Festgelegte Höhe für Desktop */
    width: auto;
    display: block;
}

/* Desktop Links */
.nav-links.desktop-only {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex: 1;
}

.nav-links.desktop-only a {
    font-family: 'Inter', sans-serif;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

/* Button Styling (Mittig zentriert) */
.contact-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 130px;
    white-space: nowrap;
}

/* Sichtbarkeits-Regeln */
.desktop-only { display: flex; }
.mobile-only { display: none; }

/* --- MOBILE OPTIMIERUNG (Max 768px) --- */
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex; }

    .nav-container {
        padding: 0 20px;
    }

    .logo-area, .nav-right-area {
        flex: 0 1 auto; /* Hebt 200px Platzhalter auf */
    }

    .nav-logo {
        height: 35px; /* Kleiner auf Mobile */
    }

    /* Burger Menu Icon */
    .burger-menu {
        width: 28px;
        height: 18px;
        flex-direction: column;
        justify-content: space-between;
        z-index: 2005;
        position: relative;
    }

    .burger-menu span {
        height: 3px;
        width: 100%;
        background: #fff;
        border-radius: 2px;
        transition: 0.3s;
    }

    /* Animation */
    .burger-menu.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .burger-menu.open span:nth-child(2) { opacity: 0; }
    .burger-menu.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    /* Overlay */
    .nav-overlay {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: rgba(20, 0, 50, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2000;
        visibility: hidden;
        opacity: 0;
        transition: 0.4s;
    }

    .nav-overlay.active {
        visibility: visible;
        opacity: 1;
    }

    .nav-links-mobile {
        list-style: none;
        padding: 0;
        text-align: center;
    }

    .nav-links-mobile li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease;
    }

    .nav-overlay.active .nav-links-mobile li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links-mobile a {
        font-size: 1.2rem;
        font-weight: 900;
        color: #fff;
        text-decoration: none;
        font-family: 'Montserrat', sans-serif;
    }
}

body.scroll-lock { overflow: hidden; }

/* --- BUTTONS --- */
.btn-neon {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--color-pink);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-neon:hover {
    background: transparent;
    border-color: var(--color-pink);
    box-shadow: var(--neon-glow-pink);
    transform: translateY(-3px);
}

.btn-large { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 0 10%;
    padding-top: 80px;
}

.main-title {
    font-size: clamp(4rem, 12vw, 9rem);
    line-height: 0.9; margin-bottom: 1rem;
}

.slogan { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: 2rem; }
.hero-sub { font-size: 1.2rem; max-width: 600px; margin: 0 auto 3rem auto; opacity: 0.9; }

/* --- GENERAL SECTIONS & CARDS --- */
.section-pad { padding: 6rem 10%; }
.bg-darker { background: rgba(0,0,0,0.2); }
.section-title { font-size: 2.5rem; margin-bottom: 3rem; }
.text-center { text-align: center !important; }
.sub-text { margin-bottom: 3rem; font-size: 1.1rem; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--color-purple);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card-highlight { border-color: var(--color-pink); }
.card-highlight:hover { box-shadow: var(--neon-glow-pink); }

.card-badge {
    position: absolute; top: 1rem; right: 1rem;
    background: var(--color-purple); padding: 0.3rem 0.8rem;
    border-radius: 20px; font-size: 0.8rem; font-weight: bold;
}
.neon-badge { background: var(--color-pink); box-shadow: var(--neon-glow-pink); }

.glass-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.date { color: var(--color-pink); font-weight: 600; margin-bottom: 1rem; }
.text-link { color: var(--color-yellow); text-decoration: none; font-weight: bold; display: inline-block; margin-top: 1rem; transition: 0.3s; }
.text-link:hover { letter-spacing: 1px; text-shadow: var(--neon-glow-yellow); }

/* --- NETZWERK SEKTION --- */
.partners-section {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert die Überschrift und den Container */
}

/* Der Container, der die Breite begrenzt (zentriert) */
.network-container {
    width: 100%;
    max-width: 1200px; /* Breite für ca. 6 sichtbare Items auf Desktop */
    padding: 0 20px;
}

.scroller-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Der Fade-Effekt links und rechts */
.mask-fade {
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 15%,
        black 85%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        black 15%,
        black 85%,
        transparent
    );
}

.scroller-inner {
    display: flex;
    gap: 3rem; /* Abstand zwischen den Items */
    width: max-content;
    padding: 20px 0;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px; /* Feste Breite pro Item */
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: scale(1.1);
}

/* Bilder im Netzwerk-Bereich */
.p-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--color-yellow);
    box-shadow: var(--neon-glow-yellow);
    margin-bottom: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-img.pink-glow {
    border-color: var(--color-pink);
    box-shadow: var(--neon-glow-pink);
}

.partner-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    opacity: 0.8;
}

/* Animationen */
.scroll-left {
    animation: slideLeft 25s linear infinite;
}

.scroll-right {
    animation: slideRight 25s linear infinite;
}

@keyframes slideLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Da wir den Inhalt dupliziert haben */
}

@keyframes slideRight {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* Abstand zwischen den Leisten */
.mt-3 { margin-top: 3rem; }

/* --- CREW GRID (UNIFIED) --- */
.crew-grid {
    display: flex;      /* Wechsel von Grid zu Flex */
    flex-wrap: wrap;    /* Erlaubt Umbruch in nächste Zeile */
    gap: 2.5rem;
    justify-content: center; /* Zentriert die Karten horizontal */
    align-items: stretch;    /* Sorgt dafür, dass alle Karten gleich hoch sind */
    max-width: 1400px;       /* Optional: Begrenzt die Gesamtbreite */
    margin: 0 auto;          /* Zentriert den gesamten Container */
}

.member-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    min-height: 350px;
    width: 250px;       /* Feste Breite für die Karten */
    flex-grow: 0;       /* Verhindert, dass die Karten sich unendlich ausdehnen */
    flex-shrink: 0;     /* Verhindert, dass die Karten zu klein gequetscht werden */
}

.m-img-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
}

.m-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* Spezieller Glow für Vorstand */
.board-member.glass-card {
    border-color: var(--color-pink);
    box-shadow: 0 0 20px rgba(241, 90, 138, 0.2);
}

.board-member .m-img-wrapper {
    border-color: var(--color-pink);
    box-shadow: var(--neon-glow-pink);
}

.m-info h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.pronouns { font-size: 0.8rem; opacity: 0.6; display: block; margin-bottom: 0.5rem; }
.contact { font-size: 0.9rem; opacity: 0.8; display: block; margin-bottom: 0.5rem; }
.position { font-weight: 700; font-size: 0.9rem; }

.contact a:hover { color: var(--color-yellow); text-decoration: none; }
.contact a { color: rgba(255,255,255,0.8); text-decoration: none; }


/* --- FOOTER --- */
.main-footer {
    background: var(--color-bg-darker);
    padding: 5rem 10% 2rem 10%;
    border-top: 1px solid var(--glass-border);
    position: relative; z-index: 1;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alles linksbündig */
    text-align: left;
}

.footer-logo { font-size: 2rem; }
.slogan-small { font-weight: 700; margin-top: 0.5rem; }
.footer-col h4 { margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: var(--color-yellow); }

.mail-link { font-size: 1.2rem; display: block; margin: 1rem 0; }
.social-icons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-icon {
    width: 40px; height: 40px; background: var(--glass-bg);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-weight: bold; border: 1px solid var(--glass-border);
}
.social-icon:hover { background: var(--color-pink); box-shadow: var(--neon-glow-pink); color: white; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; opacity: 0.6; }

/* --- ANIMATIONS REVEAL --- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- RESPONSIVE DESIGN (Handy & Tablet) --- */
@media (max-width: 1024px) {
    .team-grid-board { grid-template-columns: repeat(2, 1fr); }
    .team-grid-members { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .network-container { max-width: 100%; }
    .partner-item { width: 120px; }
    .p-img { width: 80px; height: 80px; }

    .section-pad { padding: 4rem 5%; }
    .main-title { font-size: 4rem; }
    
    .team-grid-board { grid-template-columns: 1fr; }
    .team-grid-members { grid-template-columns: repeat(2, 1fr); }
    
    .footer-content { grid-template-columns: 1fr; gap: 2rem;}
    .footer-col {text-align: center; align-items: center; }
}