@font-face {
  font-family: "Comic Neue";
  src: url("./fonts/comic-neue-v8-latin-regular.woff2") format("woff2"),
    url("./fonts/comic-neue-v8-latin-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Comic Neue";
  src: url("./fonts/comic-neue-v8-latin-700.woff2") format("woff2"),
    url("./fonts/comic-neue-v8-latin-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #4ade80;
  --secondary-color: #3b82f6;
  --accent-color: #D0F0FE;
}

body {
  font-family: "Comic Neue", Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  background: url("./image/body-bg.webp") no-repeat center top fixed;
  background-size: cover;
  background-attachment: fixed;
  color: #222;
}

/* Passe .main-text an, damit sie nicht zu weit oben sitzt und die Überschrift im Bild überdeckt */
.main-text {
  max-width: 700px;
  margin: 37vh auto 2rem auto;
  background: var(--accent-color); /* <-- Das 'cc' am Ende macht die Box halbtransparent */
  border-radius: 1.5rem;
  padding: 0.25rem 2rem;
  text-align: center;
  font-size: 1.15rem;
  position: relative;
  z-index: 2;
}

.main-text h2 {
  color: #3b82f6;
  font-size: 2rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.main-text ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.2rem 0;
}

.main-text ul li {
  font-size: 1.1rem;
  margin: 0.3rem 0;
}

.main-text strong {
  color: #4ade80;
  font-weight: 700;
}

.features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem 0 1.5rem 0;
  flex-wrap: wrap;
}
.feature {
  background: #f6fff9; /* sanftes Grün statt weiß */
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px rgba(76, 220, 196, 0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  width: 220px;
  transition: transform 0.2s;
}
.feature:hover {
  transform: translateY(-6px) scale(1.04);
}
.feature span {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.feature h2 {
  margin: 0.5rem 0 0.3rem 0;
  color: #3b82f6;
  font-size: 1.3rem;
}

.products {
  background: var(--accent-color);
  padding: 3rem 0 2rem 0;
  border-radius: 1.5rem;
  margin: 2rem auto;
  max-width: 1200px;
  width: 95vw;
}

.product-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.product-card {
  background: #f6fff9;
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px rgba(59, 130, 246, 0.07);
  width: 300px;
  min-width: 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
  margin-bottom: 1.5rem;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 1.5rem 1.5rem 0 0;
}
.product-card h3 {
  margin: 1rem 0 0.5rem 0;
  color: #3b82f6;
  font-size: 1.2rem;
}
.product-card p {
  font-size: 1rem;
  margin: 0 0 1rem 1rem;
}
.buy-btn {
  background: linear-gradient(90deg, #4ade80 60%, #3b82f6 100%);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 2rem;
  padding: 0.8rem 1.5rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(76, 220, 196, 0.1);
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.buy-btn:hover {
  background: linear-gradient(90deg, #3b82f6 60%, #4ade80 100%);
  transform: scale(1.06);
}

/* Footer-Links nebeneinander und zentriert */
footer {
  width: 100%;
  height: auto;
  background: #3b82f6;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: 1rem 0 0.5rem 0;
  font-size: 1rem;
  margin-top: 2rem;
  border-radius: 1.5rem 1.5rem 0 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.footer-links a {
  color: #fff;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fbbf24;
}

/* Mobile-Optimierung */
@media (max-width: 600px) {
  body {
    background-size: cover;
    background-position: center top;
  }
  .main-text {
    margin: 4vh 0.5rem 1rem 0.5rem;
    padding: 1.2rem 0.5rem;
    font-size: 1rem;
    max-width: 98vw;
  }
  .features {
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0 1rem 0;
    align-items: center;
  }
  .feature {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    padding: 1.2rem 0.5rem;
  }
  .products {
    margin: 1rem 0.2rem;
    padding: 1rem 0 0.5rem 0;
    border-radius: 1rem;
    max-width: 100vw;
  }
  .products h2 {
    font-size: 1.3rem;
  }
  .product-list {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .product-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 1.2rem;
  }
  .product-card img {
    height: 160px;
  }
  footer {
    font-size: 0.95rem;
    padding: 1rem 0.2rem 0.5rem 0.2rem;
    border-radius: 1rem 1rem 0 0;
  }
  .footer-links {
    gap: 0.8rem;
    font-size: 0.95rem;
    flex-direction: column;
  }
}
