:root {
    --primary: #9c27b0;
    --secondary: #ff4081;
    --dark: #121212;
    --light: #f5f5f5;
    --accent: #e040fb;
    --ffxiv-gold: #ffd700;
    --shadow: 0 10px 30px rgba(156, 39, 176, 0.4);
    --neon-glow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(156, 39, 176, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(224, 64, 251, 0.15) 0%, transparent 50%);
    background-attachment: fixed;
}
@font-face {
    font-family: 'Orbitron';
    src: url('Orbitron.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/*  Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
    border: 2px solid var(--dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Custom Cursor -  Style */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(224, 64, 251, 0.7);
    border: 2px solid var(--light);
    transform: translate(-50%, -50%);
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 99999;
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
    filter: drop-shadow(0 0 5px var(--accent));
}

.cursor-follower {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(156, 39, 176, 0.2);
    border: 1px solid var(--accent);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.4s ease, width 0.4s ease, height 0.4s ease;
    filter: drop-shadow(0 0 5px var(--primary));
}

.cursor.active {
    width: 30px;
    height: 30px;
    background: rgba(255, 64, 129, 0.8);
}

.cursor-follower.active {
    width: 70px;
    height: 70px;
    background: rgba(255, 64, 129, 0.2);
}

/* Hero Section -  Style */
.hero {
    position: relative;
    height: 50vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(156, 39, 176, 0.5) 100%);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, 
        var(--primary), 
        var(--accent), 
        var(--secondary), 
        var(--primary));
    z-index: 1;
    animation: scanline 3s linear infinite;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.6) contrast(1.2) hue-rotate(-10deg);
}

.hero-content {
    text-align: center;
    padding: 2rem;
    max-width: 1900px;
    margin: 0 auto;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    color: var(--light);
    text-shadow: var(--neon-glow);
    margin-bottom: 1rem;
    letter-spacing: 4px;
    animation: textGlow 2s ease-in-out infinite alternate;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: scanline 3s linear infinite;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: var(--light);
    text-shadow: 0 0 10px rgba(224, 64, 251, 0.7);
    letter-spacing: 2px;
}

.hero .cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    transition: all 0.4s ease;
    z-index: -1;
}

.hero .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 64, 251, 0.6);
}

.hero .cta-button:hover::before {
    left: 0;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 10px var(--primary), 0 0 20px rgba(156, 39, 176, 0.5); }
    100% { text-shadow: 0 0 20px var(--primary), 0 0 40px rgba(156, 39, 176, 0.8), 0 0 60px rgba(156, 39, 176, 0.5); }
}

@keyframes scanline {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

/*  Navigation */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(224, 64, 251, 0.3);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--primary);
}

.logo:hover {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent);
}

.logo::before {
    content: '⬡';
    font-size: 1.8rem;
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    position: relative;
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
}

.nav-link.active::before {
    width: 100%;
}

/* Main Content Sections -  Grid */
section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
}

#startseite {
    grid-template-columns: repeat(2, 1fr);
}

#events {
    grid-template-columns: repeat(2, 1fr);
}

#social {
    grid-template-columns: 1fr;
}

#kontakt {
    grid-template-columns: 1fr;
}

#ueber-uns {
    grid-template-columns: 1fr;
}

.section-title {
    grid-column: 1 / -1;
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    color: var(--light);
    position: relative;
    display: block;
    width: 100%;
    left: auto;
    transform: none;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--primary), transparent);
    animation: scanline 4s linear infinite;
}

.section-title::before {
    content: '';
    position: absolute;
    left: -30px;
    color: var(--accent);
    font-family: 'Courier New', monospace;
}

/*  Text Boxes */
.text-box {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(40, 40, 50, 0.8) 100%);
    border: 2.5px solid;
    border-image: linear-gradient(135deg, var(--accent) 0%, var(--primary) 50%, rgba(224, 64, 251, 0.5) 100%) 1;
    border-radius: 15px;
    padding: 2.5rem;
    margin: 0;
    width: 100%;
    text-align: left;
    box-shadow: 0 12px 40px rgba(156, 39, 176, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(156, 39, 176, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.text-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(156, 39, 176, 0.1) 0%, 
        rgba(224, 64, 251, 0.05) 50%, 
        transparent 100%);
    z-index: -1;
}

.text-box:hover {
    box-shadow: 0 18px 50px rgba(156, 39, 176, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.text-box h2, .text-box h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    position: relative;
}

.text-box h2::after, .text-box h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.text-box p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(245, 245, 245, 0.9);
}

.text-box ul {
    list-style-type: none;
    margin: 2rem 0;
}

.text-box ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: rgba(245, 245, 245, 0.9);
}

.text-box ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
}

/*  Social Box */
.social-box {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(40, 40, 50, 0.8) 100%);
    border: 2.5px solid;
    border-image: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%) 1;
    border-radius: 15px;
    padding: 2.5rem;
    margin: 0;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(156, 39, 176, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-box p, .social-box li, .social-box a {
    color: #fff !important;
}
.social-box, .social-box * {
    color: #fff !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.social-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--accent), var(--primary));
    z-index: -1;
    animation: borderGlow 4s linear infinite;
    background-size: 400%;
}

.social-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.9);
    z-index: -1;
}

.social-box h2 {
    color: var(--light);
    margin-bottom: 2rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.social-box ul {
    display: flex;
    justify-content: center;
    gap: 3rem;
    list-style: none;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-box a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(156, 39, 176, 0.3), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.social-box a:hover {
    color: var(--accent);
    border-color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
    transform: translateY(-3px);
}

.social-box a:hover::before {
    left: 100%;
}

.social-box img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 5px var(--primary));
    transition: all 0.3s ease;
}
.social-box p {
    color: var(--light);
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    font-family: 'Rajdhani', sans-serif;
    opacity: 0.95;
    display: block;
}

.social-box li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.7em;
    /* Optional für bessere Lesbarkeit: */
    background: rgba(156,39,176,0.07);
    border-radius: 8px;
    padding: 0.4em 0.8em;
}
.social-box a:hover img {
    filter: drop-shadow(0 0 8px var(--accent));
    transform: scale(1.1);
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/*  Contact Form */
form {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(40, 40, 50, 0.8) 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(156, 39, 176, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--accent), var(--primary));
    z-index: -1;
    animation: borderGlow 4s linear infinite;
    background-size: 400%;
}

form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.9);
    z-index: -1;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

input, textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid var(--primary);
    border-radius: 0;
    color: var(--light);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(224, 64, 251, 0.5);
}

textarea {
    min-height: 200px;
    resize: vertical;
}

button[type="submit"] {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 0;
    color: var(--light);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.5);
}

button[type="submit"]::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: all 0.5s ease;
    z-index: -1;
}

button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 64, 251, 0.6);
}

button[type="submit"]:hover::before {
    left: 100%;
}

/*  Footer */
footer {
    background: rgba(18, 18, 18, 0.95);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--primary);
    position: relative;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    animation: scanline 3s linear infinite;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
}

.copyright {
    font-size: 1rem;
    color: rgba(245, 245, 245, 0.7);
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
}

.footer-link:hover::after {
    width: 100%;
}

/* Container für Rosen */
.ambient-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

/* Einzelne Rose */
.ambient-particle {
    position: absolute;
    font-size: 24px;
    animation: float linear infinite;
    opacity: 0;
    filter: drop-shadow(0 0 2px rgba(255, 0, 100, 0.5));
}

.ambient-particle::before {
    content: "🌸";
}

/* Animation */
@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* Manuell mehrere Rosen platzieren */
.ambient-particle:nth-child(1) {
    left: 10%;
    animation-duration: 10s;
    animation-delay: 0s;
}

.ambient-particle:nth-child(2) {
    left: 30%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.ambient-particle:nth-child(3) {
    left: 50%;
    animation-duration: 8s;
    animation-delay: 4s;
}

.ambient-particle:nth-child(4) {
    left: 70%;
    animation-duration: 11s;
    animation-delay: 6s;
}

.ambient-particle:nth-child(5) {
    left: 90%;
    animation-duration: 9s;
    animation-delay: 8s;
}

/*  Grid Overlay - DISABLED */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    display: none;
}

/*  Event Section */
.events-section {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(40, 40, 50, 0.8) 100%);
    border: 2.5px solid;
    border-image: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) 1;
    border-radius: 15px;
    margin: 0;
    width: 100%;
    color: var(--light);
    box-shadow: 0 12px 40px rgba(156, 39, 176, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--accent), var(--primary));
    z-index: -1;
    animation: borderGlow 4s linear infinite;
    background-size: 400%;
}

.events-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.9);
    z-index: -1;
}

.events-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--light);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
}

.events-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.event-card {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9) 0%, rgba(50, 50, 60, 0.8) 100%);
    border-left: 4px solid var(--accent);
    border-right: 4px solid var(--primary);
    border-top: 1px solid rgba(224, 64, 251, 0.2);
    border-bottom: 1px solid rgba(156, 39, 176, 0.2);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.2);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(156, 39, 176, 0.1) 0%, 
        rgba(224, 64, 251, 0.05) 50%, 
        transparent 100%);
    z-index: -1;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(156, 39, 176, 0.4);
    border-left: 3px solid var(--primary);
    border-right: 3px solid var(--accent);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.event-header h3 {
    font-size: 1.8rem;
    color: var(--light);
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.event-description p {
    font-size: 1.1rem;
    color: rgba(245, 245, 245, 0.9);
    margin: 0 0 1.5rem 0;
    line-height: 1.7;
}

.event-dates {
    margin-top: 1.5rem;
}

.event-dates h4 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.event-dates ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.event-dates ul li {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(156, 39, 176, 0.2);
    border-left: 3px solid var(--accent);
}

.event-dates ul li::before {
    content: '⏱';
    margin-right: 0.5rem;
    color: var(--accent);
}

.event-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.event-actions a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--light);
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.event-actions a::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: all 0.5s ease;
    z-index: -1;
}

.event-actions a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(224, 64, 251, 0.5);
}

.event-actions a:hover::before {
    left: 100%;
}

/*  Mitgliederliste */
.mitglied-liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    justify-items: center;
    padding: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.mitglied {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(40, 40, 50, 0.8) 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1.8rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(156, 39, 176, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 280px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.mitglied::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--accent), var(--primary));
    z-index: -1;
    animation: borderGlow 4s linear infinite;
    background-size: 400%;
}

.mitglied::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.9);
    z-index: -1;
}

.mitglied:hover {
    box-shadow: 0 15px 40px rgba(156, 39, 176, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-bottom: 2rem;
    border: 4px solid var(--primary);
    object-fit: cover;
    transition: all 0.3s ease;
    filter: grayscale(30%) contrast(1.1);
    box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
}

.mitglied:hover .avatar {
    border-color: var(--accent);
    filter: grayscale(0%) contrast(1.2);
    box-shadow: 0 0 30px rgba(224, 64, 251, 0.7);
}

.mitglied h3 {
    font-size: 1.8rem;
    color: var(--light);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.rang {
    font-size: 1.3rem;
    color: var(--accent);
    margin-top: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.rang::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

/*  Responsive Design */
@media (max-width: 1024px) {
    .mitglied-liste {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    section {
        grid-template-columns: 1fr;
        padding: 3rem 1rem;
    }
    
    #startseite {
        grid-template-columns: 1fr;
    }
    
    #events {
        grid-template-columns: 1fr;
    }
    
    .text-box, .social-box, .events-section {
        padding: 2rem;
    }
    
    .hero {
        min-height: 700px;
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .mitglied-liste {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 600px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .event-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .event-actions a {
        width: 100%;
        text-align: center;
    }
    
    form {
        padding: 2rem 1rem;
    }
}

/*  Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 1s ease;
}

.loading-logo {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 2rem;
    text-shadow: var(--neon-glow);
    animation: pulse 2s infinite alternate;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(245, 245, 245, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    animation: loading 3s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }


}

.status-container {
        background: #1e1e1e;
        color: #e0e0e0;
        border-radius: 12px;
        max-width: 800px;
        margin: 2rem auto;
        padding: 2rem;
        font-family: 'Segoe UI', system-ui, sans-serif;
    }

    .status-header {
        color: #ffb86c;
        font-size: 2rem;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .server-table {
        width: 100%;
        border-collapse: collapse;
        margin: 1.5rem 0;
        background: #2a2a2a;
        border-radius: 8px;
        overflow: hidden;
    }

    .server-table th {
        background: #333;
        color: #ffb86c;
        padding: 1rem;
        text-align: left;
    }

    .server-table td {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #3d3d3d;
    }

    .status-indicator {
        display: inline-block;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin-right: 0.5rem;
    }

    .status-stable { background: #50fa7b; }
    .status-down { background: #ff5555; }
    .status-warning { background: #f1fa8c; }

    .ranking-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .ranking-box {
        background: #333;
        padding: 1rem;
        border-radius: 6px;
        text-align: center;
    }

    .ranking-value {
        font-size: 1.5rem;
        color: #ffb86c;
        font-weight: bold;
        margin-top: 0.5rem;
    }

    .update-footer {
        text-align: right;
        color: #888;
        margin-top: 1.5rem;
        font-size: 0.9rem;
    }

    @media (max-width: 600px) {
        .status-container { padding: 1rem; }
        .server-table td, .server-table th { padding: 0.5rem; }
        .ranking-container { grid-template-columns: 1fr; }
    }
    #ad-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #ffeb3b 0%, #ffd700 100%);
    color: #222;
    text-align: center;
    padding: 12px 10px;
    z-index: 9999;
    font-weight: bold;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: transform 0.4s, opacity 0.4s;
    border-top: 2px solid rgba(255,255,255,0.4);
}
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(34,34,34,0.98);
    color: #fff;
    text-align: center;
    padding: 18px 10px 14px 10px;
    z-index: 10000;
    font-size: 1.08rem;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.18);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    transition: transform 0.4s cubic-bezier(.4,2,.6,1), opacity 0.4s;
}
#cookie-banner.hide {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    display: none;
}
#cookie-banner .cookie-text {
    display: inline-block;
    margin-right: 10px;
    max-width: 700px;
    text-align: left;
}
#cookie-ok-btn {
    background: linear-gradient(90deg,#4caf50 60%,#43a047 100%);
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 8px 28px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(76,175,80,0.18);
    transition: background 0.2s, transform 0.2s;
}
#cookie-ok-btn:hover {
    background: linear-gradient(90deg,#43a047 60%,#388e3c 100%);
    transform: scale(1.07);
}
@media (max-width: 600px) {
    #cookie-banner {
        flex-direction: column;
        font-size: 0.98rem;
        gap: 10px;
        padding: 14px 6px 10px 6px;
    }
    #ad-banner {
        font-size: 0.98rem;
        padding: 10px 6px;
    }
}
.counter-box {
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.95) 0%, rgba(40, 40, 55, 0.85) 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(156, 39, 176, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 2rem 1rem 1.5rem 1rem;
    margin: 0;
    width: 100%;
    text-align: center;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    animation: counterFadeIn 1.2s cubic-bezier(.4,2,.6,1);
    grid-column: 1 / -1;
}

.counter-title {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 2rem;
    letter-spacing: 1px;
    text-shadow: 0 0 4px var(--accent); /* Weniger Glow */
    font-family: 'Orbitron', sans-serif;
}

.counter-number {
    font-size: 4rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    text-shadow: 0 0 8px var(--accent), 0 0 12px var(--primary); /* Weniger Glow */
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    line-height: 1.1;
    animation: counterPop 1.2s cubic-bezier(.4,2,.6,1);
    background: linear-gradient(90deg, var(--primary) 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-desc {
    color: var(--light);
    margin-top: 0.3rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-family: 'Rajdhani', sans-serif;
    opacity: 0.85;
}
