/* Ristorante Pizzeria da Luigi - Stile
   Mobile first. Die Farben kommen aus der Marke: das Rot des Schriftzugs,
   das Gelb der Fassade als gedaempftes Ocker, dazu ein warmes Papier.
   ------------------------------------------------------------------ */

/* ----------------------------------------------------------- Schriften -- */
/* Gerade nur in einem Gewicht - die Datei ist ein fester Schnitt (600).
   Jede andere Angabe wuerde der Browser kuenstlich fetten oder duennen.
   Darum steht in dieser Datei nirgends eine andere Staerke fuer --serif
   ohne Kursive. */
@font-face {
  font-family: 'Newsreader';
  src: url('/assets/fonts/newsreader.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/assets/fonts/newsreader-it.woff2') format('woff2');
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/sourcesans.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- Token -- */
:root {
  --papier: #fbf7f1;
  --papier-tief: #f4ece1;
  --flaeche: #ffffff;
  --tinte: #241c18;
  --tinte-matt: #675850;
  --linie: #e7ded1;
  --linie-stark: #d6c8b6;

  --rot: #a8161c;
  --rot-dunkel: #8d1016;
  --rot-hell: #f0a7a9;
  --ocker: #9a6f1c;
  --dunkel: #1c1512;
  --dunkel-2: #2a201b;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Arial,
          sans-serif;

  --breite: 1180px;
  --schmal: 760px;
  --rand: 20px;
  --radius: 4px;

  --schatten: 0 1px 2px rgba(36, 28, 24, .05),
              0 8px 24px -12px rgba(36, 28, 24, .18);
}

@media (min-width: 700px) { :root { --rand: 32px; } }
@media (min-width: 1100px) { :root { --rand: 40px; } }

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

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

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}
@media (min-width: 700px) { body { font-size: 18px; } }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.7vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

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

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

.abschnitt { padding-block: clamp(48px, 7vw, 96px); }
.abschnitt--eng { padding-block: clamp(36px, 5vw, 64px); }

.nur-lesegeraet {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  border: 0;
}

/* fixed, nicht absolute: bei "absolute" liegt der Sprunglink am Anfang des
   Dokuments. Wer mitten auf der Seite die Tabulatortaste drueckt, bekommt
   ihn dann nie zu sehen. */
.zum-inhalt {
  position: fixed; left: var(--rand); top: -80px; z-index: 100;
  background: var(--rot); color: #fff; padding: 12px 18px;
  border-radius: var(--radius); text-decoration: none;
  transition: top .15s ease;
}
.zum-inhalt:focus { top: 12px; color: #fff; }

/* --------------------------------------------------------------- Marke --- */
.marke { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
/* Das verweisende <svg> hat keine eigene viewBox (die traegt das <symbol>),
   darum braucht es hier ein festes Verhaeltnis - sonst faellt der Browser
   auf 300x150 zurueck und die Marke sitzt schief im Kasten. */
.marke__bild {
  width: 122px; aspect-ratio: 1086 / 768; height: auto;
  /* Die schwarze Ebene des Logos ist currentColor - hier bekommt sie ihre
     Farbe. Ohne das waere sie auf dunklem Grund unsichtbar. */
  color: var(--tinte);
}
@media (min-width: 700px) { .marke__bild { width: 146px; } }
.auf-dunkel .marke__bild, .fuss .marke__bild { color: #f6efe4; }

/* -------------------------------------------------------------- Kopfzeile -- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, .94);
  border-bottom: 1px solid var(--linie);
  backdrop-filter: blur(8px);
}
.kopf__reihe {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px; padding-block: 10px;
}
@media (min-width: 1000px) { .kopf__reihe { min-height: 84px; } }

.kopf__rechts { display: flex; align-items: center; gap: 10px; }

.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: 4px; }
  .nav a {
    font-size: .97rem; color: var(--tinte); text-decoration: none;
    padding: 9px 12px; border-radius: var(--radius);
    transition: background .15s ease, color .15s ease;
  }
  .nav a:hover { background: var(--papier-tief); color: var(--rot); }
  .nav a[aria-current='page'] {
    color: var(--rot); font-weight: 600;
    box-shadow: inset 0 -2px 0 var(--rot);
  }
}

/* Menueknopf nur auf schmalen Schirmen */
.menue-knopf {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--linie-stark);
  border-radius: var(--radius); padding: 9px 13px;
  font: inherit; font-size: .92rem; color: var(--tinte); cursor: pointer;
}
@media (min-width: 1000px) { .menue-knopf { display: none; } }
.menue-knopf__balken {
  position: relative; width: 17px; height: 2px; background: currentColor;
}
.menue-knopf__balken::before, .menue-knopf__balken::after {
  content: ''; position: absolute; left: 0; width: 17px; height: 2px;
  background: currentColor;
}
.menue-knopf__balken::before { top: -5px; }
.menue-knopf__balken::after { top: 5px; }

/* Schublade. Sichtbarkeit haengt allein an [hidden] bzw. am Zustand -
   KEINE eigene display-Regel auf .schublade, die das aushebeln wuerde. */
.schublade {
  position: fixed; inset: 0; z-index: 60;
  background: var(--papier);
  padding: 20px var(--rand) 40px;
  overflow-y: auto;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
}
.schublade[hidden] { display: none !important; }
.schublade.ist-offen { opacity: 1; transform: none; }
@media (min-width: 1000px) { .schublade { display: none !important; } }

.schublade__kopf {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; margin-bottom: 20px;
}
.schublade__schliessen {
  background: none; border: 1px solid var(--linie-stark);
  border-radius: var(--radius); width: 42px; height: 42px;
  font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--tinte);
}
.schublade nav { display: grid; gap: 2px; }
.schublade nav a {
  display: block; padding: 14px 4px; font-family: var(--serif);
  /* 600, weil der gerade Schnitt nur in dieser Staerke geladen wird. */
  font-size: 1.35rem; font-weight: 600; color: var(--tinte);
  text-decoration: none; border-bottom: 1px solid var(--linie);
}
.schublade nav a[aria-current='page'] { color: var(--rot); }
.schublade__tat { display: grid; gap: 10px; margin-top: 26px; }

/* --------------------------------------------------------------- Knoepfe -- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; padding: 14px 22px; min-height: 50px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  line-height: 1.2; text-align: center; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease,
              transform .16s ease, box-shadow .16s ease;
}
.knopf:hover { transform: translateY(-1px); }
.knopf:active { transform: none; }

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

.knopf--zweit {
  background: var(--flaeche); color: var(--tinte); border-color: var(--linie-stark);
}
.knopf--zweit:hover { border-color: var(--rot); color: var(--rot); }

.knopf--geist { background: transparent; color: #f6efe4; border-color: rgba(246,239,228,.42); }
.knopf--geist:hover { background: rgba(246,239,228,.1); color: #fff; border-color: #f6efe4; }

.knopf--klein { padding: 10px 16px; min-height: 42px; font-size: .93rem; }
.knopf--breit { width: 100%; }

.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 439px) {
  .knopf-reihe { display: grid; }
  .knopf-reihe .knopf { width: 100%; }
}

/* ----------------------------------------------------------------- Hero -- */
.hero { position: relative; background: var(--dunkel); color: #f6efe4; }
.hero__bild { position: absolute; inset: 0; }
/* picture braucht eine eigene Hoehe, sonst greift object-fit am Bild ins
   Leere und das Bild wird auf schmalen Schirmen verzerrt oder gestaucht. */
.hero__bild picture { display: block; width: 100%; height: 100%; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
/* Zwei Verlaeufe uebereinander: einer von links, weil der Text links steht,
   einer von oben/unten fuer Kopfzeile und Statusband. Die Werte stammen
   nicht aus dem Gefuehl, sondern aus tools/kontrast_hero.py - dort wird
   unter den Buchstaben gemessen, nicht gegen eine CSS-Farbe. */
.hero__schleier {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(14,10,8,.88) 0%, rgba(14,10,8,.80) 38%,
                    rgba(14,10,8,.46) 68%, rgba(14,10,8,.34) 100%),
    linear-gradient(to bottom, rgba(14,10,8,.52) 0%, rgba(14,10,8,.34) 40%,
                    rgba(14,10,8,.74) 100%);
}
/* Auf schmalen Schirmen laeuft der Text ueber die ganze Breite - dann muss
   der Schleier auch ueberall gleich stark sein. */
@media (max-width: 720px) {
  .hero__schleier {
    background:
      linear-gradient(to bottom, rgba(14,10,8,.74) 0%, rgba(14,10,8,.70) 45%,
                      rgba(14,10,8,.82) 100%);
  }
}
.hero__inhalt {
  position: relative;
  padding-block: clamp(64px, 11vw, 128px);
}
.hero__inhalt > * { max-width: 46ch; }
/* Die Zeile eigens begrenzen: sonst laeuft die Ueberschrift auf breiten
   Schirmen ueber die ganze Breite und damit aus dem dunklen Teil des
   Schleiers heraus. Zwei Zeilen sitzen besser ueber dem Bild. */
.hero h1 { color: #fff; margin-bottom: .3em; max-width: 21ch; }
.hero__auge {
  display: inline-block; margin-bottom: 18px;
  font-size: .82rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--rot-hell);
}
.hero__lead { font-size: clamp(1.05rem, .95rem + .5vw, 1.28rem); color: #ece1d3; }
.hero .knopf-reihe { margin-top: 28px; }

/* ------------------------------------------------------------- Statusband -- */
.statusband {
  background: var(--dunkel-2); color: #ece1d3;
  border-top: 1px solid rgba(246,239,228,.12);
  font-size: .95rem;
}
.statusband__reihe {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  padding-block: 14px;
}
.status__punkt {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #7fbf6a; margin-right: 8px; vertical-align: baseline;
}
.status__punkt--zu { background: #d98b3f; }
.statusband strong { color: #fff; font-weight: 600; }
.statusband a { color: #f6efe4; }

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

.karte {
  display: flex; flex-direction: column;
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease,
              transform .18s ease;
}
.karte:hover { border-color: var(--linie-stark); box-shadow: var(--schatten); transform: translateY(-2px); }
.karte__bild { background: var(--papier-tief); }
.karte__bild img { width: 100%; height: auto; }
.karte__text { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.karte__text h3 { margin-bottom: .35em; }
.karte__text p { color: var(--tinte-matt); font-size: .97rem; }
.karte__mehr { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .96rem; }
.karte__mehr a { text-decoration: none; }
.karte__mehr a::after { content: ' \203A'; }
.karte__mehr a:hover { text-decoration: underline; }

/* ------------------------------------------------------------ Auszeichnung */
.auge {
  display: block; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--rot);
}
.auf-dunkel .auge { color: var(--rot-hell); }

.blei { font-size: clamp(1.05rem, .98rem + .38vw, 1.22rem); color: var(--tinte-matt); }
.abschnitt__kopf { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }

/* -------------------------------------------------------- Dunkler Block --- */
.auf-dunkel {
  background: var(--dunkel);
  color: #e6dacb;
}
.auf-dunkel h1, .auf-dunkel h2, .auf-dunkel h3 { color: #fff; }
.auf-dunkel .blei { color: #cbbba9; }
.auf-dunkel a { color: #f0c9b4; }

/* -------------------------------------------------------------- Zitat ----- */
.zitat { max-width: 46ch; }
.zitat blockquote {
  margin: 0; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.85rem); line-height: 1.35;
}
.zitat figcaption { margin-top: 18px; font-size: .95rem; }
.zitat cite { font-style: normal; font-weight: 600; }

/* ----------------------------------------------------------- Merkmale ----- */
.merkmale { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .merkmale { grid-template-columns: repeat(2, 1fr); gap: 2px 32px; } }
.merkmale li {
  display: flex; gap: 12px; align-items: flex-start;
  padding-block: 11px; border-bottom: 1px solid var(--linie);
}
.auf-dunkel .merkmale li { border-color: rgba(246,239,228,.14); }
.merkmale svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--rot); }
.auf-dunkel .merkmale svg { color: var(--rot-hell); }

/* ------------------------------------------------------------- Zahlen ----- */
.zahlen { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .zahlen { grid-template-columns: repeat(4, 1fr); } }
.zahl__wert {
  font-family: var(--serif); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem);
  font-weight: 600; line-height: 1; color: var(--rot);
}
.auf-dunkel .zahl__wert { color: var(--rot-hell); }
.zahl__text { margin-top: 8px; font-size: .93rem; color: var(--tinte-matt); }
.auf-dunkel .zahl__text { color: #c1b1a0; }

/* ------------------------------------------------------------ Speisekarte -- */
.kartennav {
  position: sticky; top: 68px; z-index: 30;
  background: rgba(251,247,241,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
  margin-bottom: 8px;
}
@media (min-width: 1000px) { .kartennav { top: 84px; } }
.kartennav__rolle {
  display: flex; gap: 4px; overflow-x: auto; padding-block: 10px;
  scrollbar-width: thin;
}
.kartennav a {
  flex: none; padding: 8px 14px; border-radius: 999px;
  font-size: .92rem; text-decoration: none; color: var(--tinte);
  border: 1px solid var(--linie-stark); white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.kartennav a:hover { background: var(--rot); color: #fff; border-color: var(--rot); }

.gang { padding-block: clamp(30px, 4vw, 52px); border-top: 1px solid var(--linie); }
.gang:first-of-type { border-top: 0; }
.gang__kopf { margin-bottom: 22px; }
.gang__kopf h2 { margin-bottom: .12em; font-style: italic; }
.gang__kopf p { color: var(--tinte-matt); font-size: .98rem; margin: 0; }

.gerichte { list-style: none; margin: 0; padding: 0; }
.gericht {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 18px;
  padding-block: 14px; border-bottom: 1px solid var(--linie);
  align-items: baseline;
}
.gericht:last-child { border-bottom: 0; }
.gericht__name { font-weight: 600; }
.gericht__preis {
  font-variant-numeric: tabular-nums; font-weight: 600;
  white-space: nowrap; color: var(--tinte);
}
.gericht__text {
  grid-column: 1 / -1; margin: 0; font-size: .95rem; color: var(--tinte-matt);
  max-width: 62ch;
}
@media (min-width: 700px) {
  .gericht__text { grid-column: 1; }
}

.hinweisliste {
  list-style: none; margin: 26px 0 0; padding: 18px 20px;
  background: var(--papier-tief); border-radius: var(--radius);
  font-size: .94rem; color: var(--tinte-matt);
}
.hinweisliste li + li { margin-top: 6px; }

.zutaten { list-style: none; margin: 0; padding: 0; }
.zutaten li {
  display: grid; grid-template-columns: 68px 1fr; gap: 14px;
  padding-block: 11px; border-bottom: 1px solid var(--linie);
}
.zutaten b { font-variant-numeric: tabular-nums; }

.deklaration { display: grid; gap: 6px 28px; }
@media (min-width: 700px) { .deklaration { grid-template-columns: repeat(2, 1fr); } }
.deklaration div {
  display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 12px;
  padding-block: 8px; border-bottom: 1px solid var(--linie);
  font-size: .95rem;
}
.deklaration dt { font-weight: 600; margin: 0; }
.deklaration dd { margin: 0; color: var(--tinte-matt); }

/* ---------------------------------------------------------------- Tafel --- */
.tafel {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: clamp(22px, 3vw, 34px);
}
.auf-dunkel .tafel {
  background: rgba(255,255,255,.05); border-color: rgba(246,239,228,.16);
}

.zeiten { list-style: none; margin: 0; padding: 0; }
.zeiten li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  padding-block: 11px; border-bottom: 1px solid var(--linie);
}
.auf-dunkel .zeiten li { border-color: rgba(246,239,228,.14); }
.zeiten li:last-child { border-bottom: 0; }
.zeiten__tag { font-weight: 600; }
.zeiten__zeit { font-variant-numeric: tabular-nums; text-align: right; }
.zeiten li.ist-heute { color: var(--rot); font-weight: 600; }
.auf-dunkel .zeiten li.ist-heute { color: var(--rot-hell); }
.zeiten__ruhetag { color: var(--tinte-matt); }
.auf-dunkel .zeiten__ruhetag { color: #b7a795; }

/* -------------------------------------------------------------- Galerie --- */
.galerie { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .galerie { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1060px) { .galerie { grid-template-columns: repeat(4, 1fr); } }
.galerie figure { margin: 0; }
.galerie img {
  width: 100%; border-radius: var(--radius); background: var(--papier-tief);
  /* Einheitlich quadratisch: die Vorlagen sind mal hoch, mal quer, und im
     Raster richten sich die Zeilen sonst an der hoechsten Kachel aus - das
     reisst Luecken auf. aspect-ratio steht sofort fest, es springt nichts
     nach. */
  aspect-ratio: 1 / 1; object-fit: cover;
}
.galerie figcaption {
  margin-top: 8px; font-size: .87rem; color: var(--tinte-matt);
  line-height: 1.4;
}

.bildpaar { display: grid; gap: 16px; }
@media (min-width: 760px) { .bildpaar { grid-template-columns: repeat(2, 1fr); } }
.bildpaar img { width: 100%; border-radius: var(--radius); }

/* --------------------------------------------------------------- Zwei Spalten */
.duo { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 880px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo--schmal-links { }
@media (min-width: 880px) { .duo--schmal-links { grid-template-columns: 5fr 6fr; } }
.duo__bild img { width: 100%; border-radius: var(--radius); }

/* ------------------------------------------------------------- Formular --- */
.formular { display: grid; gap: 18px; }
.feld { display: grid; gap: 6px; }
.feld label { font-size: .93rem; font-weight: 600; }
.feld input, .feld select, .feld textarea {
  font: inherit; font-size: 1rem; color: var(--tinte);
  background: var(--flaeche);
  border: 1px solid var(--linie-stark); border-radius: var(--radius);
  padding: 12px 14px; min-height: 50px; width: 100%;
}
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  border-color: var(--rot);
}
.feld__hilfe { font-size: .87rem; color: var(--tinte-matt); }
.feld-paar { display: grid; gap: 18px; }
@media (min-width: 620px) { .feld-paar { grid-template-columns: 1fr 1fr; } }

.formular-hinweis {
  padding: 16px 18px; background: var(--papier-tief);
  border-radius: var(--radius); font-size: .94rem; color: var(--tinte-matt);
}

/* ---------------------------------------------------------------- Fuss ---- */
.fuss { background: var(--dunkel); color: #c9b9a7; padding-block: clamp(44px, 6vw, 72px); }
.fuss h2, .fuss h3 { color: #fff; }
.fuss__gitter { display: grid; gap: 34px; }
@media (min-width: 760px) { .fuss__gitter { grid-template-columns: 1.2fr 1fr 1fr; } }
.fuss a { color: #efe5d8; }
.fuss__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .97rem; }
.fuss__titel {
  font-family: var(--sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: #a89684;
  margin-bottom: 14px;
}
.fuss address { font-style: normal; line-height: 1.7; }
.fuss__unten {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(246,239,228,.14);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .89rem; color: #a89684;
}
.fuss__unten a { color: #c9b9a7; }

.entwurfsband {
  background: var(--ocker); color: #fff; font-size: .88rem;
  padding-block: 9px; text-align: center;
}
.entwurfsband a { color: #fff; }

/* ------------------------------------------------------------ Bewegung ---- */
.auftritt { opacity: 0; transform: translateY(14px); }
.auftritt.ist-da { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }

/* Wer keine Bewegung will, bekommt alles sofort und ohne Uebergaenge.
   Wichtig: die Sichtbarkeit darf NICHT an der Animation haengen, sonst
   bleiben ganze Textbloecke dauerhaft unsichtbar. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .auftritt { opacity: 1; transform: none; }
}

html { scroll-behavior: smooth; }
/* Sprungziele nicht unter die klebende Kopfzeile rutschen lassen */
[id] { scroll-margin-top: 92px; }

/* --------------------------------------------------------------- Fehler --- */
.fehlerseite { text-align: center; padding-block: clamp(64px, 10vw, 130px); }
.fehlerseite .knopf-reihe { justify-content: center; }

/* ------------------------------------------------------- Hilfsklassen ----
   Diese Klassen ersetzen style-Attribute. Sie muessen sein, weil die
   Content-Security-Policy der Seite "style-src 'self'" setzt: damit sind
   nicht nur <style>-Bloecke verboten, sondern auch das style-ATTRIBUT und
   jede Zuweisung el.style.x = ... aus dem Skript.

   Lokal ohne CSP sieht alles richtig aus. Auf der echten Adresse werden die
   Angaben stillschweigend verworfen - die Abstaende fehlen, und die Seite
   rollt hinter dem offenen Menue weiter. Nur die Browserkonsole meldet es.
   Darum wacht tools/check_meta.py darueber, dass kein style-Attribut
   zurueckkommt.
   ------------------------------------------------------------------ */
.mt-0  { margin-top: 0; }
.mt-12 { margin-top: 12px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mt-26 { margin-top: 26px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-gross { margin-top: clamp(40px, 5vw, 64px); }
.pt-0 { padding-top: 0; }
.ohne-oberlinie { border-top: 0; }

.mitte { text-align: center; }
.mass-60 { max-width: 60ch; }
.mass-52-zentriert { max-width: 52ch; margin-inline: auto; }
.mass-46-zentriert { max-width: 46ch; margin-inline: auto; }
.knopf-reihe--mitte { justify-content: center; margin-top: 26px; }
.spalte-1 { grid-template-columns: 1fr; }
.tafel--schmal { max-width: 560px; }
.adresse { font-style: normal; line-height: 1.8; }
.gang__bild { margin: 0 0 22px; }
.seitenkopf {
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

/* Der Vorrat mit den Logo-Pfaden. Er darf nichts einnehmen und nichts
   verschieben - width/height 0 allein genuegt nicht, weil er sonst im
   Textfluss eine Zeile erzeugt. */
.marke-vorrat { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Seite sperren, solange das Menue offen ist. */
body.ist-gesperrt { overflow: hidden; }

/* Hinweis im Gutscheinformular, wenn Pflichtfelder fehlen. */
.feld__hilfe.ist-fehler { color: var(--rot); font-weight: 600; }
