body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f8f8; /* Helle Hintergrundfarbe */
    color: #333;
}
.section-heading {
    color: #2c3e50; /* Dunkelblauer Ton für Überschriften */
    font-weight: 700;
}
.btn-primary {
    background-color: #3498db; /* Blauer Ton für primäre Buttons */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #2980b9; /* Dunklerer Blauton beim Hover */
}
.btn-secondary {
    background-color: #2ecc71; /* Grüner Ton für sekundäre Buttons */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}
.btn-secondary:hover {
    background-color: #27ae60; /* Dunklerer Grünton beim Hover */
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    padding: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}
/* Stil für die Nachrichtenbox */
.message-box {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}
.message-box.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.message-box.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* Stil für die Bildergalerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.gallery-item {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    cursor: pointer; /* Zeigt an, dass es anklickbar ist */
}
.gallery-item:hover {
    transform: translateY(-5px);
}
.gallery-item img {
    width: 100%;
    height: 200px; /* Feste Höhe für die Bilder */
    object-fit: cover; /* Bilder zuschneiden, um den Bereich zu füllen */
    display: block;
}

/* Stil für das Vollbild-Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dunkler, transparenter Hintergrund */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Über allen anderen Elementen */
    backdrop-filter: blur(5px); /* Leichte Unschärfe für den Hintergrund */
}
.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    overflow: auto; /* Wichtig: Inhalt, der über max-width/height hinausgeht, wird abgeschnitten */
    box-sizing: border-box; /* Stellt sicher, dass Padding in max-width/height enthalten ist */
}
.modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Bild vollständig anzeigen */
    border-radius: 0.75rem;
    box-shadow: none; /* Kein doppelter Schatten */
    flex-grow: 1; /* Erlaubt dem Bild, den verfügbaren Platz auszufüllen */
    flex-shrink: 1; /* Erlaubt dem Bild, bei Bedarf zu schrumpfen */
    min-height: 0; /* Wichtig für Flex-Items, um unter ihre Inhaltsgröße zu schrumpfen */
}
.modal-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem; /* Größeres X */
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s ease;
}
.modal-close-button:hover {
    color: #ccc;
}
/* Stil für den Prozess-Bereich */
.process-step {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease-in-out;
}
.process-step:hover {
    transform: translateY(-5px);
}
.process-step img {
    width: 100%;
    height: 180px; /* Feste Höhe für Prozessbilder */
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}
.process-step h3 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}
.process-step p {
    font-size: 0.95rem;
    color: #555;
}
/* Stil für Terminkarten */
.date-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.date-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}
.date-card p {
    color: #555;
    margin-bottom: 1rem;
}
.date-card .btn-primary {
    margin-top: auto; /* Sorgt dafür, dass der Button unten ist */
}
/* Gallery Scroller */
@media (max-width: 640px) {
  .gallery-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
  }
  .gallery-item {
    flex: 0 0 70%;
    max-width: 70%;
    scroll-snap-align: start;
  }
  .gallery-item img {
    height: 180px; /* was 200px; a bit shorter on phones */
  }
}
