/* CSS Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #0a0e27;
  color: #e0e0e0;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(10, 14, 39, 0.95);
  border-bottom: 2px solid #00d4ff;
  padding: 1rem 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00d4ff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00d4ff;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #00d4ff;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a1f3a 0%, #16213e 50%, #0a0e27 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-reverse 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(30px); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  color: #00d4ff;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.hero p {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: #b0b0b0;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: #00d4ff;
  color: #0a0e27;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  background-color: #00a8cc;
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* Leistungen Section */
.leistungen {
  padding: 4rem 2rem;
  background-color: #0f1329;
}

.leistungen h2 {
  font-size: 2.5rem;
  color: #00d4ff;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(135deg, #1a1f3a 0%, #16213e 100%);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  border-color: #00d4ff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: #00d4ff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  color: #b0b0b0;
  font-size: 0.95rem;
}

/* Über uns Section */
.uber-uns {
  padding: 4rem 2rem;
  background-color: #0a0e27;
}

.uber-uns h2 {
  font-size: 2.5rem;
  color: #00d4ff;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.05rem;
  color: #c0c0c0;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.features li {
  font-size: 1.1rem;
  color: #00d4ff;
  font-weight: 600;
}

/* Kontakt Section */
.kontakt {
  padding: 4rem 2rem;
  background-color: #0f1329;
}

.kontakt h2 {
  font-size: 2.5rem;
  color: #00d4ff;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.kontakt-form {
  background: linear-gradient(135deg, #1a1f3a 0%, #16213e 100%);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #00d4ff;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: #0a0e27;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 5px;
  color: #e0e0e0;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.contact-info {
  background: linear-gradient(135deg, #1a1f3a 0%, #16213e 100%);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  color: #00d4ff;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
  color: #c0c0c0;
  line-height: 1.8;
}

.contact-info a {
  color: #00d4ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #00a8cc;
}

/* Footer */
.footer {
  background-color: #000;
  border-top: 2px solid #00d4ff;
  padding: 2rem;
  text-align: center;
  color: #808080;
}

.footer p {
  margin: 0.5rem 0;
}

/* Success Message */
.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #00d4ff;
  color: #0a0e27;
  padding: 2rem 3rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
  z-index: 200;
  display: none;
  animation: popup 0.3s ease;
}

.success-message.show {
  display: block;
}

@keyframes popup {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: rgba(10, 14, 39, 0.98);
    padding: 1rem;
    gap: 0;
  }

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

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .leistungen h2,
  .uber-uns h2,
  .kontakt h2 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .leistungen,
  .uber-uns,
  .kontakt {
    padding: 2rem 1rem;
  }

  .leistungen h2,
  .uber-uns h2,
  .kontakt h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    font-size: 2.5rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .kontakt-form,
  .contact-info {
    padding: 1.5rem;
  }

  .success-message {
    padding: 1.5rem 2rem;
    font-size: 1rem;
  }
}
