/* Globale Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    background: #ff6a00;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #e05d00;
}

/* Navigation */
header {
    background: #1a1a1a;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span {
    color: #ff6a00;
}

nav {
    display: flex;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #ff6a00;
}

/* Slider System */
.slider-container {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    background: #000;
}

.slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    max-width: 800px;
    padding: 20px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* Slider Pfeile */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    border-radius: 5px;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: #ff6a00;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Info Sektion */
.info-section {
    padding: 60px 10%;
    text-align: center;
    background: #fff;
}

.info-section p {
    max-width: 700px;
    margin: 20px auto 0 auto;
    font-size: 1.1rem;
    color: #555;
}

/* Galerie & Seiten-Header */
.page-header {
    background: #2a2a2a;
    color: white;
    text-align: center;
    padding: 60px 10%;
}

.page-header h1 { font-size: 3rem; margin-bottom: 10px; }
.page-header p { color: #ccc; }

.gallery-section {
    padding: 60px 10%;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 280px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Kontakt */
.contact-section {
    padding: 80px 10%;
    background: #f1f1f1;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
}

footer a {
    color: #ff6a00;
    text-decoration: none;
}

/* --- BURGER MENÜ (MOBIL) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a1a1a;
        flex-direction: column;
        align-items: center;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        margin: 0;
        border-bottom: 1px solid #2a2a2a;
    }

    nav.active {
        max-height: 300px; 
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: #ff6a00;
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: #ff6a00;
    }

    .slide-content h1 { font-size: 2.2rem; }
    .slide-content p { font-size: 1rem; }
    .slider-arrow { padding: 10px; font-size: 1.2rem; }
}
/* --- LIGHTBOX SYSTEM --- */

/* Versteckt den Text auf der normalen Galerieseite */
.hidden-description {
    display: none;
}

/* Der dunkle Hintergrund für das große Fenster */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

/* Macht die Lightbox sichtbar */
.lightbox.show {
    opacity: 1;
    pointer-events: auto;
}

/* Das weiße Inhaltsfenster für Bild + Text */
.lightbox-content {
    background: #fff;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    overflow-y: auto; /* Erlaubt Scrollen, falls der Text sehr lang ist */
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Der Textbereich unter dem großen Bild */
.lightbox-text {
    padding: 25px;
    color: #333;
}

.lightbox-text h3 {
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 12px;
    border-bottom: 2px solid #ff6a00;
    padding-bottom: 5px;
}

.lightbox-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Schließen-Button (X) */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #ff6a00;
}

/* Mobile Anpassung für das Infofenster */
@media (max-width: 480px) {
    .lightbox-content {
        max-height: 95vh;
    }
    .lightbox-text h3 { font-size: 1.3rem; }
    .lightbox-text p { font-size: 0.9rem; }
}
.legal-page h2 { text-align: left; font-size: 1.4rem; margin-top: 25px; margin-bottom: 10px; color: #1a1a1a; }
.legal-page h3 { font-size: 1.1rem; margin-top: 15px; margin-bottom: 5px; color: #333; }
.legal-page p { margin-bottom: 15px; color: #555; }
