/*
Theme Name: Boomer Bites Theme
Author: Bastian
Version: 1.1
*/
/* ========== Basis & Reset ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #fffdf6;
  color: #222;
  line-height: 1.35;
  padding: 0;
}

/* ========== Top-Navigation ========== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 253, 246, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 12px 16px; display: flex; align-items: center; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .2px; color: #2b1c12; }
.brand img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.nav-links { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.nav-links a {
  color: #6a5a4c; text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: 8px 10px; border-radius: 8px; transition: background .2s, color .2s;
}
.nav-links a:hover { background: #f3e7d9; color: #2b1c12; }

.nav-links li.current_page_item a,
.nav-links a.current-menu-item,
.nav-links a.is-active { color: #2b1c12; background: #f3e7d9; }

.nav-links li {
    display: inline-block;
}
.nav-links li a {
    display: inline-block;
    padding: 8px 10px;
}

.nav-toggle {
  display: none; margin-left: auto; background:#ff5c00; color:#fff;
  border:0; border-radius:10px; padding:8px 10px; font-weight:700; cursor:pointer;
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 56px;
    background: #fff9ef; border-bottom: 1px solid rgba(0,0,0,.06);
    padding: 10px 16px; flex-direction: column; gap: 10px;
  }
  .nav-links.open { display: flex; }
}

/* ========== Seitenabstand unter der Nav ========== */
.page { padding: 24px; }

/* ========== Hero ========== */
.hero {
  min-height: 86vh;
  background: url("https://wordpress.gameteamspeak.de/wp-content/uploads/2025/10/boomer_bites_logo.png") no-repeat top center;
  background-size: cover;
  background-color: #000;
  display: flex; align-items: center; justify-content: center;
  position: relative; color: #fff; text-align: center;
}
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.hero-overlay { position: relative; z-index: 1; padding: 20px; }
.hero h1 { font-size: 2.6rem; margin-bottom: 12px; text-shadow: 0 3px 8px rgba(0,0,0,0.7); }
.hero p { font-size: 1.2rem; margin-bottom: 20px; }
.scroll-btn {
  background: #ff5c00; color: white; padding: 12px 24px; border-radius: 6px;
  text-decoration: none; font-weight: bold; transition: background 0.3s;
}
.scroll-btn:hover { background: #e24e00; }
.back-btn {
  display: inline-block; margin-top: 10px; padding: 8px 16px; background: #444; color: #fff;
  text-decoration: none; border-radius: 6px; font-size: 0.9rem;
}
.back-btn:hover { background: #222; }

/* ========== Sektionen ========== */
.section { padding: 48px 0; }
.section h2 { font-size: 1.8rem; margin-bottom: 12px; }
.lead { color: #6a5a4c; margin-bottom: 14px; }

/* ========== Container & Grid ========== */
.container { max-width: 1200px; margin: 0 auto; }
.product-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.product-card {
  background: #fff; border-radius: 10px; box-shadow: 0 6px 18px rgba(30,20,10,0.06);
  padding: 12px; width: calc(33.333% - 12px); display: flex; flex-direction: column;
  transition: transform 160ms ease; overflow: hidden;
}
.product-card:hover { transform: translateY(-6px); }
.img-wrap {
  width: 100%; padding-top: 62%; position: relative; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg,#f6e9dc,#efe2d0); margin-bottom: 10px;
}
.img-wrap img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block;
  transition: filter 200ms ease, transform 300ms ease; transform-origin: center; filter: none;
  will-change: transform, filter;
}
.product-card h2 { font-size: 1.05rem; margin-bottom: 4px; }
.product-card .type { color: #7a6a5a; font-size: 0.85rem; margin-bottom: 6px; }
.ingredients { margin-top: 6px; display: grid; gap: 4px; font-size: 0.88rem; color: #3b2f26; }

/* ========== Glow-Effekte ========== */
.img-glow {
  animation: glowPulse 1.3s ease-in-out infinite;
  filter: drop-shadow(0 8px 18px rgba(255,165,0,0.28)) saturate(1.1);
  transform: scale(1.03);
}
@keyframes glowPulse {
  0% { box-shadow: 0 0 0px rgba(255,200,60,0.0); }
  50% { box-shadow: 0 0 20px rgba(255,200,60,0.35); }
  100% { box-shadow: 0 0 0px rgba(255,200,60,0.0); }
}
.img-glow-active {
  animation: glowHold 2.6s ease forwards;
  filter: drop-shadow(0 12px 28px rgba(255,165,0,0.34)) saturate(1.1);
  transform: scale(1.06);
}
@keyframes glowHold {
  0% { box-shadow: 0 0 0 rgba(255,200,60,0); }
  30% { box-shadow: 0 0 28px rgba(255,200,60,0.45); }
  100% { box-shadow: 0 0 10px rgba(255,200,60,0.25); }
}

/* ====== FAQ-Design – breiter, weicher, schöner ====== */
#faq {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  padding-top: 30px;
}

#faq h2 {
  text-align: left;
  font-size: 2.2rem;
  margin-bottom: 24px;
  border-left: 8px solid #ff5c00;
  padding-left: 12px;
  color: #2b1c12;
  letter-spacing: 0.5px;
}

.faq {
  background: linear-gradient(180deg, #fffef9 0%, #fff6e9 100%);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  padding: 28px 32px;
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.faq details {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 16px 18px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.faq details[open] {
  background: #fffaf2;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #2b1c12;
  font-size: 1.1rem;
  list-style: none;
  position: relative;
  padding-right: 24px;
}

.faq summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 0;
  color: #ff5c00;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  content: "–";
  transform: rotate(180deg);
}

.faq p {
  margin-top: 10px;
  color: #6a5a4c;
  line-height: 1.45;
  font-size: 0.95rem;
  padding-left: 4px;
}

/* sanfter Hover-Effekt */
.faq details:hover {
  background: #fff8ec;
}


/* ========== Video-Block ========== */
.video-wrap {
  margin-top: 18px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 8px 24px rgba(30,20,10,.12);
}
.video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.video-cap { font-size: .92rem; color: #6a5a4c; padding: 10px 6px 0; }

/* ========== Responsive ========== */
@media (max-width: 980px) { .product-card { width: calc(50% - 12px); } }
@media (max-width: 620px) { .product-card { width: 100%; } }

/* ========== Footer ========== */
.site-footer {
  text-align: center; margin-top: 28px; color: #6a5a4c; font-size: 0.9rem; padding: 28px 0;
}

/* === Doppeltes, gegenläufiges, nahtloses Bildband (Apple-Style) === */
.image-band{
  --gap: 60px;              /* Bildabstand */
  background: linear-gradient(180deg,#fffdf6 0%, #f8efe2 100%);
  border-top:2px solid #eee; border-bottom:2px solid #eee;
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  /* sanftes Ausblenden an den Seiten */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.image-band .band-row + .band-row { margin-top: 18px; }

.band-track{
  display:flex; align-items:center;
  gap: var(--gap);
  width: max-content;
  will-change: transform;
  /* Fallback – echte Dauer setzt JS dynamisch */
  animation: band-marquee 60s linear infinite;
}
.band-track.rev{
  animation-name: band-marquee-rev; /* gegenläufig */
}

.band-track img{
  height: 200px;           /* größer */
  width:auto; object-fit:cover;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.15);
  transition: transform .3s ease, filter .3s ease;
}
.band-track img:hover{
  transform: scale(1.08);
  filter: brightness(1.05);
}

/* Keyframes – Strecke (—cycle) setzen wir per JS exakt */
@keyframes band-marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--cycle, 0px))); }
}
@keyframes band-marquee-rev{
  from { transform: translateX(calc(-1 * var(--cycle, 0px))); }
  to   { transform: translateX(0); }
}

/* Hover pausiert beide Reihen */
.image-band:hover .band-track{ animation-play-state: paused; }

/* Responsiv */
@media (max-width: 1024px){
  .band-track img{ height: 160px; }
  .image-band{ --gap: 48px; }
}
@media (max-width: 680px){
  .band-track img{ height: 120px; }
  .image-band{ --gap: 32px; }
}

/* ===== Reviews: sauberes, bündiges Raster (3 Karten oben nebeneinander) ===== */
.reviews-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;            /* gleiche Höhe in der Zeile */
}

.review-card{
  background:#fff;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(30,20,10,.06);
  padding:12px;
  height: 100%;                    /* füllt die Spaltenhöhe */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card .title{ margin-top:10px; font-size:1.05rem; line-height:1.3; min-height: 2.6em; }
.review-card .meta{ color:#6a5a4c; font-size:.92rem; margin-top:4px; }

/* Thumbnail: gleiche Höhe + keine „Baseline-Lücke“ */
.thumb{ position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius:10px; background:#eee; }
.thumb img{ width:100%; height:100%; object-fit: cover; display:block; }

/* Play-Button legt sich über das Bild, ohne Layout zu verschieben */
.play{
  position:absolute; inset:0;
  display:block; width:100%; height:100%;
  background: transparent; border:0; padding:0; cursor:pointer;
}
.play-icon{
  position:absolute; right:10px; bottom:10px;
  background: rgba(0,0,0,.6); color:#fff; border-radius:999px;
  padding:6px 10px; font-weight:700;
}

/* Modal sicher verstecken */
.review-modal[hidden]{ display:none !important; }

/* Responsiv einklappen: 2 Spalten / 1 Spalte */
@media (max-width: 980px){
  .reviews-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
}
@media (max-width: 620px){
  .reviews-grid { grid-template-columns: 1fr; }
}
