:root {
  --ink: #0c0e10;
  --ink-2: #15191e;
  --paper: #f2efe8;
  --muted: rgba(242, 239, 232, 0.62);
  --line: rgba(242, 239, 232, 0.14);
  --emerald: #1f6b4f;
  --emerald-bright: #2f9a72;
  --order: #3dd68c;
  --order-ink: #04140c;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.app-shell {
  padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 0.5rem);
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Hero: one composition, brand first —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.04);
  animation: heroDrift 28s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  to { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 14, 16, 0.55) 0%, transparent 28%, transparent 48%, rgba(12, 14, 16, 0.92) 100%),
    radial-gradient(ellipse 90% 70% at 50% 40%, transparent 0%, rgba(12, 14, 16, 0.55) 100%);
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(0.95rem + var(--safe-top)) clamp(1rem, 3vw, 2.4rem) 0.95rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-word {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.top-links {
  display: none;
  gap: 1.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.top-links a:hover { color: var(--paper); }

.top-actions { display: flex; gap: 0.55rem; flex-wrap: wrap; justify-content: flex-end; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7em 1.15em;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}

.btn:hover { transform: translateY(-1px); }
.btn-solid {
  background: var(--emerald-bright);
  color: #06150f;
  border-color: var(--emerald-bright);
}
.btn-solid:hover { background: #3bb887; border-color: #3bb887; }
.btn-order {
  background: var(--order);
  color: var(--order-ink);
  border-color: var(--order);
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow:
    0 0 0 1px rgba(61, 214, 140, 0.35),
    0 10px 28px rgba(61, 214, 140, 0.28);
  animation: orderGlow 2.8s ease-in-out infinite;
}
.btn-order:hover {
  background: #55e6a0;
  border-color: #55e6a0;
  box-shadow:
    0 0 0 1px rgba(61, 214, 140, 0.5),
    0 12px 34px rgba(61, 214, 140, 0.38);
}
.btn-order-lg {
  min-height: 52px;
  padding: 0.85em 1.55em;
  font-size: 0.95rem;
}
@keyframes orderGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(61, 214, 140, 0.32),
      0 10px 28px rgba(61, 214, 140, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(61, 214, 140, 0.55),
      0 14px 36px rgba(61, 214, 140, 0.4);
  }
}
.btn-ghost {
  background: rgba(12, 14, 16, 0.35);
  border-color: rgba(242, 239, 232, 0.28);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(242, 239, 232, 0.55); }

.desktop-only { display: none; }

.hero-stage {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 0 clamp(1rem, 3vw, 2.4rem) 1.5rem;
  max-width: 42rem;
}

.hero-brand {
  display: flex;
  align-items: center;
  margin-bottom: 0.85rem;
}

.hero-mark {
  width: clamp(110px, 24vw, 160px);
  height: clamp(110px, 24vw, 160px);
  object-fit: contain;
  display: block;
}

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

.hero-stage h1 {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 14vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.hero-lead {
  max-width: 28rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  margin-bottom: 1.25rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  padding: 0 clamp(1rem, 3vw, 2.4rem) 1.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-foot span[aria-hidden="true"] { opacity: 0.4; }

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

/* sections */
.section,
#home,
#kontakt {
  scroll-margin-top: 0.75rem;
  scroll-margin-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 0.75rem);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.kicker {
  color: var(--emerald-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.section-lead {
  max-width: 34rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

/* signatures: one job — show food identity */
.sig-grid {
  display: grid;
  gap: 1rem;
}

.sig-item {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: var(--ink-2);
}

.sig-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.sig-item:hover img { transform: scale(1.05); }

.sig-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(12, 14, 16, 0.9));
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* order band */
.order-band {
  padding: 1.6rem 0;
  border-top: 1px solid rgba(61, 214, 140, 0.22);
  background:
    linear-gradient(90deg, rgba(61, 214, 140, 0.14), transparent 55%),
    var(--ink-2);
}
.order-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.order-band h2 {
  font-size: clamp(1.35rem, 4vw, 2rem);
  margin-bottom: 0.25rem;
}
.order-band .section-lead { margin-bottom: 0; }

.section-cta {
  margin-top: 1.5rem;
}

/* menu shell — one category at a time (Bryggan-style) */
.menu-status {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.menu-shell {
  display: grid;
  gap: 1.15rem;
}

.sheet-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(242, 239, 232, 0.04);
  text-align: left;
}
.sheet-trigger-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sheet-trigger strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.menu-tabs {
  display: none;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tabs button {
  appearance: none;
  flex: 0 0 auto;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85em 1em;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
}
.menu-tabs button:hover { color: var(--paper); }
.menu-tabs button[aria-selected="true"] {
  color: var(--order);
  border-bottom-color: var(--order);
}

.menu-panel {
  position: relative;
  padding: 1.5rem 1.15rem 1.35rem;
  min-height: 240px;
  background: linear-gradient(180deg, rgba(242, 239, 232, 0.04), rgba(242, 239, 232, 0.015));
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(242, 239, 232, 0.05),
    0 18px 48px rgba(0, 0, 0, 0.28);
}
.menu-panel::before,
.menu-panel::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(61, 214, 140, 0.45);
  border-style: solid;
  pointer-events: none;
}
.menu-panel::before {
  top: 8px;
  left: 8px;
  border-width: 1px 0 0 1px;
}
.menu-panel::after {
  right: 8px;
  bottom: 8px;
  border-width: 0 1px 1px 0;
}
.menu-panel.is-switching {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.menu-panel.is-ready {
  opacity: 1;
  transform: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

.menu-cat-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.4vw, 1.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.35rem;
}
.menu-cat-title span {
  display: inline-block;
  position: relative;
  padding: 0 1.2rem;
}
.menu-cat-title span::before,
.menu-cat-title span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 214, 140, 0.65));
}
.menu-cat-title span::before {
  left: 0;
  transform: translate(-100%, -50%);
}
.menu-cat-title span::after {
  right: 0;
  transform: translate(100%, -50%);
  background: linear-gradient(90deg, rgba(61, 214, 140, 0.65), transparent);
}

.menu-items {
  display: grid;
  gap: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
}

.menu-item {
  display: grid;
  gap: 0.3rem;
  transition: opacity 0.2s;
}
.menu-item:hover { opacity: 0.88; }

.menu-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 0.4rem;
}

.menu-item-name {
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.25;
  min-width: 0;
}

.menu-item-dots {
  border-bottom: 1px dotted rgba(242, 239, 232, 0.28);
  margin-bottom: 0.35em;
  min-width: 1rem;
}

.menu-item-price {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--order);
  white-space: nowrap;
  padding-bottom: 0.05em;
}
.menu-item-price-old {
  margin-right: 0.35rem;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 600;
  font-size: 0.85em;
}

.menu-item-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 48ch;
}

.lunch-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.4rem;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  background: rgba(61, 214, 140, 0.16);
  color: var(--order);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.menu-panel-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* bottom sheets */
.sheet-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.55);
}
.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  max-height: 72vh;
  overflow: auto;
  padding: 0.75rem 1rem calc(1.25rem + var(--safe-bottom));
  border-radius: 18px 18px 0 0;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-bottom: 0;
}
.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0.2rem auto 0.85rem;
  border-radius: 999px;
  background: rgba(242, 239, 232, 0.28);
}
.sheet-title {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.sheet-list {
  display: grid;
  gap: 0.45rem;
}
.sheet-list button {
  appearance: none;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(242, 239, 232, 0.03);
  color: var(--paper);
  text-align: left;
  font-weight: 600;
}
.sheet-list button[aria-selected="true"] {
  border-color: rgba(61, 214, 140, 0.45);
  background: rgba(61, 214, 140, 0.12);
  color: var(--order);
}
body.sheet-open { overflow: hidden; }

.contact-call {
  margin-top: 0.35rem;
  width: 100%;
  max-width: 260px;
}

/* lunch */
.lunch {
  background:
    linear-gradient(180deg, rgba(31, 107, 79, 0.16), transparent 55%),
    var(--ink);
}

.lunch-price {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  letter-spacing: 0.02em;
  line-height: 0.9;
  margin: 0.2rem 0 0.8rem;
}

.lunch-meta {
  color: var(--muted);
  max-width: 32rem;
}

/* room */
.room-stage {
  display: grid;
  gap: 0.85rem;
}

.room-main {
  min-height: 52vw;
  max-height: 620px;
  overflow: hidden;
  background: #000;
}

.room-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.room-side figure {
  overflow: hidden;
  min-height: 180px;
  background: #000;
}

.room-side img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

/* visit */
.visit-grid {
  display: grid;
  gap: 1.5rem;
}

.visit-card h3 {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}

.visit-card p,
.visit-card a {
  color: var(--muted);
}

.visit-card a:hover { color: var(--paper); }

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

footer.site-foot {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* mobile app tab bar */
.app-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar-h) + var(--safe-bottom));
  padding: 0.35rem 0.4rem var(--safe-bottom);
  background: rgba(12, 14, 16, 0.92);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.app-tabbar .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 48px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.app-tabbar .tab.is-active {
  color: var(--paper);
}
.app-tabbar .tab-ico {
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.9;
}
.app-tabbar .tab-order {
  color: var(--order-ink);
  background: var(--order);
  box-shadow: 0 8px 22px rgba(61, 214, 140, 0.35);
  transform: translateY(-6px);
  min-height: 54px;
  animation: orderGlow 2.8s ease-in-out infinite;
}
.app-tabbar .tab-order .tab-ico { color: var(--order-ink); }
.app-tabbar .tab-order.is-active { color: var(--order-ink); }

@media (min-width: 720px) {
  .top-links { display: flex; }
  .desktop-only { display: inline-flex; }
  .brand-word {
    width: 84px;
    height: 84px;
  }
  .sig-grid { grid-template-columns: repeat(3, 1fr); }
  .visit-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
  .room-stage { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
  .room-main { min-height: 100%; max-height: none; }
  .room-side { grid-template-columns: 1fr; }
  .sheet-trigger { display: none; }
  .menu-tabs { display: flex; }
  .menu-panel {
    padding: 2rem 2rem 1.75rem;
  }
  .menu-shell {
    gap: 1.5rem;
  }
  body.app-shell { padding-bottom: 0; }
  .app-tabbar { display: none; }
  .topbar { padding: 1.1rem clamp(1rem, 3vw, 2.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media video,
  .hero-media img { animation: none; }
  .btn-order,
  .app-tabbar .tab-order { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
