/* Rumeli. One typeface, Ibarra Real Nova (cut after the type of the 18th-century printer Joaquín Ibarra), in
   roman and italic; the colours are those of the room: bronze-black, brass, ivory, and pomegranate for the menu. */
:root {
  --night: #110f09;
  --brass: #c9a15c;
  --brass-light: #ecd19a;
  --ivory: #efe6d2;
  --ivory-soft: rgba(239, 230, 210, .68);
  --pomegranate: #2b0a10;
  --gutter: clamp(20px, 3.4vw, 64px);
  --serif: "Ibarra Real Nova", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(.19, 1, .22, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; font-synthesis: none; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
html.is-loading, html.is-loading body { overflow: hidden; height: 100%; }
body { margin: 0; color: var(--ivory); background: transparent; font: 400 clamp(1.18rem, 1.28vw, 1.4rem)/1.42 var(--serif); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ol { margin: 0; padding: 0; font-weight: 400; }
ol { list-style: none; }
:focus-visible { outline: 1px solid var(--brass-light); outline-offset: 4px; }
::selection { background: var(--brass); color: var(--night); }

.stage { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
main, .nav { position: relative; z-index: 2; }

/* ------------------------------------------------------------ loader */
.loader { position: fixed; inset: 0; z-index: 5; pointer-events: none; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8vh; }
.loader__line { font-style: italic; font-size: clamp(1.25rem, 1.6vw, 1.6rem); color: var(--brass-light); opacity: 0; }

/* ------------------------------------------------------------ the bar at the top */
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 4; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; padding: clamp(14px, 2vh, 26px) var(--gutter) 0; opacity: 0; transition: opacity .8s; }
.nav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 190%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(14, 12, 7, .97), rgba(14, 12, 7, .9) 48%, rgba(14, 12, 7, 0)); opacity: var(--logo, 0); transition: opacity .8s; }
.nav.is-off { opacity: 0 !important; pointer-events: none; }
.nav__links { display: flex; gap: 2.1em; padding-top: .55em; }
.nav__links a, .nav__call { position: relative; }
.nav__links a::after, .nav__call::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--brass-light); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.nav__links a:hover::after, .nav__call:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__logo { opacity: var(--logo, 0); }
.nav__logo img { display: block; height: clamp(44px, 7.4vh, 72px); width: auto; }
.nav__call { justify-self: end; padding-top: .55em; }
.nav__call span { font-style: italic; color: var(--brass-light); margin-left: .5em; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; height: 240vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vh, 44px); display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero__say { font-style: italic; font-size: clamp(2.1rem, 4.2vw, 5rem); line-height: 1; color: var(--ivory); }
.hero__info { text-align: right; color: var(--ivory); }
.status { color: var(--brass-light); font-style: italic; }
.hero__say, .hero__info { opacity: 0; }

/* ------------------------------------------------------------ the table, lit from above */
.tafel { position: relative; height: 340vh; }
.tafel__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.tafel__say { text-shadow: 0 0 34px rgba(10, 8, 4, .9); position: absolute; max-width: 15em; font-size: clamp(2.2rem, 4.6vw, 5.4rem); line-height: 1.02; letter-spacing: -.008em; }
.tafel__say--a { left: var(--gutter); bottom: 12vh; }
.tafel__say--b { left: var(--gutter); top: 18vh; max-width: 10em; }
.tafel__say--c { left: var(--gutter); top: 18vh; max-width: 11em; }
.lit { --p: 0; display: inline-block; padding-bottom: .16em; margin-bottom: -.16em; padding-right: .1em; -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--p) * 150% - 50%), rgba(0, 0, 0, 0) calc(var(--p) * 150%)); mask-image: linear-gradient(100deg, #000 calc(var(--p) * 150% - 50%), rgba(0, 0, 0, 0) calc(var(--p) * 150%)); }

/* ------------------------------------------------------------ the menu */
.karte { position: relative; padding: 24vh var(--gutter) 22vh; }
.karte__head { margin-left: 50%; max-width: 44em; padding-bottom: 12vh; }
.karte__head h2 { font-size: clamp(3.4rem, 8.4vw, 10rem); line-height: .95; letter-spacing: -.012em; margin-left: -.05em; }
.karte__head p { margin-top: 1.3em; max-width: 26em; color: var(--ivory-soft); font-style: italic; }
.gang { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 20vh; }
.gang__name { margin: 0; font-style: normal; color: var(--ivory); position: sticky; top: 18vh; align-self: start; font-size: clamp(2.6rem, 5.6vw, 6.8rem); line-height: 1; letter-spacing: -.01em; padding-right: 8%; text-shadow: 0 0 40px rgba(10, 8, 4, .75); }
.gang__note { display: block; font-size: 1.15rem; font-style: italic; color: var(--brass-light); letter-spacing: 0; margin-top: 1em; }
.gang__dishes { max-width: 44em; list-style: none; margin: 0; padding: 0; }
.dish { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 1.6em; padding: 1.25em 0 1.3em; }
.dish::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(201, 161, 92, .5), rgba(201, 161, 92, .12)); transform-origin: left; transform: scaleX(var(--rule, 1)); }
.dish__name { font-size: clamp(1.5rem, 2vw, 2.15rem); line-height: 1.1; transition: color .5s, translate .7s var(--ease); }
.dish__price { font-size: clamp(1.3rem, 1.6vw, 1.7rem); line-height: 1.25; color: var(--brass-light); font-variant-numeric: oldstyle-nums; }
.dish__desc { grid-column: 1; margin-top: .4em; max-width: 34em; color: var(--ivory-soft); font-size: .98em; line-height: 1.32; }
.dish__tag { font-style: italic; color: var(--brass); }
.dish--chef .dish__name::after { content: "Empfehlung des Küchenchefs"; display: block; margin-top: .3em; font-size: .62em; font-style: italic; color: var(--brass-light); }
@media (hover: hover) {
  .dish:hover .dish__name { color: var(--brass-light); translate: .35em 0; }
}

/* ------------------------------------------------------------ the room */
.raum { position: relative; height: 620vh; }
.raum__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; pointer-events: none; }
.raum__title { position: absolute; left: var(--gutter); top: 16vh; font-size: clamp(3.4rem, 8.4vw, 10rem); line-height: .95; letter-spacing: -.012em; }
.raum__captions li:nth-child(even) { left: auto; right: var(--gutter); text-align: right; }
.raum__captions li { position: absolute; left: var(--gutter); bottom: 7vh; max-width: 13em; font-style: italic; font-size: clamp(1.5rem, 2.5vw, 3rem); line-height: 1.08; opacity: 0; }

/* ------------------------------------------------------------ parties */
.feiern { position: relative; padding: 26vh var(--gutter) 22vh; }
.feiern h2 { font-size: clamp(3.4rem, 8.4vw, 10rem); line-height: .95; letter-spacing: -.012em; }
.feiern__cols { display: grid; grid-template-columns: minmax(0, 27em); gap: 5vh; margin: 8vh 0 7vh; }
h3 { font-size: clamp(1.5rem, 2vw, 2.15rem); line-height: 1.1; margin-bottom: .6em; color: var(--brass-light); font-style: italic; }
.feiern p { color: var(--ivory); }
.big-link { font-size: clamp(1.9rem, 4.2vw, 5rem); line-height: 1.05; background: linear-gradient(var(--brass-light), var(--brass-light)) 0 100% / 100% 1px no-repeat; transition: background-size .9s var(--ease); padding-bottom: .06em; }
.big-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ------------------------------------------------------------ visit: the lamp comes back */
.besuch { position: relative; min-height: 100vh; min-height: 100svh; padding: 22vh var(--gutter) 3vh; display: flex; flex-direction: column; }
.besuch h2 { font-size: clamp(3.6rem, 8.8vw, 11rem); line-height: .94; letter-spacing: -.012em; }
.besuch__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 5vw; margin-top: auto; padding-top: 12vh; }
.besuch__grid p + p { margin-top: .8em; }
.besuch__grid p a:not(.big-link) { background: linear-gradient(var(--brass-light), var(--brass-light)) 0 100% / 100% 1px no-repeat; }
.besuch__foot { display: flex; gap: 2em; justify-content: flex-end; margin-top: 8vh; font-size: .95rem; color: var(--ivory-soft); }

/* ------------------------------------------------------------ phone */
@media (max-width: 820px) {
  body { font-size: 1.16rem; }
  .nav { grid-template-columns: 1fr auto; padding-top: 10px; }
  .nav__links { display: none; }
  .nav__logo img { height: 46px; }
  .nav__call span { display: none; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 12px; bottom: 26px; }
  .hero__info { text-align: left; }
  .hero__say { font-size: 2.5rem; }
  .tafel__say { font-size: 2.4rem; max-width: none; right: var(--gutter); }
  .tafel__say--b { text-align: left; left: var(--gutter); top: 12vh; }
  .tafel__say--c { top: 12vh; }
  .tafel__say--a { bottom: 10vh; }
  .karte { padding-top: 16vh; }
  .karte__head { margin-left: 0; }
  .gang { grid-template-columns: 1fr; padding-bottom: 12vh; }
  .gang__name { position: relative; top: auto; padding: 0 0 3vh; }
  .gang__dishes { background: linear-gradient(180deg, rgba(14, 12, 7, .55), rgba(14, 12, 7, .78) 8%); padding: 0 14px; margin: 0 -14px; }
  .besuch__grid { grid-template-columns: 1fr; gap: 6vh; }
  .besuch__foot { justify-content: flex-start; }
}

/* ------------------------------------------------------------ without WebGL or with reduced motion: the plain picture */
.no-gl .stage { display: none; }
.no-gl body { background: var(--night); }
.no-gl .hero__sticky { background: url("/assets/lux/bar-3600.webp") center / cover; }
.no-gl .hero__sticky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 15, 9, .55), rgba(17, 15, 9, .1) 40%, rgba(17, 15, 9, .8)); }
.no-gl .hero__title { position: absolute; left: 22%; right: 22%; top: 20vh; height: 46vh; width: auto; clip-path: none; z-index: 2; color: transparent; background: url("/assets/lux/logo-mark.webp") center / contain no-repeat; }
.no-gl .hero__foot { z-index: 2; }
.no-gl .lit { --p: 1 !important; }
@media (prefers-reduced-motion: reduce) { .lit { --p: 1 !important; } }
