:root {
  color-scheme: dark;
  --black: #ffffff;
  --black-2: #f0ece5;
  --coffee: #8f6a2f;
  --coffee-light: #c59a4a;
  --gold: #b88932;
  --gold-soft: #d7ad5b;
  --cream: #f5efe5;
  --muted: #c8c1b7;
  --muted-strong: #e4ddd2;
  --green: #71796b;
  --line: rgba(184, 137, 50, 0.34);
  --line-strong: rgba(184, 137, 50, 0.72);
  --accent: rgba(215, 173, 91, 0.3);
  --panel: rgba(27, 30, 32, 0.98);
  --panel-soft: rgba(31, 34, 37, 0.99);
  --panel-solid: rgba(18, 20, 22, 0.99);
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.38);
  --serif: Georgia, "Times New Roman", serif;
  --card-image: url("./cocacola.jpg");
  --sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #08090a;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--black);
  background:
    radial-gradient(circle at 18% 3%, rgba(91, 99, 106, 0.11), transparent 24rem),
    radial-gradient(circle at 86% 16%, rgba(67, 74, 80, 0.09), transparent 28rem),
    linear-gradient(145deg, #08090a 0%, #111315 48%, #1b1e20 100%);
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
}

body:not([data-page="home"]) {
  --card-image: url("./cocacola.jpg");
}

body[data-page="pastry-shop"],
body[data-page="allday-fr-hst-ck"],
body[data-page="club-sandwiches-und-salate"],
body[data-page="tapas-specials"],
body[data-page="hauptgerichte"],
body[data-page="griechische-eissorten-und-joghurt"],
body[data-page="kaffee-tee"],
body[data-page="alkoholfreie-getr-nke"],
body[data-page="cocktails-longdrinks-und-mocktails"],
body[data-page="erdinger-weissbr-u-bier"],
body[data-page="qualit-tsweine"],
body[data-page="aperitifs-und-spritzgetr-nke"] {
  --card-image: url("./cocacola.jpg");
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.phone-frame {
  position: relative;
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: visible;
  border-inline: 1px solid rgba(184, 137, 50, 0.28);
  background:
    linear-gradient(180deg, rgba(72, 79, 85, 0.1), transparent 18rem),
    rgba(15, 17, 19, 0.98);
  isolation: isolate;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(112, 119, 125, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 119, 125, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.glow {
  position: fixed;
  z-index: -2;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  filter: blur(44px);
  pointer-events: none;
}

.glow-coffee {
  top: 7rem;
  left: calc(50% - 20rem);
  background: rgba(70, 77, 83, 0.13);
}

.glow-gold {
  right: calc(50% - 20rem);
  bottom: 5rem;
  background: rgba(91, 99, 106, 0.11);
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  width: auto;
  margin-left: 0;
  padding: max(0.8rem, env(safe-area-inset-top)) max(1.05rem, env(safe-area-inset-right)) 0.72rem max(1.05rem, env(safe-area-inset-left));
  border-bottom: 1px solid var(--line);
  color: var(--black);
  background: rgba(12, 14, 15, 0.94);
  backdrop-filter: blur(22px) saturate(1.12);
}

.button-group,
.header-spacer {
  display: flex;
  align-items: center;
}

.button-group {
  gap: 0.5rem;
}

.header-spacer {
  min-width: 1px;
}

.round-button,
.quick-links a {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(30, 32, 33, 0.96);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.home-button {
  width: 2.78rem;
  height: 2.78rem;
  border-color: var(--gold);
  background: rgba(184, 137, 50, 0.26);
}

.language-button {
  border-color: var(--gold);
  background: rgba(30, 32, 33, 0.96);
}

.nav-icon {
  width: 1.42rem;
  height: 1.42rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-icon {
  width: 1.48rem;
  height: 1.48rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-letter {
  stroke-width: 1.65;
}

.round-button:hover,
.quick-links a:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(184, 137, 50, 0.3);
}

.round-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.screen {
  padding: calc(5.15rem + env(safe-area-inset-top)) 0.9rem 6.4rem;
}

.page-enter {
  animation: pageIn 260ms ease both;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 0.72rem;
  font-size: clamp(2.25rem, 9.5vw, 3.75rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.58rem, 6.3vw, 2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.32rem;
  font-size: 1.06rem;
  line-height: 1.18;
}

.lead {
  max-width: 35rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.hero-intro {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 16.2rem;
  margin-bottom: 0.9rem;
  padding: 1.4rem 1.05rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.65rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(235, 195, 85, 0.07), transparent 34%),
    radial-gradient(circle at 78% 82%, rgba(255, 214, 100, 0.045), transparent 38%),
    linear-gradient(145deg, rgba(35, 38, 41, 0.99), rgba(15, 17, 19, 0.99));
  box-shadow: var(--shadow);
}

.hero-intro::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  bottom: 0.35rem;
  color: rgba(184, 137, 50, 0.12);
  font-family: var(--serif);
  font-size: 4.35rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  transform: rotate(-90deg);
  transform-origin: right bottom;
}

.hero-intro .eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 0.7rem;
  color: var(--muted-strong);
}

.hero-intro h1 {
  position: relative;
  z-index: 1;
  max-width: 8ch;
  margin-bottom: 0;
}

.title-hero {
  min-height: 0;
  align-content: start;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  margin-bottom: 1.35rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(88%, 22rem);
  height: auto;
}

.hero-actions,
.detail-strip,
.meta-row,
.item-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-actions,
.detail-strip,
.meta-row {
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.34rem 0.68rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--black);
  background: rgba(31, 33, 34, 0.96);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.pill.gold {
  color: #ffffff;
  border-color: transparent;
  background: var(--coffee);
  box-shadow: 0 8px 20px rgba(224, 189, 114, 0.18);
}

.route-grid,
.category-grid,
.item-list {
  display: grid;
  gap: 0.78rem;
}

.route-card,
.category-card,
.item-card,
.notice-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.05);
}

.route-card,
.category-card {
  display: block;
  position: relative;
  min-height: 9.5rem;
  overflow: hidden;
  padding: 1rem 0.95rem;
  border-radius: 1.35rem;
  cursor: pointer;
}

.route-card::before,
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 88% 18%, var(--accent), transparent 38%),
    linear-gradient(135deg, rgba(240, 198, 80, 0.08), transparent 44%);
  opacity: 0.74;
}

.route-card h2 {
  max-width: none;
  text-wrap: balance;
  font-size: clamp(1.58rem, 6.3vw, 2rem);
}

.home-menu-card {
  min-height: 11rem;
}

.photo-card {
  display: grid;
  align-content: space-between;
  isolation: isolate;
  border: 0;
  background-color: #070809;
  background-image: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.photo-card.coffee-hero.image-loaded {
  background-image: url("./coffee-640.webp");
  background-image: image-set(url("./coffee-640.webp") 1x, url("./coffee-1206.webp") 2x);
}

.photo-card.soft-drinks-hero.image-loaded {
  background-image: url("./cocacola-640.webp");
  background-image: image-set(url("./cocacola-640.webp") 1x, url("./cocacola-672.webp") 2x);
}

.photo-card.home-food-hero.image-loaded {
  background-image: url("./speisen-640.webp");
  background-image: image-set(url("./speisen-640.webp") 1x, url("./speisen-1280.webp") 2x);
}

.photo-card.home-drinks-hero.image-loaded {
  background-image: url("./getranke-640.webp");
  background-image: image-set(url("./getranke-640.webp") 1x, url("./getranke-763.webp") 2x);
}

.photo-card.pastry-hero.image-loaded {
  background-image: url("./pastry-640.webp");
  background-image: image-set(url("./pastry-640.webp") 1x, url("./pastry-1280.webp") 2x);
}

.photo-card.breakfast-hero.image-loaded {
  background-image: url("./fruhstuck-640.webp");
  background-image: image-set(url("./fruhstuck-640.webp") 1x, url("./fruhstuck-1280.webp") 2x);
}

.photo-card.main-dishes-hero.image-loaded {
  background-image: url("./hauptgerichte-640.webp");
  background-image: image-set(url("./hauptgerichte-640.webp") 1x, url("./hauptgerichte-765.webp") 2x);
}

.photo-card.sandwiches-hero.image-loaded {
  background-image: url("./sandwich-640.webp");
  background-image: image-set(url("./sandwich-640.webp") 1x, url("./sandwich-765.webp") 2x);
}

.photo-card.tapas-hero.image-loaded {
  background-image: url("./tapas-640.webp");
  background-image: image-set(url("./tapas-640.webp") 1x, url("./tapas-1280.webp") 2x);
}

.photo-card.icecream-hero.image-loaded {
  background-image: url("./icecream-640.webp");
  background-image: image-set(url("./icecream-640.webp") 1x, url("./icecream-765.webp") 2x);
}

.photo-card.cocktails-hero.image-loaded {
  background-image: url("./cocktail-640.webp");
  background-image: image-set(url("./cocktail-640.webp") 1x, url("./cocktail-1280.webp") 2x);
}

.photo-card.beer-hero.image-loaded {
  background-image: url("./bier-640.webp");
  background-image: image-set(url("./bier-640.webp") 1x, url("./bier-1280.webp") 2x);
}

.photo-card.wine-hero.image-loaded {
  background-image: url("./wine-640.webp");
  background-image: image-set(url("./wine-640.webp") 1x, url("./wine-1280.webp") 2x);
}

.photo-card.spritz-hero.image-loaded {
  background-image: url("./spritz-640.webp");
  background-image: image-set(url("./spritz-640.webp") 1x, url("./spritz-1280.webp") 2x);
}

.photo-card::before {
  content: none;
  display: none;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: rgba(7, 8, 9, 0.42);
  pointer-events: none;
}

.photo-card h2,
.photo-card .card-footer {
  position: relative;
  z-index: 1;
}

.photo-card h2 {
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}

.route-card p,
.category-card p,
.notice-card p,
.item-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.52;
}

.item-card p {
  color: #b9bdc2;
  font-size: 0.875rem;
}

.menu-preview-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.48rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.menu-preview-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--muted-strong);
  font-size: 0.9rem;
  line-height: 1.28;
}

.menu-preview-list li::before {
  content: "";
  width: 0.34rem;
  height: 0.34rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--gold-soft);
  transform: translateY(-0.08rem);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.05rem;
}

.arrow {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  color: #ffffff;
  background: var(--coffee);
  font-weight: 900;
}

.notice-card {
  margin-bottom: 0.78rem;
  padding: 0.9rem 0.95rem;
  border-radius: 1.2rem;
  background: var(--panel-soft);
}

.page-head {
  margin-bottom: 1rem;
  scroll-margin-top: 5.4rem;
}

.page-head h1,
.page-head h2 {
  color: var(--gold);
}

.item-card h3 {
  color: var(--black);
}

.page-head h1 {
  margin-bottom: 0.35rem;
}

.breakfast-page-title {
  line-height: 1.06;
}

.page-head h2 {
  margin-bottom: 0.18rem;
}

.page-head .lead {
  margin-bottom: 0;
  color: var(--black-2);
  line-height: 1.42;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.5rem 0 1rem;
}

.section-jump-nav {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.page-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.44rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(31, 33, 34, 0.96);
  color: var(--black-2);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.page-link:hover {
  border-color: var(--line-strong);
  background: rgba(184, 137, 50, 0.28);
}

.placeholder-card {
  grid-template-columns: 1fr;
}

.section-gap {
  margin-top: 2.15rem;
}

.category-card {
  min-height: 8.2rem;
}

.item-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  padding: 0.92rem;
  border-radius: 1.1rem;
  background:
    linear-gradient(135deg, rgba(240, 198, 80, 0.055), transparent 48%),
    var(--panel);
}

.item-card.has-photo {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 8.732rem;
  padding: 0.25rem 0.25rem 0.25rem 13.098rem;
}

.item-photo {
  position: absolute;
  top: 50%;
  left: 0.25rem;
  display: block;
  width: 12.348rem;
  height: 8.232rem;
  transform: translateY(-50%);
  border-radius: 0.85rem;
  object-fit: cover;
  background: var(--panel-solid);
}

.price {
  color: var(--gold-soft);
  font-size: 0.94rem;
  font-weight: 850;
  white-space: nowrap;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.tag {
  padding: 0.23rem 0.48rem;
  border-radius: 999px;
  color: #ffffff;
  background: var(--coffee);
  font-size: 0.66rem;
  font-weight: 820;
}

.tag-label {
  position: relative;
  top: 0.08rem;
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.1;
}

.pairing {
  color: var(--muted-strong);
}

.quick-menu {
  position: fixed;
  z-index: 30;
  right: max(0.9rem, calc((100vw - 520px) / 2 + 0.9rem));
  bottom: max(1rem, env(safe-area-inset-bottom));
}

.dots {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 0.14rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(28, 30, 31, 0.98);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  color: var(--black);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.dots span {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 999px;
  background: currentColor;
}

.dots:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(184, 137, 50, 0.3);
}

.quick-links {
  position: absolute;
  right: 0.1rem;
  bottom: 3.3rem;
  display: grid;
  gap: 0.45rem;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(0.75rem) scale(0.95);
  transform-origin: bottom right;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.quick-menu.open .quick-links {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.quick-links a {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-color: var(--gold);
  background: rgba(28, 30, 31, 0.98);
  color: var(--black);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.social-icon {
  width: 1.28rem;
  height: 1.28rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram-icon .filled-dot {
  fill: currentColor;
  stroke: none;
}

.facebook-icon {
  fill: currentColor;
  stroke: none;
}

.website-icon {
  fill: none;
  stroke: currentColor;
}

.overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.overlay-panel {
  width: min(100%, 506px);
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 1.55rem;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  transform: translateY(0.8rem);
  transition: transform 180ms ease;
}

.overlay.open .overlay-panel {
  transform: translateY(0);
}

.overlay-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.overlay-head h2 {
  margin-bottom: 0;
}

.bare {
  background: transparent;
}

.language-list {
  display: grid;
  gap: 0.55rem;
}

.language-choice {
  min-height: 3.08rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--black);
  background: rgba(31, 33, 34, 0.98);
  cursor: pointer;
}

.language-choice.active {
  color: #ffffff;
  border-color: transparent;
  background: var(--coffee);
  font-weight: 950;
}

.fine-print {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

@media (min-width: 700px) {
  body {
    padding-block: 1.25rem;
  }

  .phone-frame {
    min-height: calc(100vh - 2.5rem);
    border: 1px solid rgba(184, 137, 50, 0.32);
    border-radius: 1.9rem;
    box-shadow: 0 30px 92px rgba(0, 0, 0, 0.5);
  }

  .topbar {
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .item-card.has-photo {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    min-height: 8.2rem;
    padding: 0.5rem 0.6rem 0.5rem 8.2rem;
    row-gap: 0.35rem;
  }

  .item-card.has-photo .item-photo {
    top: 0.25rem;
    left: 0.25rem;
    width: 7.7rem;
    height: 7.7rem;
    transform: none;
  }

  .item-card.has-photo > div {
    padding-bottom: 1.6rem;
  }

  .item-card.has-photo .price {
    position: absolute;
    right: 0.6rem;
    bottom: 0.5rem;
  }
}

@media (max-width: 370px) {
  .brand small {
    display: none;
  }

  .screen {
    padding-inline: 0.75rem;
  }

  .item-card {
    grid-template-columns: 1fr;
  }

  .item-card.has-photo {
    min-height: 6.9rem;
    padding-left: 6.9rem;
  }

  .item-card.has-photo .item-photo {
    width: 6.4rem;
    height: 6.4rem;
  }

  .price {
    justify-self: start;
  }
}
