*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root {
    --bg-color: rgb(61, 56, 56);
    --second-bg-color: rgb(45, 44, 40);
    --text-color: rgb(239, 225, 225);
    --main-color:  rgb(212,175,55);
}

html {
    font-size: 60%;
    overflow-x: hidden;
}

body{
    background: var(--bg-color);
    color: var(--text-color);
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
}

/* Header*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 3rem 15%;
    background-color: rgba(0, 0, 0, 0.071);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

/*Name oben links*/
.logo{
    left: 1rem;
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.logo:hover{
    transform: scale3d(1.1, 1.1, 1.1);
}

span {
    background: linear-gradient(270deg, #9f8111, #e99f37);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Standard: Burger-Icon verstecken */
.menu-icon {
    display: none;
    font-size: 3rem;
    cursor: pointer;
    color: var(--main-color);
    z-index: 1001;
}

/* Navigationsleisten Design*/
.navbar {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.navbar a{
    font-size: 1.9rem;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s ease-in-out;
    border-bottom: 3px solid transparent;
}

/* Navigationsleisten Zeigeranimation*/
.navbar a:hover{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

/* Sektionen Abstand*/
section{
    min-height: 100vh;
    padding: 10rem 15%;
}

/* Jetzt Anfrage Button*/
.btn-group{
    display: flex;
    gap: 1rem;
}

.btn{
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 3rem;
    font-size: 1.6rem;
    color: var(--bg-color);
    border: 2px solid transparent;
    font-weight: 500;
    transition: 0.3s ease-in-out;
}

/* Button Zeigeranimation*/
.btn:hover{
    background-color: var(--bg-color);
    color: var(--main-color);
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
}




/*-------------------------------------------------------*/




/* Startseite */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    color: var(--text-color);
    overflow: hidden;
}

/* Hintergrundbild mit Overlay */
.Schwarzwald {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Overlay über dem Bild */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* Textblock (links) */
.home-content {
    flex: 1;
    max-width: 50%;
    text-align: left; 
    padding-right: 40px;
    font-size: 3rem;
    line-height: 1.4;
    animation: fadeInUp 2s ease-in-out;
}

.home-content h1 {
    font-size: 7rem;
    margin-bottom: 20px;
    color: #f1c40f;
}

.home-content p {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #f9f4f4;
}

/* CTA-Button */
.home-content .cta-btn {
    display: inline-block;
    background: #f1c40f;
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
}

.home-content .cta-btn:hover {
    background: #d4ac0d;
    transform: scale(1.05);
}

.Startbild {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10%;
    object-fit: cover;
    filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}
.Startbild:hover {
    transform: scale(1.05);
}


/*-------------------------------------------------------*/



/* Über mich Seite */
.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10rem;
    padding: 10rem 15%;
    background-color: var(--second-bg-color);
}

.about-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
}

/* Figur (rechts) */
.Bubblehead {
    flex: 1;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.Bubblehead:hover {
    transform: scale(1.05);
}

/* Über mich Seite Figur */

.about-img img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 25%;
    object-fit: cover;
}

/* Über mich Text */
.about-text {
    flex: 3;
    max-width: 600px;
    text-align: center;
    align-items: center;
}

.about-text h1 {
    font-size: 7rem;
    margin-bottom: 3rem;
    text-align: center;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    text-align: center;
    align-items: center;
}

/* Social Media Icons */
.social-icons{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 6rem;  /* Feste Breite */
    height: 6rem; /* Feste Höhe = perfekte Kreise */
    font-size: 3rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    color: var(--main-color);
    transition: 0.3s ease-in-out;
}

/* Social Media Icon Animation*/
.social-icons a:hover{
    color: var(--text-color);
    background-color: var(--main-color);
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
}




/*-------------------------------------------------------*/






/* Skillset und Tools Seite*/
.heading{
    text-align: center;
    font-size: 7rem;
    margin: 5rem 0;
    max-width: 100%;
}

/* Skillset Überschrift und Hintergrund*/
.services{
    background-color: var(--bg-color);
    color: rgb(0, 0, 0);
}

.services h2{
    color: var(--text-color);
    max-width: 100%;
    font-size: 15;
}

.services p{
    font-size: 3rem;
}

/* Skills und Tools Container*/
.services-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2.5rem;
    padding: 4rem 2rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.service-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--main-color);
    height: 500px;
    border-radius: 2rem;
    cursor: pointer;
    border: 5px solid transparent;
    transition: 0.4s ease-in-out;
    padding: 2rem;
    text-align: center;
}

.service-box:hover{
    background-color: var(--second-bg-color);
    color: var(--text-color);
    border: 5px solid var(--main-color);
    transform: scale(1.05);
}

.service-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}

.service-info i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: black;
}

.service-box:hover i{
    color: white;
}

.service-info h3{
    font-size: 2.2rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.service-info p{
    font-size: 1.6rem;
    line-height: 1.5;
}



/*-------------------------------------------------------*/


/* Projekte*/

.projects{
    background-color: var(--second-bg-color);
}

.projects-box{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    place-items: center;
    gap: 3rem;
    row-gap: 5rem;
}

/*Projekte Karten*/
.project-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    background-color: var(--second-bg-color);
    border: 2px solid var(--main-color);
    border-radius: 3rem;
    gap: 2rem;
    padding: 5rem 2rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 10px var(--bg-color);
}

.project-card:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
    transform: scale(1.02);
}

.project-card img{
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 2em;
    object-fit: cover;
}

.project-card h3{
    font-size: 3rem;
    color: var(--text-color);
}

.project-card p{
    font-size: 1.6rem;
    color: var(--text-color);
}




/*-------------------------------------------------------*/




/*Footer*/
.footer{
    background-color: var(--second-bg-color);
    padding: 50px 0;
    text-align: center;
}

.footer .social-icons{
    justify-content: center;
    display: flex;
    gap: 20px;
    margin: 0 auto;
    max-width: 300px;
}

.footer ul{
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

.footer ul li{
    display: inline-block;
    margin-left: 20px;
    font-size: 14px;
}

.footer ul li a{
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
}

.footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
}

.footer .copyright{
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}


/*-------------------------------------------------------*/


/* Scrollbar rechts*/
::-webkit-scrollbar{
    width: 8px;
}

::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
}

::-webkit-scrollbar-track{
    background-color: var(--bg-color);
}



/*-------------------------------------------------------*/





/* Impressum*/
.impressum-container{
    color: var(--text-color);
    background-color: var(--second-bg-color);
    font-size: 2rem;
    text-align: center;
    align-items: center;
}

/* Cookie Hinweis / Datenschutzerklärung*/
.cookie-hinweis{
    color: var(--main-color);
}

.Cookie-Text{
    font-size: 1.5rem;
    margin-left: 100px;
}

.Cookie-Text p{
    font-style: italic;
}


/*-------------------------------------------------------*/



/*Datenschutzerklärung*/
.Datenschutz-Link{
    color: var(--text-color);
}

.Datenschutz{
    font-size: 1.0rem;
    margin-left: 100px;
}






/*-------------------------------------------------------*/



/*Responsivness*/
@media (max-width: 768px) {
    html {
        font-size: 50%;
    }

    /* Burger Menu */
    .menu-icon {
        display: block;
        font-size: 3.5rem;
        cursor: pointer;
        color: var(--main-color);
        z-index: 1001;
    }

    /* Header Layout für Mobile */
    .header {
        flex-direction: row;
        justify-content: space-between;
        padding: 3rem 5%;
        position: relative;
    }

    /* Navbar Mobile Styling */
    .navbar {
        display: none;
        flex-direction: column;
        background-color: var(--second-bg-color);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 2rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        padding: 1.5rem 0;
        font-size: 1.8rem;
        text-align: center;
        color: var(--text-color);
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        width: 100%;
        margin: 0;
    }

    .navbar a:last-child {
        border-bottom: none;
    }

    /* Startseitentext*/
    .home-content {
        flex-direction: center;
        text-align: center;
        align-items: center;
        gap: 3rem;
    }

    .text-block {
        align-items: center;
        justify-content: center;
    }
    .home-content h1 {
        font-size: 4rem;
        text-align: left;
    }

    .home-content p {
        font-size: 3rem;
        text-align: left;
    }

    /* Startseitenbilder Mobile */

    .Startbild {
        max-width: 250px;
        border-radius: 20%;
    }

    .Schwarzwald{
        height: 100%;
        width: 100%;
    }



    /* Über mich Mobile */
    
    .about-content {
        font-size: 3rem;
        text-align: center;
        
        
    }
    .about h2 {
        font-size: 3rem;
        text-align: right;
        
    }
    }

    /* Bubblehead-Bild Mobile */

    .about-img img {
        height: 100%;
        width: 180%;
    }

    /* Button und Social Media Icons*/
    .gradient-btn,
    .btn {
        padding: 1rem 2rem;
        font-size: 1.6rem;
    }

    .social-icons {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Social Media Icons Mobile  */
    .social-icons a {
        width: 5rem;
        height: 5rem;
        font-size: 2.5rem;
    }


    /* Skillset und Tools Mobile */

    .service-info i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: black;
    }

    .service-box:hover i{
    color: white;
    }

    .service-info h3{
    font-size: 3rem;
    font-weight: bold;
    margin-top: 0.5rem;
    }

    .service-info p{
    font-size: 2rem;
    line-height: 1.5;
    }

/*Footer Mobile*/

.motto{
    text-align: center;
    margin-left: 50px;
}



/* Copyright Mobile*/

.footer .copyright{
    text-align: center;
    
}
/* Cookie Hinweis / Datenschutzerklärung Mobile */

    .Cookie-Text{
        font-size: 2rem;
        margin-left: 20px;
        
    }

    .Datenschutz{
        font-size: 1.2rem;
        margin-left: 20px;
        
    }

    .Backtostart{
        font-size: 2rem;
        margin-left: 20px;
        color: white;
        
    }

    .Cookie-Link{
        font-size: 2rem;
        margin-left: 20px;
        color: white;
        
    }

    .Browsercookies{
        font-size: 2rem;
        color: rgb(169, 153, 13);
        
    }