* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: underline;
    color: inherit;
}

html{
    overscroll-behavior: none;
    width: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    background: #0d0d0d;
    color: #e5e5e5;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==== BASIS NAV ==== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(13, 13, 13, 0.5);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav.scrolled {
    background: rgba(13, 13, 13, 0.98);
    padding-top: 15px;
    padding-bottom: 15px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    height:5vh;
}

/* ==== LOGO ==== */
.logo {
    height: 60%;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 100%;  
    width: auto;   
    display: block;
}

/* ==== NAV LINKS DESKTOP ==== */
.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links-mobile {
    display: none;
}

.nav-links a {
    color: #b8b8b8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 300;
    letter-spacing: 1px;
}

@media (hover: hover) and (pointer: fine) {

    .nav-links a:hover {
        color: #ff8c42;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 1px;
        background: #ff8c42;
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

}

/* ==== HAMBURGER BUTTON ==== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==== MOBILE STYLES ==== */
@media (max-width: 768px) {

    nav {
        padding: 20px 20px;
    }

    .nav-container {
        width: 100%;
    }

    .nav-links {
        display: none;
    }

    .nav-links-mobile {
        position: fixed;
        top: -5vh;
        left: 0;
        height: 110vh;
        width: 100%;
        background: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        z-index: 2000;
        display: flex;
        list-style: none;
        gap: 40px;
    }

    .nav-link{
        padding: 20px 50px;
        color: #b8b8b8;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        font-weight: 300;
        letter-spacing: 1px;
    }

    .nav-links-mobile.open {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }

}


/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(13, 13, 13, 0.7) 0%, rgba(25, 25, 25, 0.7) 100%),
        radial-gradient(circle at 30% 70%, rgba(45, 45, 45, 0.3) 0%, transparent 50%);
    overflow: hidden;
}

@keyframes subtlePulse {
    0% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

.hero-content {
    z-index: 2;
    position: relative;
}

.heroimg{
    width: 15%;
    margin: 20px auto;
}

@media (max-width: 1024px) {
    .heroimg{
        width: 25%;
    }
}

@media (max-width: 768px) {
    .heroimg{
        width: 50%;
    }
}


.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #b8b8b8;
    font-weight: 300;
    letter-spacing: 1px;
}

.cta-button {
    padding: 15px 40px;
    background: transparent;
    border: 1px solid #ff8c42;
    border-radius: 0;
    color: #ff8c42;
    font-weight: 300;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {

    .cta-button:hover {
        background: #ff8c42;
        color: #0d0d0d;
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(255, 140, 66, 0.3);
    }

}

/* Video Background Placeholder */
.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

@keyframes subtleShift {

    0%,
    100% {
        transform: translateX(-2px);
    }

    50% {
        transform: translateX(2px);
    }
}

/* Section Styles */
section {
    display: flex;
    /* Flexbox aktivieren */
    align-items: center;
    /* vertikal zentrieren */
    justify-content: center;
    /* horizontal zentrieren */
    text-align: center;
    /* Text mittig */
    flex-direction: column;
    /* Inhalte untereinander */
}

#about, #gallery, #contact, #home {
    scroll-margin-top: calc(5vh + 40px); 
  }
  

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
    font-weight: 100;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 50px auto;
    width: 60%;
    padding: 80px 60px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 1024px) {
    .about {
        width: 90%;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.portrait-image{
    width: 100%;
    max-width: 300px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}


.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b8b8b8;
    text-align: center;
    max-width: 700px;
}

.about-text p {
    margin-bottom: 25px;
}

b{
    font-weight: heavy;
}

/* Gallery Section */
.gallery {
    width: 70%;
    margin: 50px auto;
    text-align: center;
}

/* Mute Button */

.mute-button {
    position: fixed; 
    bottom: 50px;
    right: 50px;
    font-size: 18px;
    background: transparent;
    border: 1px solid #ff8c42;
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s ease;
    z-index: 1000;
    opacity: 0;
}

.mute-button:hover {
    box-shadow: 0 0 5px #ff8c42;
}

@media (max-width: 768px) {
    .mute-button{
        bottom: 20px;
        right: 20px;
        background-color: #0d0d0d;

    }

    .mute-button:hover{
        box-shadow: none;
    }
}



/* Carousel */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-grid {
    display: flex;
    overflow: hidden;
    gap: 30px;
    width: 100%;
    scroll-behavior: smooth;
}

.gallery-item {
    flex: 0 0 calc(33.33% - 20px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform: scale(0.9);

}

.gallery-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Aktives Video */
.gallery-item.active {
    flex: 0 0 calc(33.333% - 20px);
    transform: scale(1);


}

.nav-btn {
    background: transparent;
    border: none;
    color: #ff8c42;
    font-size: 1.8rem;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
}


/* Pagination */
.gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.gallery-pagination .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #555;
    transition: background 0.3s ease;
}

.gallery-pagination .dot.active {
    background: #ff8c42;
}

/* Mobile & Tablet */
@media (max-width: 1024px) {

    .gallery{
        width: 60%;
    }

    .carousel-container {
        gap: 0;
    }

    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 0;
        margin: 0;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .gallery-item {
        flex: 0 0 100%;
        scroll-snap-align: center;
        transform: scale(1) !important; /* immer aktiv */
    }

    .gallery-item.active {
        flex: 0 0 100%;
        scroll-snap-align: center;
        transform: scale(1) !important; /* immer aktiv */
    }

    .nav-btn {
        display: none;
    }
}

@media (max-width: 768px) {

    .gallery{
        width: 80%;
    }

}

/* Contact Section */
.contact {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 60%;
    margin: 50px auto;
    padding: 80px 60px;
    text-align: center;
}

.contact-form {
    width: 80%;
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 1024px) {
    .contact-form {
        width: 80%;
    }

    .contact {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .contact-form {
        width: 100%;
    }
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin: 0;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 7px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 300;
}

/* Autofill-Styles überschreiben */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: white;
}

input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    -webkit-text-fill-color: white !important;
}

input:-moz-autofill {
    box-shadow: 0 0 0px 1000px transparent inset !important;
    -moz-text-fill-color: white !important;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #ff8c42;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 1.2rem;
    transform: scale(1.2);
    accent-color: rgb(255, 140, 66);
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: rgb(255, 140, 66);
    border-color: rgb(255, 140, 66);
}

.checkbox-group a {
    color: white;
    transition: color 0.3s ease-in;
}
.checkbox-group a:hover {
    color: #ff8c42;
}

.checkbox-group label{
   text-transform: none;
   color: gray;

}

.form-group textarea:focus {
    border-color: #ff8c42;
}

.submit-btn {
    width: 50%;
    margin: 0 25%;
    padding: 15px;
    background: transparent;
    border: 1px solid #ff8c42;
    color: #ff8c42;
    font-weight: 300;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .submit-btn {
        width: 100%;
        margin: 0;
    }
}

@media (hover: hover) and (pointer: fine) {

    .submit-btn:hover {
        background: #ff8c42;
        color: #0d0d0d;
        box-shadow: 0 10px 30px rgba(255, 140, 66, 0.3);
    }

}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 60px 50px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.social-links a {
    color: #b8b8b8;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 10px;
}

/* SVGs in Footer */
.social-links a img.footer-icon {
    width: 1.5rem;          
    filter: brightness(0) saturate(0%) invert(33%) sepia(0%) hue-rotate(0deg);
    transition: filter 0.3s ease, transform 0.3s ease;
}


@media (hover: hover) and (pointer: fine) {

    .social-links a:hover img.footer-icon {
        transform: scale(1.1);
        filter: brightness(0) saturate(0%) invert(100%) sepia(0%) hue-rotate(0deg);
        }

}

footer p {
    color: #666;
    font-weight: 300;
    letter-spacing: 1px;
}

.footer-links {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9em;
}

.footer-links a {
    text-decoration: none;
    margin: 0 5px;
    color: #666;
    border-bottom: 2px solid transparent; /* für die „Unterstreichung“ */
    transition: border-bottom 0.3s ease; /* smooth transition */
}




/* Responsive Design */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 60px 20px;
    }

    .about,
    .contact {
        margin: 20px auto;
        padding: 50px 30px;
    }

    .about-content {
        gap: 30px;
    }

    .about-image {
        width: 250px;
        height: 250px;
    }

    .section-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 140, 66, 0.6);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 140, 66, 0.8);
}

/* Anfangszustand */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

/* Klasse für Animation */
.fade-in.show {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}