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

body{
font-family:'Poppins',sans-serif;
background:#0e0e0e;
color:white;
line-height:1.7;
}

header{
position:fixed;
width:100%;
background:#111;
padding:20px 8%;
z-index:100;
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
font-size:24px;
font-weight:700;
letter-spacing:2px;
}

.navbar ul{
display:flex;
gap:22px;
list-style:none;
}

.navbar a{
color:white;
text-decoration:none;
transition:.3s;
font-weight: 500;
}

.navbar a:hover{
color:#00d4ff;
}

.hero{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
padding:0 20px;
background:
linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
url(images/hero.jpg);
background-size:cover;
background-position:center;
}

.hero h1{
font-size:60px;
line-height: 1.1;
margin-bottom:20px;
max-width:900px;
}

.hero p{
font-size:20px;
max-width:700px;
margin:auto;
margin-bottom:35px;
}

.btn{
display:inline-block;
padding:16px 40px;
background:#00d4ff;
color:black;
font-weight:600;
text-decoration:none;
border-radius:40px;
transition:.3s;
}

.btn:hover{
transform:translateY(-3px);
}

section{
padding:70px 10%;
}

section h2{
font-size:42px;
margin-bottom:50px;
text-align:center;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.card{
background:#181818;
padding:35px;
border-radius:15px;
transition:.3s;
position: relative;
overflow: hidden;
}

.card:hover{
transform:translateY(-10px);
}

.card-icon{
position:absolute;
top:30px;
right:30px;
display:flex;
gap:12px;
font-size:42px;
color:#ffffff;
opacity:.9;
transition:.3s;
}

.card:hover .card-icon{
transform:scale(1.08);
color:#00d4ff;
}

.target-group{
    display:block;
    color:#00d4ff;
    font-size:15px;
    font-weight:700;
    letter-spacing:2px;
    margin:8px 0 18px;
    text-transform:uppercase;
}

.extra-service{
    margin-top:15px;
    color:#00d4ff;
    font-weight:600;
    font-size:15px;
}

.portfolio-grid{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

.project{
    width:420px;
    max-width:100%;
    border-radius:15px;
    overflow:hidden;
    background:#181818;
    position:relative;
    cursor:pointer;
}

.project video{
    width:100%;
    aspect-ratio:9/16;
    object-fit:cover;
    display:block;
    transition:.4s;
}

.project video:fullscreen{
    object-fit:contain;
    background:#000;
}

.project video:-webkit-full-screen{
    object-fit:contain;
    background:#000;
}

.project:hover video{
    transform:scale(1.05);
}

.overlay{
    position:absolute;
    bottom:0;
    width:100%;
    padding:20px;
    background:rgba(0,0,0,.8);
}

.video-info{
    padding:20px;
    background:#181818;
}

.video-info h3{
    font-size:22px;
    margin-bottom:6px;
}

.video-info p{
    color:#00d4ff;
    font-size:15px;
    font-weight:600;
}

.portfolio-more{
    text-align:center;
    margin-top:60px;
}

.portfolio-more p{
    font-size:18px;
    color:white;
    margin-bottom:25px;
    max-width:650px;
    margin-left:auto;
    margin-right:auto;
}

.creator-stats{
    display:block;
    color: white;
    font-size:16px;
    font-weight:600;
    margin-top:-3px;
    margin-bottom:10px;
}

.about{
max-width:900px;
margin:auto;
text-align:center;
font-size:18px;
}

.about-container{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:80px;
    max-width:1200px;
    margin:auto;
    flex-wrap:wrap;
}

.about-image img{
    width:340px;
    max-width:100%;
    border-radius:30px;
    transition:.4s;
}

.about-image img:hover{
    transform:scale(1.03);
}

.about-text{
    flex:1;
    min-width:320px;
}

.about-text p{
    font-size:18px;
    color:#d8d8d8;
    line-height:1.9;
}

.about-facts{
    display:flex;
    gap:50px;
    margin-top:40px;
    flex-wrap:wrap;
}

.about-facts h3{
    color:#00d4ff;
    font-size:34px;
    margin-bottom:5px;
}

.about-facts span{
    color:#bfbfbf;
    font-size:15px;
}

#about{
    padding-bottom:70px;
}

.contact-box{
    max-width:700px;
    margin:auto;
    text-align:center;
}

.contact-intro{
    color:#d8d8d8;
    margin-bottom:35px;
    font-size:18px;
}

.contact-item{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    margin-bottom:22px;
    font-size:18px;
}

.contact-item i{
    color:#00d4ff;
    width:28px;
    font-size:22px;
}

.contact-item a,
.contact-item span{
    color:white;
    text-decoration:none;
    transition:.3s;
}

.contact-item a:hover{
    color:#00d4ff;
}

.contact-box .btn{
    display:inline-block;
    margin-top:35px;
}

#contact{
    padding-top:70px;
    padding-bottom:40px;
}

footer{
background:#181818;
padding:30px;
text-align:center;
margin-top:40px;
}

.footer-links{
    margin-top:15px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
}

.footer-links a{
    color:#bfbfbf;
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:#00d4ff;
}

.footer-links span{
    color:#666;
}

.legal-page{
    max-width:900px;
    margin:0 auto;
    text-align:center;
}

.legal-page p{
    text-align:center;
    line-height:1.9;
    color:#d8d8d8;
}

.legal-page h2{
    margin-bottom:40px;
}

.legal-page .btn{
    margin-top:40px;
}

/* Datenschutz / Impressum */

.legal-page h2 {
    margin-top: 70px;
    margin-bottom: 35px;
}

.legal-page p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.legal-page ul {
    list-style: none;
    padding: 0;
    margin: 25px auto 30px;
    text-align: center;
}

.legal-page li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.legal-page li::before {
    content: "– ";
}

/* E-Mail */

.legal-page a[href^="mailto:"] {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.legal-page a[href^="mailto:"]:hover {
    color: #00d4ff;
}

/* Abstand zwischen Abschnitten */

.legal-page h2 + p {
    margin-top: 0;
}

.legal-page h2 {
    padding-top: 20px;
}

@media(max-width:768px){

    .hero h1{
        font-size:40px;
    }

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .navbar ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    /* Über mich – Zahlen in einer Reihe */

    .about-facts{
        display:flex;
        flex-wrap:nowrap;
        gap:15px;
        justify-content:space-between;
        width:100%;
    }

    .about-facts > div{
        flex:1;
        min-width:0;
        text-align:center;
    }

    .about-facts h3{
        font-size:26px;
    }

    .about-facts span{
        font-size:12px;
    }

        #portfolio .portfolio-grid{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:30px;
    }

    #portfolio .project{
        width:280px;
        max-width:85%;
    }

    #portfolio .project video{
        width:100%;
        height:auto;
    }

}

/* MOBILE FEINSCHLIFF */

.mobile-title{
    display:none;
}

@media(max-width:768px){

    /* Hero: auf Handy nur kurzer Titel */
    .desktop-title{
        display:none;
    }

    .mobile-title{
        display:inline;
    }

    .hero h1{
        font-size:40px;
        font-weight:600;
        line-height:1.1;
    }

    /* Abstände zwischen den Bereichen */
    section{
        padding-top:50px;
        padding-bottom:50px;
    }

    section h2{
        font-size:34px;
        margin-bottom:35px;
    }

}

@media(max-width:768px){

    /* =========================
       ÜBER MICH – Zahlen
       ========================= */

    .about-facts{
        gap:10px;
    }

    .about-facts > div{
        flex:1;
        min-width:0;
    }

    .about-facts h3{
        font-size:26px;
        margin-bottom:6px;
    }

    .about-facts span{
        display:block;
        font-size:11px;
        line-height:1.35;
        white-space:normal;
    }


    /* =========================
       KONTAKT – kleiner
       ========================= */

    .contact-item{
        font-size:14px;
        gap:10px;
        width:fit-content;
        max-width:92%;
        margin-left:auto;
        margin-right:auto;
    }

    .contact-item i{
        font-size:18px;
        width:22px;
        flex-shrink:0;
    }

    .contact-item a,
    .contact-item span{
        font-size:14px;
        white-space:normal;
        overflow-wrap:anywhere;
    }


    /* =========================
       FOOTER – bis ganz nach unten
       ========================= */

    footer{
        background:#181818;
        margin-bottom:0;
        padding-bottom:40px;
    }

}

/* TEST ANIMATION */

.hero-content{
    animation: heroIntro 1s ease-out both;
}

@keyframes heroIntro{

    from{
        opacity:0;
        transform:translateY(30px);
    }

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

}

/* =========================
   IMPRESSUM – FINAL
   ========================= */

.legal-page{
    max-width:900px;
    margin:0 auto;
    text-align:center;
}

.legal-page h1{
    font-size:52px;
    line-height:1.1;
    margin-bottom:35px;
}

.legal-page h2{
    font-size:34px;
    line-height:1.2;
    margin-top:45px;
    margin-bottom:20px;
}

.legal-page p{
    margin-bottom:15px;
    line-height:1.7;
}

/* Telefon genauso wie normale Schrift */
.legal-page a[href^="tel:"]{
    color:inherit;
    text-decoration:none;
    transition:color .25s ease;
}

.legal-page a[href^="tel:"]:hover{
    color:#00d4ff;
}


/* =========================
   IMPRESSUM – HANDY
   ========================= */

@media(max-width:768px){

    .legal-page{
        padding:0 6%;
    }

    .legal-page h1{
        font-size:40px;
        margin-bottom:30px;
    }

    .legal-page h2{
        font-size:26px;
        line-height:1.2;
        margin-top:35px;
        margin-bottom:18px;
    }

    .legal-page p{
        font-size:15px;
        line-height:1.65;
        margin-bottom:12px;
    }

}