/* ==========================================================
   Havis auf der Haar – Stylesheet
   Farben & Schriften zentral unter :root anpassen.
   ========================================================== */

@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --papier: #f3ede2;
  --papier-hell: #faf6ee;
  --tinte: #2a2420;
  --tinte-weich: #5f554d;
  --blass: #9c9083;
  --linie: #d8cdbb;
  --honig: #a8691a;          /* Akzent – "Hummel" */
  --honig-hell: #ecc777;
  --salbei: #5d7558;
  --rost: #a24a32;

  --schrift-titel: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --schrift-text: "Newsreader", "Iowan Old Style", Georgia, serif;
  --schrift-etikett: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --breite: 74rem;
  --mass: 38rem;
  --rand: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--papier);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.24 0 0 0 0 0.16 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--honig); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--honig); }
:focus-visible { outline: 2px solid var(--honig); outline-offset: 3px; }
::selection { background: var(--honig-hell); }

h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.25rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h1 em, h2 em { color: var(--honig); }
p { margin: 0 0 1em; }

.etikett {
  font-family: var(--schrift-etikett);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tinte-weich);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.etikett a { text-decoration: none; border-bottom: 1px solid var(--honig); }

.sr, .springen:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen:focus { position: fixed; top: 1rem; left: 1rem; z-index: 10; background: var(--tinte); color: var(--papier); padding: 0.5rem 1rem; }

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

/* ---------- Kopf ---------- */
.kopf { border-bottom: 3px double var(--tinte); margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.kopf__zeile {
  max-width: var(--breite); margin: 0 auto; padding: 0.6rem var(--rand);
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--schrift-etikett); font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--tinte-weich);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen {
  max-width: var(--breite); margin: 0 auto; padding: 1.25rem var(--rand);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
}
.marke { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.marke:hover { color: inherit; }
.marke__zeichen {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--tinte); color: var(--honig-hell);
  font-family: var(--schrift-titel); font-style: italic; font-size: 1.6rem; line-height: 1; padding-top: 0.12em;
}
.marke__text { font-family: var(--schrift-titel); font-size: 1.85rem; line-height: 1; }
.navi ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; }
.navi a { text-decoration: none; font-size: 1.05rem; padding: 0.3rem 0; border-bottom: 1px solid transparent; }
.navi a:hover { border-bottom-color: var(--honig); color: inherit; }
.navi a[aria-current="page"] { border-bottom-color: var(--tinte); font-style: italic; }

/* ---------- Bausteine ---------- */
.vorspann { font-size: 1.25em; line-height: 1.5; color: var(--tinte-weich); max-width: 34em; }
.knopf {
  display: inline-block; text-decoration: none;
  background: var(--tinte); color: var(--papier);
  padding: 0.75rem 1.4rem; border-radius: 2px;
  font-size: 1rem; letter-spacing: 0.01em;
  transition: background 0.2s;
}
.knopf:hover { background: var(--honig); color: var(--papier-hell); }
.textlink { font-style: italic; text-decoration: none; border-bottom: 1px solid var(--honig); }
.hinweis { font-style: italic; color: var(--tinte-weich); border-left: 2px solid var(--honig-hell); padding-left: 1rem; max-width: var(--mass); }

.abschnitt { margin-top: clamp(4rem, 9vw, 7rem); }
.abschnitt__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--tinte); padding-bottom: 0.5rem; margin-bottom: 0.5rem; }
.abschnitt__kopf h2 { margin: 0; }
.zweispaltig { display: grid; gap: 2.5rem 4rem; align-items: start; }
@media (min-width: 52rem) { .zweispaltig { grid-template-columns: 5fr 6fr; } }

/* Fotoabzug mit Klebestreifen */
.abzug {
  position: relative; margin: 0;
  background: var(--papier-hell);
  padding: 0.75rem 0.75rem 0;
  box-shadow: 0 1px 2px rgba(42,36,32,.08), 0 12px 30px -12px rgba(42,36,32,.28);
  transform: rotate(-1.4deg);
}
.abzug--rechts { transform: rotate(1.6deg); }
.abzug::before {
  content: ""; position: absolute; top: -0.9rem; left: 50%; width: 6.5rem; height: 1.8rem;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(236, 199, 119, .55);
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.abzug img, .abzug .platzhalter { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.abzug figcaption { font-family: var(--schrift-titel); font-style: italic; font-size: 1.3rem; text-align: center; padding: 0.6rem 0 0.8rem; color: var(--tinte-weich); }
.abzug:not(:has(figcaption)) { padding-bottom: 0.75rem; }

.platzhalter {
  display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(-45deg, transparent 0 11px, rgba(168,105,26,.09) 11px 12px),
    #ece4d5;
  color: var(--blass);
}
.platzhalter span { font-family: var(--schrift-etikett); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; background: #ece4d5; padding: 0.3rem 0.6rem; }

/* Statusschild */
.status {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--schrift-etikett); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tinte-weich); white-space: nowrap;
}
.status::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: currentColor; }
.status--geplant { color: var(--blass); }
.status--erwartet { color: var(--honig); }
.status--geboren, .status--frei { color: var(--salbei); }
.status--reserviert { color: var(--rost); }
.status--vergeben, .status--fertig { color: var(--tinte-weich); }
.status--bleibt { color: var(--honig); }

/* Datentabellen */
.daten { display: grid; grid-template-columns: auto 1fr; margin: 0; font-size: 0.98rem; }
.daten dt, .daten dd { padding: 0.55rem 0; border-bottom: 1px solid var(--linie); margin: 0; }
.daten dt { color: var(--tinte-weich); padding-right: 1.5rem; }
.daten--gross { font-size: 1.05rem; border-top: 1px solid var(--tinte); }
.daten--gross dt { font-family: var(--schrift-etikett); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 0.8rem; }

/* Fließtext */
.fliesstext { max-width: var(--mass); }
.fliesstext h2 { margin-top: 1.6em; }
.fliesstext h2:first-child { margin-top: 0; }
.fliesstext ul, .fliesstext ol { padding-left: 1.2em; }
.fliesstext li { margin-bottom: 0.35em; }
.fliesstext li::marker { color: var(--honig); }
.fliesstext blockquote {
  margin: 2rem 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--honig);
  font-family: var(--schrift-titel); font-size: 1.6rem; line-height: 1.25; color: var(--tinte);
}
.fliesstext blockquote p { margin: 0; }
.fliesstext img { margin: 2rem 0; }
.fliesstext code { font-family: var(--schrift-etikett); font-size: 0.8em; background: #e9e0cf; padding: 0.1em 0.35em; }
.fliesstext hr { border: 0; text-align: center; margin: 2.5rem 0; }
.fliesstext hr::before { content: "✻ ✻ ✻"; color: var(--honig); letter-spacing: 1em; }
.initial > p:first-of-type::first-letter {
  float: left; font-family: var(--schrift-titel); font-size: 4.6em; line-height: 0.82; padding: 0.06em 0.1em 0 0; color: var(--honig);
}

.seitenkopf { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 50rem; }

/* ---------- Startseite ---------- */
.auftakt { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 52rem) { .auftakt { grid-template-columns: 7fr 4fr; gap: 5rem; } }
.auftakt__links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.auftakt__bild { max-width: 24rem; justify-self: center; width: 100%; }

.aktuell { margin-top: clamp(4rem, 9vw, 6.5rem); }
.notiz {
  border: 1px solid var(--tinte); padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--papier-hell);
  position: relative;
}
.notiz > .etikett { position: absolute; top: -0.65rem; left: 1.5rem; background: var(--papier); padding: 0 0.6rem; margin: 0; color: var(--tinte); }
.notiz__inhalt { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem clamp(1.5rem, 4vw, 3rem); align-items: center; }
.notiz__buchstabe { font-family: var(--schrift-titel); font-size: clamp(6rem, 14vw, 10rem); line-height: 0.8; color: var(--honig); }
.notiz h2 { margin-bottom: 0.3rem; }
.notiz p { margin: 0.75rem 0 1rem; max-width: 36em; }

/* Alphabet */
.alphabet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(13, 1fr); border-top: 1px solid var(--tinte); border-left: 1px solid var(--linie); }
.alphabet__feld { border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); aspect-ratio: 1; display: grid; }
.alphabet__feld > * { display: grid; place-items: center; font-family: var(--schrift-titel); font-size: clamp(1.15rem, 0.8rem + 1.2vw, 1.8rem); color: #cbbfae; text-decoration: none; position: relative; }
.alphabet__feld a { color: var(--tinte); background: var(--papier-hell); }
.alphabet__feld a:hover { background: var(--tinte); color: var(--honig-hell); }
.alphabet__feld a::after { content: ""; position: absolute; bottom: 7%; width: 0.28rem; height: 0.28rem; border-radius: 50%; background: var(--blass); }
.alphabet__feld--erwartet a::after { background: var(--honig); }
.alphabet__feld--geboren a::after { background: var(--salbei); }
.alphabet__feld--abgeschlossen a::after { background: var(--tinte); }
.seitenkopf + .alphabet { margin-bottom: 3.5rem; }

/* Eintragsliste */
.liste { list-style: none; margin: 0; padding: 0; }
.liste__eintrag { border-bottom: 1px solid var(--linie); }
.liste__eintrag a {
  display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 0.25rem 2rem; align-items: baseline;
  padding: 1.4rem 0; text-decoration: none;
}
.liste__eintrag a:hover { color: inherit; }
.liste__eintrag a:hover .liste__titel { color: var(--honig); }
.liste__datum { font-family: var(--schrift-etikett); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tinte-weich); }
.liste__titel { display: block; font-family: var(--schrift-titel); font-size: 1.75rem; line-height: 1.1; margin-bottom: 0.3rem; transition: color 0.15s; }
.liste__auszug { display: block; color: var(--tinte-weich); max-width: 40em; }
.liste__meta { font-style: italic; color: var(--blass); font-size: 0.95rem; white-space: nowrap; }
@media (max-width: 40rem) {
  .liste__eintrag a { grid-template-columns: 1fr; }
  .liste__meta { order: 3; }
}

/* ---------- Hund ---------- */
.hund__kopf { display: grid; gap: 3rem; align-items: end; margin-bottom: clamp(3rem, 7vw, 5rem); }
@media (min-width: 52rem) { .hund__kopf { grid-template-columns: 1fr 22rem; gap: 5rem; } }
.hund__kopf h1 { font-size: clamp(4rem, 2rem + 8vw, 8rem); margin-bottom: 0.1em; }
.hund__zuchtname { font-style: italic; color: var(--tinte-weich); font-size: 1.2rem; }
.hund__raster { display: grid; gap: 3rem; }
@media (min-width: 52rem) { .hund__raster { grid-template-columns: 19rem 1fr; gap: 5rem; } .hund__seitenspalte { order: 2; } }
.kasten { margin-bottom: 2.5rem; }
.kasten > .etikett { border-bottom: 1px solid var(--tinte); padding-bottom: 0.5rem; margin-bottom: 0; color: var(--tinte); }

.chronik { margin-top: 4rem; }
.chronik ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--tinte); }
.chronik li { display: grid; grid-template-columns: 6rem 1fr; gap: 1.5rem; padding: 0 0 2rem 1.5rem; position: relative; }
.chronik li::before { content: ""; position: absolute; left: -0.35rem; top: 0.45rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--papier); border: 1px solid var(--tinte); }
.chronik li:last-child::before { background: var(--honig); border-color: var(--honig); }
.chronik__wann { font-family: var(--schrift-etikett); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tinte-weich); padding-top: 0.3rem; }
.chronik h3 { margin-bottom: 0.25rem; }
.chronik p { margin: 0; color: var(--tinte-weich); }

/* ---------- Wurf ---------- */
.wurf__kopf { display: grid; grid-template-columns: auto 1fr; gap: 0 clamp(1.5rem, 4vw, 3.5rem); align-items: end; }
.wurf__buchstabe { font-family: var(--schrift-titel); font-size: clamp(9rem, 5rem + 18vw, 19rem); line-height: 0.72; color: var(--honig); margin-bottom: 0.08em; }
.wurf__titel h1 { margin-bottom: 0.3em; }
.wurf__titel .vorspann { margin-top: 1rem; }
@media (max-width: 40rem) { .wurf__kopf { grid-template-columns: 1fr; } }

.eckdaten {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  margin: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--tinte); border-bottom: 1px solid var(--tinte);
}
.eckdaten div { padding: 1rem 1.25rem 1.1rem 0; }
.eckdaten div + div { padding-left: 1.25rem; border-left: 1px solid var(--linie); }
.eckdaten dt { font-family: var(--schrift-etikett); font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--tinte-weich); }
.eckdaten dd { margin: 0.2rem 0 0; font-family: var(--schrift-titel); font-size: 1.6rem; line-height: 1.15; }

.eltern { display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); max-width: 46rem; }
.eltern__teil { margin: 0; max-width: 18rem; }
.eltern__teil figcaption { margin-top: 1.25rem; display: grid; gap: 0.15rem; }
.eltern__teil figcaption .etikett { margin: 0; }
.eltern__teil strong { font-family: var(--schrift-titel); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.eltern__teil figcaption a, .eltern__teil figcaption span:last-child:not(.etikett) { font-style: italic; color: var(--tinte-weich); }

.welpen { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.welpe__foto img, .welpe__foto .platzhalter { aspect-ratio: 1; object-fit: cover; width: 100%; }
.welpe__info { padding-top: 1rem; }
.welpe__info h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.9rem; margin-bottom: 0.15rem; }
.welpe__daten { color: var(--tinte-weich); font-size: 0.95rem; margin-bottom: 0.5rem; }
.welpe__info p:not(.welpe__daten) { margin-bottom: 0.6rem; }
.halsband { width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--farbe); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); flex: none; }

/* Würfe-Übersicht */
.wurfliste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tinte); }
.wurfliste li { border-bottom: 1px solid var(--linie); }
.wurfkarte { display: grid; grid-template-columns: 6rem 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem 0; text-decoration: none; }
.wurfkarte:hover { color: inherit; }
.wurfkarte:hover .wurfkarte__buchstabe { color: var(--honig); }
.wurfkarte__buchstabe { font-family: var(--schrift-titel); font-size: 5.5rem; line-height: 0.8; text-align: center; transition: color 0.15s; }
.wurfkarte__text { display: grid; gap: 0.1rem; }
.wurfkarte__titel { font-family: var(--schrift-titel); font-size: 2rem; line-height: 1.1; }
.wurfkarte__eltern { font-style: italic; }
.wurfkarte__datum { color: var(--tinte-weich); font-size: 0.95rem; }
@media (max-width: 40rem) { .wurfkarte { grid-template-columns: 4rem 1fr; } .wurfkarte .status { grid-column: 2; } .wurfkarte__buchstabe { font-size: 4rem; } }

/* ---------- Tagebucheintrag ---------- */
.eintrag .seitenkopf, .eintrag .fliesstext, .eintrag .blaettern { margin-inline: auto; max-width: var(--mass); }
.eintrag .seitenkopf h1 { font-size: clamp(2.5rem, 1.6rem + 3.5vw, 4.25rem); }
.eintrag__titelbild { margin: 0 auto 3rem; max-width: 56rem; }
.eintrag__titelbild .platzhalter { aspect-ratio: 16 / 9; }
.eintrag .abschnitt { margin-top: 3.5rem; }

.blaettern { display: flex; justify-content: space-between; gap: 2rem; margin-top: 5rem; padding-top: 1.5rem; border-top: 1px solid var(--tinte); }
.blaettern a { font-style: italic; text-decoration: none; }
.blaettern__weiter { margin-left: auto; text-align: right; }

/* ---------- Galerie ---------- */
.galerie { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.galerie--einzeln { grid-template-columns: 1fr; max-width: 46rem; }
.galerie__bild { margin: 0; }
.galerie__bild a { display: block; overflow: hidden; cursor: zoom-in; }
.galerie__bild img, .galerie__bild .platzhalter { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.5s ease; }
.galerie__bild a:hover img { transform: scale(1.03); }
.galerie__bild figcaption { font-size: 0.92rem; font-style: italic; color: var(--tinte-weich); padding-top: 0.5rem; }

.album { margin-bottom: 4rem; }
.album__titel { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 1.8rem; border-bottom: 1px solid var(--tinte); padding-bottom: 0.5rem; margin-bottom: 1.25rem; }
.album__titel a { text-decoration: none; }
.album__titel .etikett { margin: 0; }

/* Großansicht */
.gross { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.gross::backdrop { background: rgba(26, 22, 19, .93); }
.gross[open] { display: grid; place-items: center; }
.gross figure { margin: 0; display: grid; justify-items: center; gap: 0.75rem; padding: 3.5rem 4.5rem; }
.gross img { max-height: calc(100vh - 9rem); max-width: 100%; width: auto; object-fit: contain; }
.gross figcaption { color: #e9e0cf; font-style: italic; text-align: center; }
.gross__knopf { position: fixed; background: none; border: 1px solid rgba(233,224,207,.35); color: #e9e0cf; width: 2.75rem; height: 2.75rem; border-radius: 50%; font-size: 1.25rem; cursor: pointer; font-family: var(--schrift-text); }
.gross__knopf:hover { background: rgba(233,224,207,.12); }
.gross__zurueck { left: 1rem; top: 50%; transform: translateY(-50%); }
.gross__weiter { right: 1rem; top: 50%; transform: translateY(-50%); }
.gross__zu { right: 1rem; top: 1rem; }
@media (max-width: 40rem) { .gross figure { padding: 3.5rem 0.75rem 5rem; } .gross__zurueck, .gross__weiter { top: auto; bottom: 1rem; transform: none; } }

/* Filter */
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filter button {
  font: inherit; font-size: 0.95rem; cursor: pointer;
  background: transparent; color: var(--tinte); border: 1px solid var(--linie); border-radius: 999px; padding: 0.3rem 1rem;
}
.filter button:hover { border-color: var(--tinte); }
.filter button[aria-pressed="true"] { background: var(--tinte); color: var(--papier); border-color: var(--tinte); }
.filter + .liste { border-top: 1px solid var(--tinte); }

/* Kontakt */
.kontaktblock { border: 1px solid var(--tinte); background: var(--papier-hell); padding: 1.5rem 1.75rem; margin-bottom: 3rem; }
.kontaktblock p { margin: 0 0 0.25rem; }
.kontaktblock .etikett { margin-bottom: 0.75rem; }
.kontaktblock__name { font-family: var(--schrift-titel); font-size: 1.8rem; line-height: 1.1; }

/* 404 */
.leer { text-align: center; padding-block: 3rem; }
.leer .vorspann { margin-inline: auto; }
.leer__zahl { font-family: var(--schrift-titel); font-size: clamp(7rem, 20vw, 14rem); line-height: 0.8; color: var(--honig); margin: 0; }

/* ---------- Fuß ---------- */
.fuss { margin-top: clamp(5rem, 12vw, 9rem); background: var(--tinte); color: #d9cfbf; }
.fuss a { color: #f3ede2; text-decoration-color: var(--honig-hell); }
.fuss a:hover { color: var(--honig-hell); }
.fuss .etikett { color: #a99c8c; }
.fuss__innen { max-width: var(--breite); margin: 0 auto; padding: 4rem var(--rand) 3rem; display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .fuss__innen { grid-template-columns: 2fr 1fr 1fr; gap: 4rem; } }
.fuss__titel { font-family: var(--schrift-titel); font-size: 2.2rem; line-height: 1; color: #f3ede2; margin-bottom: 1rem; }
.fuss__marke p:not(.fuss__titel) { max-width: 26em; }
.fuss__klein { font-size: 0.9rem; color: #a99c8c; }
.fuss__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.fuss__liste a { text-decoration: none; }
.fuss__unten {
  max-width: var(--breite); margin: 0 auto; padding: 1.25rem var(--rand) 2rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid #4a413b; font-size: 0.9rem; color: #a99c8c;
}

@media (max-width: 40rem) {
  .kopf__zeile span:first-child { display: none; }
  .kopf__zeile { justify-content: center; }
  .alphabet { grid-template-columns: repeat(7, 1fr); }
  .notiz__inhalt { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

@media print {
  body { background: #fff; }
  .kopf nav, .fuss, .filter, .blaettern, .gross { display: none; }
}
