/* Google Font CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  scroll-behavior: smooth;
}

body{
  width: 100%;
  height: auto;
  background-color: #000000;
  overflow-x: hidden;
}
html, body {
  background: black !important;
  color: white;
}

/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: hsl(0, 0%, 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(0, 0%, 100%);
}
/* navbar styling */
nav{
  width: 100%;
  height: 10vh;
  
}

.nav-container{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.logo{
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.logo span{
  color: rgb(255, 255, 255);
  
}

.hamburg,
.cancel{
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
  color: white;
  opacity: 0;
  pointer-events: none;
  font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}

.nav-container .links{
  display: flex;
}

.nav-container .links a{
  position: relative;
  font-size: 1.2rem;
  color: white;
  margin: 0 20px;
  text-decoration: none;
  font-weight: 550;
  transition: 0.3s linear;
}

.nav-container .links a::before{
  position: absolute;
  content: "";
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: hsl(0, 0%, 100%);
  transition: 0.2s linear;
}

.nav-container .links a:hover::before{
  width: 100%;
}

.nav-container .links a:hover{
  color: hsl(0, 0%, 100%);
}

.dropdown{
  z-index: 100;
  position: absolute;
  top: 0;
  transform: translateY(-500px);
  width: 100%;
  height: auto;
  backdrop-filter: blur(4px) brightness(40%);
  box-shadow:  0 0 20px black;
  transition: 0.2s linear;
}

.dropdown .links a{
  display: flex;
  color: white;
  text-decoration: none;
  justify-content: center;
  padding: 15px 0;
  align-items: center;
  transition: 0.2s linear;
}

.dropdown .links a:hover{
  background-color: hsl(0, 0%, 100%);
}

section{
  width: 100%;
  min-height: 90vh;
}

section .main-container{  
  display: flex;
  min-height: 100vh;
  padding-top: 18vh;
  padding-left: 4vw;
  align-items: flex-start;
}


.main-container .image{
  width: 45vh;
  height: 100vh;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.main-container .image img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* KEIN Verzerren */
  object-position: center; /* Gesicht schön mittig */
}

.main-container .image:hover{
  animation: animate 1.5s ease-in-out infinite;
}

@keyframes animate {
  0%{
      scale: 1;
  }
  
  50%{
      scale: 1.05;
  }
  
  100%{
      scale: 1;
  }
}

.main-container .content{ /* HIRE ME KNOPF */
  color: rgb(255, 255, 255);
  width: 40%;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6) contrast(1.05);
}




.hero .content {
  position: relative;
  z-index: 2;
}

.content h1{
  font-size: clamp(2.2rem, 3vw, 3.8rem);
  margin: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.content h2{
  margin-top: 0.4em;
}

.content p{
  margin-top: 0.5em;
}

.content h1 span{
  color: hsl(0, 0%, 100%);
  text-shadow: 0  0 10px hsl(0, 0%, 100%);
}

.content .typewriter{
  font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
  font-weight: 600;
}

.content .typewriter-text{
  color: hsl(0, 0%, 100%);
  text-shadow: 0 0 10px hsl(0, 0%, 100%);
}

.content p{
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  margin: 10px 0;
  color: rgb(255, 255, 255);
}

.social-links i{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  border: 0.2rem solid hsl(0, 0%, 100%);
  border-radius: 50%;
  color: hsl(0, 0%, 100%);
  margin: 5px 15px;
  font-size: 1.5rem;
  transition: 0.2s linear;
}

.social-links i:hover{
  scale: 1.3;
  color: black;
  background-color: hsl(0, 0%, 100%);
  filter: drop-shadow(0 0 10px hsl(0, 0%, 100%));
}

.content button{
  width: 50%;
  height: 6vh;
  margin: 30px;
  background-color: hsl(0, 0%, 100%);
  color: white;
  border: none;
  outline: none;
  font-size: 120%;
  font-weight: 700;
  border-radius: 5px;
  transition: 0.2s linear;
}

.content button:hover{
  scale: 1.1;
  color: hsl(0, 0%, 100%);
  border: 2px solid hsl(0, 0%, 100%);
  background-color: transparent;
  font-weight: 700;
  box-shadow: 0 0 40px hsl(0, 0%, 100%);
}

/* About Section Styling */
/* Those Elements Where We Have Apply Same CSS,
I'm Selecting Directly 'Section Tag' and 'Class'  */

  section {
  width: 100%;
  min-height: 100vh;
  background-image: url("main.jpg");
  background-size: cover;          /* GANZER Screen */
  background-position: center;     /* Gesicht gut */
  background-repeat: no-repeat;
  position: relative;
}
  
  section .content{
    width: 80%;
    margin: 150px;
    font-family: 'Poppins', sans-serif;
    }
  .about .about-details{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    }
  section .title{
      display: flex;
      justify-content: center;
      margin-bottom: 40px;
  }
  section .title span{
    color: white;
    font-size: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
  }
  section .title span::before,
  section .title span::after{
    content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    background: hsl(0, 0%, 100%);
    left: 0;
    bottom: 0;
  }
  section .title span::after{
    bottom: -7px;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
  }
  .about .about-details .left{
    width: 45%;
  }
  .about .left img{
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 12px;
  }
  .about-details .right{
    width: 55%;
  }
  section  .topic{
    color: white;
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 10px;
  }
  .about-details .right p{
    text-align: justify;
  color: white;
  }
  section .button{
    margin: 16px 0;
}
section .button button{
  outline: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 25px;
  font-weight: 400;
  background: hsl(0, 0%, 100%);
  color: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s ease;
  }
  section .button button:hover{
    border-color: hsl(0, 0%, 100%);
    background-color: #fff;
    color: hsl(0, 0%, 100%);
  }
  
  .skills{
    background: black;
    }
  .skills .content{
    padding: 40px 0;
  }
  .skills .skills-details{
    display: flex;
    justify-content: space-between;
    align-items: center;
 }
 .skills-details .text{
   width: 50%;
   }
   .skills-details p{
     color: white;
     text-align: justify;
     }
     .skills .skills-details .experience{
       display: flex;
       align-items: center;
       margin: 0 10px;
       }
.skills-details .experience .num{
  color: white;
  font-size: 80px;
}
.skills-details .experience .exp{
  color: white;
  margin-left: 20px;
  font-size: 18px;
  font-weight: 500;
  margin: 0 6px;
}
.skills-details .boxes{
  width: 45%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.skills-details .box{
  width: calc(100% / 2 - 20px);
  margin: 20px 0;
}
.skills-details .boxes .topic{
  font-size: 40px;
  color: hsl(0, 0%, 100%);
}
.skills-details .boxes .per{
  font-size: 20px;
  color: hsl(0, 0%, 100%);
}

.services .boxes{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.services .boxes .box{
  margin: 20px 0;
  width: calc(100% / 3 - 20px);
  text-align: center;
  border-radius: 12px;
  padding: 30px 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
  cursor: default;
  color: white  ;
  transition: all 0.4s ease;
}
.services .boxes .box:hover{
  background: hsl(0, 0%, 100%);
  color: #fff;
}
.services .boxes .box .icon{
  height: 50px;
  width: 50px;
  background: hsl(0, 0%, 100%);
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: #fff;
  margin: 0 auto 10px auto;
  transition: all 0.4s ease;
}
.boxes .box:hover .icon{
  background-color: #fff;
  color: hsl(0, 0%, 100%);
}
.services .boxes .box:hover .topic,
.services .boxes .box:hover p{
  color: white;
  transition: all 0.4s ease;
}
.services .boxes .box:hover .topic,
.services .boxes .box:hover p{
  color: #fff;
}
/* Contact Me CSS */
.contact{
  background: black;
}
.contact .content{
  margin: 0 auto;
  padding: 30px 0;
}
.contact .text{
  width: 80%;
  text-align: center;
  margin: auto;
}

footer{
  background: hsl(0, 0%, 100%);
  padding: 15px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}
footer .text span{
  font-size: 17px;
  font-weight: 400;
  color: #fff;
}
footer .text span a{
  font-weight: 500;
  color: #FFF;
}
footer .text span a:hover{
  text-decoration: underline;
}
.scroll-button a{
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fff;
  background: hsl(0, 0%, 100%);
  padding: 7px 12px;;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.15);
  display: none;
}


@media (max-width: 1000px) {
  .about .about-details{
    justify-content: center;
    flex-direction: column;
  }
  .about .about-details .left{
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .about-details .right{
    width: 90%;
    margin: 40px 0;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }
}

@media (max-width: 900px) {
  .about .left img{
    height: 350px;
    width: 350px;
  }
}

@media (max-width: 968px) {

  nav .logo{
    position: flex;
    top: 16px;
    left: 15px;
    font-size: 1.5rem;
}

  section .main-container {
    padding-left: 0px;
    display: flex;
    flex-direction: column;
  }
  
  .nav-container .links{
    display: none;
  }
  
  .hamburg,
  .cancel{
    opacity: 1;
    pointer-events: visible;
  }
  
  .main-container .content{
    margin-top: 20px;
      width: 80%;
  }
  
  .social-links i{
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }
  
  .main-container .image{
    z-index: -1;
    width: 50%;
      height: 60%;
  }
  
  .skills .skills-details{
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .skills-details .text{
    width: 100%;
    margin-bottom: 50px;
  }
  .skills-details .boxes{
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: 100%;
  }
  .contact .text{
    width: 100%;
}
}

@media (max-width: 500px){
  main-container .image{
        width: 50%;
        height: 60%;
        margin-bottom: 0px;
    }
    
    .main-container .content{
        width: 80%;
    }
    
    .main-container button{
        margin-top: 15px;
    }
  
  .skills-details .boxes .per{
    font-size: 50px;
    color: hsl(0, 0%, 100%);
  }
}


/* NUR HERO-TEXT BEWEGEN */
.hero .content{
  position: relative;        /* wichtig */
  left: 297px;              /* 👈 nach links */
  top: -200px;                /* 👆 nach oben */
  margin: 0;                 /* killt auto-centering */
  text-align: left;
}



/* ==== IMPRESSUM (nur diese Section) ==== */
.impressum-section{
  background: black;        /* passt zu deinem Theme */
  background-image: none;   /* wichtig: killt dein globales section-bg */
  padding: 30px 0;
  min-height: 100vh;
}
.impressum-section{
  display: flex;
  flex-direction: column;
  align-items: center; /* DAS ist der Key */
}

.impressum-section .title span{
  color: white;
  text-align: center;
    display: flex;
  justify-content: center;
}



.impressum-card h3{
  margin-top: 22px;
  color: white;
}

.impressum-card p{
  color: rgba(255,255,255,0.9);
  margin: 10px 0;
  font-size: 1.05rem;
}

.impressum-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px 18px;
}

.impressum-grid > div:nth-child(odd){
  color: rgba(255,255,255,0.75);
}

.impressum-grid > div:nth-child(even){
  color: white;
}


.impressum-link{
  color: hsl(0, 0%, 100%);
  font-weight: 600;
  text-decoration: none;
}

.impressum-link:hover{
  text-decoration: underline;
}


/* ===== Legal pages (Datenschutz/Impressum als eigene Seite) ===== */
.legal-page{
  background: black;
  background-image: none;
  min-height: 100vh;
  padding: 90px 0;
  color: white;
}

.legal-card{
  margin: 25px auto;          /* 🔥 zentriert */
  padding: 32px;
  border-radius: 16px;
  border: 2px solid hsl(0, 0%, 100%);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 25px rgba(0, 128, 64, 0.25);

  width: 85%;                 /* 🔥 fast ganze Seite */
  max-width: 1200px;          /* 🔥 nicht zu breit auf großen Screens */
}


.legal-card h3{
  margin-top: 18px;
  color: white;
}

.legal-card p{
  color: rgba(255,255,255,0.9);
  margin: 10px 0;
  font-size: 1.05rem;
}
/* Datenschutz-Seite: Content wirklich mittig */
.legal-page .content{
  width: 100%;
  max-width: none;
  margin: 0 auto;
}


/* Mobile */
@media (max-width: 900px){
  .impressum-layout{
    grid-template-columns: 1fr;
  }
}
/* === IMPRESSUM LAYOUT (NEU) === */

.impressum-layout{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.impressum-card{
  padding: 28px;
  border-radius: 16px;
  border: 2px solid hsl(0, 0%, 100%);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 25px rgba(0, 128, 64, 0.25);
  color: white;
}

.anfahrt-card h3{
  text-align: center;
  margin-bottom: 16px;
}

.anfahrt-card iframe{
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
  border-radius: 12px;
}

@media (max-width: 900px){
  .impressum-layout{
    grid-template-columns: 1fr;
  }
}

/* ==== IMPRESSUM SECTION CLEAN ==== */
.impressum-section{
  background: black;
  background-image: none;
  min-height: 100vh;
  padding: 0px 0;
}

/* Titel wirklich mittig */
.impressum-section .title{
  width: 100%;
  display: flex;
  justify-content: center;
}
.impressum-section .title span{
  color: white;
}

/* 2 Spalten Layout */
.impressum-layout{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: stretch;
}

/* Cards (beide gleich!) */
.impressum-card{
  padding: 28px;
  border-radius: 16px;
  border: 2px solid hsl(0, 0%, 100%);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 25px rgba(0, 128, 64, 0.25);
  color: white;
}

/* Anfahrt */
.anfahrt-card h3{
  text-align: center;
  margin-bottom: 16px;
}

/* Map sauber rund + nix kantig */
.map-box{
  border-radius: 12px;
  overflow: hidden;        /* <- DAS clippt die Map Ecken */
  border: 2px solid hsl(0, 0%, 100%);
  box-shadow: 0 0 25px rgba(0, 128, 64, 0.25);
}

.map-box iframe{
  display: block;          /* verhindert komische Spalten/Lines */
  width: 100%;
  height: 360px;           /* mach größer/kleiner wie du willst */
  border: 0;
}

/* Mobile: untereinander */
@media (max-width: 900px){
  .impressum-layout{
    grid-template-columns: 1fr;
  }
}
