/* Reset und Basis-Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #5a32a4e6;
  --secondary-color: #5329a0e6;
  --accent-color: #e74c3c;
  --success-color: #27ae60;
  --text-color: #333;
  --light-gray: #e0e0e0;
  --medium-gray: #e0e0e0;
  --dark-gray: #555;
  --white: #e0e0e0;
  --black: #000;
  --box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: var(--text-color);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--primary-color);
}

/* Header Styling */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

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

.logo h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-weight: 600;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('bg.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 150px 0;
  text-align: center;
}

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

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeIn 1.5s ease-out;
}

.hero .btn {
  animation: fadeInUp 2s ease-out;
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/* Product Cards */
.product-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--medium-gray);
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.product-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 25px 20px;
  text-align: center;
}

.product-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.product-header h3 {
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.product-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-description {
  margin-bottom: 25px;
}

.product-description p {
  margin-bottom: 20px;
}

.features-list {
  margin-top: 15px;
}

.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.features-list i {
  color: var(--success-color);
  margin-right: 10px;
}

.product-price {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid var(--medium-gray);
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
  display: block;
}

.duration {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* Popular Tag */
.product-card.popular {
  border: 2px solid var(--accent-color);
  transform: scale(1.03);
}

.product-card.popular:hover {
  transform: scale(1.03) translateY(-10px);
}

.popular-tag {
  position: absolute;
  top: 15px;
  right: -30px;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 5px 30px;
  font-size: 0.9rem;
  font-weight: 600;
  transform: rotate(45deg);
  z-index: 1;
}

/* Contact CTA */
.contact-cta {
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--box-shadow);
  max-width: 800px;
  margin: 0 auto;
  border: 1px dashed var(--primary-color);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(52, 152, 219, 0.1), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.contact-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.contact-cta p {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

/* Contact Info */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item p {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.info-item p a {
  color: var(--primary-color);
}

.info-item p a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #333;
  color: var(--white);
  padding: 60px 0 20px;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.9rem;
}

/* Animationen */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    background-color: var(--white);
    width: 100%;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: var(--transition);
    opacity: 0;
  }

  nav.active {
    transform: translateY(0);
    opacity: 1;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 15px 0;
    margin-left: 0;
  }

  .hero {
    padding: 100px 0;
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .product-card.popular {
    transform: scale(1);
  }

  .product-card.popular:hover {
    transform: translateY(-10px);
  }

  .popular-tag {
    right: -35px;
    font-size: 0.8rem;
    padding: 3px 30px;
  }

  .contact-info {
    flex-direction: column;
    gap: 15px;
  }
}