/*==================================================
    MOBILE
==================================================*/

@media (max-width:768px){

    /* Navigation */

    .navbar{

        padding:14px 20px;
    }

    .logo{

        font-size:20px;
    }

    /* Hero */



  .hero{
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-image{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    content: url("../img/hero-mobile.png");
}

.hero-content{
    position: absolute;
    top: 60%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    text-align: center;
    max-width: none;
    padding: 0;
    z-index: 2;
}
.hero h1{
    font-size: 1.8rem;
    line-height: 1.25;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0,0,0,.5);
}

.hero p{
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

.hero-subtitle{
    color: #66b3ff;
    margin-bottom: 16px;
}


    .hero h1{
        font-size:2rem;
    }

    .hero p{
        font-size:1rem;
    }

    .hero-buttons{
        justify-content:center;
        flex-wrap:wrap;
        gap: 10px;
        margin-top: 20px;
    }

    /* Service Cards */

    .services-grid{

        grid-template-columns:1fr;

        gap:20px;
    }

    .service-card{

        padding:30px 25px;
    }

    /* Über mich */

    .about-card{

        padding:80px 25px 35px;
    }

    .profile-image{

        margin-top:-90px;
    }

    .profile-image img{

        width:150px;
        height:150px;
    }

    /* Referenzen */

    .reference-grid{

        grid-template-columns:1fr;
    }

    /* Kontakt */

    .contact-card{

        padding:35px 25px;
    }

    .contact-card h1{

        font-size:2rem;
    }

    form button{

        width:100%;
    }



.burger{

        display:flex;
    
}
/*==================================================
    Mobile Destop Links ausblenden
==================================================*/

    

.nav-links{
    display:none;
}

/*==================================================
    HERO Buttons und Schriften
==================================================*/




   
.hero h1{

    font-size:1.2rem;

    line-height:1.2;
}

.hero p{

    font-size:1rem;

    line-height:1.6;

    margin-bottom:25px;
}

.hero-subtitle{

    font-size:.9rem;
}
.hero-buttons{
    flex-direction:column;
    align-items:center;
}

 .hero-buttons{

        flex-direction:column;
        align-items:center;

    }

    .btn,
    .btn-outline{

        width:240px;

    }

    .page-hero p{
    max-width:320px;
    margin:20px auto 0;
}

.page-hero h1{
    font-size:3rem;
}






/*==================================================
    Impressum
==================================================*/



    .legal-page{

        padding:120px 5px 50px;

    }

    .legal-card{

        padding:30px 25px;

    }

    .legal-card h1{

        font-size:1.5rem;

    }

    .legal-card h2{

        font-size:1.2rem;

    }
    

    .privacy-page{
        padding:100px 15px 40px;
    }

    .privacy-card{
        padding:25px;
        border-radius:18px;
    }

    .privacy-card h1{
        font-size:1.5rem;
    }

    .privacy-card h2{
        font-size:1.2rem;
    }

    .privacy-card p,
    .privacy-card li{
        font-size:.95rem;
    }

   

/*==============================
        Mobile
===============================*/


.cookie-banner{

    flex-direction: column;

    text-align: center;

    padding: 22px;

}

.cookie-buttons{

    width: 100%;

    flex-direction: column;

}

.cookie-btn{

    width: 100%;

}


/* ==========================
   LANGUAGE SWITCHER MOBILE
========================== */



    .language-switcher{
        margin-right:10px;
    }

    .language-btn{

        padding:4px 8px;
        font-size:.75rem;

        border-radius:10px;

    }

    .language-menu{

        width:150px;
        top:48px;

    }

    .language-menu li{

        padding:10px 12px;
        font-size:.85rem;

    }

}























/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:768px){

    .success-card{

        padding:35px 25px;
    }

    .success-card h1{

        font-size:2rem;
    }

    form button{

        width:100%;
    }
}

