/* =========================
   ALLGEMEINE EINSTELLUNGEN
========================= */

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}

*,
*::before,
*::after{
    box-sizing: border-box;
}

body{
    margin:0;
    overflow-x: hidden;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #080808;
    color: white;
    letter-spacing: 0.1px;
}

body::before{
    content: "";
    position: fixed;
    right: 28px;
    bottom: 24px;
    width: clamp(92px, 10vw, 150px);
    height: clamp(138px, 15vw, 225px);
    background: url("images/logo.png") center / contain no-repeat;
    opacity: 0.11;
    pointer-events: none;
    z-index: 0;
}

nav,
main,
section{
    position: relative;
}

main,
section{
    z-index: 1;
}

p{
    font-size:20px;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
.nav-links a,
.btn,
button{
    font-family: inherit;
}



/* =========================
   BUTTONS ALLGEMEIN
========================= */

.btn{
    padding:12px 30px;

    border-radius:30px;

    background:rgba(255,255,255,0.2);

    color:white;

    border:2px solid white;

    text-decoration:none;

    margin:10px;

    display:inline-block;

    backdrop-filter:blur(8px);

    transition:0.3s;
}



/* =========================
   DUNKLER BUTTON
========================= */

.dark{
    background:rgba(0,0,0,0.3);
}



/* =========================
   HELLER BUTTON
========================= */

.light{
    background:rgba(255,255,255,0.03);
}



/* =========================
   BUTTON HOVER EFFEKT
========================= */

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

.portfolio-section{
    min-height:100vh;
    padding:130px 8%;
    box-sizing:border-box;
}

.section-label{
    color:rgba(255,255,255,0.62);
    font-size:14px;
    letter-spacing:4px;
    text-transform:uppercase;
    margin-bottom:18px;
}

.section-title{
    max-width:850px;
    margin-bottom:55px;
}

.section-title h2,
.workflow-text h2{
    font-size:clamp(42px, 7vw, 88px);
    line-height:0.95;
    margin:0;
    font-weight: 800;
}

.strengths{
    background:#080808;
}

.card-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:22px;
}

.info-card{
    min-height:310px;
    padding:30px;
    border-radius:28px;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.12);
    backdrop-filter:blur(12px);
}

.info-card span{
    display:block;
    margin-bottom:70px;
    color:rgba(255,255,255,0.46);
    font-weight:bold;
}

.info-card h3{
    font-size:28px;
    margin:0 0 18px;
}

.info-card p{
    color:rgba(255,255,255,0.7);
    font-size:18px;
    margin:0;
}

.projects{
    background:#111;
}

.project-list{
    display:grid;
    gap:18px;
}

.project-item{
    display:grid;
    grid-template-columns:180px 1fr 1.3fr;
    gap:34px;
    align-items:center;
    padding:28px 0;
    border-bottom:1px solid rgba(255,255,255,0.13);
}

.project-item p{
    color:rgba(255,255,255,0.55);
    font-size:16px;
    text-transform:uppercase;
    letter-spacing:3px;
    margin:0;
}

.project-item h3{
    font-size:34px;
    margin:0;
}

.project-item span{
    color:rgba(255,255,255,0.7);
    font-size:20px;
    line-height:1.6;
}

.workflow{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
    background:
        linear-gradient(rgba(0,0,0,0.78), rgba(0,0,0,0.9)),
        url("images/skylogo.png");
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
}

.workflow-text p:not(.section-label){
    color:rgba(255,255,255,0.72);
    max-width:580px;
}

.workflow-steps{
    display:grid;
    gap:18px;
}

.workflow-steps div{
    padding:28px;
    border-radius:26px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.12);
}

.workflow-steps strong{
    display:block;
    font-size:28px;
    margin-bottom:8px;
}

.workflow-steps span{
    color:rgba(255,255,255,0.68);
    font-size:19px;
}


/* =========================
   NAVBAR
========================= */

.navbar{
    position: fixed;
    overflow: visible;

    top: 15px;
    left: 50%;

    transform: translateX(-50%);

    width: 80%;

    background: rgba(255,255,255,0.20);

    backdrop-filter: blur(10px);

    border-radius: 40px;

    min-height: 58px;

    padding: 8px 24px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 1000;
}



/* =========================
   LOGO
========================= */

.logo{
    width: 80px;

    position: absolute;
    left: 20px;

    opacity: 0.95;

    transition: 0.3s;
}

.logo:hover{
    opacity: 1;
}

/* ========================
    LOGO FIX 
=========================*/
.navbar a{
    display: flex;
    align-items:center;
}



/* =========================
   NAVIGATION LINKS
========================= */

.nav-links{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;

    gap: 30px;

    list-style: none;

    margin: 0;
    padding: 0;
    margin-left: 160px;
}

/* =========================
   NAVIGATION TEXT
========================= */

.nav-links a{
    flex: 1;

    text-align: center;

    color: white;

    text-decoration: none;

    font-weight: bold;

    font-size: 18px;

    letter-spacing: 0.2px;

    transition: 0.3s;
}

/* =========================
   HOVER EFFEKT
========================= */

.nav-links a:hover{
    opacity: 0.7;
}







/* =========================
        PROFIL SEITE
========================= */

.profile-page {
  margin: 0;
  padding: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: black;
}

/* nur Logo auf Profilseite etwas größer */
.profile-page .logo {
  width: 96px;
  cursor: pointer;
}

/* =========================
   PROFIL SEITE FIX
========================= */


/* Navbar Balken */
.profile-page .navbar {
  top: 15px;
  left: 50%;
  transform: translateX(-50%);

  width: 80%;
  min-height: 58px;

  padding: 8px 22px;

  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);

  border-radius: 40px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo */
.profile-page .logo {
  width: 96px;
  position: absolute;
  left: 25px;
  top: -20px;
  opacity: 0.95;
}

/* Links */
.profile-page .nav-links {
  display: flex;
  justify-content: space-evenly;
  align-items: center;

  width: 100%;
  margin: 0;
  padding: 0 120px 0 170px;

  list-style: none;
}

.profile-page .nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 1px;
}

/* =========================
        ÜBER MICH
========================= */

.about-section{
    min-height: 100vh;

    background: black;

    display: flex;
    flex-direction: column;
   
    align-items: center;

    padding: 100px 20px;
}

.start-about{
    padding-top: 150px;
}

.start-about .about-container{
    transform: none;
}

.start-about .services-box{
    margin-top: 70px;
}

.about-container{
    max-width: 800px;
    width: 100%;
    margin: -120px auto 0 auto;

    text-align: center;

    color: white;
}

.about-container h1{
    font-size: 55px;

    margin-bottom: 5px;

    letter-spacing: 2px;
}


/*========== FOTO ==========*/

.about-container{
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 100px;
    margin-left: -120px;
}

.profil-foto{
    width: 350px;
    height: 350px;

    object-fit: cover;

    border-radius: 50%;
    
    border-radius: 50%;

     border: 2px solid rgba(255,255,255,0.8);

    box-shadow: 0 0 20px rgba(255,255,255,0.6);

    display: flex;
    justify-content: center;
    align-items: center;


}

.about-image{
    position:relative;
}

.small-logo{
    width: 60px;
    height: 60px;

    position: absolute;

    bottom: 20px;
    right: 20px;

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(12px);

    border-radius: 50%;

    padding: 12px;

    border: 2px solid rgba(255,255,255,0.8);

    box-shadow: 0 0 20px rgba(255,255,255,0.6);

    display: flex;
    justify-content: center;
    align-items: center;
    
    
}

.small-logo img{
    width: 100px;

    height: 100px;

    object-fit: contain;
}

/* ABOUT CONTAINER */
.about-container{
    max-width: 1100px;

    width: 100%;

    margin: 0 auto;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 120px;
}


/* TEXT BEREICH */
.about-text{
    width: 520px;

    text-align: left;

}

/* ÜBER MICH */
.ueber-mich{
    color: rgba(255,255,255,0.5);

    font-size: 15px;

    letter-spacing: 4px;

    margin-bottom: 10px;
    margin-left: 7px;

     text-shadow: 
     0 0 0px rgba(255,255,255,0.9),
        0 0 2px rgba(255,255,255,0.7),
        0 0 5px rgba(255,255,255,0.5);
}

 .about-line{
    width: 138px;

    height: 2px;

    background: rgba(255,255,255,0.8);

    box-shadow:
        0 0 0px rgba(255,255,255,0.9),
            0 0 2px rgba(255,255,255,0.7),
            0 0 5px rgba(255,255,255,0.5);

    margin-top: -10px;

    margin-bottom: 50px;

}


/* WER ICH BIN */
.wer-ich-bin{
    color: white;

    text-shadow: 
     0 0 0px rgba(255,255,255,0.9),
        0 0 2px rgba(255,255,255,0.7),
        0 0 5px rgba(255,255,255,0.5);

    font-size: 55px;

    font-weight: bold;

    margin-bottom: 60px;
margin-left: -120px;
}

/* HEY ICH BIN */
.about-small{
    color: rgba(255,255,255,0.6);

    font-size: 12px;

    letter-spacing: 6px;

    margin-bottom: 20px;
margin-left: 40px;

 text-shadow: 
     0 0 0px rgba(255,255,255,0.9),
        0 0 2px rgba(255,255,255,0.7),
        0 0 5px rgba(255,255,255,0.5);
}

/* DAVID JANEK */
.about-text h1{
    font-size: 90px;

    line-height: 0.9;

    color: white;

    font-weight: 850;

    margin-top: 10px;

    margin-bottom: 20px;

margin-left: 40px;

 text-shadow: 
     0 0 0px rgba(255,255,255,0.9),
        0 0 2px rgba(255,255,255,0.7),
        0 0 5px rgba(255,255,255,0.5);
}

/* WEBDESIGNER */
.about-text h3{
    color: white;

    font-size: 20px;

    letter-spacing: 1.4px;
    white-space: nowrap;

    margin-bottom: 35px;
    margin-left: 40px;

     text-shadow: 
     0 0 0px rgba(255,255,255,0.9),
        0 0 2px rgba(255,255,255,0.7),
        0 0 5px rgba(255,255,255,0.5);
}

/* BESCHREIBUNG */
.about-description{
    color: rgba(255,255,255,0.75);

    font-size: 22px;

    line-height: 1.8;
    margin-left: 40px;
}

.about-container{
    transform: translateY(-100px);
}

.text-content{
    border-left: 2px solid rgba(255,255,255,0.7);
    padding-left: 35px;
}

/*======== LEISTE UNTEN ========*/
.services-box{
    width: 90%;
    max-width: 1250px;

    margin: 120px auto 0;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 60px;

    padding: 45px 60px;

    border-radius: 28px;

    background: rgba(255,255,255,0.03);

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(12px);

    box-shadow:
        0 0 30px rgba(255,255,255,0.03);
}



/* EINZELNE KARTE */

.service-card{
    flex: 1;

    display: flex;
    align-items: flex-start;

    gap: 20px;

    position: relative;
}



/* TRENNLINIE */

.service-card:not(:last-child)::after{

    content: "";

    position: absolute;

    right: -30px;
    top: 0;

    width: 1px;
    height: 140px;

    background: rgba(255,255,255,0.08);
}



/* ICON */

.service-icon{
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    margin-top: 0;

    opacity: 0.95;
}



/* TEXT */

.service-text h4{
    color: white;

    font-size: 26px;

    margin: 0 0 18px;

    letter-spacing: 1.4px;
}



.service-text p{
    color: rgba(255,255,255,0.72);

    font-size: 21px;

    line-height: 1.9;
}

/* =========================
        KONTAKT FORMULAR
========================= */

.contact-section{
    min-height: 100vh;

    background:
        linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.9)),
        url("images/marketing-hero.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 120px 24px;
    box-sizing: border-box;
}

.contact-wrapper{
    width: 100%;
    max-width: 1100px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.contact-text{
    color: white;
}

.contact-label{
    color: rgba(255,255,255,0.58);
    font-size: 14px;
    letter-spacing: 5px;
    margin-bottom: 18px;
}

.contact-text h2{
    font-size: 72px;
    line-height: 1;
    margin: 0 0 28px;
}

.contact-text p{
    color: rgba(255,255,255,0.75);
    font-size: 22px;
    line-height: 1.7;
}

.direct-contact{
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.direct-link{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.22);
    transition: 0.3s;
}

.direct-link:hover{
    opacity: 0.72;
}

.social-direct img,
.icon-link img{
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.contact-form{
    display: grid;
    gap: 14px;

    padding: 34px;
    border-radius: 28px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(16px);
}

.honeypot{
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-form label{
    color: white;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.contact-form input,
.contact-form textarea{
    width: 100%;
    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    outline: none;

    background: rgba(0,0,0,0.28);
    color: white;

    padding: 15px 18px;
    font-family: inherit;
    font-size: 16px;
}

.contact-form textarea{
    resize: vertical;
    min-height: 150px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color: rgba(255,255,255,0.45);
}

.contact-form button{
    margin-top: 10px;
    padding: 15px 26px;

    border: 0;
    border-radius: 30px;

    background: white;
    color: black;

    font-size: 16px;
    font-weight: bold;
    cursor: pointer;

    transition: 0.3s;
}

.contact-form button:hover{
    transform: scale(1.03);
}

/* =========================
        FOOTER
========================= */

.site-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 28px 8%;
    color: rgba(255,255,255,0.62);
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.site-footer a{
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: bold;
}

.site-footer a:hover{
    color: white;
}

.footer-links{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

/* =========================
        RECHTLICHE SEITEN
========================= */

.legal-page{
    min-height: 100vh;
    padding: 150px 8% 90px;
    box-sizing: border-box;
}

.legal-section{
    max-width: 980px;
    margin: 0 auto;
}

.legal-section h1{
    font-size: clamp(46px, 8vw, 92px);
    line-height: 0.95;
    margin: 0 0 42px;
}

.legal-card{
    margin-bottom: 20px;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
}

.legal-card h2{
    margin: 0 0 16px;
    font-size: 26px;
}

.legal-card p{
    margin: 0 0 16px;
    color: rgba(255,255,255,0.74);
    font-size: 18px;
}

.legal-card p:last-child{
    margin-bottom: 0;
}

.legal-card a{
    color: white;
    font-weight: bold;
}

.important-note{
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.1);
}

/* =========================
        RESPONSIVE
========================= */

@media (max-width: 1100px){

    .card-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .project-item{
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .workflow{
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .about-container{
        flex-direction: column;

        align-items: center;

        gap: 60px;

        margin-left: 0;

        transform: none;
    }

    .text-content{
        border-left: none;

        padding-left: 0;

        margin-left: 0;
    }
.services-box{
    width: 90%;
    max-width: 1250px;

    margin: 80px auto 0;

    flex-direction: row;

    gap: 60px;

    padding: 45px 60px;
}
  
    .service-card{
        width: 100%;
    }

    .wer-ich-bin{
        font-size: 70px;

        text-align: center;
    }

    .about-container h1{
        font-size: 70px;

        text-align: center;
    }

    .about-description{
        text-align: center;
    }

    .side-line{
        display: none;
    }

    .profil-foto{
        width: 300px;
        height: 300px;
    }

    .contact-wrapper{
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .contact-text{
        text-align: center;
    }

    .contact-text h2{
        font-size: 56px;
    }
}

@media (max-width: 700px){

    .navbar{
        width: 88%;
        padding: 12px 18px;
    }

    .logo,
    .profile-page .logo{
        display: none;
    }

    .nav-links,
    .profile-page .nav-links{
        margin-left: 0;
        padding: 0;
        gap: 12px;
        flex-wrap: wrap;
    }

    .nav-links a,
    .profile-page .nav-links a{
        font-size: 14px;
    }

    .portfolio-section{
        min-height: auto;
        padding: 90px 22px;
    }

    .card-grid{
        grid-template-columns: 1fr;
    }

    .info-card{
        min-height: 240px;
    }

    .info-card span{
        margin-bottom: 42px;
    }

    .project-item h3{
        font-size: 28px;
    }

    .workflow,
    .contact-section{
        background-attachment: scroll;
    }

    .contact-section{
        padding: 120px 18px 80px;
    }

    .contact-text h2{
        font-size: 44px;
    }

    .contact-text p{
        font-size: 18px;
    }

    .contact-form{
        padding: 24px;
        border-radius: 22px;
    }

    .site-footer{
        flex-direction: column;
        text-align: center;
    }

    .footer-links{
        justify-content: center;
    }

    .legal-page{
        padding: 130px 22px 70px;
    }

    .legal-card{
        padding: 22px;
    }
}

/* =========================
   MOBILE OVERFLOW FIX
========================= */

@media (max-width: 700px){
    body::before{
        display: none;
    }

    .navbar,
    .profile-page .navbar{
        left: 14px;
        right: 14px;
        width: auto;
        transform: none;
        padding: 10px 14px;
        min-height: 54px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }

    .navbar::-webkit-scrollbar{
        display: none;
    }

    .nav-links,
    .profile-page .nav-links{
        width: max-content;
        min-width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 18px;
        margin: 0;
        padding: 0 4px;
    }

    .nav-links li,
    .profile-page .nav-links li{
        flex: 0 0 auto;
    }

    .nav-links a,
    .profile-page .nav-links a{
        display: block;
        flex: 0 0 auto;
        font-size: 13px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .about-section{
        width: 100%;
        min-height: auto;
        padding: 112px 18px 72px;
        overflow: hidden;
    }

    .start-about{
        padding-top: 112px;
    }

    .about-container{
        width: 100%;
        max-width: 100%;
        gap: 34px;
        margin: 0 auto;
    }

    .about-image{
        width: min(78vw, 300px);
    }

    .profil-foto{
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .small-logo{
        width: 58px;
        height: 58px;
        right: 8px;
        bottom: 8px;
    }

    .small-logo img{
        width: 112px;
        height: 112px;
    }

    .about-text{
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .ueber-mich,
    .about-small,
    .about-text h1,
    .about-text h3,
    .about-description,
    .wer-ich-bin{
        margin-left: 0;
    }

    .about-line{
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 34px;
    }

    .wer-ich-bin{
        font-size: clamp(34px, 11vw, 46px);
        margin-bottom: 34px;
    }

    .about-small{
        font-size: 11px;
        letter-spacing: 4px;
    }

    .about-text h1,
    .about-container h1{
        font-size: clamp(42px, 14vw, 58px);
        line-height: 0.95;
        letter-spacing: 1px;
    }

    .about-text h3{
        max-width: 100%;
        font-size: 14px;
        line-height: 1.5;
        white-space: normal;
        letter-spacing: 1px;
    }

    .about-description{
        max-width: 100%;
        font-size: 17px;
        line-height: 1.75;
    }

    .start-about .services-box,
    .services-box{
        width: 100%;
        max-width: 100%;
        margin: 48px auto 0;
        padding: 24px;
        flex-direction: column;
        gap: 24px;
        border-radius: 22px;
    }

    .service-card{
        width: 100%;
        gap: 16px;
    }

    .service-card:not(:last-child)::after{
        display: none;
    }

    .service-text h4{
        font-size: 21px;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    .service-text p{
        font-size: 17px;
        line-height: 1.65;
        margin: 0;
    }
}
