@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root
{
    --bg-black-900: #f2f2fc;
    --bg-black-100: #fdf9ff;
    --bg-black-50: #e8dfec;
    --text-black-900: black;
    --text-black-700: #504e70;
    --bg-black-800:#fdf9ff;
    --bg-black-600: #f2eef4;
    --skin-color:#ff0047;
    --bg-black-200: #cbc3cf;
    
}
body.dark{

    --bg-black-900: #212429;
    --bg-black-100: #3e434b;
    --bg-black-50: #5a616c;
    --text-black-900: white;
    --text-black-700: #d4d6d8;
    --bg-black-800:#191B22;
    --bg-black-600: #4b5059;
    --bg-black-200: #5a616c;
}


body{
    line-height: 1.5;
    font-size: 16px;
    font-family: "Poppins";
}

*{
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}

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

ul{
    list-style: none;
}

.section
{
    background: var(--bg-black-900);
    min-height: 100vh;
    display: block;
    left: 270px;
    padding: 0 30px;

    opacity: 1;
}
.hidden{
    display: none !important;
}
.main-content{
    padding-left: 270px;
}

.padd-15{
    padding-left: 15px;
    padding-right: 15px;
}

.container{
    max-width: 1100px;
    width: 100%;
    margin: auto;
}

.section .container{
    padding-top: 60px;
    padding-bottom: 70px;
}

.section-title{
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 60px;
}

.section-title h2{
    font-size: 30px;
    color: var(--text-black-900);
    font-weight: 700;
    position: relative;
}


.section-title h2::after{
    content: '';
    height: 4px;
    width: 50px;
    background-color: var(--skin-color);
    top: 100%;
    left: 0;
    position: absolute;
    }

.section-title h2::before{
content: '';
height: 4px;
width: 25px;
background-color: var(--skin-color);
top: 100%;
left: 0;
position: absolute;
margin-top: 8px;
}

.row{
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
}

.btn{
    font-size: 16px;
    font-weight: 500;
    padding: 12px 35px;
    background: var(--skin-color);
    color: white;
    border-radius: 40px;
    display: inline-block;
    white-space: nowrap;
    border: none;
    transition: all 0.4s ease;
}

.btn:hover{
    transform: scale(1.1);
}
/* aside */

.aside{
    width: 270px;
    background: var(--bg-black-800);
    position: fixed;
    left: 0;
    top: 0;
    padding: 30px;
    height: 100%;
    border-right: 1px solid var(--bg-black-50);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aside .logo{
    position: absolute;
    top: 50px;
    font-size: 20px;  
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.aside .logo a.text{
    color: var(--text-black-900);
    font-weight: 700;
    padding: 0px 20px 15px 20px;
    font-size: 20px;
    letter-spacing: 5px;
    position: relative;
    font-family: 'Poppins';
}

.aside .logo a span{
    font-size: 30px;
    color: var(--skin-color)
}

.aside .logo img{
    height: 55px;
    width: 55px;
    align-items: center;
    justify-content: center;
}


.nav-toggler{
    height: 60px;
    width: 65px;
    border: 1px solid var(--bg-black-50);
    cursor: pointer;
    position: fixed;
    left: calc(50% + 135px);
    top: 20px;
    border-radius: 5px;
    background: var(--bg-black-100);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.nav-toggler span{
    height: 2px;
    width: 36px;
    background: var(--skin-color);
    display: inline-block;
    position: relative;
}

.nav-toggler span::before{
    content: '';
    height: 2px;
    width: 22px;
    background: var(--skin-color);
    position: absolute;
    top: -8px;
    left: 7px;
}

.nav-toggler span::after{
    content: '';
    height: 2px;
    width: 22px;
    background: var(--skin-color);
    position: absolute;
    top: 8px;
    left: 7px;
}

.aside .nav{
    margin-top: 50px;
}

.aside .nav li{
    margin-bottom: 20px;
    display: block;
}

.aside .nav li a:hover {
    color: var(--skin-color);
}

.aside .nav li a{
    font-size: 16px;
    font-weight: 600;
    display: block;
    color: var(--text-black-900);
    padding: 5px 15px;
    border-bottom: 1px solid var(--bg-black-50);
    transition: color 0.4s ease;
}

.aside .nav li a.active{
    color: var(--skin-color)
}

.aside .nav li a i{
    margin-right: 15px;
}

/* home */
.home{
    min-height: 100v;
    display: flex;
    color: var(--text-black-900);
}
.home .home-info{
    flex: 0 0 60%;
    max-width: 60%;
}

h3.hello{
    font-size: 28px;
    margin: 15px 0;
    font-weight: 500;
}

h3.hello span{
    font-family: 'Poppins';
    font-size: 30px;
    font-weight: 700;
    color: var(--skin-color);
}

h3.my-profession{
    font-size: 30px;
    margin: 15px 0;
}

.typing{
    color: var(--skin-color);
}

.home-info p{
    margin-bottom: 70px;
    font-size: 20px;
    color: var(--text-black-700);
}
.home .home-img{
    flex: 0 0 40%;
    max-width: 40%;
    text-align: center;
    position: relative;
}

.home-img::after{
    content: '';
    position: absolute;
    height: 80px;
    width: 80px;
    border-bottom: 10px solid var(--skin-color);
    border-right: 10px solid var(--skin-color);
    bottom: -40px;
    right: 20px;
}

.home-img::before{
    content: '';
    position: absolute;
    height: 80px;
    width: 80px;
    border-top: 10px solid var(--skin-color);
    border-left: 10px solid var(--skin-color);
    top: -40px;
    left: 30px;
}
.home .home-img img{
    margin: auto;
    border-radius: 5px;
    height: 450px;
    position: relative;
}

  /* Standardmäßig ausblenden (Desktop) */
.home-img-mobile {
    display: none;
}

.home .home-info a{
    margin-right: 25px;
}
.home .home-info i{
    display: block;
    font-size: 35px;
    align-items: center;
}

.home .home-info a i{
    color: var(--skin-color);
    transition: all 0.4s ease;
}

.home .home-info a i:hover{
    transform: scale(1.1);
}

.home .home-info .lower{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.home .home-info .lower .social{
    display: flex;
    align-items: center;
}

.home .container{
    padding-top: 125px;
}

/* About */
.about .about-content{
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text{
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text h3{
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-black-900);
}

.about .about-content .about-text h3 span{
    color: var(--skin-color);
}

.about .about-content .about-text p{
    font-size: 16px;
    line-height: 25px;
    color: var(--text-black-700);
}

.about .about-content .personal-info{
    flex: 0 0 60%;
    max-width: 60%;
    margin-top: 40px;
}

.about .about-content .personal-info .info-item{
    flex: 0 0 50%;
    max-width: 50%;
}

.about .about-content .personal-info .info-item p{

    font-weight: 600;
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-black-900);
    border-bottom: 1px solid var(--bg-black-50);
    
}

.about .about-content .personal-info .info-item p span,
.about .about-content .personal-info .info-item p span a{
   font-weight: 400;
   color: var(--text-black-700);
   margin-left: 4px;
   display: inline-block;
}

.about .about-content .personal-info .buttons{
    margin-top: 30px;
}

.about .about-content .personal-info .buttons .btn{
    margin-top: 10px;
    margin-right: 15px;
}
.about .about-content .skills{
    flex: 0 0 40%;
    max-width: 40%;
    margin-top: 40px;
}

.about .about-content .skills .skill-item{
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 25px;
}

.about .about-content .skills .skill-item h5{
    line-height: 40px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-black-900);
    text-transform: capitalize;
}

.about .about-content .skills .skill-item .progress{
    background-color: var(--bg-black-50);
    height: 7px;
    border-radius: 4px;
    width: 100%;
    position: relative;
}

.about .about-content .skills .skill-item .progress .progress-in{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 4px;
    background-color: var(--skin-color);
    width: 0%;
    transition: width 1.4s ease-in-out;
}


.about .about-content .skills .skill-item .skill-percent{
    position: absolute;
    right: 0;
    color: var(--text-black-900);
    top: -40px;
    font-weight: 400;
    line-height: 40px;
}

/* Service */
.service .container{
    padding-bottom: 40px;
}

.service .service-item{
    margin-bottom: 30px;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

.service .service-item .service-item-inner{
    background-color: var(--bg-black-100);
    border: 1px solid var(--bg-black-50);
    border-radius: 15px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.5s ease;
    height: 470px;

}

.service .service-item .service-item-inner:hover{
    box-shadow: 0 0 20px rgba(54, 51, 83, 0.15);
    transform: scale(1.05);
    background-color: var(--bg-black-600);
}

.service .service-item .service-item-inner .icon{
    height: 70px;
    width: 70px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 0px;
    text-align: center;
}

.service .service-item .service-item-inner .icon .fa,
.service .service-item .service-item-inner .icon .fa-solid,
.service .service-item .service-item-inner .icon .fa-brands,
.service .service-item .service-item-inner .icon .fa-regular{
   font-size: 50px;
   color: var(--skin-color);
   transition: all 0.4s ease;
}

.service .service-item .service-item-inner:hover .icon .fa,
.service .service-item .service-item-inner:hover .icon .fa-solid,
.service .service-item .service-item-inner:hover .icon .fa-brands,
.service .service-item .service-item-inner:hover .icon .fa-regular{
    transform: rotate(-15deg);
}


.service .service-item .service-item-inner h4{
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-black-900);
    font: 700;
    text-transform: capitalize;
    display: inline-block;
}


.service .service-item .service-item-inner p{
    font-size: 16px;
    color: var(--text-black-700);
    line-height: 25px;
}

/* Portfolio */
.portfolio .container{
    padding-bottom: 40px;
}
.portfolio .portfolio-heading{
    flex: 0 0 100%;
    max-width: 100%;
}

.portfolio .portfolio-heading h2{
    color: var(--text-black-900);
    font-weight: 500;
}

.portfolio .portfolio-item{
    flex: 0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 30px;
}

.portfolio .portfolio-item-inner{
    border: 6px solid var(--bg-black-100);
    border-radius: 10px;
    height: 240px;
    overflow: hidden;
    display: flex;
}

.portfolio .portfolio-img{
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.portfolio .portfolio-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-img {
    position: relative;
    overflow: hidden;
  }
  
  
  .portfolio-text {
    position: absolute;
    color: rgba(255,255,255, 0.9);
    background-color: rgba(30, 30, 30, 0.4);
    font-size: 22px;
    font-weight: 700;
    pointer-events: none;
    text-align: center;
    left: 50%;
    top:85%;
    transform: translate(-50%, -50%);
    padding: 8px 25px;
    border-radius: 50px;
  }


/* contact */
.contact-title{
    color: var(--skin-color);
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;
}

.contact-sub-title{
    color: var(--text-black-900);
    text-align: center;
    font-size: 15px;
    margin-bottom: 60px;
}

.contact .contact-info-item{
    flex:  0 0 25%;
    max-width: 25%;
    text-align: center;
    margin-bottom: 60px;
}

.contact .contact-info-item .icon{
    display: inline-block;
}

.contact .contact-info-item .icon .fa, .fa-solid{
    font-size: 25px;
    color: var(--skin-color);
}

.contact .contact-info-item h4{
    font-size: 18px;
    font-weight: 700;
    color: var(--text-black-900);
    text-transform: capitalize;
    margin: 15px 0 7px;
}

.contact .contact-info-item p{
    font-size: 16px;
    line-height: 25px;
    color: var(--text-black-700);
    font-weight: 400;
}

.contact .contact-form{
    flex: 0 0 100%;
    max-width: 100%;
}

.contact .contact-form .col-6{
    flex: 0 0 50%;
    max-width: 50%;
}

.contact .contact-form .col-12{
    flex: 0 0 100%;
    max-width: 100%;
}

.contact .contact-form .form-item{
    margin-bottom: 30px;
}

.contact .contact-form .form-item .form-control{
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: var(--bg-black-100);
    border: 1px solid var(--bg-black-50);
    padding: 10px 25px;
    font-size: 16px;
    color: var(--text-black-700);
    transition: all 0.4s ease;
}

.contact .contact-form .form-item .form-control:focus{
    box-shadow: 0 0 20px rgba(48,46,77,0.15);
    background-color: var(--bg-black-600);
    transform: scale(1.01);
}

.contact .contact-form .form-item textarea.form-control{
    height: 140px;
    resize: none;
}

.contact .contact-form .btn{
    height: 50px;
    padding: 0 50px;
}

#submitBtn:disabled {
    background-color: var(--bg-black-200);
    cursor: not-allowed;
    transform: none;
  }
  
  #submitBtn.active {
    background-color: var(--skin-color);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  #submitBtn.active:hover {
    transform: scale(1.05);
  }

  .contact-form .checkbox{
    color: var(--text-black-900);
  }

  .contact-form .checkbox a{
    color: var(--skin-color);
  }

  input[type="checkbox"] {
    accent-color: var(--skin-color); /* nutzt deine Hauptfarbe */
    width: 15px;
    height: 15px;
    cursor: pointer;
  }

  .success {
    background-color: var(--bg-black-100);
    color: var(--skin-color);
    padding: 20px 30px;
    border: 1px solid var(--skin-color);
    border-radius: 25px;
    font-weight: 500;
    font-size: 18px;
    margin-top: 30px;
    text-align: center;
  }
  .popup-success {
    display: none; /* Unsichtbar & komplett entfernt aus Layout/Klickbereich */
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--skin-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  /* Wenn Nachricht erfolgreich versendet wurde */
  .popup-success.show {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(10px);
  }
/* Erfolgs-Popup */
  
  /* Deaktivierter Button */
  .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
  }
  
  /* Honeypot für Spam-Schutz */
  .honeypot {
    display: none;
  }
  
/* ===== Footer Start ===== */
.footer {
    background-color: var(--bg-black-800);
    color: var(--text-black-900);
    width: 100%;
    height: 100%;
    padding: 25px 0 25px 25px;
    overflow: hidden;
  }
  
  .footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .footer-col {
    flex: 0 0 25%;
    max-width: 22%;
  }
  
  .footer-col h4 {
    font-size: 18px;
    color: var(--skin-color);
    margin-bottom: 15px;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-black-700);
  }
  
  .footer-col ul li a {
    color: var(--text-black-700);
    text-decoration: none;
    transition: 0.3s;
  }
  
  .footer-col ul li a:hover {
    color: var(--skin-color);
  }
  
  .footer-col ul li i {
    color: var(--skin-color);
    margin-right: 8px;
  }
  


  /*------------- Scroll to top Button ------------*/

  #scrollTopBtn {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 999;
    background-color: var(--skin-color);
    color: white;
    border: none;
    padding: 12px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  
  #scrollTopBtn:hover {
    background-color: #333;
  }



  /* Responsive */

@media (max-width:1199px){
    .aside{
        left: -270px;
    }

    .main-content{
        padding-left: 0;
    }

    .about .about-content .personal-info .info-item p span{
        display: block;
        margin-left: 0;

    }

    .service .service-item .service-item-inner{
        height: 450px;
    }

    
}

@media (max-width:991px){
    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item{
        flex: 0 0 50%;
        max-width: 50%;
    }

    .home .home-info{
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home .home-img::after,
    .home .home-img::before{
        display: none;
    }



    .footer {
        padding-left: 0;
        text-align: center;
      }
      .footer-col {
        flex: 0 0 100%;
        max-width: 100%;
      }

      .service .service-item .service-item-inner{
        height: 380px;
      }

      /* Nur im Responsive (ab 991px abwärts) */
@media (max-width: 991px) {
    .home .home-img {
      display: none; /* Originalbild ausblenden */
    }
  
    .home-img-mobile {
      display: block;
      text-align: center;
      margin: 30px auto;
    }
  
    .home-img-mobile img {
      max-width: 250px;
      width: 100%;
      height: auto;
      border-radius: 8px;
    }
  }
  
  }
  

      
 
@media (max-width:767px){
    .contact .contact-form .col-6,
    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item,
    .about .about-content .skills,
    .about .about-content .personal-info{
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-col {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
      }

      .service .service-item .service-item-inner{
        height: 335px;
      }
}


@media (max-width: 1199px) {
    .nav-toggler {
      display: flex;
      position: fixed;
      top: 15px;
      left:6%;
      transform: translateX(-5%);
      z-index: 5000;
      background: var(--bg-black-100);
      border: 1px solid var(--bg-black-50);
    }
  
    .aside.open {
      left: 0;
      z-index: 999;
    }
  
    .aside {
      transition: left 0.7s ease;
    }
  
    .main-content.open {
      display: none;
    }
    
  }

  
  /* Optional: Overlay-Stil für geöffnetes Menü */
  @media (max-width: 1199px) {
    .aside.open {
      width: 100vw;
      height: 100vh;
      justify-content: flex-start;
      align-items: flex-start;
      padding-top: 100px;
    }

    .section .container{
        padding-top: 90px;}
  
    .aside .nav {
      display: block;
      width: 100%;
      text-align: center;
      margin-top: 100px;
    }
  
    .aside .nav li {
      margin: 30px 0;
    }
  }


  @media (max-width: 1199px) {
    .aside.open .logo {
      position: absolute;
      top: 55px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1101;
      margin-top: 30px;
    }
  
    .aside .logo {
      position: absolute;
      top: 30px;
      left: 30px; /* Standardposition im geschlossenen Zustand */
      transform: none;
      z-index: 1101;
    }
  }

  @media (max-width:767px){
    .service .service-item .service-item-inner{
        min-height: 400px;
        height: auto;
    }
  }

  @media (max-width:491px){
  .padd-15{
    padding-left: 10px;
    padding-right: 10px;
    }
}
/*----------------------- Lightbox ------------------------*/
  /* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 9999;
  }
  
  .lightbox.show {
    display: flex;
  }
  
  .lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255,255,255,0.2);
  }
  
  .close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
  }
  