/* Marktbar – öffentliche Seite. Schriften lokal (OFL), keine externen Ressourcen. */
@font-face { font-family: "Zilla Slab"; src: url("/fonts/zilla-slab-latin-500-normal.6aa8f6aee3.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url("/fonts/zilla-slab-latin-500-italic.814559a1bd.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url("/fonts/zilla-slab-latin-600-normal.c71fdc1b2e.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url("/fonts/zilla-slab-latin-700-normal.bc4d4ec1b4.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-hyperlegible-latin-400-normal.875901a69d.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-hyperlegible-latin-400-italic.a69748352b.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-hyperlegible-latin-700-normal.8c40818d9b.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* 0.6.4: Ersatzschriften mit angepassten Massen, solange Atkinson noch lädt (langsames Netz). Arial (Windows, Mac, iPhone) und
   Roboto (Android) werden auf die mittlere Zeichenbreite und die Zeilenmasse von Atkinson gebracht; so springt beim Wechsel auf
   Atkinson nichts (gemessen mit Roboto: Layout-Sprung 0,0255 -> 0,0002). Werte berechnet aus @capsizecss/metrics 3.7.0
   (Arial, Roboto) und den Atkinson-Dateien in ../fonts (siehe README, Abschnitt 4). Kein Download: local() nutzt nur installierte Schriften. */
@font-face { font-family: "Atkinson Fallback Arial"; src: local("Arial"), local("ArialMT"); font-weight: 400; size-adjust: 99.37%; ascent-override: 95.60%; descent-override: 29.18%; line-gap-override: 0.00%; }
@font-face { font-family: "Atkinson Fallback Roboto"; src: local("Roboto"), local("Roboto-Regular"); font-weight: 400; size-adjust: 99.59%; ascent-override: 95.39%; descent-override: 29.12%; line-gap-override: 0.00%; }
@font-face { font-family: "Atkinson Fallback Arial"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 700; size-adjust: 100.21%; ascent-override: 94.80%; descent-override: 28.94%; line-gap-override: 0.00%; }
@font-face { font-family: "Atkinson Fallback Roboto"; src: local("Roboto Bold"), local("Roboto-Bold"); font-weight: 700; size-adjust: 106.38%; ascent-override: 89.30%; descent-override: 27.26%; line-gap-override: 0.00%; }
/* Ziffern 0-9 aus einer abgeleiteten Atkinson-Schrift mit Null OHNE Schrägstrich (gleiche Höhe/Breite, siehe licenses/OFL-Atkinson-Ziffern.txt). Steht NACH der Hauptschrift: bei überlappendem unicode-range gewinnt die später deklarierte Schrift. */
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-ziffern-400-normal.c6a4b4cf3d.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-ziffern-400-italic.5397f05dc8.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-ziffern-700-normal.9f0fe08eb7.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0030-0039; }

:root {
  --paper: #F3F4F0;
  --paper-2: #E6EAE4;
  --card: #FFFFFF;
  --ink: #1D2829;
  --ink-soft: #4B5A5B;
  --red: #9A1D25;
  --red-ink: #FFFFFF;
  --red-deep: #74141B;
  --petrol: #0D5964;
  --petrol-ink: #FFFFFF;
  --petrol-soft: #DCE9E8;
  --board: #123E45;
  --board-ink: #F1F5F3;
  --board-soft: #A9C6C6;
  --line: #CBD2CD;
  --stripe-a: #9A1D25;
  --stripe-b: #F7F6F1;
  --ok: #1F7A44;
  --focus: #8A5A00;   /* dunkles Bernstein: 5,4:1 auf Papier (Fokusrahmen braucht mind. 3:1) */
  --star: #E5A50A;
  --field: #6B7A7B;   /* Rahmen von Eingabefeldern: 4,0:1 */
  --serif: "Zilla Slab", "Rockwell", "Roboto Slab", Georgia, serif;
  --sans: "Atkinson Hyperlegible", "Atkinson Fallback Arial", "Atkinson Fallback Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
  --measure: 38rem;
  --wrap: 72rem;
  --gutter: 1.125rem;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1B1D;
    --paper-2: #162629;
    --card: #182A2D;
    --ink: #E8EEEC;
    --ink-soft: #A7B7B6;
    --red: #E2676D;
    --red-ink: #1A0507;
    --red-deep: #F29A9E;
    --petrol: #72C3CB;
    --petrol-ink: #06262A;
    --petrol-soft: #1B3A3E;
    --board: #0B2A2F;
    --board-ink: #EEF3F1;
    --board-soft: #9DBDBD;
    --line: #2C4245;
    --stripe-a: #8E2128;
    --stripe-b: #D9D7CF;
    --ok: #67C98E;
    --focus: #E5A50A;
    --field: #8A9794;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  font-feature-settings: "kern", "liga";
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--petrol); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.board :focus-visible { outline-color: var(--board-ink); }
.foot :focus-visible, .notice :focus-visible { outline-color: #E5A50A; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: var(--measure); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: .5rem; top: .5rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hinweisleiste ---------- */
.notice { background: var(--petrol); color: var(--petrol-ink); font-weight: 700; }
.notice.warn { background: var(--red); color: var(--red-ink); }
.notice .wrap { padding-top: .6rem; padding-bottom: .6rem; display: flex; gap: .6rem; align-items: flex-start; }
.notice p { margin: 0; max-width: none; }

/* ---------- Markise: das eine auffällige Element ---------- */
.awning {
  height: 2.25rem;
  background: repeating-linear-gradient(90deg, var(--stripe-a) 0 2.25rem, var(--stripe-b) 2.25rem 4.5rem);
  -webkit-mask: radial-gradient(1.125rem 1rem at 50% 0, #000 98%, transparent 100%) 0 100% / 2.25rem 1rem repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 1rem) no-repeat;
          mask: radial-gradient(1.125rem 1rem at 50% 0, #000 98%, transparent 100%) 0 100% / 2.25rem 1rem repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 1rem) no-repeat;
}
.awning.thin { height: 1.4rem; }

/* ---------- Kopfzeile ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .5rem; padding-bottom: .25rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.brand { min-height: 2.75rem; }
.brand img, .brand svg { width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.top nav { display: flex; align-items: center; gap: .25rem; }
.top nav a.link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .3rem .7rem; text-decoration: none; color: var(--ink); font-weight: 700; border-radius: .5rem; }
.top nav a.link:hover { background: var(--paper-2); }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .3rem .7rem; font-size: .9rem; font-weight: 700; text-decoration: none; color: var(--ink-soft); min-width: 2.75rem; }
.langs a[aria-current="true"] { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */
.hero { padding: .5rem 0 2.25rem; }
.hero-grid { display: grid; gap: 1.75rem; align-items: center; }
.hero-logo { display: none; width: 8rem; height: 8rem; margin: 0 0 1rem; border-radius: 50%; }
.hero-logo img, .hero-logo svg { width: 100%; height: 100%; border-radius: 50%; }
.hero h1 { font-size: clamp(2.3rem, 1.15rem + 5vw, 5rem); font-weight: 700; color: var(--red); margin-bottom: .45em; letter-spacing: -.015em; }
/* Unterzeile im h1: Art und Ort des Lokals ("Café · Restaurant · Gasthaus am Brennerpass") */
.hero h1 .h1-main { display: block; }
.hero h1 .h1-kind { display: block; margin-top: .4rem; font-size: clamp(1.15rem, .95rem + 1vw, 1.6rem); font-weight: 600; line-height: 1.25; letter-spacing: 0; color: var(--ink); }
.hero .lead { font-size: 1.08rem; line-height: 1.5; color: var(--ink); max-width: 32rem; margin-bottom: 1rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: .1rem 0 .9rem; }
.status { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; min-height: 2.75rem; padding: .35rem .9rem .35rem .75rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin: 0; }
.status::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--ink-soft); }
.status.is-open::before { background: var(--ok); box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--ok) 25%, transparent); }
.status .sub { font-family: var(--serif); font-weight: 500; color: var(--ink-soft); }
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; max-width: 34rem; }
.btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; min-height: 4.5rem; padding: .6rem .5rem; border-radius: .9rem; font-weight: 700; font-size: 1.02rem; text-decoration: none; text-align: center; border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn .icon { width: 1.6rem; height: 1.6rem; }
.btn:hover { background: var(--paper-2); color: var(--ink); }
.btn.primary { background: var(--red); border-color: var(--red); color: var(--red-ink); }
.btn.primary:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--red-ink); }
.btn.petrol { border-color: var(--petrol); color: var(--petrol); }
.hero-photo { position: relative; }
.hero-rating { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; padding: .35rem .9rem .35rem .7rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.hero-rating .icon { color: var(--star); width: 1.15rem; height: 1.15rem; }
.hero-rating strong { font-family: var(--serif); font-size: 1.1rem; }
.hero-rating span { color: var(--ink-soft); }
.hero-rating:hover { border-color: var(--ink); color: var(--ink); }
.hero-where { margin: .75rem 0 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 59.99rem) {
  .hero-photo.no-photo { display: none; }
  /* ohne Foto folgt die Tafel "Heute bei uns" direkt auf die Knöpfe */
  .hero.no-photo { padding-bottom: 0; }
  .hero.no-photo + .section { border-top: 0; padding-top: 1.5rem; }
}

/* ---------- Bilder und Ersatzbilder ---------- */
.photo { border-radius: 1.1rem; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.fallback { display: grid; place-items: center; position: relative; background: var(--petrol-soft); }
.photo.fallback svg { width: 22%; height: auto; color: var(--petrol); stroke-width: 1.2; }
.photo.fallback .cap { position: absolute; left: 1rem; bottom: .8rem; font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--ink-soft); font-size: 1.05rem; }
/* Auf dem Handy keine leeren Ersatzbilder: sie kosten nur Scrollweg. Mit echten Fotos erscheinen die Bilder. */
@media (max-width: 39.99rem) { .photo.fallback { display: none; } }

/* ---------- Abschnitte ---------- */
.section { padding: 2.75rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section .intro { color: var(--ink-soft); }

/* Heute bei uns: die Tafel */
.board { background: var(--board); color: var(--board-ink); border-radius: 1.1rem; padding: 1.4rem 1.25rem 1.25rem; }
.board h2 { color: var(--board-ink); font-size: 1.9rem; margin-bottom: .75rem; }
.board .date { font-family: var(--serif); font-style: italic; color: var(--board-soft); font-weight: 500; margin: -.4rem 0 .9rem; }
.board ul { list-style: none; margin: 0; padding: 0; }
.board li { padding: .8rem 0; border-top: 1px dashed color-mix(in srgb, var(--board-ink) 28%, transparent); }
.board li:first-child { border-top: 0; padding-top: .2rem; }
.board .row { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; }
.board .name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.board .price { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.board .desc { color: var(--board-soft); margin: .15rem 0 0; }
.board .meta { margin-top: .35rem; color: var(--board-soft); font-size: .92rem; display: flex; flex-wrap: wrap; gap: .4rem .8rem; }
.board .empty { color: var(--board-soft); margin: 0 0 1rem; }
.board a.more { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .4rem 1rem; border: 2px solid var(--board-ink); border-radius: 999px; color: var(--board-ink); font-weight: 700; text-decoration: none; }
.board a.more:hover { background: var(--board-ink); color: var(--board); }
.board .sold .name { color: var(--board-soft); }
.board .sold .price { text-decoration: line-through; color: var(--board-soft); }

.split { display: grid; gap: 1.75rem; }

/* Markttage */
.dates { list-style: none; padding: 0; margin: 1.25rem 0 1rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; max-width: 36rem; }
.dates li { background: var(--card); border: 1px solid var(--line); border-radius: .9rem; padding: .7rem .85rem .8rem; display: flex; flex-direction: column; }
.dates .d { font-family: var(--serif); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--red); }
.dates .m { font-weight: 700; margin-top: .25rem; }
.dates .w { color: var(--ink-soft); font-size: .95rem; }
.dates li.today { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.dates .flag { margin-top: .45rem; font-size: .86rem; color: var(--red); line-height: 1.35; }
.rule { color: var(--ink-soft); font-size: .98rem; }
details.story { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: .9rem; max-width: var(--measure); }
details.story summary { cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--petrol); padding: .5rem 0; }
details.story p { margin-top: .8rem; }

/* Gut zu wissen */
.facts { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 1rem 1.5rem; }
.facts li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .8rem; align-items: start; }
.facts .ic { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--petrol-soft); color: var(--petrol); }
.facts .ic .icon { width: 1.35rem; height: 1.35rem; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.facts span { color: var(--ink-soft); }

/* Bewertung */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.rating .score { font-family: var(--serif); font-weight: 700; font-size: 3.2rem; line-height: 1; }
.stars { display: inline-flex; gap: .1rem; color: var(--star); }
.stars svg { width: 1.4rem; height: 1.4rem; }
.rating .count { color: var(--ink-soft); }
.linkrow { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.05rem; border-radius: 999px; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; text-decoration: none; min-height: 3rem; }
.pill:hover { background: var(--paper-2); color: var(--ink); }
.pill.solid { background: var(--ink); color: var(--paper); }
.pill.solid:hover { background: var(--petrol); border-color: var(--petrol); color: var(--petrol-ink); }

/* Öffnungszeiten */
.hours { border-collapse: collapse; width: 100%; max-width: 26rem; font-size: 1.05rem; }
.hours th, .hours td { text-align: left; padding: .5rem .25rem; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 400; }
.hours td { text-align: right; font-family: var(--serif); font-weight: 500; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.hours tr.closed td { color: var(--ink-soft); }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--red); }
.exceptions { margin-top: 1rem; padding: .8rem 1rem; border-left: 4px solid var(--red); background: var(--card); border-radius: 0 .6rem .6rem 0; max-width: 26rem; }
.exceptions ul { margin: .3rem 0 0; padding-left: 1.1rem; }
.market-note { margin: 1rem 0 0; padding: .7rem 1rem; border-left: 4px solid var(--petrol); background: var(--card); border-radius: 0 .6rem .6rem 0; max-width: 26rem; }
.market-note a { font-weight: 700; }
.hours .mk { font-family: var(--sans); font-size: .85rem; font-weight: 700; }

.contact address { font-style: normal; font-size: 1.1rem; line-height: 1.6; margin-bottom: 1rem; }
.contact .big { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; text-decoration: none; color: var(--ink); }

/* ---------- Fusszeile ---------- */
.foot { background: var(--ink); color: var(--paper); margin-top: 2rem; padding: 2rem 0 2.5rem; font-size: .95rem; }
.foot a { color: var(--paper); }
.foot .cols { display: grid; gap: 1.25rem; }
.foot nav[aria-label] { row-gap: 0; }
.foot p { margin: 0 0 .35rem; }
.foot .muted { opacity: .75; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 1.2rem; align-content: start; }
.foot nav a, .foot-contact a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.foot-contact { display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
@media (prefers-color-scheme: dark) { .foot { background: #081214; color: var(--ink); } .foot a { color: var(--ink); } }

/* ---------- Speisekarte ---------- */
.menu-head { padding-top: 1.25rem; padding-bottom: .5rem; }
.menu-head h1 { font-size: clamp(2.4rem, 1.8rem + 3vw, 3.6rem); color: var(--red); margin-bottom: .2em; }
/* Überschrift mit Tisch ("Speisekarte · Bar 3"): beide Teile gleich gross und rot (erbt vom h1).
   Umbruch nur nach dem Trennpunkt; der Tischname bleibt in einem Stück und wird nie getrennt. */
.menu-head h1.has-table { margin-bottom: .32em; } /* zweizeilig: etwas mehr Luft zum Kasten darunter */
.menu-head h1 .h1-lead { white-space: nowrap; }
.menu-head h1 .h1-table { white-space: nowrap; hyphens: none; -webkit-hyphens: none; }
.menu-head h1 .h1-table.long { white-space: normal; overflow-wrap: break-word; }
.allergy-note { display: flex; gap: .6rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: .8rem; padding: .75rem .9rem; margin: .5rem 0 0; max-width: var(--measure); }
.allergy-note p { margin: 0; }
.allergy-note .icon { color: var(--red); margin-top: .15rem; }

.jump { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); margin-top: .75rem; }
.jump ul { list-style: none; margin: 0 auto; padding: .55rem var(--gutter); display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; max-width: var(--wrap); scroll-snap-type: x proximity; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: flex; align-items: center; min-height: 2.75rem; white-space: nowrap; padding: .3rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; scroll-snap-align: start; }
.jump a:hover, .jump a.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.cat { padding: 2rem 0 .5rem; }
.cat[hidden], .dish[hidden], .extras li[hidden], .extras[hidden] { display: none; }
.cat h2 { margin-bottom: .2rem; }
/* Überschrift und Abzeichen ("hausgemacht") nebeneinander; das Abzeichen steht ausserhalb des h2 */
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .75rem; margin-bottom: .2rem; }
.cat-head h2 { margin: 0; }
.cat .note { color: var(--ink-soft); font-style: italic; margin: .2rem 0 .3rem; }
.badge { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .01em; padding: .18rem .55rem; border-radius: 999px; background: var(--petrol-soft); color: var(--petrol); vertical-align: middle; }
.badge.red { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.badge.out { background: var(--ink); color: var(--paper); }
.dishes { list-style: none; margin: .6rem 0 0; padding: 0; }
.dish { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.dish .row { display: flex; align-items: baseline; gap: .5rem; }
.dish .name { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; line-height: 1.25; }
.dish .lead { flex: 1; min-width: 1rem; border-bottom: 2px dotted var(--line); transform: translateY(-.3rem); }
.dish .price { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish .desc { margin: .15rem 0 0; color: var(--ink-soft); }
.dish .tags { display: flex; flex-wrap: wrap; gap: .35rem .5rem; align-items: center; margin-top: .4rem; font-size: .9rem; color: var(--ink-soft); }
.alg { display: inline-flex; gap: .2rem; }
.alg abbr { text-decoration: none; display: inline-grid; place-items: center; min-width: 1.45rem; height: 1.45rem; border: 1px solid var(--ink-soft); border-radius: .3rem; font-size: .78rem; font-weight: 700; color: var(--ink); }
.variants { list-style: none; margin: .3rem 0 0; padding: 0; }
.variants li { display: flex; gap: .5rem; align-items: baseline; padding: .12rem 0; }
.variants .lbl { color: var(--ink-soft); }
.dish.sold .name { color: var(--ink-soft); }
.dish.sold .price { text-decoration: line-through; color: var(--ink-soft); }
.extras { margin: .8rem 0 0; padding: .65rem .85rem; background: var(--card); border-radius: .7rem; border: 1px dashed var(--line); }
.extras h3 { font-family: var(--sans); font-size: .95rem; font-weight: 700; margin: 0 0 .25rem; color: var(--ink-soft); }
.extras ul { list-style: none; margin: 0; padding: 0; }
.extras li { display: flex; gap: .5rem; align-items: baseline; padding: .15rem 0; }
.extras .price { font-family: var(--serif); font-weight: 600; white-space: nowrap; }
.extras .lead, .variants .lead { flex: 1; min-width: 1rem; border-bottom: 2px dotted var(--line); transform: translateY(-.3rem); }

.specials { margin-top: 1.5rem; }
.legend { padding: 2rem 0; }
.legend dl { margin: 1rem 0 0; display: grid; gap: .55rem; }
.legend dl > div { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; align-items: start; }
.legend dt { font-weight: 700; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1px solid var(--ink-soft); border-radius: .35rem; }
.legend dd { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.backtop { display: inline-flex; align-items: center; min-height: 2.75rem; margin: .5rem 0; font-weight: 700; }

/* Suche in der Karte (nur mit JavaScript sichtbar) */
.menu-search { position: relative; margin: .9rem 0 0; max-width: var(--measure); }
/* Platz ist reserviert; ohne JavaScript bleibt das Feld unsichtbar und nicht bedienbar (kein Layoutsprung beim Einblenden). */
.menu-search.is-pending { visibility: hidden; }
.menu-search .icon { position: absolute; left: .9rem; top: 1.5rem; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.menu-search input { width: 100%; min-height: 3rem; padding: .6rem 1rem .6rem 2.75rem; font: inherit; color: var(--ink); background: var(--card); border: 1.5px solid var(--field); border-radius: 999px; -webkit-appearance: none; appearance: none; }
.menu-search input::placeholder { color: var(--ink-soft); opacity: 1; }
.menu-search input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.search-status { margin: .4rem 0 0 1rem; color: var(--ink-soft); font-size: .95rem; }
.search-status:empty { margin: 0; }
@media (max-width: 59.99rem) {
  .menu-side { display: contents; }
  .jump { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
}

/* ---------- Rechtstexte ---------- */
.legal { padding-top: 1.5rem; padding-bottom: 2rem; max-width: 44rem; }
.legal h1 { font-size: clamp(2.1rem, 1.6rem + 2.5vw, 3rem); color: var(--red); }
.legal h2 { font-size: 1.45rem; margin-top: 1.8rem; }
.legal .todo { background: #FFF1B8; color: #4A3B00; border: 2px dashed #C99A00; padding: .1rem .4rem; border-radius: .3rem; font-weight: 700; }
@media (prefers-color-scheme: dark) { .legal .todo { background: #3D3200; color: #FFE27A; border-color: #C99A00; } }
.legal dl { display: grid; grid-template-columns: minmax(8rem, max-content) 1fr; gap: .35rem 1rem; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; }

/* ---------- breitere Bildschirme ---------- */
@media (min-width: 40rem) {
  :root { --gutter: 1.75rem; }
  .awning { height: 3.25rem; }
  .awning.thin { height: 1.6rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .dates { grid-template-columns: repeat(4, 1fr); max-width: none; }
  .foot .cols { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .board { padding: 1.75rem 1.75rem 1.5rem; }
}
@media (min-width: 60rem) {
  .awning { height: 4rem; }
  .hero { padding: 2rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
  .hero-logo { width: 8rem; height: 8rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
  .split.wide-left { grid-template-columns: 1.3fr 1fr; }
  .hero-logo { display: block; }
  .is-home .top .brand { visibility: hidden; }
  .hero .lead { font-size: 1.2rem; }
  html { scroll-padding-top: 1.5rem; }
  /* Karte: Kategorien als feste Seitenleiste links, Gerichte rechts */
  .menu-layout { display: grid; grid-template-columns: 17rem minmax(0, 46rem); gap: 2.5rem; align-items: start; }
  .menu-side { position: sticky; top: 0; max-height: 100vh; overflow-y: auto; padding: 1.25rem .25rem 1.5rem 0; }
  .menu-search { margin-top: 0; }
  .jump { position: static; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; margin: .75rem 0 0; }
  .jump ul { flex-direction: column; gap: .1rem; overflow: visible; padding: 0; }
  .jump a { white-space: normal; border: 0; background: none; border-radius: .5rem; padding: .35rem .75rem; font-size: .98rem; line-height: 1.3; }
  .jump a:hover { background: var(--paper-2); color: var(--ink); }
  .jump a.on { background: var(--ink); color: var(--paper); }
}
@media (prefers-reduced-motion: no-preference) {
  .status.is-open::before { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 .45rem color-mix(in srgb, var(--ok) 0%, transparent); } }
}
@media print {
  .awning, .jump, .top nav, .foot, .notice { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Bildreihe */
.gallery-section { padding-top: 0; border-top: 0 !important; }
.gallery { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.gallery .photo:first-child { grid-column: 1 / -1; }
@media (min-width: 40rem) { .gallery { grid-template-columns: 1.4fr 1fr 1fr; } .gallery .photo:first-child { grid-column: auto; } }
.alg-missing { font-size: .88rem; color: var(--ink-soft); font-style: italic; }
@media (max-width: 26rem) {
  .top { gap: .5rem; }
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .top nav a.link { padding: .55rem .5rem; }
  .langs a { min-width: 2.5rem; padding: .3rem .45rem; }
}
/* Namen von der Karte beginnen teils klein ("strudel di mela"): erster Buchstabe groß */
.dish .name::first-letter, .board .name::first-letter, .extras li > span:first-child::first-letter { text-transform: uppercase; }
.dish-img { width: 100%; max-width: 22rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .8rem; margin-bottom: .6rem; }

/* ---------- QR-Tischbestellung (Stufe 2) ---------- */
.order-note { display: flex; gap: .6rem; align-items: flex-start; border-radius: .8rem; padding: .75rem .9rem; margin: .6rem 0 0; max-width: var(--measure); border: 1.5px solid var(--petrol); background: var(--petrol-soft); color: var(--ink); }
.order-note p { margin: 0; }
.order-note .icon { color: var(--petrol); margin-top: .15rem; flex: none; }
.order-note.off { border-color: var(--red); background: color-mix(in srgb, var(--red) 9%, var(--card)); }
.order-note.off .icon { color: var(--red); }
.qty-row { display: flex; justify-content: flex-end; margin-top: .45rem; }
.qty { display: inline-flex; align-items: center; gap: .35rem; flex: none; }
.qty[hidden] { display: none; }
.qbtn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 2px solid var(--petrol); background: var(--card); color: var(--petrol); font: 700 1.45rem/1 var(--sans); cursor: pointer; padding: 0; touch-action: manipulation; }
.qbtn.plus { background: var(--petrol); color: var(--petrol-ink); }
.qbtn:hover { filter: brightness(1.08); }
.qbtn[hidden] { display: none; }
.qn { min-width: 1.6rem; text-align: center; font: 700 1.15rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.qn[hidden] { display: none; }
.qty.has .qbtn.plus { background: var(--card); color: var(--petrol); }
.variants li.has-qty { padding: .3rem 0; align-items: center; }
.variants li.has-qty .qty { margin-left: .4rem; }
.board .qty-row .qbtn { border-color: var(--board-ink); background: transparent; color: var(--board-ink); }
.board .qty-row .qbtn.plus { background: var(--board-ink); color: var(--board); }
.board .qty.has .qbtn.plus { background: transparent; color: var(--board-ink); }
body.has-cart .foot { padding-bottom: 6rem; }
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-top: 1px solid var(--line); }
.cartbar[hidden] { display: none; }
.cartbar-btn { width: 100%; max-width: 40rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 3.6rem; padding: .5rem 1rem; border: 0; border-radius: .9rem; background: var(--red); color: var(--red-ink); font: 700 1.05rem/1.2 var(--sans); cursor: pointer; text-align: left; }
.cartbar-btn .icon { width: 1.5rem; height: 1.5rem; flex: none; }
.cb-left { display: flex; align-items: center; gap: .6rem; }
.cb-left > span { display: flex; flex-direction: column; }
.cb-sub { font-weight: 400; font-size: .9rem; opacity: .92; }
.cb-right { display: flex; flex-direction: column; align-items: flex-end; }
.cb-right [data-cart-total] { font-family: var(--serif); font-size: 1.25rem; }
.cb-go { font-size: .9rem; font-weight: 400; text-decoration: underline; text-underline-offset: .15em; }
dialog.sheet { width: 100%; max-width: 40rem; max-height: 92vh; max-height: 92dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 1.1rem 1.1rem 0 0; background: var(--paper); color: var(--ink); box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
dialog.sheet::backdrop { background: rgba(10, 20, 22, .55); }
@media (min-width: 40rem) { dialog.sheet { margin: auto; border-radius: 1.1rem; } }
.sheet-inner { padding: 1rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom)); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: sticky; top: -1rem; background: var(--paper); padding: .25rem 0 .4rem; z-index: 1; }
.sheet-head h2 { font-size: 1.7rem; margin: 0; color: var(--red); }
.sheet-head h2:focus { outline: none; }
.sheet-x { width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 400 1.6rem/1 var(--sans); cursor: pointer; flex: none; }
.sheet-table { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--petrol); margin: 0 0 .5rem; }
.sheet-table .icon { width: 1.2rem; height: 1.2rem; }
.cart-lines, .sum-lines { list-style: none; margin: 0; padding: 0; }
.cl { background: var(--card); border: 1px solid var(--line); border-radius: .9rem; padding: .8rem .9rem; margin: 0 0 .6rem; }
.cl-top { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; }
.cl-n { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.cl-p { font-family: var(--serif); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cl-ctr { display: flex; align-items: center; gap: .4rem; margin-top: .5rem; }
.cl-each { color: var(--ink-soft); font-size: .92rem; margin-left: .4rem; }
.cl-opts { border: 0; padding: 0; margin: .6rem 0 0; }
.cl-opts legend { font-weight: 700; font-size: .95rem; padding: 0; margin-bottom: .2rem; }
.cl-opts .opt { display: flex; align-items: center; gap: .55rem; min-height: 2.75rem; cursor: pointer; }
.cl-opts input { width: 1.35rem; height: 1.35rem; accent-color: var(--petrol); flex: none; }
.fl { display: block; font-weight: 700; font-size: .95rem; margin: .7rem 0 .25rem; }
.cl input[type=text], .sheet textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--field); border-radius: .65rem; padding: .6rem .75rem; min-height: 2.9rem; }
.sheet textarea { resize: vertical; min-height: 3.6rem; background: var(--card); }
.cl input[type=text]::placeholder, .sheet textarea::placeholder { color: var(--ink-soft); opacity: 1; }
.cl-actions { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .35rem; }
.linkbtn { background: none; border: 0; padding: .55rem 0; min-height: 2.75rem; font: inherit; font-size: .95rem; color: var(--petrol); text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }
.linkbtn.danger { color: var(--red); }
.cart-empty { color: var(--ink-soft); }
.sheet-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 1rem 0 .8rem; padding-top: .7rem; border-top: 2px solid var(--ink); font-weight: 700; }
.sheet-total strong { font-family: var(--serif); font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.sheet-total.big strong { font-size: 1.8rem; }
.obtn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 3.5rem; margin-top: .6rem; padding: .6rem 1rem; border-radius: .9rem; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 700 1.1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.obtn.primary { background: var(--red); border-color: var(--red); color: var(--red-ink); }
.obtn.primary:disabled { opacity: .55; cursor: not-allowed; }
.obtn.ghost:hover { background: var(--paper-2); color: var(--ink); }
.muted-s { color: var(--ink-soft); font-size: .95rem; }
.sum-lines li { display: grid; grid-template-columns: 2.4rem 1fr auto; gap: .5rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); align-items: baseline; }
.sl-q { font-weight: 700; font-variant-numeric: tabular-nums; }
.sl-n { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.sl-v { font-family: var(--sans); font-weight: 400; color: var(--ink-soft); font-size: .95rem; }
.sl-o, .sl-note { display: block; font-family: var(--sans); font-weight: 400; font-size: .93rem; color: var(--ink-soft); }
.sl-note { font-style: italic; }
.sl-p { font-family: var(--serif); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-note { background: var(--card); border: 1px dashed var(--line); border-radius: .7rem; padding: .6rem .8rem; margin: .6rem 0 0; font-style: italic; white-space: pre-line; }
.pay-note { display: flex; gap: .5rem; align-items: center; font-weight: 700; margin: 0 0 .5rem; }
.pay-note .icon { color: var(--petrol); flex: none; }
.order-error { background: color-mix(in srgb, var(--red) 12%, var(--card)); color: var(--ink); border: 1.5px solid var(--red); border-radius: .7rem; padding: .6rem .8rem; font-weight: 700; }
.order-error:focus { outline: 3px solid var(--focus); }
body.sheet-open { overflow: hidden; }
/* Bestätigung */
.done { padding-top: 1.25rem; padding-bottom: 2.5rem; }
.done-card { max-width: 34rem; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.25rem 1.1rem; }
.done-check { width: 3.2rem; height: 3.2rem; border-radius: 999px; display: grid; place-items: center; background: var(--ok); color: #fff; font: 700 1.8rem/1 var(--sans); margin: 0 0 .7rem; }
@media (prefers-color-scheme: dark) { .done-check { color: #08210F; } }
.done h1 { font-size: clamp(1.7rem, 1.3rem + 2vw, 2.3rem); color: var(--red); }
.done-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .4rem 0 .8rem; }
.done-facts div { background: var(--paper); border-radius: .8rem; padding: .6rem .8rem; }
.done-facts dt { font-size: .92rem; color: var(--ink-soft); font-weight: 700; }
.done-facts dd { margin: 0; }
.done-no { font: 700 2.4rem/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.done-no.done-label { font-size: 1.6rem; overflow-wrap: anywhere; }
.done-status { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; padding: .55rem .8rem; border-radius: .7rem; background: var(--petrol-soft); margin: 0 0 .8rem; }
.done-status.st-printed { background: color-mix(in srgb, var(--ok) 16%, var(--card)); }
.done-status.st-cancelled { background: color-mix(in srgb, var(--red) 14%, var(--card)); }
@media print { .cartbar, dialog.sheet { display: none !important; } }
/* Bestellbare Gerichte: +/- rechts neben dem Text statt in einer eigenen Zeile */
.dish.orderable, .board li.orderable { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .9rem; align-items: center; }
.dish.orderable > *, .board li.orderable > * { grid-column: 1; }
.dish.orderable > .qty-row, .board li.orderable > .qty-row { grid-column: 2; grid-row: 1 / span 6; margin: 0; align-self: center; }
.dish.orderable > .dish-img { grid-column: 1 / -1; }
.dish.orderable.has-img > .qty-row { grid-row: 2 / span 6; }

/* ---------- 0.6.3: neue Abschnitte ---------- */
picture { display: contents; }
.photo picture img { width: 100%; height: 100%; object-fit: cover; }
.muted-p { color: var(--ink-soft); }
.muted-p .icon { color: var(--star); vertical-align: -.2em; }
.hot { display: flex; gap: .55rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 0 .7rem .7rem 0; padding: .65rem .9rem; max-width: var(--measure); }
.hot .icon { color: var(--red); margin-top: .15rem; }
.hot strong { font-family: var(--serif); font-size: 1.1rem; }
.mini-menu { list-style: none; margin: .4rem 0 1rem; padding: 0; max-width: var(--measure); }
.mini-menu li { border-bottom: 1px solid var(--line); }
.mini-menu a { display: flex; align-items: baseline; gap: .5rem; min-height: 2.75rem; padding: .55rem 0; color: var(--ink); text-decoration: none; }
.mini-menu a:hover .name { color: var(--red); text-decoration: underline; }
.mini-menu .name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.mini-menu .lead { flex: 1; min-width: 1rem; border-bottom: 2px dotted var(--line); transform: translateY(-.3rem); }
.mini-menu .price { font-family: var(--serif); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; max-width: none; }
.chip { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .3rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; }
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.reserve { margin-top: 1.1rem; }
.reserve .pill { background: var(--red); border-color: var(--red); color: var(--red-ink); }
.reserve .pill:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--red-ink); }
.reserve-hint { margin: .4rem 0 0; color: var(--ink-soft); font-size: .95rem; }
.menu-hot { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: .75rem 0 0; }
.menu-hot .lbl { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--ink); }
.menu-hot .lbl .icon { color: var(--red); }
.jump li.hot a { border-color: var(--red); }
@media (min-width: 60rem) { .jump li.hot a { box-shadow: inset 3px 0 0 var(--red); border-radius: 0 .5rem .5rem 0; } }
.dates .bar { margin-top: .45rem; font-size: .86rem; color: var(--ink-soft); line-height: 1.35; }
.dates .bar.open { color: var(--ok); font-weight: 700; }
.market-page { padding-top: 1.25rem; padding-bottom: 1.5rem; }
.market-page h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem); color: var(--red); margin-bottom: .3em; }
.market-page .lead { font-size: 1.1rem; }
.market-page section { margin-top: 2rem; }
.market-page .split section { margin-top: 0; }
.market-page .split { margin-top: 2rem; }
.market-page address { font-style: normal; line-height: 1.6; margin-bottom: .5rem; }
.story-block .split { margin-top: 0; }
.gallery.two { grid-template-columns: 1fr 1fr; }
.gallery.two .photo:first-child { grid-column: auto; }
@media (min-width: 40rem) {
  .mini-menu.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; max-width: 52rem; }
  .dates.six { grid-template-columns: repeat(3, 1fr); max-width: 48rem; }
}
@media (max-width: 39.99rem) { .gallery.two { grid-template-columns: 1fr; } }
.nowrap { white-space: nowrap; }
.food-photo { margin-top: 1.5rem; }
