/* Grundlegende Stildefinitionen */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background-color: #007BFF;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    display: inline;
    margin-right: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #FFBF00;
    text-shadow: 0 0 10px #FFBF00;
}

/* Hero Bereich */
#hero {
    background: linear-gradient(to right, #007BFF, #FFBF00);
    padding: 60px;
    text-align: center;
    color: white;
    border-bottom: 5px solid #FFBF00;
}

#hero h1 {
    font-size: 40px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

#hero p {
    font-size: 20px;
    font-weight: lighter;
}

/* Hauptinhalt */
#content {
    padding: 40px 20px;
    background-color: #f5f5f5;
}

#content h2 {
    color: #007BFF;
    font-size: 32px;
    margin-bottom: 20px;
}

#content p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}

/* Buttons */
button, .btn {
    background-color: #FFBF00;
    border: none;
    color: #fff;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover, .btn:hover {
    background-color: #007BFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Event-Grid */
.event-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.event-card {
    width: calc(33.333% - 20px);
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }
    .event-img {
        width: 100%; /* Bild nimmt die volle Breite des Containers */
        height: 250px; /* Feste Höhe für alle Bilder */
        object-fit: cover; /* Schneidet das Bild so zu, dass es den Rahmen füllt */
        border-radius: 10px;
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }
   
     
.event-info {
    padding: 20px;
}

.event-info h4 {
    color: #007BFF;
    font-size: 22px;
    margin-bottom: 10px;
}

.event-info p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Kontaktbereich */
.contact-section {
    background-color: #f5f5f5;
    padding: 40px 20px;
    text-align: center;
    border-top: 5px solid #007BFF;
}

.contact-section h2 {
    color: #007BFF;
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-section p {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.contact-section .btn {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
}

/* Kontaktformular */
.contact-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 40px;
    background-color: #fff;
}

.contact-info, .contact-form {
    width: 48%;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    margin-bottom: 10px;
}

.contact-info a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form h3 {
    color: #007BFF;
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Footer-Styling */
footer {
    background-color: #007BFF; /* Blaue Hintergrundfarbe */
    color: #fff; /* Weißer Text */
    text-align: center;
    padding: 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

/* Container für bessere Struktur */
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Social Media Icons */
.social-media {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.social-icon img {
    width: 30px; /* Icon-Größe */
    height: 30px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover-Effekt für Social Media Icons */
.social-icon img:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Datenschutz & Impressum Links */
.privacy-notice a {
    color: #fff; /* Weißer Text */
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s ease;
}

/* Hover-Effekt für Datenschutz & Impressum */
.privacy-notice a:hover {
    color: #FFBF00; /* Goldene Farbe beim Hover */
    text-decoration: underline;
}


/* Responsive Anpassungen */
@media (max-width: 768px) {
    header nav ul li {
        display: block;
        margin-bottom: 10px;
    }

    #hero h1 {
        font-size: 28px;
    }

    #content h2 {
        font-size: 24px;
    }

    .event-card {
        width: calc(50% - 10px);
    }

    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contact-info, .contact-form {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .event-card {
        width: 100%;
    }
}
/* Stil für den Kontaktbereich */
#contact {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background-color: #f7f7f7;
  }
  
  #contact .container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  #contact h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
  }
  
  #contact p {
    font-size: 1.1rem;
    color: #555;
  }
  
  /* Button - "Jetzt mitmachen und Kontakt aufnehmen" */
  .cta-button {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #FFBF00; /* Gelb */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .cta-button:hover {
    background-color: #007BFF; /* Blau bei Hover */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
  .content-block {
    background-color: #f0f0f0;
    padding: 20px;
    margin: 20px 0;
    border-left: 5px solid #008CBA;
    border-radius: 5px;
  }
  
  ul {
    list-style-type: none;
    padding: 0;
  }
  
  ul li {
    padding: 10px 0;
    font-size: 1.1rem;

/* Container auf volle Breite und Flexbox setzen */
/* Sicherstellen, dass der Container die volle Breite hat */
.container {
    display: flex;
    justify-content: center;  /* Horizontale Zentrierung */
    width: 100%;              /* Container nimmt volle Breite ein */
    padding: 0;               /* Kein zusätzlicher Abstand */
}

/* Flexbox im Container für Bildzentrierung */
.container img {
    width: 80vw;    /* 80% der Bildschirmbreite */
    height: auto;
    max-width: none;
    display: block;   /* Block-Element zur Zentrierung */
    margin: 0 auto;   /* Automatische Ränder für Zentrierung */
}
}     #content {
    text-align: center;
  }
  
  .content-wrapper {
    max-width: 800px; /* Begrenzung der Breite für bessere Lesbarkeit */
    margin: 0 auto; /* Zentriert den Container */
  }
  
  h1, h2, h3, p, ul {
    text-align: center;
  }
  /* Kontaktformular */
.contact-form {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
  }
  
  .contact-form h2 {
    font-size: 2em;
    color: #333;
    text-align: center;
  }
  
  .contact-form label {
    font-size: 1.1em;
    color: #333;
    display: block;
    margin-bottom: 10px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .contact-form button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
  }
  
  .contact-form button:hover {
    background-color: #45a049;
  }
  
  .contact-form a {
    color: #4CAF50;
    text-decoration: none;
  }
  
  .contact-form a:hover {
    text-decoration: underline;
  }
/* Kontakt Sektion */
.contact-section {
    padding: 50px 0;
    background-color: #f7f7f7;
  }
  
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .contact-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
  }
  
  .contact-info,
  .contact-form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 45%;
    margin-bottom: 30px;
  }
  
  .contact-info h2,
  .contact-form h2 {
    font-size: 1.8em;
    color: #333;
  }
  
  .contact-info p {
    font-size: 1.1em;
    color: #555;
  }
  
  .social-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
  }
  
  .social-links li {
    display: inline-block;
  }
  
  .social-links a img {
    width: 30px;
    height: 30px;
  }
  
  .contact-form label {
    font-size: 1.1em;
    color: #333;
    display: block;
    margin-bottom: 10px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .contact-form button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
  }
  
  .contact-form button:hover {
    background-color: #45a049;
  }
  
  @media (max-width: 768px) {
    .contact-wrapper {
      flex-direction: column;
      align-items: center;
    }
  
    .contact-info,
    .contact-form {
      width: 90%;
    }
  }
    