/* ASKU-BOOKS – Gestaltung der statischen Website
   Leitbild: eine helle Galerie. Die Oberfläche bleibt ruhig und neutral,
   damit die Abbildungen der Bücher die Seite tragen. */

@font-face { font-family: "DM Sans"; src: url(fonts/DMSans.woff) format("woff"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/DMSans-Italic.woff) format("woff"); font-weight: 100 1000; font-style: italic; font-display: swap; }

:root {
  --weiss: #ffffff;
  --flaeche: #f3f3ef;
  --flaeche-tief: #e9e9e4;
  --schwarz: #141414;
  --text: #2b2b29;
  --grau: #6b6b66;
  --linie: #e2e2dc;
  --akzent: #1c5a48;
  --schrift: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mass: 42rem;
  --rund: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--schrift);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;   /* überlange Wörter brechen notfalls um, statt über den Rand zu ragen */
}
img { max-width: 100%; height: auto; }
a { color: var(--schwarz); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--akzent); }
:focus-visible { outline: 2px solid var(--schwarz); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { color: var(--schwarz); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
.rahmen { width: min(100% - 2.5rem, 84rem); margin-inline: auto; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: absolute; left: -999rem; top: 0; background: var(--schwarz); color: #fff; padding: 0.6rem 1rem; z-index: 30; }
.sprung:focus { left: 0; color: #fff; }

/* ------------------------------------------------ Kopf */

.kopf { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; gap: 2.5rem; min-height: 4.5rem; }
.marke { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.01em; color: var(--schwarz); text-decoration: none; white-space: nowrap; margin: 0; }
.haupt { margin-left: auto; }
.haupt ul { list-style: none; }
.haupt > ul { display: flex; align-items: center; gap: 1.75rem; }
.haupt a { font-size: 0.95rem; color: var(--text); text-decoration: none; padding-block: 0.35rem; white-space: nowrap; }
.haupt a:hover { color: var(--schwarz); text-decoration: underline; text-underline-offset: 0.45em; }
.haupt a[aria-current] { color: var(--schwarz); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
/* Ausklappmenüs */
.hat-unter { position: relative; }
.haupt button { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; font: 400 0.95rem var(--schrift); color: var(--text); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.haupt button::after { content: ""; width: 0.4rem; height: 0.4rem; margin-top: -0.2rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.15s ease; }
.haupt button:hover, .hat-unter:hover > button, .hat-unter.offen > button { color: var(--schwarz); }
.hat-unter.aktiv > button { color: var(--schwarz); font-weight: 600; }
.haupt .unter { display: none; position: absolute; left: -1.25rem; top: calc(100% + 0.85rem); min-width: 15.5rem; padding: 0.5rem 0; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); box-shadow: 0 18px 40px rgba(20,20,20,0.12); }
.haupt li:last-child > .unter { left: auto; right: -1.25rem; }
.haupt .unter::before { content: ""; position: absolute; left: 0; right: 0; top: -0.9rem; height: 0.9rem; }
.hat-unter:hover > .unter, .hat-unter:focus-within > .unter, .hat-unter.offen > .unter { display: block; }
.hat-unter:hover > button::after, .hat-unter:focus-within > button::after, .hat-unter.offen > button::after { transform: rotate(225deg); margin-top: 0.2rem; }
.haupt .unter a { display: block; padding: 0.6rem 1.25rem; }
.haupt .unter a:hover { background: var(--flaeche); text-decoration: none; }
.haupt .unter a[aria-current] { text-decoration: none; }
.kopfsuche input {
  width: 10.5rem; padding: 0.55rem 1.05rem; font: 400 0.95rem var(--schrift);
  color: var(--schwarz); background: var(--flaeche); border: 1px solid transparent; border-radius: 999px;
  transition: width 0.2s ease;
}
.kopfsuche input::placeholder { color: var(--grau); }
.kopfsuche input:focus { width: 15rem; background: #fff; border-color: var(--schwarz); outline: none; }
.menue { display: none; position: relative; }
.menue > summary { list-style: none; cursor: pointer; font-size: 0.95rem; font-weight: 500; padding: 0.5rem 1.1rem; border: 1px solid var(--schwarz); border-radius: 999px; color: var(--schwarz); }
.menue summary::-webkit-details-marker { display: none; }
.menue > nav { position: absolute; right: 0; top: calc(100% + 0.75rem); background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); box-shadow: 0 18px 40px rgba(20,20,20,0.12); padding: 0.5rem 1.4rem; width: min(20rem, calc(100vw - 2rem)); max-height: calc(100vh - 6.5rem); overflow-y: auto; }
.menue ul { list-style: none; }
.menue nav > ul > li + li { border-top: 1px solid var(--linie); }
.menue a { display: block; padding-block: 0.8rem; font-size: 1.05rem; text-decoration: none; }
.menue a[aria-current] { font-weight: 600; color: var(--schwarz); }
/* Gruppen im Menü der schmalen Bildschirme */
.menue details summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; padding-block: 0.8rem; font-size: 1.05rem; color: var(--schwarz); }
.menue details summary::-webkit-details-marker { display: none; }
.menue details summary::after { content: ""; width: 0.5rem; height: 0.5rem; margin: -0.25rem 0.25rem 0 1rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.menue details[open] summary::after { transform: rotate(225deg); margin-top: 0.25rem; }
.menue details ul { padding: 0 0 0.6rem 0.9rem; }
.menue details a { padding-block: 0.5rem; font-size: 1rem; color: var(--text); }

/* ------------------------------------------------ Bildflächen (gemeinsam) */

.karte-bild { display: block; position: relative; aspect-ratio: 4 / 5; background: var(--flaeche); border-radius: var(--rund); overflow: hidden; transition: background-color 0.2s ease; }
.karte-bild img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 7%; mix-blend-mode: multiply; }
a:hover > .karte-bild, a.karte-bild:hover { background: var(--flaeche-tief); }
.karte-bild.ohne { display: grid; place-items: center; }
.karte-bild.ohne span { font-size: 0.85rem; color: #a2a29b; }

/* ------------------------------------------------ Startseite */

.auftakt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 5vw, 4.5rem); }
.auftakt h1 { font-size: clamp(2.5rem, 4.7vw, 4.4rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.018em; }
.auftakt-text p { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.5; max-width: 30rem; margin: 1.6rem 0 2.1rem; color: var(--grau); }
.grosssuche { display: flex; max-width: 32rem; background: var(--flaeche); border: 1px solid transparent; border-radius: 999px; padding: 0.3rem; }
.grosssuche:focus-within { background: #fff; border-color: var(--schwarz); }
.grosssuche input { flex: 1; min-width: 0; padding: 0.7rem 0.6rem 0.7rem 1.15rem; font: 400 1.05rem var(--schrift); color: var(--schwarz); background: transparent; border: 0; outline: none; }
.grosssuche input::placeholder { color: var(--grau); }
.grosssuche button, .reihensuche button, .knopf { font: 500 1rem var(--schrift); color: #fff; background: var(--schwarz); border: 1px solid var(--schwarz); border-radius: 999px; cursor: pointer; text-decoration: none; }
.grosssuche button, .reihensuche button { padding: 0 1.5rem; }
.grosssuche button:hover, .reihensuche button:hover, .knopf:hover { background: var(--akzent); border-color: var(--akzent); color: #fff; }

.blickfang { list-style: none; display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.5rem 1rem; }
.blickfang li { min-width: 0; }
.blickfang li:first-child { grid-row: 1 / 3; }
.blickfang a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.blickfang .karte-bild { aspect-ratio: auto; flex: 1 1 0; min-height: 11rem; }
.blickfang .karte-bild img { position: absolute; inset: 0; }   /* das Bild bestimmt die Höhe nicht mit */
.blickfang li:first-child .karte-bild { min-height: clamp(20rem, 38vw, 32rem); }
.blickfang.zwei, .blickfang.eins { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }   /* ein oder zwei Titel: alle groß */
.blickfang.eins { grid-template-columns: minmax(0, 1fr); }
.blickfang.zwei li:first-child, .blickfang.eins li:first-child { grid-row: auto; }
.blickfang.zwei .karte-bild, .blickfang.eins .karte-bild { min-height: clamp(20rem, 38vw, 32rem); }
.blickfang .unter { display: block; padding-top: 0.7rem; font-size: 0.95rem; line-height: 1.35; }   /* Bildunterschrift unter dem Bild */
/* Die Unterschrift belegt immer Platz für zwei Titelzeilen und den Preis – so bleiben die Bildflächen
   nebeneinander gleich hoch, auch wenn ein Titel nur eine Zeile braucht. */
.blickfang .unter { box-sizing: border-box; min-height: calc(0.85rem + 4.05em); }
.blickfang .name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-weight: 500; color: var(--schwarz); }
.blickfang a:hover .name { text-decoration: underline; text-decoration-thickness: 1px; }
.blickfang .preis { display: block; margin-top: 0.15rem; }

.seite { padding-block: 2.25rem 6rem; }
.abschnitt { margin-bottom: 5rem; scroll-margin-top: 6rem; }
.abschnitt > h2, .kopfzeile h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 1.5rem; }
.kopfzeile { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.kopfzeile a { font-size: 0.95rem; white-space: nowrap; }

.kacheln { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: 2.5rem 1.5rem; margin-bottom: 4rem; }
.kacheln.drei { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.kacheln a { display: block; text-decoration: none; }
.kacheln .karte-bild { aspect-ratio: 1; }
.kacheln.drei .karte-bild { aspect-ratio: 4 / 3; }
.kacheln .name { display: block; margin-top: 0.9rem; font-size: 1.12rem; font-weight: 500; line-height: 1.3; color: var(--schwarz); letter-spacing: -0.01em; }
.kacheln.drei .name { font-size: 1.35rem; margin-top: 1.1rem; }
.kacheln .angabe { display: block; margin-top: 0.15rem; font-size: 0.92rem; color: var(--grau); }
.kacheln a:hover .name { text-decoration: underline; text-decoration-thickness: 1px; }

/* ------------------------------------------------ Seitenkopf, Pfad, Text */

.pfad { padding-top: 1.5rem; font-size: 0.86rem; line-height: 1.4; color: var(--grau); }
.pfad ol { list-style: none; display: flex; flex-wrap: wrap; }
.pfad li:not(:last-child)::after { content: "/"; margin-inline: 0.6rem; color: #b9b9b2; }   /* Schrägstrich hängt am vorigen Glied: steht nie am Zeilenanfang */
.pfad a { color: var(--grau); text-decoration: none; }
.pfad a:hover { color: var(--schwarz); text-decoration: underline; }
.pfad + .seite { padding-top: 1.5rem; }

.seitenkopf { margin-bottom: 2.25rem; }
.seitenkopf h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.012em; max-width: 24em; }
.umfang { margin: 0.9rem 0 0; font-size: 0.95rem; color: var(--grau); }
.vorspann { color: var(--text); }
.vorspann p:last-child { margin-bottom: 0; }

.fliesstext { max-width: var(--mass); }
.fliesstext strong { color: var(--schwarz); font-weight: 600; }
.fliesstext h2 { font-size: 1.3rem; margin: 2em 0 0.6em; }
.fliesstext h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin: 1.9em 0 0.5em; }
.fliesstext h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; color: var(--schwarz); margin: 1.5em 0 0.3em; }
.fliesstext h2 + h3, .fliesstext h3 + h4 { margin-top: 0.9em; }
.fliesstext ul, .fliesstext ol { padding-left: 1.2em; margin-bottom: 1em; }
.fliesstext li { margin-bottom: 0.3em; }
.fliesstext img { display: block; margin: 1.5rem 0; border-radius: var(--rund); }
/* Bild in Originalgröße – in der Tabelle: ![Text](Adresse){original}. Keine runden Ecken; das Bild darf breiter
   sein als die Textspalte, aber nie breiter als die Seite. Der übrige Text behält seine Spaltenbreite. */
.fliesstext img.original { border-radius: 0; }
.fliesstext:has(img.original) { max-width: none; }
.fliesstext:has(img.original) > :not(:has(img.original)) { max-width: var(--mass); }
.fliesstext .tabelle { border-collapse: collapse; margin: 1.5rem 0; font-size: 0.98rem; }
.fliesstext .tabelle td, .fliesstext .tabelle th { padding: 0.45rem 1rem 0.45rem 0; border-top: 1px solid var(--linie); text-align: left; vertical-align: top; }
.einleitung { margin-bottom: 3rem; font-size: 1.12rem; line-height: 1.55; }
.weiterlesen summary { cursor: pointer; font-size: 0.95rem; font-weight: 500; color: var(--schwarz); margin-bottom: 1rem; width: fit-content; text-decoration: underline; text-underline-offset: 0.25em; list-style: none; }
.weiterlesen summary::-webkit-details-marker { display: none; }
.weiterlesen[open] summary { display: none; }

.kasten { background: var(--flaeche); padding: 1.5rem 1.75rem 1.4rem; margin: 2rem 0; border-radius: var(--rund); }
.kasten > :last-child, .kasten p:last-child { margin-bottom: 0; }
.fliesstext .kasten h2, .fliesstext .kasten h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0; margin: 0 0 0.7rem; }
.fliesstext .kasten ul { list-style: none; padding: 0; margin: 0; }
.fliesstext .kasten ul li { margin: 0; padding: 0.55rem 0; border-top: 1px solid #dcdcd5; line-height: 1.45; }
.fliesstext .kasten ul li:first-child { border-top: 0; padding-top: 0.2rem; }
.fliesstext .kasten ul ul { padding-left: 1.25rem; margin-top: 0.5rem; }
.fliesstext .kasten ul ul li:first-child { border-top: 1px solid #dcdcd5; padding-top: 0.55rem; }

.preis { font-weight: 600; color: var(--akzent); white-space: nowrap; }
.anzahl { font-size: 0.82rem; color: var(--grau); margin-left: 0.3rem; font-weight: 400; }
.klein { font-size: 0.86rem; line-height: 1.4; color: var(--grau); }

/* ------------------------------------------------ Unterseiten und Register */

.unterseiten { list-style: none; max-width: 54rem; margin-bottom: 4rem; }
.unterseiten li { padding: 1.15rem 0 1.25rem; border-top: 1px solid var(--linie); }
.unterseiten li:last-child { border-bottom: 1px solid var(--linie); }
.unterseiten a { font-size: 1.4rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; text-decoration: none; }
.unterseiten a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.unterseiten p { margin: 0.3rem 0 0; color: var(--grau); max-width: 40rem; }

.register { list-style: none; columns: 15rem 4; column-gap: 2.5rem; margin-bottom: 4rem; }
.register li { break-inside: avoid; padding: 0.22rem 0; line-height: 1.4; }
.register a { text-decoration: none; color: var(--text); }
.register a:hover { color: var(--schwarz); text-decoration: underline; }

.reihensuche { margin: 0 0 3.25rem; max-width: 34rem; }
.reihensuche label { display: block; font-size: 0.95rem; font-weight: 500; color: var(--schwarz); margin-bottom: 0.65rem; }
.reihensuche div { display: flex; background: var(--flaeche); border: 1px solid transparent; border-radius: 999px; padding: 0.3rem; }
.reihensuche div:focus-within { background: #fff; border-color: var(--schwarz); }
.reihensuche input[type=search] { flex: 1; min-width: 0; padding: 0.6rem 0.6rem 0.6rem 1.1rem; font: 400 1rem var(--schrift); border: 0; outline: none; background: transparent; color: var(--schwarz); }

/* ------------------------------------------------ Bildkacheln für Titel */

.karten { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 3.25rem 1.75rem; }
.karte h3 { font-size: 1.05rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.005em; margin-top: 1rem; }
.karte h3 a { text-decoration: none; }
.karte h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.karte p { margin: 0.3rem 0 0; font-size: 0.92rem; line-height: 1.45; color: var(--grau); }
.karte .stand { margin-top: 0.55rem; }
.karte .zustand { color: var(--grau); font-weight: 400; margin-left: 0.4rem; }
.karte .ausgaben { margin-top: 0.6rem; }
.ausgaben { list-style: none; font-size: 0.92rem; line-height: 1.45; }
.ausgaben li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.18rem 0; }
.ausgaben a { color: var(--text); }
.ausgaben a:hover { color: var(--akzent); }

/* ------------------------------------------------ Textliste (Bereiche ohne Bilder) */

.verz { list-style: none; max-width: 62rem; }
.verz .eintrag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(11rem, 15rem); gap: 0.5rem 2rem; align-items: start; padding: 1.2rem 0 1.3rem; border-top: 1px solid var(--linie); }
.verz .eintrag:last-child { border-bottom: 1px solid var(--linie); }
/* Liste mit Abbildungen: links eine schmale Spalte für das Bild; Einträge ohne Abbildung lassen sie frei */
.verz.mit-bild .eintrag { grid-template-columns: 6.5rem minmax(0, 1fr) minmax(11rem, 15rem); gap: 0.5rem 1.5rem; }
.verz.mit-bild .karte-bild { aspect-ratio: 4 / 5; border-radius: 6px; }
.verz.mit-bild .karte-bild img { padding: 8%; }
.verz h3 { font-size: 1.1rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.005em; }
.verz h3 a { text-decoration: none; }
.verz h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.verz .text p { margin: 0.3rem 0 0; font-size: 0.95rem; line-height: 1.45; color: var(--grau); max-width: 38rem; }
.verz .stand { font-size: 0.92rem; text-align: right; }
.verz .zustand { display: block; color: var(--grau); font-size: 0.85rem; }

.sprungmarken { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 3.5rem; }
.sprungmarken a { display: block; padding: 0.4rem 0.95rem; font-size: 0.92rem; text-decoration: none; border: 1px solid var(--linie); border-radius: 999px; }
.sprungmarken a:hover { border-color: var(--schwarz); color: var(--schwarz); }

/* ------------------------------------------------ Zeitschriften: Heftliste */

.jahrzehnt { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.5rem; padding: 1.6rem 0 1.9rem; border-top: 1px solid var(--linie); }
.jahrzehnt h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; padding-top: 0.2rem; font-variant-numeric: tabular-nums; }
.hefte { list-style: none; columns: 15rem 3; column-gap: 2.5rem; }
.hefte li { break-inside: avoid; padding: 0.2rem 0; line-height: 1.4; font-variant-numeric: tabular-nums; }
.hefte a { text-decoration: none; color: var(--text); }
.hefte a:hover { color: var(--schwarz); text-decoration: underline; }
.hefte .preis { margin-left: 0.5rem; font-size: 0.85rem; }

/* ------------------------------------------------ Titelseite */

.titel { padding-block: 1.75rem 6rem; }
.buehne { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(19rem, 1fr); gap: clamp(2rem, 4.5vw, 5rem); align-items: start; }
.galerie { margin: 0; }
.galerie .gross { display: block; width: 100%; height: min(74vh, 46rem); min-height: 22rem; padding: 0; background: var(--flaeche); border: 0; border-radius: 12px; cursor: zoom-in; overflow: hidden; }
.galerie .gross img { display: block; width: 100%; height: 100%; object-fit: contain; padding: clamp(1.25rem, 3vw, 3rem); mix-blend-mode: multiply; }
.streifen { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem; }
.streifen button { width: 5rem; height: 5rem; padding: 0.3rem; background: var(--flaeche); border: 2px solid transparent; border-radius: 6px; cursor: pointer; }
.streifen button img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.streifen button:hover { background: var(--flaeche-tief); }
.streifen button[aria-current] { border-color: var(--schwarz); }
.fehlt { display: none !important; }

.angaben { position: sticky; top: 6rem; }
.angaben h1 { font-size: clamp(1.7rem, 2.5vw, 2.35rem); font-weight: 500; line-height: 1.14; letter-spacing: -0.025em; }
.angaben .vorspann { margin-top: 1.1rem; }
.exemplar { margin-top: 1.75rem; padding-top: 1.6rem; border-top: 1px solid var(--linie); }
.exemplar p { margin-bottom: 0.4rem; }
.preis.gross { font-size: 2.1rem; font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; color: var(--schwarz); }
.exemplar .zustand { margin-top: 0.9rem; color: var(--text); }
.exemplar .nachweis { color: var(--grau); }
.exemplar .nummer { margin: 1.1rem 0 0; }
/* Mehrere Ausgaben eines Titels auf einer Seite: Bezeichnung links, Preis rechts, darunter Zustand und Knopf */
.angaben.mehrere { position: static; }
.exemplar.ausgabe .kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.2rem 1.25rem; }
.exemplar.ausgabe h2 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.exemplar.ausgabe .preis.gross { margin: 0; font-size: 1.6rem; }
.exemplar.ausgabe .zustand { margin-top: 0.15rem; }
.exemplar.ausgabe .knopf { margin-top: 0.85rem; }
.exemplar.ausgabe .nummer { margin-top: 0.7rem; }
.exemplar.ausgabe + .exemplar.ausgabe { margin-top: 1.5rem; padding-top: 1.4rem; }
.hinweis p { margin-bottom: 0.4rem; }
.knopf { display: block; padding: 0.85rem 1.25rem; margin-top: 1.1rem; text-align: center; }
.knopf.zweit { background: transparent; color: var(--schwarz); }
.knopf.zweit:hover { background: var(--schwarz); border-color: var(--schwarz); color: #fff; }
.rand-teil { margin-top: 1.75rem; padding-top: 1.4rem; border-top: 1px solid var(--linie); }
.rand-teil h2 { font-size: 0.9rem; font-weight: 600; letter-spacing: 0; margin-bottom: 0.6rem; }
.verweise { list-style: none; font-size: 0.98rem; line-height: 1.4; }
.verweise li { padding: 0.22rem 0; }

.titel-raster { display: grid; grid-template-columns: minmax(0, var(--mass)) minmax(15rem, 19rem); justify-content: start; gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.mit-bildern .titel-raster { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid var(--linie); }
.titel-rand > .exemplar { margin-top: 0; padding: 1.5rem 1.6rem 1.4rem; border: 0; background: var(--flaeche); border-radius: var(--rund); }
.titel-rand > .exemplar + .exemplar { margin-top: 1rem; padding-top: 1.5rem; }
.mit-bildern .titel-rand > .rand-teil:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.blaettern { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 5rem; padding-top: 1.4rem; border-top: 1px solid var(--linie); }
.blaettern a { text-decoration: none; font-weight: 500; line-height: 1.35; }
.blaettern a span { display: block; font-size: 0.86rem; font-weight: 400; color: var(--grau); margin-bottom: 0.25rem; }
.blaettern a:hover { text-decoration: underline; }
.blaettern .weiter { text-align: right; }

/* ------------------------------------------------ Bild in voller Größe */

.nach-oben { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 15; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; color: var(--schwarz); background: rgba(255,255,255,0.94); border: 1px solid var(--linie); border-radius: 50%; box-shadow: 0 2px 10px rgba(20,20,20,0.10); cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.nach-oben[hidden] { display: none; }
.nach-oben:hover { color: #fff; background: var(--schwarz); border-color: var(--schwarz); }
main:focus { outline: none; }
.lupe { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: #fff; padding: 3.5rem 4.5rem; isolation: isolate; }
.lupe[hidden] { display: none; }
.lupe img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; }
.lupe button { position: absolute; width: 3rem; height: 3rem; display: grid; place-items: center; font-size: 1.3rem; line-height: 1; background: #fff; border: 1px solid var(--linie); border-radius: 50%; cursor: pointer; }
.lupe button:hover { border-color: var(--schwarz); }
.lupe .zu { top: 1rem; right: 1rem; }
.lupe .vor { left: 1rem; top: 50%; transform: translateY(-50%); }
.lupe .nach { right: 1rem; top: 50%; transform: translateY(-50%); }
.lupe .stand { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); font-size: 0.9rem; color: var(--grau); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------ Suche */

.suchseite .grosssuche { max-width: 38rem; margin-bottom: 1rem; }
.treffer { list-style: none; max-width: 52rem; margin-top: 1.75rem; }
.treffer li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.25rem; padding: 1.15rem 0 1.25rem; border-top: 1px solid var(--linie); }
.treffer .karte-bild { aspect-ratio: 1; border-radius: 6px; }
.treffer .karte-bild.ohne span { display: none; }
.treffer h2 { font-size: 1.1rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.005em; }
.treffer h2 a { text-decoration: none; }
.treffer h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.treffer .ort { font-size: 0.86rem; color: var(--grau); margin: 0.15rem 0 0; }
.treffer .stelle { margin: 0.4rem 0 0; font-size: 0.95rem; line-height: 1.5; color: var(--text); }
mark { background: #dcebe4; color: var(--schwarz); padding: 0.05em 0.15em; border-radius: 2px; }
.mehr { margin-top: 1.75rem; padding: 0.75rem 1.5rem; font-weight: 500; background: transparent; border: 1px solid var(--schwarz); border-radius: 999px; cursor: pointer; }
.mehr:hover { background: var(--schwarz); color: #fff; }

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

.fuss { background: var(--flaeche); padding: 2.25rem 0; font-size: 0.94rem; line-height: 1.55; }
.fuss-innen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem 2.5rem; }
.fuss a { color: var(--text); text-decoration: none; }
.fuss a:hover { color: var(--schwarz); text-decoration: underline; }
.fuss .marke { margin-bottom: 0.5rem; }
.fuss-marke p { margin-bottom: 0; color: var(--grau); }
.fuss .fest { white-space: nowrap; }
.fuss-recht { display: flex; gap: 1.75rem; }

/* ------------------------------------------------ Schmale Bildschirme */

@media (max-width: 64rem) {
  .haupt { display: none; }
  .menue { display: block; }
  .kopfsuche { margin-left: auto; }
  .kopf-innen { gap: 1rem; }
}
@media (max-width: 60rem) {
  .auftakt { grid-template-columns: minmax(0, 1fr); }
  .blickfang li:first-child .karte-bild { min-height: 20rem; }
  .buehne { grid-template-columns: minmax(0, 1fr); }
  .angaben { position: static; }
  .galerie .gross { height: auto; min-height: 0; aspect-ratio: 1; }
  .titel-raster { grid-template-columns: minmax(0, 1fr); }
  .titel-rand { max-width: var(--mass); }
  .kacheln.drei { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 44rem) {
  body { font-size: 1rem; }
  .kopfsuche { display: none; }
  .menue { margin-left: auto; }
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1rem; }
  .blickfang { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .blickfang li:first-child { grid-row: auto; grid-column: 1 / 3; }
  .blickfang li:first-child .karte-bild { min-height: 19rem; }
  .blickfang .karte-bild { min-height: 12rem; }
  .blickfang .name { -webkit-line-clamp: 3; }
  .blickfang .unter { min-height: calc(0.85rem + 5.4em); }                       /* hier bis zu drei Titelzeilen */
  .blickfang:not(.zwei) li:first-child .unter { min-height: 0; }                  /* steht allein in seiner Zeile */
  .blickfang.zwei li:first-child { grid-column: auto; }
  .blickfang.zwei .karte-bild { min-height: 15rem; }
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .karte h3 { font-size: 0.98rem; }
  .ausgaben li { flex-wrap: wrap; gap: 0 0.5rem; }
  .verz .eintrag { grid-template-columns: minmax(0, 1fr); }
  .verz.mit-bild .eintrag { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.4rem 1rem; }
  .verz.mit-bild .karte-bild, .verz.mit-bild .kein-bild { grid-row: 1 / 3; }
  .verz.mit-bild .stand { grid-column: 2; }
  .verz .stand { text-align: left; }
  .jahrzehnt { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .blaettern { grid-template-columns: 1fr; }
  .blaettern .weiter { text-align: left; }
  .streifen button { width: 3.9rem; height: 3.9rem; }
  .lupe { padding: 4rem 0.75rem; }
  .lupe .vor, .lupe .nach { top: auto; bottom: 0.75rem; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nach-oben { transition: none; }
  .kopfsuche input, .karte-bild, .haupt button::after { transition: none; }
}
@media print {
  .kopf, .fuss, .pfad, .blaettern, .reihensuche, .streifen, .nach-oben { display: none; }
  body { font-size: 10.5pt; }
}

/* ------------------------------------------------ Fehlerseite (404) */
.fehlerseite .einleitung { margin-bottom: 1.75rem; }
.fehlerseite .grosssuche { max-width: 38rem; }
.fehlerseite .wege { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.fehlerseite .wege .knopf { margin-top: 0; padding-inline: 1.5rem; }

/* ------------------------------------------------ Video-Schaltfläche (Absatz, der nur aus einem YouTube-Link besteht) */
.video { margin: 1.75rem 0; }
.video a { display: inline-flex; align-items: center; gap: 1rem; max-width: 100%; padding: 0.7rem 1.75rem 0.7rem 0.7rem;
  background: var(--flaeche); border-radius: 999px; text-decoration: none; transition: background-color 0.15s; }
.video-zeichen { position: relative; flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--schwarz); transition: background-color 0.15s; }
.video-zeichen::before { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 0.6rem 0 0.6rem 1rem; border-color: transparent transparent transparent #fff; }
.video-text { display: block; line-height: 1.3; }
.video-text strong { display: block; font-weight: 500; font-size: 1.0625rem; color: var(--schwarz); }
.video-text span { display: block; margin-top: 0.15rem; font-size: 0.875rem; color: var(--grau); }
.video a:hover { background: var(--flaeche-tief); }
.video a:hover .video-zeichen { background: var(--akzent); }
.kasten .video a { background: var(--weiss); }
@media (prefers-reduced-motion: reduce) { .video a, .video-zeichen { transition: none; } }
