/* ==========================================================================
   Mum-Aroy Thai Imbiss — stylesheet
   Palette: hero white #FFFFFF, page white/#FCFAF5, cream accent #F5F0D5,
   terracotta #E27540 (hover #F07040), text #2A1A10, muted #8A7A6D,
   borders #EDE7DA
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --off-white: #FCFAF5;
  --page-bg: #F9F5EE; /* light beige nude — page background */
  --surface: #FDFBF6; /* warm near-white for cards/nav — softer than pure white against --page-bg */
  --cream: #F5F0D5;
  --terracotta: #E27540;
  --terracotta-hover: #F07040;
  --text: #2A1A10;
  --muted: #8A7A6D;
  --border: #EDE7DA;

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Nunito Sans', sans-serif;
  --font-script: 'Caveat', cursive;

  --container-max: 1200px;
  --radius: 20px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Always reserve the scrollbar gutter so the fixed nav (viewport-width) and
     the centered .container (in-flow) share the exact same content width — even
     when the scrollbar appears/disappears or a scroll-lock is applied. */
  scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video, canvas { max-width: 100%; display: block; }

/* The display reset above must never override the hidden attribute
   (e.g. the hero fallback poster is hidden until a load failure). */
[hidden] { display: none !important; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--terracotta);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
.section-cream {
  background: var(--cream);
}
.section-blush {
  background: var(--off-white);
}
.section:not(.section-cream):not(.section-blush) {
  background: var(--page-bg);
}
#hero-pin + .section {
  background: var(--page-bg);
}

@media (max-width: 767px) {
  .section { padding: 64px 0; }
}

/* section anchor offset so sticky nav doesn't cover headings */
section[id] {
  scroll-margin-top: 88px;
}

.eyebrow-label {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 12px;
}

.script-accent {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--terracotta);
  margin: 0 0 8px;
}

.section-h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 40px;
  max-width: 20ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  border: 1px solid transparent;
}
.btn-cta {
  background: var(--terracotta);
  color: #fff;
}
.btn-cta:hover, .btn-cta:focus-visible {
  background: var(--terracotta-hover);
}
.btn-text {
  background: transparent;
  color: var(--text);
  text-decoration: underline;
  padding: 14px 8px;
}
.btn-text:hover { color: var(--terracotta); }

/* ==========================================================================
   NAV
   ========================================================================== */

.site-nav {
  /* Fixed (not sticky): the nav must not take flow space above the 100dvh hero,
     otherwise the hero bottom falls below the fold and scrub progress starts
     with a nav-height dead zone. */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.site-nav.scrolled {
  background: rgba(253, 251, 246, 0.88);
  backdrop-filter: blur(6px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -20px rgba(42, 26, 16, 0.3);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
}
.nav-logo {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--terracotta); }

.nav-cta {
  padding: 10px 22px;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero-pin {
  position: relative;
  height: 500vh; /* extended for scroll-scrub on desktop */
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
  background: var(--page-bg);
}

.wok-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--page-bg);
}

.hero-mobile-video {
  display: none;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  max-width: 560px;
  z-index: 2;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-intro .hero-h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 18px;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 42ch;
  margin: 0 0 28px;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Prominent static rating block */
.hero-rating {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 30px;
}
.hero-rating-value {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  line-height: 1;
  color: var(--text);
}
.hero-rating-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-rating-stars {
  color: var(--terracotta);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  line-height: 1;
}
.hero-rating-caption {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 30ch;
}

/* Floating review cards over the wok (zesty-bite style) */
.hero-reviews {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.review-float {
  position: absolute;
  max-width: 300px;
  margin: 0;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(42, 26, 16, 0.14);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.review-float.is-visible {
  opacity: 1;
  transform: none;
}
/* Alternating positions, left → right, over the wok area */
.review-float[data-review="1"] { left: 45%; top: 10%; }
.review-float[data-review="2"] { right: 3%; top: 22%; }
.review-float[data-review="3"] { left: 43%; top: 44%; }
.review-float[data-review="4"] { right: 4%; top: 64%; }
.review-float[data-review="5"] { left: 47%; top: 80%; }

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--terracotta);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-who {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.review-who strong {
  font-size: 0.9rem;
  color: var(--text);
}
.review-who span {
  font-size: 0.78rem;
  color: var(--muted);
}
.review-stars {
  margin-left: auto;
  color: var(--terracotta);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.review-score {
  margin-left: auto;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--terracotta);
  line-height: 1;
}
.review-score small {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}
.review-quote {
  margin: 10px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text);
}

/* Bottom hint */
.hero-hint {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  transition: opacity 0.35s ease;
}
.scroll-hint {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--muted);
}
.hours-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.hours-status:hover .hours-status-pill,
.hours-status:focus-visible .hours-status-pill {
  box-shadow: 0 2px 6px rgba(42, 26, 16, 0.2);
}
.hours-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 4px rgba(42, 26, 16, 0.12);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.hours-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  flex: none;
}
.hours-status.is-open .hours-status-dot {
  background: #2E9E5B;
  box-shadow: 0 0 0 3px rgba(46, 158, 91, 0.22);
}
.hours-status.is-closed .hours-status-dot {
  background: #D8503C;
  box-shadow: 0 0 0 3px rgba(216, 80, 60, 0.22);
}
.hours-status-detail {
  font-size: 0.78rem;
  color: var(--muted);
}
.hero-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* -------------------- Desktop scrub mode -------------------- */
@media (min-width: 1024px) {
  .hero-hint,
  .hero-reviews {
    display: block;
  }
}

/* -------------------- Mobile / tablet static mode -------------------- */
@media (max-width: 1023px) {
  .hero-pin {
    height: auto;
  }
  .hero-stage {
    position: relative;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    /* top padding clears the fixed nav (~68px) */
    padding: 92px 0 32px;
    gap: 28px;
  }
  .wok-canvas,
  .hero-reviews {
    display: none !important;
  }
  .hero-overlay {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    max-width: 100%;
    padding: 0 24px;
    text-align: center;
    margin: 0 auto;
  }
  .hero-cta-row {
    justify-content: center;
  }
  .hero-rating {
    justify-content: center;
    text-align: left;
  }
  .hero-mobile-video {
    display: block;
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    background: var(--page-bg);
  }
  .hero-fallback-img {
    position: relative;
    height: auto;
    max-height: 60vh;
  }
  .hero-hint {
    position: relative;
    bottom: auto;
    padding: 0 24px;
  }
}

/* JS toggles this class on <html> for the two modes */
.mode-desktop-scrub .hero-mobile-video {
  display: none;
}
.mode-mobile-static .wok-canvas {
  display: none;
}

/* Reduced motion: always show static poster */
.reduced-motion .wok-canvas,
.reduced-motion .hero-mobile-video,
.reduced-motion .hero-reviews {
  display: none !important;
}
.reduced-motion .hero-fallback-img {
  display: block;
  position: relative;
  height: auto;
}

/* ==========================================================================
   BEWERTUNGEN
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ratings-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
}

/* -------- Aggregate summary card -------- */
.ratings-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 40px -32px rgba(42, 26, 16, 0.18);
}
.ratings-total {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.ratings-total-value {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1;
  margin: 0;
}
.ratings-total-caption {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Partially filled star row — --fill sets the covered percentage */
.star-row {
  position: relative;
  display: inline-block;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #E0D8C4;
  white-space: nowrap;
}
.star-row-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--fill, 100%);
  overflow: hidden;
  color: var(--terracotta);
}

/* Slim score meter (summary rows + Wolt 10-point scale) */
.score-meter {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--cream);
  overflow: hidden;
}
.score-meter-fill {
  display: block;
  height: 100%;
  width: var(--score, 100%);
  border-radius: inherit;
  background: var(--terracotta);
}
.score-meter-wide {
  width: min(240px, 100%);
  height: 8px;
  margin-top: 10px;
}

/* Meters animate in once the section is scrolled into view (JS adds the
   classes; without JS or with reduced motion the bars are simply full). */
.ratings-animate .score-meter-fill {
  width: 0;
  transition: width 0.9s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.ratings-animate .ratings-mini-list li:nth-child(2) .score-meter-fill { transition-delay: 0.08s; }
.ratings-animate .ratings-mini-list li:nth-child(3) .score-meter-fill { transition-delay: 0.16s; }
.ratings-animate .ratings-mini-list li:nth-child(4) .score-meter-fill { transition-delay: 0.24s; }
.ratings-animate.ratings-inview .score-meter-fill {
  width: var(--score, 100%);
}

.ratings-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ratings-mini {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.ratings-mini:hover {
  background: var(--off-white);
}
.ratings-mini-name {
  font-weight: 700;
  color: var(--muted);
}
.ratings-mini-value {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}
.ratings-summary-note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* -------- Platform tabs -------- */
.ratings-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ratings-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ratings-tab:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.ratings-tab-score {
  font-weight: 800;
  font-size: 0.8rem;
  opacity: 0.65;
}
.ratings-tab[aria-selected="true"] {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}
.ratings-tab[aria-selected="true"] .ratings-tab-score {
  opacity: 0.9;
}

/* -------- Platform detail panels -------- */
.ratings-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 40px -32px rgba(42, 26, 16, 0.18);
}
.ratings-panel + .ratings-panel {
  margin-top: 20px; /* only relevant in the no-JS stacked fallback */
}

.platform-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.platform-score {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  margin: 0 0 8px;
}
.platform-score small {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
}
.platform-count {
  margin: 0 0 2px;
  font-weight: 800;
}
.platform-blurb {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.platform-note {
  margin: 0;
  color: var(--muted);
}
.platform-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 700;
  color: var(--terracotta);
  text-decoration: none;
}
.platform-link:hover,
.platform-link:focus-visible {
  text-decoration: underline;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.quote-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
}
.quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}
.quote-text {
  margin: 0 0 16px;
  font-size: 1.02rem;
}
.quote-cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .ratings-layout { grid-template-columns: 1fr; }
  .ratings-summary,
  .ratings-panel { padding: 20px; }
  .platform-head { align-items: flex-start; flex-direction: column; }
}

/* ==========================================================================
   ÜBER UNS
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text p { max-width: 45ch; }

.kitchen-reel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 315px;
  aspect-ratio: 9/16;
  margin: 0 auto;
}
.reel-poster,
.kitchen-reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--terracotta);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.reel-play-btn:hover { background: #fff; }

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

/* ==========================================================================
   BESTSELLER
   ========================================================================== */

.dish-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.dish-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.dish-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.dish-img-small {
  max-height: 400px;
  aspect-ratio: 4/3; /* match .dish-img so all bestseller cards align */
  object-fit: cover;
}
.dish-body { padding: 20px; }
.dish-num {
  margin: 0 0 4px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.dish-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.dish-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 12px;
}
.dish-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  font-size: 0.9rem;
}
.stars { color: var(--terracotta); letter-spacing: 1px; }

@media (max-width: 1100px) {
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .dish-grid { grid-template-columns: 1fr; }
}

/* Hide featured-dishes preview on tablet widths — cropped images don't look good there */
@media (min-width: 768px) and (max-width: 1023px) {
  #bestseller { display: none; }
}

/* ==========================================================================
   SPEISEKARTE
   ========================================================================== */

.menu-note {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 40px;
}

.ingredient-choices {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.ingredient-chip {
  display: inline-block;
  background: rgba(226, 117, 64, 0.1);
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--terracotta);
}

.menu-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
}
.menu-cat {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.menu-cat-note {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 0;
}
.menu-item-name em { color: var(--muted); font-style: normal; font-size: 0.9em; }
.menu-leader {
  flex: 1;
  border-bottom: 1px dotted var(--border);
  margin-bottom: 5px;
}
.menu-price {
  white-space: nowrap;
  color: var(--muted);
  font-weight: 700;
}

.menu-caveat {
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

@media (max-width: 767px) {
  .menu-groups { grid-template-columns: 1fr; }
}

/* ==========================================================================
   WARUM MUM-AROY
   ========================================================================== */

.why-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.why-item {
  flex: 1 1 200px;
  text-align: center;
}
.why-icon { color: var(--terracotta); margin-bottom: 12px; }
.why-label { font-weight: 700; margin: 0; }

/* ==========================================================================
   BESTELLEN
   ========================================================================== */

.order-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.order-tile {
  --brand: var(--terracotta);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px 26px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.25s ease, background-color 0.25s ease,
    box-shadow 0.25s ease, transform 0.25s ease;
}
.order-tile--ubereats   { --brand: #06C167; }
.order-tile--wolt       { --brand: #00A8E1; }
.order-tile--lieferando { --brand: #FF8000; }
.order-tile--phone      { --brand: var(--terracotta); }

/* brand accent bar along the top edge, revealed on hover */
.order-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.order-tile:hover,
.order-tile:focus-visible {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 6%, var(--surface));
  box-shadow: 0 16px 34px -18px color-mix(in srgb, var(--brand) 65%, transparent);
  transform: translateY(-4px);
  outline: none;
}
.order-tile:hover::before,
.order-tile:focus-visible::before {
  transform: scaleX(1);
}

.order-logo {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  border-radius: 18px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, var(--surface));
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.order-logo svg { width: 32px; height: 32px; }
.order-tile:hover .order-logo,
.order-tile:focus-visible .order-logo {
  color: var(--white);
  background: var(--brand);
  transform: scale(1.06);
}
.order-name {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.order-detail {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}
.order-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--brand);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.order-cta svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.order-tile:hover .order-cta,
.order-tile:focus-visible .order-cta {
  opacity: 1;
  transform: translateY(0);
}
.order-tile:hover .order-cta svg,
.order-tile:focus-visible .order-cta svg {
  transform: translateX(3px);
}
.order-footnote {
  text-align: center;
  color: var(--muted);
}

@media (hover: none) {
  /* touch devices: keep the call-to-action visible, no hover to trigger it */
  .order-cta { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .order-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .order-tiles { gap: 12px; }
  .order-tile { padding: 20px 12px 18px; }
  .order-logo { width: 48px; height: 48px; margin-bottom: 10px; }
  .order-logo svg { width: 26px; height: 26px; }
  .order-name { font-size: 1rem; margin-bottom: 4px; }
  .order-detail { font-size: 0.78rem; }
  .order-cta { margin-top: 10px; font-size: 0.78rem; }
}

/* ==========================================================================
   ÖFFNUNGSZEITEN & STANDORT
   ========================================================================== */

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 8px;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}
.hours-table th { font-weight: 700; }
.hours-closed th, .hours-closed td { color: var(--terracotta); font-weight: 700; }
.hours-footnote {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 24px;
}
.address-block {
  font-style: normal;
  line-height: 1.7;
}
.address-block a { text-decoration: underline; }

.map-placeholder {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
}
.map-placeholder span { display: block; font-size: 0.85rem; margin-top: 6px; }

.map-embed {
  width: 100%;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: block;
}

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

/* ==========================================================================
   GALERIE
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 767px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--text);
  color: var(--off-white);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo { border-radius: 50%; }
.footer-wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0;
}
.footer-address {
  font-style: normal;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}
.footer-address a { text-decoration: underline; color: inherit; }
.footer-social {
  display: flex;
  gap: 20px;
}
.footer-social a { text-decoration: underline; }
.footer-rating { font-weight: 700; margin: 0; }
.footer-signoff {
  font-family: var(--font-script);
  font-size: 1.4rem;
  margin: 0;
  color: var(--terracotta);
}
.footer-impressum {
  max-width: 640px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  margin-top: 12px;
}
