/* Restaurant zum Alp-Traum - Entwurf
 *
 * Eine Datei, keine Bibliothek, kein Aufbauwerkzeug. Reihenfolge:
 *   1 Schriften   2 Farben und Masse   3 Grundlagen   4 Bausteine
 *   5 Kopf und Menue   6 Abschnitte   7 Galerie   8 Fuss   9 Bewegung
 *
 * Zwei Regeln, die hier bewusst so stehen:
 *
 * - [hidden] gewinnt immer (Abschnitt 3). Sonst hebelt eine eigene
 *   display-Regel das Attribut aus: das Schubladenmenue bliebe dauerhaft
 *   offen, die Bildlupe deckte unsichtbar die ganze Seite ab.
 * - Kein style="..."-Attribut irgendwo. Die Sicherheitsvorgabe in
 *   deploy/nginx.conf verbietet style-src 'unsafe-inline'; ein Attribut
 *   wuerde also stillschweigend verworfen. Alles laeuft ueber Klassen und
 *   ueber die wenigen --var-Werte, die im HTML als Klasse gesetzt sind.
 */

/* ---------------------------------------------------------------- 1 */
@font-face {
  font-family: 'Bitter';
  src: url('/assets/fonts/bitter.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/source.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  font-style: normal;
}

/* ---------------------------------------------------------------- 2 */
:root {
  /* Farben. Das Rot ist an der Wortmarke gemessen (#a22e2b im Mittel),
     fuer Text auf Papier eine Stufe dunkler gewaehlt, damit es die
     4.5:1-Schwelle auch auf der warmen Flaeche haelt. */
  --rot: #9d2a26;
  --rot-dunkel: #7a1f1c;
  --rot-hauch: #f7ebe9;
  --tanne: #24402e;
  --tanne-dunkel: #1a3123;
  /* Messing fuer Augenbrauen und dt-Beschriftungen. #8a6726 war am
     Logo gemessen, hielt auf der warmen Flaeche aber nur 4.42:1 -
     eine Stufe dunkler sind es 5.8:1. */
  --messing: #75561d;

  --papier: #faf6f0;
  --flaeche: #fff;
  --flaeche-warm: #f3ece2;
  --tinte: #241f1c;
  --tinte-leise: #574e47;
  --linie: #e2d8ca;
  --linie-stark: #cfc2af;

  /* Masse */
  --breit: 1140px;
  --schmal: 760px;
  --rund: 4px;
  --rund-gross: 10px;
  --schatten: 0 1px 2px rgba(36, 31, 28, .05), 0 8px 24px -12px rgba(36, 31, 28, .14);
  --schatten-hoch: 0 2px 4px rgba(36, 31, 28, .06), 0 18px 42px -18px rgba(36, 31, 28, .22);

  --kopf: 62px;
  --leiste: 0px;          /* Hoehe der Handy-Leiste unten, s. Abschnitt 5 */
}

/* Die feste Leiste am unteren Rand gibt es nur unter 600 px. Genau dort
   muss der body unten Platz lassen, sonst deckt sie den letzten Absatz
   und den Fuss ab. */
@media (max-width: 599px) {
  :root { --leiste: 57px; }
}

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

[hidden] { display: none !important; }

/* Solange die Schublade offen ist, soll der Hintergrund nicht mitscrollen.
   Gesetzt vom Skript als Klasse - nicht als style-Angabe, die die
   Sicherheitsvorgabe verbieten wuerde. */
.kein-scroll { overflow: hidden; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf) + 12px);
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 400 1.0625rem/1.65 'Source Sans 3', system-ui, -apple-system,
        'Segoe UI', sans-serif;
  padding-bottom: var(--leiste);
  overflow-x: hidden;      /* Sicherheitsnetz; die Pruefung meldet Ueberlauf */
}

h1, h2, h3, h4 {
  font-family: 'Bitter', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.005em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 7vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4.4vw, 2.1rem); }
h3 { font-size: clamp(1.125rem, 2.8vw, 1.375rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--rot-dunkel); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--rot); }

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

hr {
  border: 0;
  border-top: 1px solid var(--linie);
  margin: 2.5rem 0;
}

ul, ol { padding-left: 1.2em; }
li { margin: .3em 0; }

:focus-visible {
  outline: 3px solid var(--rot);
  outline-offset: 2px;
  border-radius: 2px;
}

.nur-vorleser {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.sprung {
  position: absolute; left: 12px; top: -60px; z-index: 90;
  background: var(--flaeche); color: var(--rot-dunkel);
  padding: .6rem 1rem; border-radius: var(--rund);
  box-shadow: var(--schatten-hoch); font-weight: 600;
}
.sprung:focus { top: 12px; }

/* ---------------------------------------------------------------- 4 */
.huelle {
  width: 100%;
  max-width: var(--breit);
  margin: 0 auto;
  padding: 0 20px;
}
.huelle-schmal { max-width: var(--schmal); }

.band { padding: 3.25rem 0; }
.band-gross { padding: 4.5rem 0; }
.band-warm { background: var(--flaeche-warm); }
.band-weiss { background: var(--flaeche); }
.band-tanne { background: var(--tanne); color: #f4efe6; }
.band-tanne h2, .band-tanne h3 { color: #fff; }
.band-tanne a { color: #ffd9a8; }

.auge {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--messing);
  margin: 0 0 .7rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.auge::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: var(--linie-stark);
  max-width: 90px;
}
.band-tanne .auge { color: #d9b877; }
.band-tanne .auge::after { background: rgba(255, 255, 255, .28); }

.vorspann {
  font-size: 1.125rem;
  color: var(--tinte-leise);
  max-width: 62ch;
}
.band-tanne .vorspann { color: #e2dbd0; }

/* Knoepfe ------------------------------------------------------------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--rund);
  font: 600 1.0625rem/1.2 'Source Sans 3', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease,
              box-shadow .18s ease;
}
/* Eine Telefonnummer darf nie mitten durchbrechen. Die Regel gilt nur
   fuer die Nummer selbst (das <span> im Knopf), nicht fuer lange
   Beschriftungen - ein globales nowrap erzeugt waagrechtes Ueberlaufen. */
.knopf .nr { white-space: nowrap; }

.knopf:hover { transform: translateY(-1px); }
.knopf:active { transform: none; }

.knopf-rot { background: var(--rot); color: #fff; box-shadow: var(--schatten); }
.knopf-rot:hover { background: var(--rot-dunkel); color: #fff; }

.knopf-linie {
  background: transparent;
  color: var(--tinte);
  border-color: var(--linie-stark);
}
.knopf-linie:hover { border-color: var(--tinte); color: var(--tinte); background: rgba(255, 255, 255, .6); }

.knopf-hell {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.knopf-hell:hover { background: #fff; color: var(--tanne-dunkel); border-color: #fff; }

.knopf-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

/* Karten -------------------------------------------------------------- */
.karten {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px)  { .karten-2, .karten-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px)  { .karten-3 { grid-template-columns: repeat(3, 1fr); } }

.karte {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--schatten);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.karte-text { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.karte-text h3 { margin-bottom: .4rem; }
.karte-text p { color: var(--tinte-leise); }
.karte-mehr { margin-top: auto; padding-top: 1rem; font-weight: 600; }
a.karte { text-decoration: none; color: inherit; }
a.karte:hover { box-shadow: var(--schatten-hoch); transform: translateY(-2px); border-color: var(--linie-stark); }
a.karte:hover .karte-mehr { color: var(--rot); }
.karte-bild img { width: 100%; }

/* Zwei Spalten (Bild + Text) ------------------------------------------ */
.paar {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .paar { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .paar-schmal { grid-template-columns: 5fr 6fr; }
  .paar-gedreht > :first-child { order: 2; }
}
.paar img { border-radius: var(--rund-gross); }

/* ---------------------------------------------------------------- 5 */
.kopf {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 240, .94);
  border-bottom: 1px solid var(--linie);
  backdrop-filter: blur(8px);
}
.kopf-reihe {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--kopf);
}
.marke { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.marke img { width: 150px; height: auto; border-radius: 2px; }
@media (min-width: 720px) { .marke img { width: 190px; } }

.kopf-luft { flex: 1 1 auto; }

.menue { display: none; }
@media (min-width: 1000px) {
  .menue { display: flex; align-items: center; gap: .2rem; }
  .menue a {
    padding: .55rem .7rem;
    color: var(--tinte);
    text-decoration: none;
    font-weight: 600;
    font-size: .9375rem;
    border-radius: var(--rund);
    border-bottom: 2px solid transparent;
  }
  .menue a:hover { color: var(--rot-dunkel); background: var(--rot-hauch); }
  .menue a[aria-current='page'] { color: var(--rot-dunkel); border-bottom-color: var(--rot); }
}

.kopf-tel {
  display: none;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem;
  min-height: 44px;
  /* Ohne flex-shrink: 0 quetscht die Kopfreihe den Knopf zusammen und die
     Nummer bricht mitten durch: "055 / 511 / 21 12". */
  flex: 0 0 auto;
}
@media (min-width: 600px) { .kopf-tel { display: inline-flex; } }

.schub-knopf {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 48px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--linie-stark);
  border-radius: var(--rund);
  color: var(--tinte);
  cursor: pointer;
}
@media (min-width: 1000px) { .schub-knopf { display: none; } }
.schub-knopf svg { width: 22px; height: 22px; }

/* Schublade ----------------------------------------------------------- */
.schub-grund {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(26, 22, 19, .5);
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}
.schub {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 61;
  width: min(340px, 86vw);
  height: 100%;
  background: var(--flaeche);
  border-left: 1px solid var(--linie);
  box-shadow: -18px 0 48px -20px rgba(36, 31, 28, .4);
  padding: 1rem 1.1rem 2rem;
  overflow-y: auto;
}
.schub-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.schub-kopf .auge { margin: 0; }
.schub-kopf .auge::after { display: none; }
.schub-zu {
  width: 44px; height: 44px; display: inline-flex; align-items: center;
  justify-content: center; background: transparent; border: 1px solid var(--linie);
  border-radius: var(--rund); cursor: pointer; color: var(--tinte);
}
.schub-zu svg { width: 20px; height: 20px; }
.schub nav { display: flex; flex-direction: column; }
.schub nav a {
  padding: .85rem .25rem;
  border-bottom: 1px solid var(--linie);
  color: var(--tinte);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.schub nav a[aria-current='page'] { color: var(--rot-dunkel); }
.schub .knopf { width: 100%; margin-top: 1.2rem; }
.schub-sozial { display: flex; gap: .5rem; margin-top: 1.4rem; }

/* Leiste unten am Handy: Anrufen und Weg. Die haeufigsten zwei Wuensche
   liegen damit immer unter dem Daumen. --leiste haelt den Platz im body
   frei, damit sie nichts verdeckt. */
.leiste {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--linie-stark);
  border-top: 1px solid var(--linie-stark);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.leiste a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 56px;
  background: var(--flaeche);
  color: var(--tinte);
  text-decoration: none;
  font-weight: 600;
}
.leiste a:first-child { background: var(--rot); color: #fff; }
.leiste svg { width: 19px; height: 19px; }
@media (min-width: 600px) { .leiste { display: none; } }

/* ---------------------------------------------------------------- 6 */
/* Aufmacher */
.auf {
  position: relative;
  background: var(--tanne-dunkel);
  color: #fff;
  overflow: hidden;
}
/* Achtung: zwischen dem Kasten und dem <img> steht ein <picture>. Ohne
   height:100% auch auf dem <picture> hat das Bild keinen Bezug fuer seine
   eigene Hoehe - es bleibt bei seinem Seitenverhaeltnis, und unter dem
   Bild schaut der dunkle Grund hervor. Auf breiten Schirmen faellt das
   nicht auf, auf dem Handy sofort. */
.auf-bild { position: absolute; inset: 0; }
.auf-bild picture { height: 100%; }
.auf-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
/* Zwei Verlaeufe: einer dunkelt unten ab (Text), einer nimmt links die
   Saettigung heraus. Ohne den ersten liegt Weiss auf hellem Holz. */
.auf-schleier {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(17, 14, 12, .92) 0%, rgba(17, 14, 12, .74) 38%,
                    rgba(17, 14, 12, .42) 68%, rgba(17, 14, 12, .3) 100%);
}
.auf-inhalt {
  position: relative;
  padding: 4.5rem 0 2.75rem;
  max-width: 40rem;
}
@media (min-width: 860px) { .auf-inhalt { padding: 8rem 0 4rem; } }
.auf h1 { color: #fff; margin-bottom: .5rem; }
.auf-unter {
  font-size: 1.1875rem;
  color: #f0e8dc;
  margin-bottom: 0;
  max-width: 34rem;
}
.auf .knopf-reihe { margin-top: 1.8rem; }

.stand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .8rem .35rem .7rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: .9375rem;
  font-weight: 600;
  color: #fff;
}
.stand-punkt { width: 9px; height: 9px; border-radius: 50%; background: #8ad18a; flex: 0 0 auto; }
.stand-zu .stand-punkt { background: #eda76a; }

/* Vertrauensreihe unter dem Aufmacher */
.vertrauen {
  background: var(--flaeche);
  border-bottom: 1px solid var(--linie);
}
.vertrauen ul {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  display: grid;
  gap: .5rem 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .vertrauen ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .vertrauen ul { grid-template-columns: repeat(4, 1fr); } }
.vertrauen li {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  font-size: .9375rem;
  color: var(--tinte-leise);
  font-weight: 600;
}
.vertrauen svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--rot); }

/* Aktion (Wildziit) */
.aktion { display: grid; gap: 1.75rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) { .aktion { grid-template-columns: 6fr 5fr; gap: 3rem; } }
.aktion img { border-radius: var(--rund-gross); }
.aktion-zeit {
  display: inline-block;
  padding: .3rem .7rem;
  border-radius: var(--rund);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .26);
  font-size: .9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Speisekarte */
/* Eine Karte liest sich als Spalte, nicht als Tabelle ueber die ganze
   Breite: sonst steht der Preis weit weg vom Gericht. */
.gang { margin: 0 0 2.75rem; max-width: 44rem; }
.gang:last-child { margin-bottom: 0; }
.gang > h3 {
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--rot);
  display: inline-block;
  margin-bottom: 1rem;
}
.gang-vorspann { color: var(--tinte-leise); margin: -.4rem 0 1.2rem; max-width: 60ch; }
.gang-fuss { font-size: .9375rem; color: var(--tinte-leise); margin-top: .9rem; }

.liste { list-style: none; margin: 0; padding: 0; }
.liste li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .2rem .9rem;
  align-items: baseline;
  padding: .7rem 0;
  border-bottom: 1px dotted var(--linie-stark);
  margin: 0;
}
.liste li:last-child { border-bottom: 0; }
.gericht { font-weight: 600; }
.gericht-zusatz {
  grid-column: 1 / -1;
  font-size: .9375rem;
  color: var(--tinte-leise);
}
.preis {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.preis-leer { color: var(--tinte-leise); font-weight: 400; font-size: .9375rem; }

.karte-sprung {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 0 0 2.5rem; padding: 0; list-style: none;
}
.karte-sprung li { margin: 0; }
.karte-sprung a {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: .4rem .85rem;
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: 999px; text-decoration: none; color: var(--tinte);
  font-size: .9375rem; font-weight: 600;
}
.karte-sprung a:hover { border-color: var(--rot); color: var(--rot-dunkel); background: var(--rot-hauch); }

/* Wein */
.wein { list-style: none; margin: 0; padding: 0; }
.wein > li {
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--linie);
  margin: 0;
}
.wein > li:last-child { border-bottom: 0; }
.wein-kopf {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .3rem .8rem; margin-bottom: .35rem;
}
.wein-name { font-family: 'Bitter', Georgia, serif; font-weight: 600; font-size: 1.1875rem; }
.wein-alk { color: var(--tinte-leise); font-size: .9375rem; }
.wein-preise { margin-left: auto; display: flex; gap: .9rem; }
.wein-preis { font-family: 'Bitter', Georgia, serif; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wein-preis span { font-family: 'Source Sans 3', sans-serif; font-weight: 400; color: var(--tinte-leise); font-size: .875rem; margin-right: .3rem; }
.wein-daten { font-size: .9375rem; color: var(--tinte-leise); margin: 0 0 .5rem; }
.wein-text { margin: 0; max-width: 72ch; color: var(--tinte-leise); }

/* Zeiten */
.zeiten { width: 100%; border-collapse: collapse; text-align: left; }
.zeiten caption { text-align: left; color: var(--tinte-leise); font-size: .9375rem; padding-bottom: .8rem; }
.zeiten th, .zeiten td { padding: .75rem .5rem; border-bottom: 1px solid var(--linie); vertical-align: baseline; }
.zeiten th { font-weight: 600; font-family: 'Source Sans 3', sans-serif; width: 42%; }
.zeiten td { font-variant-numeric: tabular-nums; }
.zeiten tr:last-child th, .zeiten tr:last-child td { border-bottom: 0; }
.zeiten .heute th, .zeiten .heute td { background: var(--rot-hauch); }
.zeiten .heute th::after { content: ' · heute'; color: var(--rot-dunkel); font-weight: 600; }
.zu { color: var(--tinte-leise); }

.kasten {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-left: 3px solid var(--rot);
  border-radius: var(--rund);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0 0;
}
.kasten p { margin-bottom: .6rem; }
.kasten p:last-child { margin-bottom: 0; }
.kasten-hinweis { border-left-color: var(--messing); }

.daten { margin: 0; }
.daten div { padding: .8rem 0; border-bottom: 1px solid var(--linie); }
.daten div:last-child { border-bottom: 0; }
.daten dt { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--messing); margin-bottom: .2rem; }
.daten dd { margin: 0; }
.daten a { font-weight: 600; }

/* Reservationsband auf Holz */
.reserv { position: relative; overflow: hidden; background: var(--tanne-dunkel); color: #fff; }
.reserv-bild { position: absolute; inset: 0; }
.reserv-bild picture { height: 100%; }   /* siehe .auf-bild picture */
.reserv-bild img { width: 100%; height: 100%; object-fit: cover; }
.reserv-schleier { position: absolute; inset: 0; background: rgba(22, 16, 13, .74); }
.reserv-inhalt { position: relative; padding: 3.5rem 0; max-width: 44rem; }
.reserv h2 { color: #fff; }
.reserv p { color: #eee5d8; }
.reserv a.knopf-hell { border-color: rgba(255, 255, 255, .55); }
.reserv-klein { margin-top: 1.2rem; }
.reserv-klein small { color: #cfc6b8; font-size: .875rem; }

/* ---------------------------------------------------------------- 7 */
.raster {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px)  { .raster { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1020px) { .raster { grid-template-columns: repeat(4, 1fr); } }
.raster button {
  padding: 0; border: 1px solid var(--linie); background: var(--flaeche);
  border-radius: var(--rund); overflow: hidden; cursor: zoom-in; display: block;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.raster button:hover { transform: translateY(-2px); box-shadow: var(--schatten-hoch); border-color: var(--linie-stark); }
.raster img { width: 100%; }

/* Bildlupe. Sie liegt im <dialog>; [hidden] aus Abschnitt 3 und das
   dialog-Verhalten des Browsers entscheiden ueber die Sichtbarkeit -
   hier steht darum KEINE eigene display-Regel. */
.lupe {
  border: 0; padding: 0; max-width: 100vw; max-height: 100vh;
  width: 100%; height: 100%; background: rgba(18, 14, 12, .93);
}
.lupe::backdrop { background: rgba(18, 14, 12, .9); }
.lupe-innen {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; padding: 1rem;
}
.lupe-figur { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.lupe img { max-height: 76vh; width: auto; border-radius: var(--rund); }
.lupe figcaption { color: #f0e8dc; font-size: .9375rem; text-align: center; max-width: 60ch; }
.lupe-zu {
  position: absolute; top: 12px; right: 12px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .4);
  color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.lupe-zu svg { width: 22px; height: 22px; }

/* Videos: Verweise mit Vorschaubild aus dem eigenen Haus, keine Einbettung */
.video-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 700px) { .video-liste { grid-template-columns: 1fr 1fr; } }
.video-liste li { margin: 0; }
.video-liste a {
  display: flex; align-items: center; gap: .85rem; min-height: 56px;
  padding: .9rem 1.1rem; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: var(--rund);
  text-decoration: none; color: var(--tinte); font-weight: 600;
}
.video-liste a:hover { border-color: var(--rot); color: var(--rot-dunkel); }
.video-liste svg { width: 24px; height: 24px; color: var(--rot); flex: 0 0 auto; }

/* ---------------------------------------------------------------- 8 */
.fuss {
  background: var(--tanne-dunkel);
  color: #d8d2c7;
  padding: 3rem 0 2rem;
  font-size: .9375rem;
}
.fuss a { color: #f0e8dc; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-raster { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px)  { .fuss-raster { grid-template-columns: 1.3fr 1fr 1fr; } }
.fuss h2, .fuss h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #d9b877; margin: 0 0 .9rem;
}
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin: 0; }
.fuss li a, .fuss-liste a { display: inline-flex; min-height: 40px; align-items: center; }
.fuss-marke img { width: 170px; border-radius: 2px; margin-bottom: 1rem; }
.fuss-sozial { display: flex; gap: .6rem; margin-top: 1rem; }
.sozial {
  width: 44px; height: 44px; border-radius: var(--rund);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .28); color: #f0e8dc;
}
.sozial:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.sozial svg { width: 20px; height: 20px; }
.fuss-unten {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center;
  color: #b8b1a6;
}
.fuss-unten nav { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }

.entwurf {
  background: var(--messing); color: #fff; text-align: center;
  padding: .5rem 20px; font-size: .875rem; font-weight: 600;
}
.entwurf a { color: #fff; }

/* ---------------------------------------------------------------- 9 */
/* Einblenden beim Scrollen.
 *
 * Zwei Dinge sind hier Absicht:
 *  - Sichtbar ist der Grundzustand. Erst das Skript setzt data-auf="0" und
 *    macht damit unsichtbar. Ohne JavaScript bleibt alles lesbar.
 *  - Es wird nur verschoben und aufgehellt, nie die Hoehe angetastet. Ein
 *    hoher Block, der nie ganz im Fenster liegt, wuerde sonst fuer immer
 *    unsichtbar bleiben - genau das ist in einem frueheren Projekt passiert.
 */
[data-auf='0'] { opacity: 0; transform: translateY(14px); }
[data-auf='1'] {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-auf='0'] { opacity: 1; transform: none; }
  [data-auf='1'] { transition: none; }
  .knopf:hover, a.karte:hover, .raster button:hover { transform: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Drucken: der wichtigste Fall ist die Speisekarte an der Wand. */
@media print {
  .kopf, .leiste, .schub, .schub-grund, .reserv, .entwurf, .sprung,
  .auf-bild, .auf-schleier, .karte-sprung { display: none !important; }
  body { background: #fff; padding: 0; font-size: 11pt; }
  .auf, .auf-inhalt { background: #fff; color: #000; padding: 0; }
  .auf h1, .auf-unter { color: #000; }
  .band, .band-gross { padding: 1rem 0; }
  .gang { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
}
