/* =========================================================
   OPPA home — why-us, gallery, reservation, FAQ, photo strip,
   footer, reveal motion and breakpoints (Ovena layout).
   ========================================================= */

/* ---------- Why choose us ---------- */
.why { background: var(--accent); overflow: hidden; }
.why-inner { display: grid; grid-template-columns: 1fr 1.1fr; align-items: end; gap: 40px; }
.why-media { position: relative; align-self: end; }
.why-media::before {
  content: ""; position: absolute; left: -40%; bottom: 10%; width: 120%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, .6) 0%, rgba(255, 228, 234, .25) 40%, transparent 66%);
}
/* chef runs off the bottom edge like the source; .why clips the overflow */
.why-media img { position: relative; width: min(420px, 100%); margin: 60px 0 40px; }
.why-copy { padding: 70px 0 40px; }
.why-copy .title { text-align: center; font-size: clamp(34px, 4vw, 56px); margin-bottom: 20px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.why-card {
  position: relative; display: flex; align-items: center; gap: 24px;
  padding: 22px 30px 24px 32px; border-radius: 18px; background: var(--bg);
  box-shadow: 0 6px 0 rgba(63, 91, 42, .3);
  transform: rotate(-1.4deg);
  transition: transform .35s var(--ease);
}
.why-card:nth-child(2) { transform: rotate(.6deg); }
.why-card:nth-child(3) { transform: rotate(1.2deg); }
.why-card:hover { transform: rotate(0) translateY(-4px); }
/* dotted sprinkle + dashed swoosh decorations from the source */
.why-card::before {
  content: ""; position: absolute; top: 18px; right: 30px; width: 16px; height: 9px;
  background: radial-gradient(circle, var(--accent) 1.4px, transparent 1.6px) 0 0 / 6px 6px;
}
.why-card::after {
  content: ""; position: absolute; right: 18px; bottom: 16px; width: 64px; height: 18px;
  border-top: 1.5px dashed var(--accent); border-radius: 50% 50% 0 0; opacity: .8;
}
.why-card h3 { color: var(--heading); font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.why-card p { color: var(--ink); font-size: 15px; line-height: 1.5; max-width: 280px; }
.ring-icon {
  flex: none; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: var(--accent-tint); color: var(--brand); font-size: 24px;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--accent-soft);
}

/* ---------- Gallery (arched row) ---------- */
.gallery { padding: 160px 0 0; overflow: hidden; }
.gallery-arc {
  display: flex; justify-content: center; align-items: flex-start; gap: 18px;
  width: 100%; overflow: hidden; /* centred row; outer images bleed off both edges */
}
.gallery-arc img {
  flex: none; width: 268px; height: 440px; object-fit: cover; border-radius: 26px;
  transition: transform .45s var(--ease);
}
.gallery-arc img:nth-child(1), .gallery-arc img:nth-child(5) { width: 268px; height: 380px; margin-top: 130px; }
.gallery-arc img:nth-child(2), .gallery-arc img:nth-child(4) { width: 268px; height: 500px; margin-top: 55px; }
.gallery-arc img:nth-child(3) { width: 368px; height: 620px; }
.gallery-arc img:hover { transform: translateY(-10px); }

/* ---------- Google review promo (replaces the testimonial slider: no invented quotes) ---------- */
.review-promo { padding: 140px 0 40px; }
.review-card {
  display: grid; justify-items: center; gap: 40px; padding: 56px 40px;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
}
.review-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; width: 100%; }
.review-step { display: grid; justify-items: center; gap: 12px; text-align: center; }
.review-step h3 { color: var(--heading); font-size: 20px; font-weight: 600; }
.review-step p { max-width: 240px; font-size: 15px; }

/* ---------- Reservation ---------- */
.reservation { padding: 80px 0 120px; }
.reserve-card {
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--surface);
}
.reserve-form { display: grid; gap: 14px; padding: 100px 40px 70px; text-align: center; }
.reserve-form > p { max-width: 400px; margin: 0 auto 10px; font-size: 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reserve-form label { display: block; }
.reserve-form input, .reserve-form textarea {
  width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); color: var(--ink); font: 400 15px var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.reserve-form textarea { height: 72px; padding-top: 14px; resize: vertical; }
.reserve-form input::placeholder, .reserve-form textarea::placeholder { color: var(--muted); }
.reserve-form input:focus, .reserve-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 137, 162, .25);
}
.reserve-form .btn-block { margin-top: 12px; }
.form-status { min-height: 1.4em; color: var(--brand); font-size: 14px; }
.reserve-media { position: relative; }
.reserve-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.reserve-media::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 30%; z-index: 1;
  background: linear-gradient(90deg, var(--surface), transparent);
}

/* ---------- FAQ ---------- */
.faq { padding: 80px 0 140px; }
.faq-grid { display: grid; grid-template-columns: 350px 1fr; gap: 20px; width: min(1100px, 100%); margin: 0 auto; }
.faq-side { display: grid; gap: 20px; align-content: start; }
.info-card {
  display: grid; justify-items: center; gap: 22px; padding: 36px 30px; text-align: center;
  border-radius: var(--radius-md); background: var(--surface);
}
.info-card .display-sm { font-size: 24px; }
.info-card:last-child { gap: 4px; padding-bottom: 0; }
.hours { color: var(--brand); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.info-card img { width: 140px; }
.faq-list { display: grid; gap: 14px; align-content: start; }
.faq-item { border-radius: var(--radius-md); background: var(--surface); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 30px 32px; list-style: none; cursor: pointer; color: var(--ink); font-size: 20px; font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\2b"; font: 900 18px "Font Awesome 6 Free"; color: var(--brand); transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { content: "\f068"; }
.faq-item p { padding: 0 32px 30px; margin-top: -10px; font-size: 16px; max-width: 680px; }

/* ---------- Photo strip ---------- */
.photo-strip {
  display: flex; gap: 20px; align-items: flex-start; justify-content: center;
  width: 100%; height: 330px; overflow: hidden; /* centred row; outer images bleed off both edges */
}
.photo-strip img { flex: none; width: 272px; height: 420px; object-fit: cover; border-radius: 22px 22px 0 0; }
.photo-strip img:nth-child(2) { margin-top: 38px; }
.photo-strip img:nth-child(3) { margin-top: 80px; }
.photo-strip img:nth-child(4) { margin-top: 120px; }
.photo-strip img:nth-child(5) { margin-top: 155px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: var(--surface-2); padding: 66px 0 30px; overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.footer-col { display: grid; gap: 14px; align-content: start; padding: 0 32px; font-size: 16px; }
.footer-col:first-child { padding-left: 0; }
.footer-col + .footer-col { border-left: 1px solid rgba(255, 137, 162, .6); }
.footer-col h4, .footer-col .footer-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.footer-col p { line-height: 1.6; }
.footer-col > a { text-transform: uppercase; width: max-content; transition: color .2s; }
.footer-col a:hover, .footer-social a:hover { color: var(--accent-soft); }
.footer-wordmark {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; text-align: center;
  font-size: clamp(90px, 25vw, 380px); line-height: .8; letter-spacing: -.02em;
  margin: 110px 0 70px; color: var(--accent);
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.footer-social { display: flex; gap: 24px; text-transform: uppercase; }
.footer-social a { transition: color .2s; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.why-card.reveal.is-visible { transform: rotate(-1.4deg); }
.why-card.reveal.is-visible:nth-child(2) { transform: rotate(.6deg); }
.why-card.reveal.is-visible:nth-child(3) { transform: rotate(1.2deg); }
.why-card.reveal.is-visible:hover { transform: rotate(0) translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Breakpoints ---------- */
@media (max-width: 1024px) {
  .header-bar { padding: 0 28px; }
  .hero-card { padding: 60px 36px 80px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; }
  .why-media { order: 2; justify-self: center; }
  .why-media img { margin: 0 0 48px; width: min(300px, 100%); }
  .why-copy { padding-bottom: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { order: 2; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .site-header { top: 16px; }
  .header-bar { height: 70px; padding: 0 20px 0 24px; }
  .menu-toggle { height: 42px; font-size: 16px; }
  .hero { padding-top: 106px; }
  .hero-card { grid-template-columns: 1fr; padding: 34px 22px 60px; gap: 30px; }
  .lead { font-size: 16px; }
  .btn-row { flex-direction: column; gap: 14px; }
  .story { padding-top: 100px; }
  .story-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 40px; }
  .story-intro { padding: 0; }
  .story-cards { grid-template-columns: 1fr; }
  .wave-media { aspect-ratio: 260 / 330; margin-top: 44px; }
  .section-head { margin-bottom: 44px; }
  .menu { padding: 100px 0 90px; }
  .menu-grid { grid-template-columns: 1fr; width: min(320px, 100%); margin-inline: auto; }
  .menu-card { margin-bottom: 36px; }
  .why-card { padding: 22px 20px 26px; gap: 16px; }
  .ring-icon { width: 54px; height: 54px; font-size: 20px; }
  .gallery { padding-top: 110px; }
  .gallery-arc { gap: 12px; }
  .gallery-arc img { width: 170px !important; }
  .gallery-arc img:nth-child(1), .gallery-arc img:nth-child(5) { height: 260px; margin-top: 80px; }
  .gallery-arc img:nth-child(2), .gallery-arc img:nth-child(4) { height: 320px; margin-top: 35px; }
  .gallery-arc img:nth-child(3) { width: 220px !important; height: 380px; }
  .review-promo { padding-top: 100px; }
  .review-card { padding: 40px 20px; }
  .review-steps { grid-template-columns: 1fr; }
  .reserve-card { grid-template-columns: 1fr; }
  .reserve-form { padding: 46px 20px 36px; }
  .field-row { grid-template-columns: 1fr; }
  .reserve-media { display: none; }
  .faq { padding-bottom: 90px; }
  .faq-side { grid-template-columns: 1fr; }
  .faq-item summary { padding: 22px 22px; font-size: 17px; }
  .faq-item p { padding: 0 22px 22px; font-size: 15px; }
  .photo-strip { gap: 12px; height: 220px; }
  .photo-strip img { width: 150px; height: 280px; }
  .footer-cols { grid-template-columns: 1fr; gap: 34px; }
  .footer-col, .footer-col:first-child { padding: 0; }
  .footer-col + .footer-col { border-left: 0; border-top: 1px solid rgba(255, 137, 162, .6); padding-top: 28px; }
  .footer-wordmark { margin: 60px 0 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Home: bubble tea rows under the lunch cards */
.menu-subhead { display: flex; justify-content: center; margin: -20px 0 34px; }
.menu-grid--drinks .menu-desc { min-height: 3.2em; }
/* Equal cards per row: image on top, card fills the rest, price + button at
   the bottom — titles of one or two lines no longer shift the card tops. */
.menu-item { grid-template-rows: auto 1fr; }
.menu-card { display: flex; flex-direction: column; }
.menu-card .menu-code { align-self: center; }
.menu-card-foot { margin-top: auto; }

/* Home hero: three overlapping round photos with a 5px white ring.
   Large sushi platter centre-right, dimsum overlapping bottom-left,
   milk tea overlapping top-right. Sizes are % of the square box. */
.hero-trio { width: min(520px, 100%); aspect-ratio: 1; justify-self: center; display: block; }
.hero-trio::before { left: -10%; top: -10%; }
.hero-trio .hero-trio__img {
  position: absolute; height: auto; object-fit: contain; border: 0; background: none;
  filter: drop-shadow(0 18px 22px rgba(63, 91, 42, .32));
}
.hero-trio .hero-trio__img--main { width: 78%; right: 0; top: 4%; z-index: 1; animation: float 6s ease-in-out infinite; }
.hero-trio .hero-trio__img--dimsum { width: 66%; left: 0; bottom: 0; z-index: 3; animation: float 6s ease-in-out -2s infinite; }
.hero-trio .hero-trio__img--tea { width: 34%; left: 2%; top: 0; z-index: 2; animation: float 6s ease-in-out -4s infinite; }
@media (max-width: 767px) {
  .hero-trio { width: min(340px, 92%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-trio .hero-trio__img { animation: none; }
}

/* ---------- Phones: hero, gallery swipe, legal titles ---------- */
@media (max-width: 767px) {
  /* The bottom bar already carries "Sofort bestellen" + "Reservieren". */
  .hero .btn-row { display: none; }

  /* Gallery: one swipeable row with snap points instead of a clipped arc. */
  .gallery-arc {
    justify-content: flex-start; align-items: center; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: 6px 15vw 10px; scroll-padding-inline: 15vw; scrollbar-width: none;
  }
  .gallery-arc::-webkit-scrollbar { display: none; }
  .gallery-arc img,
  .gallery-arc img:nth-child(n) { width: 70vw !important; height: min(108vw, 440px); margin-top: 0; scroll-snap-align: center; }
  .gallery-arc img:hover { transform: none; }
  .gallery-arc:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }

  /* Legal pages: one-word titles (Datenschutzerklärung) must fit 343px of Montserrat 800. */
  .page-hero--plain .display { font-size: clamp(24px, 7.4vw, 38px); hyphens: auto; overflow-wrap: anywhere; }
}

/* Phones: lunch + bubble tea cards two per row (smaller photo and type). */
@media (max-width: 767px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 0 12px; }
  .menu-item img { width: min(118px, 80%); margin-bottom: 10px; }
  .menu-card { margin-bottom: 26px; padding: 14px 12px; border-radius: 18px; }
  .menu-card h3 { margin: 8px 0 4px; font-size: 15px; line-height: 1.3; }
  .menu-desc, .menu-grid--drinks .menu-desc { min-height: 0; margin-bottom: 12px; font-size: 12px; line-height: 1.5; }
  .menu-code { padding: 1px 8px; font-size: 11px; }
  .menu-card-foot { flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
  .menu-card-foot .price { font-size: 15px; }
  .menu-card-foot .btn-xs { width: 100%; height: 34px; }
  .menu-subhead { margin: -6px 0 24px; }
}

/* Featured drinks stay on ONE row at every width: 4 columns on desktop,
   a snap-scrolling strip on tablet and phones (no wrapping, no page overflow). */
@media (max-width: 1024px) {
  .menu-grid--drinks {
    display: flex; gap: 14px; width: 100%; margin-inline: 0; box-sizing: border-box;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: 4px 4px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .menu-grid--drinks::-webkit-scrollbar { display: none; }
  .menu-grid--drinks .menu-item { flex: 0 0 clamp(190px, 38vw, 250px); scroll-snap-align: start; }
}
@media (max-width: 767px) {
  .menu-grid--drinks { gap: 12px; }
  .menu-grid--drinks .menu-item { flex-basis: 62vw; max-width: 240px; }
}
