/* W4 Verlag – schlichtes Stylesheet, nur Systemschriften, keine externen Dateien */
:root {
  color-scheme: light;
  --text: #111;
  --gedaempft: #555;
  --linie: #e2e2e2;
  --flaeche: #f5f5f3;
  --link: #1a5fb4;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.seite {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 16px;
}

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

/* Kopf */
.kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 0 1rem;
  border-bottom: 1px solid var(--linie);
}
.kopf .logo img { display: block; width: 84px; height: auto; }
.kopf nav { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: 0.95rem; }
.kopf nav a { color: var(--text); text-decoration: none; }
.kopf nav a:hover, .kopf nav a[aria-current="page"] { text-decoration: underline; }

/* Inhalt */
main { padding: 1.5rem 0 2.5rem; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 2.25rem 0 0.75rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }
p, ul { margin: 0 0 1rem; }
.einleitung { font-size: 1.125rem; }
.klein { font-size: 0.9rem; color: var(--gedaempft); }

/* Bücherliste */
.buecher { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--linie); }
.buecher li { padding: 0.85rem 0; border-bottom: 1px solid var(--linie); }
.buecher .titel { font-weight: 600; }
.buecher .autor { display: block; color: var(--gedaempft); font-size: 0.95rem; }
.buecher .extern { white-space: nowrap; font-size: 0.95rem; }

/* Adress- und Angabenblöcke */
.block {
  background: var(--flaeche);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  margin: 0 0 1rem;
}
.block p:last-child { margin-bottom: 0; }

dl.angaben { display: grid; grid-template-columns: max-content 1fr; gap: 0.3rem 1rem; margin: 0 0 1rem; }
dl.angaben dt { font-weight: 600; }
dl.angaben dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  dl.angaben { grid-template-columns: 1fr; gap: 0 0; }
  dl.angaben dd { margin-bottom: 0.5rem; }
}

/* Fuß */
.fuss {
  border-top: 1px solid var(--linie);
  padding: 1.25rem 0 2rem;
  font-size: 0.9rem;
  color: var(--gedaempft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}
.fuss nav { display: flex; gap: 1.1rem; }
.fuss a { color: var(--gedaempft); }
