/* ==========================================================================
   Das Essen FM · Juchgasse 24, 1030 Wien
   Identity: a small Viennese room full of old radios, Ukrainian embroidery on
   the tables (cobalt flowers, red cherries), beetroot-red borscht, smetana.
   Reference attitude (Amici): paper cards with double rules, stamps & oval
   stickers, a pattern band instead of a plain rule, image-trail cursor,
   hover-reveal list. Our own: cross-stitch band, radio dial, "Sendezeiten".
   ========================================================================== */
:root {
  /* palette: from the table textiles, the borscht and the sour cream */
  --smetana: #f5eddf;     /* page */
  --paper: #fbf6ec;       /* cards */
  --cobalt: #1f3d8f;      /* embroidery blue, primary ink */
  --cobalt-deep: #142a66;
  --beet: #9e1b32;        /* borscht red */
  --beet-deep: #7a1426;
  --sun: #f3b33d;         /* sunflower, stickers */
  --dill: #2f7a45;        /* open-now dot */
  --ink: #1b1d2e;
  --muted: #555b74;
  --rule: rgba(31, 61, 143, .28);

  /* type */
  --f-display: "Young Serif", "Georgia", serif;
  --f-text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "Consolas", monospace;

  --pad: clamp(16px, 4.2vw, 64px);
  --head-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* cross-stitch tile (vyshyvanka-style diamond), 32 x 28 */
  --xstitch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='28' shape-rendering='crispEdges'%3E%3Cg fill='%239e1b32'%3E%3Crect x='16' y='0' width='3' height='3'/%3E%3Crect x='12' y='4' width='3' height='3'/%3E%3Crect x='20' y='4' width='3' height='3'/%3E%3Crect x='8' y='8' width='3' height='3'/%3E%3Crect x='24' y='8' width='3' height='3'/%3E%3Crect x='4' y='12' width='3' height='3'/%3E%3Crect x='28' y='12' width='3' height='3'/%3E%3Crect x='8' y='16' width='3' height='3'/%3E%3Crect x='24' y='16' width='3' height='3'/%3E%3Crect x='12' y='20' width='3' height='3'/%3E%3Crect x='20' y='20' width='3' height='3'/%3E%3Crect x='16' y='24' width='3' height='3'/%3E%3C/g%3E%3Cg fill='%231f3d8f'%3E%3Crect x='16' y='8' width='3' height='3'/%3E%3Crect x='12' y='12' width='3' height='3'/%3E%3Crect x='20' y='12' width='3' height='3'/%3E%3Crect x='16' y='16' width='3' height='3'/%3E%3Crect x='0' y='12' width='3' height='3'/%3E%3C/g%3E%3C/svg%3E");
  --xstitch-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='28' shape-rendering='crispEdges'%3E%3Cg fill='%23f3b33d'%3E%3Crect x='16' y='0' width='3' height='3'/%3E%3Crect x='12' y='4' width='3' height='3'/%3E%3Crect x='20' y='4' width='3' height='3'/%3E%3Crect x='8' y='8' width='3' height='3'/%3E%3Crect x='24' y='8' width='3' height='3'/%3E%3Crect x='4' y='12' width='3' height='3'/%3E%3Crect x='28' y='12' width='3' height='3'/%3E%3Crect x='8' y='16' width='3' height='3'/%3E%3Crect x='24' y='16' width='3' height='3'/%3E%3Crect x='12' y='20' width='3' height='3'/%3E%3Crect x='20' y='20' width='3' height='3'/%3E%3Crect x='16' y='24' width='3' height='3'/%3E%3C/g%3E%3Cg fill='%23f5eddf'%3E%3Crect x='16' y='8' width='3' height='3'/%3E%3Crect x='12' y='12' width='3' height='3'/%3E%3Crect x='20' y='12' width='3' height='3'/%3E%3Crect x='16' y='16' width='3' height='3'/%3E%3Crect x='0' y='12' width='3' height='3'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--smetana);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--sun); color: var(--cobalt-deep); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--cobalt); color: var(--smetana); padding: .6rem 1rem; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--f-mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--beet);
  display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem;
  margin-bottom: 1.2rem;
}
.eyebrow--light { color: var(--sun); }
.eyebrow__sep { opacity: .45; }
.h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.6rem);
  line-height: 1.02; letter-spacing: -.012em; color: var(--cobalt);
  text-wrap: balance;
}
.h2--light { color: var(--smetana); }
.body { color: var(--muted); max-width: 34rem; }

/* cross-stitch band */
.stitch { height: 28px; background: var(--xstitch) repeat-x center / 32px 28px; }
.stitch--foot { background-image: var(--xstitch-light); }

/* ---------- buttons (text roll + magnetic in JS) ---------- */
.btn {
  --bh: 3.2rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: var(--bh); padding: 0 1.6rem; border-radius: 999px; overflow: hidden;
  font: 600 .95rem/1 var(--f-text); letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn > span { display: block; position: relative; line-height: var(--bh); height: var(--bh); transition: transform .55s var(--ease); }
.btn > span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; width: 100%; text-align: center; }
.btn:hover > span, .btn:focus-visible > span { transform: translateY(-100%); }
.btn--small { --bh: 2.6rem; padding: 0 1.15rem; font-size: .85rem; }
.btn--beet { background: var(--beet); color: var(--smetana); }
.btn--beet:hover { background: var(--beet-deep); }
.btn--line { border-color: var(--cobalt); color: var(--cobalt); }
.btn--line:hover { background: var(--cobalt); color: var(--smetana); }
.btn--sun { background: var(--sun); color: var(--cobalt-deep); }
.btn--sun:hover { background: var(--smetana); }

/* ---------- intro ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.4rem;
  background: var(--cobalt); color: var(--smetana);
  animation: introFailsafe .01s linear 2.6s forwards;
}
@keyframes introFailsafe { to { visibility: hidden; opacity: 0; } }
.intro__kicker { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--sun); }
.intro__word { font-family: var(--f-display); font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: 1; white-space: nowrap; }
.intro__word span, .fm-pill {
  display: inline-block; font-family: var(--f-mono); font-weight: 500; font-size: .42em; letter-spacing: .06em;
  background: var(--beet); color: var(--smetana); padding: .2em .55em .16em; border-radius: 999px;
  vertical-align: .55em; margin-left: .25em;
}
.intro__dial { position: relative; width: min(720px, 84vw); padding-top: .2rem; }
.dial__scale { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .75rem; color: rgba(245, 237, 223, .7); }
.dial__ticks {
  height: 22px; margin-top: .35rem;
  background:
    repeating-linear-gradient(90deg, rgba(245,237,223,.85) 0 2px, transparent 2px 100%) 0 0 / calc(100% / 5 - .4px) 100% repeat-x,
    repeating-linear-gradient(90deg, rgba(245,237,223,.45) 0 1px, transparent 1px 100%) 0 100% / calc(100% / 25) 55% repeat-x;
  border-bottom: 1.5px solid rgba(245,237,223,.85);
}
.intro__needle { position: absolute; left: 0; top: -6px; bottom: -10px; width: 3px; border-radius: 3px; background: var(--sun); box-shadow: 0 0 18px rgba(243,179,61,.7); }
.intro__onair { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; display: flex; align-items: center; gap: .6rem; color: rgba(245,237,223,.5); }
.intro__onair b { width: 10px; height: 10px; border-radius: 50%; background: rgba(245,237,223,.25); }
.intro.is-live .intro__onair { color: var(--smetana); }
.intro.is-live .intro__onair b { background: #ff4b4b; box-shadow: 0 0 14px #ff4b4b; }

/* ---------- header ---------- */
.head {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--head-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 0 var(--pad);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease);
}
.head.is-scrolled { background: rgba(245, 237, 223, .94); box-shadow: 0 1px 0 var(--rule); backdrop-filter: blur(8px); }
.head.is-hidden { transform: translateY(-100%); }
.head__logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--cobalt); justify-self: start; }
.head__word { font-family: var(--f-display); font-size: 1.45rem; line-height: 1; }
.head__logo .fm-pill { font-size: .72rem; vertical-align: 0; margin-left: .4rem; }
.head__nav { display: flex; gap: 1.6rem; }
.head__nav a { position: relative; font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--cobalt); padding: .3rem 0; }
.head__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--beet); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.head__nav a:hover::after, .head__nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.head__right { justify-self: end; display: flex; align-items: center; gap: 1.1rem; }
.tuner { display: flex; align-items: center; gap: .55rem; font-family: var(--f-mono); font-size: .7rem; color: var(--cobalt); letter-spacing: .1em; }
.tuner__scale {
  position: relative; width: 96px; height: 14px;
  background: repeating-linear-gradient(90deg, var(--cobalt) 0 1px, transparent 1px 8px) 0 100% / 100% 7px no-repeat;
  border-bottom: 1px solid var(--cobalt);
}
.tuner__needle { position: absolute; left: 0; top: -3px; bottom: -3px; width: 2px; background: var(--beet); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--head-h); }
.hero .stitch--top { position: absolute; top: 0; left: 0; right: 0; height: 10px; background-size: 11px 10px; }
.hero__grid {
  flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 32px);
  align-items: center; padding: clamp(24px, 4vh, 56px) var(--pad) clamp(40px, 7vh, 84px);
}
.hero__copy { grid-column: 1 / span 7; position: relative; z-index: 6; }
.hero__title {
  font-family: var(--f-display); font-weight: 400; color: var(--cobalt);
  font-size: clamp(2.55rem, 1.2rem + 5.2vw, 6.6rem); line-height: .98; letter-spacing: -.02em;
  max-width: 11.5em; text-wrap: balance;
}
.hero__lead { margin-top: 1.6rem; max-width: 33rem; font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem); color: var(--ink); }
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; }
.link-route { font-weight: 600; font-size: .95rem; color: var(--beet); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; margin-left: .4rem; }
.link-route:hover { color: var(--cobalt); }
.hero__hint { margin-top: 2.4rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: .6rem; }
.hero__hint::before { content: ""; width: 26px; height: 1px; background: currentColor; }
@media (hover: none), (pointer: coarse) { .hero__hint { display: none; } }

.live { display: inline-flex; align-items: center; gap: .5rem; color: var(--cobalt); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.live.is-open::before { background: var(--dill); box-shadow: 0 0 0 4px rgba(47,122,69,.18); animation: pulse 1.8s ease-in-out infinite; }
.live.is-closed::before { background: var(--beet); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(47,122,69,0); } }

.hero__visual { grid-column: 8 / span 5; position: relative; z-index: 4; padding: 2rem 0 3rem 2rem; }
.card { position: relative; background: var(--paper); padding: 12px 12px 46px; box-shadow: 0 2px 0 rgba(27,29,46,.05), 0 40px 70px -40px rgba(20,42,102,.55); }
.card::before, .card::after { content: ""; position: absolute; pointer-events: none; border: 1px solid var(--cobalt); }
.card::before { inset: 5px; }
.card::after { inset: 8px; opacity: .45; }
.card--hero { width: min(100%, 470px); margin-left: auto; rotate: -2.4deg; }
.frame { position: relative; overflow: hidden; background: #e8dcc6; }
.card__frame { aspect-ratio: 4 / 5; }
.frame__img { width: 100%; height: 100%; object-fit: cover; }
.card__cap { position: absolute; left: 20px; right: 20px; bottom: 15px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; color: var(--cobalt); display: flex; justify-content: flex-end; gap: .8rem; }
.card__cap span { color: var(--beet); }
.card--mini { position: absolute; left: 0; bottom: 0; width: 36%; padding: 8px 8px 8px; rotate: 6deg; z-index: 2; }
.card--mini::after { display: none; }
.card--mini .card__frame { aspect-ratio: 3 / 4; }

.sticker { position: absolute; z-index: 3; }
.sticker--rating {
  top: 0; right: min(420px, 82%); width: 142px; height: 142px; border-radius: 50%;
  background: var(--sun); color: var(--cobalt-deep);
  display: grid; place-items: center; align-content: center; text-align: center;
  box-shadow: 0 20px 40px -24px rgba(20,42,102,.6); rotate: -10deg;
}
.sticker__ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
.sticker__ring text { font-family: var(--f-mono); font-size: 15.5px; letter-spacing: .12em; text-transform: uppercase; fill: var(--cobalt-deep); }
.sticker__num { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; }
.sticker__star { font-size: .62rem; letter-spacing: .12em; color: var(--beet); margin-top: .1rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- image trail (hero, fine pointers) ---------- */
.trail { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
.trail img { position: absolute; left: 0; top: 0; width: 170px; height: auto; border: 6px solid var(--paper); box-shadow: 0 20px 40px -20px rgba(20,42,102,.55); will-change: transform, opacity; }

/* ---------- marquee ---------- */
.marquee { background: var(--beet); color: var(--smetana); overflow: hidden; padding: 1.05rem 0; border-block: 3px solid var(--cobalt-deep); }
.marquee__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee span { font-family: var(--f-display); font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3.2rem); line-height: 1.1; padding: 0 1.6rem; white-space: nowrap; }
.marquee i { flex: none; width: 22px; height: 20px; background: var(--xstitch-light) center / 22px 20px no-repeat; }

/* ---------- radio / story ---------- */
.radio { padding: clamp(80px, 13vh, 160px) var(--pad); }
.radio__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); align-items: center; }
.radio__art { grid-column: 1 / span 5; position: relative; }
.radio-svg { width: 100%; max-width: 520px; height: auto; overflow: visible; }
.svg-mono { font-family: var(--f-mono); font-size: 13px; fill: var(--cobalt-deep); }
.svg-mono--b { font-weight: 500; fill: var(--beet); }
.radio-waves path { transform-box: fill-box; }
.sticker-oval {
  position: absolute; right: 2%; bottom: -4%; rotate: -9deg;
  border: 1.5px solid var(--cobalt); border-radius: 50%; padding: 1rem 1.6rem;
  background: var(--smetana);
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt);
}
.sticker-oval span { display: block; outline: 1px solid var(--cobalt); outline-offset: 5px; border-radius: 50%; padding: .1rem .2rem; }
.radio__copy { grid-column: 7 / span 6; }
.radio__quote { margin: 2rem 0 1.6rem; padding-left: 1.4rem; border-left: 3px solid var(--beet); }
.radio__quote p { font-family: var(--f-display); font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); line-height: 1.3; color: var(--ink); }
.radio__quote footer { margin-top: .7rem; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--beet); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.chips li { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); border: 1.5px solid var(--rule); border-radius: 999px; padding: .42rem .9rem; transition: background-color .3s, color .3s, border-color .3s; }
.chips li:hover { background: var(--cobalt); color: var(--smetana); border-color: var(--cobalt); }

/* ---------- programm (hover-reveal dishes) ---------- */
.programm { background: var(--paper); padding: clamp(80px, 13vh, 160px) var(--pad); position: relative; }
.programm__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 32px); align-items: end; margin-bottom: clamp(40px, 6vh, 72px); }
.programm__head .eyebrow { grid-column: 1 / -1; }
.programm__head .h2 { grid-column: 1 / span 7; }
.programm__intro { grid-column: 9 / span 4; }
.dishes { border-top: 1.5px solid var(--cobalt); }
.dish {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 4.5rem minmax(0, 1.05fr) minmax(0, 1fr) 9rem;
  gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--rule); color: var(--cobalt);
  isolation: isolate; cursor: default;
}
.dish::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--cobalt); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.dish__no { font-family: var(--f-mono); font-size: .8rem; color: var(--beet); transition: color .4s; }
.dish__name { font-family: var(--f-display); font-size: clamp(1.7rem, 1rem + 2.6vw, 3.3rem); line-height: 1.05; transition: transform .55s var(--ease), color .4s; }
.dish__desc { color: var(--muted); font-size: .98rem; max-width: 26rem; transition: color .4s; }
.dish__tag { justify-self: end; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; border: 1.5px solid currentColor; border-radius: 50%; padding: .5rem .9rem; transition: color .4s; }
.dish__thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .dish:hover::before { transform: scaleY(1); transform-origin: top; }
  .dish:hover .dish__name { color: var(--smetana); transform: translateX(1rem); }
  .dish:hover .dish__desc { color: rgba(245,237,223,.82); }
  .dish:hover .dish__no, .dish:hover .dish__tag { color: var(--sun); }
}
.programm__more { margin-top: 2.4rem; max-width: 60rem; color: var(--ink); font-size: 1.02rem; line-height: 1.8; }
.programm__more-l { display: inline-block; margin-right: .8rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--smetana); background: var(--beet); padding: .2rem .6rem; border-radius: 4px; }

.peek { position: fixed; left: 0; top: 0; z-index: 30; width: 250px; pointer-events: none; display: none; }
.peek img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 8px solid var(--paper); box-shadow: 0 30px 60px -28px rgba(20,42,102,.7); }
@media (hover: hover) and (pointer: fine) { .js .peek { display: block; visibility: hidden; } }

/* ---------- galerie (pinned horizontal) ---------- */
.galerie { background: var(--cobalt); color: var(--smetana); position: relative; }
.galerie__pin { display: flex; align-items: center; height: 100vh; min-height: 640px; overflow: hidden; padding: 0 var(--pad); gap: clamp(32px, 5vw, 96px); }
.galerie__intro { flex: none; width: clamp(260px, 30vw, 460px); }
.galerie__note { margin-top: 1.4rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,237,223,.6); }
.galerie__track { display: flex; align-items: center; gap: clamp(28px, 4vw, 72px); flex: none; padding-right: var(--pad); }
.polaroid { position: relative; flex: none; width: clamp(240px, 23vw, 360px); background: var(--paper); padding: 12px 12px 54px; rotate: var(--r, 0deg); box-shadow: 0 40px 60px -40px rgba(0,0,0,.6); }
.polaroid:nth-child(even) { margin-top: 9vh; }
.polaroid:nth-child(odd) { margin-bottom: 7vh; }
.polaroid--wide { width: clamp(320px, 33vw, 520px); }
.polaroid .frame { aspect-ratio: 3 / 4; }
.polaroid--wide .frame { aspect-ratio: 4 / 3; }
.polaroid .frame__img { transform: scale(1.12); }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--f-display); font-size: 1.15rem; color: var(--cobalt); }
.tag-oval { position: absolute; top: -22px; right: -18px; rotate: var(--r, -10deg); background: var(--beet); color: var(--smetana); border-radius: 50%; padding: .9rem 1.2rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.tag-oval--sun { background: var(--sun); color: var(--cobalt-deep); }
.galerie__end { flex: none; width: clamp(240px, 24vw, 380px); display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; }
.galerie__end p { font-family: var(--f-display); font-size: clamp(2.2rem, 1.4rem + 2.6vw, 4rem); line-height: 1; }

/* ---------- stimmen ---------- */
.stimmen { padding: clamp(80px, 13vh, 160px) var(--pad); }
.stimmen__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 32px); align-items: end; margin-bottom: clamp(48px, 8vh, 96px); }
.stimmen__head .eyebrow { grid-column: 1 / -1; }
.stimmen__head .h2 { grid-column: 1 / span 6; }
.score { grid-column: 8 / span 5; display: flex; align-items: flex-end; flex-wrap: wrap; gap: .2rem .9rem; color: var(--cobalt); }
.score__num { font-family: var(--f-display); font-size: clamp(4.6rem, 3rem + 6vw, 9rem); line-height: .8; color: var(--beet); }
.score__star { font-size: clamp(2.4rem, 1.6rem + 2.4vw, 4rem); line-height: 1; color: var(--sun); -webkit-text-stroke: 1.5px var(--cobalt-deep); }
.score__txt { flex-basis: 100%; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .8rem; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); max-width: 1180px; margin: 0 auto; }
.quote { position: relative; background: var(--paper); padding: clamp(28px, 3.4vw, 48px); rotate: var(--r, 0deg); box-shadow: 0 30px 60px -44px rgba(20,42,102,.6); }
.quote::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--rule); pointer-events: none; }
.quote:nth-child(even) { margin-top: clamp(0px, 7vw, 90px); }
.quote blockquote p { font-family: var(--f-display); font-size: clamp(1.18rem, 1rem + .75vw, 1.6rem); line-height: 1.32; color: var(--cobalt-deep); }
.quote figcaption { margin-top: 1.4rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: .7rem; }
.stars { color: var(--beet); letter-spacing: .08em; font-size: .9rem; }
.quote--blue { background: var(--cobalt); }
.quote--blue::before { border-color: rgba(245,237,223,.3); }
.quote--blue blockquote p { color: var(--smetana); }
.quote--blue figcaption { color: rgba(245,237,223,.75); }
.quote--blue .stars { color: var(--sun); }
.quote--sun { background: var(--sun); }
.quote--sun figcaption { color: var(--cobalt-deep); }

/* ---------- besuch ---------- */
.besuch { padding: 0 var(--pad) clamp(80px, 13vh, 160px); }
.besuch > .stitch { margin: 0 calc(var(--pad) * -1) clamp(64px, 10vh, 120px); }
.besuch__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 3vw, 48px) clamp(16px, 2vw, 32px); align-items: start; }
.sende { grid-column: 1 / span 6; }
.sende__now { margin: 1.4rem 0 1.8rem; font-family: var(--f-mono); font-size: .85rem; letter-spacing: .04em; color: var(--cobalt); display: flex; align-items: center; gap: .6rem; }
.sende__now::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
.sende__now.is-open::before { background: var(--dill); }
.sende__now.is-closed::before { background: var(--beet); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .85rem .6rem; border-bottom: 1px dashed var(--rule); text-align: left; }
.hours th { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); color: var(--cobalt); }
.hours td { font-family: var(--f-mono); font-size: .95rem; text-align: right; color: var(--ink); white-space: nowrap; }
.hours tr.is-today { background: var(--sun); }
.hours tr.is-today th::after { content: "heute"; margin-left: .7rem; vertical-align: .25em; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; background: var(--cobalt); color: var(--smetana); padding: .15rem .45rem; border-radius: 99px; }
.hours tr[data-day="1"] td { color: var(--beet); }

.empfang { grid-column: 8 / span 5; }
.ticket {
  position: relative; background: var(--cobalt); color: var(--smetana); padding: clamp(28px, 3vw, 44px);
  -webkit-mask: radial-gradient(circle 14px at 0 62%, transparent 98%, #000) , radial-gradient(circle 14px at 100% 62%, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  rotate: 1.2deg;
}
.ticket::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(245,237,223,.3); pointer-events: none; }
.ticket__lbl { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sun); }
.ticket__addr { margin-top: .9rem; font-family: var(--f-display); font-size: clamp(2.1rem, 1.5rem + 2vw, 3.3rem); line-height: 1.02; }
.ticket__sub { margin-top: .5rem; color: rgba(245,237,223,.72); }
.ticket__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.ticket .btn--line { border-color: rgba(245,237,223,.7); color: var(--smetana); }
.ticket .btn--line:hover { background: var(--smetana); color: var(--cobalt); }
.ticket .btn--beet { background: var(--sun); color: var(--cobalt-deep); }
.ticket .btn--beet:hover { background: var(--smetana); }
.ticket__tip { margin-top: 1.8rem; padding-top: 1.3rem; border-top: 1px dashed rgba(245,237,223,.35); font-size: .95rem; color: rgba(245,237,223,.88); }
.ticket__tip b { color: var(--sun); font-weight: 600; }
.ticket__list { display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin-top: 1.2rem; }
.ticket__list li { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(245,237,223,.35); border-radius: 99px; padding: .3rem .7rem; }

/* ---------- footer ---------- */
.foot { background: var(--cobalt-deep); color: var(--smetana); padding: clamp(64px, 10vh, 120px) var(--pad) 0; position: relative; overflow: hidden; }
.foot__stamps { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; max-width: 1100px; margin: 0 auto clamp(40px, 7vh, 80px); }
.stamp { display: inline-block; rotate: var(--r, 0deg); font-family: var(--f-mono); font-weight: 500; font-size: clamp(.85rem, .7rem + .5vw, 1.15rem); letter-spacing: .22em; text-transform: uppercase; color: var(--sun); border: 2px solid var(--sun); outline: 1px solid var(--sun); outline-offset: 4px; padding: .5rem 1rem; opacity: .9; }
.stamp--mid { color: var(--smetana); border-color: var(--smetana); outline-color: var(--smetana); }
.foot__big { font-family: var(--f-display); font-size: clamp(3.4rem, 15.5vw, 16rem); line-height: .9; letter-spacing: -.03em; white-space: nowrap; text-align: center; }
.foot__big span { font-family: var(--f-mono); font-weight: 500; font-size: .3em; vertical-align: .9em; background: var(--beet); border-radius: 999px; padding: .12em .5em; letter-spacing: .04em; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem 2rem; margin-top: clamp(32px, 6vh, 64px); padding-top: 1.6rem; border-top: 1px solid rgba(245,237,223,.2); }
.foot__nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.foot__nav a, .foot__contact a { text-decoration: none; }
.foot__nav a:hover, .foot__contact a:hover { color: var(--sun); }
.foot__contact { color: rgba(245,237,223,.8); }
.foot__note { margin: 1.6rem 0 1.8rem; max-width: 52rem; font-size: .84rem; color: rgba(245,237,223,.62); }
.foot__note a { color: var(--sun); }
.stitch--foot { margin: 0 calc(var(--pad) * -1); }

/* ---------- JS-only initial states (content stays visible without JS) ---------- */
.js .split { visibility: hidden; }
.js .split.is-split { visibility: visible; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .head__nav { gap: 1.1rem; }
  .tuner { display: none; }
}
@media (max-width: 900px) {
  :root { --head-h: 64px; }
  .head { grid-template-columns: 1fr auto; }
  .head__nav { display: none; }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; padding-top: 28px; }
  .hero__copy, .hero__visual { grid-column: 1 / -1; }
  .hero__visual { margin-top: 2.6rem; padding: 1.4rem 0 2.6rem 1.4rem; max-width: 520px; width: 100%; justify-self: center; }
  .card--hero { width: 86%; }
  .sticker--rating { right: auto; left: 0; width: 118px; height: 118px; }
  .sticker__num { font-size: 2.1rem; }
  .radio__art, .radio__copy { grid-column: 1 / -1; }
  .radio__art { max-width: 460px; margin: 0 auto 2.4rem; width: 100%; }
  .programm__head .h2, .programm__intro { grid-column: 1 / -1; }
  .programm__intro { margin-top: 1.2rem; }
  .dish { grid-template-columns: 2.6rem minmax(0, 1fr) 76px; grid-template-areas: "no name thumb" "no desc thumb" "no tag thumb"; gap: .25rem .9rem; padding: 1.1rem 0; }
  .dish__no { grid-area: no; align-self: start; padding-top: .55rem; }
  .dish__name { grid-area: name; }
  .dish__desc { grid-area: desc; font-size: .92rem; }
  .dish__tag { grid-area: tag; justify-self: start; margin-top: .4rem; padding: .3rem .7rem; font-size: .62rem; }
  .dish__thumb { display: block; grid-area: thumb; width: 76px; height: 96px; object-fit: cover; border: 4px solid var(--smetana); rotate: 3deg; }
  .dish:nth-child(even) .dish__thumb { rotate: -3deg; }
  .galerie__pin { display: block; height: auto; min-height: 0; padding: 88px 0 96px; }
  .galerie__intro { width: auto; padding: 0 var(--pad); margin-bottom: 40px; }
  .galerie__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px var(--pad) 40px; gap: 26px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .galerie__track::-webkit-scrollbar { display: none; }
  .polaroid, .galerie__end { scroll-snap-align: center; }
  .polaroid { width: 68vw; max-width: 320px; }
  .polaroid--wide { width: 80vw; max-width: 420px; }
  .polaroid:nth-child(even), .polaroid:nth-child(odd) { margin: 0; }
  .tag-oval { top: -16px; right: -6px; }
  .galerie__end { width: 70vw; max-width: 300px; }
  .stimmen__head .h2, .score { grid-column: 1 / -1; }
  .score { margin-top: 1.8rem; }
  .quotes { grid-template-columns: 1fr; }
  .quote:nth-child(even) { margin-top: 0; }
  .sende, .empfang { grid-column: 1 / -1; }
  .foot__stamps { justify-content: center; }
}
@media (max-width: 520px) {
  .btn { --bh: 3rem; padding: 0 1.25rem; }
  .head .btn--small { --bh: 2.4rem; padding: 0 .95rem; font-size: .8rem; }
  .head__word { font-size: 1.25rem; }
  .hero__cta .btn { flex: 1 1 auto; }
  .link-route { margin: .4rem 0 0; }
  .marquee span { padding: 0 1rem; }
  .sticker-oval { right: 0; bottom: -8%; padding: .8rem 1.1rem; font-size: .62rem; }
  .hours th, .hours td { padding: .75rem .35rem; }
  .stamp { letter-spacing: .14em; padding: .4rem .7rem; }
  .ticket__cta .btn { flex: 1 1 auto; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .intro { display: none; }
  .sticker__ring, .live.is-open::before { animation: none; }
  .js .split { visibility: visible; }
  .btn > span, .dish::before, .dish__name { transition: none; }
  .polaroid .frame__img { transform: none; }
}
