@charset "utf-8";
/* ==========================================================================
   Ristorante Pizzeria De Finibus Terrae, Unterendingen
   --------------------------------------------------------------------------
   Farben: das Grün stammt aus dem Logo (rgb(141,196,73) = #8dc449). Auf
   hellem Papier ist dieses Grün zu hell für Text - dort steht die tiefere
   Fassung #4d6a1c. Das Terrakotta ist der warme Gegenton für alles, was
   gedrückt werden soll; es hebt sich auf Papier UND auf dem dunklen
   Markenton ab, ohne mit dem Grün um dieselbe Rolle zu streiten.

   Keine style-Attribute im HTML und keine im Skript gesetzten Stile: die
   Content-Security-Policy erlaubt style-src 'self', ein style="…" wird
   stillschweigend verworfen. Abstufungen laufen deshalb über Klassen.
   ========================================================================== */

@font-face {
  font-family: 'Marcellus';
  src: url('/assets/fonts/marcellus.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/sourcesans.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --papier: #faf6ee;
  --papier-2: #f2ebdd;
  --papier-3: #e9e0cd;
  --tinte: #22251a;
  --tinte-leise: #5a5f4d;
  --marke: #171a11;
  --marke-2: #232818;
  --gruen: #8dc449;
  --gruen-tief: #4d6a1c;
  --gruen-blass: #e3eed0;
  --terra: #ad3f1c;
  --terra-tief: #8d3011;
  --terra-blass: #f6e3da;
  --linie: rgba(34, 37, 26, .16);
  --linie-zart: rgba(34, 37, 26, .09);
  --linie-hell: rgba(250, 246, 238, .2);

  --schrift: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --titel: 'Marcellus', 'Iowan Old Style', Georgia, serif;

  --wrap: 1220px;
  --pad: 1.15rem;
  --rund: 3px;
  --schatten: 0 1px 2px rgba(23, 26, 17, .06), 0 8px 24px rgba(23, 26, 17, .07);
  --schatten-hoch: 0 2px 6px rgba(23, 26, 17, .09), 0 18px 44px rgba(23, 26, 17, .14);
  --kopf-h: 68px;
}

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

/* Ausdruecklich, mit Vorrang: ein eigenes display auf einem Element mit
   hidden-Attribut wuerde die UA-Regel sonst aushebeln und das Menue bliebe
   dauerhaft offen. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.66;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
body.gesperrt { overflow: hidden; }

img, svg, picture { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--titel);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: .004em;
  margin: 0 0 .5em;
  color: var(--tinte);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 1.15rem + 2.1vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.03rem + .7vw, 1.5rem); }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gruen-tief); text-underline-offset: .18em; }
a:hover { color: var(--terra-tief); }
:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: var(--pad);
}
.eng { max-width: 68ch; }
.klein { font-size: .92rem; color: var(--tinte-leise); }
.mini { font-size: .84rem; color: var(--tinte-leise); }
/* Auf dunklem Grund ist das gedaempfte Grau der Lesetexte nicht mehr
   gedaempft, sondern unlesbar (2.7:1). Alle dunklen Flaechen an einer
   Stelle umstellen - sonst faellt genau eine durch. */
.ab--dunkel .klein, .ab--dunkel .mini,
.kasten--marke .klein, .kasten--marke .mini,
.fuss .klein, .fuss .mini { color: rgba(239, 234, 220, .82); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--marke);
  color: #fff;
  padding: .8rem 1.2rem;
  z-index: 200;
}
.skip:focus { left: .5rem; top: .5rem; }

/* --- Symbole ------------------------------------------------------------ */
/* Jedes Icon braucht eine Grundgrösse. Ohne sie wird ein SVG mit
   max-width:100% so breit wie sein Kasten - im Hinweisfeld sonst 700 px. */
.ikon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: currentColor;
  display: inline-block;
  vertical-align: -.16em;
}
.ikon--gross { width: 1.6rem; height: 1.6rem; }

/* --- Augenbraue / Zierlinie --------------------------------------------- */
.braue {
  font-family: var(--schrift);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gruen-tief);
  margin: 0 0 .85rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.braue::before {
  content: "";
  width: 2.1rem;
  height: 1px;
  background: currentColor;
  flex: none;
  opacity: .6;
}
.braue--hell { color: var(--gruen); }
.braue--mitte { justify-content: center; }

/* --- Knöpfe -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--schrift);
  font-size: .97rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
  padding: .85rem 1.4rem;
  border: 1px solid var(--terra);
  border-radius: var(--rund);
  background: var(--terra);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease;
}
.btn:hover {
  background: var(--terra-tief);
  border-color: var(--terra-tief);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--schatten);
}
.btn:active { transform: none; }
.btn .ikon { width: 1.05rem; height: 1.05rem; }

.btn--geist {
  background: transparent;
  color: var(--tinte);
  border-color: var(--linie);
}
.btn--geist:hover {
  background: var(--papier-2);
  border-color: var(--tinte);
  color: var(--tinte);
}
.btn--hell {
  background: transparent;
  color: #f3efe4;
  border-color: rgba(243, 239, 228, .45);
}
.btn--hell:hover {
  background: rgba(243, 239, 228, .12);
  border-color: #f3efe4;
  color: #fff;
}
.btn--klein { padding: .6rem 1rem; font-size: .9rem; }
.btn--breit { width: 100%; }

.link-pfeil {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.link-pfeil::after { content: "→"; transition: transform .18s ease; }
.link-pfeil:hover::after { transform: translateX(3px); }

.tatreihe {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.6rem;
}

/* --- Kopf ---------------------------------------------------------------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--marke);
  color: #f3efe4;
  border-bottom: 1px solid rgba(141, 196, 73, .28);
}
.kopf__in {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--kopf-h);
}
.marke {
  display: flex;
  align-items: center;
  gap: .62rem;
  color: #f3efe4;
  text-decoration: none;
  margin-right: auto;
  flex: none;
}
.marke__m { width: auto; height: 34px; color: var(--gruen); flex: none; }
.marke__wort { display: flex; flex-direction: column; line-height: 1.05; }
.marke__oben {
  font-family: var(--titel);
  font-size: clamp(.98rem, .82rem + .6vw, 1.26rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marke__unten {
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(243, 239, 228, .68);
  white-space: nowrap;
}

.nav { display: none; gap: .15rem; }
.nav a {
  color: rgba(243, 239, 228, .88);
  text-decoration: none;
  font-size: .95rem;
  padding: .5rem .62rem;
  border-radius: var(--rund);
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: #fff; background: rgba(243, 239, 228, .09); }
.nav a[aria-current="page"] { color: var(--gruen); }

.kopf__tat { display: flex; align-items: center; gap: .5rem; flex: none; }
.kopf__tel {
  display: none;
  align-items: center;
  gap: .4rem;
  color: #f3efe4;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
}
.kopf__tel:hover { color: var(--gruen); }
.kopf__tel .ikon { width: 1rem; height: 1rem; }

.lupe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(243, 239, 228, .3);
  border-radius: var(--rund);
  background: transparent;
  color: #f3efe4;
  cursor: pointer;
}
.lupe:hover { background: rgba(243, 239, 228, .1); }
.lupe .ikon { width: 1.4rem; height: 1.4rem; }

/* Absolut unter der Kopfleiste, nicht im Fluss: sonst waechst der
   <header> um die Hoehe der Schublade, und "unter dem Kopfrand" stimmt
   nicht mehr - die Leiste schoebe beim Oeffnen die ganze Seite nach unten. */
.schub {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--marke-2);
  box-shadow: var(--schatten-hoch);
  border-top: 1px solid rgba(243, 239, 228, .12);
  padding: .9rem var(--pad) 1.4rem;
  max-height: calc(100dvh - var(--kopf-h));
  overflow-y: auto;
}
.schub__nav { display: grid; gap: .1rem; }
.schub__nav a {
  color: #f3efe4;
  text-decoration: none;
  padding: .68rem .2rem;
  border-bottom: 1px solid rgba(243, 239, 228, .1);
  font-size: 1.02rem;
}
.schub__nav a[aria-current="page"] { color: var(--gruen); }
.schub__tat { display: grid; gap: .55rem; margin-top: 1.1rem; }

/* --- Rufleiste (nur schmal) ---------------------------------------------- */
.rufleiste {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--marke);
  border-top: 1px solid rgba(141, 196, 73, .3);
  padding-bottom: env(safe-area-inset-bottom);
}
.rufleiste a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .12rem;
  padding: .5rem .3rem .55rem;
  color: rgba(243, 239, 228, .9);
  text-decoration: none;
  font-size: .75rem;
  letter-spacing: .03em;
}
.rufleiste a:first-child { color: var(--gruen); }
.rufleiste .ikon { width: 1.25rem; height: 1.25rem; }

/* --- Bühne --------------------------------------------------------------- */
.buehne {
  position: relative;
  background: var(--marke);
  color: #f6f2e8;
  isolation: isolate;
}
.buehne__bild {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.buehne__bild picture, .buehne__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* picture ist von Haus aus inline und hat keine eigene Höhe - ohne die
   Angabe oben greift object-fit im Kindbild nicht, und das Bild wird
   nur auf schmalen Schirmen verzerrt. */
.buehne__bild picture { display: block; }
.buehne::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 13, 8, .78) 0%, rgba(11, 13, 8, .52) 34%,
                    rgba(11, 13, 8, .66) 72%, rgba(11, 13, 8, .9) 100%),
    linear-gradient(95deg, rgba(11, 13, 8, .82) 0%, rgba(11, 13, 8, .66) 42%,
                    rgba(11, 13, 8, .2) 78%, rgba(11, 13, 8, .1) 100%);
}
.buehne__in {
  position: relative;
  padding-block: clamp(3.4rem, 2rem + 8vw, 7.5rem);
  max-width: 44rem;
}
.buehne h1 { color: #fdfbf6; margin-bottom: .35rem; }
.buehne__unter {
  font-family: var(--titel);
  font-size: clamp(1rem, .86rem + .6vw, 1.3rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gruen);
  margin: 0 0 1.2rem;
}
.buehne__lead {
  font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem);
  color: rgba(246, 242, 232, .93);
  max-width: 40ch;
}
.buehne .tatreihe { margin-top: 1.9rem; }

.stand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  padding: .42rem .85rem .42rem .7rem;
  border: 1px solid rgba(243, 239, 228, .3);
  border-radius: 999px;
  font-size: .88rem;
  color: rgba(246, 242, 232, .92);
  background: rgba(11, 13, 8, .4);
}
.stand__punkt {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--gruen);
  flex: none;
}
.stand[data-offen="nein"] .stand__punkt { background: #d8a33c; }

/* --- Abschnitte ---------------------------------------------------------- */
.ab { padding-block: clamp(2.8rem, 1.6rem + 4.2vw, 5.2rem); }
.ab--eng { padding-block: clamp(2rem, 1.2rem + 3vw, 3.4rem); }
.ab--papier2 { background: var(--papier-2); }
.ab--dunkel { background: var(--marke); color: #efeadc; }
.ab--dunkel h2, .ab--dunkel h3 { color: #fdfbf6; }
.ab--dunkel .klein, .ab--dunkel .mini { color: rgba(239, 234, 220, .72); }
 /* :not(.btn) ist Pflicht: ".ab--dunkel a" ist spezifischer als ".btn" und
   faerbte sonst die Schrift auf dem Knopf gruen - 2.9:1 auf Terrakotta,
   ohne dass irgendwo eine Meldung erscheint. */
.ab--dunkel a:not(.btn) { color: var(--gruen); }
.ab--dunkel a:not(.btn):hover { color: #b6e07a; }

.ab__kopf { max-width: 60ch; margin-bottom: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); }
.ab__kopf--mitte { margin-inline: auto; text-align: center; }
.ab__kopf--mitte .braue { justify-content: center; }
.lead {
  font-size: 1.1rem;
  color: var(--tinte-leise);
  margin-bottom: 0;
}
.ab--dunkel .lead { color: rgba(239, 234, 220, .8); }

/* Zierteiler mit dem Signet aus dem Logo */
.teiler {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gruen-tief);
  margin: 0 0 1.6rem;
}
.ab--dunkel .teiler { color: var(--gruen); }
.ab--dunkel .teiler::before, .ab--dunkel .teiler::after {
  background: var(--linie-hell);
}
.teiler::before, .teiler::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--linie);
}
.teiler .marke__m { height: 26px; opacity: .85; }

/* --- Stärken (Vertrauen) ------------------------------------------------- */
.staerken {
  display: grid;
  gap: 1px;
  background: var(--linie-zart);
  border: 1px solid var(--linie-zart);
  border-radius: var(--rund);
  overflow: hidden;
}
.staerke {
  background: var(--papier);
  padding: 1.5rem 1.4rem;
}
.staerke .ikon--gross { color: var(--gruen-tief); margin-bottom: .6rem; }
.staerke h3 { font-size: 1.14rem; margin-bottom: .3rem; }
.staerke p { font-size: .95rem; color: var(--tinte-leise); margin: 0; }
.ab--papier2 .staerke { background: var(--papier-2); }

/* --- Kacheln ------------------------------------------------------------- */
.kacheln { display: grid; gap: 18px; }
.kachel {
  display: flex;
  flex-direction: column;
  background: var(--papier);
  border: 1px solid var(--linie-zart);
  border-radius: var(--rund);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.kachel:hover {
  transform: translateY(-3px);
  box-shadow: var(--schatten-hoch);
  border-color: var(--linie);
  color: inherit;
}
.kachel picture {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
/* picture ist von Haus aus inline und hat keine eigene Hoehe - ohne die
   Angabe oben greift object-fit im Kindbild nicht, und das Bild wird nur
   auf schmalen Schirmen verzerrt. */
.kachel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.kachel:hover img { transform: scale(1.035); }
.kachel__text { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.kachel__text h3 { margin-bottom: .35rem; }
.kachel__text p { font-size: .95rem; color: var(--tinte-leise); }
.kachel__mehr {
  margin-top: auto;
  padding-top: .9rem;
  font-weight: 600;
  font-size: .93rem;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.kachel__mehr::after { content: "→"; transition: transform .18s ease; }
.kachel:hover .kachel__mehr::after { transform: translateX(3px); }

/* --- Paar: Text und Bild ------------------------------------------------- */
.paar { display: grid; gap: clamp(1.6rem, 1rem + 2.4vw, 2.4rem); align-items: center; }
/* Rasterfelder haben min-width:auto - ein unteilbarer Inhalt (die lange
   E-Mail-Adresse) macht die Spalte sonst breiter als das Fenster, und die
   ganze Seite laesst sich seitlich schieben. */
.paar > *, .kacheln > *, .staerken > *, .raster > * { min-width: 0; }
.paar__bild img { width: 100%; border-radius: var(--rund); }
.paar--gedreht .paar__bild { order: -1; }
.paar--oben { align-items: stretch; }
.paar--oben > * { align-self: stretch; }

.figur { margin: 0; }
.figur img { width: 100%; border-radius: var(--rund); }
.figur figcaption {
  font-size: .86rem;
  color: var(--tinte-leise);
  margin-top: .5rem;
}

.raster { display: grid; gap: 16px; }
.raster img { width: 100%; border-radius: var(--rund); }

/* --- Speisekarte --------------------------------------------------------- */
.sprungnav {
  position: sticky;
  top: var(--kopf-h);
  z-index: 40;
  background: var(--papier);
  border-bottom: 1px solid var(--linie-zart);
  margin-bottom: 2rem;
}
.sprungnav__in {
  display: flex;
  gap: .3rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-block: .6rem;
}
.sprungnav a {
  flex: none;
  font-size: .89rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--tinte-leise);
  padding: .42rem .75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
}
.sprungnav a:hover { color: var(--tinte); background: var(--papier-2); }
.sprungnav a.aktiv {
  color: var(--gruen-tief);
  border-color: var(--gruen-tief);
  background: var(--gruen-blass);
}

.kartenab { margin-bottom: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); scroll-margin-top: calc(var(--kopf-h) + 68px); }
.karte__kopf { margin-bottom: 1.3rem; }
.karte__kopf h2, .karte__kopf h3 { margin-bottom: .25rem; }
.karte__kopf .lead { font-size: 1rem; }

.karte { display: grid; gap: 0; }
.gericht {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .78rem 0;
  border-bottom: 1px solid var(--linie-zart);
}
.gericht:last-child { border-bottom: 0; }
.gericht__t { flex: 1; min-width: 0; }
.gericht__n {
  display: block;
  font-family: var(--titel);
  font-size: 1.1rem;
  line-height: 1.28;
  letter-spacing: .01em;
}
.gericht__b {
  display: block;
  font-size: .93rem;
  color: var(--tinte-leise);
  line-height: 1.5;
  margin-top: .1rem;
}
.gericht__punkte {
  flex: 1;
  border-bottom: 1px dotted var(--linie);
  min-width: 1.2rem;
  transform: translateY(-.28em);
}
.preis {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 1.02rem;
  white-space: nowrap;
  flex: none;
  color: var(--tinte);
}
.preis--drei {
  display: flex;
  gap: .85rem;
  flex: none;
}
.preis--drei span {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 3.1rem;
}
.preis--drei i {
  font-style: normal;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tinte-leise);
}
.preis--drei b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.menge {
  font-size: .82rem;
  color: var(--tinte-leise);
  margin-left: .5rem;
  white-space: nowrap;
}
.karte__fuss {
  font-size: .88rem;
  color: var(--tinte-leise);
  border-top: 1px solid var(--linie);
  padding-top: .9rem;
  margin-top: .4rem;
}

/* --- Mittagsmenü --------------------------------------------------------- */
.tage { display: grid; gap: 16px; }
.tag {
  background: var(--papier);
  border: 1px solid var(--linie-zart);
  border-top: 3px solid var(--gruen-tief);
  border-radius: var(--rund);
  padding: 1.3rem 1.3rem 1.4rem;
}
.tag--heute { border-top-color: var(--terra); box-shadow: var(--schatten); }
.tag__kopf { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .9rem; }
.tag__kopf h3 { margin: 0; }
.tag__datum { font-size: .86rem; color: var(--tinte-leise); }
.tag__heute {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--terra);
  padding: .15rem .5rem;
  border-radius: 999px;
}
.menue { display: grid; gap: .7rem; }
.menue__z { display: grid; grid-template-columns: 2.6rem 1fr; gap: .6rem; align-items: baseline; }
.menue__m {
  font-family: var(--titel);
  font-size: 1rem;
  color: var(--gruen-tief);
  letter-spacing: .06em;
}
.menue__t { font-size: .96rem; }
.preisliste {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
}
.preisliste li {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  padding: .3rem .85rem;
  font-size: .92rem;
}
.preisliste b { font-family: var(--titel); color: var(--gruen-tief); font-weight: 400; letter-spacing: .06em; }

/* --- Öffnungszeiten ------------------------------------------------------ */
.zeiten { margin: 0; }
.zeiten .zeile {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .42rem 0;
  border-bottom: 1px solid var(--linie-zart);
}
.zeiten .zeile:last-child { border-bottom: 0; }
.zeiten dt { font-weight: 600; }
.zeiten dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.zeiten .zeit { display: block; white-space: nowrap; }
.zeiten .zeile--heute dt, .zeiten .zeile--heute dd { color: var(--terra); font-weight: 700; }
.ab--dunkel .zeiten .zeile { border-color: var(--linie-hell); }
.ab--dunkel .zeiten .zeile--heute dt,
.ab--dunkel .zeiten .zeile--heute dd,
.fuss .zeiten .zeile--heute dt,
.fuss .zeiten .zeile--heute dd { color: var(--gruen); }
.fuss .zeiten .zeile { border-color: var(--linie-hell); }

.kueche { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.kueche li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .93rem;
  padding: .3rem 0;
}
.kueche span:first-child { color: var(--tinte-leise); }
.ab--dunkel .kueche span:first-child { color: rgba(239, 234, 220, .7); }

/* --- Karten-Kasten (Kontakt) --------------------------------------------- */
.kasten {
  background: var(--papier);
  border: 1px solid var(--linie-zart);
  border-radius: var(--rund);
  padding: clamp(1.3rem, 1rem + 1vw, 1.9rem);
}
.ab--papier2 .kasten { background: var(--papier); }
.kasten h2 { margin-bottom: 1rem; }
.kasten h3 { margin-bottom: .8rem; }
.kasten > h3 {
  margin-top: 1.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--linie-zart);
  font-size: 1.12rem;
}
.kasten > h3 + .kueche { margin-top: .2rem; }
.kasten--marke {
  background: var(--marke);
  color: #efeadc;
  border-color: transparent;
}
.kasten--marke h3 { color: #fdfbf6; }

address { font-style: normal; }
.kontaktliste { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.kontaktliste li { display: flex; gap: .7rem; align-items: flex-start; }
.kontaktliste .ikon { width: 1.2rem; height: 1.2rem; margin-top: .22rem; color: var(--gruen-tief); }
.ab--dunkel .kontaktliste .ikon, .kasten--marke .kontaktliste .ikon { color: var(--gruen); }
/* overflow-wrap:break-word bricht zwar die Zeile, verkleinert aber die
   min-content-Breite NICHT - im Raster zaehlt nur "anywhere". */
.kontaktliste a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.fuss__kontakt a { overflow-wrap: anywhere; }
.kontaktliste a:hover { text-decoration: underline; }

/* --- Bewertung ----------------------------------------------------------- */
.bewertung {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
}
.bewertung__zahl {
  font-family: var(--titel);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--tinte);
}
.ab--dunkel .bewertung__zahl { color: #fdfbf6; }
.sterne { display: inline-flex; gap: .12rem; color: var(--terra); }
.ab--dunkel .sterne { color: var(--gruen); }
.sterne .ikon { width: 1.05rem; height: 1.05rem; }

/* --- Galerie ------------------------------------------------------------- */
/* Spalten statt Raster: die Aufnahmen sind teils hoch, teils quer. Im
   Raster reisst das Loecher, und ein erzwungenes Einheitsformat wuerde die
   Teller anschneiden. Spalten lassen jedem Bild sein eigenes Verhaeltnis. */
.galerie { column-count: 1; column-gap: 14px; }
.galerie__bild {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--rund);
  overflow: hidden;
  line-height: 0;
  width: 100%;
  margin-bottom: 14px;
  break-inside: avoid;
}
.galerie__bild picture { display: block; }
.galerie__bild img {
  width: 100%;
  transition: transform .45s ease, filter .25s ease;
}
.galerie__bild:hover img { transform: scale(1.04); filter: brightness(1.04); }

.leuchte {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(11, 13, 8, .93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(.8rem, 2vw, 2.5rem);
}
.leuchte img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  border-radius: var(--rund);
}
.leuchte figcaption {
  color: rgba(246, 242, 232, .88);
  text-align: center;
  font-size: .92rem;
  margin-top: .8rem;
  max-width: 60ch;
  margin-inline: auto;
}
.leuchte__zu, .leuchte__pfeil {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(243, 239, 228, .35);
  border-radius: 50%;
  background: rgba(11, 13, 8, .6);
  color: #f3efe4;
  cursor: pointer;
}
.leuchte__zu:hover, .leuchte__pfeil:hover { background: rgba(243, 239, 228, .18); }
.leuchte__zu { top: 1rem; right: 1rem; }
.leuchte__pfeil--vor { right: 1rem; top: 50%; }
.leuchte__pfeil--zur { left: 1rem; top: 50%; }
.leuchte__pfeil .ikon, .leuchte__zu .ikon { width: 1.3rem; height: 1.3rem; }

/* --- Fragen -------------------------------------------------------------- */
.fragen { border-top: 1px solid var(--linie-zart); }
.frage {
  border-bottom: 1px solid var(--linie-zart);
}
.frage summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 2.2rem 1.05rem 0;
  position: relative;
  font-family: var(--titel);
  font-size: 1.12rem;
  line-height: 1.3;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: "+";
  position: absolute;
  right: .3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gruen-tief);
  transition: transform .2s ease;
}
.frage[open] summary::after { content: "–"; }
.frage summary:hover { color: var(--gruen-tief); }
.frage__a { padding: 0 0 1.15rem; color: var(--tinte-leise); max-width: 70ch; }

/* --- Hinweisband --------------------------------------------------------- */
.hinweis {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  background: var(--gruen-blass);
  border-left: 3px solid var(--gruen-tief);
  border-radius: var(--rund);
  padding: 1rem 1.15rem;
  font-size: .96rem;
  margin-block: 0 1.9rem;
}
.hinweis .ikon { color: var(--gruen-tief); margin-top: .2rem; }
.hinweis--terra { background: var(--terra-blass); border-left-color: var(--terra); }
.hinweis--terra .ikon { color: var(--terra); }

/* --- Rechtstexte --------------------------------------------------------- */
.rechtstext { max-width: 74ch; }
.rechtstext h2 { margin-top: 2.4rem; font-size: 1.5rem; }
.rechtstext h3 { margin-top: 1.6rem; font-size: 1.15rem; }
.rechtstext ul { padding-left: 1.2rem; }
.rechtstext li { margin-bottom: .4rem; }
.daten { display: grid; gap: .1rem; margin: 0 0 1.6rem; }
.daten .zeile {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: .8rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--linie-zart);
}
.daten dt { font-weight: 600; }
.daten dd { margin: 0; }

/* --- Fuss ---------------------------------------------------------------- */
.fuss {
  background: var(--marke);
  color: rgba(239, 234, 220, .86);
  padding-top: clamp(2.6rem, 1.8rem + 3vw, 4rem);
  margin-bottom: 62px;
}
.fuss__in { display: grid; gap: 2.2rem; padding-bottom: 2.4rem; }
.fuss h2 {
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gruen);
  font-family: var(--schrift);
  font-weight: 600;
  margin-bottom: .9rem;
}
.fuss__marke { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.fuss__marke .marke__m { height: 40px; width: auto; color: var(--gruen); }
.fuss__name {
  font-family: var(--titel);
  font-size: 1.2rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fdfbf6;
  line-height: 1.1;
}
.fuss__haus {
  display: block;
  font-family: var(--schrift);
  font-size: .76rem;
  letter-spacing: .16em;
  color: rgba(239, 234, 220, .6);
}
.fuss a:not(.btn) { color: rgba(239, 234, 220, .86); }
.fuss a:not(.btn):hover { color: var(--gruen); }
.fuss__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .42rem; }
.fuss__liste a { text-decoration: none; font-size: .96rem; }
.fuss__unten {
  border-top: 1px solid var(--linie-hell);
  padding-block: 1.2rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
  font-size: .87rem;
  color: rgba(239, 234, 220, .64);
}
.fuss__unten p { margin: 0; }
.fuss__unten a { margin-right: 1rem; text-decoration: none; }

/* --- Auftritt beim Scrollen ---------------------------------------------- */
/* Ohne JavaScript blendet die Regel darunter nach kurzer Zeit selbst ein -
   sonst wäre die Seite leer, wenn das Skript nicht lädt. */
@media (prefers-reduced-motion: no-preference) {
  .tritt {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease var(--verz, 0ms),
                transform .6s ease var(--verz, 0ms);
  }
  .tritt.sichtbar { opacity: 1; transform: none; }
  html:not(.hat-js) .tritt { animation: nachtrag .3s 2.5s forwards; }
}
@keyframes nachtrag { to { opacity: 1; transform: none; } }
.verz-1 { --verz: 70ms; }
.verz-2 { --verz: 140ms; }
.verz-3 { --verz: 210ms; }
.verz-4 { --verz: 280ms; }
.verz-5 { --verz: 350ms; }

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

/* ==========================================================================
   Umbrüche
   ========================================================================== */

/* Schmale Schirme: im Kopf steht nur noch die Marke und der Menueknopf.
   Ein dritter Knopf passt dort nicht mehr hinein - bei 320 px lief die
   Zeile ueber und die Seite liess sich seitlich schieben. Der Ruf zum
   Telefon geht nicht verloren: die feste Leiste am unteren Rand hat ihn,
   und die Buehne hat ihn auch. */
@media (max-width: 559px) {
  .kopf__tat .btn { display: none; }
  .marke__m { height: 30px; }
  .marke__oben { font-size: 1rem; letter-spacing: .06em; }
  .marke__unten { letter-spacing: .13em; }
  /* Bei zwei- und dreizeiligen Gerichtsnamen fuehrt die Punktlinie ins
     Leere - sie gehoert auf breite Zeilen, nicht auf schmale. */
  .gericht__punkte { display: none; }
  .gericht { gap: 1rem; }
  /* Drei Mengen nebeneinander sprengen bei 320 px die Zeile. */
  .preis--drei { gap: .5rem; }
  .preis--drei span { min-width: 2.5rem; }
}

@media (min-width: 560px) {
  .kacheln--drei { grid-template-columns: repeat(2, 1fr); }
  .kacheln--drei > :last-child:nth-child(odd) { grid-column: span 2; }
  .staerken { grid-template-columns: repeat(2, 1fr); }
  .raster--drei { grid-template-columns: repeat(2, 1fr); }
  /* Vier Felder gehoeren 2 x 2, nicht 3 + 1 mit einem Loch. */
  .staerken--zwei, .staerken--vier { grid-template-columns: repeat(2, 1fr); }
  .raster--vier { grid-template-columns: repeat(2, 1fr); }
  .galerie { column-count: 2; }
  .tage { grid-template-columns: repeat(2, 1fr); }
  .tatreihe .btn { flex: none; }
}

@media (min-width: 700px) {
  .fuss__in { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  .paar { grid-template-columns: 1fr 1fr; }
  .paar--breit { grid-template-columns: 1.15fr 1fr; }
  .raster--drei { grid-template-columns: repeat(3, 1fr); }
  .raster--drei > :last-child:nth-child(3n - 2) { grid-column: span 3; }
  .karte--zwei { grid-template-columns: repeat(2, 1fr); column-gap: 2.6rem; }
  .karte--zwei .gericht:nth-last-child(2) { border-bottom: 0; }
}

@media (min-width: 820px) {
  .buehne__in { padding-block: clamp(5rem, 3rem + 8vw, 9rem); }
}

@media (min-width: 900px) {
  :root { --kopf-h: 76px; }
  .staerken--zwei, .staerken--vier { grid-template-columns: repeat(2, 1fr); }
  .kopf__tel { display: inline-flex; }
  .galerie { column-count: 3; }
  .staerken { grid-template-columns: repeat(3, 1fr); }
  .fuss { margin-bottom: 0; }
  .rufleiste { display: none; }
}

@media (min-width: 1000px) {
  .kacheln--drei { grid-template-columns: repeat(3, 1fr); }
  .kacheln--drei > :last-child:nth-child(odd) { grid-column: auto; }
  .raster--vier { grid-template-columns: repeat(4, 1fr); }
  .tage { grid-template-columns: repeat(4, 1fr); }
  .fuss__in { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
}

@media (min-width: 1060px) {
  .nav { display: flex; }
  .lupe { display: none; }
  .schub { display: none !important; }
}

@media (min-width: 1120px) {
  .galerie { column-count: 4; }
}

/* Wird das Menü mit Tastatur bedient, muss die Schublade auch breit
   erreichbar bleiben - darum kein display:none auf dem Element selbst,
   sondern nur ab der Breite, ab der die Leiste vollständig sichtbar ist. */

@media print {
  .kopf, .rufleiste, .fuss, .sprungnav, .tatreihe, .leuchte { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .ab { padding-block: .8rem; }
  a { color: inherit; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
