/* ---------------------------- */
/* Reset & Grundlegendes        */
/* ---------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden; /* verhindert X-Overflow */
}

/* ---------------------------- */
/* Navbar & Header              */
/* ---------------------------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  background: rgba(0,0,0,0);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 2000;
}

.navbar .logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
}
.logo img {
  max-width: 100px;   /* maximal 10px breit */
  max-height: 100px;  /* maximal 10px hoch */
  height: auto;      /* Höhe proportional zur Breite */
  width: auto;       /* Breite proportional zur Höhe */
  display: block; /* verhindert kleinen Abstand unter dem Bild */
}
.navbar .nav-links {
  list-style: none;
  display: flex;
  z-index: 2000;
}

.navbar .nav-links li {
  margin: 0 10px;
}

.navbar .nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar .nav-links a:hover {
  color: #ff9800;
}

/* ---------------------------- */
/* Hero Section                 */
/* ---------------------------- */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

/* Video Hintergrund */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* füllt das Fenster vollflächig, proportional */
  z-index: 1;
}

/* Gradient Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Verlauf von transparent oben zu schwarz unten */
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,1) 100%);
  z-index: 2;
}

.hero-content {
  position: absolute; /* absolut innerhalb der Hero-Section */
  bottom: 40px;       /* Abstand vom unteren Rand */
  left: 20px;         /* Abstand vom linken Rand */
  z-index: 3;
  text-align: left;   /* Text linksbündig */
  color: #fff;        /* optional, falls Textfarbe überschrieben */
}

/* Optional: Button und Text etwas größer machen */
.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0px;
  line-height: 0.6;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
} 

@media (max-width: 768px) {
    .hero-content {
        position: absolute; /* absolut innerhalb der Hero-Section */
        bottom: 120px;       /* Abstand vom unteren Rand */
        left: 20px;         /* Abstand vom linken Rand */
        z-index: 3;
        text-align: left;   /* Text linksbündig */
        color: #fff;        /* optional, falls Textfarbe überschrieben */
    }

    .hero-content h1 {
      font-size: 2.5rem;
      margin-bottom: 0px;
      line-height: 0.6;
    }

    .hero-content h2 {
      font-size: 2.5rem;
      margin-bottom: 20px;
} 
}


.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}


.hero .btn {
  margin-top: 20px;
  padding: 15px 20px;
  background: #000000;
  color: #fff;
  text-decoration: none;
  border: none;
  font-weight: 100; 
  border-radius: 2px;
  box-shadow: 0 0 0 0.3px #fff;
  transition: background 0.3s;
}

.hero .btn:hover {
  background: #ffffff;
  color: #000000;
  text-decoration: none;
}
.hero-logo {
  position: absolute;
  top: 40%;           /* vertikal zentriert */
  left: 50%;          /* horizontal zentriert */
  transform: translate(-50%, -50%); /* genaues Zentrum */
  z-index: 4;         /* über Overlay und Text */
}

.hero-logo img {
  width: 150px;       /* gewünschte Größe */
  height: auto;       /* proportional */
  display: block;
}

/*about Section mit Video*/
.video-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  color: #fff;
  text-align: center;
  display: block; /* kein flex mehr */
}

.video-section .btn {
   padding: 15px 20px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 0 0.3px #fff;
  transition: background 0.3s;
}

.video-section .btn:hover {
  background: #ffffff;
  color: #000000;
  text-decoration: none;
} 


.section-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 80%);
  z-index: 1;
}

.section-content {
  position: absolute;  /* absolut innerhalb der Section */
  bottom: 50px;        /* Abstand vom unteren Rand */
  left: 20px;          /* Abstand vom linken Rand */
  transform: none;     /* keine horizontale Verschiebung mehr */
  z-index: 2;          /* über Video und Overlay */
  max-width: 600px;    /* optional: Textbreite begrenzen */
  color: #fff;
  text-align: left;    /* linksbündig */
  padding: 0 20px;
}

.section-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-content p {
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 100;
}
/* ---------------------------- */

.youtube-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.youtube-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  pointer-events: none; /* verhindert Klicks ins Video */
}


/* Parallax Section             */

.benefits-section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #fff;

  /* Saubere Hintergrundangabe */
  background-image: url('images/benefits.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll; /* für normale Section ohne Parallax */
}

.benefits-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.benefits-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* automatisch anpassbar */
  gap: 30px;
  max-width: 1200px;
  width: 90%;
  padding: 50px 0;
  justify-items: center; /* zentriert die Cards in der Zelle */
}

.benefit-card {
  width: 100%;
  max-width: 350px;      /* maximale Größe der Card */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 15px;
  text-align: left;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.benefit-card p {
  font-size: 1rem;
  line-height: 1.4;
}

/* Hover-Effekt */
.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}

/* Mobile Layout */
@media (max-width: 768px) {
  .benefits-container {
    grid-template-columns: 1fr; /* alle untereinander */
  }

  .benefit-card {
    max-width: 90%;            /* volle Breite auf Mobilgeräten */
  }
}


/* Kontakt Formular             */
form {
  display: flex;
  flex-direction: column;
  width: 300px;
  margin: 0 auto;
}

form input, form textarea {
  margin: 10px 0;
  padding: 10px;
}

form button {
  padding: 10px;
  background: #ff9800;
  border: none;
  color: #fff;
  cursor: pointer;
}

form button:hover {
  background: #e68900;
}

/* ---------------------------- */
/* Footer                       */
footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 20px;
}

/* ---------------------------- */
/* Burger-Menü                  */
.burger {
  display: none; /* nur ab Mobile sichtbar */
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  z-index: 2001;
  width: 28px; /* leicht verkleinert gegen Overflow */
  height: 25px;
  position: relative;
}

.burger span {
  height: 3px;
  width: 100%;
  background: #fff;
  margin: 4px 0;
  border-radius: 5px;
  transition: all 0.4s ease;
  transform-origin: center;
}

/* ---------------------------- */
/* Mobile Navigation & Animation */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
  }

  .nav-links a:hover {
    color: #ff9800;
  }

  /* Animation Burger → X */
.burger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px); /* leicht verschieben, damit sich die Mitte trifft */
}

.burger.toggle span:nth-child(2) {
  opacity: 0;
}

.burger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

}

/* ---------------------------- */
/* Kontakt Section              */
/* ---------------------------- */
.contact-section {
  background: #111;           /* dunkler Hintergrund */
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  font-weight: 300;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

/* ---------------------------- */
/* Formular Styling             */
/* ---------------------------- */
.contact-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-container form input,
.contact-container form textarea,
.contact-container form select {
  padding: 12px 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: background 0.3s;
}

.contact-container form input:focus,
.contact-container form textarea:focus {
  background: rgba(255,255,255,0.2);
}

/* Datei-Input Styling */
.contact-container form input[type="file"] {
  padding: 8px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
}

/* ---------------------------- */
/* Button Styling               */
/* ---------------------------- */
.contact-container form button {
  padding: 15px 20px;
  background: #ff9800;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.contact-container form button:hover {
  background: #e68900;
  transform: translateY(-2px);
}

/* ---------------------------- */
/* Meldungen Styling            */
/* ---------------------------- */
#form-messages {
  margin-top: 15px;
  font-size: 1rem;
  font-weight: 500;
  color: #ff9800;
}

#form-messages.error {
  color: #ff3b3b;
}

/* ---------------------------- */
/* Mobile Anpassung             */
/* ---------------------------- */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 15px;
  }

  .contact-container form input,
  .contact-container form textarea {
    font-size: 0.95rem;
    padding: 10px;
  }

  .contact-container form button {
    font-size: 0.95rem;
    padding: 12px 18px;
  }
}



/* ---------------------------- */
/* Kontakt Section (Video-Variante, linksbündig unten) */
/* ---------------------------- */
.contact-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: #fff;
}

.contact-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 80%);
  z-index: 1;
}

.contact-content {
  position: absolute;
  bottom: 50px;  /* Abstand vom unteren Rand */
  left: 20px;    /* Abstand vom linken Rand */
  z-index: 2;
  max-width: 600px;
  text-align: left;  /* linksbündig */
}

.contact-content h2 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.contact-content p {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 30px;
}

/* Buttons passend zum Website-Style */
.contact-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-buttons .btn {
  padding: 15px 25px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 100;
  box-shadow: 0 0 0 0.3px #fff;
  transition: background 0.3s, color 0.3s;
}

.contact-buttons .btn:hover {
  background: #fff;
  color: #000;
}

.contact-buttons .btn.whatsapp {
  background: #25D366;
}

.contact-buttons .btn.whatsapp:hover {
  background: #1ebe57;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
  .contact-content {
    bottom: 30px;
    left: 15px;
    max-width: 90%;
  }

  .contact-content h2 {
    font-size: 2rem;
  }

  .contact-content p {
    font-size: 1rem;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-buttons .btn {
    width: 70%;
    margin: 0 auto;
  }
}
