/* ============================================
   FASSÖL – produkt.css
   Styles speziell für Produktseiten
   ============================================ */

/* Produktseiten haben fixen Header (immer sichtbar) */
body { padding-top: var(--header-h); }

/* ---- Produkt Hero ---- */
.produkt-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
}

.produkt-hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.produkt-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.4);
}

.produkt-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.3) 60%,
    transparent 100%
  );
}

.produkt-hero-overlay--sonnen {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(20,10,0,0.35) 60%,
    transparent 100%
  );
}

.produkt-hero-content {
  position: relative;
  z-index: 1;
}

.produkt-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

/* Raps-Akzent auf Hero-Titel */
.produkt-hero--raps h1 em { color: var(--raps); }
.produkt-hero--sonnen h1 em { color: var(--sonnen); }

/* ---- Intro Grid ---- */
.produkt-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.produkt-intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 20px;
}

.produkt-intro-text p {
  color: var(--white-muted);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.97rem;
}

.produkt-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--black-card);
  border: 1px solid var(--black-border);
}

.produkt-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.produkt-intro-image.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

/* ---- Fakten Grid ---- */
.fakten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fakt-card {
  background: var(--black-card);
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background var(--transition);
}

.fakt-card:hover { background: var(--black-soft); }

.fakt-zahl {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--pink);
  line-height: 1;
}

.fakt-label {
  font-size: 0.85rem;
  color: var(--white-muted);
  letter-spacing: 0.04em;
}

/* ---- Nährwerttabelle ---- */
.naehrwert-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.naehrwert-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.naehrwert-table thead tr {
  background: var(--black-card);
  border-bottom: 2px solid var(--raps);
}

.naehrwert-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.naehrwert-table th:last-child { text-align: right; }

.naehrwert-table tbody tr {
  border-bottom: 1px solid var(--black-border);
  transition: background var(--transition);
}

.naehrwert-table tbody tr:hover { background: var(--black-card); }

.naehrwert-table td {
  padding: 13px 20px;
  color: var(--white-muted);
}

.naehrwert-table td:last-child {
  text-align: right;
  color: var(--white);
  font-weight: 600;
}

.naehrwert-table .sub-row td:first-child {
  padding-left: 40px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
}

/* ---- Verwendung Grid ---- */
.verwendung-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.verwendung-card {
  background: var(--black-card);
  padding: 36px 28px;
  transition: background var(--transition);
}

.verwendung-card:hover { background: var(--black-soft); }

.verwendung-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.verwendung-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--pink);
  margin-bottom: 10px;
}

.verwendung-card p {
  font-size: 0.88rem;
  color: var(--white-muted);
  line-height: 1.65;
}

/* ---- CTA Sektion ---- */
.produkt-cta {
  text-align: center;
  border-top: 1px solid var(--black-border);
}

.produkt-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 36px;
  line-height: 1.2;
}

.produkt-cta-inner h2 em {
  font-style: italic;
  color: var(--pink);
}

/* ---- Sonnenblumenöl Variante ---- */
.btn-sonnen {
  background: var(--sonnen);
  color: var(--black);
  border-color: var(--sonnen);
}
.btn-sonnen:hover {
  background: var(--sonnen-dark);
  border-color: var(--sonnen-dark);
}

.fakt-card--sonnen .fakt-zahl { color: var(--sonnen); }

.verwendung-card--sonnen h4 { color: var(--sonnen); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .produkt-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .produkt-intro-image { aspect-ratio: 16/9; order: -1; }
}

@media (max-width: 768px) {
  .produkt-hero { height: 55vh; padding-bottom: 40px; }
  .fakten-grid { grid-template-columns: 1fr 1fr; }
  .verwendung-grid { grid-template-columns: 1fr 1fr; }
  .naehrwert-table .sub-row td:first-child { padding-left: 24px; }
}

@media (max-width: 480px) {
  .fakten-grid { grid-template-columns: 1fr 1fr; }
  .verwendung-grid { grid-template-columns: 1fr; }
}
