/* ==========================================================================
   Recivita — Rezeptseiten (nutzt Variablen & Fonts aus style.css)
   ========================================================================== */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--cream);
  background: rgba(250,246,236,0.16);
  border: 1px solid rgba(250,246,236,0.3);
  padding: 9px 18px 9px 14px;
  border-radius: 100px;
  transition: transform .2s ease, background .2s ease;
}
.back-link:hover { transform: translateY(-2px); background: rgba(250,246,236,0.26); }

.rezept-hero {
  position: relative;
  height: 58vh;
  min-height: 420px;
  max-height: 620px;
  overflow: hidden;
}
.rezept-hero img { width: 100%; height: 100%; object-fit: cover; }
.rezept-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,15,11,0) 0%, rgba(8,15,11,0.15) 35%, rgba(8,15,11,0.65) 60%, rgba(8,15,11,0.94) 80%, var(--green-950) 100%);
  z-index: 1;
}
.rezept-hero-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px 28px;
  max-width: var(--container);
  margin: 0 auto;
  color: var(--cream);
  z-index: 2;
}
.rezept-hero-content h1 { color: var(--cream); font-size: clamp(28px, 4vw, 44px); max-width: 760px; }
.rezept-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 16px;
}
.rezept-meta span {
  background: var(--green-900);
  border: 1px solid rgba(250,246,236,0.35);
  color: var(--cream);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
}

.rezept-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 28px 80px;
}
.rezept-intro { font-size: 17.5px; color: var(--ink-soft); margin-bottom: 40px; }

.rezept-section { margin-bottom: 40px; }
.rezept-section h2 {
  font-size: 22px;
  color: var(--green-900);
  margin-bottom: 18px;
}

.zutaten-list { list-style: none; margin: 0; padding: 0; }
.zutaten-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.zutaten-list li span:first-child { color: var(--ink); }
.zutaten-list li span:last-child { color: var(--ink-soft); font-weight: 600; white-space: nowrap; }

.schritte-list { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.schritte-list li {
  counter-increment: schritt;
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.65;
}
.schritte-list li::before {
  content: counter(schritt);
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--lime-soft);
  color: var(--green-900);
  font-weight: 700;
  font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center;
}

.rezept-app-cta {
  margin-top: 56px;
  background: linear-gradient(160deg, var(--green-900), var(--green-950));
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  color: var(--cream);
}
.rezept-app-cta h3 { color: var(--cream); font-size: 24px; margin-bottom: 10px; }
.rezept-app-cta p { color: rgba(250,246,236,0.72); font-size: 15.5px; margin-bottom: 22px; }

/* --------------------------------------------------------------------- */
/* Übersichtsseite                                                          */
/* --------------------------------------------------------------------- */
.rezepte-hub-hero {
  padding: 100px 0 40px;
  text-align: center;
}
.rezepte-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px 100px;
}
.rezept-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.rezept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.rezept-card-img { aspect-ratio: 4/3; overflow: hidden; }
.rezept-card-img img { width: 100%; height: 100%; object-fit: cover; }
.rezept-card-body { padding: 20px 22px 24px; }
.rezept-card-body h4 { font-size: 18px; color: var(--green-900); margin-bottom: 8px; }
.rezept-card-body p { font-size: 14px; color: var(--ink-soft); }

.rezepte-empty {
  max-width: 520px;
  margin: 0 auto 100px;
  text-align: center;
  padding: 0 28px;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .rezepte-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .rezepte-grid { grid-template-columns: 1fr; }
  .rezept-hero { height: 48vh; min-height: 340px; }
  .rezept-hero::after { height: 190px; }
  .rezept-body { padding: 36px 20px 60px; }
}
