/* ─────────────────────────────────────────────────────────────
   Restaurant-Seite (page-restaurant.php) – Präfix .rst-
   Baukasten, Happy-Hour-Marquee, Galerie, Zeiten, Route
   ───────────────────────────────────────────────────────────── */
.rst-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: clamp(32px, 4vw, 56px); }
.rst-stacker { position: relative; background: var(--poster-bg); color: var(--poster-ink); border: 1.5px solid var(--line); padding: 28px 24px 24px; overflow: hidden; }
.rst-stacker::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(200,149,31,.14), transparent 70%); pointer-events: none; }
.rst-hint { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); opacity: .85; white-space: nowrap; transition: opacity .5s var(--sh-ease); animation: rst-hintbob 3.4s ease-in-out infinite; }
@keyframes rst-hintbob { 0%,100% { transform: translate(-50%, -50%) } 50% { transform: translate(-50%, -62%) } }
.rst-stacker.is-started .rst-hint { opacity: 0; }
.rst-stack { position: relative; height: 300px; display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-start; padding-bottom: 6px; }
.rst-layer { width: min(240px, 70%); height: 22px; border-radius: 12px; opacity: 0; transform: translateY(-90px) scale(.92); transition: opacity .55s var(--sh-ease-out), transform .65s cubic-bezier(.34,1.4,.64,1); flex: none; box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.rst-layer.is-on { opacity: 1; transform: none; }
.rst-layer.is-base { opacity: 1; transform: none; height: 34px; border-radius: 8px 8px 18px 18px; background: linear-gradient(#d9924a, #b8702f); }
.rst-layer.is-patty { height: 30px; background: linear-gradient(#6b3a26, #3f2116); border-radius: 14px; }
.rst-layer.is-cheese { height: 12px; background: linear-gradient(#f2b53a, #e08a1e); width: min(258px, 76%); border-radius: 4px 4px 10px 10px; margin-top: -4px; }
.rst-layer.is-speck { height: 12px; background: repeating-linear-gradient(90deg, #8a3b2e 0 22px, #d98a76 22px 34px); width: min(250px, 72%); border-radius: 6px; }
.rst-layer.is-rings { height: 10px; background: repeating-linear-gradient(90deg, #c9a7d6 0 10px, #8e4b9e 10px 14px, #f1e3f4 14px 18px); width: min(246px, 70%); border-radius: 6px; }
.rst-layer.is-salat { height: 14px; background: linear-gradient(#7fbf4a, #4e8a2a); width: min(262px, 78%); border-radius: 10px; clip-path: polygon(0 40%, 6% 0, 14% 50%, 22% 5%, 30% 45%, 38% 0, 46% 50%, 54% 5%, 62% 45%, 70% 0, 78% 50%, 86% 5%, 94% 45%, 100% 0, 100% 100%, 0 100%); }
.rst-layer.is-tomate { height: 12px; background: linear-gradient(#e5473a, #b52a22); width: min(236px, 68%); border-radius: 10px; }
.rst-layer.is-sauce { height: 8px; background: linear-gradient(#f6e2a6, #e9c76e); width: min(230px, 66%); border-radius: 6px; }
.rst-layer.is-top { height: 52px; border-radius: 26px 26px 10px 10px; background: linear-gradient(#e0a058, #b9722f); position: relative; }
.rst-layer.is-top::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, #f6e2a6 0 1.6px, transparent 2px); background-size: 22px 14px; background-position: 8px 10px; border-radius: inherit; opacity: .8; }
.rst-steam { position: absolute; left: 50%; top: 14px; width: 2px; height: 40px; transform: translateX(-50%); opacity: 0; pointer-events: none; }
.rst-steam i { position: absolute; bottom: 0; left: 0; width: 6px; height: 6px; border-radius: 50%; background: rgba(244,236,220,.55); filter: blur(2px); }
.rst-stacker.is-done .rst-steam { opacity: 1; }
.rst-stacker.is-done .rst-steam i:nth-child(1) { animation: rst-rise 3.2s ease-out infinite; }
.rst-stacker.is-done .rst-steam i:nth-child(2) { animation: rst-rise 3.2s ease-out -1.1s infinite; left: -8px; }
.rst-stacker.is-done .rst-steam i:nth-child(3) { animation: rst-rise 3.2s ease-out -2.2s infinite; left: 8px; }
@keyframes rst-rise { from { transform: translateY(0) scale(1); opacity: .7 } to { transform: translateY(-52px) scale(2.2); opacity: 0 } }
.rst-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; position: relative; }
.rst-chip { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: transparent; color: var(--poster-ink); border: 1.5px solid rgba(244,236,220,.42); padding: 10px 16px; cursor: pointer; transition: background .3s var(--sh-ease), border-color .3s var(--sh-ease), transform .3s var(--sh-ease-out), color .3s var(--sh-ease); }
.rst-chip:hover { transform: translate(-2px, -2px); border-color: var(--accent); }
.rst-chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.rst-chip.is-reset { border-style: dashed; opacity: .8; }
.rst-done { margin-top: 18px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--sh-ease), transform .6s var(--sh-ease-out); position: relative; }
.rst-stacker.is-done .rst-done { opacity: 1; transform: none; }
.rst-done-big { font-family: var(--display); font-size: 28px; color: var(--accent); text-transform: uppercase; letter-spacing: -0.02em; }
.rst-textlink { color: inherit; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: color .3s var(--sh-ease), border-color .3s var(--sh-ease); }
.rst-textlink:hover { color: var(--accent); }
.rst-menu { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--line); }
.rst-menu li { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1.5px solid var(--line); }
.rst-name { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; letter-spacing: -0.02em; color: var(--ink); }
.rst-note { display: block; font-family: var(--body); font-size: 14px; color: var(--ink-soft); text-transform: none; letter-spacing: 0; margin-top: 2px; }
.rst-price { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); color: var(--accent); white-space: nowrap; letter-spacing: -0.02em; }
.rst-price small { font-size: .62em; color: var(--ink-mute); margin-right: 4px; }
.rst-lights { padding: 0 32px; }

/* B: Happy Hour */
.rst-happy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.rst-happy-grid h2 { font-family: var(--display); font-size: clamp(40px, 6vw, 80px); line-height: .9; letter-spacing: -0.03em; text-transform: uppercase; margin: 12px 0 0; }
.rst-happy-grid h2 em { font-style: italic; font-weight: 400; }
.rst-happy-grid .lead { margin-top: 20px; }
.rst-marquee { position: relative; background: var(--accent); color: var(--accent-ink); padding: clamp(36px, 5vw, 64px) clamp(26px, 4vw, 52px); border: 1.5px solid var(--line); box-shadow: 8px 8px 0 var(--ink); overflow: hidden; transform: rotate(-1.5deg); }
.rst-frame { position: absolute; inset: 14px; pointer-events: none; background: radial-gradient(circle, var(--ink) 0 3px, transparent 3.6px) 0 0/28px 28px repeat-x, radial-gradient(circle, var(--ink) 0 3px, transparent 3.6px) 0 100%/28px 28px repeat-x, radial-gradient(circle, var(--ink) 0 3px, transparent 3.6px) 0 0/28px 28px repeat-y, radial-gradient(circle, var(--ink) 0 3px, transparent 3.6px) 100% 0/28px 28px repeat-y; opacity: 0; transition: opacity 1s var(--sh-ease); }
.sh-rv.is-in .rst-frame { opacity: .9; }
.rst-day { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; display: block; }
.rst-big { font-family: var(--display); font-size: clamp(56px, 7.5vw, 108px); line-height: .88; letter-spacing: -0.03em; text-transform: uppercase; margin: 10px 0 0; }
.rst-time { font-family: var(--mono); font-size: clamp(16px, 2vw, 22px); letter-spacing: .1em; margin: 16px 0 0; font-weight: 600; }

/* C: Ambiente (dunkles Band) */
.rst-story-h { font-family: var(--display); font-size: clamp(36px, 5vw, 72px); line-height: .9; letter-spacing: -0.03em; text-transform: uppercase; margin: 0; }
.rst-story-p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; margin: 18px 0 0; max-width: 60ch; opacity: .9; }
.rst-story-p em { font-style: normal; color: var(--accent); }
.rst-gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 20vw, 260px); gap: 12px; margin-top: clamp(32px, 5vw, 56px); }
.rst-gallery figure { margin: 0; position: relative; overflow: hidden; background: #0d0b0a; border: 1.5px solid rgba(244,236,220,.2); }
.rst-gallery img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--sh-ease-out); }
.rst-gallery figure:hover img { transform: scale(1); }
.rst-gallery figcaption { position: absolute; left: 12px; bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--poster-ink); background: rgba(8,8,15,.6); padding: 6px 10px; }
.rst-gallery .g1 { grid-column: 1/4; grid-row: 1/3; } .rst-gallery .g2 { grid-column: 4/6; grid-row: 1/3; } .rst-gallery .g3 { grid-column: 6/7; grid-row: 1/3; } .rst-gallery .g4 { grid-column: 1/4; grid-row: 3/4; } .rst-gallery .g5 { grid-column: 4/7; grid-row: 3/4; }
.rst-after { margin: 28px 0 0; display: flex; justify-content: flex-end; }
.rst-textlink.is-light { color: var(--poster-ink); }

/* D: Zeiten & Standort */
.rst-zeiten-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.rst-zeiten-grid h2 { font-family: var(--display); font-size: clamp(40px, 6vw, 80px); line-height: .9; letter-spacing: -0.03em; text-transform: uppercase; margin: 12px 0 0; }
.rst-zeiten-grid h2 em { font-style: italic; font-weight: 400; }
.rst-hours { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1.5px solid var(--line); }
.rst-hours li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1.5px solid var(--line); }
.rst-d { font-weight: 600; color: var(--ink); }
.rst-d small { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); margin-left: 8px; }
.rst-t { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--accent); }
.rst-hours li.is-closed .rst-t { color: var(--ink-mute); }
.rst-hours li.is-today .rst-d { color: var(--accent); }
.rst-today { margin: 14px 0 0; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; min-height: 1.4em; }
.rst-today b { color: var(--accent); }
.rst-route { position: relative; background: var(--poster-bg); color: var(--poster-ink); border: 1.5px solid var(--line); padding: 26px; overflow: hidden; }
.rst-route svg { width: 100%; height: auto; display: block; }
.rst-addr { margin-top: 6px; }
.rst-addr-name { font-family: var(--display); font-size: 24px; text-transform: uppercase; letter-spacing: -0.02em; margin: 0; }
.rst-addr p { margin: 4px 0 0; opacity: .8; font-size: 15px; }
.rst-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.rst-path { stroke: var(--accent); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.rst-path.is-bg { stroke: rgba(200,149,31,.16); stroke-dashoffset: 0; }
.rst-pin { transform-origin: center; transform: translateY(-8px); opacity: 0; transition: opacity .5s var(--sh-ease), transform .7s cubic-bezier(.34,1.5,.64,1); }
.rst-route.is-arrived .rst-pin { opacity: 1; transform: none; }
.rst-beacon { animation: rst-beacon 4s ease-out -1s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes rst-beacon { 0% { transform: scale(.6); opacity: .7 } 100% { transform: scale(2.2); opacity: 0 } }

/* E: CTA */
.rst-cta .eyebrow { margin-bottom: 14px; }
.rst-endimg { position: relative; width: min(900px, 100%); margin: clamp(40px, 6vw, 72px) auto 0; overflow: hidden; aspect-ratio: 16/9; background: #0d0b0a; border: 1.5px solid var(--ink); }
.rst-endimg img { width: 100%; height: 100%; object-fit: cover; }
.rst-prose .page-prose { max-width: 72ch; }

@media (max-width: 900px) {
  .rst-grid, .rst-happy-grid, .rst-zeiten-grid { grid-template-columns: 1fr; }
  .rst-marquee { transform: rotate(-1deg); }
}
@media (max-width: 760px) {
  .rst-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 36vw, 240px); }
  .rst-gallery .g1 { grid-column: 1/3; grid-row: 1/3; } .rst-gallery .g2 { grid-column: 1/2; grid-row: 3/5; } .rst-gallery .g3 { grid-column: 2/3; grid-row: 3/5; } .rst-gallery .g4 { grid-column: 1/3; grid-row: 5/6; } .rst-gallery .g5 { grid-column: 1/3; grid-row: 6/7; }
}
@media (pointer: coarse) { .rst-chip { min-height: 44px; display: inline-flex; align-items: center; } }
@media (prefers-reduced-motion: reduce) {
  .rst-hint, .rst-beacon, .rst-steam i { animation: none !important; }
  .rst-layer, .rst-done, .rst-frame, .rst-pin { transition: none; }
  .rst-layer { opacity: 1; transform: none; }
  .rst-stacker .rst-done { opacity: 1; transform: none; }
  .rst-frame { opacity: .9; }
  .rst-path { stroke-dashoffset: 0; }
  .rst-pin { opacity: 1; transform: none; }
  .rst-gallery img { transform: none; }
}
