/* Café Morgenmuffel – Stylesheet
   Design-Grundlage: ../DESIGN.md */

@font-face {
  font-family: "Antonio";
  src: url("../fonts/antonio-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --fenster: #1f2a1d;
  --salbei: #8a9a78;
  --salbei-hell: #a9b797;
  --salbei-tief: #4a5d42;
  --honig: #e0a04a;
  --honig-tief: #8a5a1c;
  --hafer: #f0f1e8;
  --papier: #fafaf5;
  --text: #262821;
  --text-leise: #585b4f;
  --linie: rgba(38, 40, 33, 0.16);
  --linie-dunkel: rgba(240, 241, 232, 0.18);

  --display: "Antonio", "Arial Narrow", sans-serif-condensed, sans-serif;
  --lese: "Literata", Georgia, "Times New Roman", serif;

  --s-1: 0.8rem;
  --s0: 1rem;
  --s1: 1.333rem;
  --s2: 1.777rem;
  --s3: 2.369rem;
  --s4: 3.157rem;
  --s5: 4.209rem;

  --rand: clamp(1rem, 4vw, 2.5rem);
  --breite: 72rem;
  --abschnitt: clamp(4rem, 10vw, 7.5rem);
  --kopf: 4rem;
}

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

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

body {
  margin: 0;
  background: var(--hafer);
  color: var(--text);
  font-family: var(--lese);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--salbei-tief); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(var(--s4), 9vw, var(--s5)); }
h2 { font-size: clamp(var(--s3), 6vw, var(--s4)); }
h3 { font-size: var(--s2); font-weight: 400; }
p { margin: 0 0 1em; max-width: 38em; }

.wrap {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--honig);
  color: var(--fenster);
  padding: 0.6rem 1rem;
  font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---------- Kopfzeile ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--fenster);
  color: var(--hafer);
  border-bottom: 1px solid var(--linie-dunkel);
}
.kopf__innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--kopf);
}
.marke {
  color: var(--hafer);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 300;
  line-height: 1;
  display: grid;
  gap: 0.1rem;
}
.marke__cafe {
  font-size: 1.05rem;
  letter-spacing: 0.32em;
  color: var(--salbei);
}
.marke__name {
  font-size: 1.35rem;
  letter-spacing: 0.14em;
}

.menue-knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 0.25rem 0 0.75rem;
  background: none;
  border: 0;
  color: var(--hafer);
  font: 400 1.05rem var(--display);
  letter-spacing: 0.04em;
  cursor: pointer;
}
.menue-knopf__striche,
.menue-knopf__striche::before,
.menue-knopf__striche::after {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menue-knopf__striche { position: relative; }
.menue-knopf__striche::before,
.menue-knopf__striche::after { content: ""; position: absolute; left: 0; }
.menue-knopf__striche::before { top: -7px; }
.menue-knopf__striche::after { top: 7px; }
.menue-knopf[aria-expanded="true"] .menue-knopf__striche { background: transparent; }
.menue-knopf[aria-expanded="true"] .menue-knopf__striche::before { transform: translateY(7px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-knopf__striche::after { transform: translateY(-7px) rotate(-45deg); }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a {
  color: var(--hafer);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.nav a[aria-current="page"] {
  color: var(--honig);
}

@media (max-width: 899.98px) {
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--fenster);
    border-bottom: 1px solid var(--linie-dunkel);
    padding: 0.5rem var(--rand) 1.5rem;
    display: none;
  }
  .nav.offen { display: block; }
  .nav li + li { border-top: 1px solid var(--linie-dunkel); }
  .nav a {
    display: flex;
    align-items: center;
    min-height: 3.25rem;
    font-size: 1.6rem;
    font-weight: 300;
  }
}
@media (min-width: 900px) {
  .menue-knopf { display: none; }
  .nav ul { display: flex; gap: 1.75rem; }
  .nav a {
    display: inline-block;
    padding: 0.5rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid transparent;
  }
  .nav a:hover { border-bottom-color: var(--salbei); }
  .nav a[aria-current="page"] { border-bottom-color: var(--honig); }
}

/* ---------- Lampen-Status (Morgenmuffel-Uhr) ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.lampe {
  flex: none;
  width: 0.7rem; height: 0.7rem;
  border-radius: 50%;
  background: var(--salbei);
  box-shadow: 0 0 0 0 rgba(224, 160, 74, 0);
}
.ist-offen .lampe {
  background: var(--honig);
  box-shadow: 0 0 0.9rem 0.25rem rgba(224, 160, 74, 0.55);
}
.ist-zu .lampe { background: transparent; border: 1.5px solid var(--salbei-hell); }


@keyframes lampe-an {
  0% { background: var(--salbei); box-shadow: 0 0 0 0 rgba(224,160,74,0); }
  35% { background: #f3c27a; box-shadow: 0 0 1.4rem 0.5rem rgba(224,160,74,0.75); }
  100% { background: var(--honig); box-shadow: 0 0 0.9rem 0.25rem rgba(224,160,74,0.55); }
}
@keyframes auftauchen {
  from { opacity: 0; transform: translateY(0.4em); }
  to { opacity: 1; transform: none; }
}

/* ---------- Knöpfe ---------- */

.knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--salbei-tief);
  background: var(--salbei-tief);
  color: #fff;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.knopf:hover { background: var(--fenster); border-color: var(--fenster); }
.knopf--umriss {
  background: transparent;
  color: var(--salbei-tief);
}
.knopf--umriss:hover { background: var(--salbei-tief); color: #fff; border-color: var(--salbei-tief); }
.dunkel .knopf--umriss,
.hero .knopf--umriss,
.leiste-unten .knopf--umriss {
  color: var(--hafer);
  border-color: var(--hafer);
}
.dunkel .knopf--umriss:hover,
.hero .knopf--umriss:hover,
.leiste-unten .knopf--umriss:hover { background: var(--hafer); color: var(--fenster); }
.dunkel .knopf:not(.knopf--umriss):hover,
.hero .knopf:not(.knopf--umriss):hover { background: var(--hafer); color: var(--fenster); border-color: var(--hafer); }

.textlink {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

/* ---------- Abschnitte ---------- */

.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--papier { background: var(--papier); }
.dunkel {
  background: var(--fenster);
  color: var(--hafer);
}
.dunkel a:not(.knopf) { color: var(--salbei-hell); }
.dunkel .leise { color: var(--salbei-hell); }
.leise { color: var(--text-leise); }

/* ---------- Hero (Startseite) ---------- */

.hero {
  position: relative;
  display: grid;
  min-height: min(calc(100svh - var(--kopf)), 56rem);
  color: var(--hafer);
  background: var(--fenster);
  isolation: isolate;
  overflow: hidden;
}
.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero picture img { object-position: 50% 35%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(31,42,29,0.96) 0%, rgba(31,42,29,0.86) 40%, rgba(31,42,29,0.4) 70%, rgba(31,42,29,0.1) 100%);
}
.hero__inhalt {
  align-self: end;
  padding-block: 6rem 3rem;
}
@media (max-width: 767.98px) {
  .hero__inhalt { padding-bottom: 6rem; }
}
.hero h1 {
  font-size: clamp(3.4rem, 13vw, 6.25rem);
  line-height: 0.98;
  font-weight: 200;
  margin: 1rem 0 1.25rem;
}
.hero h1 .zeile { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.hero h1 .zeile > span { display: block; }
.hero__text {
  font-size: 1.125rem;
  max-width: 30em;
  color: #e4e7da;
  margin-bottom: 1.75rem;
}
@media (min-width: 768px) {
  .hero::after {
    background: linear-gradient(to right, rgba(31,42,29,0.96) 0%, rgba(31,42,29,0.88) 36%, rgba(31,42,29,0.35) 58%, rgba(31,42,29,0) 76%),
                linear-gradient(to top, rgba(31,42,29,0.6), rgba(31,42,29,0) 40%);
  }
  .hero picture img { object-position: 50% 50%; }
  .hero__inhalt { align-self: center; padding-block: 5rem; }
  .hero__inhalt > * { max-width: 34rem; }
}

/* ---------- Intro ---------- */

.intro {
  display: grid;
  gap: 2.5rem;
}
.intro__satz {
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  line-height: 1.45;
  font-weight: 350;
  max-width: 26em;
  margin: 0;
}
.fakten {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  align-content: start;
}
.fakten div { border-top: 1px solid var(--linie); padding-top: 0.75rem; }
.fakten dt {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--text-leise);
}
.fakten dd { margin: 0; font-size: 1.1rem; }
@media (min-width: 900px) {
  .intro { grid-template-columns: 1.7fr 1fr; gap: 5rem; align-items: start; }
}

/* ---------- Getränke-Leiste ---------- */

.kopfzeile {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-bottom: 2rem;
}
.kopfzeile h2 { margin: 0; }
.kopfzeile p { margin: 0; }

.leiste {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 72%);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  margin-inline: calc(var(--rand) * -1);
  padding-inline: var(--rand);
  scroll-padding-inline: var(--rand);
  list-style: none;
  margin-block: 0;
}
.leiste li { scroll-snap-align: start; }
.getraenk { margin: 0; }
.getraenk__bild { overflow: hidden; border-radius: 2px; }
.getraenk img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  width: 100%;
}
.getraenk figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 0.75rem;
  border-bottom: 1px solid var(--linie);
  padding-bottom: 0.5rem;
}
.getraenk__name { font-family: var(--display); font-size: 1.5rem; font-weight: 300; line-height: 1.1; }
.getraenk__preis { font-variant-numeric: tabular-nums; color: var(--text-leise); white-space: nowrap; }
.getraenk__info { font-size: 0.95rem; color: var(--text-leise); margin: 0.5rem 0 0; }
@media (min-width: 900px) {
  .leiste {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}

.auch {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
.auch h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.auch p { margin: 0; }
@media (min-width: 700px) {
  .auch { grid-template-columns: 1fr 1fr auto; align-items: end; gap: 3rem; }
}

/* ---------- Nicole ---------- */

.nicole {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.nicole__logo { width: min(100%, 26rem); }
.nicole blockquote {
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--honig);
  font-size: 1.3rem;
  line-height: 1.5;
  font-style: normal;
}
.nicole blockquote p { margin: 0 0 0.5rem; }
.nicole blockquote footer { font-size: 1rem; color: var(--salbei-hell); }
@media (min-width: 900px) {
  .nicole { grid-template-columns: 1fr 1.15fr; gap: 5rem; }
}

/* ---------- Mosaik ---------- */

.mosaik {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.mosaik img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.mosaik li { overflow: hidden; border-radius: 2px; }
.mosaik li:first-child { grid-column: span 2; aspect-ratio: 3 / 2; }
.mosaik li { aspect-ratio: 2 / 3; }
@media (min-width: 900px) {
  .mosaik {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 16rem);
  }
  .mosaik li { aspect-ratio: auto; }
  .mosaik li:first-child { grid-column: 1; grid-row: span 2; aspect-ratio: auto; }
}

/* ---------- Geteilter Abschnitt (Feiern etc.) ---------- */

.geteilt {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.geteilt__bild img { width: 100%; aspect-ratio: 4 / 5; max-height: 38rem; object-fit: cover; border-radius: 2px; }
@media (min-width: 900px) {
  .geteilt { grid-template-columns: 1.1fr 1fr; gap: 5rem; }
  .geteilt--umgekehrt .geteilt__bild { order: 2; }
}

/* ---------- Besuch / Kontakt ---------- */

.besuch {
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) {
  .besuch { grid-template-columns: 1fr 1.2fr; gap: 5rem; }
}
.adresse { font-style: normal; font-size: 1.15rem; margin-bottom: 1.5rem; }
.linkliste { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.linkliste li { border-top: 1px solid var(--linie); }
.linkliste li:last-child { border-bottom: 1px solid var(--linie); }
.linkliste a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.25rem;
  text-decoration: none;
  color: var(--text);
}
.linkliste a span:last-child { color: var(--salbei-tief); font-family: var(--display); letter-spacing: 0.03em; }
.linkliste a:hover span:first-child { text-decoration: underline; }

.zeiten { width: 100%; border-collapse: collapse; max-width: 26rem; font-variant-numeric: tabular-nums; }
.zeiten th, .zeiten td { text-align: left; padding: 0.45rem 0; border-bottom: 1px solid var(--linie); font-weight: 400; }
.zeiten td { text-align: right; }
.zeiten tr.heute th, .zeiten tr.heute td { font-weight: 650; }

.karte-zwei-klick {
  position: relative;
  min-height: 22rem;
  background:
    repeating-linear-gradient(35deg, transparent 0 38px, rgba(138,154,120,0.22) 38px 40px),
    repeating-linear-gradient(-55deg, transparent 0 62px, rgba(138,154,120,0.18) 62px 64px),
    var(--fenster);
  color: var(--hafer);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 2px;
}
.karte-zwei-klick p { margin: 0 auto 1.25rem; font-size: 0.95rem; color: #dfe3d6; max-width: 26rem; }
.karte-zwei-klick iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 2px; }
.karte-zwei-klick.geladen { padding: 0; }

/* ---------- Seitenkopf Unterseiten ---------- */

.seitenkopf {
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2.5rem, 6vw, 4rem);
}
.seitenkopf p { font-size: 1.15rem; color: #dfe3d6; max-width: 34em; margin: 0; }
.seitenkopf h1 { margin-bottom: 1rem; }
.pfad { font-size: 0.95rem; margin-bottom: 1.5rem; }
.pfad ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; }
.pfad li + li::before { content: "/"; margin-right: 0.5rem; color: var(--salbei); }
.pfad a { color: var(--salbei-hell); }
.pfad [aria-current] { color: var(--hafer); }

/* ---------- Speisekarte ---------- */

.sprung {
  position: sticky;
  top: var(--kopf);
  z-index: 40;
  background: var(--hafer);
  border-bottom: 1px solid var(--linie);
}
.sprung ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0.65rem var(--rand);
  overflow-x: auto;
  max-width: var(--breite);
  margin-inline: auto;
  scrollbar-width: none;
}
.sprung a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.03em;
  background: var(--papier);
}
.sprung a:hover, .sprung a.aktiv { background: var(--salbei-tief); color: #fff; border-color: var(--salbei-tief); }

.karte-gruppe {
  display: grid;
  gap: 2rem;
  padding-block: 3.5rem;
  border-bottom: 1px solid var(--linie);
}
.karte-gruppe:last-of-type { border-bottom: 0; }
.karte-gruppe__kopf p { color: var(--text-leise); margin: 0; }
.karte-gruppe__kopf img { margin-top: 1.5rem; width: 100%; max-width: 20rem; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
@media (min-width: 900px) {
  .karte-gruppe { grid-template-columns: 1fr 1.6fr; gap: 5rem; }
}
.posten { list-style: none; margin: 0; padding: 0; }
.posten li { padding: 0.9rem 0; border-bottom: 1px dashed var(--linie); }
.posten li:first-child { padding-top: 0; }
.posten__zeile {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.posten__name { font-weight: 600; font-size: 1.1rem; }
.posten__punkte { flex: 1; border-bottom: 1.5px dotted var(--salbei); transform: translateY(-0.3em); min-width: 1rem; }
.posten__preis { font-variant-numeric: tabular-nums lining-nums; font-weight: 600; white-space: nowrap; }
.posten__text { color: var(--text-leise); font-size: 0.98rem; margin: 0.15rem 0 0; }

.karte-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--linie);
}
.karte-download p { margin: 0; }

.hinweis {
  background: var(--papier);
  border-left: 3px solid var(--salbei);
  padding: 1.25rem 1.5rem;
  margin-block: 1rem 3rem;
}
.hinweis p:last-child { margin-bottom: 0; }

/* ---------- Galerie ---------- */

.galerie {
  columns: 2;
  column-gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.galerie li { break-inside: avoid; margin-bottom: 0.75rem; }
.galerie button {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  width: 100%;
}
.galerie img { width: 100%; border-radius: 2px; }
@media (min-width: 900px) { .galerie { columns: 3; } }

.gross {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 70rem);
  max-height: 92vh;
}
.gross::backdrop { background: rgba(31, 42, 29, 0.92); }
.gross img { max-height: 82vh; width: auto; margin-inline: auto; }
.gross p { color: var(--hafer); text-align: center; margin: 0.75rem auto 0; font-size: 0.95rem; }
.gross__zu {
  position: fixed;
  top: 1rem; right: 1rem;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--hafer);
  background: var(--fenster);
  color: var(--hafer);
  font: 400 1.05rem var(--display);
  cursor: pointer;
}

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */

.fliesstext { max-width: 44rem; }
.fliesstext h2 { font-size: var(--s3); margin-top: 2.5rem; }
.fliesstext h3 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.4rem; }

.platzhalter {
  background: #ffe36e;
  color: #3a2e00;
  padding: 0.1em 0.35em;
  border-radius: 2px;
  font-family: var(--lese);
  font-size: 0.95em;
}

/* ---------- Liste (Werte etc.) ---------- */

.werte { margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.werte div { border-top: 1px solid var(--linie); padding-top: 1rem; }
.dunkel .werte div { border-top-color: var(--linie-dunkel); }
.werte dt { font-family: var(--display); font-size: 1.5rem; font-weight: 300; }
.werte dd { margin: 0.25rem 0 0; }
@media (min-width: 900px) { .werte { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

.zahlen { display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 2rem 0; }
.zahl { display: grid; }
.zahl strong { font-family: var(--display); font-weight: 200; font-size: clamp(3.5rem, 12vw, 5.5rem); line-height: 1; }
.zahl span { color: var(--text-leise); }

/* ---------- Fuß ---------- */

.fuss {
  background: var(--fenster);
  color: var(--hafer);
  padding-block: 4rem 2rem;
  font-size: 0.98rem;
}
.fuss a { color: var(--salbei-hell); }
.fuss__raster { display: grid; gap: 2.5rem; }
.fuss__logo { width: 11rem; }
.fuss h2 { font-size: 1.35rem; font-weight: 400; letter-spacing: 0.04em; margin-bottom: 0.75rem; color: var(--salbei-hell); }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 0.35rem; }
.fuss address { font-style: normal; }
.fuss__unten {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linie-dunkel);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  color: var(--salbei-hell);
}
.fuss__unten a { color: var(--hafer); }
@media (min-width: 768px) {
  .fuss__raster { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}

/* ---------- Handy-Leiste ---------- */

.leiste-unten { display: none; }
@media (max-width: 767.98px) {
  .fuss { padding-bottom: 6.5rem; }
  .leiste-unten {
    position: fixed;
    left: 0.5rem; right: 0.5rem; bottom: max(0.5rem, env(safe-area-inset-bottom));
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    border-radius: 999px;
    background: var(--fenster);
    color: var(--hafer);
    box-shadow: 0 10px 30px -8px rgba(31, 42, 29, 0.55);
  }
  .leiste-unten .status { flex: 1; font-size: 0.98rem; min-width: 0; }
  .leiste-unten .status span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .leiste-unten .knopf { min-height: 44px; padding: 0.5rem 1rem; font-size: 1rem; }
}

/* ---------- Bewegung ----------
   Nur wenn niemand „Bewegung reduzieren“ eingestellt hat.
   html.js wird im <head> gesetzt; ohne JavaScript bleibt alles sichtbar. */

@media (prefers-reduced-motion: no-preference) {

  /* Startbild: langsamer Zoom, Zeilen gleiten herein, Lampe geht an und atmet */
  .hero picture { will-change: transform; }
  .hero picture img { animation: heranzoomen 14s cubic-bezier(.2,.6,.2,1) both; }
  .hero h1 .zeile > span { animation: zeile-hoch 1s cubic-bezier(.2,.8,.2,1) both; }
  .hero h1 .zeile:nth-child(1) > span { animation-delay: 0.15s; }
  .hero h1 .zeile:nth-child(2) > span { animation-delay: 0.3s; }
  .hero .status { animation: einblenden 0.8s 0.05s both ease-out; }
  .hero__text { animation: auftauchen 0.9s 0.55s both cubic-bezier(.2,.7,.2,1); }
  .hero .knoepfe { animation: auftauchen 0.9s 0.7s both cubic-bezier(.2,.7,.2,1); }
  .hero .ist-offen .lampe { animation: lampe-an 1.6s 0.4s both ease-out, atmen 3.2s 2s infinite alternate ease-in-out; }
  .leiste-unten .ist-offen .lampe { animation: atmen 3.2s infinite alternate ease-in-out; }

  /* Inhalte gleiten weich herein (Klasse .zeigen setzt main.js) */
  html.js .zeigen {
    opacity: 0;
    transform: translateY(1.75rem);
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--v, 0ms);
  }
  html.js .zeigen.da { opacity: 1; transform: none; }

  /* „Rollo hoch“: eine Blende in Hintergrundfarbe fährt nach oben weg */
  html.js .rollo { position: relative; overflow: hidden; }
  html.js .rollo::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: var(--hafer);
    transform-origin: 50% 0;
    transition: transform 1.1s cubic-bezier(.75,0,.2,1);
    transition-delay: var(--v, 0ms);
    pointer-events: none;
  }
  html.js .abschnitt--papier .rollo::after { background: var(--papier); }
  html.js .rollo img {
    transform: scale(1.08);
    transition: transform 1.6s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--v, 0ms);
  }
  html.js .rollo.da::after { transform: scaleY(0); }
  html.js .rollo.da img { transform: none; }

  /* Fotos zoomen leicht beim Überfahren (nur mit Maus) */
  @media (hover: hover) {
    .getraenk__bild img,
    .mosaik img,
    .galerie img {
      transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
    }
    html.js .rollo.da img { transition-delay: 0ms; transition-duration: 0.7s; }
    .getraenk:hover .getraenk__bild img,
    .mosaik li:hover img,
    .galerie button:hover img,
    html.js .rollo.da:hover img { transform: scale(1.05); }
    .galerie li { overflow: hidden; border-radius: 2px; }
    .knopf { transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
    .knopf:hover { transform: translateY(-2px); }
  }

  /* Galerie-Großansicht blendet weich auf */
  .gross[open] { animation: auftauchen 0.35s ease-out; }
  .gross[open]::backdrop { animation: einblenden 0.35s ease-out; }
}

@keyframes heranzoomen {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
@keyframes zeile-hoch {
  from { transform: translateY(105%); }
  to { transform: none; }
}
@keyframes einblenden {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes atmen {
  from { box-shadow: 0 0 0.6rem 0.15rem rgba(224,160,74,0.4); }
  to { box-shadow: 0 0 1.2rem 0.4rem rgba(224,160,74,0.7); }
}

@media print {
  .kopf, .leiste-unten, .sprung, .karte-zwei-klick { display: none; }
  body { background: #fff; }
}
