/* ══════════════════════════════════════════
   HOCH² Kaffee – Produktseiten (Allrounder, Performer)
   ══════════════════════════════════════════ */

/* ── AKZENTFARBE ── */
:root { --accent: var(--red); --accent-2: #ff4d5a; }

.section-deep { background: var(--deep); }

/* ── BUTTONS ── */
.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: #b91d29;
  translate: 0 -2px;
  box-shadow: 0 8px 30px var(--red-glow);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── BREADCRUMB ── */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb [aria-current] { color: var(--white); }

/* ── PRODUKT-HERO ── */
#produkt { padding-top: 7.5rem; }
.produkt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.produkt-visual {
  position: sticky;
  top: 6rem;
  width: 100%;
  aspect-ratio: 1 / 1.2;
  max-height: calc(100vh - 8rem);
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
}
.produkt-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 1;
}
.produkt-visual iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
  background: var(--black);
}
.produkt-drag {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: pan-y;
}
.produkt-drag:active { cursor: grabbing; }
.produkt-drag-hint {
  position: absolute;
  left: 0; right: 0;
  bottom: 1rem;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.webgl-failed .produkt-drag,
.webgl-failed .produkt-drag-hint { display: none; }

.produkt-info {
  display: flex;
  flex-direction: column;
}
.produkt-title {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 0.6rem;
}
.produkt-blend {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.produkt-lead {
  font-size: 1.1rem;
  color: rgba(245,245,245,0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.produkt-info > .flavor-tags { margin-bottom: 2rem; }

/* Kaufbereich */
.produkt-buy {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.produkt-price {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}
.produkt-price-unit {
  font-size: 0.95rem;
  margin-top: 0.6rem;
}
.produkt-price-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.produkt-trust {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: rgba(245,245,245,0.8);
}
.produkt-trust li {
  position: relative;
  padding-left: 1.5rem;
}
.produkt-trust li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.produkt-trust a { text-decoration: underline; }

/* ── GESCHMACKSPROFIL ── */
.produkt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.produkt-text {
  font-size: 1.05rem;
  color: rgba(245,245,245,0.75);
  line-height: 1.85;
}
.produkt-hinweis {
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 0.95rem;
  color: rgba(245,245,245,0.8);
  line-height: 1.7;
}
.produkt-hinweis strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.produkt-hinweis p + p { margin-top: 0.5rem; }
.produkt-hinweis a { text-decoration: underline; }
.profil-card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 2rem;
  overflow: hidden;
}
.profil-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* Intensity bar */
.intensity-wrap { margin-bottom: 1.5rem; }
.intensity-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.intensity-bar {
  display: flex;
  gap: 4px;
  height: 6px;
}
.intensity-bar span {
  flex: 1;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
}
.intensity-bar span.active { background: var(--accent); }

/* Flavor tags */
.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.flavor-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* Product details */
.product-details {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.2rem;
}
.product-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
  padding: 0.3rem 0;
}
.product-detail-row .label { color: var(--muted); }
.product-detail-row span:last-child { text-align: right; }

/* ── ZUBEREITUNG ── */
.prep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.prep-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.prep-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.prep-text {
  font-size: 0.95rem;
  color: rgba(245,245,245,0.75);
  line-height: 1.7;
}
.prep-facts {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.prep-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.prep-facts li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.prep-facts .label { color: var(--muted); }

/* ── HERKUNFT ── */
.herkunft-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
}
.herkunft-photo figcaption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* ── WEITER / CROSS-LINKS ── */
.next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.next-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 2rem;
}
.next-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.next-meta {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.next-text {
  font-size: 0.95rem;
  color: rgba(245,245,245,0.75);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}
.cta-band {
  text-align: center;
  margin-top: 5rem;
}
.cta-claim {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .produkt-layout,
  .produkt-split,
  .next-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .produkt-split { gap: 2.5rem; }
  .prep-grid { grid-template-columns: 1fr; }
  #produkt { padding-top: 6rem; }
  .breadcrumb { margin-bottom: 1.25rem; }
  .produkt-visual {
    position: relative;
    top: auto;
    aspect-ratio: auto;
    height: 36vh;
    min-height: 240px;
    max-height: none;
  }
  /* Preis und Kaufbutton rücken am Handy vor den Beschreibungstext */
  .produkt-blend { margin-bottom: 1.25rem; }
  .produkt-buy { order: 1; margin-bottom: 1.75rem; }
  .produkt-lead { order: 2; }
  .produkt-info > .flavor-tags { order: 3; margin-bottom: 0; }
}
@media (max-width: 600px) {
  .produkt-buy, .profil-card, .prep-card, .next-card { padding: 1.5rem; }
  .cta-band { margin-top: 3.5rem; }
}
