@charset "UTF-8";
html {
  overflow-y: scroll;
}
body {
    background: #1A1A1A url('images/background-pattern.webp') top left repeat;
    padding: 0;
    margin: 0;
    font: 14px/18px 'Arial', Helvetica, sans-serif;
    color: #FFFFFF; /* Helle Schrift für Lesbarkeit */
}

/* Menü */
#menu {
    background: rgba(0, 0, 0, 0.8); /* Transparenter schwarzer Hintergrund */
    border-bottom: #FFD700 2px solid; /* Goldene Akzentlinie */
}
#menu a {
    color: #FFD700;
    text-transform: uppercase;
    padding: 20px 25px 14px 25px;
    line-height: 42px;
    font-weight: bold;
    display: inline-block;
    border-left: none;
    border-right: none;
}
#menu a:hover, #menu a.active {
    background: #FFD700;
    color: #1A1A1A;
}
#header{ background:url(images/header4.webp) top right no-repeat; width:950px; margin:0 auto;}
/* Logo */
#logo {
    position: relative;
    background: rgba(0, 0, 0, 0.6); /* Leicht transparenter schwarzer Hintergrund */
    padding: 20px;
    display: inline-block;
    border-radius: 10px; /* Abgerundete Ecken */
}
#logo img {
    display: block;
    max-width: 100%;
    height: auto;
}
.leftMainbox {
    position: relative; /* Standardposition */
    width: 200px;
    padding: 10px;
    border-radius: 8px;
}

/* Fancybox Thumbnail Anpassung */
.fancybox__thumbs .carousel__slide .fancybox__thumb::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-width: 5px;
    border-style: solid;
    border-color: #FFD700 !important; /* Goldene Umrandung */
    opacity: 1; /* Sichtbar */
    transition: opacity .15s ease, border-color .15s ease; /* Sanfter Übergang */
    border-radius: var(--fancybox-thumbs-border-radius, 4px);
}
/* Fancybox-Buttons einfärben */
.carousel__button svg {
  color: #FFD700; /* Goldfarben */
  transition: fill 0.2s ease;
}

.carousel__button:hover svg {
  color: #FFFFFF; /* Weiß beim Hover */
}
.compensate-for-scrollbar {
    padding-right: inherit !important;
}
/* Cokkies */
.cookie-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%; /* Ganze Breite */
    background: rgba(0, 0, 0, 0.85); /* Dunkler mit Transparenz */
    color: #FFD700; /* Goldene Schrift */
    padding: 15px 20px;
    text-align: center;
    z-index: 1000;
    border-top: 2px solid #FFD700; /* Goldene Linie */
}

.cookie-container p {
    display: inline-block;
    margin: 0;
    font-size: 14px;
}

.cookie-container a {
    color: #FFD700; /* Goldene Farbe für den Link */
    text-decoration: underline;
    font-weight: bold;
}

.cookie-container a:hover {
    color: #fff; /* Weiß beim Hover */
}

.cookie-container button {
    background: #FFD700;
    color: #1A1A1A;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 3px;
    margin-left: 15px;
}

.cookie-container button:hover {
    background: #fff;
}

/* Begrüßungsbereich */
#welcome {
    background: rgba(0, 0, 0, 0.7); /* Schwarzer, leicht transparenter Hintergrund */
    color: #FFFFFF; /* Helle Schriftfarbe */
    padding: 20px;
    width: 900px; /* Feste Breite */
    max-width: 100%; /* Für mobile Geräte */
    margin: 20px 0 20px 0; /* Zentrierung */
    border-radius: 8px; /* Runde Ecken */
    border: 1px solid #FFD700; /* Goldener Rahmen */
    box-sizing: border-box; /* Sorgt für saubere Abstände */
    text-align: left; /* Text linksbündig */
    line-height: 1.6; /* Angenehmer Zeilenabstand */
}

#welcome h2 {
    font-size: 24px; /* Größere Überschrift */
    color: #FFD700; /* Goldene Überschrift */
    margin-bottom: 15px; /* Abstand nach unten */
}

#welcome h3 {
    font-size: 18px; /* Mittlere Überschrift */
    color: #FFFFFF; /* Weiße Schrift */
    margin-top: 20px; /* Abstand nach oben */
}

#welcome p {
    margin: 10px 0; /* Abstand oben und unten */
    font-size: 16px; /* Angenehme Schriftgröße */
    color: #E0E0E0; /* Hellgrauer Text */
}

#welcome a {
    color: #FFD700; /* Goldene Links */
    text-decoration: underline; /* Unterstrich für Links */
}

#welcome a:hover {
    color: #FFFFFF; /* Weiße Links beim Hover */
}

#welcome img {
    vertical-align: middle; /* Symmetrisches Bild und Text */
    margin-right: 8px; /* Abstand neben Bildern */
}


iframe {
    width: 100%; /* Passt sich an die Breite des Containers an */
    max-width: 550px; /* Maximale Breite */
    border: 1px solid #ccc; /* Dezenter Rahmen */
    border-radius: 8px; /* Runde Ecken */
    margin-top: 20px; /* Abstand nach oben */
    display: block; /* Verhindert Inline-Darstellung */
}


/* Linke Navigation */
.leftMidnav {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-radius: 8px;
    list-style: none; /* Punkte entfernen */
    width: 200px; /* Feste Breite */
}
.leftMidnav li {
    margin: 5px 0;
    background: rgba(0, 0, 0, 0.8); /* Etwas dunkler als der Hintergrund */
    padding: 10px;
    border-radius: 5px;
}
.leftMidnav li::marker {
    content: none; /* Entfernt Markierungen */
}
.leftMidnav a {
    color: #FFD700;
    font-weight: bold;
    display: block;
    padding: 10px;
}
.leftMidnav a.active {
    background: #FFD700; /* Markierung für aktuelle Seite */
    color: #1A1A1A;
    border-radius: 5px;
}
.leftMidnav a:hover {
    color: #FFFFFF;
    text-decoration: none;
}
.leftMidnav a.active:hover {
    color: #1A1A1A; /* Schriftfarbe bleibt gleich für aktive Links */
text-decoration: underline; /* Unterstrich bleibt beim Hover auf aktiven Links */
}



/* Footer */
#footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    text-align: center;
    border-top: #FFD700 2px solid;
}
#footer a {
    color: #FFD700;
}
#footer a:hover {
    color: #FFFFFF;
}
#footer p {
    margin: 10px 0 0 0; /* Abstand zum Text darüber */
    font-size: 14px; /* Größe des Texts */
    color: #FFFFFF; /* Weiße Schrift */
}

/* Standard/Desktop-Ansicht */
.desktop-spacer {
  height: 100%;
  min-height: 224px;
}
.desktop-spacer2 {
  height: 100%;
  min-height: 312px;
}
.desktop-spacer3 {
  height: 100%;
  min-height: 66px;
}



        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            justify-items: center;
            padding: 20px;
        }

        .image-container {
            position: relative;
            width: 300px;
            height: 200px;
            overflow: hidden;
            border: 2px solid #FFD700;
            border-radius: 8px;
        }

        .image-container img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 0.5s ease;
        }

        .image-container img.vorher {
            opacity: 0;
        }

        .image-container:hover img.vorher {
            opacity: 1;
        }

        .image-container:hover img.nacher {
            opacity: 0;
        }

        .text-overlay {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.7);
            color: #FFD700;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 16px;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .image-container:hover .text-overlay {
            opacity: 1;
        }

        #error-page {
            text-align: center;
            padding: 50px 20px;
            color: #FFD700;
        }

        #error-page h1 {
            font-size: 3em;
            margin-bottom: 20px;
            color: #FFF;
        }

        #error-page p {
            font-size: 1.5em;
            margin-bottom: 30px;
            color: #E0E0E0;
        }

        #error-page a {
            color: #FFD700;
            text-decoration: none;
            font-size: 1.2em;
            border: 2px solid #FFD700;
            padding: 10px 20px;
            border-radius: 5px;
            transition: all 0.3s ease;
        }

        #error-page a:hover {
            background: #FFD700;
            color: #000;
        }

/* Für WebKit-basierte Browser (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a; /* dunkler Hintergrund passend zur Seite */
}

::-webkit-scrollbar-thumb {
  background-color: #FFD700; /* Gold wie dein Design */
  border-radius: 6px;
  border: 2px solid #1a1a1a; /* dunkler Rand für Kontrast */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #ffea00; /* etwas heller beim Hover */
}
#map-consent {
  background-color: rgba(0, 0, 0, 0.7); /* halbtransparentes Schwarz */
  background: none !important;
  border: 2px solid #FFD700;            /* goldener Rand */
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px #000;
  max-width: 100%;
}

/* Button im Platzhalter */
#map-consent button {
  margin-top: 0.5rem;
  background-color: #FFD700;
  color: #000;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

#map-consent button:hover {
  background-color: #fff;
  color: #000;
}

/* -------------------- Mobile Optimierung -------------------- */
@media only screen and (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }

  /* Desktopteile ausblenden */
  #menu,
  #headerBg,
  td[width="230"],
  td[width="24"] {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
  }

  /* Mobile-Menü sichtbar */
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid #FFD700;
    z-index: 999;
    padding: 10px;
  }

  #menu-toggle {
    display: none;
  }

  #mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

/* Logo + 21er-Schutz nebeneinander im mobilen Header */
.mobile-header-logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

#mobile-logo {
  height: 50px; /* vorher evtl. 40px – etwas größer jetzt */
  width: auto;
}

#mobile-schutzhinweis {
  height: 50px;
  width: auto;
  display: inline-block;
}

  #mobile-menu-toggle {
    font-size: 28px;
    cursor: pointer;
    color: #FFD700;
  }

  #mobile-menu-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    margin-top: 10px;
  }

  #menu-toggle:checked ~ #mobile-menu-links {
    display: flex;
  }

  #mobile-menu-links a {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #FFD700;
    color: #FFD700;
    text-decoration: none;
  }

  #mobile-menu-links a:hover,
  #mobile-menu-links a.active {
    background: #FFD700;
    color: #1A1A1A;
  }

/* Welcome-Bereich sichtbar und mobilfreundlich */
.desktop-welcome #welcome {
  display: block;
  width: 100%;
  margin: 100px auto 20px auto; /* Abstand oben wegen fixiertem Mobile-Menü */
  padding: 15px;
  box-sizing: border-box;
  text-align: center;
}

/* Ergänzen für mobile Darstellung */
#welcome {
  width: 100%;
  max-width: 100vw;
  margin-top: 80px;
  padding: 15px;
  box-sizing: border-box;
  overflow-wrap: break-word;
  min-height: 200px;
}

/* Bildzelle links ausblenden */
#welcome table tr td.welcome-images {
  display: none !important;
}

/* Textzelle auf volle Breite */
#welcome table tr td.welcome-text {
  display: block;
  width: 100% !important;
  text-align: center !important;
  padding: 0 !important;
}

/* Typografie für Mobile */
#welcome h1 {
  color: #FFD700;
}

#welcome p {
  font-size: 14px;
  color: #E0E0E0;
  margin: 10px 0;
  line-height: 1.5;
}

/* Bilder anpassen */
#welcome img {
  max-width: 100%;
  height: auto;
  display: inline;
}

/* Spezielles Bild unten im Welcome (sucht2.png) */
.welcome-bottom-img {
  width: 300px;
  height: auto;
  max-width: 90%;
  display: block;
  margin: 10px auto;
}
  /* Footer sichtbar, einfach */
  #footer {
    padding: 30px 15px;
    text-align: center;
    width: 100% !important;
    box-sizing: border-box;
  }

  #footer table,
  #footer td {
    display: block;
    width: 100% !important;
    text-align: center;
  }

  #footer img {
    display: none;
  }

  #footer p, #footer div {
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
  }

  /* Tabellen allgemein begrenzen */
  table {
    max-width: 100%;
    overflow-x: auto;
  }
  .cookie-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100%;
    padding: 12px 10px;
    font-size: 13px;
    text-align: center;
    background: rgba(0, 0, 0, 0.85);
    color: #FFD700;
    border-top: 2px solid #FFD700;
    box-sizing: border-box;
    z-index: 1000;
  }
.cookie-container button {
    margin: 15px 20px 0 0;
}

  .desktop-spacer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
  }
  .desktop-spacer2 {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
  }
  .desktop-spacer3 {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
  }

}

/* Desktop: mobile Menü ausblenden */
@media only screen and (min-width: 769px) {
  .mobile-menu {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}

@media (hover: none) {
  .image-container img {
    transition: opacity 0.8s ease-in-out;
  }
}
