/* NK Plain (additive) */
:root {
  --bg: #fff;
  --text: #000;
  --muted: #666;
  --border: #eaeaea;
  --radius: 16px;
  --space: clamp(12px, 2vw, 20px);
  --max: 1200px;
}
html,
body {
  height: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}
.product-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: calc(var(--space) * 1.5);
  align-items: start;
  margin: calc(var(--space) * 1.5) 0;
}
@media (max-width: 900px) {
  .product-hero {
    grid-template-columns: 1fr;
  }
}
.product-media {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f6f6f6;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-info h1 {
  margin: 0.2rem 0 1rem;
  font-size: clamp(26px, 3.4vw, 36px);
}
.product-desc {
  color: #222;
  font-size: 16px;
}
.product-meta {
  margin-top: 1rem;
  color: var(--muted);
}
.badge {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #333;
  background: #fafafa;
  margin-right: 6px;
  margin-bottom: 6px;
}
.notice {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: #fff;
  color: #333;
}
.btn {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid var(--text);
  border-radius: 12px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.btn-featured2 {
  display: inline-block;
  margin-bottom: 2.4rem;
  padding: 2px 50px; /* 50% größer */
  border: none;
  border-radius: 14px;
  font-size: 2.9rem; /* Schrift 50% größer */
  font-weight: 700;
  color: #ffa500;
  background: linear-gradient(135deg, #ff990010, #e0940786);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.6s ease;
}

.btn-featured2:hover {
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #f44336, #ff9800);
}
/* Tablet */
@media (max-width: 1024px) {
  .btn-featured2 {
    font-size: 2.2rem;
    padding: 2px 35px;
  }
}

/* Smartphone */
@media (max-width: 600px) {
  .btn-featured2 {
    font-size: 2.2rem;
    padding: 2px 25px;
  }
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* === BEGIN REVEAL & FADE KLASSEN === */

/* --- Basis Reveal Up / Fade / Zoom --- */
.reveal-up,
.reveal-fade,
.reveal-zoom {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}
.reveal-fade {
  transform: none;
}
.reveal-zoom {
  transform: scale(0.96);
}

/* --- Sichtbar-Zustände Up / Fade / Zoom --- */
.is-visible.reveal-up {
  opacity: 1;
  transform: translateY(0);
}
.is-visible.reveal-fade {
  opacity: 1;
}
.is-visible.reveal-zoom {
  opacity: 1;
  transform: scale(1);
}

/* --- Reduced Motion für Up / Fade / Zoom --- */
@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-fade,
  .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- Hero Image Animation --- */
#hero .hero-media {
  transform-origin: center 50%;
  animation: zoomIn 1.4s ease-out both;
}
@keyframes zoomIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* --- Product Card Hover (Variante 1) --- */
.product-card {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

/* --- Reveal Left / Right / Down --- */
.reveal-left,
.reveal-right,
.reveal-down {
  opacity: 0;
  transition: opacity 0.8s ease, transform 1.6s ease;
  will-change: transform, opacity;
}
.reveal-down {
  transform: translateZ(100px);
}
.reveal-left {
  transform: translateX(-200px);
}
.reveal-right {
  transform: translateX(200px);
}

/* --- Sichtbar-Zustände Left / Right / Down --- */
.is-visible.reveal-down {
  opacity: 1;
  transform: translateX(0);
}
.is-visible.reveal-left {
  opacity: 1;
  transform: translateX(0);
}
.is-visible.reveal-right {
  opacity: 1;
  transform: translateX(0);
}

/* --- Mobile Optimierung Right --- */
@media (max-width: 768px) {
  .reveal-right {
    transform: translateX(10px); /* kleiner Offset, kein Weißrand */
  }
}

/* --- Reduced Motion Left / Down --- */
@media (prefers-reduced-motion: reduce) {
  .reveal-left,
  .reveal-down {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- Keyframes Left / Right --- */
@keyframes slideInLeft {
  0% {
    transform: translateX(-20px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInRight {
  0% {
    transform: translateX(20px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* --- Product Card Hover (Variante 2) --- */
.product-card {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

/* --- Reveal Down1 --- */
.reveal-down1 {
  opacity: 0;
  transform: translateY(-200px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}
.is-visible.reveal-down1 {
  opacity: 1;
  transform: translateY(0);
}

/* --- Reduced Motion Down1 --- */
@media (prefers-reduced-motion: reduce) {
  .reveal-down1 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- Keyframes Down1 --- */
@keyframes slideInDown1 {
  0% {
    transform: translateY(-200px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* --- Product Card Hover (Variante 3) --- */
.product-card {
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

/* === ENDE REVEAL & FADE KLASSEN === */

/* =========================================
   PRODUKTSEITE – HERO, GALERIE & DETAILS
   ========================================= */

/* HERO-Bereich (großes Bild + Text nebeneinander) */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

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

.product-hero-image {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* Produkttext */
.product-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.product-desc {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.product-price {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}

/* Stückzahl + Button */
.product-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.product-form input[type="number"] {
  width: 70px;
  padding: 0.4rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-align: center;
}

/* ======================
   GALERIE
   ====================== */
.product-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0;
}

.product-gallery img {
  width: calc(33.333% - 0.7rem);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-gallery img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

@media (max-width: 800px) {
  .product-gallery img {
    width: 100%;
  }
}

/* ======================
   BENEFITS
   ====================== */
.product-benefits {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.8rem;
  margin-bottom: 2.5rem;
}

.product-benefits h2 {
  color: var(--ink);
  margin-bottom: 0.75rem;
  text-align: left;
}

.product-benefits ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ======================
   FAKTEN
   ====================== */
.product-facts {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.8rem;
}

.product-facts h2 {
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.product-facts ul {
  list-style: none;
  padding: 0;
  color: var(--muted);
}

.product-facts li {
  margin-bottom: 0.4rem;
}

.product-facts strong {
  color: var(--ink);
}

/* ÄHNLICHE PRODUKTE */
.product-related {
  margin-top: 3rem;
}

.product-related h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

@media (min-width: 1024px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-card {
  width: 100%;
  max-width: 320px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-card h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0.75rem 0 0.4rem;
}

.related-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}
