/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,sans-serif;
    background:#f5f5f5;
    color:#222;
    line-height:1.6;
    overflow-x:hidden;
}


/* ==========================
HEADER
========================== */

.header{
    background:#151515;
    height:85px;
    padding:0 40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:sticky;
    top:0;
    z-index:999;
}


/* ==========================
LOGO
========================== */

.logo{
    display:flex;
    align-items:center;
}

.logo a{
    display:block;
}

.logo img{
    width:240px;
    height:auto;
    display:block;
    object-fit:contain;
}


/* ==========================
NAVIGATION
========================== */

.nav{
    display:flex;
    gap:30px;
    margin-left:auto;
    margin-right:30px;
}

.nav a{
    color:white;
    text-decoration:none;
    font-size:14px;
    font-weight:bold;
    text-transform:uppercase;
    transition:.3s;
}

.nav a:hover{
    color:#ff6600;
}


/* ==========================
HEADER CONTACT HOMEPAGE
========================== */

.header-contact{
    display:flex;
    flex-direction:column;
    gap:4px;
    text-align:right;
    margin-left:20px;
}

.header-contact a{
    color:white;
    text-decoration:none;
    font-size:14px;
    transition:.3s;
}

.header-contact a:hover{
    color:#ff6600;
}


/* ==========================
BUTTONS
========================== */

.btn,
.call-btn{
    display:inline-block;
    padding:12px 24px;
    text-decoration:none;
    border-radius:5px;
    font-weight:bold;
    border:none;
    cursor:pointer;
    transition:.3s;
}

.orange,
.call-btn{
    background:#ff6600;
    color:white;
}

.orange:hover,
.call-btn:hover{
    background:#e05a00;
}

.outline{
    background:transparent;
    border:2px solid white;
    color:white;
    margin-left:10px;
}

.home .mobile-call{
    display:none;
}


/* ==========================
MOBILE MENU BUTTON
========================== */

.menu-btn{
    display:none;
    font-size:32px;
    background:none;
    border:none;
    color:white;
    cursor:pointer;
}


/* ==========================
HERO
========================== */

.hero{
    background:#5c5553;
    min-height:550px;
    padding:70px;
    display:flex;
    align-items:center;
    color:white;
}

.hero-content{
    max-width:700px;
}

.hero h1{
    font-size:65px;
    line-height:1.1;
    margin-bottom:20px;
    text-transform:uppercase;
}

.hero h1 span{
    display:block;
    color:white;
}

.hero h1 strong{
    display:block;
    color:#ff6600;
}

.hero p{
    font-size:20px;
    max-width:550px;
}

.hero-buttons{
    margin-top:35px;
}


/* ==========================
LABELS
========================== */

.label{
    color:#ff6600;
    font-weight:bold;
    text-transform:uppercase;
    margin-bottom:10px;
}


/* ==========================
INTRO
========================== */

.intro{
    padding:80px 30px;
    background:white;
    text-align:center;
}

.intro h2{
    font-size:40px;
    margin-bottom:20px;
}

.intro p{
    max-width:700px;
    margin:auto;
}

.home .intro h2{
    font-size:42px;
    margin-bottom:25px;
}

.home .intro p{
    max-width:850px;
    font-size:18px;
    line-height:1.9;
}


/* ==========================
PAGE TITLES
========================== */

.page-title{
    background:white;
    padding:70px;
    text-align:center;
}

.page-title h1{
    font-size:45px;
}


/* ==========================
SERVICES
========================== */

.services{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    padding:40px;
    background:white;
}

.card{
    padding:30px;
    background:white;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    text-align:center;
    transition:.3s;
}

.card:hover{
    transform:translateY(-6px);
}

.icon{
    font-size:45px;
    margin-bottom:15px;
}

.card h3{
    margin-bottom:15px;
}


/* ==========================
PROJECTS
========================== */

.projects{
    padding:50px;
    background:white;
}

.project-card{
    padding:30px;
    margin-bottom:35px;
    background:#fafafa;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.project-card h2{
    margin-bottom:20px;
}

.before-after{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-bottom:20px;
}

.before-after div{
    position:relative;
}

.before-after span{
    position:absolute;
    top:15px;
    left:15px;
    background:#ff6600;
    color:white;
    padding:6px 12px;
    border-radius:5px;
    font-weight:bold;
}

.before-after img{
    width:100%;
    border-radius:10px;
    display:block;
}
/* ==========================
PROJECT SLIDER
========================== */

.project-slider-card p{
    margin-bottom:20px;
    color:#444;
}

.project-slider{
    position:relative;
    overflow:hidden;
    border-radius:12px;
    background:#f5f5f5;
    aspect-ratio:16 / 9;
    display:flex;
    align-items:center;
    justify-content:center;
}

.slider-track{
    display:flex;
    width:100%;
    height:100%;
    transition:transform .4s ease;
}

.slider-track img{
    min-width:100%;
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    background:white;
}

.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:5;
    width:44px;
    height:44px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,.6);
    color:white;
    font-size:34px;
    line-height:1;
    cursor:pointer;
    transition:.3s;
}

.slider-btn:hover{
    background:#ff6600;
}

.slider-btn.prev{
    left:15px;
}

.slider-btn.next{
    right:15px;
}

@media(max-width:1000px){

    .project-slider{
        aspect-ratio:4 / 3;
    }

}

@media(max-width:600px){

    .project-slider{
        aspect-ratio:4 / 3;
    }

    .slider-btn{
        width:38px;
        height:38px;
        font-size:28px;
    }

}
/* ==========================
ABOUT PAGE
========================== */

.about-page{
    background:#151515;
    padding:70px;
    display:grid;
    grid-template-columns:1fr 1.3fr;
    gap:50px;
    align-items:center;
    color:white;
}

.about-page img{
    width:100%;
    border-radius:10px;
}

.about-page h1{
    font-size:45px;
    margin-bottom:20px;
}

.about-page h2{
    margin-top:30px;
    color:#ff6600;
}

.about-page ul{
    margin-top:15px;
    padding-left:20px;
}

/* Fix white gap on Über mich page */
.about-page{
    min-height:calc(100vh - 85px - 90px);
}
/* ==========================
CONTACT PAGE
========================== */

.contact-page{
    background:#5c5553;
    padding:70px;
    display:grid;
    grid-template-columns:1fr 1.3fr;
    gap:50px;
    align-items:center;
    color:white;
}

.contact-info{
    max-width:450px;
}

.contact-info h1{
    font-size:45px;
    margin-bottom:30px;
}

.contact-info p{
    margin-bottom:25px;
    font-size:18px;
    line-height:1.8;
}


/* CONTACT IMAGE */

.contact-image{
    display:flex;
    justify-content:center;
    align-items:center;
}

.contact-image img{
    width:100%;
    max-width:500px;
    height:auto;
    opacity:.95;
    transition:.4s;
}

.contact-image img:hover{
    transform:scale(1.04);
}


/* MOBILE CONTACT */

@media(max-width:900px){

    .contact-page{
        grid-template-columns:1fr;
        text-align:center;
    }

    .contact-image{
        margin-top:40px;
    }

    .contact-image img{
        max-width:300px;
    }

}


/* ==========================
FOOTER
========================== */

.footer{
    background:#151515;
    padding:25px;
    text-align:center;
    color:white;
}


/* ==========================
TABLET
========================== */

@media(max-width:1000px){

    .logo img{
        width:180px;
    }

    .call-btn{
        display:none;
    }

    .home .header-contact{
        display:none;
    }

    .menu-btn{
        display:block;
    }

    .nav{
        display:none;
        position:absolute;
        top:85px;
        left:0;
        width:100%;
        padding:25px;
        background:#151515;
        flex-direction:column;
        text-align:center;
        margin:0;
    }

    .nav.active{
        display:flex;
    }

    .services{
        grid-template-columns:repeat(2,1fr);
    }

    .about-page,
    .contact-page{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:45px;
    }

}


/* ==========================
MOBILE
========================== */

@media(max-width:600px){

    .header{
        padding:0 20px;
    }

    .logo img{
        width:140px;
    }

    .hero{
        padding:40px 25px;
        min-height:450px;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:17px;
    }

    .services{
        grid-template-columns:1fr;
        padding:25px;
    }

    .before-after{
        grid-template-columns:1fr;
    }

    .about-page,
    .contact-page{
        padding:40px 25px;
        text-align:center;
    }

    .contact-image img{
        max-width:300px;
    }

    .outline{
        margin-left:0;
        margin-top:10px;
    }

    .home .mobile-call{
        display:inline-block;
    }

    .home .hero-buttons{
        display:flex;
        flex-direction:column;
    }

    .home .hero-buttons a{
        width:100%;
        text-align:center;
    }

    .home .outline{
        margin-left:0;
        margin-top:12px;
    }

    .home .intro h2{
        font-size:30px;
    }

    .home .intro p{
        font-size:16px;
    }

}

/* ==================================
SERVICES PAGE ONLY
================================== */

.services-page .header-contact{

    display:flex;
    flex-direction:column;

    gap:4px;

    text-align:right;

    margin-left:20px;

    flex-shrink:0;
}

.services-page .header-contact a{

    color:white;

    text-decoration:none;

    font-size:14px;

    line-height:1.3;

    transition:.3s;

    white-space:nowrap;
}

.services-page .header-contact a:hover{

    color:#ff6600;
}


/* Services Seite etwas aufwerten */

.services-page .page-title{

    padding:90px 30px;
}

.services-page .page-title h1{

    max-width:800px;

    margin:auto;
}


.services-page .icon{

    font-size:55px;

    margin-bottom:20px;
}


.services-page .card{

    padding:35px;

    border-radius:15px;
}


.services-page .card p{

    color:#666;

    font-size:15px;
}


/* Tablet */

@media(max-width:1000px){

    .services-page .header-contact{

        display:none;
    }

}


/* Mobile */

@media(max-width:600px){

    .services-page .page-title h1{

        font-size:32px;
    }

    .services-page .icon{

        font-size:42px;
    }

}

.floating-contact-btn{
    position:fixed;

    right:25px;

    top:35%;

    transform:translateY(-50%);

    z-index:1000;

    background:#ff6600;
    color:white;

    padding:12px 18px;

    border-radius:50px;

    text-decoration:none;

    font-size:14px;
    font-weight:bold;

    box-shadow:0 6px 18px rgba(0,0,0,.25);

    transition:.3s;
}

.floating-contact-btn:hover{

    background:#e05a00;

    transform:
            translateY(-50%)
            translateX(-5px);
}


/* Mobile */

@media(max-width:600px){

    .floating-contact-btn{

        right:10px;

        top:30%;

        padding:10px 14px;

        font-size:12px;

    }

}

/* ==========================
LEGAL PAGES
========================== */

.legal-page{
    background:#f5f5f5;
    padding:70px 25px;
}

.legal-content{
    max-width:900px;
    margin:0 auto;
    background:white;
    padding:50px;
    border-radius:14px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.legal-content h1{
    font-size:42px;
    margin-bottom:30px;
}

.legal-content h2{
    font-size:24px;
    margin-top:35px;
    margin-bottom:12px;
    color:#151515;
}

.legal-content p{
    margin-bottom:18px;
    color:#333;
}

.legal-content a{
    color:#ff6600;
    text-decoration:none;
    font-weight:bold;
}

.legal-content a:hover{
    text-decoration:underline;
}

.footer a{
    color:white;
    text-decoration:none;
}

.footer a:hover{
    color:#ff6600;
}
.footer {
    text-align: center;
    padding: 20px;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    margin: 0 8px;
}

.footer-links a:hover {
    text-decoration: underline;
}


/* Mobile Legal Pages */

@media(max-width:600px){

    .legal-page{
        padding:40px 20px;
    }

    .legal-content{
        padding:30px 22px;
    }

    .legal-content h1{
        font-size:32px;
    }

    .legal-content h2{
        font-size:21px;
    }

}