/* Galerie-Karte */
.gallery-card {
    background-color: white;
    padding: 40px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Stil für h2 Titel wie auf Index */
.gallery-card h2 {
    color: #8e44ad;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 2em;
}

/* Galerie-Container und Karte bleiben unverändert */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    width: 250px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 10px;
}

/* Hover-Effekt für Bilder in den Karten */
.card img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: 20px auto 20px;
    display: block;
    max-width: 80%;
    max-height: 75%;
}

#caption {
    display: block;
    text-align: center;
    color: white;
    padding: 15px 20px;
    font-size: 1.2em;
    max-width: 80%;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin: 15px auto auto;
}

/* Styling für das Schließen-Button (X) */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ddd; /* Hover-Farbe für das X */
}

.intro-card {
    background-color: #f9f9f9; /* Heller Hintergrund */
    border: 1px solid #ddd; /* Leichter Rahmen */
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
    max-width: 800px; /* Breite, damit es sich gut in der Mitte absetzt */
    text-align: center;
    font-size: 1.1em; /* Leicht vergrößerte Schrift */
    color: #333;
}

