/* produkte.css – erweitert für zweite Subnavbar & aktiven Zustand */

/* Erste Subnavbar (Kategorien) */
.subnav {
  background: #fff;
  border-bottom: 2px solid #ddd;
  padding: 12px 20px;
  text-align: center;
  margin-bottom: 20px;
  top: 105px;
  position: fixed;
  right: 0;
  left: 0;
}

.subnav a {
  margin: 0 15px;
  text-decoration: none;
  color: #008c3a;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}

.subnav a:hover,
.subnav a.active {
  color: #00b140;
}

/* Zweite Subnavbar (zusätzliche Filter) */
/* NEU: Zweite Subnavbar */
.subnav2 {
  background: #fafafa;
  border-bottom: 2px solid #ddd;
  padding: 12px 20px;
  text-align: center;
  margin-bottom: 20px;
  top: 150px;
  position: relative;
  right: 0;
  left: 0;
}

.subnav2 a {
  margin: 0 15px;
  text-decoration: none;
  color: #008c3a;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}

.subnav2 a:hover,
.subnav2 a.active {
  color: #00b140;
}

/* Produkt-Gitter */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.product-item {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.product-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.product-item h3 {
  margin: 10px 0;
  font-size: 20px;
  color: #333;
}

.product-item p {
  margin: 10px 0;
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.product-item .price {
  font-weight: bold;
  color: #00b140;
  margin-bottom: 15px;
  font-size: 16px;
}

.product-item .btn {
  padding: 10px 18px;
  font-size: 14px;
  background-color: #00b140;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.product-item .btn:hover {
  background-color: #008c3a;
}
