/* Public chrome. Same bar on /, /faq, /impressum, /privacy, /terms, and /404.
   Menu: So geht's, Wer wir sind, Für Restaurants, language, Jetzt bestellen.
   Zurück is not in the menu and not on the homepage. On /faq, the legal
   pages, and /404 it is the right side of the title row. Hidden when this
   visit did not come from another page on this site. Not used on /map or
   the internal tools. */

:root {
  --bg: #0a0a0a;
  --border: #1e1e1e;
  --text: #e8e8e8;
  --muted: #9a9a9a;
  --accent: #22c55e;
}

html { scroll-padding-top: 6.5rem; }

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  width: 100%;
}
.title-row > :first-child {
  margin-right: auto;
  min-width: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 0 0.9rem 0 0.75rem;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.94);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.back-link[hidden] { display: none; }
.back-link::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.4rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.back-link:hover { color: var(--accent); text-decoration: none; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.logo img { width: 32px; height: 32px; flex-shrink: 0; }
.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.is-current { color: var(--text); }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.lang-switcher button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  min-width: 44px;
  min-height: 44px;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lang-switcher button:hover { color: var(--text); }
.lang-switcher button.active { color: var(--accent); }
.lang-sep { font-size: 0.7rem; color: #333; user-select: none; }

nav a.cta,
nav a.nav-order {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 0.45rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  white-space: nowrap;
}
nav a.cta:hover,
nav a.nav-order:hover { background: var(--accent); color: #000; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
footer p { font-size: 0.8rem; color: var(--muted); margin: 0; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover,
.footer-links a[aria-current="page"] { color: var(--text); }

.pay-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.pay-marks li {
  display: flex;
  align-items: center;
  height: 26px;
  padding: 0 0.35rem;
  background: #fff;
  border-radius: 4px;
}
.pay-marks img {
  display: block;
  height: 14px;
  width: auto;
}
.pay-marks img[alt="EPS"] { height: 22px; }

@media (max-width: 720px) {
  html { scroll-padding-top: 11.5rem; }
  nav { display: block; padding: 0.4rem 0.75rem 0.35rem; }
  .nav-right {
    gap: 0.15rem 0.65rem;
    margin-top: 0.15rem;
  }
  nav a.cta,
  nav a.nav-order {
    position: absolute;
    top: 0.4rem;
    right: 0.75rem;
  }
  .logo-text { font-size: 0.95rem; }
  footer { padding: 1.5rem 1.25rem 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
