@media (max-width: 700px) {
    ul, .event-list, .download-list {
        padding-left: 0 !important;
    }
}
@media (max-width: 700px) {
    .main-content h1 {
        margin-top: 18px !important;
    }
}
@media (max-width: 700px) {
    nav {
        margin: 20px 0 0 0;
    }
}
/* Leuchteffekt für Termin-Karte bei Hover */
.termin-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: box-shadow 0.2s, background 0.2s;
}
.termin-link:hover {
    box-shadow: 0 0 8px 2px #ffb30088, 0 0 12px 4px #ffb30044;
    background: #2d3236;
    cursor: pointer;
}
/* Leuchteffekt für Download-Links beim Hover */
.download-list a:hover {
    text-shadow: 0 0 8px #ffb300, 0 0 16px #ffb300;
    color: #fff200;
    transition: text-shadow 0.2s, color 0.2s;
}
/* Download-Liste enger */
.download-list li {
    margin-bottom: 8px;
}
/* Einheitliche Hauptbereichsgröße */

.main-content {
    max-width: 800px;
    min-height: 340px;
    margin: 32px auto;
    background: #2d3236;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 28px 18px 24px 18px;
}

/* Flex-Layout für Event-Liste und Bild */
.event-flex-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
    margin-top: 0;
}
.event-list {
    font-size: 1.05em;
    line-height: 1.8;
    list-style: none;
    padding-left: 40px;
    margin: 0;
    flex: 1 1 0;
}
.event-image {
    margin-right: 40px;
    max-width: 350px;
    width: 100%;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    flex-grow: 0;
    display: block;
}
@media (max-width: 700px) {
    .event-flex-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .event-image {
        margin: 18px 0 0 0;
        max-width: 100%;
        margin-right: 0;
        align-self: center;
    }
}


body {
    background-color: #23272a;
    color: #f5f6fa;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}
header {
    background: #181a1b;
    padding: 30px 0 10px 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: relative;
}
header img {
    max-width: 220px;
    margin-bottom: 10px;
}
nav {
    margin: 0 0 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
nav a {
    color: #f5f6fa;
    text-decoration: none;
    margin: 0 18px;
    font-size: 1.2em;
    font-weight: 500;
    transition: color 0.2s;
    padding: 6px 10px;
    border-radius: 8px;
}
nav a:hover {
    color: #ffb300;
    background: #23272a;
}
.nav-home:hover {
    color: inherit;
    background: none;
}
footer {
    text-align: center;
    color: #b2bec3;
    padding: 18px 0 10px 0;
    font-size: 0.95em;
    background: #181a1b;
    margin-top: 40px;
    border-radius: 0 0 12px 12px;
}
.social-icons {
    margin-top: 0;
    display: inline-flex;
    gap: 4px;
    align-items: center;
}
.social-icons a {
    margin: 0;
    padding: 0;
}
.social-icons img {
    width: 36px;
    height: 36px;
    margin: 0 2px;
    vertical-align: middle;
    filter: none;
    transition: filter 0.2s;
}
.social-icons img:hover {
    filter: brightness(1.18) drop-shadow(0 0 6px #ffb300);
}
.nav-home img {
    transition: filter 0.2s;
}
.nav-home:hover img {
    filter: drop-shadow(0 0 4px #25D366) brightness(1.15);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
nav .social-icons {
    margin-left: 18px;
}
.nav-toggle {
    display: none;
}
.button {
    display: inline-block;
    background: #ffb300;
    color: #23272a;
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    margin-top: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
    transition: background 0.2s, color 0.2s;
}
.button:hover {
    background: #ff8800;
    color: #181a1b;
}

.mobile-br { display: none; }

@media (max-width: 700px) {
    .mobile-br { display: block; }
    .main-content {
        max-width: 98vw;
        padding: 22px 6vw;
        margin: 18px 0;
        border-radius: 0;
        box-shadow: none;
    }
    /* Header: eine Zeile — [Home] [Logo] [Hamburger] */
    header {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 6px 12px;
        text-align: left;
    }
    header > img {
        order: 2;
        flex: 1;
        max-width: 110px;
        margin: 0 auto;
        display: block;
    }
    /* nav transparent für Layout — Kinder werden direkte Flex-Kinder des Headers */
    nav {
        display: contents;
    }
    .nav-home {
        order: 1;
        flex: 0 0 auto;
    }
    .nav-toggle {
        order: 3;
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }
    .nav-toggle span {
        display: block;
        width: 26px;
        height: 3px;
        background: #f5f6fa;
        border-radius: 2px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        align-items: center;
        padding: 8px 0 12px 0;
        gap: 2px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #181a1b;
        z-index: 200;
        box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    }
    nav.nav-open .nav-links {
        display: flex;
    }
    nav.nav-open .social-icons {
        margin-left: 0;
        margin-top: 8px;
    }
    nav a {
        font-size: 1em;
        margin: 0 8px;
        padding: 6px 6px;
    }
    .button {
        padding: 10px 16px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 12px 2vw 12px 2vw;
    }
    header {
        padding: 4px 8px;
    }
    header > img {
        max-width: 80px;
    }
    nav a {
        font-size: 0.98em;
        margin: 0 2px;
        padding: 4px 4px;
    }
    .button {
        padding: 8px 10px;
        font-size: 0.98em;
    }
    .social-icons img {
        width: 28px;
        height: 28px;
        margin: 0 4px;
    }
    footer {
        font-size: 0.88em;
        padding: 10px 0 6px 0;
    }
}
