/* css/produkte.css */

.page-hero {
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem) 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.page-hero h1 { margin: 0.5rem 0 1rem; }
.page-hero p { font-size: 1.05rem; }

.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem clamp(1.5rem, 5vw, 4rem) clamp(4rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

/* ─── LOADING ─────────────────────────────────────────── */
.loading-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 4rem;
  color: var(--text-muted);
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── PRODUCT CARD ────────────────────────────────────── */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  animation: fadein-up 0.5s ease both;
}
.product-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(59,200,255,0.08);
}
.product-card.highlighted {
  border-color: rgba(59,200,255,0.35);
  box-shadow: 0 0 0 1px rgba(59,200,255,0.1);
}

.product-highlight-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
}

.product-icon { font-size: 2.2rem; }
.product-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.product-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.product-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.product-points li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-pricing {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.product-price {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.product-price-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 0.5rem;
}
.product-cta:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,200,255,0.25);
}

/* ─── CUSTOM CARD ─────────────────────────────────────── */
.custom-card {
  border-style: dashed;
  border-color: rgba(123,95,255,0.3);
}
.custom-card:hover { border-color: var(--accent2); box-shadow: 0 16px 48px rgba(123,95,255,0.1); }

.custom-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.custom-icon { font-size: 2.2rem; margin-bottom: 0.5rem; }
.custom-card h3 { color: var(--text); margin-bottom: 0.5rem; }
.custom-card p { font-size: 0.95rem; margin-bottom: 1rem; }
.custom-card strong { color: var(--accent); }

.custom-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.custom-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.custom-list li::before { content: '→'; color: var(--accent2); }

@keyframes fadein-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .custom-list { grid-template-columns: 1fr; }
}
