body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(-45deg, #0d0d0d, #1a1a1a, #1f0036, #330033);
  background-size: 400% 400%;
  animation: gradientBG 20s ease infinite;
  color: #fff;
  position: relative;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background-color: rgba(0, 0, 0, 0.7);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}
.logo span {
  color: #ff5e62;
}

nav a {
  margin-left: 20px;
  color: #ccc;
  text-decoration: none;
}

.hero {
  padding: 100px 40px;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
}
.hero span {
  color: #ff5e62;
}
.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #000;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
.cta-button:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

.services, .portfolio, .contact {
  padding: 60px 40px;
  text-align: center;
}

.service-boxes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.service {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  width: 200px;
  transition: transform 0.3s ease;
}
.service:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.portfolio-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.portfolio-grid img {
  width: 200px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.portfolio-grid img:hover {
  transform: scale(1.05);
}

form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 0 auto;
}
input, textarea {
  margin-bottom: 15px;
  padding: 12px;
  border: none;
  border-radius: 5px;
}
button {
  padding: 12px;
  background: #ff5e62;
  border: none;
  color: #fff;
  border-radius: 5px;
  transition: background 0.3s ease, transform 0.3s ease;
}
button:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

footer {
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7);
}





/* Logo und Menü mittig ausrichten */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


@media screen and (max-width: 768px) {
  body {
    background: #000 !important;
    background-image: none !important;
  }
}


@media screen and (max-width: 768px) {
  .cta-button {
    background-color: #fff !important;
    color: #000 !important;
    border: none !important;
  }
}


header nav {
  display: none !important;
}


#contact h2 {
  text-align: center;
}


/* Lightbox-Stil */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border: 4px solid white;
  border-radius: 8px;
}
