/*
  Kapitel "Sanieren mit Lehm": alles Gemeinsame (Kopf, .quellen, Regler-Woerter, sichtbare Notizen .strich-notiz) steht in seite.css.
  Hier nur: Hoehe der erklaerenden Schnitte am Handy und die Untergrund-Schnitte im Schritt "Lehmputz innen".
*/

/* two parts: Ziegel und Beton, altes Lehmhaus. A quiet heading between the steps, in the type of the chapter head */
.teil-kopf { position: relative; z-index: 2; padding: 22vh var(--rand) 6vh; max-width: calc(var(--spalte) + 2 * var(--rand)); }
.teil:first-of-type .teil-kopf { padding-top: 8vh; }
.teil-nr { font-family: var(--grotesk); font-size: 15px; letter-spacing: 0.01em; color: var(--leise); }
.teil-kopf h2 { margin-top: var(--s2); font-family: var(--grotesk); font-weight: 500; font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -0.025em; line-height: 1.05; }
.teil-kopf p:not(.teil-nr) { margin-top: var(--s4); font-size: 20px; line-height: 1.5; }
.schritt-text h3 { font-family: var(--grotesk); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.02em; line-height: 1.12; }
@media (max-width: 760px) {
  .teil-kopf { padding: var(--s8) var(--rand) var(--s5); }
  .teil-kopf p:not(.teil-nr) { font-size: 18px; }
}

/* the plaster step needs the room for its notes on a phone */
@media (max-width: 760px) {
  .schritt-bild.putz-bild { height: 70vh; height: 70svh; }
}

/* ------------------------------------------------------------ the grounds: three small sections in the text column */
.untergruende { margin-top: var(--s7); }
.untergruende h4 { font-family: var(--grotesk); font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.untergruende-reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s4); }
.untergrund-bild { position: relative; height: 132px; }
.untergrund-bild > .strich { position: absolute; inset: 0; }
.untergruende figcaption { margin-top: var(--s2); font-size: 15.5px; line-height: 1.45; }
.untergruende figcaption em { display: block; font-style: italic; }
@media (max-width: 760px) {
  .untergruende-reihe { grid-template-columns: 1fr; gap: var(--s4); }
  .untergruende figure { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s4); align-items: center; }
  .untergrund-bild { height: 104px; }
  .untergruende figcaption { margin-top: 0; }
}
