/* Allgemeine Einstellungen */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #121212;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
	
}

nav {
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            padding: 10px 20px;
            position: absolute;
            top: 0;
            width: 100%;
            z-index: 1000;
        }
        nav .logo {
            margin-left: 20px;
            height: 40px;
            width: auto;
        }
        nav ul {
            list-style: none;
            display: flex;
            gap: 20px;
            margin: 0 auto;
            padding: 0;
        }
        nav ul li {
            display: inline;
        }
        nav ul li a {
            text-decoration: none;
            color: #fff;
            font-weight: bold;
            padding: 8px 15px;
            border-radius: 5px;
            transition: background 0.3s ease;
        }
        nav ul li a:hover {
            background: #3498db;
            color: #fff;
        }
        header {
            position: relative;
           
            color: #ffffff;
            text-align: center;
           
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }
        header .overlay {
            background: rgba(0, 0, 0, 0.6);
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
        }
        @media (max-width: 768px) {
            nav ul {
                flex-direction: column;
                gap: 10px;
            }
            nav {
                flex-direction: column;
                align-items: center;
            }
            nav .logo {
                margin-top: 10px;
				margin-bottom: 10px;
            }
        }
		
.social-logo {
    position: absolute;
    right: 50px; /* Space from the right edge */
    top: 50%; /* Align vertically */
    transform: translateY(-50%); /* Center vertically */
    height: 40px; /* Adjust size */
    width: 40px; /* Adjust size */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-logo:hover {
    transform: translateY(-50%) scale(1.1); /* Maintain vertical alignment on hover */
}


.social-logo-big {
   
    height: 60px; /* Adjust size */
    width: 60px; /* Adjust size */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-logo-big:hover {
    transform:  scale(1.2); /* Maintain vertical alignment on hover */
}

.container {
    width: 90%;
	text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
	position: static;
	overflow: visible;
}


.cta {
    display: inline-block;
    padding: 10px 20px;
    background: #ffffff;
    color: #121212;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.cta:hover {
    transform: scale(1.1);
}


/* Styles for the hamburger menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1100;
    position: relative;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.navbar {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0 auto;
}

.navbar.open {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .navbar {
        display: none;
        flex-direction: column;
        align-items: center;
    }
	
	.social-logo {
     display: none;
	}
}


/* About Section */
#about, #services, #contact, #welcome {
    padding: 60px 20px;
    background: #1e1e1e;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

#welcome{
	margin-top:80px;
	 background: url('images/header.jpg') no-repeat center center/cover;
}
/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service {
    background: #333333;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.service h3 {
    margin-bottom: 10px;
    color: #3498db;
}

/* Kontaktformular */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form input, form textarea, form button {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #444;
    border-radius: 5px;
    background: #222;
    color: #fff;
}

form button {
    background: #3498db;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #2ecc71;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #181818;
    color: #999;
}

/* Animationen */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}


/* E-Mail Box Styling */
.email-box {
    background: #2c2c2c; /* Dunkler Hintergrund für Kontrast */
    border: 2px solid #3498db; /* Hervorhebung durch blaue Umrandung */
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    max-width: 400px;
    margin: 20px auto; /* Zentrierung */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.email-box p {
    margin: 0;
    font-size: 1.2rem;
    color: #ffffff;
    word-break: break-word; /* Für lange Adressen */
}

.email-box a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.email-box a:hover {
    text-decoration: underline;
}

/* Galerie */
.carousel {
    position: relative;
    max-width: 800px;
    margin: 5px auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 10px;
}

.carousel-item {
    flex: 0 0 33.33%; /* Drei Bilder gleichzeitig sichtbar */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel-image {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain; /* Originales Seitenverhältnis beibehalten */
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Vorherige und nächste Bilder */
.carousel-item:not(.active) .carousel-image {
    filter: brightness(50%); /* Verdunkelung */
    transform: scale(0.8); /* Verkleinerung */
}

/* Aktives Bild */
.carousel-item.active .carousel-image {
    filter: brightness(100%);
    transform: scale(1); /* Keine Verkleinerung */
}

/* Hovern */
.carousel-item:hover .carousel-image {
    filter: brightness(100%);
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    position: fixed; /* Detach from the document flow */
    top: 0;
    left: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Ensure it overlays all other elements */
    overflow: hidden; /* Prevent scrollbars while active */
    pointer-events: all; /* Ensure interactions are captured */
}

/* Ensure hidden state doesn't display the lightbox */
.lightbox.hidden {
    display: none;
}

/* Content inside the Lightbox */
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

/* Close button */
.lightbox .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    font-weight: bold;
}
/* Hand cursor for the active carousel image */
.carousel-item.active .carousel-image {
    cursor: pointer;
}

.lightbox .prev,
.lightbox .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10000;
}

.lightbox .prev {
    left: 20px;
}

.lightbox .next {
    right: 20px;
}

.lightbox .prev:hover,
.lightbox .next:hover {
    background: rgba(255, 255, 255, 0.8);
    color: black;
}

.custom-link {
            color: white;
            text-decoration: none;
        }
		
		
		
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3);
}

.cookie-banner p {
    margin: 0;
    font-size: 1rem;
}

.cookie-banner a {
    color: #3498db;
    text-decoration: underline;
}

.cookie-banner button {
    margin-left: 10px;
    padding: 5px 10px;
    font-size: 1rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-banner button:hover {
    background: #2ecc71;
}

.cookie-hidden {
    display: none;
}