/* 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: 30px;
  color: white;
  margin-bottom: 8px;
  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: 10px;
}

.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;
}

/* Animierter Einstieg für Hero-Elemente */
.animate-hero {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.8s ease-out forwards;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop: nur Desktop-Typing anzeigen */
.typing-desktop {
  display: inline;
}

.typing-mobile {
  display: none;
}

/* Mobile: nur Mobile-Typing anzeigen */
@media (max-width: 768px) {
  .typing-desktop {
    display: none;
  }
  .typing-mobile {
    display: inline;
  }
}

/* Gemeinsame Styles für beide Tipp-Bereiche */
.typing-desktop, .typing-mobile {
  font-family: 'Rockwell', serif;
  font-size: 3rem;
  color: white;
  white-space: pre-wrap;
  border-right: 3px solid #ff6f61;
  overflow: hidden;
  display: inline-block;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 20px;
  animation: blink-caret 0.75s step-end infinite;
}

@media (max-width: 768px) {
  .typing-mobile {
    font-size: 2.2rem;
  }
}

@keyframes blink-caret {
  0%, 100% { border-color: transparent; }
  50% { border-color: #ff6f61; }
}

.hero-title {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.1 !important;
}

.hero-sub {
  margin-top: 0 !important;
}

.hero-title span {
  display: inline-block;
  line-height: 1.1 !important;
  margin: 0 !important;
  padding: 0 !important;
}


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;
}

.whatsapp-send-button {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-send-button:hover {
  background-color: #1ebe5d;
}

