/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-l);
  position: relative;
  overflow: hidden;
  max-width: 100vw;
  min-height: 40vh;
  background: url("../../assets/images/Mehlglueck_fresh.png") center/cover no-repeat;
}

/* Overlay für Hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  text-align: center;
  margin: 0 auto;

  h1 {
    color: var(--color-accent);
  }

  p {
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
    margin: var(--spacing-l) 0 var(--spacing-xl) 0;
    max-width: 55ch;
  }
}


/* Products Section */
.products {
  padding: var(--spacing-xl) var(--spacing-m);
  margin-bottom: var(--spacing-xl);
}

.products h2 {
  text-align: center;
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: var(--spacing-xl);
}


/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-l);
  max-width: 1400px;
  margin: 0 auto;
}


/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-2);
}

.product-card .product-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-s);
  flex: 1;
}

.product-card .product-content h3 {
  margin: var(--spacing-xs) 0 0 0;
  color: var(--color-primary);
}

.product-card .product-content p {
  margin: 0;
  line-height: 1.6;
}

.product-card .product-content .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: auto;
}

.product-card .product-content button {
  align-self: flex-start;
  margin-top: var(--spacing-s);
}


/* Responsive Design */
@media (min-width: 991px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
