/* --- HEADER- & MENÜSTIL (korrekt übernommen) --- */
/* Header mit Bärenbild und Menü */
header {
    background-color: #f6e6d8;
    padding: 20px;
    text-align: center;
    border-bottom: 5px solid #4C9ED9;
    position: relative; /* Für die absolute Positionierung des Bären */
}

/* Grauer Header, wie in anderen Tabellen */


/* Grauer Header */


/* Verbesserter Kontrast für aktive Menüpunkte */
.menu a.active {
    background-color: #00796B;
    color: #FFFFFF;
    font-weight: bold;
}

/* Footer-Link Anpassungen */
footer a {
    color: #00796B;
    font-weight: 600;
}

/* --- REST AUS V5 --- */

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

/* Dark Mode deaktivieren */
:root {
    color-scheme: light; /* Erzwingt Light Mode in unterstützenden Browsern */
}

/* Globale Stile */
body {
    font-family: 'Comic Neue', sans-serif;
    background-color: #e5dfdc;
    color: #2B2B2B;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    /* Hintergrundgrafik und Farbverlauf */
    background: linear-gradient(to right, #f1e9e5, #e5dfdc, #f1e9e5), url('https://www.transparenttextures.com/patterns/circles.png');
    background-size: cover, 100px 100px;
    background-repeat: no-repeat, repeat;
    background-attachment: fixed;
    -webkit-background-attachment: fixed; /* Für ältere Browser */
    -moz-background-attachment: fixed;
    -o-background-attachment: fixed;
}

main {
    flex: 1;
    position: relative; /* Für die absolute Positionierung von Würfel und Kinderbild */
}

/* Header mit Bärenbild und Menü */
header {
    background-color: #f6e6d8;
    padding: 20px;
    text-align: center;
    border-bottom: 5px solid #4C9ED9;
    position: relative; /* Für die absolute Positionierung des Bären */
}

/* Styling für das Bärenbild */
.header-bear {
    position: absolute;
    top: 24px;
    left: 20px;
    width: 250px;
    height: 220px;
    z-index: 1;
}

/* Styling für das Bärenbild cool */
.header-bear_cool {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 250px;
    height: 220px;
    z-index: 1;
}

/* Styling für das Würfelbild im Body-Bereich */
.body-würfel {
    position: absolute;
    top: 70%;
    right: 50px;
    transform: translateY(-70%);
    width: 200px;
    height: 200px;
    z-index: 1;
}

/* Styling für das Kinderbild im Body-Bereich */
.body-kinder {
    position: absolute;
    top: 70%;
    left: 50px;
    transform: translateY(-70%);
    width: 200px;
    height: 200px;
    z-index: 1;
}

/* Anpassungen für kleinere PC-Bildschirme (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .body-kinder,
    .body-würfel {
        display: none; /* Bilder ausblenden */
    }

    /* Textcontainer anpassen */
    .main-content {
        padding-top: 0; /* Abstand nach oben entfernen */
    }

    .schedule-event {
        margin-bottom: 40px; /* Mehr Abstand zwischen den Terminen */
    }
}

.header-content h1 {
    color: #D32F2F;
    font-size: 2.8em;
    text-shadow: 2px 2px #fff;
    margin-bottom: 15px;
}

.menu {
    margin: 15px 0;
}

.menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.menu li {
    font-size: 1.2em;
}

.menu a {
    text-decoration: none;
    color: #2B4C69;
    padding: 8px 16px;
    border-radius: 10px;
    transition: background-color 0.3s, color 0.3s;
}

.menu a:hover,
.menu a.active {
    background-color: #00796B !important;
    color: #FFFFFF !important;
    font-weight: bold !important;
    padding: 8px 16px !important;

    background-color: #00A884;
    color: #fff;
}

.header-content p {
    color: #2B4C69;
    font-size: 1.3em;
    margin-top: 10px;
}

/* Animationen */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Hauptinhalt */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Kontakt-Bereich */
.contact-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 25px;
    background-color: #f1e9e5;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-container h2 {
    color: #388E3C;
    font-size: 2em;
    margin-bottom: 15px;
}

.contact-container p {
    font-size: 1.1em;
    color: #3A3A3A;
    margin-bottom: 20px;
}

/* Etiketten-Bereich */
.ticket-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 25px;
    background-color: #f1e9e5;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.ticket-container h2 {
    color: #388E3C;
    font-size: 2em;
    margin-bottom: 15px;
}

.ticket-container p {
    font-size: 1.1em;
    color: #3A3A3A;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4682b4;
    font-weight: 700;
}

.form-group input[type="checkbox"] + label {
    display: inline;
    margin-bottom: 0;
    vertical-align: middle;
}

input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #00A884;
    vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #4C9ED9;
    border-radius: 10px;
    font-size: 1.1em;
    background-color: #fff;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus {
    border-color: #D32F2F;
    outline: none;
}


.form-group textarea {
    width: 100% !important;
    padding: 12px !important;
    border: 2px solid #4C9ED9 !important;
    border-radius: 10px !important;
    font-size: 1.1em !important;
    background-color: #fff !important;
    resize: vertical !important;
    min-height: 100px !important;
    transition: border-color 0.3s !important;
    box-sizing: border-box !important;
    display: block !important;
    visibility: visible !important;
}

.form-group textarea:focus {
    border-color: #D32F2F !important;
    outline: none !important;
}

button {
    background-color: #00A884;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #00796B;
    transform: scale(1.05);
}

#contact-message,
#etiketten-message,
#message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    display: none;
    font-size: 1.1em;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

.intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

.intro-text h2 {
    color: #00A884;
    font-size: 2em;
    margin-bottom: 10px;
    text-align: center;
}

.intro-text p {
    font-size: 1.1em;
    color: #3A3A3A;
    text-align: center;
}

.gallery-container {
    max-width: 1200px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    position: relative;
    padding-top: 0;
}

.gallery-item {
    background-color: #f1e9e5;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.gallery-item p {
    font-size: 1em;
    color: #5A5A5A;
    line-height: 1.4;
}

.team-container {
    max-width: 800px;
    margin: 40px auto;
}

.team-card {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    background-color: #f1e9e5;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.team-image {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin: 0 20px;
    object-fit: cover;
    border: 2px solid #4C9ED9;
}

.team-text h2 {
    color: #388E3C;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.team-text p {
    font-size: 1em;
    color: #5A5A5A;
    line-height: 1.4;
}

.team-card:nth-child(even) {
    flex-direction: row-reverse;
}

.schedule-container {
    max-width: 800px;
    margin: 40px auto;
}

.welcome-message {
    background-color: #f1e9e5;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.welcome-message h2 {
    color: #00A884;
    font-size: 2em;
    margin-bottom: 15px;
}

.welcome-message p {
    font-size: 1.1em;
    color: #3A3A3A;
}

.schedule-event {
    background-color: #f1e9e5;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.march-event,
.may-event,
.september-event {
    background-color: #f1e9e5;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.schedule-event h2,
.march-event h2,
.may-event h2,
.september-event h2 {
    color: #388E3C;
    font-size: 2em;
    margin-bottom: 15px;
}

.schedule-event p,
.march-event p,
.may-event p,
.september-event p {
    font-size: 1.1em;
    color: #3A3A3A;
    margin-bottom: 10px;
}

.schedule-event strong,
.march-event strong,
.may-event strong,
.september-event strong {
    color: #4682b4;
    font-weight: 700;
}

.newsletter-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 25px;
    background-color: #f1e9e5;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Breiterer Container nur für die Admin-Seite */
.admin-page .newsletter-container {
    max-width: 1200px; /* Breiter für die Admin-Seite, passend zur .main-content Breite */
}

.newsletter-container h2 {
    color: #388E3C;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.newsletter-container p {
    font-size: 1.1em;
    color: #4A4A4A;
    margin-bottom: 20px;
}

/* AGB Wrapper für zweispaltiges Layout */
.agb-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.agb-column {
    flex: 1;
    min-width: 300px;
    max-width: 750px;
}

.agb-left {
    order: 1;
}

.agb-right {
    order: 2;
}

.privacy-container {
    max-width: 100%;
    margin: 0;
}

.privacy-container h2 {
    color: #388E3C;
    font-size: 2em;
    margin-bottom: 15px;
}

.privacy-container h3 {
    color: #4682b4;
    font-size: 1.5em;
    margin: 20px 0 10px;
}

.privacy-container p {
    font-size: 1.1em;
    color: #3A3A3A;
    margin-bottom: 15px;
}

.privacy-container ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-container li {
    font-size: 1.1em;
    color: #3A3A3A;
    margin-bottom: 5px;
}

footer {
    background-color: #f6e6d8;
    padding: 15px;
    text-align: center;
    border-top: 5px solid #4C9ED9;
}

footer p {
    color: #4A4A4A;
}

footer a {
    color: #D32F2F;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.instagram-button {
    display: inline-block;
    background: linear-gradient(45deg, #D32F2F, #ff4081);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 1em;
    margin-left: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background 0.3s;
    animation: pulse 2s infinite ease-in-out;
}

.instagram-button:hover {
    background: linear-gradient(45deg, #ff4081, #D32F2F);
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .header-bear {
        width: 60px;
        height: 60px;
        top: 5px;
        left: 10px;
    }

    .header-bear_cool {
        width: 60px;
        height: 60px;
        top: 5px;
        right: 10px;
    }
    .body-würfel {
        width: 60px;
        height: 60px;
        right: 10px;
    }
    .body-kinder {
        width: 60px;
        height: 60px;
        left: 10px;
    }
    .header-content h1 {
        font-size: 2em;
    }
    .menu ul {
        flex-direction: column;
        gap: 15px;
    }
    .menu a {
        display: block;
        padding: 10px;
    }
    .intro-text h2 {
        font-size: 1.5em;
    }
    .welcome-message h2,
    .schedule-event h2,
    .ticket-container h2,
    .contact-container h2 {
        font-size: 1.5em;
    }
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .gallery-image {
        height: 300px;
    }
    .team-text h2 {
        font-size: 1.5em;
    }
    .team-card {
        flex-direction: column;
        text-align: center;
    }
    .team-image {
        margin: 0 auto 20px;
    }
    .instagram-button {
        margin-left: 0;
        margin-top: 10px;
        display: block;
    }
}

.logout-button {
    background-color: #388E3C;
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    transition: background-color 0.3s, color 0.3s;
}

.logout-button:hover {
    background-color: #cc3700;
    color: #fff;
}

@media (max-width: 768px) {
    .logout-button {
        display: block;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .body-kinder {
        display: none;
    }
    .body-würfel {
        display: none;
    }
    .header-bear {
        display: none;
    }
    .header-bear_cool {
        display: none;
    }
}

/* Stile für den "Vorsortiert"-Banner */
.vorsortiert-banner {
    position: absolute;
    top: 20px;
    right: 10px;
    background-color: #D32F2F;
    color: white;
    padding: 12px 24px;
    font-size: 1.3em;
    font-weight: bold;
    transform: rotate(45deg);
    transform-origin: center;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

/* Positionierung für jeden Termin */
.schedule-event {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Stile für den "Vorsortiert"-Banner (Mobile) */
@media (max-width: 768px) {
    .vorsortiert-banner {
        top: 10px;
        right: 5px;
        padding: 10px 20px;
        font-size: 1.1em;
    }

    .schedule-event {
        padding: 15px;
    }
}

/* Stile für den "Vorsortiert"-Banner (Sehr kleine Geräte) */
@media (max-width: 480px) {
    .vorsortiert-banner {
        top: 5px;
        right: 3px;
        padding: 8px 16px;
        font-size: 1em;
    }

    .schedule-event {
        padding: 10px;
    }
}

/* Stile für die Anfahrt-Seite */
.anfahrt-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f1e9e5;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.anfahrt-container h2 {
    color: #388E3C;
    font-size: 2em;
    margin-bottom: 20px;
}

.anfahrt-container h3 {
    color: #4682b4;
    font-size: 1.5em;
    margin: 20px 0 10px;
}

.anfahrt-container p {
    font-size: 1.1em;
    color: #3A3A3A;
    margin-bottom: 15px;
}

.anfahrt-container address {
    font-style: normal;
    font-size: 1.2em;
    color: #2B2B2B;
    margin-bottom: 20px;
}

.map-container {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Media Query für mobile Version */
@media (max-width: 768px) {
    .anfahrt-container {
        padding: 15px;
    }

    .anfahrt-container h2 {
        font-size: 1.8em;
    }

    .anfahrt-container h3 {
        font-size: 1.3em;
    }

    .anfahrt-container p {
        font-size: 1em;
    }

    .anfahrt-container address {
        font-size: 1.1em;
    }
}

/* Stile für das Cookie-Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2B2B2B;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    display: none; /* Banner standardmäßig ausblenden */
}

.cookie-banner p {
    margin: 0 0 15px 0;
    font-size: 1em;
}

.cookie-button {
    background-color: #00A884;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-button:hover {
    background-color: #00796B;
}

.privacy-container,
.impressum-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 25px;
    background-color: #f1e9e5;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.privacy-container h2,
.impressum-container h2 {
    color: #388E3C;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.privacy-container p,
.impressum-container p {
    font-size: 1.1em;
    color: #3A3A3A;
    margin-bottom: 15px;
    line-height: 1.6;
}

.privacy-container strong,
.impressum-container strong {
    color: #4682b4;
    font-weight: 700;
}

.privacy-container a,
.impressum-container a {
    color: #D32F2F;
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-container a:hover,
.impressum-container a:hover {
    color: #388E3C;
    text-decoration: underline;
}

/* Stile für das Filtersystem (bereits vorhanden, aber ergänzt) */
.filters {
    margin: -70px auto 20px;
    padding: 0 20px;
    text-align: center;
    background-color: transparent;
    border-radius: 50px;
}

.filters ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.filter-btn {
    padding: 8px 20px;
    margin: -10;
    background-color: #2B4C69;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Comic Neue', sans-serif;
    font-size: 1.1em;
    transition: background-color 0.3s, color 0.3s;
    margin-top: 25px;
}

.filter-btn.active {
    background-color: #00A884;
    color: #fff;
}

.filter-btn:hover {
    background-color: #00796B;
    color: #fff;
}

.team-card.hidden {
    display: none;
}

.team-card.odd {
    flex-direction: row;
}

.team-card.even {
    flex-direction: row-reverse;
}

/* Neue Stile für die Bilder-Seite */
.gallery-container .gallery-item.hidden {
    display: none;
}

/* Lightbox Styling */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
}

.lightbox-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 80vh;
    margin-top: 5%;
    border-radius: 10px;
}

#lightbox-caption {
    color: white;
    font-size: 1.2em;
    margin-top: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #D32F2F;
}

.prev, .next {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    transition: color 0.3s;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    color: #D32F2F;
}

/* Media Query für mobile Version (bereits vorhanden, aber ergänzt) */
@media (max-width: 768px) {
    .filters {
        margin: 5px auto 15px;
        width: 90%;
        padding: 5px 10px;
    }
    .filters ul {
        flex-direction: column;
        gap: 10px;
    }
    .filter-btn {
        width: 100%;
        font-size: 1em;
        padding: 10px;
    }
    .team-card {
        flex-direction: column !important;
        text-align: center;
    }
    .team-image {
        margin: 0 0 20px 0;
    }
}

/* Stile für Passwortfelder (damit sie wie Textfelder aussehen) */
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #4C9ED9;
    border-radius: 10px;
    font-size: 1.1em;
    background-color: #fff;
    transition: border-color 0.3s;
}

input[type="password"]:focus {
    border-color: #D32F2F;
    outline: none;
}

/* Feinere Anpassung für Erfolgs- und Fehlermeldungen */
.success,
.error {
    padding: 12px;
    border-radius: 10px;
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Stile für die Admin-Optionen */
.admin-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.admin-button {
    background-color: #00A884;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1.2em;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-block;
}

.admin-button:hover {
    background-color: #00796B;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .admin-options {
        flex-direction: column;
        gap: 15px;
    }

    .admin-button {
        width: 100%;
        padding: 12px;
    }
}

/* Stile für Buttons und Links mit der Klasse .button */
.button {
    background-color: #00A884;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1.2em;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    transition: background-color 0.3s, transform 0.3s;
}

.button:hover {
    background-color: #00796B;
    transform: scale(1.05);
}

/* Für allgemeine Links in Absätzen (z. B. "Zurück zum Admin-Portal") */
.main-content p a {
    color: #D32F2F;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    background-color: #f6e6d8;
    transition: background-color 0.3s, color 0.3s;
}

.main-content p a:hover {
    background-color: #4C9ED9;
    color: #fff;
}

/* Responsive Anpassung für Buttons */
@media (max-width: 768px) {
    .admin-options {
        flex-direction: column;
        gap: 15px;
    }

    .button {
        width: 100%;
        padding: 12px;
    }
}

/* Stile für die Filterverwaltung */
.filter-form-container {
    max-width: 500px;
    margin: 0 auto 20px;
    padding: 20px;
    background-color: #f1e9e5; /* Hellgelb, wie andere Container */
    border-radius: 15px; /* Konsistenter Border-Radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Konsistenter Schatten */
}

.filters-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.filters-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #f1e9e5; /* Hellgelb */
    border-radius: 15px; /* Konsistenter Border-Radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Konsistenter Schatten */
}

.filters-table th,
.filters-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.filters-table th {
    background-color: #e1dad5; /* Grauer Header, wie in anderen Tabellen */
}

.filters-table .action-buttons a {
    color: #D32F2F; /* Deine Akzentfarbe */
    text-decoration: none;
    margin-right: 10px;
}

.filters-table .action-buttons a:hover {
    text-decoration: underline;
}

/* Stile für die Bilderverwaltung */
.image-upload-container {
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 20px;
    background-color: #f1e9e5; /* Hellgelb */
    border-radius: 15px; /* Konsistenter Border-Radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Konsistenter Schatten */
}

.drop-area {
    border: 2px dashed #4C9ED9; /* Hellblau, wie bei Formularfeldern */
    padding: 20px;
    text-align: center;
    cursor: pointer;
    border-radius: 10px; /* Konsistenter Border-Radius */
    margin-bottom: 20px;
}

.drop-area.highlight {
    border-color: #D32F2F; /* Deine Akzentfarbe */
    background-color: #f0f0f0;
}

.images-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.images-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #f1e9e5; /* Hellgelb */
    border-radius: 15px; /* Konsistenter Border-Radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Konsistenter Schatten */
}

.images-table th,
.images-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.images-table th {
    background-color: #e1dad5; /* Grauer Header */
}

.images-table .action-buttons a {
    color: #D32F2F; /* Deine Akzentfarbe */
    text-decoration: none;
    margin-right: 10px;
}

.images-table .action-buttons a:hover {
    text-decoration: underline;
}
 /* Stil für die "Zurück zum Admin-Portal"-Links und ähnliche Links */
.back-to-portal, a.back-to-users,a.logout-button{
    background-color: #ff4444 !important; /* Rot wie der Abmelde-Button */
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
    font-family: 'Comic Neue', sans-serif;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .filter-form-container {
        padding: 15px;
    }

    .filters-table th,
    .filters-table td {
        padding: 8px;
        font-size: 1em;
    }

    .image-upload-container {
        padding: 15px;
    }

    .drop-area {
        padding: 15px;
    }

    .images-table th,
    .images-table td {
        padding: 8px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .filter-form-container {
        padding: 10px;
    }

    .filters-table th,
    .filters-table td {
        padding: 5px;
        font-size: 0.9em;
    }

    .image-upload-container {
        padding: 10px;
    }

    .drop-area {
        padding: 10px;
    }

    .images-table th,
    .images-table td {
        padding: 5px;
        font-size: 0.9em;
    }
}
.newsletter-plakat-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    margin-top: 40px;
}
.text-link {
    all: unset;
    color: #00A884;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}


.newsletter-container,
.plakat-box {
    flex: 1 1 45%;
    box-sizing: border-box;
}

.plakat-box {
    max-width: 400px;
    margin: 40px auto;
    padding: 25px;
    background-color: #f1e9e5;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.plakat-box h2 {
    color: #388E3C;
    font-size: 1.8em;
    margin-bottom: 15px;
}


.plakat-box h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.plakat-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.plakat-box .plakat-image {
    max-width: 100%;
    height: 300px;      /* Feste Höhe, z.B. halb so groß wie vorher */
    object-fit: contain; /* Bild wird skaliert, ohne verzerrt zu werden */
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


/* Verbesserter Kontrast für aktive Menüpunkte */
.menu a.active {
    background-color: #00796B !important;
    color: #FFFFFF !important;
    font-weight: bold !important;
    padding: 8px 16px !important;

    background-color: #00796B;
    color: #FFFFFF;
    font-weight: bold;
}

/* Label-Kontrastkorrektur */
label[for="privacy"] {
    color: #2B2B2B;
    font-weight: 600;
}

/* Newsletter-Container und Text */
.newsletter-container {
    background-color: #f1e9e5;
}
.newsletter-container p {
    color: #2B2B2B;
}

/* Kontrastreicher Button */
button[type="submit"],
button,
.cookie-button {
    background-color: #00796B;
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 0 0 2px #004D40 inset;
}

/* Hover für Buttons */
button:hover,
.cookie-button:hover {
    background-color: #004D40;
}

/* Footer-Link Anpassungen */
footer a {
    color: #00796B;
    font-weight: 600;
}

footer a:hover {
    color: #004D40;
    text-decoration: underline;
}



/* Buttons aktiv – dunkleres, klar kontrastierendes Grün */
button,
.button,
.filter-btn.active {
    background-color: #00695C !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    
}

/* Sekundäre Buttons */
.filter-btn {
    background-color: #4C9ED9 !important;
    color: #fff !important;
}

/* Button Hover Effekt vereinheitlichen */
button:hover,
.button:hover,
.filter-btn:hover {
    background-color: #004D40 !important;
    color: #FFFFFF !important;
}

/* Strong-Texte wie „Datum“, „Ort“ etc. */
strong {
    color: #2B2B2B !important;
    font-weight: 700 !important;
}

/* AGB, Datenschutz etc. */
a,
a:link,
a:visited {
    color: #00796B !important;
}

a:hover {
    color: #004D40 !important;
    text-decoration: underline !important;
}

/* Newsletter-Begriff */
.newsletter-container h2 {
    color: #004D40 !important;
    font-weight: bold !important;
}

/* Einheitliche Container-H2-Überschriften in Rot */
.ticket-container h2,
.contact-container h2,
.schedule-event h2,
.march-event h2,
.may-event h2,
.september-event h2,
.newsletter-container h2,
.welcome-message h2,
.plakat-box h2 {
    color: #D32F2F !important;
    font-weight: 800 !important;
}

/* Newsletter und Plakat behalten rote H2 */
.newsletter-container h2,
.plakat-box h2 {
    color: #D32F2F !important;
    font-weight: 800 !important;
}

/* Termin-H2s bleiben grün */
.schedule-event h2,
.march-event h2,
.may-event h2,
.september-event h2,
.welcome-message h2,
.ticket-container h2,
.contact-container h2 {
    color: #00796B !important;
    font-weight: 700 !important;
}

