/* Reset & Base Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange: #F09000;
  --orange-dark: #d97e00;
  --ink: #1C1B1A;
  --muted: #6b6864;
  --line: rgba(0, 0, 0, 0.09);
  --green: #2b8a3e;
  --green-dark: #1e5e2c;
  --red: #c92a2a;
  --yellow: #f4bf00;
  --paper: #ebe2d0;
  --header-bg: #ffffff;
  --maxw: 640px;
  --header-h: 143px; /* reine Header-Höhe (Mobil 3 Zeilen); Kategorieleiste tuckt dahinter */
  --head: "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif;
  /* Hand-gezeichnete/„gemalte" Formen statt runder Pillen */
  --sketch: 14px 22px 12px 20px / 20px 12px 22px 14px;
  --sketch-sm: 9px 15px 8px 13px / 13px 8px 15px 9px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--paper);
  background-image: url("assets/flyer_elements/bg_deco.webp");
  background-repeat: repeat;
  background-size: 520px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.5;
}
/* Wrapper clippt den seitlichen Überhang der gerissenen Papier-Ränder, ohne den
   Scroll-Root (html/body) anzufassen – so bleiben Sticky & vertikales Scrollen heil.
   overflow-x: clip erzeugt (anders als hidden) keinen Scroll-Container. */
.page {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-x: clip;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Accessibility helpers */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* Schlanker, sticky Header: kompaktes Logo + Status-Pille + dauerhaftes Anrufen */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 500px, var(--header-bg);
  background-blend-mode: multiply;
  box-shadow: inset 0 -3px 0 var(--orange); /* dezente logo-orange Linie oberhalb der Zacken */
  padding: 0.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
}
/* Mobil/Tablet, drei Zeilen mit konsistenter Höhe:
   1) Logo links + Bestellen rechts
   2) Status als eigene, zentrierte Zeile (Label kann lang sein: „…öffnet morgen 11:00")
   3) Nav-Textlinks zentriert */
.header-logo { margin-right: auto; }
.header-contact { display: contents; } /* Status & Bestellen werden direkte Flex-Kinder des Headers */
#open-status { order: 2; flex-basis: 100%; justify-content: center; }
.contact-actions { order: 1; }
.header-nav { flex-basis: 100%; order: 3; display: flex; justify-content: center; gap: 1.5rem; }
/* Navigation = dezente Textlinks (keine bunten Buttons mehr → Status/Bestellen bekommen Gewicht) */
.nav-link {
  font-family: var(--head);
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.1rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-link:hover,
.nav-link:focus-visible { color: var(--ink); border-bottom-color: var(--orange); }
/* Gerissene Papier-Unterkante: weißer Streifen (per Maske gezackt) unter dem Header.
   1px Überlappung in den Header (gleiche Farbe): verhindert Beige-Hairline bei fraktionalem DSF (mobil). */
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: calc(100% - 1px);
  height: 13px;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 500px, var(--header-bg);
  background-blend-mode: multiply;
  -webkit-mask: url("assets/torn-line.svg") top left / 100px 13px repeat-x;
  mask: url("assets/torn-line.svg") top left / 100px 13px repeat-x;
  filter: drop-shadow(0 2px 1.5px rgba(0, 0, 0, 0.12));
}
.header-logo { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; text-decoration: none; }
.header-logo img { height: 50px; width: auto; display: block; }
.header-brand {
  display: none;
  font-family: var(--head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--ink);
  white-space: nowrap;
}
.contact-actions .btn { padding: 0.5rem 0.9rem; font-size: 0.9rem; }



main {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

/* --- Öffnungsstatus: als Badge/Pille (fällt auf) --- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%; /* Pinsel-Smear */
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
  white-space: nowrap;
}
.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}
.status.is-open { background-image: url("assets/flyer_elements/smear_green.webp"); }
.status.is-open .status-dot {
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  animation: pulse 2.2s infinite;
}
.status.is-closed { background-image: url("assets/flyer_elements/smear_red.webp"); }
@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } }

.contact-actions { display: flex; gap: 0.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  min-height: 46px; /* touch target */
  border: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%; /* Pinsel-Smear füllt den Button */
  color: var(--ink);
  font-family: var(--head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.07s ease;
}
.btn:active { transform: translateY(1px); }
.btn-call { background-image: url("assets/flyer_elements/smear_orange.webp"); color: var(--ink); }
.btn-route { background-image: url("assets/flyer_elements/smear_ink.webp"); color: #fff; }

/* Inline-Icons (SVG) statt Emojis */
.icon { display: inline-flex; align-items: center; }
.icon svg { width: 1.15em; height: 1.15em; display: block; }
.btn .icon { margin-right: 0.35rem; }
h3 .icon { margin-right: 0.4rem; }
h3 .icon svg { width: 1.05em; height: 1.05em; }

/* --- Hero: Wertversprechen + CTA zur Speisekarte --- */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem 1rem 2.25rem;
  text-align: center;
}
.hero-logo {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto 1rem;
}
.hero-title {
  font-family: var(--head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.7rem;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}
.hero-sub {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
/* Hero-CTAs: primär „Zur Speisekarte" (orange) + sekundär „Bestellen" (ink) */
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.hero-btn {
  background-image: url("assets/flyer_elements/smear_orange.webp");
  color: var(--ink);
  padding: 0.8rem 1.9rem;
  font-size: 1.1rem;
}
.hero-btn svg { width: 1.05em; height: 1.05em; }
.hero-btn--order { background-image: url("assets/flyer_elements/smear_ink.webp"); color: #fff; }
/* --- Sticky Kategorie-Navigation --- */
.catnav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 500px, var(--header-bg);
  background-blend-mode: multiply;
}
/* Gerissene Papier-Unterkante (wie Header) – 1px Überlappung gegen Beige-Hairline (mobil) */
.catnav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: calc(100% - 1px);
  height: 13px;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 500px, var(--header-bg);
  background-blend-mode: multiply;
  -webkit-mask: url("assets/torn-line.svg") top left / 100px 13px repeat-x;
  mask: url("assets/torn-line.svg") top left / 100px 13px repeat-x;
  filter: drop-shadow(0 2px 1.5px rgba(0, 0, 0, 0.1));
}
.catnav-list {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.95rem 1rem 0.6rem; /* obere Reserve, damit Chips unter dem Header-Riss-Streifen frei stehen */
  max-width: var(--maxw);
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
}
.catnav-list::-webkit-scrollbar { display: none; }
.chip {
  --fill: var(--header-bg);
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-family: var(--head);
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
  color: var(--ink);
  background: transparent;
  padding: 0.5rem 1.05rem;
  border: none;
  border-radius: 0;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Kategorie-Chips gerade (keine Drehung). Nur reines Anheben beim Hover/Aktiv. */
.chip:hover,
.chip.is-active {
  transform: translateY(-2px);
  z-index: 2;
}

/* Chip = kleiner gerissener Papierschnipsel. Füllfarbe über --fill (::before + Backer ::after). */
.chip:hover { --fill: #f5ecd9; }
.chip.is-active { --fill: var(--orange); color: var(--ink); }
.chip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 300px, var(--fill);
  background-blend-mode: multiply;
  -webkit-mask-box-image: url("assets/torn-mask.svg") 20 fill / 8px round;
  mask-border: url("assets/torn-mask.svg") 20 fill / 8px round;
}
/* Solides Backer-Papier hinter der Maske (Kanten-Antialiasing) */
.chip::after {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: -2;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 300px, var(--fill);
  background-blend-mode: multiply;
}

/* --- Speisekarte: Karten --- */
/* Sprungziel ist der .card-wrapper (trägt die id), NICHT .cat – scroll-margin muss dorthin,
   sonst landet die Kategorie hinter Header + Kategorieleiste. */
#menu .card-wrapper,
#speisekarte {
  scroll-margin-top: calc(var(--header-h) + 72px); /* unter Header + Riss-Streifen + sticky Kategorieleiste */
}
/* Sprungziele (Hero-/Footer-Links) sauber unter dem Sticky-Header absetzen */
#aktionen, #besuch, #bestellen, #ueber-uns, #gallery {
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.cat { margin-bottom: 1.1rem; }
.card {
  padding: 1.25rem 1.1rem 1.4rem;
}
.card-wrapper:focus {
  outline: none;
}
.card-wrapper:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* --- Papierlook: weißes Blatt, rundum gerissen (alle Karten).
   Statischer 9-Slice-Riss (mask-border) auf einem ::before-Papier – Inhalt bleibt
   scharf, Ecken sauber, kein teurer Laufzeit-Filter (gut fürs mobile Netz).
   Der Schatten liegt am Elternelement und folgt so der gerissenen Kontur. --- */
.card-wrapper {
  position: relative;
  display: block;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.12));
  transition: filter 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: filter;
  z-index: 1;
}
.card-wrapper:hover {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.16));
  z-index: 2;
}

.card, .visit-col, .about-card, .legal-card {
  --fill: #fff;
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Organische, leicht versetzte Drehung: liegt auf dem .card-wrapper (bleibt beim Hover
   konstant), damit der Hover-Effekt nicht gleichzeitig de-rotiert + skaliert (das verschob
   v. a. die unteren Ecken sichtbar nach außen, da Rotation und Scale sich addierten). */
.card-wrapper:nth-of-type(3n+1) { transform: rotate(-0.5deg); }
.card-wrapper:nth-of-type(3n+2) { transform: rotate(0.6deg); }
.card-wrapper:nth-of-type(3n+3) { transform: rotate(-0.4deg); }

/* Schwebe-Effekt beim Hovern: nur reines Anheben (translate). KEIN scale – Scale würde die
   äußeren Zacken stärker bewegen als die Mitte („Ausfahren"). So bewegt sich alles gleich. */
.card-wrapper:hover .card,
.card-wrapper:hover .visit-col,
.card-wrapper:hover .about-card {
  transform: translateY(-4px);
}

.card::before, .visit-col::before, .about-card::before, .legal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 500px, var(--fill);
  background-blend-mode: multiply;
  -webkit-mask-box-image: url("assets/torn-mask.svg") 20 fill / 13px round;
  mask-border: url("assets/torn-mask.svg") 20 fill / 13px round;
}
/* Solides Papier-Backer hinter der Maske: fängt die Kanten-Antialiasing sauber auf */
.card::after, .visit-col::after, .about-card::after, .legal-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -2;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 500px, var(--fill);
  background-blend-mode: multiply;
}

.cat-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  text-align: center;
}
.cat-heading { min-width: 0; }
.kicker {
  font-family: var(--head);
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  margin-bottom: 0.1rem;
}
.kicker-red { color: var(--red); }
.kicker-green { color: var(--green); }
.kicker-orange { color: var(--orange-dark); }
.kicker-ink { color: var(--ink); }
.cat-head h2 {
  font-family: var(--head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 1.85rem;
  line-height: 1.05;
}
.cat-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}
/* Platzhalter (Emblem) für Kategorien ohne echtes Food-Foto: gedämpft, klar als Platzhalter erkennbar */
.cat-img--placeholder { width: 72px; height: 72px; opacity: 0.45; filter: none; }
.cat-info {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.items { list-style: none; }
.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dotted var(--line);
  text-align: center;
}
.item:last-child { border-bottom: 0; padding-bottom: 0; }

.item-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  min-width: 0;
}
.item-name { font-weight: 600; }
.item-desc { color: var(--muted); font-size: 0.88rem; }
.item-price {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
  color: var(--orange-dark);
}

.tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
}
.tag-vegetarisch { background: #e6f4ea; color: var(--green); }
.tag-scharf { background: #fbe7e7; color: var(--red); }

/* --- Footer: grünes Marken-Band mit organisch gerissener Oberkante --- */
.site-footer {
  position: relative;
  width: 100%;
  margin-top: 0.75rem; /* Abstand über dem Footer; die Sektion darüber hat bereits Padding */
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 500px, var(--green-dark);
  background-blend-mode: multiply;
  color: #fff;
  padding: 2.9rem 1rem 2.75rem;
  font-size: 0.92rem;
}
/* Gerissene grüne Oberkante: grüner Streifen (per Maske gezackt) über dem Footer */
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: calc(100% - 1px); /* 1px in den Footer überlappen: keine Beige-Hairline (mobil) */
  height: 14px;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 500px, var(--green-dark);
  background-blend-mode: multiply;
  -webkit-mask: url("assets/torn-line-up.svg") bottom left / 100px 14px repeat-x;
  mask: url("assets/torn-line-up.svg") bottom left / 100px 14px repeat-x;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  text-align: center;
  justify-items: center;
}
.footer-col p { margin-bottom: 0.3rem; }
.footer-col h3 {
  font-family: var(--head);
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.foot-name {
  font-family: var(--head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.foot-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.footer-social { justify-content: center; }
.foot-top { margin-top: 0.3rem; font-weight: 700; }
/* Social-Media-Icons im Footer */
.footer-social { display: flex; gap: 0.55rem; margin-top: 0.9rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s;
}
.footer-social a .icon { width: 1.1rem; height: 1.1rem; }
.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
  transform: translateY(-2px);
  text-decoration: none;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--orange);
  text-decoration: underline;
}
.foot-copy {
  max-width: var(--maxw);
  margin: 1.75rem auto 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

/* === Zusätzliche Abschnitte ============================================ */
.section-title {
  font-family: var(--head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
  text-align: center;
}
/* Pinsel-Unterstrich unter jeder Abschnitts-Überschrift */
.section-title::after {
  content: "";
  display: block;
  width: 150px; height: 13px;
  margin: 0.4rem auto 0;
  background: url("assets/flyer_elements/underline_orange.webp") no-repeat center / contain;
}
.menu-title { text-align: center; margin-bottom: 0.75rem; }

/* Speisekarte-Kopf: Überschrift + prominente Suche direkt über den Kategorien */
.menu-intro {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem 1rem 0.4rem;
  text-align: center;
}
.menu-intro .menu-title { margin-bottom: 0.9rem; }

/* Such-Utility */
.is-hidden { display: none !important; }

/* Menü-Suche (Fuse.js) – dauerhaft sichtbar, prominent über den Kategorien */
.menu-search { margin: 0; }
/* Suchfeld = gerissenes Papier (einheitlich mit Karten), Input transparent darauf */
.search-field { --fill: #fff; position: relative; max-width: 480px; margin: 0 auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.12)); }
.search-field::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 500px, var(--fill);
  background-blend-mode: multiply;
  -webkit-mask-box-image: url("assets/torn-mask.svg") 20 fill / 11px round;
  mask-border: url("assets/torn-mask.svg") 20 fill / 11px round;
}
.search-field::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: -2;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 500px, var(--fill);
  background-blend-mode: multiply;
}
.search-field-icon {
  position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--orange-dark); pointer-events: none;
}
.menu-search-input {
  width: 100%;
  padding: 0.95rem 1.2rem 0.95rem 3rem;
  font-size: 1.05rem;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.menu-search-input::placeholder { color: var(--muted); }
.menu-search-input:focus-visible {
  outline: 3px solid var(--orange-dark);
  outline-offset: 3px;
}
.menu-status { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--muted); text-align: center; }
.menu-empty { color: var(--muted); padding: 0.25rem 0 1rem; }

/* --- Aktionen & News --- */
.news[hidden] { display: none; }
.news-disclaimer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  margin-bottom: 1.5rem;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 300px, #fff8e8;
  background-blend-mode: multiply;
  border: 1.5px dashed var(--orange-dark);
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transform: rotate(-0.5deg);
}
.news-disclaimer .icon {
  color: var(--orange-dark);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
}
.news-disclaimer span {
  font-weight: 500;
}
.news-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.news-card {
  text-align: center;
}
.news-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}
.news-badge {
  display: inline-block;
  padding: 0.3rem 1.05rem;
  color: #fff;
  background-repeat: no-repeat; background-position: center; background-size: 100% 100%;
  font-family: var(--head); font-weight: 700; font-style: italic;
  text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.78rem;
  margin-bottom: 0;
}
.news-badge-orange { background-image: url("assets/flyer_elements/smear_orange.webp"); color: var(--ink); }
.news-badge-red { background-image: url("assets/flyer_elements/smear_red.webp"); }
.news-badge-green { background-image: url("assets/flyer_elements/smear_green.webp"); }
.news-badge-ink { background-image: url("assets/flyer_elements/smear_ink.webp"); }
.news-example-tag {
  display: inline-block;
  font-family: var(--head);
  font-size: 0.72rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 0.1rem 0.4rem;
  transform: rotate(-3deg);
  letter-spacing: 0.05em;
  border-radius: 2px;
  line-height: 1;
}
.news-title {
  font-family: var(--head); font-weight: 700; font-style: italic;
  text-transform: uppercase; font-size: 1.3rem; line-height: 1.1;
  margin: 0.1rem 0 0.4rem;
}
.news-text { font-size: 0.95rem; margin-bottom: 0.3rem; }
.news-note { color: var(--muted); font-size: 0.82rem; font-style: italic; }


.gallery, .visit, .about, .news {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.75rem 1rem;
}
.gallery[hidden] { display: none; }

/* Galerie */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.gallery-img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 10px; display: block;
}
.gallery-ph {
  aspect-ratio: 4 / 3; border-radius: 10px;
  border: 2px dashed var(--line); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.3rem; color: var(--muted);
}
.ph-icon { font-size: 1.7rem; opacity: 0.7; }
.ph-label { font-size: 0.8rem; font-weight: 600; }

/* Besuch & Bestellung (zusammengeführt) */
.visit-grid { display: grid; gap: 1rem; }
.visit-col {
  padding: 1.35rem 1.15rem 1.5rem;
  text-align: center;
}
.visit-col h3 {
  font-family: var(--head); font-style: italic; text-transform: uppercase;
  font-size: 1.15rem; margin-bottom: 0.4rem;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.visit-col h3 .icon { margin-right: 0; color: var(--orange-dark); }
.visit-col .visit-order-h { margin-top: 1rem; }
.visit-col p { margin-bottom: 0.4rem; font-size: 0.95rem; }
.visit-col .btn { margin-top: 0.7rem; }
.todo { color: var(--orange-dark); font-style: italic; }

.map-link { display: block; }
.map-img {
  width: 100%; height: auto; display: block;
  border-radius: 12px; border: 1px solid var(--line);
}
.map-attribution { font-size: 0.7rem; color: var(--muted); margin: 0.2rem 0 0.7rem; text-align: center; }

/* Über uns – als Karte mit Marken-Akzent (nicht mehr nackt auf Papier) */
.about-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 2.5rem;
  text-align: center;
}
.about-emblem { width: 64px; height: auto; display: block; margin: 0 auto 0.6rem; }
.about-card .section-title { margin-bottom: 0.35rem; }
.accent-line {
  display: block;
  width: 52px; height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin: 0 auto 1.1rem;
}
.about-text { max-width: 60ch; margin: 0 auto; text-align: center; }
.about-text p { margin-bottom: 0.8rem; }
.about-text p:last-child { margin-bottom: 0; }

/* Sticky „Nach oben" – unten links, rot, erscheint nach dem Scrollen */
.totop {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 45;
  width: 56px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  line-height: 1;
  text-decoration: none;
  background: url("assets/flyer_elements/smear_red.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.25));
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.totop svg { width: 22px; height: 22px; display: block; }
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: #a81f1f; }
@media (prefers-reduced-motion: reduce) { .totop { transition: none; } }

/* Allergene */
.allergen-note {
  margin-top: 1.5rem; font-size: 0.82rem;
  color: var(--muted); font-style: italic;
}

/* === Rechtsseiten (Impressum / Datenschutz) ============================ */
/* Kopf wie der Haupt-Header: Papiertextur + Orange-Linie + gerissene Unterkante */
.legal-bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.6rem 1rem;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 500px, var(--header-bg);
  background-blend-mode: multiply;
  box-shadow: inset 0 -3px 0 var(--orange);
}
.legal-bar::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 13px;
  background: url("assets/flyer_elements/paper-texture.webp") 0 0 / 500px, var(--header-bg);
  background-blend-mode: multiply;
  -webkit-mask: url("assets/torn-line.svg") top left / 100px 13px repeat-x;
  mask: url("assets/torn-line.svg") top left / 100px 13px repeat-x;
  filter: drop-shadow(0 2px 1.5px rgba(0, 0, 0, 0.12));
}
.legal-brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.legal-brand img { height: 46px; width: auto; display: block; }
.legal-brand span {
  font-family: var(--head); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: 1.15rem; color: var(--ink);
}
.legal-back {
  font-family: var(--head); font-weight: 600; font-style: italic; text-transform: uppercase;
  letter-spacing: 0.02em; font-size: 0.85rem; color: var(--muted); text-decoration: none;
  white-space: nowrap; transition: color 0.15s;
}
.legal-back:hover, .legal-back:focus-visible { color: var(--orange-dark); }

.legal {
  max-width: 760px; margin: 0 auto; padding: 2rem 1rem 2.5rem;
  flex: 1; width: 100%;
}
/* Inhalt auf gerissener Papier-Karte (wie die restlichen Karten) */
.legal-card {
  padding: 1.75rem 1.4rem 2rem;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12));
}
.legal-card h1 {
  font-family: var(--head); font-style: italic; text-transform: uppercase;
  font-size: 1.9rem; margin-bottom: 1.1rem;
}
.legal-card h2 {
  font-family: var(--head); font-style: italic; text-transform: uppercase;
  font-size: 1.15rem; margin: 1.5rem 0 0.4rem;
}
.legal-card p, .legal-card address { margin-bottom: 0.6rem; line-height: 1.6; font-style: normal; }
.legal-card a { color: var(--orange-dark); }
.legal-card .todo { color: var(--orange-dark); font-weight: 600; }
.legal-card .review-note {
  background: #fff7e6; border: 1px solid #f0c36d; border-radius: 10px;
  padding: 0.8rem 1rem; font-size: 0.9rem; margin-bottom: 1.5rem;
}

/* ===========================================================
   Desktop / Tablet (mobile-first: alles darüber ist Zugabe)
   =========================================================== */
@media (min-width: 768px) {
  :root { --maxw-wide: 1080px; --header-h: 152px; }

  /* Header bleibt schlank & full-width; etwas mehr Luft + größeres Logo */
  .site-header { padding: 0.5rem 1.5rem; }
  .header-logo img { height: 56px; }
  .header-brand { display: inline; font-size: 1.35rem; }
  .header-nav { gap: 1.8rem; }
  .nav-link { font-size: 0.95rem; }

  /* Zwei-Spalten-Layout: Navi-Seitenleiste + Speisekarte */
  .layout {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 2.5rem;
    max-width: var(--maxw-wide);
    margin: 0 auto;
    padding: 0 1.5rem;
    align-items: start;
  }

  /* Navi wird zur sticky vertikalen Seitenleiste (unter dem Header) */
  .catnav {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    z-index: 1;
    background: transparent;
    align-self: start;
  }
  .catnav::after { display: none; }
  .catnav-list {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    gap: 0.3rem;
    padding: 1.5rem 0 0;
    max-width: none;
    margin: 0;
  }
  .chip {
    display: block;
    text-align: left;
    font-size: 0.95rem;
    padding: 0.5rem 0.95rem;
  }

  /* Speisekarte füllt die rechte Spalte */
  main {
    max-width: none;
    margin: 0;
    padding: 1.5rem 0 2rem;
  }
  .cat,
  #speisekarte { scroll-margin-top: calc(var(--header-h) + 1rem); }
  .card { padding: 1.4rem 1.5rem 1.6rem; }
  .cat-head h2 { font-size: 2.1rem; }
  .cat-img { width: 128px; height: 128px; }
  /* Zusätzliche Abschnitte: breiter & mehrspaltig */
  .gallery, .visit, .about, .news {
    max-width: var(--maxw-wide);
    padding: 2.25rem 1.5rem;
  }
  .menu-intro { max-width: var(--maxw-wide); padding: 1.75rem 1.5rem 0.75rem; }
  /* Suche spannt voll über beide Spalten (also klar über der Kategorie-Sidebar) */
  .search-field { max-width: none; }
  .news-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .section-title { font-size: 2rem; }
  .hero-title { font-size: 2.4rem; }
  .hero-logo { max-width: 460px; }

  /* Footer: drei Spalten, breiter */
  .footer-inner { grid-template-columns: repeat(3, 1fr); max-width: var(--maxw-wide); }
  .foot-copy { max-width: var(--maxw-wide); }
  .site-footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .visit-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  /* Beide Besuch-Karten exakt gleich hoch: Grid stretcht die Wrapper, die Karte füllt ihn */
  .visit-grid .card-wrapper { display: flex; }
  .visit-grid .visit-col { flex: 1; }
  /* Öffnungszeiten-/Bestell-Karte: Inhalt vertikal & horizontal zentriert (füllt die Karte) */
  .visit-col--center {
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
  }
  .map-img { max-width: 100%; }
}

/* Ab Desktop: Header in EINER Reihe – Logo links · Nav Mitte · Status/Anrufen rechts,
   Inhalt auf maxw-wide zentriert (kein Auseinanderreißen über die volle Breite) */
@media (min-width: 1024px) {
  :root { --header-h: 74px; }
  .site-header {
    flex-wrap: nowrap;
    gap: 1rem;
    padding-block: 0.55rem;
    padding-inline: max(1.5rem, calc((100% - var(--maxw-wide)) / 2));
  }
  .header-logo { margin-right: 0; }
  .header-nav { flex-basis: auto; order: 1; margin: 0 auto; }
  /* Status + Bestellen wieder als Gruppe rechts (Mobile-Umstrukturierung zurücksetzen) */
  .header-contact { display: flex; align-items: center; gap: 0.7rem; order: 2; }
  #open-status { order: 0; flex-basis: auto; max-width: none; margin: 0; }
  .contact-actions { order: 0; }
}

@media (min-width: 1100px) {
  /* Lange Karten (z. B. Pizza) zweispaltig setzen, kurze bleiben kompakt */
  .items { columns: 2; column-gap: 2.5rem; }
  .item { break-inside: avoid; }
  .cat-info { column-span: all; }
}
