/* Einzelblatt-Seiten der Sprüche-Sammlung (sprueche/NNN-….html) */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ds-sprueche {
  margin: 0;
  background: var(--grund, #e7dfcf);
  color: var(--tinte);
  font-family: var(--karla);
  font-size: 1.125rem;
  line-height: 1.55;
}
.ds-sprueche a { color: var(--gruenspan-dunkel); }
.ds-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopf / Fuß (Platzhalter: durch Website-Header ersetzen) ---------- */
.ds-kopf {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
  max-width: 72rem; margin: 0 auto; padding: 1.25rem 1rem .5rem;
}
.ds-kopf .ds-marke {
  font-family: var(--fraunces); font-weight: 600; font-size: 1.35rem;
  color: var(--tinte); text-decoration: none; letter-spacing: -.01em;
}
.ds-kopf .ds-marke span { color: var(--gruenspan); }
.ds-kopf nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.ds-kopf nav a { font-weight: 600; text-decoration: none; }
.ds-kopf nav a:hover { text-decoration: underline; }

.ds-fuss {
  max-width: 72rem; margin: 3rem auto 0; padding: 1.5rem 1rem 2.5rem;
  border-top: 1px solid rgba(46, 42, 37, .15);
  font-size: .95rem; color: var(--tinte-sanft);
}

/* ---------- Einzelseite ---------- */
.ds-buehne {
  max-width: 72rem; margin: 0 auto; padding: 1.5rem 1rem 0;
  display: flex; flex-direction: column; align-items: center;
}
.ds-buehne > .ds-blatt { width: min(100%, 36rem); }

/* ---------- Blättern ---------- */
.ds-blaettern {
  width: min(100%, 36rem);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: .75rem;
  margin-top: 1.5rem; font-weight: 600;
}
.ds-blaettern a { text-decoration: none; padding: .5rem 0; }
.ds-blaettern a:hover { text-decoration: underline; }
.ds-blaettern .ds-zurueck { justify-self: start; }
.ds-blaettern .ds-alle { justify-self: center; }
.ds-blaettern .ds-weiter { justify-self: end; text-align: right; }

/* ---------- Übersicht ---------- */
.ds-einleitung { max-width: 44rem; margin: 0 auto; padding: 1.5rem 1rem .5rem; }
.ds-einleitung h1 {
  font-family: var(--fraunces); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3rem);
  line-height: 1.1; margin: 0 0 .75rem; letter-spacing: -.015em;
}
.ds-einleitung p { margin: 0 0 .75rem; font-size: 1.2rem; }
/* ---------- Druck: ein Blatt pro Seite ---------- */
@media print {
  @page { size: A5 portrait; margin: 0; }
  body.ds-sprueche { background: none; }
  .ds-kopf, .ds-fuss, .ds-blaettern, .ds-hoeren, .ds-einleitung { display: none !important; }
  .ds-buehne { padding: 0; }
  .ds-buehne > .ds-blatt { width: 148mm; height: 210mm; aspect-ratio: auto; box-shadow: none; }
  .ds-blatt { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (prefers-reduced-motion: reduce) {
  .ds-sammlung .ds-blatt { transition: none; }
}
