/* ============================================================
   Restaurant Athen — "Der Olivenbaum" (V3)
   Hell, mediterran, elegant.
   Papierweiß · Olivgrün · Gold · Anthrazit-Oliv
   Marcellus (Display) · Cormorant Garamond (Akzent) · Outfit (Body)
   ============================================================ */

:root {
  --paper: #faf7f0;
  --paper-2: #f2ede0;
  --ink: #2e3328;
  --soft: #6b7263;
  --olive: #6f7d54;
  --olive-deep: #3f4a30;
  --gold: #c2a14d;
  --gold-soft: #d9c284;
  --font-display: "Marcellus", Georgia, serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: 0.01em; }

.lead {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--olive);
  line-height: 1.5;
}
.kicker {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ---------- Branch-Layer (Olivenast über die ganze Seite) ---------- */
#branch-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
#branch-layer svg { display: block; overflow: visible; }
.branch-main {
  fill: none;
  stroke: var(--olive);
  stroke-width: 2.6;
  stroke-linecap: round;
  opacity: 0.85;
}
.branch-twig {
  fill: none;
  stroke: var(--olive);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.7;
}
.bleaf {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}
.bleaf.show { opacity: 1; }
.bleaf path { fill: none; stroke: var(--olive); stroke-width: 1.4; }
.bleaf .lf { fill: rgba(111,125,84,0.16); }
.bleaf circle { fill: var(--gold); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav.scrolled {
  background: rgba(250,247,240,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 13px 0;
  border-bottom: 1px solid rgba(111,125,84,0.18);
}
.wordmark {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex: none;
}
.wordmark-logo {
  display: block;
  width: clamp(124px, 13vw, 172px);
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; }
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 99px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.pill:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.pill-gold { border-color: var(--gold); background: var(--gold); color: #fff; }
.pill-gold:hover { background: var(--olive-deep); border-color: var(--olive-deep); color: #fff; }
.pill-quiet { border-color: rgba(46,51,40,0.35); color: var(--soft); }
.pill-quiet:hover { border-color: var(--olive); background: transparent; color: var(--olive); }
.pill-outline { border-color: rgba(46,51,40,0.45); color: var(--ink); background: transparent; }
.pill-outline:hover { border-color: var(--olive-deep); background: var(--olive-deep); color: #fff; }

.burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  z-index: 130;
}
.burger span { width: 26px; height: 1.6px; background: var(--ink); transition: all 0.35s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 120;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 30px; color: var(--ink); text-decoration: none; }
.mobile-menu a:hover { color: var(--olive); }
.mobile-menu .pill { font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 90px;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(46px, 6.2vw, 78px);
  margin: 10px 0 22px;
}
.hero h1 em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--olive);
}
.hero .lead { margin-bottom: 38px; max-width: 460px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta {
  margin-top: 44px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--soft);
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--gold); }

/* Bogenbild (mediterraner Torbogen) */
.arch {
  position: relative;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  aspect-ratio: 3 / 3.8;
  box-shadow: 0 30px 70px rgba(63,74,48,0.18);
}
.arch img, .arch .bgzoom {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: slowzoom 28s ease-in-out infinite alternate;
}
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.arch-ring {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px 999px 26px 26px;
  pointer-events: none;
}
.arch-wrap { position: relative; }
.arch-wrap .arch-ring { inset: -16px; }

/* Intro-Reveal von Textzeilen */
.line-up { display: block; overflow: hidden; }
.line-up > span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1.1s var(--ease) forwards;
}
.d1 > span { animation-delay: 0.15s; }
.d2 > span { animation-delay: 0.3s; }
.d3 > span { animation-delay: 0.45s; }
@keyframes lineUp { to { transform: translateY(0); } }

/* ---------- Sektionen am Ast (abwechselnd) ---------- */
.grove { position: relative; z-index: 2; }
.station {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 110px 0;
}
.station .cell { max-width: 470px; }
.station.right { justify-items: end; }
.station.right .cell { grid-column: 2; text-align: left; }
.station.left .cell { grid-column: 1; }
.station h2 { font-size: clamp(32px, 4vw, 48px); margin: 8px 0 20px; }
.station p { color: var(--soft); margin-bottom: 16px; }
.station .lead { margin-bottom: 14px; }

.hr-fade {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(111,125,84,0.35), transparent);
  margin: 0 auto;
  max-width: var(--maxw);
}

/* Riesige Zahl */
.bignum {
  font-family: var(--font-display);
  font-size: clamp(90px, 13vw, 170px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  position: relative;
}
.bignum .fillnum {
  position: absolute;
  inset: 0;
  color: var(--gold);
  -webkit-text-stroke: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.6s var(--ease);
}
.bignum.in .fillnum { clip-path: inset(0 0 0 0); }
.bignum-label {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--soft);
  margin-top: 14px;
}

/* ---------- Galerie: Bogenfenster ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.gallery a {
  display: block;
  position: relative;
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4.2;
  box-shadow: 0 18px 44px rgba(63,74,48,0.14);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.gallery a:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(63,74,48,0.22); }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.gallery a:hover img { transform: scale(1.08); }
.gallery a:nth-child(even) { transform: translateY(30px); }
.gallery a:nth-child(even):hover { transform: translateY(22px); }
.gallery-pad { padding-bottom: 30px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(46,51,40,0.93);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 5vmin;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 20px; right: 26px;
  background: none; border: 0;
  color: #fff; font-size: 40px; line-height: 1; cursor: pointer;
}

/* ---------- Öffnungszeiten ---------- */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.hours-table td {
  padding: 16px 4px;
  border-bottom: 1px solid rgba(111,125,84,0.22);
  font-size: 16.5px;
}
.hours-table td:first-child { font-family: var(--font-display); font-size: 18px; }
.hours-table td:last-child { text-align: right; color: var(--soft); }
.hours-table tr.today td { color: var(--gold); }
.hours-table tr.today td:first-child::after { content: " ·"; }

.open-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid currentColor;
  border-radius: 99px;
}
.open-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
.open-badge.is-open { color: #56793f; }
.open-badge.is-closed { color: #ad6a45; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ---------- Lieferdienst ---------- */
.delivery-cards { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.dcard {
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid rgba(111,125,84,0.2);
  border-radius: 16px;
  padding: 14px 22px;
  text-decoration: none;
  transition: all 0.4s var(--ease);
  box-shadow: 0 8px 24px rgba(63,74,48,0.07);
}
a.dcard:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(63,74,48,0.14); border-color: var(--gold-soft); }
.dcard img { height: 54px; width: auto; object-fit: contain; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  background: var(--olive-deep);
  color: #efeadb;
  padding: 90px 0 36px;
  margin-top: 60px;
  border-radius: 42px 42px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; margin-bottom: 56px; }
.footer h4 { font-family: var(--font-display); font-size: 21px; font-weight: 400; margin-bottom: 18px; color: var(--gold-soft); }
.footer p, .footer a { color: rgba(239,234,219,0.8); text-decoration: none; font-weight: 300; }
.footer a:hover { color: var(--gold-soft); }
.footer-logo img { height: 86px; width: auto; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer-social { display: flex; gap: 16px; margin-top: 16px; }
.footer-social a { display: flex; opacity: 0.85; }
.footer-social a:hover { opacity: 1; }
.footer-social svg { width: 21px; height: 21px; }
.footer-bottom {
  border-top: 1px solid rgba(239,234,219,0.16);
  padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 13.5px;
  color: rgba(239,234,219,0.55);
}
.footer-bottom nav { display: flex; gap: 24px; }

/* ---------- Unterseiten ---------- */
.page-hero { padding: 180px 0 60px; text-align: center; position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 64px); }
.menu-frame { max-width: 940px; margin: 30px auto 0; padding: 0 28px; position: relative; z-index: 2; }
.menu-frame .frame {
  background: #fff;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 26px 70px rgba(63,74,48,0.16);
  cursor: zoom-in;
}
.menu-frame .frame img { border-radius: 8px; }
.menu-actions { text-align: center; padding: 46px 0 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

.legal { max-width: 720px; margin: 0 auto; padding: 50px 28px 100px; position: relative; z-index: 2; }
.legal dt {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-top: 26px;
}
.legal dd { font-size: 18px; margin-top: 5px; }

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .nav-inner { gap: 12px; }
  .burger { display: flex; }
}
@media (max-width: 960px) {
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .arch { max-width: 420px; margin: 0 auto; }
  .station { grid-template-columns: 1fr; padding: 80px 0; }
  .station.right .cell, .station.left .cell { grid-column: 1; }
  .station .cell { max-width: 100%; padding-left: 34px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .gallery { gap: 14px; }
  .hero-ctas .pill { width: 100%; justify-content: center; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .line-up > span { opacity: 1; transform: none; }
  .bignum .fillnum { clip-path: inset(0 0 0 0); }
}

/* ============================================================
   Interaktive Speisekarte
   ============================================================ */
.menu-app { max-width: 860px; margin: 0 auto; padding: 0 28px 40px; position: relative; z-index: 2; }
.menu-tools { position: sticky; top: 70px; z-index: 50; background: rgba(250,247,240,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 14px 0 12px; border-bottom: 1px solid rgba(111,125,84,0.18); }
.menu-search {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(111,125,84,0.28);
  border-radius: 99px;
  padding: 13px 22px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.menu-search:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(194,161,77,0.14); }
.menu-search::placeholder { color: #9aa08f; }
.cat-tabs { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 12px; }
.cat-tab {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  background: transparent;
  border: 1px solid rgba(111,125,84,0.3);
  border-radius: 99px;
  padding: 8px 15px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.cat-tab:hover { border-color: var(--olive); color: var(--olive); }
.cat-tab.active { background: var(--olive); border-color: var(--olive); color: #fff; }

.menu-section { padding-top: 44px; }
.menu-section h3 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 16px;
}
.menu-section h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(194,161,77,0.6), transparent);
}
.menu-item {
  padding: 20px 0 18px;
  border-bottom: 1px solid rgba(111,125,84,0.14);
  opacity: 0;
  transform: translateY(14px);
  animation: itemIn 0.55s var(--ease) forwards;
}
@keyframes itemIn { to { opacity: 1; transform: none; } }
.menu-item-top { display: flex; align-items: baseline; gap: 10px; }
.menu-item-name { font-family: var(--font-display); font-size: 19px; color: var(--ink); }
.menu-item-dots { flex: 1; border-bottom: 1px dotted rgba(111,125,84,0.5); transform: translateY(-4px); }
.menu-item-price { font-family: var(--font-display); font-size: 18px; color: var(--gold); white-space: nowrap; }
.menu-item-desc { font-size: 15px; color: var(--soft); margin-top: 5px; max-width: 90%; }
.menu-empty { text-align: center; padding: 70px 0; color: var(--soft); font-family: var(--font-accent); font-style: italic; font-size: 21px; display: none; }
.menu-note { text-align: center; font-size: 13.5px; color: #9aa08f; padding: 36px 0 0; }
@media (max-width: 600px) {
  .menu-tools { top: 58px; }
  .menu-item-desc { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-item { opacity: 1; transform: none; animation: none; }
}

/* ============================================================
   Google-Bewertungen (rotierendes Karussell)
   ============================================================ */
.reviews { text-align: center; padding: 90px 0 70px; position: relative; z-index: 2; }
.reviews .stars { display: flex; justify-content: center; gap: 5px; margin: 14px 0 6px; }
.reviews .stars svg { width: 26px; height: 26px; fill: #c2a14d; }
.reviews .score { font-family: var(--font-display); font-size: clamp(38px, 5vw, 54px); color: var(--ink); }
.reviews .score-sub { font-size: 14px; color: var(--soft); letter-spacing: 0.06em; margin-bottom: 40px; }
.review-stage { position: relative; max-width: 640px; margin: 0 auto; min-height: 170px; }
.review-card {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}
.review-card.active { opacity: 1; transform: none; pointer-events: auto; }
.review-card blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 16px;
}
.review-card cite { font-style: normal; font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.review-dots { display: flex; justify-content: center; gap: 9px; margin: 26px 0 30px; }
.review-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--olive);
  background: transparent;
  cursor: pointer; padding: 0;
  transition: all 0.3s;
}
.review-dots button.active { background: var(--olive); transform: scale(1.25); }

/* ============================================================
   WhatsApp-Schnellkontakt (schwebender Button)
   ============================================================ */
.wa-btn {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 95;
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid rgba(111,125,84,0.25);
  border-radius: 99px;
  padding: 11px 18px 11px 12px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13.5px; font-weight: 400;
  box-shadow: 0 12px 34px rgba(63,74,48,0.2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(63,74,48,0.28); }
.wa-btn .wa-ic {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.wa-btn .wa-ic svg { width: 19px; height: 19px; fill: #fff; }
@media (max-width: 600px) {
  .wa-btn span.wa-txt { display: none; }
  .wa-btn { padding: 10px; right: 14px; bottom: 14px; }
}

/* ============================================================
   Speisekarten-Heft (Flipbook)
   ============================================================ */
.book-tools {
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 10px 24px 12px;
  position: sticky;
  top: 88px;
  z-index: 90;
  background: rgba(250,247,240,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(111,125,84,0.08);
  border-bottom: 1px solid rgba(111,125,84,0.12);
}
.book-chips {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.book-chip {
  font-family: var(--font-body); font-weight: 400;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--soft);
  border: 1px solid rgba(111,125,84,0.3);
  border-radius: 99px;
  background: transparent;
  padding: 7px 13px;
  cursor: pointer;
  transition: all 0.25s;
}
.book-chip:hover { border-color: var(--olive); color: var(--olive); }
.book-chip.active { background: var(--olive); border-color: var(--olive); color: #fff; }
.book-chip.veg.active { background: var(--gold); border-color: var(--gold); }

.book-wrap { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; padding: 0 16px; }
.book {
  position: relative;
  height: 700px;
  perspective: 2400px;
}
@media (max-width: 600px) { .book { height: 640px; } }
.pg {
  position: absolute; inset: 0;
  background: #fffdf8;
  border: 1px solid rgba(111,125,84,0.18);
  border-radius: 6px 18px 18px 6px;
  box-shadow: 0 18px 50px rgba(63,74,48,0.14);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.45, 0.05, 0.3, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  padding: 38px 34px 50px;
}
@media (max-width: 600px) { .pg { padding: 28px 22px 44px; } }
.pg::before { /* Falz-Schatten links */
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 26px;
  background: linear-gradient(to right, rgba(63,74,48,0.1), transparent);
  pointer-events: none;
}
.pg::after { /* Glanz beim Umblättern */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 60%, rgba(255,255,255,0.5));
  opacity: 0;
  transition: opacity 0.9s;
  pointer-events: none;
}
.pg.flipped { transform: rotateY(-180deg); }
.pg.flipped::after { opacity: 1; }
.pg-head { text-align: center; margin-bottom: 18px; }
.pg-head .kicker { margin-bottom: 6px; }
.pg-head h3 { font-size: clamp(22px, 3vw, 28px); color: var(--ink); }
.pg-rule { width: 70px; height: 1px; background: var(--gold); margin: 12px auto 0; }
.pg .menu-item { animation: none; opacity: 1; transform: none; padding: 13px 0 11px; }
.pg .menu-item-name { font-size: 17px; }
.pg .menu-item-price { font-size: 16px; }
.pg .menu-item-desc { font-size: 13.5px; margin-top: 3px; }
.pg-num {
  position: absolute; bottom: 16px; left: 0; right: 0;
  text-align: center;
  font-size: 11.5px; letter-spacing: 0.2em;
  color: #9aa08f;
}
.veg-flower { display: inline-block; width: 14px; height: 14px; vertical-align: -1px; margin-left: 6px; }

/* Cover & Schlussseite */
.pg-cover { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(160deg, #fffdf8, #f4efe2); }
.pg-cover .cv-icon { width: 64px; height: 64px; margin-bottom: 18px; }
.pg-cover h2 { font-size: clamp(30px, 4vw, 40px); }
.pg-cover .lead { margin-top: 10px; }
.pg-cover .cv-hint { margin-top: 36px; font-size: 13px; color: #9aa08f; letter-spacing: 0.06em; }

.book-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 24px; position: relative; z-index: 2; }
.book-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(111,125,84,0.35);
  background: #fff;
  color: var(--olive);
  font-size: 20px; line-height: 1;
  cursor: pointer;
  transition: all 0.25s;
}
.book-arrow:hover:not(:disabled) { background: var(--olive); color: #fff; }
.book-arrow:disabled { opacity: 0.3; cursor: default; }
.book-pageinfo { font-size: 13px; letter-spacing: 0.12em; color: var(--soft); min-width: 110px; text-align: center; }
.veg-note { max-width: 560px; margin: 18px auto 0; text-align: center; font-size: 13px; color: #9aa08f; position: relative; z-index: 2; padding: 0 20px; }

/* Stabile Speisekarten-Liste: ersetzt das alte 3D-Flipbook auf der Speisekartenseite. */
.menu-list {
  display: grid;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.menu-list-section {
  scroll-margin-top: 178px;
  background: rgba(255,253,248,0.92);
  border: 1px solid rgba(111,125,84,0.18);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(63,74,48,0.08);
  padding: 34px;
}
.menu-list-head {
  text-align: center;
  margin-bottom: 14px;
}
.menu-list-head .kicker { margin-bottom: 6px; }
.menu-list-head h3 {
  font-size: clamp(24px, 3vw, 31px);
  color: var(--ink);
}
.menu-list-head::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: var(--gold);
  margin: 14px auto 0;
}
.menu-list .menu-item {
  animation: none;
  opacity: 1;
  transform: none;
  padding: 14px 0 12px;
}
.menu-list .menu-item:last-child { border-bottom: 0; }
@media (min-width: 900px) {
  .book-wrap { max-width: 840px; }
}
@media (max-width: 600px) {
  .book-tools {
    top: 82px;
    padding: 9px 16px 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .book-chips {
    max-width: none;
    width: max-content;
    min-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .book-chip { white-space: nowrap; }
  .menu-list-section { scroll-margin-top: 152px; }
  .menu-list-section { padding: 26px 20px; }
  .menu-list .menu-item-name { font-size: 17px; }
  .menu-list .menu-item-price { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .pg { transition: opacity 0.2s; }
  .pg.flipped { transform: none; opacity: 0; pointer-events: none; }
  .review-card { transition: opacity 0.2s; }
}

/* ---------- Mobile-Feinschliff ---------- */
.branch-margin .branch-main { opacity: 0.95; stroke-width: 2.4; }
.branch-margin .bleaf.show { opacity: 1; }
@media (max-width: 600px) {
  .review-stage { min-height: 230px; }
  .reviews { padding: 70px 0 56px; }
  .station .cell { padding-left: 0; }
}

/* ---------- Flüssiges Zeichnen der Ranke ---------- */
.branch-main { transition: stroke-dashoffset 0.4s linear; will-change: stroke-dashoffset; }

/* ---------- Cookie-Banner ---------- */
#athen-consent {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 400;
  display: flex; justify-content: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
#athen-consent.show { opacity: 1; transform: none; pointer-events: auto; }
#athen-consent .ac-box {
  background: #fff;
  border: 1px solid rgba(111,125,84,0.25);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(63,74,48,0.25);
  padding: 20px 22px;
  max-width: 560px;
}
#athen-consent .ac-title { font-family: var(--font-display); font-size: 18px; margin-bottom: 6px; }
#athen-consent .ac-text { font-size: 14px; color: var(--soft); margin-bottom: 14px; }
#athen-consent .ac-text a { color: var(--olive); }
#athen-consent .ac-btns { display: flex; gap: 10px; flex-wrap: wrap; }
#athen-consent .ac-btn {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 99px; padding: 11px 20px; cursor: pointer;
  transition: all 0.3s;
}
#athen-consent .ac-accept { background: var(--gold); border: 1px solid var(--gold); color: #fff; }
#athen-consent .ac-accept:hover { background: var(--olive-deep); border-color: var(--olive-deep); }
#athen-consent .ac-necessary { background: none; border: 1px solid rgba(46,51,40,0.35); color: var(--soft); }
#athen-consent .ac-necessary:hover { border-color: var(--olive); color: var(--olive); }

/* ---------- Sprachumschalter ---------- */
.lang-toggle {
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em;
  border: 1px solid rgba(46,51,40,0.35); border-radius: 99px;
  background: none; color: var(--ink);
  width: 42px; height: 42px;
  cursor: pointer;
  transition: all 0.3s;
  flex: none;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 1080px) {
  .nav-inner > .lang-toggle { margin-left: auto; }
}

/* ---------- Empfehlung der Familie (Mythos) ---------- */
.family-pick {
  position: relative; z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px 30px;
}
.family-pick .fp-card {
  display: flex; align-items: center; gap: 30px;
  background: linear-gradient(135deg, #fffdf8, #f4eedd);
  border: 1px solid rgba(194,161,77,0.4);
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(63,74,48,0.13);
  padding: 30px 34px;
}
.fp-glass { flex: none; width: 88px; }
.fp-glass svg { width: 100%; height: auto; }
.fp-glass .beer { fill: #e3b84f; }
.fp-glass .foam { fill: #fffdf6; stroke: rgba(111,125,84,0.25); stroke-width: 1; }
.fp-glass .glass { fill: none; stroke: var(--olive); stroke-width: 2; }
.fp-glass .frost { fill: none; stroke: #bcd6e8; stroke-width: 1.4; stroke-linecap: round; opacity: 0.9; }
.fp-glass .bubble { fill: #fff3cf; opacity: 0.85; animation: bubbleUp 3.4s ease-in infinite; }
.fp-glass .bubble.b2 { animation-delay: 1.1s; }
.fp-glass .bubble.b3 { animation-delay: 2.2s; }
@keyframes bubbleUp {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 0.85; }
  100% { transform: translateY(-34px); opacity: 0; }
}
.family-pick h3 { font-size: clamp(24px, 3vw, 32px); margin: 4px 0 10px; }
.family-pick h3 em { font-family: var(--font-accent); font-style: italic; color: var(--olive); }
.family-pick p { color: var(--soft); font-size: 16px; }
@media (max-width: 600px) {
  .family-pick .fp-card { flex-direction: column; text-align: center; padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) { .fp-glass .bubble { animation: none; opacity: 0; } }
