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

:root {
    --bg-primary: #050816;
    --bg-secondary: #0c1029;
    --bg-card: #111936;
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-blue-light: #60a5fa;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border-color: #1e3a5f;
    --glow-blue: rgba(59, 130, 246, 0.5);
    --glow-purple: rgba(139, 92, 246, 0.5);
    --gradient-rainbow: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Rajdhani', 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}
/* Der Bereich zwischen Sidebar und Footer */
.main-content {
    flex: 1 0 auto; /* Drückt den Footer immer nach unten */
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 25s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.03) 0%, transparent 60%);
    animation: floatBg 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatBg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(2%, 2%) scale(1.02); }
    50% { transform: translate(-1%, 3%) scale(1); }
    75% { transform: translate(1%, -2%) scale(1.01); }
}


.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}


.rainbow-text {
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff, #5f27cd);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowShift 8s ease infinite;
}

@keyframes rainbowShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.glow {
    filter: drop-shadow(0 0 10px var(--glow-blue)) drop-shadow(0 0 20px var(--glow-purple));
}


.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(12, 16, 41, 0.95) 100%);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--accent-blue), var(--accent-purple), transparent);
    opacity: 0.5;
}

.sidebar-header {
    margin-bottom: 2rem;
}

.logo-placeholder {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.logo-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(59, 130, 246, 0.1), transparent, rgba(139, 92, 246, 0.1), transparent);
    animation: rotateBorder 6s linear infinite;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-placeholder:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    transform: scale(1.02);
}

.sidebar-logo {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
    transition: all 0.4s ease;
}

.sidebar-logo:hover {
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.6)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.4));
    transform: scale(1.05);
}

.logo-fallback {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    display: none;
    position: relative;
    z-index: 1;
    letter-spacing: 0.1em;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), transparent);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--text-primary);
    border-radius: 0 4px 4px 0;
}

/* Feedback beim Anklicken der Menüpunkte */
.nav-link:active {
    background: rgba(59, 130, 246, 0.2); /* Ein leichter blauer Schimmer */
    transform: scale(0.95); /* Der Link wird ganz leicht kleiner, wie ein echter Button */
    transition: 0.1s;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 2rem;
}

.btn-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    color: var(--text-primary);
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.btn-discord::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-discord:hover::before {
    left: 100%;
}

.btn-discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}

.btn-discord svg {
    width: 20px;
    height: 20px;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
    animation: heroPulse 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.hero-logo-container {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInDown 1s ease-out;
    position: relative;
}

.hero-logo-container::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    animation: logoPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-logo {
    max-width: 350px;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5)) drop-shadow(0 0 60px rgba(139, 92, 246, 0.3));
    transition: all 0.5s ease;
    display: block;
    position: relative;
    z-index: 1;
}

.hero-logo:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.7)) drop-shadow(0 0 80px rgba(139, 92, 246, 0.5));
}

.hero-logo:not([src]),
.hero-logo[src=""] {
    display: none;
}

.hero-title-wrapper {
    margin-bottom: 2rem;
    position: relative;
    padding: 2rem 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #8b5cf6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 0 2rem;
    animation: gradientShift 5s ease infinite;
    text-shadow: 0 0 60px rgba(59, 130, 246, 0.5);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.title-accent {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.8s both;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

@keyframes expandWidth {
    from { width: 0; opacity: 0; }
    to { width: 200px; opacity: 1; }
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
    font-weight: 400;
    letter-spacing: 0.03em;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.btn {
    padding: 1.1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: scale(1.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 35px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-blue-light);
    border: 2px solid var(--accent-blue);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent-purple);
    color: var(--text-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.member-count {
    margin-top: 2rem;
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: inline-block;
    backdrop-filter: blur(15px);
    animation: fadeInUp 1s ease-out 0.9s both;
    transition: all 0.3s ease;
}

.member-count:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    transform: scale(1.02);
}

.member-count p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.count-placeholder {
    color: var(--accent-blue-light);
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
}

.scroll-indicator {
    margin-top: 3rem;
    animation: bounce 2s infinite, fadeInUp 1s ease-out 1.1s both;
    color: var(--accent-blue);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
}

/* Sections */
.section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-blue-light) 50%, var(--accent-purple) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    letter-spacing: 0.05em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(17, 25, 54, 0.8) 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Team Categories */
.team-category {
    margin-bottom: 5rem;
}

.team-category:last-child {
    margin-bottom: 0;
}

.team-category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-blue-light) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-category-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    font-style: italic;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(17, 25, 54, 0.8) 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(59, 130, 246, 0.1), transparent, rgba(139, 92, 246, 0.1), transparent);
    animation: rotateBorder 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover::before {
    opacity: 1;
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
}

.member-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                var(--gradient-primary) border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.team-member:hover .member-image {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
}

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

.member-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.member-role {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.partner-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(17, 25, 54, 0.9) 100%);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.7s ease;
}

.partner-card:hover::before {
    left: 100%;
}

.partner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-rainbow);
    background-size: 300% 300%;
    animation: rainbowBorder 4s ease infinite;
}

@keyframes rainbowBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.partner-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-blue);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.35);
}

.partner-logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    position: relative;
    z-index: 1;
}

.partner-logo {
    max-width: 220px;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
    transition: all 0.4s ease;
    display: block;
}

.partner-logo:hover {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 0 35px rgba(59, 130, 246, 0.5));
}

.partner-logo:not([src]),
.partner-logo[src=""] {
    display: none;
}

.partner-icon {
    font-size: 5.5rem;
    margin-bottom: 2rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.partner-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.partner-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.9;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.partner-features {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.partner-feature {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    color: var(--accent-blue-light);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.partner-feature:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    transform: scale(1.05);
}

.partner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.partner-btn {
    margin-top: 0;
}

/* Server Status Section */
.server-status-section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 1;
}

.server-status-container {
    max-width: 1000px;
    margin: 0 auto;
}

.server-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(17, 25, 54, 0.9) 100%);
    border-radius: 24px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 2rem;
}

.server-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
}

.server-card-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.server-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.server-player-count {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.player-count-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #22c55e;
}

.player-count-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.status-online {
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-online 2s infinite;
}

@keyframes pulse-online {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.server-player-count.almost-full {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
    border-color: rgba(251, 146, 60, 0.4);
}

.server-player-count.almost-full .player-count-number {
    color: #fb923c;
}

.server-player-count.almost-full .status-online {
    background: #fb923c;
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(251, 146, 60, 0); }
}

.status-offline {
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
}

.server-player-count.offline {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: rgba(239, 68, 68, 0.4);
}

.server-player-count.offline .player-count-number {
    color: #ef4444;
}

.server-card.server-offline {
    border-color: rgba(239, 68, 68, 0.3);
}

.server-card.server-offline:hover {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.15);
}

.offline-message {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
}

.offline-message h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.offline-message p {
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

.offline-message svg {
    color: #ef4444;
}

.server-card-body {
    padding: 2rem;
}

.server-owner {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
}

.owner-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    object-fit: cover;
}

.owner-info h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.owner-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.server-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    white-space: pre-wrap;
    max-height: 200px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(5, 8, 22, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.server-loading {
    text-align: center;
    padding: 4rem;
    color: var(--text-secondary);
}

.server-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.server-error {
    text-align: center;
    padding: 4rem;
    color: var(--accent-pink);
    background: rgba(236, 72, 153, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

/* Social Media Section */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.social-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(17, 25, 54, 0.8) 100%);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-card:hover::before {
    opacity: 1;
}

.social-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-blue);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.35);
}

.social-card.discord:hover {
    border-color: #5865f2;
    box-shadow: 0 25px 60px rgba(88, 101, 242, 0.4);
}

.social-card.youtube:hover {
    border-color: #ff0000;
    box-shadow: 0 25px 60px rgba(255, 0, 0, 0.35);
}

/* Styling für die PNG Icons */
.png-icon {
    width: 56px;
    height: 56px;
    object-fit: contain; /* Verhindert, dass das Bild gequetscht wird */
    transition: all 0.4s ease;
}

.social-card:hover .png-icon {
    transform: scale(1.2) rotate(10deg);
}

/* WhatsApp Hover-Effekt */
.social-card.whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 25px 60px rgba(37, 211, 102, 0.4);
}

.social-card.whatsapp:hover .social-icon,
.social-card.whatsapp:hover .social-cta {
    color: #25D366;
}

/* TikTok Hover-Effekt */
.social-card.tiktok:hover {
    border-color: #ff0050; /* TikTok Pink */
    box-shadow: 0 25px 60px rgba(255, 0, 80, 0.3);
}

.social-card.tiktok:hover .social-icon,
.social-card.tiktok:hover .social-cta {
    color: #ff0050;
}

.social-icon {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    color: var(--accent-blue);
    transition: all 0.4s ease;
}

.social-card.discord .social-icon {
    color: #5865f2;
}

.social-card.youtube .social-icon {
    color: #ff0000;
}

.social-card:hover .social-icon {
    transform: scale(1.2) rotate(10deg);
}

.social-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.social-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

.social-cta {
    color: var(--accent-blue);
    font-weight: 700;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.social-card:hover .social-cta {
    transform: translateX(8px);
}

.social-card.discord .social-cta {
    color: #5865f2;
}

.social-card.youtube .social-cta {
    color: #ff0000;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--accent-blue-light);
    transform: translateY(-2px);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-family: 'Rajdhani', sans-serif;
}

/* --- Globaler Footer Fix --- */
.footer {
    width: 100%;
    max-width: 100vw; /* Verhindert horizontales Scrollen */
    padding: 40px 20px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
    overflow: hidden; /* Schneidet überstehende Elemente ab */
}

/* Container im Footer anpassen */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* Wichtig: Elemente brechen auf Handy in neue Zeile um */
    gap: 30px;
    justify-content: space-between;
}

/* Speziell für Mobile (Handy) */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Alles untereinander statt nebeneinander */
        align-items: center;
        text-align: center;
    }

    .footer-section {
        width: 100%; /* Sektionen nehmen volle Breite ein */
        margin-bottom: 20px;
    }

    /* Falls du das TikTok-Icon oder Links hast: */
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    /* Verhindert, dass der Content unter der Sidebar verschwindet */
    .main-content {
        width: 100% !important;
        overflow-x: hidden;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }
    
    .main-content {
        margin-left: 240px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-logo {
        max-width: 250px;
        max-height: 130px;
    }
    
    .hero-logo-container {
        margin-bottom: 2rem;
    }
    
    .hero-title-wrapper {
        padding: 1rem 0;
    }
    
    .partner-logo {
        max-width: 160px;
        max-height: 80px;
    }
    
    .sidebar-logo {
        max-height: 70px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 5rem 1.5rem;
    }
    
    .features-grid,
    .team-grid,
    .partners-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        max-width: 100%;
    }
    
    .partner-buttons {
        flex-direction: column;
    }
    
    .server-card-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Support Styles */
.support-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.support-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.support-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.support-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.support-hours {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.support-hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--accent-primary);
}

.support-hour-item .day {
    font-weight: 600;
    color: var(--text-primary);
}

.support-hour-item .time {
    color: var(--accent-blue-light);
    font-family: 'Orbitron', sans-serif;
}

.support-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
}

.support-note p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.support-note strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .support-info {
        grid-template-columns: 1fr;
    }
    
    .support-hour-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* =========================================
   FIXED MENU SYSTEM (FINAL)
   ========================================= */

/* 1. Grundeinstellungen für den Button (Die Striche!) */
.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white; /* Weiße Striche auf buntem Grund */
    margin: 4px 0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* 2. Desktop Ansicht (PC) - Standard */
.mobile-toggle {
    display: none !important; /* Button am PC erzwingen auszublenden */
}

.sidebar-overlay {
    display: none; /* Kein dunkler Hintergrund am PC */
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    z-index: 1000;
    visibility: visible;
    transform: translateX(0); /* Sicherstellen, dass sie da ist */
    transition: transform 0.3s ease;
}

.main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
}

/* 3. Mobile Ansicht (Handy & Tablet < 992px) */
@media (max-width: 992px) {
    
    /* Button sichtbar machen und stylen */
    .mobile-toggle {
        display: flex !important;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 2005; /* Über allem anderen */
        width: 50px;
        height: 50px;
        background: var(--gradient-primary);
        border: none;
        border-radius: 50%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.5);
        cursor: pointer;
    }

    /* Sidebar verstecken (nach links schieben) */
    .sidebar {
        transform: translateX(-100%); /* Nutzt Transform statt left/visible */
        visibility: visible; /* Bleibt sichtbar für die Animation */
        z-index: 2000;
        border-right: none;
        box-shadow: 5px 0 25px rgba(0,0,0,0.5);
    }

    /* Sidebar anzeigen wenn aktiv */
    .sidebar.active {
        visibility: visible !important;
        transform: translateX(0) !important;
        display: block !important;
    }

    /* Content volle Breite */
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }

    /* Dunkles Overlay */
    .sidebar-overlay {
        display: block; /* Existiert, aber unsichtbar */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.8);
        backdrop-filter: blur(5px);
        z-index: 1999;
        opacity: 0;
        pointer-events: none; /* Klickt durch wenn unsichtbar */
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    /* Animation: Burger zu X */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
    
}