/* ════════════════════════════════════════
   MENU.CSS — Pizzawerk Speisekarte
   ════════════════════════════════════════ */

/* ── MENU NAV (spiegelt hero-nav von index.html) ── */
.menu-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 24px 48px;
}

.menu-nav__logo {
  /* Logo zentriert — gleiches Drittel-Layout wie index.html */
  width: 33.333%;
  display: flex;
  justify-content: center;
}

.menu-nav__logo-img {
  height: 64px;
  width: auto;
  display: block;
}

/* MENU trigger rechts — übernimmt .nav-menu Optik aus style.css */
.nav__menu-trigger {
  width: 33.333%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: 'Barlow', sans-serif;
  font-size: .72rem;
  letter-spacing: .25em;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.nav__menu-trigger .nav-menu__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav__menu-trigger .nav-menu__lines span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
}

/* ── BOOK SECTION ── */
.book-section {
  position: relative;
  background: #080808;
  padding: 0 32px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.book-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 169, 110, .15), transparent);
}

/* ── PAGE HEADER (jetzt innerhalb book-section) ── */
.menu-header {
  text-align: center;
  /* Genug Abstand damit Logo drüber passt (nav = 24px padding + 64px logo) */
  padding: 140px 32px 48px;
  width: 100%;
}

.menu-header__eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .32em;
  color: #C9A96E;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.menu-header__title {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: .95;
  color: #fff;
  margin-bottom: 18px;
}

.menu-header__sub {
  font-family: 'Barlow', sans-serif;
  font-size: .85rem;
  font-weight: 300;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .35);
  text-transform: uppercase;
}

/* ── BOOK VIEWER ── */
.book-wrap {
  width: 100%;
  max-width: 1100px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.book-indicator {
  margin-top: 32px;
  font-family: 'Barlow', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .45);
  text-transform: uppercase;
  text-align: center;
}

.book-hint {
  margin-top: 10px;
  font-family: 'Barlow', sans-serif;
  font-size: .72rem;
  font-weight: 300;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .22);
  text-align: center;
  transition: opacity .4s;
}

.book-hint.hidden {
  opacity: 0;
}

.book-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, opacity .2s;
}

.book-arrow:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .25);
}

.book-arrow:disabled {
  opacity: .2;
  cursor: default;
}

/* ── MOBILE SECTION ── */
.mobile-section {
  display: none;
  background: #080808;
  padding: 40px 0 56px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Mobile Header oben in der mobile-section */
.mobile-section .menu-header {
  padding: 100px 24px 32px;
}

.mobile-track-wrap {
  width: 100%;
  overflow: hidden;
}

.mobile-track {
  display: flex;
  transition: transform .38s cubic-bezier(0.76, 0, 0.24, 1);
}

.mobile-slide {
  flex: 0 0 100%;
  position: relative;
  padding: 0 20px;
}

.mobile-slide img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .6);
}

.mobile-slide__label {
  display: block;
  text-align: center;
  font-family: 'Barlow', sans-serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .35);
  text-transform: uppercase;
  margin-top: 14px;
}

.mobile-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mobile-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .22);
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}

.mobile-dot.active {
  background: #C9A96E;
  transform: scale(1.3);
}

.mobile-swipe-hint {
  font-family: 'Barlow', sans-serif;
  font-size: .72rem;
  font-weight: 300;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .2);
  text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .book-section { display: none; }

  .mobile-section {
    display: flex;
    position: relative;
  }

  /* Mobile nav sitzt über der mobile-section */
  .menu-nav {
    position: fixed;
    background: rgba(6, 6, 6, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: 16px 24px;
  }

  .menu-nav__logo-img {
    height: 48px;
  }

  .nav__menu-trigger {
    font-size: .68rem;
  }

  .mobile-section .menu-header {
    padding: 100px 24px 24px;
  }

  .menu-header__title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
}

@media (max-width: 480px) {
  .menu-nav {
    padding: 14px 20px;
  }

  .menu-nav__logo-img {
    height: 40px;
  }
}