/* ==========================================================================
   TILL – Waldhausener Straße 89, Mönchengladbach
   Neuaufbau 2026 · eigene Gestaltung nach dem Vorbild der bisherigen Seite
   Farben: Creme #F4F0E7 · Dunkel #1D1D1A · Terracotta #C85A32
   ========================================================================== */

/* --- Schriften (lokal gehostet, keine Verbindung zu Google --- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var-latin.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* --- Grundwerte --- */
:root {
  --creme: #f4f0e7;
  --creme-hell: #faf8f3;
  --dunkel: #1d1d1a;
  --dunkel-70: rgba(29, 29, 26, 0.7);
  --dunkel-50: rgba(29, 29, 26, 0.5);
  --dunkel-15: rgba(29, 29, 26, 0.15);
  --ton: #c85a32;
  --ton-dunkel: #ab4626;
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --breite: 1140px;
  --lesebreite: 46rem;
  --radius: 999px;
  --schatten: 0 1px 2px rgba(29, 29, 26, 0.06), 0 8px 28px rgba(29, 29, 26, 0.08);
  /* Höhe der klebenden Kopfzeile. Zwei getrennte Werte, damit kein Regelkreis entsteht:
     --kopf-hoehe = Mindesthöhe der Kopfzeilenzeile (hier per Breakpoint gesetzt)
     --kopf-ist   = tatsächlich gemessene Höhe (main.js aktualisiert sie).
     Die klebende Kartenleiste richtet sich nach --kopf-ist; würde sie --kopf-hoehe
     benutzen, könnte main.js sie auf dem Handy nicht mehr nach unten korrigieren. */
  --kopf-hoehe: 80px;
  --kopf-ist: var(--kopf-hoehe);
}

/* Logo wird kleiner -> Kopfzeile flacher. Ohne diese Stufen würde die klebende
   Kartenleiste unter der Kopfzeile verschwinden (sie ist niedriger positioniert). */
@media (max-width: 658px) {
  :root { --kopf-hoehe: 72px; }
}

@media (max-width: 480px) {
  :root { --kopf-hoehe: 62px; }
}

/* Sehr große Bildschirme: Inhalt etwas breiter, damit die Ränder nicht leer wirken */
@media (min-width: 1660px) {
  :root { --breite: 1290px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--dunkel);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Sicherheitsnetz: lange Wörter (z. B. „Apfelschmelzzwiebeln") nie über den Rand */
  overflow-wrap: break-word;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ton-dunkel); }

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 60;
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 7.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 5.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 3.4vw, 1.6rem); }

p { margin: 0 0 1.15em; }

.innen {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: clamp(0.875rem, 4vw, 1.5rem);
}

/* Nur für Vorleseprogramme und Suchmaschinen – für das Auge unsichtbar.
   Nötig auf Seiten, deren sichtbare Gestaltung keine eigene Seitenüberschrift
   vorsieht (Rechtstexte, Speisekarte). Eine Seite ohne h1 ist für Suchmaschinen
   unklar; eine sichtbare Überschrift würde die abgestimmte Gestaltung ändern. */
.nur-vorleser {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.sprungmarke {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dunkel);
  color: var(--creme);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.sprungmarke:focus { left: 0; }

/* --- Kopfzeile --- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--creme);
  border-bottom: 1px solid var(--dunkel-15);
}
.kopf .innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--kopf-hoehe);
}
.marke { display: block; flex: 0 0 auto; min-width: 0; }
.marke img { width: clamp(84px, 24vw, 158px); height: auto; }

.nav { display: none; }
.nav ul {
  display: flex;
  gap: clamp(1rem, 3vw, 2.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
  font-size: 1rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: var(--dunkel);
  color: var(--dunkel);
}

.knopf {
  display: inline-block;
  background: var(--ton);
  color: var(--dunkel);
  font-family: var(--text);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.knopf:hover { background: var(--ton-dunkel); color: var(--creme); transform: translateY(-1px); }
.knopf--gross { padding: 1.05rem 2.2rem; font-size: 1.075rem; }

.kopf__aktion { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }

.menue-knopf {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: none;
  border: 1px solid var(--dunkel-15);
  border-radius: 10px;
  cursor: pointer;
}
.menue-knopf span {
  display: block;
  height: 2px;
  background: var(--dunkel);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menue-knopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menue-knopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobil-navi {
  display: none;
  border-top: 1px solid var(--dunkel-15);
  background: var(--creme);
}
.mobil-navi.offen { display: block; }
.mobil-navi ul { list-style: none; margin: 0; padding: 0.5rem 1.25rem 1.25rem; }
.mobil-navi li { border-bottom: 1px solid var(--dunkel-15); }
.mobil-navi li:last-child { border-bottom: 0; }
.mobil-navi a {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  font-size: 1.1rem;
}
.mobil-navi .knopf { display: block; margin-top: 1rem; }

/* --- Hero --- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(280px, 52vh, 620px);
  background: #241c11;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* --- Wechselnder Hauptbanner ------------------------------------------------
   Die Bildebenen liegen übereinander; sichtbar ist die mit .ist-da. Der Wechsel
   wird von assets/js/banner.js ausgelöst (respektiert prefers-reduced-motion). */
.hero__bilder { position: absolute; inset: 0; }
.hero__bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero__bild.ist-da { opacity: 1; }

/* Pausenknopf für den Bildwechsel (WCAG 2.2.2) – bewusst zurückhaltend */
.hero__pause {
  position: absolute;
  right: clamp(0.75rem, 2.5vw, 1.5rem);
  bottom: clamp(0.75rem, 2.5vw, 1.5rem);
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(244, 240, 231, 0.35);
  background: rgba(20, 17, 14, 0.42);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.hero__pause:hover { background: rgba(20, 17, 14, 0.72); }
.hero__pause-zeichen {
  display: block;
  width: 9px;
  height: 11px;
  border-left: 3px solid var(--creme);
  border-right: 3px solid var(--creme);
}
.hero__pause[aria-pressed="true"] .hero__pause-zeichen {
  width: 0;
  height: 0;
  border-left: 9px solid var(--creme);
  border-right: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
@media (pointer: coarse) {
  .hero__pause { width: 44px; height: 44px; }
}
/* Querformat-Handys: Regeln stehen weiter unten nach den Basisregeln des Heros
   – davor würden sie von diesen überschrieben (padding/​font-size). */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 17, 6, 0.45) 0%, rgba(24, 17, 6, 0.62) 100%);
}
.hero__inhalt {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(3rem, 9vw, 6rem) 1.25rem;
  max-width: 60rem;
}
.hero h1 { color: var(--creme); margin-bottom: 0.4em; }
.hero p {
  color: var(--creme);
  font-size: clamp(1.02rem, 2.4vw, 1.3rem);
  max-width: 34em;
  margin: 0 auto 2rem;
}
.hero .knopf:hover { color: var(--dunkel); }

/* Hero als reine Textseite */
.hero--text { min-height: 0; background: var(--creme); }
.hero--text::after { display: none; }
.hero--text h1 { color: var(--dunkel); }
.hero--text .hero__inhalt { padding: clamp(2.5rem, 7vw, 4.5rem) 1.25rem clamp(0.5rem, 2vw, 1rem); }
.hero--text p { color: var(--dunkel-70); }

/* ---------------------------------------------------------------------------
   Gerätespezifische Korrekturen.
   WICHTIG: Diese Blöcke stehen absichtlich NACH den Basisregeln. Eine Media-Query
   hebt die Spezifität nicht auf – eine gleich spezifische Regel weiter unten in
   der Datei gewinnt trotzdem. Vor den Basisregeln platziert wären diese Anpassungen
   wirkungslos (genau das war der Fehler beim Hero im Querformat).
   --------------------------------------------------------------------------- */

/* Sehr schmale Geräte (320 px): Button und Menütaste kompakter, damit
   Logo, Reservieren-Button und Menütaste in eine Zeile passen. */
@media (max-width: 400px) {
  .kopf__aktion > .knopf { padding: 0.55rem 0.8rem; font-size: 0.875rem; }
  .menue-knopf { width: 42px; height: 42px; padding: 0 9px; }
  .mobil-navi ul { padding-inline: 0.875rem; }
}

/* Querformat-Handys (z. B. 844x390): Der Hero soll die Seite nicht füllen und
   der Reservieren-Button über der Falz bleiben. */
@media (orientation: landscape) and (max-height: 520px) {
  .hero { min-height: 0; }
  .hero__inhalt { padding-block: clamp(1rem, 3vh, 2rem); }
  .hero h1 { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .hero p { font-size: 0.95rem; margin-bottom: 1rem; }
  .hero .knopf--gross { padding: 0.8rem 1.6rem; font-size: 1rem; }
}

/* --- Abschnitte --- */
.abschnitt { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.abschnitt + .abschnitt { border-top: 1px solid var(--dunkel-15); }
.abschnitt--eng { padding-top: 0; }

.abschnitt__kopf { text-align: center; margin-bottom: clamp(1.8rem, 5vw, 3rem); }
.abschnitt__kopf h2 { margin-bottom: 0; }
.abschnitt__kopf::after { content: none; }

.fliesstext { max-width: var(--lesebreite); margin-inline: auto; }
.fliesstext--mittig { text-align: center; }
.fliesstext p { font-size: 1.0625rem; color: var(--dunkel); }
.fliesstext h3 { margin-top: 2.2rem; }
.fliesstext h3:first-child { margin-top: 0; }
.fliesstext ul { padding-left: 1.2rem; }
.fliesstext li { margin-bottom: 0.5rem; }

.schlusssatz {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.6vw, 1.9rem);
  font-weight: 600;
  margin-top: 2rem;
}

.bild-paar {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}
figure { margin: 0; }
figure img { border-radius: 4px; }
figcaption {
  font-size: 0.875rem;
  color: var(--dunkel-70);
  margin-top: 0.6rem;
}

/* --- Galerie --- */
.galerie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.galerie button {
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 4px;
  overflow: hidden;
}
.galerie img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.galerie button:hover img { transform: scale(1.04); filter: brightness(1.06); }

.lichtbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100dvh;      /* mobil: dynamische Browserleisten berücksichtigen */
  max-height: 100vh;
  z-index: 200;
  display: none;
  background: rgba(18, 14, 8, 0.97);
  padding: clamp(0.6rem, 2.5vw, 1rem);
}
/* WICHTIG: minmax(0, 1fr) statt 1fr. "1fr" heißt intern minmax(auto, 1fr), und
   dieses auto kann NICHT unter die Inhaltshöhe schrumpfen – ein hohes Bild hat die
   mittlere Zeile dann auf seine eigene Höhe gedrückt, die Knopfleiste wurde aus dem
   Fenster geschoben und war nicht mehr erreichbar. */
.lichtbox.offen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 0.6rem; }
/* Bühne: nimmt das Bild auf und scrollt, falls doch einmal etwas nicht passt.
   "safe center" zentriert nur, solange das Bild passt; sonst beginnt es oben,
   damit nichts unerreichbar abgeschnitten wird. */
.lichtbox__buehne {
  min-height: 0;
  overflow: auto;
  display: flex;
  overscroll-behavior: contain;
}
.lichtbox__kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--creme);
  font-size: 0.9rem;
}
.lichtbox__bild {
  /* margin:auto zentriert in der Bühne. Passt das Bild nicht, werden die
     automatischen Ränder zu 0 und das Bild beginnt oben links – so ist nie
     ein Stück unerreichbar abgeschnitten (anders als bei justify-content:center). */
  margin: auto;
  max-width: min(100%, 1100px);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}
.lichtbox__leiste { display: flex; justify-content: center; gap: 0.6rem; }
.lichtbox__leiste button,
.lichtbox__kopf button {
  background: rgba(244, 240, 231, 0.14);
  color: var(--creme);
  border: 1px solid rgba(244, 240, 231, 0.3);
  border-radius: var(--radius);
  padding: 0.6rem 1.2rem;
  min-height: 44px;      /* auf dem Handy bequem treffbar */
  font: inherit;
  cursor: pointer;
}
.lichtbox__leiste button:hover,
.lichtbox__kopf button:hover { background: rgba(244, 240, 231, 0.26); }

/* --- Öffnungszeiten --- */
.zeiten {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}
.zeiten dl { margin: 0; }
.zeiten .zeile {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--dunkel-15);
  font-size: 1.06rem;
}
.zeiten .zeile dt { font-weight: 500; }
.zeiten .zeile dd { margin: 0; font-variant-numeric: tabular-nums; }
.zeiten__hinweis {
  margin-top: 1.4rem;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
}
.zeiten__note { color: var(--dunkel-70); font-size: 0.95rem; margin-top: 0.8rem; }

/* --- Reservieren --- */
.reservieren { text-align: center; }
.reservieren p { max-width: 34rem; margin-inline: auto; }
.reservieren__aktion {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.6rem;
}
.reservieren__telefon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  text-decoration: none;
  border: 1px solid var(--dunkel-15);
  border-radius: var(--radius);
  padding: 0.85rem 1.6rem;
}
.reservieren__telefon:hover { border-color: var(--ton); }

/* --- Speisekarte --- */
.karten-navi {
  position: sticky;
  top: var(--kopf-ist);
  z-index: 40;
  background: var(--creme);
  border-bottom: 1px solid var(--dunkel-15);
}
/* Der äußere Rahmen bleibt stehen, nur die innere Rolle scrollt –
   so bleibt der Verlauf am rechten Rand an Ort und Stelle. */
.karten-navi__rolle {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
/* Sanfter Verlauf am rechten Rand als Hinweis, dass die Leiste scrollt */
.karten-navi::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2.25rem;
  background: linear-gradient(to right, rgba(244, 240, 231, 0), var(--creme));
  pointer-events: none;
}
@media (min-width: 1180px) {
  .karten-navi::after { display: none; }
}
.karten-navi ul {
  display: flex;
  gap: clamp(1.1rem, 3vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 1rem clamp(0.875rem, 4vw, 1.5rem);
  white-space: nowrap;
  max-width: var(--breite);
  margin-inline: auto;
  scroll-snap-type: x proximity;
}
.karten-navi li { scroll-snap-align: start; }
.karten-navi a {
  text-decoration: none;
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dunkel-70);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid transparent;
}
.karten-navi a:hover,
.karten-navi a.aktiv { color: var(--ton-dunkel); border-bottom-color: var(--ton); }

.karte { max-width: 54rem; margin-inline: auto; }
.karte__stand {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.2rem;
}
.karte__stand-unter {
  text-align: center;
  color: var(--dunkel-70);
  font-size: 0.95rem;
  margin-bottom: clamp(2rem, 6vw, 3rem);
}
.kategorie { margin-bottom: clamp(2.6rem, 6vw, 4rem); scroll-margin-top: calc(var(--kopf-ist) + 84px); }
.kategorie > h3 {
  text-align: center;
  margin-bottom: 0.5rem;
}
.kategorie__hinweis {
  text-align: center;
  font-size: 0.9rem;
  color: var(--dunkel-70);
  border-bottom: 1px solid var(--dunkel-15);
  padding-bottom: 1rem;
  margin: 0 auto 1.8rem;
  max-width: 44rem;
}
.gericht {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(29, 29, 26, 0.08);
}
.gericht:last-child { border-bottom: 0; }
.gericht__name {
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.45;
}
.gericht__preis {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  white-space: nowrap;
}
.gericht__notiz,
.gericht__allergene {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  color: var(--dunkel-70);
}
.gericht__notiz { margin-top: 0.3rem; }
.gericht__allergene { margin-top: 0.15rem; }
.gericht__tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}
.tag {
  font-size: 0.8rem;
  color: var(--ton-dunkel);
  background: rgba(200, 90, 50, 0.1);
  border-radius: var(--radius);
  padding: 0.1rem 0.6rem;
}
.gericht--top .gericht__name { font-weight: 600; }

.legende {
  max-width: 44rem;
  margin: 0 auto clamp(2rem, 6vw, 3rem);
  background: var(--creme-hell);
  border: 1px solid var(--dunkel-15);
  border-radius: 6px;
  padding: 1.4rem 1.6rem;
  font-size: 0.95rem;
}
.legende p { margin: 0 0 0.4rem; }
.legende p:last-child { margin-bottom: 0; }
.legende__codes {
  list-style: none;
  margin: 0.6rem 0 0.4rem;
  padding: 0;
  display: grid;
  gap: 0.3rem 1.5rem;
  font-size: 0.9rem;
}
.legende__codes li { display: flex; gap: 0.6rem; align-items: baseline; }
.legende__codes .code {
  flex: 0 0 auto;
  min-width: 1.7rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ton-dunkel);
  background: rgba(200, 90, 50, 0.1);
  border-radius: 4px;
  padding: 0 0.35rem;
  line-height: 1.5;
}
@media (min-width: 620px) {
  .legende__codes { grid-template-columns: 1fr 1fr; }
}

/* --- Kontakt --- */
.kontakt-block {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 46rem;
  margin-inline: auto;
}
.kontakt-liste { list-style: none; margin: 0; padding: 0; }
.kontakt-liste li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--dunkel-15);
}
.kontakt-liste .bez {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dunkel-50);
  margin-bottom: 0.15rem;
}

/* --- Rechtstexte --- */
.recht { max-width: 46rem; margin-inline: auto; }
.recht h2 { font-size: clamp(1.15rem, 3vw, 1.5rem); margin-top: 2.2rem; }
.recht h2:first-of-type { margin-top: 0; }
.recht p { font-size: 1rem; }
.recht__stand { color: var(--dunkel-70); font-size: 0.9rem; }

/* --- Fuß --- */
.fuss {
  border-top: 1px solid var(--dunkel-15);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  text-align: center;
}
.fuss__claim {
  font-family: var(--display);
  font-size: clamp(1.25rem, 3.6vw, 1.75rem);
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.fuss__werte {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 5vw, 3rem);
  flex-wrap: wrap;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dunkel-70);
  margin-bottom: 1.6rem;
}
.fuss__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  font-size: 0.94rem;
}
.fuss__daten { font-size: 0.94rem; }
.fuss__copyright {
  color: var(--dunkel-50);
  font-size: 0.85rem;
  margin: 1.2rem 0 0;
}

/* --- Hinweisbox (Testversion) --- */
.hinweis-box {
  background: #fff6e5;
  border: 1px solid #e0c489;
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  max-width: 46rem;
  margin: 0 auto 2rem;
}
.hinweis-box strong { display: block; margin-bottom: 0.2rem; }

/* --- 404 --- */
.fehler { text-align: center; padding: clamp(3rem, 12vh, 8rem) 1.25rem; }

/* --- Größere Ansichten --- */
@media (min-width: 720px) {
  .galerie { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
  .kontakt-block { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .nav { display: block; }
  .menue-knopf { display: none; }
  .bild-paar--zweispaltig { grid-template-columns: 1.05fr 0.95fr; }
  .bild-paar--zweispaltig .fliesstext { max-width: none; margin: 0; }
}

@media (min-width: 1100px) {
  .galerie { grid-template-columns: repeat(4, 1fr); }
  .karte { max-width: 58rem; }
}

/* --- Touch-Geräte: Textlinks bequem treffbar machen -------------------------
   Auf dem Handy sind Fließtextlinks nur ~20 px hoch. Alle Links, die man dort
   wirklich antippt (Telefon, E-Mail, Fußzeile, Kontaktliste, Menüpunkte), bekommen
   mindestens 44 px Höhe – ohne das Layout am Desktop zu verändern. */
@media (pointer: coarse) {
  .fuss__links { gap: 0.1rem 1.4rem; }
  .fuss__links a,
  .fuss__daten a,
  .kontakt-liste a,
  a[href^="tel:"],
  a[href^="mailto:"],
  .fliesstext a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .fuss__daten { line-height: 1.4; }
  .recht a { display: inline-flex; align-items: center; min-height: 44px; }
  .karten-navi a { padding-block: 0.55rem; }
}

/* Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .galerie button:hover img { transform: none; }
}

/* Druck: Speisekarte sauber aufs Papier */
@media print {
  .kopf, .fuss, .karten-navi, .reservieren, .galerie, .hinweis-box { display: none !important; }
  body { background: #fff; color: #000; }
  .abschnitt { padding: 0.5rem 0; break-inside: avoid; }
  .kategorie { break-inside: avoid; }
  .gericht { break-inside: avoid; }
  a { text-decoration: none; }
}
