/* Hundewolle – Gestaltung

   Für wen: Menschen, die an ihrem Hund hängen und sich etwas Bleibendes von ihm wünschen – überwiegend Frauen in der
   Mitte des Lebens, die Handwerk, Naturmaterial und Ruhe schätzen. Deshalb: viel Raum, große ruhige Schrift, nichts
   Lautes. Die Seite soll wirken wie der gut gemachte Katalog einer Manufaktur, nicht wie ein Portal.

   Farben: ungefärbt wie die Wolle selbst – Rohweiß, Hafer, Torf – und als einziger Farbton Brombeer, die Farbe der
   Banderole um den Strang. Zobel kommt nur in Bildern und feinen Linien vor.
   Schrift: Petrona (weiche Buchschrift, hell und groß gesetzt) für alles zum Lesen; Commissioner (humanistische
   Grotesk, leicht ausgestellte Enden) für Navigation, Tabellen, Formulare und Kleingedrucktes.
   Bilder: gerechnete Zeichnungen aus tools/garnbilder.js – Strang mit Banderole, Gestrick. Ein Motiv trägt die
   Seite: der Strang. Alles andere bleibt still. */

@font-face {
  font-family: "Petrona";
  src: url("/fonts/petrona.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Petrona";
  src: url("/fonts/petrona-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Petrona";
  src: url("/fonts/petrona-kursiv.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Petrona";
  src: url("/fonts/petrona-kursiv-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Commissioner";
  src: url("/fonts/commissioner.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Commissioner";
  src: url("/fonts/commissioner-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --roh: #f6f4ef;
  --hafer: #e3dccf;
  --hafer-tief: #d6cdbd;
  --papier: #fffdf8;
  --torf: #2b2521;
  --torf-2: #5d554c;
  --linie: #cdc5b6;
  --linie-fein: #e3ddd1;
  --beere: #5a2a3c;
  --beere-tief: #43202d;
  --beere-hauch: #f1e7e8;
  --creme: #f3ead9;
  --zobel: #a98356;
  --lesen: "Petrona", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --feld: "Commissioner", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --breit: 76rem;
  --text: 40rem;
  --rand: clamp(1.25rem, 4.6vw, 3.5rem);
  --luft: clamp(3.75rem, 8.5vw, 7.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--roh);
  color: var(--torf);
  font-family: var(--lesen);
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 420;
  /* gilt für Commissioner: leicht ausgestellte Strichenden; Petrona kennt die Achse nicht und bleibt, wie sie ist */
  font-variation-settings: "FLAR" 100;
  font-variant-numeric: lining-nums;
  overflow-wrap: break-word;
}

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

a {
  color: var(--beere);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--beere-tief);
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 2px solid var(--beere);
  outline-offset: 3px;
  border-radius: 1px;
}

.sprung {
  position: absolute;
  left: -999rem;
  top: 0;
  z-index: 10;
  background: var(--beere);
  color: #fff;
  padding: 0.7rem 1.1rem;
  font-family: var(--feld);
}
.sprung:focus {
  left: 0;
}

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

.kopf {
  background: var(--roh);
}
.art-start .kopf {
  background: var(--hafer);
}
.kopfzeile {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 2.5rem;
  padding-block: 1.6rem 1.25rem;
}
.marke {
  font-family: var(--lesen);
  font-size: 1.75rem;
  font-weight: 430;
  line-height: 1.1;
  letter-spacing: -0.014em;
  color: var(--torf);
  text-decoration: none;
}
.marke:hover {
  color: var(--beere);
}
.haupt ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem clamp(1.1rem, 2.2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--feld);
  font-size: 1rem;
}
.haupt a {
  display: inline-block;
  padding-block: 0.4rem 0.3rem;
  color: var(--torf);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.haupt a:hover {
  border-bottom-color: currentColor;
}
.haupt a[aria-current="page"] {
  color: var(--beere);
  border-bottom-color: var(--beere);
}

/* ---------- Bühne (Startseite): das Wort, ein Satz, der Strang ---------- */

.buehne {
  background: var(--hafer);
}
.buehne-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(15rem, 30vw, 24rem);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(1.2rem, 3.4vw, 3rem) clamp(3.2rem, 6.5vw, 6rem);
}
.buehne-text {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: subgrid;
}
.buehne h1 {
  grid-column: 1 / -1;
  margin: clamp(1.6rem, 4.4vw, 4.2rem) 0 clamp(1.3rem, 2.8vw, 2.5rem) -0.045em;
  font-family: var(--lesen);
  font-weight: 265;
  /* Größer als bei 1280 Breite wird das Wort nicht: Dort endet es genau am Strang, und so soll es bleiben. */
  font-size: clamp(4.4rem, 13.4vw, 10.72rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
}
.unterzeile,
.knoepfe {
  grid-column: 1;
}
.unterzeile {
  margin: 0;
  max-width: 31em;
  font-size: clamp(1.3rem, 2.15vw, 1.68rem);
  line-height: 1.38;
  font-weight: 390;
  letter-spacing: -0.004em;
}
.knoepfe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
  font-family: var(--feld);
}
.knopf {
  display: inline-flex;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.8rem 1.7rem;
  background: var(--beere);
  color: #fff;
  font-size: 1.06rem;
  font-weight: 520;
  line-height: 1.25;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.18s ease;
}
.knopf:hover {
  background: var(--beere-tief);
  color: #fff;
}
.knopf:focus-visible {
  outline-offset: 4px;
}
.knopf.zweit {
  min-height: 0;
  padding: 0.3rem 0;
  background: none;
  color: var(--beere);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.32em;
}
.knopf.zweit:hover {
  background: none;
  color: var(--beere-tief);
  text-decoration-thickness: 2px;
}
/* Der Strang steht rechts neben dem großen Wort, leicht geneigt wie hingelegt, und ragt ein Stück in den nächsten
   Abschnitt hinein. Sein Bild hat einen durchsichtigen Rand; das Wort darf darunter durchlaufen. */
.buehne-bild {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  position: relative;
  z-index: 1;
  /* unten: der Abstand der Bühne nach unten plus das Stück, das in den nächsten Abschnitt ragt */
  margin: 0 0 calc(-1 * clamp(3.2rem, 6.5vw, 6rem) - clamp(2.5rem, 5vw, 4.5rem));
  pointer-events: none;
}
.buehne-bild img {
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(4deg);
  transform-origin: 50% 60%;
  animation: hinlegen 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
/* Der eine bewegte Augenblick der Seite: Der Strang wird hingelegt. */
@keyframes hinlegen {
  from {
    opacity: 0;
    transform: translateY(1rem) rotate(1.5deg);
  }
  to {
    opacity: 1;
    transform: rotate(4deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .buehne-bild img {
    animation: none;
  }
  .knopf,
  .einstiege a,
  .weiter a,
  .andenkenband a {
    transition: none;
  }
}

/* ---------- Eckdaten: wie die Angaben auf einer Banderole ---------- */

.eckdaten {
  padding-top: clamp(2.8rem, 6vw, 5rem);
}
.banderole {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  margin: 0;
  border-top: 1px solid var(--torf);
}
.banderole > div {
  padding: 1rem 0 1.1rem;
  border-bottom: 1px solid var(--linie);
}
.banderole dt {
  margin-bottom: 0.1rem;
  font-family: var(--feld);
  font-size: 0.94rem;
  line-height: 1.4;
  color: var(--torf-2);
}
.banderole dd {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.3;
  font-weight: 460;
}
/* neben dem Strang, der von oben hereinragt, bleibt die Liste schmaler */
.eckdaten .banderole {
  max-width: calc(100% - clamp(15rem, 30vw, 26rem) + 2rem);
}
.banderole.hoch {
  grid-template-columns: minmax(0, 1fr);
  border-top: 2px solid var(--beere);
}
.banderole .fn {
  top: -0.35em;
}

/* ---------- Einstiege (Startseite) und Weiterlesen: ruhige Zeilen statt Kacheln ---------- */

.einstiege {
  padding-top: var(--luft);
}
.einstiege h2,
.weiter h2,
.startinhalt h2,
.themenband h2 {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--lesen);
  font-weight: 320;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.einstiege ul,
.weiter ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 6vw, 5.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.einstiege li,
.weiter li {
  position: relative;
  padding: 1.3rem 0 1.45rem;
  border-top: 1px solid var(--linie);
}
.einstiege li:nth-child(-n + 2),
.weiter li:nth-child(-n + 2) {
  border-top-color: var(--torf);
}
.einstiege a,
.weiter a {
  font-family: var(--lesen);
  font-size: clamp(1.42rem, 2.3vw, 1.75rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--beere);
  text-decoration: none;
  /* der Faden unter dem Titel: wächst beim Zeigen von links nach rechts */
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition: background-size 0.35s ease;
}
/* Die ganze Zeile ist der Verweis */
.einstiege a::after,
.weiter a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.einstiege li:hover a,
.weiter li:hover a,
.einstiege a:focus-visible,
.weiter a:focus-visible {
  background-size: 100% 1px;
}
.einstiege a:focus-visible,
.weiter a:focus-visible {
  outline: none;
}
.einstiege a:focus-visible::after,
.weiter a:focus-visible::after {
  outline: 2px solid var(--beere);
  outline-offset: 2px;
}
.einstiege span,
.weiter span {
  display: block;
  max-width: 34em;
  margin-top: 0.45rem;
  font-family: var(--feld);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--torf-2);
}

/* ---------- Artikel ---------- */

.pfad ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0.6rem 0 0;
  font-family: var(--feld);
  font-size: 0.95rem;
  color: var(--torf-2);
}
.pfad li + li::before {
  content: "/";
  margin-right: 0.55rem;
  color: var(--linie);
}
.pfad a {
  color: var(--torf-2);
}

.artikel {
  display: grid;
  grid-template-columns: minmax(0, var(--text)) minmax(15rem, 19rem);
  grid-template-areas:
    "titel titel"
    "text rand";
  justify-content: space-between;
  gap: 0 clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(1.8rem, 4.5vw, 3.6rem) 3.5rem;
}
.titel {
  grid-area: titel;
  max-width: 58rem;
  margin-bottom: clamp(2rem, 4.5vw, 3.6rem);
}
.titel h1 {
  margin: 0;
  font-family: var(--lesen);
  font-weight: 320;
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.kurz {
  margin: clamp(1.1rem, 2vw, 1.6rem) 0 0;
  max-width: 44rem;
  font-size: clamp(1.3rem, 2.1vw, 1.55rem);
  line-height: 1.42;
  font-weight: 390;
}
.rand {
  grid-area: rand;
  align-self: start;
  position: sticky;
  top: 1.5rem;
}
.fliesstext {
  grid-area: text;
  min-width: 0;
}

/* Seiten mit großen Tabellen: Eckdaten quer über die Breite, Text ohne Randspalte */
.artikel.breit {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "titel"
    "rand"
    "text";
}
.artikel.breit .rand {
  position: static;
  margin-bottom: 2.4rem;
}
.artikel.breit .banderole.hoch {
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-columns: none;
}
.artikel.breit .banderole.hoch > div {
  border-bottom: 0;
}
.artikel.breit .banderole.hoch {
  border-bottom: 1px solid var(--linie);
}
.artikel.breit .aufderseite {
  display: none;
}
.artikel.breit .fliesstext > :not(.tabelle):not(.filter):not(.rechner):not(h3) {
  max-width: var(--text);
}

.stand {
  margin: 0.9rem 0 0;
  font-family: var(--feld);
  font-size: 0.95rem;
  color: var(--torf-2);
}

.aufderseite {
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--linie);
  font-family: var(--feld);
}
.aufderseite h2 {
  margin: 0 0 0.5rem;
  font-family: var(--feld);
  font-size: 0.95rem;
  font-weight: 620;
}
.aufderseite ol {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.98rem;
  line-height: 1.4;
}
.aufderseite li {
  margin: 0.45rem 0;
}
.aufderseite a {
  color: var(--torf);
  text-decoration: none;
}
.aufderseite a:hover {
  color: var(--beere);
  text-decoration: underline;
}

/* ---------- Fließtext ---------- */

.fliesstext > :first-child {
  margin-top: 0;
}
.fliesstext h2 {
  margin: 3.2rem 0 0.9rem;
  font-family: var(--lesen);
  font-weight: 370;
  font-size: clamp(1.72rem, 3.1vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.fliesstext h3 {
  margin: 2.1rem 0 0.5rem;
  font-family: var(--lesen);
  font-weight: 520;
  font-size: 1.36rem;
  line-height: 1.25;
  letter-spacing: -0.006em;
}
.fliesstext h4 {
  margin: 1.6rem 0 0.4rem;
  font-family: var(--feld);
  font-size: 1.02rem;
  font-weight: 620;
}
.fliesstext p {
  margin: 0 0 1.12em;
}
.fliesstext ul,
.fliesstext ol {
  margin: 0 0 1.25em;
  padding-left: 1.3em;
}
.fliesstext li {
  margin: 0.4em 0;
}
.fliesstext li::marker {
  color: var(--zobel);
}
.fliesstext ol > li::marker {
  font-family: var(--feld);
  font-size: 0.9em;
  font-weight: 560;
  color: var(--torf-2);
}
.fliesstext strong,
.fliesstext b {
  font-weight: 640;
}
.fliesstext code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.82em;
  background: var(--papier);
  padding: 0.08em 0.3em;
  border: 1px solid var(--linie-fein);
}
.fliesstext blockquote {
  margin: 1.5em 0;
  padding-left: 1.2em;
  border-left: 1px solid var(--zobel);
  font-style: italic;
  color: var(--torf-2);
}
/* Abbildungen im Text */
.fliesstext img {
  max-width: 100%;
  height: auto;
}
.fliesstext figure.bild {
  margin: 2em 0;
}
.fliesstext figure.bild img {
  display: block;
  background: var(--hafer);
}
.fliesstext figure.bild figcaption {
  margin-top: 0.6em;
  font-family: var(--feld);
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--torf-2);
}
.fn {
  position: relative;
  top: -0.5em;
  line-height: 0;
  vertical-align: baseline;
  font-family: var(--feld);
  font-size: 1em;
}
.fn + .fn {
  margin-left: 0.1em;
}
.fn a {
  padding: 0 0.12em;
  font-size: 0.66em;
  font-weight: 600;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.fn a:hover {
  text-decoration: underline;
}
.hinweis {
  background: var(--beere-hauch);
  border-left: 2px solid var(--beere);
  padding: 0.9rem 1.2rem;
}
.leer {
  color: var(--torf-2);
}

/* ---------- Tabellen ---------- */

.tabelle {
  overflow-x: auto;
  margin: 1.6rem 0 2rem;
  background: var(--papier);
  border-top: 1px solid var(--torf);
  border-bottom: 1px solid var(--linie);
  font-family: var(--feld);
}
.tabelle table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.45;
}
.tabelle caption {
  caption-side: bottom;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--torf-2);
  border-top: 1px solid var(--linie-fein);
}
.tabelle th,
.tabelle td {
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
}
.tabelle thead th {
  font-size: 0.9rem;
  font-weight: 560;
  color: var(--torf-2);
  border-bottom: 1px solid var(--linie);
  white-space: nowrap;
  vertical-align: bottom;
}
.tabelle tbody tr + tr > * {
  border-top: 1px solid var(--linie-fein);
}
.tabelle tbody th {
  font-weight: 620;
  min-width: 9.5rem;
}
.tabelle .a-right {
  text-align: right;
}
.tabelle .a-center {
  text-align: center;
}
.tabelle .zahl {
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
  font-weight: 620;
}
.tabelle time {
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
tr[hidden] {
  display: none;
}

.eignung {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.skala {
  display: inline-flex;
  gap: 3px;
}
.skala i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 1.5px solid var(--beere);
}
.skala i.an {
  background: var(--beere);
}

/* ---------- Filter und Rechner ---------- */

.filter,
.rechner {
  font-family: var(--feld);
  font-size: 1.04rem;
}
.filter,
.rechner .eingabe {
  display: grid;
  gap: 1rem 1.6rem;
}
.filter {
  grid-template-columns: minmax(12rem, 22rem) minmax(10rem, 14rem) 1fr;
  align-items: end;
  margin: 1.4rem 0 0;
}
.filter p,
.rechner p {
  margin: 0;
}
.filter .treffer {
  padding-bottom: 0.7rem;
  font-size: 0.96rem;
  color: var(--torf-2);
}
label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--feld);
  font-size: 0.96rem;
  font-weight: 600;
}
input,
select {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.6rem 0.8rem;
  font: inherit;
  font-family: var(--feld);
  color: var(--torf);
  background: var(--papier);
  border: 1px solid var(--torf-2);
  border-radius: 2px;
}
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--beere);
  outline-offset: 0;
  border-color: var(--beere);
}
.rechner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 3.5rem;
  align-items: start;
  margin: 1.4rem 0 2.2rem;
}
.rechner .eingabe input {
  max-width: 11rem;
}
.rechner .hilfe {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.93rem;
  line-height: 1.42;
  color: var(--torf-2);
}
.rechner .ergebnis {
  position: sticky;
  top: 1.5rem;
  background: var(--papier);
  border-top: 2px solid var(--beere);
  padding: 1.5rem 1.6rem 1.6rem;
}
.rechner .ergebnis p + p {
  margin-top: 0.85rem;
}
.rechner .gross {
  font-family: var(--lesen);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 380;
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.rechner .gross strong {
  font-weight: 560;
  color: var(--beere);
}

/* ---------- Listen: Themen, Änderungen, Glossar, Quellen, Fragen ---------- */

.themengruppe {
  margin: 0 0 1.8rem;
}
.themen,
.aenderungen {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fliesstext .themen,
.fliesstext .aenderungen {
  padding-left: 0;
}
.themen li {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: 0.1rem 1.5rem;
  margin: 0;
  padding: 0.7rem 0;
  border-top: 1px solid var(--linie-fein);
}
.themen a {
  font-weight: 520;
}
.themen span {
  font-family: var(--feld);
  font-size: 1rem;
  color: var(--torf-2);
}
.aenderungen li {
  display: flex;
  gap: 1.1rem;
  margin: 0;
  padding: 0.35rem 0;
}
.aenderungen time {
  flex: none;
  width: 6.4rem;
  padding-top: 0.22em;
  font-family: var(--feld);
  font-size: 0.95rem;
  color: var(--torf-2);
  font-variant-numeric: tabular-nums lining-nums;
}

.glossar {
  margin: 0;
}
.glossar > div {
  display: grid;
  grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
  gap: 0.2rem 1.5rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--linie);
}
.glossar dt {
  font-family: var(--lesen);
  font-weight: 560;
  font-size: 1.22rem;
}
.glossar dd {
  margin: 0;
}

.angaben {
  margin: 0 0 1.6rem;
}
.angaben > div {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.2rem 1.5rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--linie-fein);
}
.angaben dt {
  font-family: var(--feld);
  font-size: 1rem;
  color: var(--torf-2);
}
.angaben dd {
  margin: 0;
  font-weight: 540;
}

.fragen .frage {
  padding: 1.25rem 0 0.3rem;
  border-top: 1px solid var(--linie);
}
.fragen .frage h3,
.fragen.flach .frage h2 {
  margin: 0 0 0.5rem;
  font-family: var(--lesen);
  font-weight: 500;
  font-size: 1.36rem;
  line-height: 1.26;
  letter-spacing: -0.008em;
}
.fragen .frage p {
  margin: 0 0 0.95em;
}

.quellenblock {
  margin-top: 3.4rem;
}
.quellen {
  padding-left: 1.6em;
  font-family: var(--feld);
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--torf-2);
}
.quellen li {
  margin: 0.55em 0;
}
.quellen li:target {
  background: var(--beere-hauch);
  outline: 0.35rem solid var(--beere-hauch);
}
.abruf {
  white-space: nowrap;
}

/* ---------- Weiterlesen ---------- */

.weiter {
  padding-block: 1rem var(--luft);
}
.weiter h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
}

/* ---------- Startseite: Abschnitte ---------- */

.startinhalt .abschnitt {
  padding-top: var(--luft);
}
/* Im Artikel liegt der Fließtext in der benannten Rasterfläche „text“; auf der Startseite gibt es sie nicht. */
.startinhalt .fliesstext {
  grid-area: auto;
}
.startinhalt .fliesstext > h2,
.startinhalt .fragen > h2 {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 320;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.024em;
}
.startinhalt .abschnitt > .fliesstext > p,
.startinhalt .abschnitt > .fliesstext > ul {
  max-width: var(--text);
}

/* Bänder: Abschnitte auf Hafer, quer über die ganze Breite */
.band {
  margin-top: var(--luft);
  padding-block: var(--luft);
  background: var(--hafer);
}
.duo > .rahmen,
.andenkenband > .rahmen {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 2.5rem clamp(2.5rem, 6.5vw, 6.5rem);
  align-items: center;
}
.duo .fliesstext > :last-child,
.andenkenband .fliesstext > :last-child {
  margin-bottom: 0;
}

/* Schaubild: Deckhaar und Unterwolle */
.schaubild {
  margin: 0;
  padding: clamp(1.2rem, 3vw, 2.2rem) clamp(1.2rem, 3vw, 2.2rem) clamp(1rem, 2.4vw, 1.7rem);
  background: var(--roh);
}
.fellschnitt {
  display: block;
  width: 100%;
  height: auto;
}
.fellschnitt path {
  fill: none;
  stroke-linecap: round;
}
.fellschnitt .unterwolle path {
  stroke: var(--zobel);
  stroke-width: 1.05;
}
.fellschnitt .deckhaar path {
  stroke: var(--torf);
  stroke-width: 2.1;
}
.fellschnitt .haut {
  stroke: var(--torf);
  stroke-width: 1.4;
}
.schaubild figcaption {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--linie);
  font-family: var(--feld);
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--torf-2);
}
.leg {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}
.leg i {
  margin-top: 0.62em;
  border-top: 2.5px solid var(--torf);
}
.leg.unter i {
  margin-top: 0.5em;
  height: 0.45em;
  border-top: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 7'%3E%3Cpath d='M1 3.5c3-4 5 4 8 0s5 4 8 0 5 4 8 0 5 4 8 0 5 3 8 0' fill='none' stroke='%23a98356' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / contain;
}
.leg b {
  font-weight: 620;
  color: var(--torf);
}

/* Der Weg: Arbeitsschritte in ihrer Reihenfolge – große, helle Ziffern über einer durchgehenden Linie */
.weg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0 clamp(1.5rem, 3.5vw, 3.5rem);
  list-style: none;
  counter-reset: weg;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--torf);
}
.weg li {
  counter-increment: weg;
  margin: 0;
  padding-top: 1.1rem;
}
.weg li::before {
  content: counter(weg);
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--lesen);
  font-weight: 250;
  font-size: clamp(3.4rem, 6.4vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--zobel);
}
.weg-text {
  font-size: 1.14rem;
  line-height: 1.5;
}
.weg-text a {
  font-weight: 540;
}

/* Das Andenken: das eine farbige Band der Seite, mit dem Gestrick */
.andenkenband {
  background: var(--beere);
  color: var(--creme);
}
.andenkenband h2 {
  color: #fff;
}
.andenkenband a {
  color: #fff;
}
.andenkenband a:hover {
  color: var(--creme);
}
.andenkenband .fn a {
  color: var(--creme);
}
.andenkenband :focus-visible {
  outline-color: #fff;
}
/* Der letzte Absatz des Bandes ist der Verweis auf die Seite „Andenken“: als Knopf mit feinem Rand */
.andenkenband .fliesstext > p:last-child > a:only-child {
  display: inline-flex;
  align-items: center;
  min-height: 3.4rem;
  margin-top: 0.6rem;
  padding: 0.8rem 1.7rem;
  border: 1px solid var(--creme);
  border-radius: 2px;
  font-family: var(--feld);
  font-size: 1.06rem;
  font-weight: 520;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.andenkenband .fliesstext > p:last-child > a:only-child:hover {
  background: var(--creme);
  color: var(--beere-tief);
}
.andenkenbild {
  margin: 0;
}
.andenkenbild img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 10;
  object-fit: cover;
}

/* Häufige Fragen auf der Startseite: zwei Spalten */
.startinhalt .fragen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 6vw, 5.5rem);
}
.startinhalt .fragen > h2 {
  grid-column: 1 / -1;
}
.startinhalt .fragen .frage:nth-of-type(-n + 2) {
  border-top-color: var(--torf);
}

/* Alle Themen: vier Gruppen im Raster */
.themenband h2 {
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}
.themenraster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3.5vw, 3.5rem);
}
.themenraster .themengruppe {
  margin: 0;
}
.themenraster h3 {
  margin: 0 0 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--torf);
  font-family: var(--feld);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--torf);
}
.themenraster .themen li {
  display: block;
  padding: 0.38rem 0;
  border: 0;
  font-size: 1.14rem;
  line-height: 1.35;
}
.themenraster .themen a {
  font-weight: 420;
  color: var(--torf);
  text-decoration: none;
}
.themenraster .themen a:hover {
  color: var(--beere);
  text-decoration: underline;
}
.themenraster .themen span {
  display: none;
}

/* Schluss der Startseite: Änderungen und Quellen nebeneinander */
.schluss {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.schluss h2,
.schluss .quellenblock h2 {
  margin: 0 0 1.1rem;
  font-family: var(--lesen);
  font-weight: 370;
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.016em;
}
.schluss .quellenblock {
  margin-top: 0;
}
.schluss .aenderungen {
  font-size: 1.1rem;
  line-height: 1.4;
}
.startinhalt > .stand {
  margin: 2.6rem auto 0;
  padding-bottom: var(--luft);
}

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

.fuss {
  background: var(--torf);
  color: #ded6c8;
  padding-block: clamp(3.2rem, 7vw, 5.5rem) 2rem;
  font-family: var(--feld);
  font-size: 1rem;
}
.fuss :focus-visible {
  outline-color: #fff;
}
.fusskopf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  gap: 1.5rem 3rem;
  align-items: end;
  padding-bottom: clamp(2rem, 4vw, 3.2rem);
  border-bottom: 1px solid #55493f;
}
.fuss .marke {
  font-size: clamp(3.2rem, 9vw, 6.6rem);
  font-weight: 260;
  line-height: 0.9;
  letter-spacing: -0.036em;
  color: var(--creme);
}
.fuss .marke:hover {
  color: #fff;
}
.fusskopf p {
  margin: 0;
  line-height: 1.5;
  color: #c9c0b1;
}
.fussgruppen {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3.5vw, 3.5rem);
  padding-block: clamp(2rem, 4vw, 3rem);
}
.fussgruppen h2 {
  margin: 0 0 0.7rem;
  font-family: var(--feld);
  font-size: 0.95rem;
  font-weight: 600;
  color: #a99f8f;
}
.fuss ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fussgruppen li {
  margin: 0.4rem 0;
}
.fuss a {
  color: #efe8dc;
  text-decoration: none;
}
.fuss a:hover {
  color: #fff;
  text-decoration: underline;
}
.fusszeile {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #55493f;
  font-size: 0.95rem;
}
.fusszeile p {
  margin: 0;
  color: #a99f8f;
}
.fusszeile ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.6rem;
}

.vorschauhinweis {
  margin: 0;
  padding: 0.5rem var(--rand);
  background: var(--beere);
  color: #fff;
  font-family: var(--feld);
  font-size: 0.95rem;
  text-align: center;
}

/* ---------- Mittlere Breiten: Tablets, kleine Fenster ---------- */

@media (max-width: 58rem) {
  .artikel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "titel"
      "rand"
      "text";
  }
  .rand {
    position: static;
    margin-bottom: 2.2rem;
  }
  .banderole.hoch,
  .artikel.breit .banderole.hoch {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 0;
  }
  .artikel.breit .banderole.hoch > div {
    border-bottom: 1px solid var(--linie);
  }
  .aufderseite {
    display: none;
  }
  .rechner {
    grid-template-columns: minmax(0, 1fr);
  }
  .rechner .ergebnis {
    position: static;
  }
  .duo > .rahmen,
  .andenkenband > .rahmen,
  .schluss,
  .fusskopf {
    grid-template-columns: minmax(0, 1fr);
  }
  .themenraster,
  .fussgruppen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Der Weg läuft von oben nach unten: Ziffer links, Text rechts */
  .weg {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    max-width: var(--text);
    border-top: 0;
  }
  .weg li {
    display: grid;
    grid-template-columns: 4.2rem minmax(0, 1fr);
    gap: 0.4rem;
    align-items: baseline;
    padding-block: 1rem;
    border-top: 1px solid var(--linie);
  }
  .weg li:first-child {
    border-top-color: var(--torf);
  }
  .weg li::before {
    margin: 0;
    font-size: 3.2rem;
  }
}

/* ---------- Handy ---------- */

@media (max-width: 40rem) {
  body {
    font-size: 1.16rem;
  }
  .kopfzeile {
    padding-block: 1.1rem 0.5rem;
  }
  /* Die Navigation läuft als eine Zeile, die sich wischen lässt */
  .haupt {
    width: calc(100% + 2 * var(--rand));
    margin-inline: calc(-1 * var(--rand));
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent);
    mask-image: linear-gradient(90deg, #000 86%, transparent);
  }
  .haupt::-webkit-scrollbar {
    display: none;
  }
  .haupt ul {
    flex-wrap: nowrap;
    gap: 0 1.5rem;
    padding-inline: var(--rand) 3rem;
    white-space: nowrap;
  }
  /* Bühne: untereinander – das Wort, der Satz, die Knöpfe, zuletzt der Strang */
  .buehne-raster {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 0;
  }
  .buehne-text {
    display: block;
  }
  .buehne h1 {
    margin-top: 1.4rem;
    font-size: clamp(3.5rem, 18.6vw, 5.6rem);
    letter-spacing: -0.045em;
  }
  .buehne-bild {
    grid-column: 1;
    grid-row: 2;
    width: 58vw;
    max-width: 17rem;
    margin: 1.4rem auto -3.2rem;
  }
  .knopf {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .knopf.zweit {
    width: auto;
  }
  .eckdaten {
    padding-top: 5rem;
  }
  .eckdaten .banderole {
    max-width: none;
  }
  .banderole,
  .banderole.hoch,
  .artikel.breit .banderole.hoch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
  }
  .einstiege ul,
  .weiter ul,
  .themenraster,
  .startinhalt .fragen {
    grid-template-columns: minmax(0, 1fr);
  }
  .einstiege li:nth-child(2),
  .weiter li:nth-child(2),
  .startinhalt .fragen .frage:nth-of-type(2) {
    border-top-color: var(--linie);
  }
  .themen li,
  .glossar > div,
  .angaben > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .filter {
    grid-template-columns: minmax(0, 1fr);
  }
  .filter .treffer {
    padding-bottom: 0;
  }
}

/* ---------- Tabellen als Stapel ----------
   Wo eine Tabelle nicht mehr bequem in die Breite passt, wird jede Zeile zu einem Block und jede Angabe bekommt ihre
   Spaltenüberschrift davor (aus „data-sp“). So muss niemand seitwärts wischen. Die Kopfzeile bleibt für
   Vorleseprogramme erhalten. Tabellen mit fünf und mehr Spalten („breit“) stapeln sich schon auf dem Tablet, alle
   anderen erst auf dem Handy. Die beiden Blöcke unterscheiden sich nur im Vorspann – bitte gleich halten. */

@media (max-width: 58rem) {
  .tabelle.breit {
    --stapel-spalte: 8.5rem;
  }
  .tabelle.breit {
    overflow-x: visible;
  }
  .tabelle.breit table {
    display: flex;
    flex-direction: column;
  }
  .tabelle.breit caption {
    display: block;
    order: 2;
    padding-inline: 0.9rem;
  }
  .tabelle.breit thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .tabelle.breit tbody {
    display: block;
  }
  .tabelle.breit tbody tr {
    display: block;
    padding: 0.95rem 0.9rem 1rem;
  }
  .tabelle.breit tbody tr[hidden] {
    display: none;
  }
  .tabelle.breit tbody tr + tr {
    border-top: 1px solid var(--linie);
  }
  .tabelle.breit tbody tr + tr > * {
    border-top: 0;
  }
  .tabelle.breit tbody th {
    display: block;
    min-width: 0;
    padding: 0 0 0.4rem;
    font-size: 1.08rem;
    line-height: 1.35;
  }
  .tabelle.breit tbody td {
    display: grid;
    grid-template-columns: var(--stapel-spalte, 6.6rem) minmax(0, 1fr);
    column-gap: 0.9rem;
    align-items: baseline;
    padding: 0.2rem 0;
    text-align: left;
  }
  .tabelle.breit tbody td::before {
    content: attr(data-sp);
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--torf-2);
    hyphens: auto;
  }
  .tabelle.breit tbody td:not(:has(.wert:not(:empty))) {
    display: none;
  }
  .tabelle.breit .a-right,
  .tabelle.breit .a-center {
    text-align: left;
  }
  .tabelle.breit .zahl,
  .tabelle.breit time {
    white-space: normal;
  }
}

@media (max-width: 40rem) {
  .tabelle.breit {
    --stapel-spalte: 6.6rem;
  }
  /* Punkte und Wort der Einstufung dürfen untereinander stehen, wenn die Zeile nicht reicht */
  .tabelle .eignung {
    flex-wrap: wrap;
    gap: 0.15rem 0.6rem;
  }
  .tabelle:not(.breit) {
    overflow-x: visible;
  }
  .tabelle:not(.breit) table {
    display: flex;
    flex-direction: column;
  }
  .tabelle:not(.breit) caption {
    display: block;
    order: 2;
    padding-inline: 0.9rem;
  }
  .tabelle:not(.breit) thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .tabelle:not(.breit) tbody {
    display: block;
  }
  .tabelle:not(.breit) tbody tr {
    display: block;
    padding: 0.95rem 0.9rem 1rem;
  }
  .tabelle:not(.breit) tbody tr[hidden] {
    display: none;
  }
  .tabelle:not(.breit) tbody tr + tr {
    border-top: 1px solid var(--linie);
  }
  .tabelle:not(.breit) tbody tr + tr > * {
    border-top: 0;
  }
  .tabelle:not(.breit) tbody th {
    display: block;
    min-width: 0;
    padding: 0 0 0.4rem;
    font-size: 1.08rem;
    line-height: 1.35;
  }
  .tabelle:not(.breit) tbody td {
    display: grid;
    grid-template-columns: var(--stapel-spalte, 6.6rem) minmax(0, 1fr);
    column-gap: 0.9rem;
    align-items: baseline;
    padding: 0.2rem 0;
    text-align: left;
  }
  .tabelle:not(.breit) tbody td::before {
    content: attr(data-sp);
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--torf-2);
    hyphens: auto;
  }
  .tabelle:not(.breit) tbody td:not(:has(.wert:not(:empty))) {
    display: none;
  }
  .tabelle:not(.breit) .a-right,
  .tabelle:not(.breit) .a-center {
    text-align: left;
  }
  .tabelle:not(.breit) .zahl,
  .tabelle:not(.breit) time {
    white-space: normal;
  }
}

@media (max-width: 22.5rem) {
  .tabelle,
  .tabelle.breit {
    --stapel-spalte: 5.4rem;
  }
}

@media print {
  .kopf nav,
  .fuss,
  .weiter,
  .knoepfe,
  .buehne-bild,
  .andenkenbild,
  .aufderseite,
  .sprung {
    display: none;
  }
  body {
    background: #fff;
    font-size: 11pt;
  }
  .buehne,
  .band,
  .andenkenband {
    background: none;
    color: inherit;
  }
  .artikel {
    display: block;
  }
  a {
    color: inherit;
  }
}
