*
{
    margin: 0;
    padding: 0;
    font-family: 'poppins','sans-serif';
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
}
body
{
    background-color: #fbfbfb;
    color: #080808;
}
#header
{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    
}
.container
{
    padding: 10px 10%;
}

/* ===== NAVIGATION ===== */
nav 
{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10%;
  position: relative;
  z-index: 1000;
}

.logo 
{
  width: 140px;
  cursor: pointer;
}

/* Desktop Menü */
#sidemenu 
{
  display: flex;
  list-style: none;
  gap: 30px;
  background-color: #fbfbfb;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  padding: 8px 20px;
}

#sidemenu a 
{
  color: #080808;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

#sidemenu a:hover 
{
  color: #0C5743;
}

/* Burger & Close Buttons */
#openMenu,
#closeMenu 
{
  display: none;
  color: #080808;
  font-size: 26px;
  cursor: pointer;
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) 
{
  #sidemenu 
  {
    position: fixed;
    top: 0;
    right: -250px;
    width: 200px;
    height: 100vh;
    background: #0C5743;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    transition: right 0.3s ease;
    border-radius: 0;
    box-shadow: none;
  }

  #sidemenu.active 
  {
    right: 0;
  }

  #sidemenu a 
  {
    color: white;
    font-size: 18px;
  }

  #openMenu 
  {
    display: block;
  }

  #closeMenu 
  {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
  }
}


.header-text
{
    margin-top: 10%;
    margin-bottom: 20%;
    text-align: center;
    font-size: 30px;
}
.header-text h1
{
    font-size: 40px;
    margin-top: 20px;
}

.header-text h1 span
{
    color: #0C5743;
}
.header-bg 
{
    display: block;
    width: 100vw;
    max-width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: 65% center;
    margin-top: -150px;
    margin-bottom: 30px;
}

/*--------about---------*/
#about
{
    padding: 80px 0;
    color: #898989;
}
.row
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1
{
    flex-basis: 20%;
    margin-top: 70px;
}
.about-col-1 img
{
    width: 120%;
    border-radius: 15px;
}
.about-col-2
{
   flex-basis: 65%;
}

.sub-title
{
    font-size: 50px;
    font-weight: 600;
    text-align: center;
    color: #080808;
}
.text
{
    margin-top: 75px;
    margin-bottom: 50px;
}
.section-break 
{
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 30px 0;
  width: 100%;
}


.tab-titles
{
    display: flex;
    margin: 20px 0 40px;
}

.tab-links
{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after
{
    content: '';
    width: 0;
    height: 3px;
    background: #0C5743;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after
{
    width: 50%;
}

.tab-contents ul li
{
    list-style: none;
    margin: 10px 0;
}
.tab-contents ul li span
{
    color: #73B2A1;
    font-size: 14px;
}
.tab-contents
{
    display: none;
}

.tab-contents.active-tab
{
    display: block;
}

/*--------services---------*/
#services
{
    padding: 30px 0;

}
.services-list
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.services-list div
{
    background: #73B2A1;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.services-list div i
{
    font-size: 50px;
    margin-bottom: 30px;
}
.services-list div h2
{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.services-list div a
{
    text-decoration: none;
    color: #080808;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.services-list div:hover
{
    background-color: #0C5743;
    transform: translateY(-10px);
}

/*------------portfolio--------*/
#portfolio
{
    padding: 50px 0;
}
.worklist
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.work
{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.work img
{
    width: 100%;
    border-radius: 10px;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.layer
{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6),#73B2A1);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.work:hover img
{
    transform: scale(1.1);
}
.work:hover .layer
{
    height: 100%;
}
.btn
{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #73B2A1;
    background-color: #73B2A1;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #080808;
    transition: background 0.5s;
}
.btn:hover
{
    background: #0C5743;

}
.hidden 
{
  display: none;
}
.KI-img
{
    width: 100%;
    height: 200px; /* Höhe kannst du anpassen: 200–250px für mehr Sichtbarkeit */
    object-fit: contain; /* zeigt das ganze Bild, ohne zu croppen */
    object-position: center; /* Bild bleibt mittig */
    border-radius: 10px
}

/*--------contact----------*/
.contact-left
{
    flex-basis: 35%;
}
.contact-right
{
    flex-basis: 60%;
}
.contact-left p
{
    margin-top: 30px;
}
.contact-left p i
{
    color: #73B2A1;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons
{
    margin-top: 30px;
}
.social-icons a
{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover
{
    color: #0C5743;
    transform: translateY(-5px);
}
.btn.btn2
{
    display: inline-block;
    background: #73B2A1;
}
.contact-right form
{
    width: 100%;

}
form input, form textarea
{
    width: 100%;
    border: solid;
    border-width: 0.1cap;
    outline: none;
    background: #fff;
    padding: 15px;
    margin: 15px 0;
    color: #262626;
    font-size: 18px;
    border-radius: 6px;
}
form .btn2
{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

/*-----------copyright----------*/

.copyright {
  display: flex;
  justify-content: space-between; /* sorgt für: eins links, eins rechts */
  align-items: center;
  padding: 20px 50px;
  background: #fff;
}

#privacy-btn,
#impressum-btn {
  color: #000;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#privacy-btn:hover,
#impressum-btn:hover {
  transform: scale(1.05);
}



/*-------------Portfolio1---------------------*/

.project-container 
{
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    max-width: 1200px; /* Container breiter, Bild rückt nach links */
    margin: 50px 50px 50px 100px; /* oben, rechts, unten, links */
    padding: 0;
    align-items: flex-start;
}

.project-image img 
{
    max-width: 450px; 
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.project-content 
{
    flex: 1;
    color: #898989;
}

.project-content h1 
{
    margin-top: 0;
    margin-bottom: 20px; 
    font-size: 28px;
    color: #000000;

}

.project-content h2 
{
    margin-top: 30px; 
    margin-bottom: 15px; 
    font-size: 20px;
    color: #000000;
}

.project-content p 
{
    font-size: 15px; 
    margin-bottom: 15px;
}

.project-content ul 
{
    padding-left: 20px;
    font-size: 15px; 
    margin-bottom: 15px;
}

.github-button 
{
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.github-button:hover 
{
    background-color: #555;
}

/*-----------css for small screen---------------*/

nav .fa-solid 
{
  display: none;
}

/* --- Mobile View --- */
@media only screen and (max-width: 600px) 
{

  
  #header 
  {
    background-image: url('images/slash.jpg');
  }

  .header-text 
  {
    margin-top: 100%;
    font-size: 16px;
  }

  .header-text h1 
  {
    font-size: 30px;
  }

  /* --- Burger Icon sichtbar machen --- */
  nav .fa-solid 
  {
    display: block;
    font-size: 25px;
    color: rgb(2, 2, 2);
    cursor: pointer;
  }

  /* --- Seitenmenü --- */
  #sidemenu 
  {
    background-color: #0C5743;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2;
    transition: right 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #sidemenu li 
  {
    display: block;
    margin: 25px 0;
  }

  #sidemenu a 
  {
    color: white;
    font-size: 18px;
    text-decoration: none;
  }

  #sidemenu .fa-circle-xmark 
  {
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
  }

  .sub-title 
  {
    font-size: 40px;
  }

  .about-col-1,
  .about-col-2 
  {
    flex-basis: 100%;
  }

  .about-col-1 
  {
    margin-bottom: 30px;
  }

  .about-col-2 
  {
    font-size: 14px;
  }

  .tab-links 
  {
    font-size: 16px;
    margin-right: 20px;
  }

  .contact-left,
  .contact-right 
  {
    flex-basis: 100%;
  }

  .header-text 
  {
    position: relative;
    top: -150px; /* passe -50px ggf. auf -40 oder -60 an, je nach Geschmack */
  }
}
/* =========================
   Desktop: Menü horizontal zentrieren
   ========================= */

@media (min-width: 769px) 
{
  /* Stelle sicher, dass nav als Bezugspunkt dient */
  nav 
  {
    position: relative; /* wichtig für die absolute Positionierung des Menüs */
  }

  /* Desktop: Menü absolut in der Mitte über der Seite platzieren */
  #sidemenu 
  {
    position: absolute;
    left: 50%;
    top: 25px;                 /* Abstand von oben (anpassen wenn nötig) */
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    background-color: #fbfbfb;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 8px 20px;
    z-index: 50;
  }

  /* Auf Desktop die Mobile-Icons ausblenden */
  #openMenu,
  #closeMenu,
  nav .fa-bars,
  nav .fa-circle-xmark,
  nav .fa-solid {
    display: none !important;
  }
}
@media (max-width: 768px) 
{
  #about img, 
  .about-content img, 
  .about-section img {
    display: block;
    width: 90%;
    max-width: 700px;
    margin: 0 auto 20px auto;
    position: relative;
    left: 0;
    transform: none;
  }
}
