@font-face {
    font-family: 'Fredoka One';
    src: url('FredokaOne-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #f4f7f6;
    --card-bg: rgba(255, 255, 255, 0.7);
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --accent-green: #5eb344;
    --accent-blue: #90cff3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fredoka One', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    animation: float 25s infinite alternate cubic-bezier(0.5, 0, 0.5, 1);
    opacity: 0.4;
}

.blob.green {
    width: 50vw;
    height: 50vw;
    background: var(--accent-green);
    top: -20%;
    left: -20%;
}

.blob.blue {
    width: 60vw;
    height: 60vw;
    background: var(--accent-blue);
    bottom: -30%;
    right: -20%;
    animation-delay: -12s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, 10vh) scale(1.1); }
}

/* Layout */
.page-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media(min-width: 900px) {
    .page-layout {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }
}

.container {
    flex: 1;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Glassmorphism */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(94, 179, 68, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Hero Section */
.hero {
    text-align: center;
    position: relative;
    padding-bottom: 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-green), var(--accent-blue), transparent);
    z-index: 1;
}

.logo-container {
    perspective: 1000px;
    margin-bottom: 2.5rem;
}

.logo {
    width: 220px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
}

h1 {
    font-size: clamp(1.2rem, 4vw, 3rem);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    white-space: nowrap;
}

h1 .ev {
    font-size: clamp(1rem, 2.5vw, 2rem);
    color: var(--accent-green);
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--accent-blue);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Typography & Content */
h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    font-weight: 600;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30%;
    height: 3px;
    background: var(--accent-green);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.glass-card:hover h2::after {
    width: 100%;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

/* Buttons */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media(min-width: 600px) {
    .contact-grid {
        flex-direction: row;
    }
}

.cyber-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

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

.cyber-button:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--accent-green);
    box-shadow: 0 4px 15px rgba(94, 179, 68, 0.15);
    transform: translateY(-2px);
}

.cyber-button:hover::before {
    left: 100%;
}

.icon {
    font-size: 1.8rem;
    color: var(--accent-green);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
}

.footer p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.footer:hover h2::after {
    width: 50%; 
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Neue CSS-Klassen für Sidebar, Hero-Image, Events, Impressum */
.sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
    width: 100%;
    z-index: 100;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-green), var(--accent-blue), transparent);
    z-index: 1;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

@media(min-width: 900px) {
    .sidebar {
        width: 300px;
    }
}

.sidebar-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-small {
    width: 100%;
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
    display: block;
    margin: 0 auto;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 12px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-green);
    background: rgba(255,255,255,0.3);
}

.hero-image-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 16px;
}

.event-card {
    background: rgba(255,255,255,0.4);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1rem;
}

.event-images {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.event-img {
    flex: 1;
    min-width: 250px;
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.event-button {
    margin-top: 1rem;
}

.text-left {
    text-align: left;
}

.impressum-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.impressum-text p {
    font-size: 0.95rem;
}
