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

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    background-color: #000000;
    position: relative;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    z-index: 20;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eb621a;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Körnung für Navigationsleiste - gleiche Werte wie body */
.top-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.55'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

.top-nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px,
            transparent 2px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px,
            transparent 2px
        );
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: overlay;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    z-index: 20;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eb621a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 21;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: #eb621a;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.top-nav nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.top-nav a {
    color: #eb621a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.top-nav a:hover {
    color: #ff8c00;
}


.logo-container {
    width: 100%;
    height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    padding-top: 70px;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 70px;
}

.logo {
    width: 100%;
    max-width: 100%;
    height: 65vh;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.3));
}

.button-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 2rem;
    z-index: 10;
    pointer-events: none;
    margin-top: -100vh;
    padding-top: calc(100vh - 70px);
    min-height: auto;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    pointer-events: auto;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #eb621a;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    color: #ff8c00;
    transform: scale(1.1);
}

.program-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: transparent;
    color: #eb621a;
    border: 3px solid #eb621a;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.program-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #eb621a;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.program-button:hover {
    color: #000000;
    box-shadow: 0 0 30px rgba(235, 98, 26, 0.6);
}

.program-button:hover::before {
    transform: scale(1);
}

.site-footer {
    width: 100%;
    padding: 1.5rem 1rem 2rem;
    text-align: center;
    color: #eb621a;
    font-size: 0.95rem;
}

.footer-links {
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #eb621a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff8c00;
}

.footer-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    display: block;
    margin: 2rem auto 0;
}

.content-section {
    width: calc(100% - 2rem);
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    color: #f5f5f5;
    text-align: center;
    border: 1px solid #eb621a;
}

.content-section:first-of-type {
    margin-top: 4rem;
}

.content-section h2 {
    color: #eb621a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-align: center !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.content-section p {
    color: #eb621a;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 0;
}

.content-section p a {
    color: #eb621a;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-section p a:hover {
    color: #ff8c00;
}

.veranstaltungsort-images {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-top: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.veranstaltungsort-link {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.veranstaltungsort-link:hover {
    opacity: 0.8;
}

.veranstaltungsort-image {
    width: 400px;
    height: 300px;
    display: block;
    object-fit: contain;
}

.wandel-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 2rem auto;
}

.section-divider {
    width: 40px;
    height: 40px;
    display: block;
    margin: 2rem auto;
    opacity: 0.7;
}

.unterstuetzende-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.logo-link:hover {
    opacity: 0.7;
}

.logo-link img {
    max-width: 200px;
    max-height: 100px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.themen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    width: 100%;
}

.themen-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.themen-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    width: 100%;
}

.themen-link:hover {
    opacity: 0.8;
}

.themen-item h3 {
    color: #eb621a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.themen-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .logo-container {
        height: calc(100vh - 80px);
        padding-top: 80px;
    }
    
    .logo {
        height: 55vh;
    }
    
    .button-section {
        padding: 0.5rem 1rem;
        min-height: calc(45vh - 80px);
        padding-top: calc(100vh - 80px);
    }
    
    .program-button {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icons {
        gap: 1.2rem;
    }

    .site-footer {
        padding: 1.25rem 0.75rem 2rem;
        font-size: 0.85rem;
    }

    .burger-menu {
        display: flex;
    }

    .top-nav nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #000000;
        flex-direction: column;
        align-items: center;
        padding: 0;
        padding-top: 70px;
        padding-bottom: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid #eb621a;
        z-index: 19;
        min-height: 100vh;
        box-sizing: border-box;
    }

    /* Körnung für mobiles Menü - gleiche Werte wie body */
    .top-nav nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.55'/%3E%3C/svg%3E");
        opacity: 0.3;
        pointer-events: none;
        z-index: -1;
    }

    .top-nav nav::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            repeating-linear-gradient(
                0deg,
                rgba(255, 255, 255, 0.06),
                rgba(255, 255, 255, 0.06) 1px,
                transparent 1px,
                transparent 2px
            ),
            repeating-linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.06),
                rgba(255, 255, 255, 0.06) 1px,
                transparent 1px,
                transparent 2px
            );
        opacity: 0.4;
        pointer-events: none;
        z-index: -1;
        mix-blend-mode: overlay;
    }

    .top-nav nav.active {
        transform: translateX(0);
    }

    .top-nav a {
        font-size: 1rem;
        padding: 0.5rem 0;
    }

    .content-section {
        padding: 2.5rem 1rem;
    }

    .themen-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }

    .themen-item h3 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        max-width: 180px;
    }

    .content-section h2 {
        max-width: 100%;
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .themen-item img {
        max-width: 250px;
    }

    .unterstuetzende-logos {
        gap: 2rem;
        margin-top: 2rem;
    }

    .logo-link img {
        max-width: 150px;
        max-height: 80px;
    }

    .veranstaltungsort-image {
        width: 300px;
        height: 225px;
    }
}

@media (max-width: 600px) {
    .veranstaltungsort-images {
        flex-direction: column;
    }

    .veranstaltungsort-image {
        width: 100%;
        max-width: 250px;
        height: auto;
    }

    .themen-grid {
        grid-template-columns: 1fr;
    }
}

/* Körniger Hintergrund mit Noise-Textur */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.55'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

/* Alternative: Körnung mit CSS-Filter (für bessere Browser-Kompatibilität) */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px,
            transparent 2px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px,
            transparent 2px
        );
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

