
/* =======================================
   WAECHTER-MEDIA style.css
======================================= */


/* ---------- Grundeinstellungen ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0d0d0d;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    animation: fadeIn 1s ease;
}


/* ---------- Header ---------- */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(8px);
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
}

.logo img {
    display: block;
    width: clamp(150px, 30vw, 380px);
    max-height: 85px;
    height: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 28px;
    letter-spacing: 5px;
}

.logo p {
    color: #c9a227;
    letter-spacing: 6px;
    font-size: 13px;
}


/* ---------- Navigation ---------- */

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 35px;
}

nav a {
    text-decoration: none;
    color: white;
    transition: .3s;
    font-size: 16px;
    letter-spacing: 1px;
}

nav a:hover {
    color: #c9a227;
}


/* ---------- Hero / Slider ---------- */

.hero {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 800;
    overflow: hidden;
    margin-top: 180px;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    animation: crossfade 45s infinite;
}


/* Zeitversetzter Bildwechsel */

.slider img:nth-child(1) { animation-delay: 0s; }
.slider img:nth-child(2) { animation-delay: 5s; }
.slider img:nth-child(3) { animation-delay: 10s; }
.slider img:nth-child(4) { animation-delay: 15s; }
.slider img:nth-child(5) { animation-delay: 20s; }
.slider img:nth-child(6) { animation-delay: 25s; }
.slider img:nth-child(7) { animation-delay: 30s; }
.slider img:nth-child(8) { animation-delay: 35s; }
.slider img:nth-child(9) { animation-delay: 40s; }


/* Überblendung */

@keyframes crossfade {
    0% {
        opacity: 0;
    }

    3% {
        opacity: 1;
    }

    14.28% {
        opacity: 1;
    }

    17.28% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}


/* Hero Overlay */

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.45);
    z-index: 1;
}


/* ---------- Hero Text ---------- */

.hero-text {
    position: relative;
    text-align: center;
    padding: 10px 15px;
    width: 100%;
    margin: 0;
}

.hero-text h2 {
    font-size: 22px;
    letter-spacing: 2px;
    line-height: 1.3;
}


/* ---------- Buttons ---------- */

.button {
    display: inline-block;
    margin-top: 35px;
    padding: 16px 45px;
    border: 2px solid #c9a227;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: .4s;
}

.button:hover {
    background: #c9a227;
    color: black;
}

.hero-text .button {
    font-size: 14px;
    padding: 10px 20px;
    margin-top: 20px;
}


/* ---------- Bereiche ---------- */

.about {
    padding: 20px 30px 0 30px;
}

.about h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #c9a227;
}

.about p {
    margin: auto;
    
}


/* ---------- Profiltext ---------- */

.profile-text {
    padding: 20px 30px 0 30px;
}

/* ---------- Profilimage ---------- */

.profile-image {
    width: 100%;
    max-width: 100%;
}



.about-profile {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.profile-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
 }   
/* ---------- Leistungen ---------- */

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    padding: 10px 60px 60px;
}

.service {
    background: #181818;
    overflow: hidden;
    transition: .4s;
    border: 1px solid #2b2b2b;
    padding: 10px;
    text-align: center;
}

.service:hover {
    transform: translateY(-10px);
}

.service img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.service img:hover {
    transform: scale(1.08);
}

.service h3 {
    padding: 25px;
    text-align: center;
    font-size: 26px;
}


/* ---------- Zitat ---------- */

.quote {
    padding: 40px 10%;
    text-align: center;
    background: #111;
}

.quote h2 {
    font-size: 42px;
    font-style: italic;
    font-weight: 300;
    color: #c9a227;
}


/* ---------- CTA ---------- */

.cta {
    padding: 40px 10%;
    text-align: center;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 35px;
}


/* ---------- Footer ---------- */

footer {
    background: black;
    padding: 50px;
    text-align: center;
}

.footer {
    text-align: center;
}

.footer p {
    margin: 12px 0;
    color: #999;
}

.footer-nav {
    margin-top: 20px;
}

.footer-nav a {
    color: #999;
    text-decoration: none;
    margin: 0 15px;
    transition: .3s;
}

.footer-nav a:hover {
    color: #c9a227;
}


/* ---------- Mobile Navigation ---------- */

.menu-icon {
    display: none;
    font-size: 35px;
    cursor: pointer;
    color: #c9a227;
}

#menu-toggle {
    display: none;
}


/* =======================================
   RESPONSIVE EINSTELLUNGEN
======================================= */


/* ---------- Tablet und kleinere Bildschirme ---------- */

@media (max-width: 900px) {

    header {
        flex-direction: column;
        padding: 20px;
    }

    .logo h1 {
        font-size: 26px;
        letter-spacing: 4px;
    }

    .logo p {
        font-size: 12px;
        letter-spacing: 4px;
    }

    .menu-icon {
        display: block;
        flex-shrink: 0;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 20px;
    }

    nav li {
        margin: 10px;
    }

    .hero {
        height: auto;
        min-height: 0;
        aspect-ratio: 1920 / 800;
        margin-top: 180px;
        overflow: hidden;
    }

    .slider {
        width: 100%;
        height: 100%;
    }

    .slider img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .hero-text {
        position: relative;
        width: 100%;
        padding: 20px 10px;
        transform: none;
        top: auto;
        left: auto;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 32px;
        letter-spacing: 2px;
        line-height: 1.3;
    }

    .about h2 {
        font-size: 32px;
    }

    .quote h2 {
        font-size: 30px;
    }

    .cta h2 {
        font-size: 32px;
    }

    .services {
        padding: 25px;
    }

    .service img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }

    .service h3 {
        padding: 10px 15px;
        margin-top: 0;
        font-size: 22px;
    }

    .profile-text {
        padding: 0 20px;
    }
}


/* ---------- Smartphone ---------- */

@media (max-width: 500px) {

    .logo img {
        width: 160px;
        max-height: 55px;
    }

    .hero-text h2 {
        font-size: 14px;
        letter-spacing: 1px;
        line-height: 1.2;
        opacity: .5;
    }

    .hero-text .button {
        font-size: 11px;
        padding: 5px 12px;
        margin-top: 8px;
    }

    .service h3 {
        padding: 10px 15px;
        margin-top: 0;
        font-size: 20px;
    }

    .services {
        grid-template-columns: minmax(0, 1fr);
        padding: 10px;
    }

    .service {
        min-width: 0;
    }
}


/* ---------- Sehr kleine Smartphones ---------- */

@media (max-width: 330px) {

    .logo img {
        width: 135px;
        max-height: 48px;
    }
}


/* ---------- Footer Navigation Smartphone ---------- */

@media (max-width: 700px) {

    .footer-nav a {
        display: block;
        margin: 12px;
    }
}


/* ---------- Mobile Navigation Menü ---------- */

@media (max-width: 900px) {

    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        display: none;
    }

    .mobile-nav ul {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .mobile-nav li {
        margin: 15px;
    }

    #menu-toggle:checked + .menu-icon + .mobile-nav {
        display: block;
    }
}


/* ---------- Fade-In Animation ---------- */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
