/* Schriften – lokal eingebunden, keine Verbindung zu Google */
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Farben aus den Fotos: Markise, Schild, Tomaten, Papier, Kohle */
  --senf: #ebb02d;
  --wein: #7a1f2b;
  --tomate: #e4573a;
  --creme: #f2ede4;
  --kohle: #1b1916;

  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --gutter: 16px;
  --nav-h: 56px;

  --t-small: 0.875rem;
  --t-body: 1rem;
  --t-lede: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  --t-h2: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  --t-display: clamp(3rem, 1.5rem + 7vw, 8rem);
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--kohle);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--kohle);
  outline-offset: 3px;
}
.t-wein :focus-visible, .bar :focus-visible, .story__text :focus-visible { outline-color: var(--creme); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--kohle); color: var(--creme); padding: 12px 16px;
}
.skip:focus { top: 8px; }

/* ---------- Kleinteile ---------- */

.label, .topbar, .nav__links a, .pill, .link, .dish__row, .bar__aside,
.facts dt, .footer__nav a, .menu__note, .map__label {
  font-size: var(--t-small);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border: 0; border-radius: 100px;
  font-family: inherit; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.pill--light { background: var(--creme); color: var(--kohle); }
.pill--light:hover { background: var(--kohle); color: var(--creme); }
.pill--dark { background: var(--kohle); color: var(--senf); }
.pill--dark:hover { background: var(--wein); color: var(--creme); }

.link {
  display: inline-block; padding: 10px 0;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Topbar & Navigation ---------- */

.topbar {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px var(--gutter);
  background: var(--tomate); color: var(--kohle);
}
.topbar__zurueck { color: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.topbar__addr { display: none; }
@media (min-width: 600px) {
  .topbar__addr { display: inline; }
}
.topbar__status::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px;
  border-radius: 50%; background: currentColor; vertical-align: 1px;
}
.topbar__status[data-open="false"]::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); padding: 0 var(--gutter);
  background: var(--senf);
}
.nav__mark {
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; line-height: 1;
}
.nav__links { display: none; gap: 28px; }
.nav__links a { text-decoration: none; padding: 12px 0; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 5px; }

.nav__toggle {
  width: 44px; height: 44px; margin-right: -10px;
  display: grid; place-items: center;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.nav__bars, .nav__bars::before, .nav__bars::after {
  display: block; width: 24px; height: 1.5px; background: currentColor;
  transition: transform .25s;
}
.nav__bars { position: relative; }
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
.nav__bars::before { top: -7px; }
.nav__bars::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-7px) rotate(-45deg); }

.panel {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px var(--gutter) 32px;
  background: var(--senf);
}
.panel[hidden] { display: none; }
.panel nav { display: flex; flex-direction: column; }
.panel nav a {
  padding: 6px 0;
  font-size: clamp(2.5rem, 12vw, 4rem); line-height: 1.05; letter-spacing: -0.03em;
  text-decoration: none;
}
.panel__meta { font-size: var(--t-small); text-transform: uppercase; letter-spacing: .02em; }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__toggle, .panel { display: none; }
}

/* ---------- Hero ---------- */

.hero { background: var(--senf); }

.wordmark {
  display: block;
  padding: 0.12em var(--gutter) 0.02em;
  font-size: 27vw; /* wird per Script exakt auf die Breite gesetzt */
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.045em;
  white-space: nowrap;
  margin-left: -0.03em;
}

.hero__photo { position: relative; }
.hero__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 50%;
}
.hero__pill { position: absolute; right: var(--gutter); bottom: var(--gutter); }

.hero__text {
  display: grid; gap: 20px; justify-items: start;
  padding: 24px var(--gutter) 40px;
}
.lede {
  max-width: 34ch;
  font-size: var(--t-lede); line-height: 1.22; letter-spacing: -0.015em;
}

@media (min-width: 768px) {
  .hero__photo img { aspect-ratio: 3 / 2; }
}
@media (min-width: 1024px) {
  .hero__photo img { aspect-ratio: 16 / 8; object-position: 50% 42%; }
  .hero__text {
    grid-template-columns: 1fr auto; align-items: end;
    padding-block: 28px 48px;
  }
  .lede { max-width: 42ch; }
}

/* ---------- Abschnittsbalken ---------- */

.bar {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 22px var(--gutter);
  background: var(--wein); color: var(--creme);
}
.bar h2 { font-size: var(--t-h2); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }

/* ---------- Speisekarte ---------- */

.menu { display: grid; }

.dish { position: relative; display: flex; flex-direction: column; }
.dish__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 14px var(--gutter);
}
.dish__row h3 { font: inherit; }
.price { font-variant-numeric: tabular-nums; white-space: nowrap; }

.dish--photo { background: var(--creme); }
.dish--photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; flex: 1; min-height: 0; }

.menu__tiles { display: grid; grid-template-columns: 1fr 1fr; }

.dish--tile {
  justify-content: space-between;
  aspect-ratio: 1 / 1;
  padding-top: 16px;
}
.dish--tile .dish__name {
  padding: 0 var(--gutter);
  font-size: clamp(1.625rem, 7.5vw, 3.25rem);
  font-weight: 500; line-height: 0.95; letter-spacing: -0.035em;
  hyphens: manual; overflow-wrap: break-word;
}
.dish--tile .dish__row { padding-top: 0; }
.dish--tile .dish__row span:first-child { opacity: .85; }

.t-senf { background: var(--senf); }
.t-tomate { background: var(--tomate); }
.t-creme { background: var(--creme); box-shadow: inset 0 0 0 1px rgba(27, 25, 22, .12); }
.t-wein { background: var(--wein); color: var(--creme); }

.menu__note {
  padding: 14px var(--gutter);
  border-top: 1px solid rgba(27, 25, 22, .15);
}

@media (min-width: 1024px) {
  .menu { grid-template-columns: 7fr 5fr; }
  .menu__tiles { grid-template-rows: 1fr 1fr; }
  .dish--tile { aspect-ratio: auto; min-height: 260px; }
  .dish--tile .dish__name { font-size: clamp(2rem, 3.2vw, 3.5rem); }
  .dish--photo img { aspect-ratio: auto; height: 100%; }
}

/* ---------- Laufband ---------- */

.marquee {
  overflow: hidden;
  background: var(--tomate);
  border-block: 1px solid var(--kohle);
}
.marquee__track {
  display: flex; width: max-content;
  animation: laufband 38s linear infinite;
}
.marquee__track span {
  padding: 8px 0;
  font-size: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase;
  white-space: nowrap;
}
@keyframes laufband { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- Der Laden ---------- */

.store { display: grid; }
.story { display: flex; flex-direction: column; }
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story--wide img { object-position: 60% 50%; }

.story__text {
  display: grid; gap: 8px; justify-items: start; flex: 1;
  padding: 20px var(--gutter) 16px;
  background: var(--wein); color: var(--creme);
  border-top: 1px solid rgba(242, 237, 228, .25);
}
.story__text h3 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1; letter-spacing: -0.01em;
}
.story__text p { max-width: 44ch; }

@media (min-width: 1024px) {
  .store { grid-template-columns: 7fr 5fr; }
  .story img { aspect-ratio: 5 / 4; }
  .story + .story { border-left: 1px solid rgba(242, 237, 228, .25); }
  .story + .story img { aspect-ratio: auto; height: 100%; min-height: 0; flex: 1; }
  .story--wide img { height: auto; }
  .story + .story .story__text { flex: 0 0 auto; }
  .story--wide .story__text { flex: 0 0 auto; }
}

/* ---------- Vorbeikommen ---------- */

.visit {
  display: grid; gap: 32px;
  padding: 48px var(--gutter) 56px;
  background: var(--creme);
}
.visit__title {
  font-size: var(--t-display);
  font-weight: 500; line-height: 0.9; letter-spacing: -0.045em;
  margin-bottom: 32px;
}

.facts { display: grid; gap: 0; }
.facts > div {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 4px 16px;
  padding: 16px 0;
  border-top: 1px solid var(--kohle);
}
.facts > div:last-child { border-bottom: 1px solid var(--kohle); }
.facts dt { padding-top: 3px; }
.facts dd { grid-column: 2; font-size: 1.125rem; line-height: 1.35; }
.facts__live { font-family: var(--serif); font-style: italic; font-size: 1.25rem !important; color: var(--wein); }
.facts__live:empty { display: none; }

@media (max-width: 420px) {
  .facts > div { grid-template-columns: 1fr; }
  .facts dd { grid-column: 1; }
}

.map {
  position: relative;
  min-height: 280px;
  background: var(--senf);
  display: flex;
}
.map__consent {
  display: grid; gap: 16px; align-content: end; justify-items: start;
  padding: 24px var(--gutter);
  width: 100%;
}
.map__consent p:not(.map__label) { max-width: 36ch; font-size: 1.125rem; line-height: 1.35; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (min-width: 1024px) {
  .visit { grid-template-columns: 1fr 1fr; gap: 48px; padding-block: 80px 96px; }
  .visit__title { font-size: clamp(3rem, 5.4vw, 6rem); }
  .map { min-height: 100%; }
  .map__consent { padding: 32px; }
}

/* ---------- Rechtliches ---------- */

.legal { max-width: 52rem; padding: 48px var(--gutter) 80px; }
.legal .facts { margin-bottom: 48px; }
.legal h2 {
  margin: 40px 0 12px;
  font-size: var(--t-h2); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em;
}
.legal p, .legal li { max-width: 62ch; font-size: 1.0625rem; line-height: 1.6; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 1.2em; }
.legal a { text-underline-offset: 3px; }
.legal__stand { margin-top: 48px; font-size: var(--t-small); text-transform: uppercase; letter-spacing: .02em; }

/* ---------- Footer ---------- */

.footer { background: var(--senf); overflow: hidden; }

.mobile-call { display: none; }
@media (max-width: 767px) {
  .mobile-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    height: 52px;
    border-radius: 999px;
    background: var(--wein);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  }
  .mobile-call svg { width: 20px; height: 20px; }
  .footer__grid { padding-bottom: 96px; }
}
.footer__grid {
  display: grid; gap: 40px;
  padding: 40px var(--gutter) 48px;
  border-top: 1px solid var(--kohle);
}
.footer__about { max-width: 40ch; font-size: 1.125rem; line-height: 1.35; }
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer__nav a { padding: 6px 0; text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__copy { font-size: var(--t-small); }

.wordmark--foot { padding-bottom: 0.04em; }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; align-items: start; }
  .footer__copy { justify-self: end; }
}
