/* Almanach: ausschließlich vorhandene Layoutwerte aus rezepte.css/styles.css. */
.al-inhalt { display: grid; gap: 36px; }
.al-bereiche { margin-bottom: 30px; }
.almanach .rz-karte img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.almanach .rz-foto img { aspect-ratio: 4 / 3; max-height: 48vh; object-fit: contain; }
.almanach .rz-rezept { padding: 36px clamp(20px, 4vw, 40px) 60px; }

/* ---------- Karteikasten A–Z (CEO 26.10.2026, Variante A) ----------
   Rubrik-Filter oben, Buchstaben-Reiter (kleben unter der Menüzeile), alle Einträge in Fächern je Buchstabe, am Desktop zwei Spalten,
   am Handy eine. Runde Fotos groß genug, um Gewürze zu erkennen: 80 px am Desktop, 64 px am Handy.
   Gebaut von almanach-bauen.mjs (kartei()); Klassen dort mitändern. */
.al-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.al-filter a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px;
  border: 1px solid var(--mt-blau); border-radius: var(--r-pill); background: var(--surface);
  color: var(--mt-blau); font-weight: 600; font-size: 14px;
}
.al-filter a span { font-weight: 400; color: var(--ink-2); }
.al-filter a:hover { background: var(--mt-himmel); }
.al-tabs {
  position: sticky; top: 66px; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0 0 20px; padding: 8px 0; background: var(--app-bg); border-bottom: 1px solid var(--line);
}
.al-tabs a {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px;
  background: var(--mt-himmel); color: var(--mt-blau); font-weight: 700;
}
.al-tabs a:hover { background: var(--mt-blau); color: #fff; }
.al-kasten { columns: 2; column-gap: 32px; }
.al-register { break-inside: avoid; margin: 0 0 14px; }
/* margin-top 0: beide Spalten beginnen bündig; der Anker liegt am h2 und landet unter Kopf + Reiterzeile */
.al-register h2 { margin: 0 0 4px; padding-top: 6px; font-size: 22px; line-height: 28px; color: var(--mt-blau); border-bottom: 2px solid var(--mt-himmel); scroll-margin-top: 140px; }
.al-zeile { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; padding: 8px; border-radius: 10px; }
.al-zeile:hover { background: var(--mt-himmel); }
.al-zeile img { display: block; width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: var(--mt-himmel); }
.al-zeile-text b { display: block; font-size: 17px; line-height: 22px; }
.al-zeile-text em { display: block; font-style: italic; font-weight: 400; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.al-geschmack { display: block; font-size: 14px; line-height: 20px; }
.al-etikett {
  align-self: start; margin-top: 6px; padding: 1px 9px; font-size: 12px; line-height: 18px; white-space: nowrap;
  color: var(--mt-blau-tief); border: 1px solid var(--mt-himmel-2); border-radius: var(--r-pill); background: var(--surface);
}
@media (max-width: 760px) {
  .al-kasten { columns: 1; }
  .al-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .al-tabs a { flex: 0 0 40px; width: 40px; height: 40px; }
  .al-zeile { grid-template-columns: 64px 1fr; gap: 12px; align-items: start; }
  .al-zeile img { width: 64px; height: 64px; }
  .al-etikett { grid-column: 2; justify-self: start; margin-top: 0; }
}

/* Quellen und Hinweise (CEO 26.10.2026): langer Bildhinweis und Quellenliste zugeklappt ganz unten; am Bild bleibt das kurze Etikett. */
.almanach .al-hinweise { max-width: none; margin: 36px 0 0; }
.almanach .hinweis-klapp-inhalt h3 { margin: 10px 0 6px; font-size: 16px; line-height: 22px; color: var(--ink-1); }
.almanach .hinweis-klapp-inhalt ul { margin: 0 0 10px 18px; }
.al-kurz, .almanach .rz-foto figcaption { color: var(--ink-2); }

/* Übersicht: weniger Luft zwischen Kopfband und Kartei */
.section.al-kartei { padding-top: 40px; }

/* Detailseite: Karte als Hauptknopf, ganzes Lexikon daneben, Abstand zur nächsten Überschrift */
.al-pdf { margin: 4px 0 28px; }
.al-pdf .rz-sprung a.al-pdf-karte { background: var(--mt-blau); border-color: var(--mt-blau); color: #fff; }
.al-pdf .rz-sprung a.al-pdf-karte:hover { background: var(--mt-blau-tief); border-color: var(--mt-blau-tief); color: #fff; }
.al-pdf .small { margin-top: 8px; }

/* App-Hinweis (26.10.2026, Plan menutome-search-play A10): dezent — eine helle Karte, eine Zeile Text, Play-Abzeichen.
   Kein Sticky, kein Overlay, keine Animation. Abzeichen 56 px hoch (Richtlinie: mindestens 28 px), heller Grund. */
.app-hinweis { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 20px; max-width: 620px; margin: 0 0 24px; padding: 8px 10px 8px 16px; border: 1px solid var(--mt-himmel-2); border-left: 4px solid var(--mt-blau); border-radius: var(--radius-card); background: var(--mt-himmel); }
.app-hinweis p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.app-hinweis .app-hinweis-titel { font-weight: 600; color: var(--mt-nacht); }
.app-hinweis a { flex: none; display: inline-block; line-height: 0; }
.app-hinweis img { display: block; height: 56px; width: auto; }
.al-app { padding-top: 28px; }
.al-app .app-hinweis { margin-bottom: 0; }
