/* Produktseite — Layout & Karten (produkte/index.html) */

.product-page > h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.product-page .product-lead {
  font-size: 1.05em;
  line-height: 1.55;
  color: #333;
  margin: 0 0 1.25rem;
  max-width: 52em;
}

.product-page .product-section-title {
  font-size: 1.15em;
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #5a8fc7;
  color: #1a1a1a;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 0 0 2.25rem;
}

@media (max-width: 640px) {
  .product-cards {
    grid-template-columns: 1fr;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 1.15rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, #fafafa 0%, #fff 48%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: #b8cce8;
}

.product-card-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.product-card h3 {
  font-size: 1.05em;
  margin: 0 0 0.5rem;
  color: #1a3a5c;
  font-weight: bold;
}

.product-card p {
  margin: 0 0 0.65rem;
  font-size: 0.95em;
  line-height: 1.5;
  color: #444;
  flex: 1 1 auto;
}

.product-card ul {
  margin: 0 0 0.75rem;
  padding-left: 1.15em;
  font-size: 0.88em;
  line-height: 1.45;
  color: #555;
}

.product-card .product-card-cta {
  margin-top: auto;
  padding-top: 0.5rem;
}

.product-card .product-card-cta a {
  display: inline-block;
  font-size: 0.9em;
  font-weight: bold;
  color: #2d5f8f;
  text-decoration: none;
  border-bottom: 1px solid #8ab4e0;
}

.product-card .product-card-cta a:hover,
.product-card .product-card-cta a:focus {
  color: #1a4a78;
  border-bottom-color: #1a4a78;
}

/* Legacy-Bereich */
.product-legacy {
  margin-top: 2.5rem;
  padding: 1.65rem 1.4rem 1.5rem;
  background: #f0f0f0;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.product-legacy > h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2em;
  color: #555;
}

.legacy-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.65em;
  font-weight: bold;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #888;
  color: #fff;
  border-radius: 4px;
}

.product-legacy-intro {
  font-size: 0.88em;
  color: #666;
  margin: 0 0 1.35rem;
  max-width: 48em;
  line-height: 1.55;
}

.product-legacy .legacy-block {
  margin-bottom: 2rem;
  padding-bottom: 1.65rem;
  border-bottom: 1px solid #d5d5d5;
}

.product-legacy .legacy-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.product-legacy .legacy-block h3 {
  font-size: 1.05em;
  margin: 0 0 0.6rem;
  padding-top: 0.15rem;
  color: #444;
}

.product-legacy .legacy-block p,
.product-legacy .legacy-block li {
  font-size: 0.9em;
  color: #555;
}

.product-legacy .legacy-block p {
  margin: 0 0 0.65rem;
  line-height: 1.55;
}

.product-legacy .legacy-block ul {
  margin: 0.45rem 0 0.9rem;
  line-height: 1.5;
}

.product-legacy img {
  border-radius: 4px;
}

/* Generischer Bild-Platzhalter (Inline-SVG, kein externes Asset) */
.legacy-generic-placeholder {
  float: left;
  margin: 0 10px 10px 0;
  line-height: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #ced4da;
}

.legacy-generic-placeholder svg {
  display: block;
  width: 200px;
  height: 211px;
}

@media (max-width: 520px) {
  .legacy-generic-placeholder {
    float: none;
    margin: 0 0 12px;
  }
  .legacy-generic-placeholder svg {
    width: 100%;
    height: auto;
    aspect-ratio: 200 / 211;
  }
}
