/* =========================
   Grundlegende Styles
========================= */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background-color: #dff5df;
    color: #2f4f4f;
}

/* =========================
   Header
========================= */
.header-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    display: block;
    background-color: #cfead9;
}

/* =========================
   Main & Sections
========================= */
main {
    padding: 1rem;
    text-align: center;
    box-sizing: border-box;
    max-width: 900px;
    margin: auto;
}

section {
    margin: 2rem auto;
    max-width: 900px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

section h2 {
    color: #ff9000ff;
}

/* =========================
   Navigation
========================= */
nav {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    overflow-x: auto;
    scrollbar-width: none;
}

nav ul::-webkit-scrollbar {
    display: none;
}

nav li {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s;
    white-space: nowrap;
}

nav li:hover {
    background-color: rgba(200, 230, 200, 0.9);
}

nav a {
    text-decoration: none;
    color: #2f855a;
    font-weight: bold;
}

nav a:hover {
    color: #1b5e20;
}

/* =========================
   Responsive Über-mich
========================= */
@media (max-width: 600px) {
    #ueber-mich > div {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #ueber-mich img {
        margin-bottom: 1rem;
    }
}

/* =========================
   Termine, Angebote, Berichte
========================= */
#termine .termin,
#angebote .angebot,
#berichte .bericht {
    border-bottom: 1px solid #ccc;
    padding: 0.5rem 0;
    text-align: left;
}

#berichte .bericht {
    padding: 0.8rem 0;
    position: relative;
    border-radius: 8px;
    background: rgba(255,255,255,0.95);
    margin-bottom: 8px;
}

/* Einträge: Überschriften */
#termine .termin strong,
#angebote .angebot strong,
#berichte .bericht strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #cc6600;
}

/* =========================
   Buttons „Mehr“ 
========================= */
#mehr-termine-btn,
#mehr-angebote-btn,
#mehr-berichte-btn {
    background-color: #b2e7b5;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(98, 155, 127, 0.4);
    margin-top: 1rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#mehr-termine-btn:hover,
#mehr-angebote-btn:hover,
#mehr-berichte-btn:hover {
    background-color: #8ec291;
    box-shadow: 0 6px 12px rgba(27,94,32,0.6);
}

/* =========================
   Instagram
========================= */
#instagram {
    padding: 40px 20px;
    text-align: center;
}

#instagram h2 {
    color: #ff9000ff;
    margin-bottom: 20px;
}

#instagram .instagram-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#instagram blockquote.instagram-media {
    background: #fff;
    border: 0;
    max-width: 540px;
    width: 100%;
    box-shadow: none;
    border-radius: 8px;
}

/* =========================
   Footer
========================= */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #dff5df;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    font-size: 0.8rem;
    color: #2f4f4f;
    border-top: 1px solid #a0cfa0;
    gap: 1rem;
}

footer .center-text {
    color: #ff9000ff;
    font-weight: bold;
    white-space: nowrap;
    font-size: 1rem;
}

footer a {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

/* =========================
   Lightboxes
========================= */
.berichtelightbox,
.terminelightbox,
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.lightbox.show {
    display: flex;
}

.berichtelightbox-content,
.terminelightbox-content,
.lightbox-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 700px;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
    color: #000;
}

.lightbox-content {
    color: #2f4f4f;
    max-width: 800px;
    padding: 2rem;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.berichtelightbox .close,
.terminelightbox .close,
.lightbox-close {
    position: absolute;
    right: 12px;
    top: 8px;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox img {
    max-width: 100%;
    border-radius: 8px;
    margin: 12px 0;
    display: block;
}

.lightbox-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.lightbox-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: white;
  font-weight: bold;
}

.info-btn {
  background-color: #2d9934; /* grün */
}

.info-btn:hover {
  background-color: #1b5e20;
}

.anmeldung-btn {
  background-color: #dfa247; /* orange */
}

.anmeldung-btn:hover {
  background-color: #946b2e;
}

/* =========================
   Kontaktformular
========================= */
.kontakt-form {
      display: flex;
      flex-direction: column;
      gap: 15px;
      font-family: Arial, sans-serif;
    }

    .form-row {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .form-row label {
      width: 120px;
      font-weight: bold;
      text-align: right;
      padding-top: 8px;
    }

    .form-row input,
    .form-row textarea {
      flex: 1;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 14px;
    }

    .form-actions {
      display: flex;
      justify-content: flex-end;
      margin-top: 10px;
    }

    .form-actions button {
      padding: 10px 20px;
      background: #2d9934;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
    }

    .form-actions button:hover {
      background: #1b5e20;
    }


    .lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    }

    .lightbox-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    }

    /* sanfte Einblendung */
    @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
    }
    .success-title {
    color: #ff9000; /* Orange */
    font-weight: bold;
    font-size: 1.5rem;
    }

    .success-msg {
    color: #000000; 
    font-size: 1.2rem;
    }
