@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* NAVBAR */
.navbar {
  background-color: #d5e3cf;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin: 0;
}

.nav-links {
  display: flex;
  /* Links in einer Reihe */
  gap: 20px;
  /* Abstand zwischen Links */
}

.navbar a {
  display: block;
  color: #2b2b2b;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  transition: transform 0.3s;
}

.navbar a:hover {
  transform: scale(1.3);
  /* Vergrößert Link beim Hover */
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #d5e3cf;
  color: #2b2b2b;
  margin: 0;
}

.logo img {
  height: auto;
  max-height: 80px;
  width: auto;
}

.hero {
  background: #c0ceb1;
  padding: 20px 0 115px 0; /* Abstand oben/unten */
  margin: 0;
  display: flex;
  align-items: flex-start; /* NICHT mehr vertikal zentriert */
  justify-content: center;
  text-align: left;
  min-height: auto; /* entfernt 100vh */
}


.hero-content {
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 0;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
}

.hero-text {
  flex: 1 1 60%;
  padding-right: 30px;
  margin: 0;
}

.hero-image {
  flex: 1 1 40%;
  text-align: center;
}

.hero input[type="email"],
.hero input[type="text"] {
  padding: 10px;
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  border: none;
  margin: 10px 0;
  text-align: center;
}

.highlight-box {
  background-color: #f6e9c5;
  border-radius: 25px;
  margin: 20px 0;
  padding: 20px;
  font-weight: bold;
  max-width: 500px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.box {
  background-color: #f6e9c5;
  border-radius: 25px;
  margin: 20px 0;
  padding: 20px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}

.testimonial b {
  display: block;
}

.frontend-link {
  background-color: #2b2b2b;
  color: #f6e9c5;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}

.footer-basic {
  padding: 40px 0;
  background-color: #d5e3cf;
  color: #4b4c4d;
}

.footer-basic ul {
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-basic li {
  padding: 0 10px;
}

.footer-basic ul a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
}

.footer-basic ul a:hover {
  opacity: 1;
}

.footer-basic .social {
  text-align: center;
  padding-bottom: 25px;
}

.footer-basic .social>a {
  font-size: 24px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  border: 1px solid #ccc;
  margin: 0 8px;
  color: inherit;
  opacity: 0.75;
}

.footer-basic .social>a:hover {
  opacity: 0.9;
}

.footer-basic .copyright {
  margin-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 0;
}

.button-primary {
  border-radius: 12px;
  background-color: #3C3A59;
  text-decoration: none;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-primary:hover {
  background-color: #A88DC1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .navbar a {
    width: 100%;
    padding: 12px;
    text-align: left;
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .hero-text,
  .hero-image {
    flex: 1 1 100%;
    padding-right: 0;
    text-align: center;
  }

  .hero input[type="email"],
  .hero input[type="text"] {
    width: 100%;
    max-width: 100%;
  }

  .highlight-box,
  .box {
    max-width: 100%;
    margin: 10px 0;
  }

  .footer-basic ul {
    font-size: 16px;
  }

  .footer-basic .social>a {
    margin: 5px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px;
  }

  .navbar a {
    font-size: 16px;
  }

  .button-primary,
  .frontend-link {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 16px;
  }

  .footer-basic {
    padding: 20px 0;
  }

  .footer-basic ul {
    font-size: 14px;
  }

  .footer-basic .copyright {
    font-size: 12px;
  }
}
