/*
  lehmhub, Richtung "Strich": Uebersicht "Fragen und Themen" (seiten/fragen.html), Runde 7.
  Werkzeug zum Finden: Themen zuerst (kleines Standbild der Kopfzeichnung, Titel, ein Satz, Sprunglinks in die Sections),
  darunter die Einzelfragen nach Kapitel, ruhiger gesetzt, unten der Weg in den Finder und die Bundesland-Seiten.
  Raster 5fr / 7fr wie alle Werkseiten. Rang durch Groesse und Gewicht, Haarlinien statt Kaesten, keine Akzentfarbe.
*/

/* ------------------------------------------------------------ a block: label row (h2 left, one line right) */
.uebersicht { padding: 0 var(--rand); }
.block { padding: var(--s8) 0 0; }
.block.themen { padding-top: var(--s5); }
.block-kopf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 5vw; align-items: baseline; padding-bottom: var(--s4); }
.block-kopf h2 { font-family: var(--grotesk); font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.block-kopf p { font-size: 17px; color: var(--leise); max-width: var(--spalte); }

/* ------------------------------------------------------------ themes: one row each, hairline between */
.thema-eintrag { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 5vw; padding: var(--s6) 0 var(--s7); border-top: 1px solid var(--hauch); }
.thema-vignette { display: block; width: min(100%, 360px); margin-top: 6px; }
.thema-vignette img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.thema-text { min-width: 0; }
.thema-text h3 { font-family: var(--grotesk); font-weight: 500; font-size: clamp(32px, 3.1vw, 46px); letter-spacing: -0.025em; line-height: 1.06; }
.thema-text h3 a { text-decoration: none; background-image: linear-gradient(var(--tusche), var(--tusche)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.4s ease; }
.thema-text h3 a:hover, .thema-text h3 a:focus-visible { background-size: 100% 2px; }
.thema-satz { margin-top: var(--s3); max-width: var(--spalte); font-size: 19px; line-height: 1.5; }

/* jump links into the sections of the theme page: two quiet columns, filled top to bottom */
.sprung { list-style: none; margin-top: var(--s5); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-flow: column; grid-template-rows: repeat(3, auto); gap: 0 4vw; max-width: 46rem; }
.sprung li { padding: 5px 0; min-width: 0; }
.sprung a, .alle a { font-family: var(--grotesk); font-size: 17px; letter-spacing: -0.01em; line-height: 1.3; text-decoration: none; background-image: linear-gradient(var(--tusche), var(--tusche)); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 0.35s ease; }
.sprung a:hover, .sprung a:focus-visible, .alle a:hover, .alle a:focus-visible { background-size: 100% 1.5px; }
.alle { margin-top: var(--s4); }
.alle a { color: var(--leise); }
.alle a:hover { color: var(--tusche); }
/* a quiet pointer to a chapter, below the jump links (Runde 8: Lehmwand -> Techniken) */
.verweis { margin-top: var(--s3); max-width: var(--spalte); font-size: 16px; line-height: 1.5; color: var(--leise); }
.verweis a { color: var(--tusche); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.verweis a:hover { text-decoration-thickness: 1.5px; }

/* ------------------------------------------------------------ single questions by chapter: calmer than the themes */
.kapitel-gruppe { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 5vw; padding: var(--s5) 0 var(--s5); border-top: 1px solid var(--hauch); }
.kapitel-gruppe h3 { font-family: var(--grotesk); font-weight: 500; font-size: 17px; letter-spacing: -0.01em; padding-top: 2px; }
.kapitel-gruppe h3 a { color: var(--leise); text-decoration: none; padding: 4px 0; }
.kapitel-gruppe h3 a:hover { color: var(--tusche); }
.kapitel-gruppe ul { list-style: none; max-width: 40rem; }
.kapitel-gruppe li + li { margin-top: var(--s5); }
.kapitel-gruppe li > a { font-family: var(--grotesk); font-weight: 500; font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; text-decoration: none; background-image: linear-gradient(var(--tusche), var(--tusche)); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.35s ease; }
.kapitel-gruppe li > a:hover, .kapitel-gruppe li > a:focus-visible { background-size: 100% 1.5px; }
.kapitel-gruppe li p { margin-top: 6px; max-width: var(--spalte); font-size: 17px; line-height: 1.5; color: var(--leise); }

/* ------------------------------------------------------------ finder: where to find companies */
.finder-weg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 5vw; padding: var(--s6) 0 var(--s8); border-top: 1px solid var(--hauch); }
.finder-weg > div { grid-column: 2; max-width: var(--spalte); }
.finder-weg .zum-finder a { font-family: var(--grotesk); font-size: 24px; letter-spacing: -0.015em; text-decoration: none; }
.finder-weg .zum-finder a span { display: block; color: var(--leise); font-size: 15px; margin-bottom: 4px; letter-spacing: 0; }
.finder-weg .zum-finder a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.finder-weg .laender-text { margin-top: var(--s5); font-size: 17px; color: var(--leise); }
.laender { list-style: none; margin-top: var(--s2); display: flex; flex-wrap: wrap; gap: 0 22px; }
.laender a { font-family: var(--grotesk); font-size: 16px; color: var(--tusche); text-decoration: none; display: inline-block; padding: 5px 0; }
.laender a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ------------------------------------------------------------ phone */
@media (max-width: 760px) {
  .block { padding-top: var(--s7); }
  .block.themen { padding-top: var(--s3); }
  .block-kopf, .thema-eintrag, .kapitel-gruppe, .finder-weg { grid-template-columns: minmax(0, 1fr); }
  .block-kopf p { margin-top: 2px; font-size: 16.5px; }
  .thema-eintrag { padding: var(--s5) 0 var(--s6); }
  .thema-vignette { width: 62%; max-width: 260px; margin: 0 0 var(--s4); }
  .thema-satz { font-size: 18px; }
  .sprung { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-rows: none; margin-top: var(--s4); }
  .sprung li { padding: 6px 0; }
  .kapitel-gruppe h3 { margin-bottom: var(--s3); }
  .kapitel-gruppe li > a { font-size: 20px; }
  .finder-weg > div { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .thema-text h3 a, .sprung a, .alle a, .kapitel-gruppe li > a { transition: none; }
}
