/* Allgemeine Stile */
body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #333;
  text-align: center;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #0066cc;
  color: white;
  max-width: 100%;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s;
}

.navbar a:hover {
  background-color: #005bb5;
}

.hero {
  text-align: center;
  padding: 3rem;
  background: url('hero-image.jpg') no-repeat center center/cover;
  color: white;
  border-radius: 15px;
}

.cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #0066cc;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  transition: background-color 0.3s;
}

.cta:hover {
  background-color: #005bb5;
}

.features, .product-list, .pricing-table {
  padding: 2rem;
  border-radius: 15px;
  background-color: #f9f9f9;
  margin: 1rem auto;
  max-width: 80%;
}

.feature-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.feature, .product, .plan {
  background: #ffffff;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 15px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 300px;
}

footer {
  background-color: #0066cc;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: auto;
  position: relative;
  max-width: 100%;
}

.language-switcher {
  display: flex;
  gap: 0.5rem;
}

.lang-switch {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.lang-switch:hover {
  background-color: #005bb5;
}

.image-slider {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto 2rem auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.slides {
  display: flex;
  transition: transform 1s ease-in-out;
}

.slides img {
  min-width: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav ul li {
  display: inline;
}

.footer-nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.footer-nav ul li a:hover {
  background-color: #005bb5;
  color: #8cb5eb;
}

.footer p {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #f9f9f9;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #0066cc;
  color: white;
  position: relative;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s, color 0.3s;
}

.nav-menu a:hover {
  background-color: #005bb5;
  color: #8cb5eb;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.hamburger:hover .hamburger-icon {
  transform: scale(1.1);
  filter: brightness(1.2);
  transition: transform 0.3s, filter 0.3s;
}

.hamburger-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.3s, filter 0.3s;
}

.nav-menu {
  display: flex;
}

.nav-menu ul {
  flex-direction: row;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: #0066cc;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 100;
    border-radius: 0 0 15px 15px;
  }

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

  .nav-menu ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .hamburger {
    display: block;
  }

  .language-switcher {
    margin-top: 1rem;
    text-align: center;
  }

  .nav-menu ul li a {
    padding: 0.75rem 1rem;
  }

  .nav-menu ul li a:hover {
    background-color: #005bb5;
    color: #8cb5eb;
  }
}


body {
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}


.fade-out {
  opacity: 0;
}


.fade-in {
  opacity: 1;
}

.page-slide {
  transform: translateX(100%);
  transition: transform 0.5s ease-in-out;
}

.page-slide-in {
  transform: translateX(0);
}

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #333;
  text-align: center;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #0066cc;
  color: white;
  max-width: 100%;
}

.navbar a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s;
}

.navbar a:hover {
  background-color: #005bb5;
}

/* ---Feedback meldungen---- */

#response {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  color: #28a745;
}

#response.error {
  color: #dc3545;
}