/* ==========================================================================
   Metzgerei Sommer, Entwurf C: eine gute neue Marke für ein altes Handwerk
   --------------------------------------------------------------------------
   Grundidee
   - Die Pille ist das Formprinzip. Sie kommt von den runden Flächen des Flyers
     und sieht nicht zufällig ein wenig nach Wurst aus. Knöpfe, Status, Navigation
     sind Pillen, Flächen und Fotos haben große Radien.
   - Die Schrift ist die Stimme: Bricolage Grotesque, kräftig und eng, aber ruhig
     in der Größe. Fotos stehen neben der Schrift, nie in ihr. Figtree trägt den Lesetext.
   - Grün ist die einzige Signalfarbe. Auf Grün steht immer dunkle Schrift.
   - Mobil zuerst gedacht: Jeder Baustein ist bei 390 und 360 px geprüft.

   Inhalt der Datei
    1  Marken und Maße (Variablen)         9  Bento (Fakten)
    2  Schriften                          10  Stapelkarten (Sortiment)
    3  Grundlagen                         11  Stange (Einstiege)
    4  Schriftstufen und Helfer           12  Textliste und Betriebe
    5  Pillen und Links                   13  Bestellzettel
    6  Kopf und Vollbildmenü              14  Jahresband (Rohrbach)
    7  Fuß                                15  Querverweise
    8  Seitenkopf, Anteil, Einstieg       16  Bewegung und Einzelfälle
   17  Folgeseiten: Jagd, Partyservice, Jobs, Recht (am Ende der Datei)
   ========================================================================== */

/* 1  Marken und Maße ======================================================= */
:root {
  /* Aus dem Logo */
  --gruen: #5ab031;
  --anthrazit: #464749;
  /* Abgeleitet */
  --gruen-hell: #dcebc9;      /* Tint für Flächen und Hinweise */
  --gruen-tief: #1f4a14;      /* weiße Schrift erlaubt */
  --gruen-text: #2b7110;      /* kleine Links auf Papier, AA */
  --anthrazit-tief: #2b2c2e;  /* große dunkle Flächen */
  --papier: #f3efe6;
  --papier-tief: #e8e2d4;
  --papier-hell: #fbf9f3;     /* der Bestellzettel */
  --tinte: #1e1f20;
  --tinte-weich: #55565a;     /* Nebentext auf Papier, AA */
  --linie: #8b8a85;           /* Eingabefelder, 3:1 auf hellem Grund */

  /* Radien */
  --r-s: 14px;
  --r-m: 20px;
  --r-l: 32px;
  --r-voll: 999px;

  /* Abstände */
  --rand: clamp(12px, 1.6vw, 24px);     /* Seitenrand: bewusst knapp, die Fläche gehört der Schrift */
  --innen: clamp(20px, 2.4vw, 36px);    /* Innenabstand großer Flächen */
  --luft: clamp(72px, 10vw, 152px);     /* Abstand zwischen Abschnitten */
  --kopf-hoehe: 56px;

  /* Schriftstufen. H1 auf dem Handy rund 2,6 rem, auf dem Desktop höchstens 5,25 rem. */
  --h1: clamp(2.6rem, 1.85rem + 3.2vw, 5.25rem);
  --t1: clamp(2.05rem, 1.55rem + 2.1vw, 3.75rem);
  --t2: clamp(1.6rem, 1.3rem + 1.15vw, 2.6rem);
  --t3: clamp(1.2rem, 1.1rem + 0.4vw, 1.6rem);
  --gross: clamp(1.125rem, 1rem + 0.45vw, 1.4rem);

  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --text: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --bahn: cubic-bezier(0.2, 0.8, 0.2, 1);
  --fokus: var(--tinte);
}

/* 2  Schriften ============================================================= */
/* Pfade relativ, damit sie in der Vorschau und live gleich funktionieren. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

/* 3  Grundlagen ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf-hoehe) + 32px);
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 400 1.0625rem/1.5 var(--text);
  overflow-x: clip;
  hyphens: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
p, dd, li, .stange-text, .textzeile-satz, .weiter-text { text-wrap: pretty; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }
html:not(.js) .nur-js { display: none !important; }

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

.sprung {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 90;
  padding: 12px 20px;
  background: var(--tinte);
  color: #fff;
  border-radius: var(--r-voll);
}
.sprung:not(:focus) { clip-path: inset(50%); pointer-events: none; opacity: 0; }
.sprung:focus { --fokus: var(--gruen); }

main { padding-top: calc(var(--kopf-hoehe) + 28px); }

/* 4  Schriftstufen und Helfer ============================================== */
.t1, .t2, .t3, .zahl {
  font-family: var(--display);
  text-wrap: balance;
}
.t1 { font-size: var(--t1); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
.t2 { font-size: var(--t2); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; }
.t3 { font-size: var(--t3); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }
.gross { font-size: var(--gross); line-height: 1.32; }
.zahl {
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  white-space: nowrap;
}
/* „rund“ gehört zur Zahl und steht klein an ihrer Schulter, damit die Angabe ehrlich bleibt. */
.zahl-rund {
  display: inline-block;
  margin-right: 0.3em;
  vertical-align: 0.1em;
  font: 600 clamp(1.05rem, 1.7vw, 1.5rem)/1 var(--text);
  letter-spacing: 0;
}
/* Das Prozentzeichen steht direkt hinter der Zahl, etwas kleiner, damit die Zahl führt. */
.zahl-prozent {
  font-size: 0.55em;
  letter-spacing: 0;
  margin-left: 0.06em;
  vertical-align: 0.62em;
}

/* 5  Pillen und Links ====================================================== */
.pille {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.6em 1.4em;
  border: 0;
  border-radius: var(--r-voll);
  font: 600 1rem/1.15 var(--text);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--bahn), background-color 0.18s, color 0.18s;
}
.pille:hover { transform: translateY(-2px); }
.pille:active { transform: translateY(0) scale(0.98); }
.pille:focus-visible { border-radius: var(--r-voll); }
.pille-gross { min-height: 60px; font-size: 1.125rem; padding-inline: 1.8em; }
.pille-gruen { background: var(--gruen); color: var(--tinte); }
.pille-gruen:hover { background: #6bc240; }
.pille-tinte { background: var(--tinte); color: var(--papier); }
.pille-tinte:hover { background: var(--gruen-tief); color: #fff; }
.pille-tinte:disabled { background: var(--papier-tief); color: var(--tinte-weich); cursor: default; transform: none; }
.pille-hell { background: var(--papier-hell); color: var(--tinte); }
.pille-hell:hover { background: var(--gruen); }

/* Textlink mit Pfeil: ruhig, unterstrichen, der Pfeil rückt beim Überfahren vor */
.pfeil {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  color: var(--gruen-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.pfeil::after { content: "→"; transition: transform 0.18s var(--bahn); text-decoration: none; }
/* Links nach außen: Der Pfeil steht schräg nach oben, als Bild, weil das Zeichen am iPhone ein Emoji wäre. */
.pfeil[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18 18 6M8 6h10v10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18 18 6M8 6h10v10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pfeil:hover::after { transform: translateX(4px); }
.pfeil-hell { color: #fff; }

/* Status: Offen oder geschlossen, live aus site.js */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.status-punkt {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 2px currentColor;
}
.status.ist-offen .status-punkt { background: var(--gruen); box-shadow: none; }

/* 6  Kopf und Vollbildmenü ================================================= */
/* Schwebt als lose Reihe von Pillen über der Seite; die Lücken dazwischen bleiben durchlässig. */
.kopf {
  position: fixed;
  top: 12px;
  left: var(--rand);
  right: var(--rand);
  z-index: 50;
  display: flex;
  align-items: stretch;
  gap: 8px;
  pointer-events: none;
}
.kopf > * { pointer-events: auto; }
.kopf-logo {
  display: block;
  height: var(--kopf-hoehe);
  margin-right: auto;
  border-radius: 16px;
  flex: none;
}
.kopf-logo img { height: 100%; width: auto; }
/* Die Leiste: nur Menüpunkte und Bestellen, sie beginnt bei „Partyservice“. */
.kopf-leiste {
  flex: none;
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 5px;
  background: var(--anthrazit-tief);
  border-radius: var(--r-voll);
  color: #fff;
  --fokus: #fff;
}
/* Status ganz oben ohne Fläche: Er steht auf der Seite statt im festen Kopf und läuft beim Scrollen weg. */
.kopf-status {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: calc(var(--rand) + 261px);
  right: calc(var(--rand) + 534px);
  height: var(--kopf-hoehe);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1360px) {
  .kopf-status { left: 0; right: 0; }
}
.kopf-nav ul { display: flex; height: 100%; gap: 2px; }
.kopf-nav a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.05em;
  border-radius: var(--r-voll);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.18s, color 0.18s;
}
.kopf-nav a:hover { background: var(--anthrazit); }
.kopf-nav a:focus-visible { border-radius: var(--r-voll); outline-offset: -3px; }
.kopf-nav a[aria-current] { background: var(--papier); color: var(--tinte); }
.kopf-bestellen { min-height: 0; flex: none; }
.kopf-bestellen[aria-current] { background: var(--papier); color: var(--tinte); }

/* Menü oben rechts: nur dort, wo die Pillennavigation nicht mehr passt (siehe Tablet und Handy). */
.kopf-menue, .menue-anker { display: none; }

.menue {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;   /* unten beginnt die Liste: dort, wo der Daumen schon ist */
  gap: 24px;
  padding: 24px var(--rand) calc(16px + env(safe-area-inset-bottom));
  background: var(--gruen);
  color: var(--tinte);
  overflow-y: auto;
}
/* Das Kreuz liegt genau dort, wo eben der Knopf „Menü“ saß. */
.menue-kreuz {
  position: absolute;
  top: 10px;
  right: var(--rand);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--tinte);
  color: var(--papier);
  cursor: pointer;
}
.menue-kreuz:focus-visible { border-radius: 50%; }
.menue-marke-link { flex: none; align-self: flex-start; margin-bottom: auto; border-radius: 12px; }
.menue-marke { display: block; width: 88px; height: auto; }
.menue-liste a {
  display: block;
  padding: 0.08em 0;
  font: 800 clamp(2.6rem, 13.6vw, 5rem)/1.04 var(--display);
  letter-spacing: -0.04em;
  text-decoration: none;
}
.menue-liste a[aria-current] { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.08em; }
.menue-fuss { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.menue-fuss a { display: inline-block; padding-block: 10px; font-weight: 700; }
.menue-fuss .pille { flex: none; min-height: 56px; }
.menue-fuss .pille:hover { background: #fff; }
body.menue-offen { overflow: hidden; }

/* 7  Fuß =================================================================== */
.fuss {
  margin-top: var(--luft);
  padding: clamp(32px, 4vw, 56px) var(--rand) var(--rand);
  background: var(--anthrazit);
  color: #fff;
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
  --fokus: #fff;
}
/* Die Telefonnummer ist das größte Wort im Fuß: Metzger bestellt man telefonisch. */
.fuss-telefon {
  display: block;
  font: 800 13.6vw/0.92 var(--display);
  letter-spacing: -0.05em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.18s;
}
.fuss-telefon:hover { color: var(--gruen); }
.fuss-raster {
  display: grid;
  grid-template-columns: 6fr 3fr 3fr;
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(32px, 5vw, 72px);
}
.fuss-titel { font: 700 var(--t3)/1.1 var(--display); letter-spacing: -0.02em; margin-bottom: 0.7em; }
.fuss a { text-underline-offset: 0.18em; }
.fuss ul a { text-decoration: none; }
.fuss ul a:hover, .fuss ul a[aria-current] { text-decoration: underline; }
.fuss-spalte li { padding: 0.15em 0; }
.fuss-links { margin-top: 0.8em; }
.fuss-links a { font-weight: 600; }
.fuss-unten {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(32px, 5vw, 72px);
}
.fuss-logo { display: block; flex: none; width: clamp(170px, 18vw, 240px); border-radius: 14px; overflow: hidden; }
.fuss-unten ul { display: flex; gap: 22px; }

/* Öffnungszeiten */
.zeiten > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0.55em 0;
  border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent);
}
.zeiten dt { min-width: 0; }
/* Direkt unter einer Überschrift kein Strich, nur zwischen den Einträgen. */
.zeiten > div:first-child { border-top: 0; }
.zeiten dd { flex: none; font-variant-numeric: tabular-nums; }
.zeiten > div.ist-heute { font-weight: 700; }
.zeiten > div.ist-heute dt::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 0.5em;
  border-radius: 50%;
  background: var(--gruen);
  vertical-align: 0.08em;
}

/* 8  Seitenkopf, Anteil, Einstieg ========================================== */
/* Der ruhige Seitenkopf aller Seiten. Überschrift in Schrift, optional ein gutes eigenes Foto.
   Handy: alles untereinander in voller Breite. Desktop mit Bild: Text links, Foto rechts. */
.seitenkopf {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  padding-inline: var(--rand);
}
.seitenkopf-inhalt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 1.6vw, 22px);
  min-width: 0;
}
.seitenkopf-titel {
  max-width: 13em;
  font: 800 var(--h1)/1 var(--display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.seitenkopf-text { max-width: 36em; }
/* Alles neben dem Titel: auf dem Handy läuft es einfach mit, ab 901 px steht es rechts neben dem Titel. */
.seitenkopf-neben { display: contents; }
.seitenkopf-wege { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.seitenkopf-bild img { width: 100%; border-radius: var(--r-l); }
/* Bildnachweis direkt am Foto: klein, aber lesbar. */
.bildnachweis { display: block; margin-top: 8px; font-size: 0.875rem; line-height: 1.3; color: var(--tinte-weich); }
.seitenkopf .status:not([hidden]) { display: flex; justify-content: center; width: 100%; min-height: 44px; }
@media (min-width: 901px) {
  /* Mit Bild: Text links 5 Teile, Foto rechts 7 Teile im Format 4 zu 3. */
  .seitenkopf-mit-bild {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    column-gap: clamp(20px, 3vw, 48px);
  }
  .seitenkopf-mit-bild .seitenkopf-bild img { aspect-ratio: 4 / 3; object-fit: cover; }
  /* Jagd: Die Freisteller bleiben kleiner als die Fotos der anderen Seiten, Trophäen sollen nicht dominieren. */
  .dunkel .seitenkopf-mit-bild { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  /* Groß: Titel und Wege in einer Reihe, darunter das Foto über die ganze Breite. */
  .seitenkopf-gross .seitenkopf-inhalt {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: end;
    column-gap: var(--rand);
  }
  .seitenkopf-gross .seitenkopf-titel { max-width: none; }
  .seitenkopf-neben { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
  .seitenkopf-gross .seitenkopf-wege { justify-content: flex-end; }
  .seitenkopf-gross .seitenkopf-bild img { aspect-ratio: 2 / 1; max-height: 56svh; object-fit: cover; object-position: 50% 70%; }
  /* Partyservice: Querformat 16 zu 9, oben und unten etwas weniger als am Handy. */
  .seitenkopf-party .seitenkopf-bild img { aspect-ratio: 16 / 9; max-height: none; object-fit: cover; object-position: 50% 50%; }
}

/* Der Anteil: 80 Prozent der Breite sind wirklich 80 Prozent. */
.anteil {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 8px;
}
.anteil-80 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8em;
  min-height: clamp(84px, 6.6vw, 104px);
  padding: 0.3em 1.1em;
  background: var(--gruen);
  color: var(--tinte);
  border-radius: var(--r-voll);
  font: 700 clamp(1.2rem, 1.9vw, 2rem)/1.08 var(--display);
  letter-spacing: -0.02em;
  text-decoration: none;
  text-wrap: balance;
  transition: background-color 0.18s;
}
.anteil-80::after { content: "↓"; flex: none; font-family: var(--text); font-weight: 600; transition: transform 0.18s var(--bahn); }
.anteil-80:hover { background: #6bc240; }
.anteil-80:hover::after { transform: translateY(5px); }
.anteil-80:focus-visible, .anteil-rest:focus-visible { border-radius: var(--r-voll); }
.anteil-rest {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  padding-inline: 1.7em 1.5em;
  border: 2px solid var(--tinte);
  border-radius: var(--r-voll);
  font-size: clamp(0.8125rem, 1.05vw, 1rem);
  line-height: 1.22;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.18s, color 0.18s;
}
.anteil-rest:hover { background: var(--tinte); color: var(--papier); }

/* Einstieg */
.einstieg {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr;
  gap: clamp(16px, 2vw, 28px) var(--rand);
  padding: var(--luft) var(--rand) 0;
  align-items: start;
}
.einstieg .t1 { grid-column: 1 / span 5; }
.einstieg-text { grid-column: 1 / span 5; }
.einstieg-text .gross + p { margin-top: 1.1em; }
.einstieg-bild { grid-column: 6 / -1; grid-row: 1 / span 2; }
.einstieg-bild img { width: 100%; border-radius: var(--r-l); }

/* Der Laden: erst groß das Foto, darunter der Satz und daneben die Gläser. */
.laden {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 44px) var(--rand);
  align-items: center;
  padding: var(--luft) var(--rand) 0;
}
.laden-bild { grid-column: 1 / -1; }
.laden-bild img { width: 100%; aspect-ratio: 2.1; object-fit: cover; object-position: 50% 68%; border-radius: var(--r-l); }
.laden-text { grid-column: 1 / span 7; }
.laden-text .gross { margin-top: 0.7em; max-width: 30em; }
.laden-glaeser { grid-column: 8 / -1; }
.laden-glaeser img { width: 100%; border-radius: var(--r-l); }

/* 9  Bento ================================================================= */
.fakten { padding: var(--luft) var(--rand) 0; }
.fakten .t1 { margin-bottom: clamp(20px, 3vw, 44px); }
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  grid-template-rows: 1.35fr 1fr auto;
  grid-template-areas:
    "a a a a a b b b b b b b"
    "a a a a a c c c d d d d"
    "e e e g g g g g g h h h";
}
.kachel {
  min-width: 0;
  border-radius: var(--r-l);
  padding: var(--innen);
  background: var(--papier-tief);
  overflow: hidden;
}
.kachel-80 { grid-area: a; display: flex; flex-direction: column; gap: 14px; background: var(--gruen); }
.kachel-80 .zahl { font-size: min(clamp(9rem, 22vw, 21rem), var(--zahl-max)); }
.kachel-80 .t3 { font-size: var(--t2); max-width: 11em; }
.kachel-80 img { flex: 1 1 0; min-height: 200px; width: 100%; max-width: 600px; object-fit: cover; border-radius: var(--r-m); margin-top: auto; }
/* Leserichtung von oben nach unten: „Ohne“ steht so groß wie die Zahlen der Nachbarkacheln, das Wort direkt
   darunter füllt die Breite der Kachel, zuletzt die Würzung. Der grüne Strich läuft einmal durch das ganze Wort
   (site.js startet ihn, sobald es zu sehen ist; ohne JS steht er einfach da). */
.kachel-ohne {
  grid-area: b;
  position: relative;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 28px);
}
.ohne {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 18px);
  font-family: var(--display);
  font-weight: 800;
}
.ohne-keine { font-size: clamp(6rem, 11vw, 10.5rem); line-height: 0.8; letter-spacing: -0.06em; }
.ohne-wort {
  position: relative;
  width: fit-content;
  font-size: calc(100cqi / 11.15);
  line-height: 1.1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.ohne-wort::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  top: 50%;
  height: 0.11em;
  border-radius: var(--r-voll);
  background: var(--gruen);
  transform-origin: 0 50%;
}
.ohne-satz {
  font: 700 var(--t2)/1.05 var(--display);
  letter-spacing: -0.025em;
}
.strich-wartet .ohne-wort::after { transform: scaleX(0); }
.strich-laeuft .ohne-wort::after { transform: none; animation: strich 0.9s var(--bahn) 0.15s both; }
@keyframes strich { from { transform: scaleX(0); } to { transform: none; } }
.kachel-bild { padding: 0; background: var(--anthrazit); }
.kachel-bild img { width: 100%; height: 100%; object-fit: cover; }
.kachel-hohenlohe { grid-area: c; }
.kachel-herkunft { grid-area: d; display: flex; align-items: flex-end; background: var(--gruen-hell); }
.kachel-herkunft .t3 { font-size: clamp(1.45rem, 2.5vw, 2.4rem); }
.kachel-60 {
  grid-area: e;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--anthrazit-tief);
  color: #fff;
  --fokus: #fff;
}
.kachel-60 .zahl { font-size: min(clamp(6rem, 11vw, 10.5rem), var(--zahl-max)); }
.kachel-60 .pfeil { color: #fff; margin-top: auto; }
.kachel-meister { grid-area: g; display: flex; flex-direction: column; gap: 14px; }
.kachel-meister > p { font-size: 0.9375rem; line-height: 1.38; }
.briefe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; max-width: 620px; }
.briefe img { width: 100%; border-radius: var(--r-s); }
.briefe figcaption { margin-top: 6px; font-size: 0.9375rem; font-weight: 600; line-height: 1.25; }
.kachel-2012 { grid-area: h; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; background: var(--gruen-hell); }
.kachel-2012 .zahl { font-size: clamp(3rem, 4.9vw, 4.8rem); }

/* 10 Stapelkarten ========================================================== */
/* Sticky schiebt jede Karte über die vorherige, --i versetzt die Kanten sichtbar.
   site.js skaliert die verdeckte Karte minimal, ohne JS bleibt der Stapel trotzdem. */
.sortiment { padding: var(--luft) var(--rand) 0; }
.sortiment .t1 { margin-bottom: clamp(20px, 3vw, 44px); }
.stapel { display: grid; gap: 14px; }
.karte {
  position: sticky;
  top: calc(var(--kopf-hoehe) + 20px + var(--i) * 12px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: var(--innen);
  min-height: min(470px, calc(100svh - 130px));
  padding: var(--innen);
  border-radius: var(--r-l);
  transform-origin: 50% 0;
  overflow: hidden;
}
.karte-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1em; align-self: stretch; }
.karte-wort {
  font: 800 clamp(3.25rem, 1.9rem + 5.2vw, 7rem)/0.9 var(--display);
  letter-spacing: -0.05em;
  margin-left: -0.03em;
}
.karte-text p { max-width: 34em; font-size: var(--gross); line-height: 1.32; }
.karte-text > .pille, .karte-wege { margin-top: auto; }
.karte-wege { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
/* Ab 601 px füllt das Foto die rechte Spalte der Karte, oben auf Höhe des Titels, unten auf Höhe des Knopfs.
   Die Maße bleiben unter der Auflösung der Fotos: höchstens 620 px breit, die Karte ist nur rund 470 px hoch. */
.karte-bild { width: 100%; border-radius: var(--r-m); }
@media (min-width: 601px) {
  .karte-bild {
    position: absolute;
    top: var(--innen);
    right: var(--innen);
    width: min(620px, calc((100% - 3 * var(--innen)) * 5 / 12));
    height: calc(100% - 2 * var(--innen));
    object-fit: cover;
  }
}
.karte-bild { margin: 0; overflow: hidden; }
figure.karte-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Im schmalen Hochformat bleiben Kopf der Sau und beide Schafköpfe ganz im Bild. */
figure.karte-bild img[src*="weide-schwein"] { object-position: 88% 50%; }
figure.karte-bild img[src*="weide-schafe"] { object-position: 76% 50%; }
figure.karte-bild figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 0.2em 0.7em;
  background: var(--papier-hell);
  color: var(--tinte);
  border-radius: var(--r-voll);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
}
/* Karte ohne Foto: Der eine Satz steht als grüne Fläche auf dem Platz des Fotos. */
.karte-satz {
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 620px;
  min-height: min(340px, 100%);
  justify-self: end;
  align-self: stretch;
  padding: clamp(18px, 2vw, 28px);
  background: var(--gruen);
  border-radius: var(--r-m);
  font: 800 var(--t1)/1.02 var(--display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.karte-dunkel { background: var(--anthrazit); color: #fff; --fokus: #fff; }
.karte-gruen { background: var(--gruen); }
.karte-hell { background: var(--gruen-hell); }
.karte-wald { background: var(--gruen-tief); color: #fff; --fokus: #fff; }
.karte-papier { background: var(--papier-hell); box-shadow: inset 0 0 0 2px var(--tinte); }

/* 11 Stange ================================================================ */
.stange-teil { padding: var(--luft) var(--rand) 0; }
.stange {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.4vw, 22px);
  margin-top: clamp(28px, 4vw, 56px);
  padding-top: 8px;
}
.stange::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  border-radius: var(--r-voll);
  background: var(--anthrazit);
}
.stange a { display: block; height: 100%; text-decoration: none; }
.stange a:focus-visible { border-radius: var(--r-m); }
.haken {
  display: block;
  width: 4px;
  height: 18px;
  margin-inline: auto;
  background: var(--anthrazit);
}
.stange-bild {
  display: block;
  height: var(--h);
  border-radius: var(--r-voll);
  overflow: hidden;
  background: var(--papier-tief);
  transform-origin: 50% -18px;
}
.stange-bild img { width: 100%; height: 100%; object-fit: cover; }
/* Platz für ein echtes Foto aus der Produktion: die dunkle Pille mit dem Stierkopf. */
.stange-bild-marke { display: grid; place-items: center; background: var(--anthrazit-tief); }
.stange-bild-wald { background: var(--gruen-hell); }
.stange-bild-marke img { width: 46%; max-width: 150px; height: auto; }
/* Hinweis, solange ein Foto fehlt. */
.platz-hinweis {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
  font: 700 1.15rem/1.15 var(--display);
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: balance;
}
.stange-bild-marke { color: #fff; align-content: center; gap: 10px; }
.stange-bild-marke .platz-hinweis { padding: 0 0.8em; }
.stange-bild-wald { color: var(--tinte); }
@media (hover: hover) { .stange a:hover .stange-bild { animation: schwingen 0.9s ease-in-out; } }
.stange-titel {
  display: block;
  margin-top: 0.5em;
  font: 800 clamp(1.5rem, 2.5vw, 2.4rem)/1.05 var(--display);
  letter-spacing: -0.03em;
}
.stange a:hover .stange-titel { text-decoration: underline; text-decoration-thickness: 0.09em; text-underline-offset: 0.1em; }
.stange-text { display: block; margin-top: 0.4em; line-height: 1.35; }
@keyframes schwingen {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(1.6deg); }
  60% { transform: rotate(-1deg); }
  85% { transform: rotate(0.4deg); }
}

/* 12 Textliste und Betriebe ================================================ */
.betriebe {
  margin: var(--luft) var(--rand) 0;
  padding: var(--innen);
  padding-top: clamp(32px, 5vw, 72px);
  background: var(--anthrazit-tief);
  color: #fff;
  border-radius: var(--r-l);
  --fokus: #fff;
}
.betriebe .t1 { max-width: 15em; }
.betriebe-gruppe {
  margin-top: clamp(48px, 6vw, 96px);
  margin-bottom: 0.55em;
}
.textzeile {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 8px clamp(20px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(14px, 1.5vw, 22px) 0;
  border-top: 1px solid rgb(255 255 255 / 26%);
  text-decoration: none;
}
.textliste li:last-child .textzeile { border-bottom: 1px solid rgb(255 255 255 / 26%); }
.textzeile-name {
  font: 700 clamp(1.3rem, 2.3vw, 2.2rem)/1.08 var(--display);
  letter-spacing: -0.025em;
  transition: transform 0.25s var(--bahn), color 0.18s;
}
a.textzeile .textzeile-name::after, .beliefert-lauf a::after {
  /* Als Bild statt Zeichen: Das Zeichen zeigt das iPhone sonst als Emoji. Die festen Leerzeichen halten es am letzten Wort. */
  content: "\00a0\00a0\00a0\00a0";
  font-family: var(--text);
  font-size: 0.72em;
  font-weight: 500;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ab031' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18 18 6M8 6h10v10'/%3E%3C/svg%3E") right center / 0.82em 0.82em no-repeat;
}
.textzeile-satz { color: #e2e0d9; font-size: 1.125rem; line-height: 1.36; }
a.textzeile:hover .textzeile-name, a.textzeile:focus-visible .textzeile-name { color: var(--gruen); transform: translateX(10px); }

/* Das Vorschaubild am Mauszeiger baut site.js nur bei echter Maus ein. */
.vorschau {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: clamp(200px, 20vw, 300px);
  aspect-ratio: 4 / 3;
  border-radius: var(--r-l);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
  background: var(--anthrazit);
}
.vorschau.ist-da { opacity: 1; }
.vorschau img { width: 100%; height: 100%; object-fit: cover; }

.beliefert-lauf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 48px);
  font: 700 clamp(1.3rem, 2.3vw, 2.2rem)/1.08 var(--display);
  letter-spacing: -0.025em;
}
.lauf-teil {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 0.6em;
  padding: clamp(12px, 1.2vw, 18px) 0;
  border-top: 1px solid rgb(255 255 255 / 26%);
}
.beliefert-lauf a { display: inline-block; padding-block: 11px; margin-block: -11px; text-decoration: none; }
.beliefert-lauf a:hover { color: var(--gruen); }
.beliefert-lauf small {
  margin-left: 0.25em;
  font: 500 0.95rem/1 var(--text);
  letter-spacing: 0;
  color: #d8d6cf;
  white-space: nowrap;
}

/* Herzenssache: Ein Wort, ein Satz, kein Foto. */
.herzenssache {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 18px var(--innen);
  align-items: end;
  margin-top: clamp(36px, 5vw, 72px);
  padding: clamp(24px, 3.4vw, 52px) var(--innen);
  background: var(--gruen-tief);
  border-radius: var(--r-l);
}
.herzenssache-wort { font: 800 clamp(2.6rem, 1.5rem + 4.6vw, 6rem)/1 var(--display); letter-spacing: -0.045em; }
.herzenssache p { margin-bottom: 0.7em; }

.projekte {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  /* Nach oben genauso viel Luft wie unten zum Fuß. */
  margin: var(--luft) var(--rand) 0;
  padding: clamp(28px, 4vw, 56px) clamp(28px, 6vw, 88px);
  background: var(--gruen);
  border-radius: clamp(32px, 7vw, 120px);
}
.projekte .t2 { max-width: 18em; }
.projekte .gross { margin-top: 0.5em; }
.projekte .pille { flex: none; }

/* 13 Bestellzettel ========================================================= */
.theke {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--rand);
  align-items: start;
  padding: clamp(36px, 5vw, 72px) var(--rand) 0;
}
.theke-zeiten {
  grid-column: 10 / -1;
  grid-row: 1;
  position: sticky;
  top: calc(var(--kopf-hoehe) + 28px);
  padding-top: 22px;
}
.theke-zeiten .t3 { margin-bottom: 0.5em; }
.theke-zeiten .ist-heute dt::before { background: var(--gruen-text); }

/* Der Zettel: heller Papierbogen mit Lochrand oben, wie vom Block abgerissen. */
.zettel {
  --lochrand: 26px;
  grid-column: 1 / span 9;
  grid-row: 1;
  position: relative;
  min-width: 0;
  padding: calc(var(--lochrand) + 26px) clamp(18px, 3.2vw, 48px) clamp(24px, 3.2vw, 48px);
  background: var(--papier-hell);
  border-radius: var(--r-l);
  box-shadow: 0 1px 0 rgb(30 31 32 / 12%), 0 30px 60px -36px rgb(30 31 32 / 45%);
}
.zettel::before {
  content: "";
  position: absolute;
  top: 12px;
  left: var(--r-l);
  right: var(--r-l);
  height: 14px;
  background: radial-gradient(circle at 7px 7px, var(--papier-tief) 6.5px, transparent 7px) 0 0 / 34px 14px repeat-x;
}
.zettel-titel {
  font: 800 clamp(1.9rem, 3.8vw, 3.6rem)/1 var(--display);
  letter-spacing: -0.04em;
  padding-bottom: 0.3em;
  border-bottom: 3px solid var(--tinte);
}
.zettel-titel:focus-visible { outline-offset: 6px; }

.feld textarea::placeholder { color: var(--tinte-weich); opacity: 1; }

.feld { margin-top: 20px; min-width: 0; }
.feld label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin-bottom: 6px; font-weight: 600; }
.pflicht, .optional { font-size: 0.8125rem; font-weight: 400; color: var(--tinte-weich); }
.feld input, .feld textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0.65em 0.9em;
  background: #fff;
  border: 1.5px solid var(--linie);
  border-radius: var(--r-s);
}
.feld textarea { resize: vertical; line-height: 1.4; }
.feld input:focus, .feld textarea:focus { border-color: var(--tinte); outline: none; box-shadow: 0 0 0 2px var(--tinte); }
.feld [aria-invalid="true"] { border-color: var(--tinte); border-width: 2.5px; }
.feld-hilfe { margin-top: 6px; font-size: 0.9375rem; line-height: 1.38; color: var(--tinte-weich); }
.feld-hilfe strong, .feld-hilfe [data-abholtag-hinweis]:not(:empty) { color: var(--tinte); font-weight: 600; }
/* Fehlermeldung: Keine fremde Warnfarbe, sondern die Tinte als kräftige Marke am Feld. */
.feld-fehler {
  display: block;
  width: fit-content;
  margin-top: 6px;
  padding: 0.4em 0.8em;
  background: var(--tinte);
  color: #fff;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
}
.tage { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag {
  min-height: 44px;
  padding: 0.3em 0.9em;
  border: 0;
  border-radius: var(--r-voll);
  background: var(--papier-tief);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 0.15s;
}
.tag small { font-size: 0.75rem; font-weight: 400; }
.tag:hover { background: var(--gruen-hell); }
.tag:focus-visible { border-radius: var(--r-voll); }
.tag[aria-pressed="true"] { background: var(--gruen); font-weight: 700; }
.zettel-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.feld-breit { grid-column: 1 / -1; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.form-fuss .pille { flex: none; }
.form-hinweis { flex: 1 1 16em; font-size: 0.875rem; line-height: 1.38; color: var(--tinte-weich); }
.form-hinweis a { color: var(--gruen-text); }
.form-meldung {
  margin-top: 20px;
  padding: 0.8em 1.1em;
  background: var(--gruen-hell);
  border-radius: var(--r-m);
  font-weight: 500;
  line-height: 1.38;
}
.form-meldung a { font-weight: 700; white-space: nowrap; }
.pille[aria-busy="true"] { opacity: 0.7; cursor: progress; }

.danke { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.danke-stempel { position: absolute; right: 0; bottom: 0; width: clamp(72px, 9vw, 120px); transform: rotate(-9deg); pointer-events: none; }
.danke .zettel-titel { width: 100%; }
.danke-gruss { font: 700 var(--t3)/1.1 var(--display); letter-spacing: -0.02em; }
.danke-zeilen { width: 100%; }
.danke-zeilen li { padding: 0.4em 0; border-bottom: 2px dotted var(--linie); overflow-wrap: anywhere; }

.angebot {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3vw, 44px) var(--rand);
  padding: var(--luft) var(--rand) 0;
}
.angebot .t1, .angebot-satz { grid-column: 1 / -1; }
.angebot-satz { margin-top: calc(clamp(24px, 3vw, 44px) * -0.5); }
.angebot-liste { grid-column: 1 / span 8; }
.angebot-liste > div {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
  gap: 6px clamp(14px, 1.6vw, 24px);
  padding: 1em 0;
  border-top: 2px solid var(--tinte);
}
.angebot-liste > div:first-child { border-top: 0; padding-top: 0; }
.angebot-liste dt { font: 800 clamp(1.7rem, 3vw, 2.9rem)/1 var(--display); letter-spacing: -0.035em; }
.angebot-liste dd { font-size: 1.1875rem; line-height: 1.38; }
.angebot-liste dd a { color: var(--gruen-text); font-weight: 600; }
.angebot-bilder { grid-column: 9 / -1; display: flex; flex-direction: column; gap: 10px; }
.angebot-bilder img { width: 100%; max-width: 460px; align-self: flex-end; border-radius: var(--r-l); }
/* Desktop: Das Regal steht mittig zur ganzen Sektion, nicht erst neben der Liste. */
@media (min-width: 901px) {
  .angebot:not(.angebot-breit) .t1, .angebot:not(.angebot-breit) .angebot-satz { grid-column: 1 / span 8; }
  .angebot-bilder { grid-row: 1 / span 3; align-self: center; }
}

/* 14 Jahresband ============================================================ */
.naechster a {
  display: inline-block;
  padding: 0.7em 1.2em;
  background: var(--gruen-hell);
  border-radius: var(--r-l);
  font-weight: 600;
  text-decoration: none;
}
.naechster a:hover { background: var(--gruen); }
.naechster a:focus-visible { border-radius: var(--r-l); }
.jahr { padding-top: var(--luft); }
.jahr-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-inline: var(--rand);
  margin-bottom: clamp(20px, 3vw, 40px);
}
.jahr-knoepfe { display: flex; gap: 8px; }
.band {
  --band-hoehe: clamp(112px, 13vw, 190px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rand);
  scrollbar-width: thin;
  scrollbar-color: var(--anthrazit) transparent;
  padding-bottom: 14px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.band.ist-gezogen { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.band:focus-visible { outline-offset: -3px; border-radius: var(--r-m); }
.band-spur { display: flex; width: max-content; padding-inline: var(--rand); }
.band-fest {
  flex: none;
  display: flex;
  flex-direction: column;
  width: min(640px, 84vw);
  scroll-snap-align: start;
}
.band-pause { flex: none; display: flex; flex-direction: column; justify-content: flex-end; }
.band-inhalt { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; padding-right: clamp(20px, 3vw, 44px); padding-bottom: 20px; }
.band-inhalt .t3 { font-size: var(--t2); font-weight: 800; letter-spacing: -0.035em; }
.band-wann { margin-block: 0.5em 0.8em; font-weight: 700; line-height: 1.3; }
.band-von { margin-top: 0.7em; font-size: 0.9375rem; color: var(--tinte-weich); }
.band-von a { color: var(--gruen-text); }
/* Das Foto ragt in den grünen Streifen hinein: So hängt das Fest an seinem Monat. */
.band-bild {
  position: relative;
  z-index: 1;
  width: calc(100% - clamp(20px, 3vw, 44px));
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-l);
  margin-bottom: calc(var(--band-hoehe) * -0.3);
}
.band-bild-satz {
  display: flex;
  align-items: flex-end;
  padding: clamp(16px, 2.4vw, 32px);
  background: var(--gruen-tief);
  color: #fff;
  font: 800 clamp(1.7rem, 3.4vw, 3rem)/1.02 var(--display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.band-monat {
  display: flex;
  align-items: flex-end;
  height: var(--band-hoehe);
  padding: 0 clamp(20px, 3vw, 44px) 0.12em clamp(12px, 1.6vw, 24px);
  background: var(--gruen);
  font: 800 clamp(3.1rem, 8vw, 7.6rem)/0.9 var(--display);
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.band-monat-klein { font-size: clamp(1.6rem, 3vw, 2.8rem); letter-spacing: -0.03em; padding-bottom: 0.5em; }
.band-spur > li:first-child .band-monat { border-radius: var(--r-voll) 0 0 var(--r-voll); padding-left: clamp(28px, 4vw, 60px); }
.band-spur > li:last-child .band-monat { border-radius: 0 var(--r-voll) var(--r-voll) 0; }

.feuerwehr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--innen);
  align-items: stretch;
  margin: var(--luft) var(--rand) 0;
  padding: var(--innen);
  background: var(--anthrazit);
  color: #fff;
  border-radius: var(--r-l);
  --fokus: #fff;
}
.feuerwehr .zahl { font-size: clamp(7rem, 19vw, 18rem); margin-left: -0.04em; margin-bottom: 0.14em; }
.feuerwehr .gross { margin-block: 0.8em 1em; }
.feuerwehr-bild { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-m); }

/* 15 Querverweise ========================================================== */
.weiter { padding: var(--luft) var(--rand) 0; }
.weiter-weg {
  display: grid;
  grid-template-columns: 7fr 5fr auto;
  gap: 4px clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(14px, 1.6vw, 24px) 0;
  border-top: 2px solid var(--tinte);
  text-decoration: none;
}
.weiter li:last-child .weiter-weg { border-bottom: 2px solid var(--tinte); }
.weiter-titel {
  font: 800 var(--t1)/0.98 var(--display);
  letter-spacing: -0.04em;
  transition: transform 0.25s var(--bahn);
}
.weiter-weg::after {
  content: "→";
  display: grid;
  place-items: center;
  width: clamp(48px, 4.4vw, 64px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tinte);
  color: var(--papier);
  font: 600 clamp(1.25rem, 1.8vw, 1.6rem)/1 var(--text);
  transition: background-color 0.18s, color 0.18s, transform 0.25s var(--bahn);
}
.weiter-weg:hover .weiter-titel { transform: translateX(12px); }
.weiter-weg:hover::after { background: var(--gruen); color: var(--tinte); transform: translateX(-6px); }
.dunkel .weiter-weg::after { background: var(--papier); color: var(--tinte); }
.dunkel .weiter-weg:hover::after { background: var(--gruen); }
.weiter-text { font-size: var(--gross); line-height: 1.3; }

/* 16 Bewegung und Einzelfälle ============================================== */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* Einmaliger Auftritt: Der grüne Balken läuft bis auf 80 Prozent. */
  .anteil-80 { animation: balken 0.9s var(--bahn) 0.2s both; }
  .menue:not([hidden]) { animation: menue-auf 0.28s var(--bahn); }
}
@keyframes balken {
  from { clip-path: inset(0 100% 0 0 round 999px); }
  to { clip-path: inset(0 0 0 0 round 999px); }
}
@keyframes menue-auf {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Flache Bildschirme: Eine Karte, die höher wäre als das Fenster, darf nicht kleben. */
@media (max-height: 620px) {
  .karte { position: relative; min-height: 0; }
}

/* Kopf wird eng: erst fällt der Status weg, ab 900 px übernimmt das Menü oben rechts */
@media (max-width: 1180px) {
  .kopf-status { display: none; }
}
/* Auf dem Desktop steht der Status schon im Kopf. */
@media (min-width: 1181px) {
  .seitenkopf .status:not([hidden]) { display: none; }
}

/* Tablet und Handy ========================================================= */
@media (max-width: 900px) {
  :root { --kopf-hoehe: 44px; }
  /* Der Kopf läuft mit der Seite weg, nur „Menü“ bleibt stehen. Das Logo ist dafür oben größer. */
  main { padding-top: calc(clamp(44px, 16vw, 62px) + 30px); }
  .kopf { position: absolute; top: 10px; align-items: flex-start; }
  .dunkel .kopf-menue { --fokus: #fff; }
  /* Die Leiste löst sich auf: Oben stehen nur Logo und Menü, alles andere ist im Vollbildmenü. */
  .kopf-leiste { display: contents; }
  .kopf-nav, .kopf-bestellen { display: none; }
  /* Startseite: Der Status steht über der Überschrift. */
  .seitenkopf .status:not([hidden]) { display: none; }
  /* Rohrbach: Das Band wischt man am Handy mit dem Daumen, die Knöpfe braucht es dort nicht. */
  .jahr .jahr-knoepfe { display: none; }
  /* Oben das Logo fast in voller Breite, darunter links der Status, rechts die Pille „Menü“ in der Anthrazit Farbe des Logos.
     Logo und Status laufen mit der Seite weg, „Menü“ bleibt oben rechts stehen (site.js). */
  :root { --logo-b: min(calc(100vw - 2 * var(--rand)), 520px); --logo-h: calc(var(--logo-b) / 4.373); --reihe2: calc(10px + var(--logo-h) + 8px); }
  main { padding-top: calc(var(--reihe2) + var(--kopf-hoehe) + 18px); }
  .kopf { display: block; }
  .kopf-logo { width: var(--logo-b); height: auto; margin: 0; border-radius: calc(var(--logo-h) * 0.29); }
  .kopf-logo img { display: block; width: 100%; height: auto; }
  .kopf-status { display: flex; top: var(--reihe2); left: var(--rand); right: calc(var(--rand) + 92px); justify-content: flex-start; }
  .kopf-status .status { white-space: normal; }
  /* Der Anker ist so hoch wie Logo und Knopf zusammen und nimmt dank negativem Rand keinen Platz ein.
     Sticky mit negativem top: Der Knopf läuft mit, bis er 10 px unter dem Rand steht, und bleibt dort.
     Das rechnet der Browser selbst, deshalb ruckelt es am Handy nicht. */
  .menue-anker {
    display: block;
    position: sticky;
    z-index: 50;
    top: calc(10px - var(--reihe2));
    height: calc(var(--reihe2) + var(--kopf-hoehe));
    margin-bottom: calc(-1 * (var(--reihe2) + var(--kopf-hoehe)));
    pointer-events: none;
  }
  .kopf-menue {
    position: absolute;
    bottom: 0;
    right: var(--rand);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--kopf-hoehe);
    padding: 0 1.1em;
    border-radius: var(--r-voll);
    background: var(--anthrazit);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 16px -8px rgb(30 31 32 / 70%);
    --fokus: var(--tinte);
  }
  .kopf-menue:focus-visible { border-radius: var(--r-voll); }

  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .fuss-spalte ul a, .fuss-links a, .fuss-unten ul a { display: flex; align-items: center; min-height: 44px; min-width: 44px; width: fit-content; }
  .fuss-logo { padding-block: 3px; }
  .fuss-spalte li { padding: 0; }
  .fuss-links { display: flex; flex-direction: column; }
  .fuss-links br { display: none; }
  .fuss-raster .fuss-spalte:first-child { grid-column: 1 / -1; }

  .anteil { grid-template-columns: 1fr; }
  .anteil-rest { grid-column: 1 / -1; grid-row: 2; min-height: 44px; padding: 4px 0 0; border: 0; font-size: 1rem; text-decoration: underline; text-underline-offset: 0.2em; }
  .anteil-rest:hover { background: none; color: inherit; }
  .einstieg { grid-template-rows: none; }
  .einstieg .t1, .einstieg-text, .einstieg-bild { grid-column: 1 / -1; grid-row: auto; }
  .seitenkopf-bild img { aspect-ratio: 4 / 3; object-fit: cover; }
  .seitenkopf-gross .seitenkopf-bild img { aspect-ratio: auto; }
  .laden-bild img { aspect-ratio: 4 / 3; object-position: 58% 50%; }
  .laden-text, .laden-glaeser { grid-column: 1 / -1; }

  .bento {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      "a a a a a a"
      "b b b b b b"
      "d d d c c c"
      "e e e h h h"
      "g g g g g g";
  }
  .kachel-80 .zahl { font-size: min(clamp(6.5rem, 22vw, 11rem), var(--zahl-max)); }
  .kachel-60 .zahl { font-size: min(clamp(5rem, 14vw, 7rem), var(--zahl-max)); }
  .kachel-2012 .zahl { font-size: clamp(3.4rem, 9vw, 4.6rem); }
  .kachel-herkunft .t3 { font-size: var(--t3); }

  .karte { top: calc(var(--kopf-hoehe) + 18px + var(--i) * 8px); min-height: min(380px, calc(100svh - 110px)); }
  .karte-text p { font-size: 1.0625rem; }
  .theke-zeiten { display: none; }
  .zettel { grid-column: 1 / -1; }

  /* Die Stange läuft von Rand zu Rand unter dem Daumen durch. Jede Pille hängt in voller Länge,
     Titel und Satz stehen vollständig darunter, die nächste Pille schaut rechts schon herein. */
  .stange {
    display: flex;
    gap: 0;
    margin-inline: calc(var(--rand) * -1);
    padding: 0 var(--rand) 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--rand);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .stange::-webkit-scrollbar { display: none; }
  .stange::before { display: none; }
  .stange li {
    position: relative;
    flex: none;
    width: clamp(150px, 43.5vw, 240px);
    padding: 8px 8px 0;
    scroll-snap-align: start;
  }
  /* Jeder Eintrag bringt sein Stück Stange mit, so läuft sie über die ganze Spur. */
  .stange li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--anthrazit);
  }
  .stange li:first-child { padding-left: 0; width: clamp(142px, calc(43.5vw - 8px), 232px); }
  .stange li:first-child::before { border-radius: var(--r-voll) 0 0 var(--r-voll); }
  .stange li:last-child { padding-right: 0; width: clamp(142px, calc(43.5vw - 8px), 232px); }
  .stange li:last-child::before { border-radius: 0 var(--r-voll) var(--r-voll) 0; }
  .stange-bild { height: calc(var(--h) * 0.66); transform: rotate(calc(var(--schwung, 0deg) * var(--pendel, 1))); }
  .stange a:active .stange-bild { filter: brightness(0.92); }
  .stange-titel { font-size: 1.4rem; }
  .stange-text { font-size: 0.9375rem; }

  .textzeile { grid-template-columns: 1fr; }
  .weiter-weg { grid-template-columns: minmax(0, 1fr) auto; }
  .weiter-weg::after { grid-column: 2; grid-row: 1; }
  .weiter-text { grid-column: 1 / -1; }
  .beliefert-lauf { grid-template-columns: 1fr; }
  .beliefert-lauf small { flex-basis: 100%; margin-left: 0; }
  .lauf-teil { padding-block: 10px; }
  .herzenssache { grid-template-columns: 1fr; }
  .projekte { flex-direction: column; align-items: flex-start; border-radius: var(--r-l); }

  .angebot-liste, .angebot-bilder { grid-column: 1 / -1; }
  .angebot-bilder { align-items: center; }
  .angebot-bilder img { width: min(100%, 320px); align-self: center; }

  /* Band: Die Titel stehen auf einer Linie, das Foto füllt den Platz bis zum Monat. So gibt es keine Lücke über kurzen Texten. */
  .band-inhalt { flex: none; justify-content: flex-start; }
  .band-bild { flex: 1 1 auto; height: 0; min-height: clamp(172px, 46vw, 340px); aspect-ratio: auto; }
  .band-bild-satz { font-size: clamp(2.2rem, 9.6vw, 3rem); }

  .feuerwehr { grid-template-columns: 1fr; }
  .feuerwehr-bild { height: auto; aspect-ratio: 16 / 9; }
}

/* Handy ==================================================================== */
@media (max-width: 600px) {
  .seitenkopf-wege { width: 100%; }
  .seitenkopf-wege .pille { flex: 1 1 0; padding-inline: 0.5em; font-size: 1.0625rem; }
  .anteil-80 { font-size: 1.2rem; padding-inline: 1.2em 0.9em; }

  /* Jede Karte passt ins Fenster: feste Höhe, das Foto nimmt den Rest und gibt nach, der Text nie.
     So zeigt die oben klebende Karte alles, bevor die nächste kommt. Unter dem Kopf bleibt sie frei. */
  .karte {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: min(35rem, calc(100svh - var(--kopf-hoehe) - 34px - var(--i) * 8px));
    min-height: 0;
    gap: 14px;
    padding: 20px;
  }
  .karte-wort { font-size: 3.4rem; }
  .karte-text { flex: none; gap: 0.7em; align-self: auto; }
  .karte-text p { font-size: 1.0625rem; line-height: 1.34; }
  .karte-text > .pille, .karte-wege { margin-top: 0.2em; }
  .karte-wege { gap: 4px 18px; }
  .karte-bild { flex: 1 1 0; min-height: 0; height: 0; max-width: none; object-fit: cover; }
  figure.karte-bild { position: relative; }
  figure.karte-bild img { position: absolute; inset: 0; }
  /* Lamm hat kein Foto: Der Satz füllt die Fläche als Schriftplakat. */
  .karte-satz { flex: 1 1 0; min-height: 0; max-width: none; font-size: 13.5vw; line-height: 1; letter-spacing: -0.045em; text-wrap: wrap; }

  /* Das Bento wird eine klare Folge: gleiche Breite, gleicher Innenabstand, gleiche Zahlengröße.
     Die Reihenfolge erzählt: selbst gemacht, was nicht drin ist, woher es kommt, Wild, wer es macht, seit wann. */
  .kachel { border-radius: 24px; padding: 20px; }
  .bento {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
  }
  .bento > * { grid-area: auto; }
  .kachel-80 .zahl, .kachel-60 .zahl { font-size: min(6.5rem, var(--zahl-max)); }
  .kachel-80 .t3, .kachel-60 .t3, .kachel-2012 .t3, .kachel-herkunft .t3, .kachel-meister .t3 { font-size: 1.45rem; max-width: none; line-height: 1.1; }
  .kachel-80 img { flex: none; min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  /* Gleicher Takt wie 80, 60 und 2012: großes Wort oben, darunter der Satz. */
  .kachel-ohne { gap: 14px; }
  .ohne { gap: 12px; }
  .ohne-keine { font-size: 6.5rem; }
  .ohne-satz { font-size: 1.45rem; line-height: 1.1; }
  .kachel-hohenlohe { padding: 0; aspect-ratio: 515 / 315; }
  .kachel-60 .pfeil { margin-top: 0; }
  .kachel-2012 { gap: 14px; }
  .kachel-2012 .zahl { font-size: 6.5rem; letter-spacing: -0.07em; }

  .herzenssache-wort { font-size: min(2.6rem, 10.4vw); }
  .fuss-raster { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 16px; }
  .zettel-raster { grid-template-columns: 1fr; }
  .form-fuss .pille { width: 100%; }
  .angebot-liste > div { grid-template-columns: 1fr; }
  .fuss-unten { flex-direction: column; align-items: flex-start; }
  .jahr-knoepfe .pille { flex: 1 1 0; }
  .jahr-knoepfe { width: 100%; }
}

/* Sehr niedriges Fenster: Die Karten kleben nicht mehr (siehe oben), also dürfen sie auch ihre natürliche Höhe haben. */
@media (max-width: 600px) and (max-height: 620px) {
  .karte { height: auto; }
  .karte-bild { flex: none; height: auto; aspect-ratio: 16 / 9; }
  .karte-satz { flex: none; }
}

/* 17 Folgeseiten ============================================================ */

/* Jagd: die ganze Seite ist dunkel, der Wald trägt sie. Grün bleibt die Signalfarbe. */
body.dunkel {
  --wald: #101812;
  --wald-flaeche: #1a2a1f;
  --fokus: #fff;
  background: var(--wald);
  color: #fff;
}
.dunkel .pfeil { color: var(--gruen); }
.dunkel .weiter-weg { border-top-color: rgb(255 255 255 / 34%); }
.dunkel .weiter li:last-child .weiter-weg { border-bottom-color: rgb(255 255 255 / 34%); }
.dunkel main a:not([class]), .dunkel .form-hinweis a { color: var(--gruen); }

.dunkel .seitenkopf { --fokus: #fff; }
.dunkel .seitenkopf .pille-hell { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.dunkel .seitenkopf .pille-hell:hover { background: #fff; color: var(--tinte); }
/* Freisteller mit Alpha: nie beschneiden, kein Radius. Der Selektor schlägt die Fotoregeln des Seitenkopfs auf jeder Breite. */
.dunkel .seitenkopf-mit-bild .seitenkopf-bild.seitenkopf-freisteller img { height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; }

.revier {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  padding: var(--luft) var(--rand) 0;
}
.revier > * { min-width: 0; border-radius: var(--r-l); overflow: hidden; }
.revier-text {
  grid-column: 6 / span 7;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1em;
  padding: var(--innen);
  background: var(--wald-flaeche);
}
.revier-text .t1 { font-size: var(--t1); }
.revier-text p { max-width: 30em; }
.revier-60 {
  grid-column: 1 / span 5;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--innen);
  background: var(--gruen);
  color: var(--tinte);
}
.revier-60 .zahl { font-size: min(clamp(8rem, 18vw, 17rem), var(--zahl-max)); }
.revier-60 .t3 { font-size: var(--t2); max-width: 11em; }
.revier-kein {
  grid-column: 9 / span 4;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.6em;
  padding: var(--innen);
  background: var(--gruen-tief);
}
.revier-kein .t2 { font-size: var(--t2); }
.platz {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  background: linear-gradient(160deg, var(--wald-flaeche), #223a28);
}
.platz-hund { grid-column: 1 / span 4; grid-row: 2; }
.platz-revier { grid-column: 5 / span 4; grid-row: 2; }
.platz img { width: 46%; max-width: 150px; height: auto; border-radius: 18%; }
.platz p { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 0.6em 1em; background: var(--papier-hell); color: var(--tinte); border-radius: var(--r-m); font: 800 1.15rem/1.1 var(--display); letter-spacing: -0.02em; }

.saison { padding: var(--luft) var(--rand) 0; }
.saison-kopf { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px var(--rand); align-items: end; }
.saison-kopf .t1 { grid-column: 1 / span 7; }
.saison-kopf .gross { grid-column: 8 / -1; }
.saison-tafel {
  margin-top: clamp(24px, 3.4vw, 48px);
  padding: var(--innen);
  background: var(--wald-flaeche);
  border-radius: var(--r-l);
}
.saison-monate, .saison-spur {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}
.saison-monate { margin-bottom: 16px; font-weight: 600; font-size: 0.9375rem; color: #d8e3d2; text-align: center; }
.saison-monate .kurz { display: none; }
.saison-zeile { margin-top: clamp(18px, 2.2vw, 28px); }
.saison-zeile:first-of-type { margin-top: 0; }
.saison-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; margin-bottom: 8px; }
.saison-wann { color: #d8e3d2; }
.saison-spur { position: relative; height: clamp(34px, 3.6vw, 48px); }
.saison-spur::before {
  content: "";
  grid-column: 1 / -1;
  grid-row: 1;
  background: rgb(255 255 255 / 8%);
  border-radius: var(--r-voll);
}
.saison-balken { grid-row: 1; background: var(--gruen); border-radius: var(--r-voll); }
.saison-balken-herbst {
  background: linear-gradient(90deg, rgb(90 176 49 / 0%) 0%, var(--gruen) 20%, var(--gruen) 80%, rgb(90 176 49 / 0%) 100%);
  border-radius: 0;
}
.saison-fuss { margin-top: clamp(20px, 2.4vw, 32px); max-width: 44em; }
.saison-fuss a { font-weight: 600; }

.wildregion {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3vw, 44px) var(--rand);
  align-items: center;
  padding: var(--luft) var(--rand) 0;
}
.wildregion-text { grid-column: 1 / span 7; }
.wildregion-text .t1 { margin-bottom: 0.4em; }
.wildregion-text p + p { margin-top: 1em; }
.wildregion-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 1.4em; }
.wildregion-jaeger { grid-column: 1 / span 7; }
.urkunde-foto { grid-column: 8 / -1; grid-row: 1 / span 2; margin: 0; max-width: 440px; justify-self: center; width: 100%; }
.urkunde-foto img { display: block; width: 100%; height: auto; border-radius: var(--r-m); }
.jaegerbriefe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 1em; max-width: 640px; }
.jaegerbriefe figure { margin: 0; }
.jaegerbriefe img { display: block; width: 100%; height: auto; border-radius: 14px; }
.jaegerbriefe figcaption { margin-top: 8px; font-size: .875rem; line-height: 1.3; }


.projekte { color: var(--tinte); }
.projekte-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; flex: none; }
.projekte-knoepfe .pille-hell:hover { background: #fff; }

/* Partyservice */
.party-zehn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px 10px 16px;
  background: var(--gruen-hell);
  border-radius: var(--r-voll);
  font: 700 var(--t3)/1.1 var(--display);
  letter-spacing: -0.015em;
}
.party-zehn svg { flex: none; width: 36px; height: auto; }
.anregungen { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px var(--rand); align-items: center; padding: var(--luft) var(--rand) 0; }
.anregungen-kopf { grid-column: 1 / span 7; }
.anregungen-kopf .gross { margin-top: 0.6em; max-width: 30em; }
.anregungen-kopf .seitenkopf-wege { margin-top: 1.2em; }
.anregungen-bild { grid-column: 8 / -1; }
.anregungen-bild img { width: 100%; border-radius: var(--r-l); }
.anregung-liste { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--rand); margin-top: clamp(8px, 2vw, 24px); }
.anregungen-fuss { grid-column: 1 / -1; }
/* Drei echte Buffetfotos: zwei hohe rahmen die breite Platte ein. */
.party-bilder { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 10px; margin-top: clamp(16px, 2.4vw, 32px); }
.party-bilder img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-l); }
.anregung-liste li { padding: 0.55em 0; border-top: 2px solid var(--tinte); font: 800 clamp(1.3rem, 2.6vw, 2.4rem)/1.08 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.anregungen-fuss { max-width: 44em; margin-top: 8px; }
.anregungen-fuss a { color: var(--gruen-text); font-weight: 600; }

.beratung {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--rand);
  align-items: start;
  padding: var(--luft) var(--rand) 0;
}
.beratung-seite {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--kopf-hoehe) + 28px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.beratung-seite p { max-width: 30em; }
.beratung .karte-form { grid-column: 6 / -1; }
.karte-form {
  min-width: 0;
  padding: clamp(24px, 3.2vw, 48px) clamp(18px, 3.2vw, 48px);
  background: var(--papier-hell);
  border-radius: var(--r-l);
  box-shadow: 0 1px 0 rgb(30 31 32 / 12%), 0 30px 60px -36px rgb(30 31 32 / 45%);
}
html:not(.js) .karte-form { grid-column: 1 / -1; }
.feld-hilfe a { color: var(--gruen-text); }
.feld input[type="file"] { padding: 0.55em 0.7em; min-height: 54px; }
.feld input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 0.5em 1.1em;
  border: 0;
  border-radius: var(--r-voll);
  background: var(--tinte);
  color: var(--papier);
  font: 600 0.9375rem var(--text);
  cursor: pointer;
}
.feld select { display: block; width: 100%; min-height: 50px; padding: 0.65em 0.9em; background: #fff; border: 1.5px solid var(--linie); border-radius: var(--r-s); }

.portraet {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--anthrazit);
}
.portraet .platz-hinweis { aspect-ratio: 1; background: var(--gruen-hell); color: var(--tinte); }
.portraet-fuss {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 2px 12px;
  padding: 12px 16px;
  background: var(--papier-hell);
  color: var(--tinte);
  border-radius: var(--r-m);
}
.portraet-fuss strong { grid-column: 1 / -1; font: 800 1.35rem/1.05 var(--display); letter-spacing: -0.03em; }
.portraet-fuss .bildnachweis { margin: 0; font-size: 0.8125rem; }
.beratung-seite .pille { margin-top: 4px; }

/* Projekte (am Ende von Rohrbach) */
.projekt-flaeche {
  margin: var(--luft) var(--rand) 0;
  background: var(--gruen);
  border-radius: clamp(32px, 6vw, 96px);
}
.projekt-flaeche .beratung { padding: clamp(28px, 4.5vw, 72px) clamp(20px, 4vw, 64px); }
.projekt-flaeche .beratung-seite .t1 { font-size: clamp(2rem, 3.3vw, 3.4rem); }
.projekt-flaeche .beratung .karte-form { box-shadow: none; }
.projekt-flaeche .beratung-seite a:not([class]) { font-weight: 700; }

/* Impressum und Datenschutz */
.recht {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--rand);
  padding: var(--luft) var(--rand) 0;
  align-items: start;
}
.recht-inhalt { grid-column: 4 / span 8; min-width: 0; }
.recht-inhalt h2 {
  margin: 2.2em 0 0.55em;
  font: 700 clamp(1.5rem, 2.5vw, 2.2rem)/1.08 var(--display);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.recht-inhalt > h2:first-child { margin-top: 0; }
.recht-inhalt h3 { margin: 1.8em 0 0.5em; font: 700 var(--t3)/1.1 var(--display); letter-spacing: -0.02em; }
.recht-inhalt p { margin-top: 0.8em; max-width: 44em; }
.recht-inhalt ul { margin: 0.8em 0 0; padding-left: 1.3em; list-style: disc; max-width: 44em; }
.recht-inhalt li { padding: 0.12em 0; }
.recht-inhalt a { color: var(--gruen-text); text-underline-offset: 0.16em; overflow-wrap: anywhere; }
.recht-inhalt [data-offen] { padding: 0.05em 0.45em; background: var(--gruen-hell); border-radius: 8px; }
.recht-inhalt table { width: 100%; margin-top: 1em; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.38; }
.recht-inhalt th { padding: 0.5em 0.8em 0.5em 0; border-bottom: 2px solid var(--tinte); text-align: left; font-weight: 700; }
.recht-inhalt td { padding: 0.7em 0.8em 0.7em 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.recht-inhalt td:last-child, .recht-inhalt th:last-child { padding-right: 0; }
.recht-nav { grid-column: 1 / span 3; position: sticky; top: calc(var(--kopf-hoehe) + 28px); }
.recht-nav ul { display: flex; flex-direction: column; gap: 2px; }
.recht-nav a { display: block; padding: 0.35em 0; font-size: 0.9375rem; line-height: 1.3; text-decoration: none; }
.recht-nav a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .revier-text, .revier-60, .revier-kein { grid-column: 1 / -1; grid-row: auto; }
  .revier-60 .zahl { font-size: min(min(37vw, 13rem), var(--zahl-max)); }
  .platz-hund, .platz-revier { grid-column: span 6; grid-row: auto; }
  .saison-kopf .t1, .saison-kopf .gross { grid-column: 1 / -1; }
  .wildregion-text, .wildregion-jaeger, .urkunde-foto { grid-column: 1 / -1; grid-row: auto; }
  .urkunde-foto { max-width: 340px; justify-self: center; }
  .anregungen-kopf, .anregungen-bild { grid-column: 1 / -1; }
  .beratung-seite, .beratung .karte-form { grid-column: 1 / -1; position: static; }
  .projekt-flaeche { border-radius: var(--r-l); }
  .recht-nav { display: none; }
  .recht-inhalt { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .revier > * { border-radius: 24px; }
  .revier-text, .revier-60, .revier-kein { padding: 20px; }
  .revier-60 .zahl { font-size: min(6.5rem, var(--zahl-max)); }
  .revier-60 .t3, .revier-kein .t2 { font-size: 1.45rem; max-width: none; }
  .platz { min-height: 0; aspect-ratio: 4 / 5; }
  .platz p { font-size: 1rem; left: 8px; right: 8px; bottom: 8px; padding: 0.5em 0.8em; }
  .saison-monate .lang { display: none; }
  .saison-monate .kurz { display: inline; }
  .saison-monate { font-size: 0.8125rem; gap: 2px; }
  .saison-monate, .saison-spur { gap: 2px; }
  .saison-tafel { padding: 18px 14px; }
  .anregung-liste { grid-template-columns: 1fr; }
  .party-bilder { grid-template-columns: 1fr 1fr; }
  .party-bild-breit { grid-column: 1 / -1; grid-row: 1; }
  .party-bilder img { border-radius: 24px; }
  .portraet { max-width: none; }
  .portraet .platz-hinweis { aspect-ratio: 4 / 3; }
  .recht-inhalt table, .recht-inhalt thead, .recht-inhalt tbody, .recht-inhalt tr, .recht-inhalt td { display: block; }
  .recht-inhalt thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .recht-inhalt tr { padding: 12px 0; border-bottom: 1px solid var(--linie); }
  .recht-inhalt td { padding: 2px 0; border: 0; }
  .recht-inhalt td::before { content: attr(data-label) ": "; font-weight: 700; }
  .recht-inhalt td:not([data-label])::before { content: none; }
  .projekte-knoepfe .pille { width: 100%; }
}

@media (min-width: 901px) { .nur-schmal { display: none; } main { padding-top: calc(var(--kopf-hoehe) + 44px); } }
/* Rohrbach: Das Panorama läuft als Atempause zwischen Band und Feuerwehr. */
.blick { margin: var(--luft) var(--rand) 0; }
.blick img { width: 100%; border-radius: var(--r-l); }
@media (max-width: 600px) { .blick img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 32% 50%; } }
/* Tablet: Zahl und Foto der 80 stehen nebeneinander, das Foto bleibt unter seiner Auflösung. */
@media (min-width: 601px) and (max-width: 900px) {
  .kachel-80 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 14px var(--innen); }
  .kachel-80 img { grid-column: 2; grid-row: 1 / span 2; height: 100%; min-height: 0; margin: 0; }
}
/* Jobs: kurze Liste, darum läuft sie über die volle Breite. */
.angebot-breit .angebot-liste { grid-column: 1 / -1; }
.angebot-breit .angebot-liste dd { font-size: var(--gross); line-height: 1.3; }
@media (max-width: 600px) {
  .angebot-breit .angebot-liste dd { font-size: 1.0625rem; }
  .projekt-flaeche .beratung-seite .t1 { font-size: min(2rem, 8.6vw); }
}

/* Echtes Foto im Platz auf /jagd: füllt die Fläche, das Schild bleibt unten. */
.platz-foto { margin: 0; overflow: hidden; }
.platz-foto img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.platz-foto figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 0.6em 1em; background: var(--papier-hell); color: var(--tinte); border-radius: var(--r-m); font: 800 1.15rem/1.1 var(--display); letter-spacing: -0.02em; }
@media (max-width: 600px) { .platz-foto figcaption { font-size: 1rem; left: 8px; right: 8px; bottom: 8px; padding: 0.5em 0.8em; } }

/* Geflügel hat noch kein Foto: dunkle Fläche mit Stierkopf und Hinweis, wie die Pillen an der Stange. */
.karte-platz { display: grid; place-items: center; align-content: center; gap: 10px; background: var(--anthrazit-tief); color: #fff; }
.karte-platz img { width: 30%; max-width: 150px; height: auto; }

/* Einstieg ohne Foto: Überschrift links, Text rechts daneben. */
.einstieg-ohne-bild { grid-template-rows: auto; align-items: end; }
.einstieg-ohne-bild .t1 { grid-column: 1 / span 7; }
.einstieg-ohne-bild .einstieg-text { grid-column: 8 / -1; grid-row: 1; }
@media (max-width: 900px) {
  .einstieg-ohne-bild .t1, .einstieg-ohne-bild .einstieg-text { grid-column: 1 / -1; grid-row: auto; }
}

/* Im Laden: das Weihnachtsfoto ist hochkant, hier quer beschnitten wie das Bild davor. */
.laden-glaeser img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }

/* Startseite ab 901 px: Satz und Anteil links, die Aufschnittplatte rechts im ganzen Hochformat. */
@media (min-width: 901px) {
  .seitenkopf-hochkant { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr 1fr; column-gap: clamp(28px, 4vw, 72px); row-gap: clamp(24px, 3vw, 44px); align-items: start; }
  .seitenkopf-hochkant .seitenkopf-inhalt { grid-column: 1; grid-row: 1; align-self: end; display: flex; flex-direction: column; align-items: flex-start; }
  .seitenkopf-hochkant .seitenkopf-neben { align-items: flex-start; }
  .seitenkopf-hochkant .seitenkopf-bild { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .seitenkopf-hochkant .seitenkopf-bild img { width: auto; height: min(calc(100svh - 150px), 780px); min-height: 420px; max-height: none; aspect-ratio: 977 / 1600; object-fit: cover; }
  .seitenkopf-hochkant .anteil { grid-column: 1; grid-row: 2; align-self: start; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .seitenkopf-hochkant .anteil { grid-template-columns: 4fr 1fr; }
  .seitenkopf-hochkant .anteil-rest { grid-column: 1 / -1; grid-row: 2; min-height: 44px; padding: 4px 0 0; border: 0; font-size: 1rem; text-decoration: underline; text-underline-offset: 0.2em; }
  .seitenkopf-hochkant .anteil-rest:hover { background: none; color: inherit; }
}

/* Startseite: die Platte quer und ganz. Ab 901 px Text links, Bild rechts in voller Höhe des Bildes. */
@media (min-width: 901px) {
  .seitenkopf-quer-rechts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .seitenkopf-quer-rechts .anteil-rest { grid-column: 1 / -1; grid-row: 2; min-height: 44px; padding: 4px 0 0; border: 0; font-size: 1rem; text-decoration: underline; text-underline-offset: 0.2em; }
  .seitenkopf-quer-rechts .anteil-rest:hover { background: none; color: inherit; }
  .seitenkopf-quer-rechts .seitenkopf-bild { align-self: center; }
  .seitenkopf-quer-rechts .seitenkopf-bild img { width: 100%; height: auto; min-height: 0; aspect-ratio: auto; }
}

/* Kopfbild im eigenen Format zeigen, ohne Zuschnitt auf 4 zu 3 (/bestellen). */
.seitenkopf .seitenkopf-bild-ganz img { aspect-ratio: auto; height: auto; }

/* /partyservice ab 901 px: Überschrift und Text stehen in der Höhe mittig neben dem Bild. */
@media (min-width: 901px) {
  .seitenkopf-mittig { grid-template-rows: auto; align-items: center; }
  .seitenkopf-mittig .seitenkopf-inhalt { grid-row: 1; align-self: center; }
  .seitenkopf-mittig .seitenkopf-bild { grid-row: 1; }
}

/* /partyservice „Ein paar Anregungen“ ab 901 px: Bild links, Text rechts. Am Handy bleibt erst der Text, dann das Bild. */
@media (min-width: 901px) {
  .anregungen-bild { grid-column: 1 / span 5; grid-row: 1; align-self: start; }
  .anregungen-kopf { grid-column: 6 / -1; grid-row: 1; align-self: start; }
  /* Oberkante der Überschrift auf Höhe der Bildkante: den Leerraum über den Großbuchstaben abziehen. */
  .anregungen-kopf .t1 { margin-top: -0.12em; }
}

/* Tierkarten: freigestelltes Tier direkt auf der Kartenfarbe, ganz sichtbar, ohne Fläche dahinter. */
figure.karte-tier { background: none; border-radius: 0; overflow: visible; }
figure.karte-tier img { object-fit: contain; object-position: 50% 100%; }

/* Große Prozentzahlen: Zahl und Zeichen bleiben in einer Zeile und werden nie breiter als ihre Kachel. */
.kachel-80, .kachel-60, .revier-60 { container-type: inline-size; }
.kachel-80 .zahl, .kachel-60 .zahl, .revier-60 .zahl { --zahl-max: calc((100cqi - 4.6rem) / 1.8); }

/* Altes Foto aus der früheren Metzgerei: Die Bildunterschrift liegt unten auf dem Bild und gibt ihm den Zusammenhang. */
.kachel-historisch { position: relative; }
.kachel-historisch figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px var(--innen) 16px;
  background: linear-gradient(to top, rgb(0 0 0 / 0.78), rgb(0 0 0 / 0.5) 60%, transparent);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: pretty;
}
@media (max-width: 600px) {
  .kachel-historisch.kachel-hohenlohe { aspect-ratio: auto; }
  .kachel-historisch img { height: auto; aspect-ratio: 515 / 315; }
  .kachel-historisch figcaption { position: static; padding: 14px 20px 18px; background: none; }
}

/* Startseite oben: Öffnungszeiten und Anfahrt statt der Anteilsknöpfe. Ab 901 px links unter dem Namen. */
.kopf-zeiten { display: flex; flex-direction: column; gap: 14px; max-width: 34rem; }
.kopf-zeiten-titel { font: 700 var(--t3)/1.1 var(--display); letter-spacing: -0.015em; }
.kopf-zeiten .zeiten { font-size: 1.0625rem; }
.kopf-adresse { margin-top: 4px; }
@media (min-width: 901px) {
  .seitenkopf-hochkant .kopf-zeiten { grid-column: 1; grid-row: 2; align-self: start; }
}
/* Betriebsurlaub unter den Öffnungszeiten */
/* Unter den Öffnungszeiten: nächster Urlaub bzw. Sonderzeiten und der Knopf zum Fenster mit allen Zeiten. */
.zeiten-woche { margin-bottom: 8px; font-weight: 700; }
.zeiten-zusatz { margin-top: 10px; line-height: 1.4; }
.zeiten-hinweis { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }
.urlaub { flex: 1 1 16rem; font-weight: 600; line-height: 1.35; }
/* Gleiche Höhe und Schrift wie die Pillen (z. B. Google Maps), aber nur umrandet; beim Darüberfahren
   dasselbe Grün wie die dunkle Pille. */
.zeiten-mehr {
  flex: none;
  min-height: 48px;
  padding: 0.6em 1.4em;
  border: 2px solid currentColor;
  border-radius: var(--r-voll);
  background: transparent;
  color: inherit;
  font: 600 1rem/1.15 var(--text);
  cursor: pointer;
  transition: transform 0.18s var(--bahn), background-color 0.18s, border-color 0.18s, color 0.18s;
}
.zeiten-mehr:hover { transform: translateY(-2px); background: var(--gruen-tief); border-color: var(--gruen-tief); color: #fff; }
.zeiten-mehr:focus-visible { border-radius: var(--r-voll); }

/* Fenster „Öffnungszeiten und Urlaub“ */
.zeiten-fenster {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100svh - 24px);
  margin: auto;
  padding: clamp(20px, 3vw, 32px);
  border: 0;
  border-radius: var(--r-l);
  background: var(--papier);
  color: var(--tinte);
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.45);
  overscroll-behavior: contain;
}
.zeiten-fenster::backdrop { background: rgb(30 31 32 / 0.55); }
.zeiten-fenster-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.zeiten-fenster-kopf h2 { font: 800 var(--t3)/1.1 var(--display); letter-spacing: -0.02em; }
.zeiten-fenster-zu {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -6px -6px 0 0;
  border: 0;
  border-radius: 50%;
  background: var(--papier-tief);
  color: var(--tinte);
  cursor: pointer;
}
.zeiten-fenster-zu:hover { background: var(--gruen); }
.zeiten-fenster section { margin-top: 20px; }
.zeiten-fenster h3 { margin-bottom: 6px; font: 700 1.125rem/1.2 var(--display); }
.zeiten-fenster-fuss { margin-top: 18px; font-size: 0.9375rem; color: var(--tinte-weich); }

/* Rohrbach: Pfeil am rechten Rand des Bands, damit klar ist, dass man weiterwischen kann. */
.band-rahmen { position: relative; }
.band-weiter {
  position: absolute;
  z-index: 3;
  right: max(10px, calc(var(--rand) - 8px));
  top: 54%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--tinte);
  color: var(--papier);
  font: 600 1.6rem/1 var(--text);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.22);
  cursor: pointer;
  transition: opacity 0.25s, transform 0.18s var(--bahn);
}
.band-weiter span { display: block; animation: wink 1.6s var(--bahn) infinite; }
.band-weiter:hover { transform: scale(1.06); }
.band-weiter.ist-am-ende { opacity: 0; pointer-events: none; }
@keyframes wink { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .band-weiter span { animation: none; } }

/* Startseite ab 901 px: Name und Öffnungszeiten beginnen oben, die Platte steht in der Höhe mittig daneben. */
@media (min-width: 901px) {
  .seitenkopf-start { grid-template-rows: auto 1fr; }
  .seitenkopf-start .seitenkopf-inhalt { align-self: start; }
  .seitenkopf-start .seitenkopf-bild { align-self: center; }
}

/* Partyservice: über der obersten Reihe der Anregungen kein Strich (ab 601 px zwei Spalten, darunter eine). */
.anregung-liste li:nth-child(-n + 2) { border-top: 0; }
@media (max-width: 600px) {
  .anregung-liste li:nth-child(2) { border-top: 2px solid var(--tinte); }
}
@media (min-width: 901px) {
  .seitenkopf-start { margin-top: clamp(40px, 5vw, 88px); }
}
