/* Burger Icon Styling */
.burger {
  display: none; /* erst mal verstecken, nur mobil anzeigen */
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .header-nav {
    position: fixed;
    top: 70px; /* Höhe des Headers */
    right: 0;
    background-color: rgba(0,0,0,0.9);
    width: 200px;
    height: calc(100% - 70px);
    flex-direction: column;
    padding-top: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  /* Menü sichtbar machen, wenn .show gesetzt ist */
  .header-nav.show {
    transform: translateX(0);
  }

  .header-nav a {
    padding: 15px 20px;
    font-size: 1.2rem;
    display: block;
  }

  /* Burger Icon sichtbar machen */
  .burger {
    display: flex;
  }
  
  /* Header-Inhalt (links) bleibt oben links */
  .header-left {
    z-index: 1001;
  }
}

html {
  scroll-behavior: smooth;
}

  @font-face {
    font-family: 'Rockwell';
    src: local('Rockwell'), local('Rockwell Std');
    font-weight: normal;
    font-style: normal;
  }

    /* Grundstil */
   body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #f0f0f0;
  background: linear-gradient(
    to right,
    #6a0dad 0%,
    #2a0b3a 40%,
    #0e0e0e 80%,
    #1a1a1a 100%
  );
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

    /* Header / Hero */
 /* Standard: Header ist nicht fix */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(to right, rgba(255,255,255,0.05), rgba(255,255,255,0)) black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  z-index: 1000;
}

body {
  padding-top: 70px;
}


/* Im Media Query brauchst du das jetzt nicht mehr */
@media (max-width: 768px) {
  /* header und body brauchen keine speziellen Positionen mehr */
}

.header-logo-link {
  text-decoration: none; /* Kein Unterstrich */
  color: inherit;        /* Gleiche Farbe wie der Text */
  display: inline-block; /* Damit das Ganze klickbar ist */
}

.header-logo-link:hover {
  text-decoration: none; /* Optional: Unterstrich beim Hover */
}


/* Linke Seite */
.header-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Logo */
header h1 {
  font-family: 'Rockwell', serif;
  font-size: 1.5rem;
  color: white;
  margin: 0;
}

/* Untertitel */
header p {
  font-size: 0.9rem;
  color: white;
  margin: 2px 0 0 0;
}

/* Navigation rechts */
.header-nav {
  display: flex;
  gap: 20px;
}

.header-nav a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.header-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.about {
  padding: 160px 20px 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  background-color: rgba(255, 255, 255, 0.05); /* leicht durchsichtige weiße Box */
  padding: 40px;
  border-radius: 16px;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px); /* Glass-Effect, wenn unterstützt */
}

.about h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: 'Rockwell', serif;
}

.about p {
  font-size: 1.1rem;
  color: #e0e0e0;
  line-height: 1.6;
}

.services {
  padding: 140px 20px;
  text-align: center;
}

.services-container {
  max-width: 1100px;
  margin: 0 auto;
}

.services h2 {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 40px;
  font-family: 'Rockwell', serif;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px 20px;
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
}

.references {
  padding: 160px 20px;
  text-align: center;
}

.references-container {
  max-width: 1100px;
  margin: 0 auto;
}

.references h2 {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 40px;
  font-family: 'Rockwell', serif;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.project-card h3 {
  font-size: 1.3rem;
  color: white;
  margin: 16px;
}

.project-card p {
  font-size: 1rem;
  color: #ccc;
  margin: 0 16px 20px;
}

.project-card {
  padding: 30px 20px 40px; /* letzter Wert ist padding-bottom */
}



.contact {
  padding: 160px 20px;
  text-align: center;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 16px;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact h2 {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 10px;
  font-family: 'Rockwell', serif;
}

.contact p {
  color: #ccc;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #bbb;
}

.contact-form button {
  padding: 14px;
  background-color: #ff6f61;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #e6594f;
}

    /* Footer */
    footer {
      text-align: center;
      padding: 0.3rem;
      background: #222;
      color: white;
      font-size: 0.9rem;
    }

    /* Responsive */
    @media (max-width: 600px) {
      .services {
        flex-direction: column;
      }
    }


.hero {
  height: calc(100vh - 70px); /* Höhe abzüglich der Header-Höhe */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
}

.hero h2 {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
  font-family: 'Rockwell', serif;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.3rem;
  color: #ddd;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: #ff6f61;
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e6594f;
}

/* Anfangszustand: ausgeblendet und leicht nach unten verschoben */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Wenn sichtbar: komplett sichtbar und an Originalposition */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.line-mobile {
  display: none;
}

@media (max-width: 768px) {
  .line-desktop {
    display: none;
  }
  .line-mobile {
    display: inline;
  }
}

.project-button {
  display: inline-block;
  margin-top: 5px;
  padding: 10px 20px;
  background-color: #ff6f61;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.project-button:hover {
  background-color: #e6594f;
}

body.home main {
  padding: 0;
}















html, body {
      margin: 0;
      padding: 0;
      height: 100%;
    }

    html {
      scroll-behavior: smooth;
    }

    @font-face {
      font-family: 'Rockwell';
      src: local('Rockwell'), local('Rockwell Std');
      font-weight: normal;
      font-style: normal;
    }

    body {
      display: flex;
      flex-direction: column;
      font-family: Arial, sans-serif;
      color: #f0f0f0;
      background: linear-gradient(
        to right,
        #6a0dad 0%,
        #2a0b3a 40%,
        #0e0e0e 80%,
        #1a1a1a 100%
      );
      background-attachment: fixed;
      background-repeat: no-repeat;
      background-size: cover;
      padding-top: 70px; /* Platz für fixen Header */
    }

    .header-logo-link {
      text-decoration: none;
      color: inherit;
      display: inline-block;
    }

    .header-logo-link:hover {
      text-decoration: none;
    }

    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 70px;
      background: linear-gradient(to right, rgba(255,255,255,0.05), rgba(255,255,255,0)) black;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 30px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.4);
      z-index: 1000;
    }

    .header-left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      z-index: 1001;
    }

    header h1 {
      font-family: 'Rockwell', serif;
      font-size: 1.5rem;
      color: white;
      margin: 0;
    }

    header p {
      font-size: 0.9rem;
      color: white;
      margin: 2px 0 0 0;
    }

    .header-nav {
      display: flex;
      gap: 20px;
    }

    .header-nav a {
      color: white;
      text-decoration: none;
      font-size: 0.95rem;
      padding: 8px 12px;
      border-radius: 4px;
      transition: background 0.3s ease;
    }

    .header-nav a:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }

    /* Hamburger Icon */
    .burger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 6px;
      user-select: none;
      font-size: 1.8rem;
      color: white;
      z-index: 1002;
    }

    @media (max-width: 768px) {
      .header-nav {
        position: fixed;
        top: 70px;
        right: 0;
        background-color: rgba(0,0,0,0.9);
        width: 200px;
        height: calc(100% - 70px);
        flex-direction: column;
        padding-top: 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
      }
      .header-nav.show {
        transform: translateX(0);
      }
      .header-nav a {
        padding: 15px 20px;
        font-size: 1.2rem;
        display: block;
      }
      .burger {
        display: flex;
      }
    }

    main.main-content {
      flex: 1;
      display: flex;
      justify-content: center;
      padding: 110px 20px 80px;
      box-sizing: border-box;
    }

    .legal-content {
      max-width: 800px;
      width: 100%;
      padding: 40px;
      background-color: rgba(255, 255, 255, 0.05);
      border-radius: 16px;
      backdrop-filter: blur(4px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
      text-align: left;
    }

  

    .legal-content h2 {
      font-size: 2rem;
      color: white;
      font-family: 'Rockwell', serif;
      margin-bottom: 20px;
      text-align: center;
    }

    .legal-content p {
      font-size: 1rem;
      color: #ccc;
      line-height: 1.6;
    }

    .legal-content a {
      color: #aaa;
      text-decoration: none;
    }

    .legal-content a:hover {
      color: white;
    }

    footer {
      text-align: center;
      padding: 0.3rem;
      background: #222;
      color: white;
      font-size: 0.9rem;
    }

    footer a {
      color: #aaa;
      text-decoration: none;
    }

    footer a:hover {
      color: white;
    }



.danke-page main.main-content {
  padding: 110px 20px 35rem; /* Dein neues Padding */
}

.legal-content.center-text {
  text-align: center;
}



html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
}

#confusedSpace {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  display: block;
}

