/* Zeichenfabrik -- Dozent*innen-Übersicht, sektionsspezifische Stile.
   .uebersicht-hero/.uebersicht-byline kommen aus basis.css (Kopf der Übersichtsseiten). */

.dozenten-liste {
  padding: var(--band-oben) var(--seiten-rand) var(--band-unten);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.dozent-zeile {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--farbe-rand);
  background: var(--farbe-weiss);
}
@media (min-width: 760px) { .dozent-zeile { grid-template-columns: 300px 1fr; } }

.dozent-zeile-bild {
  position: relative;
  display: flex;
  aspect-ratio: 3 / 2;
  border-bottom: 1px solid var(--farbe-rand);
  text-decoration: none;
}
@media (min-width: 760px) {
  .dozent-zeile-bild { aspect-ratio: 3 / 4; border-bottom: none; border-right: 1px solid var(--farbe-rand); }
}
.dozent-zeile-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Die Bildspalte umfasst Porträt und Bildangabe (Baustein in basis.css, lage „unter“); hier nur ihr Abstand
   zum Rand der Zeile. */
.dozent-zeile-bildspalte .bild-caption--unter { margin-inline: 24px; }
@media (min-width: 760px) { .dozent-zeile-bildspalte .bild-caption--unter { margin-bottom: 16px; } }

.dozent-zeile-inhalt { padding: 28px 24px; display: flex; flex-direction: column; }
@media (min-width: 760px) { .dozent-zeile-inhalt { padding: 32px 34px; } }

.dozent-zeile-kopf { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.dozent-zeile-kopf h2 { margin: 0; font-size: var(--zwischentitel); line-height: var(--zwischentitel-zeile); font-weight: 800; letter-spacing: -0.01em; }
@media (max-width: 599px) { .dozent-zeile-kopf h2 { font-size: var(--zwischentitel-telefon); } }
.dozent-zeile-kopf h2 a { text-decoration: none; color: inherit; }
.dozent-zeile-kopf h2 a:hover { color: var(--farbe-teal); }
.dozent-seit {
  font-family: var(--schrift-mono);
  font-size: var(--mono-etikett);
  letter-spacing: var(--mono-etikett-laufweite);
  text-transform: uppercase;
  color: var(--farbe-teal);
  white-space: nowrap;
}

.dozent-zeile-meta { font-size: var(--angabe); color: var(--farbe-muted); margin-bottom: 16px; }
.dozent-zeile-bio { margin: 0 0 22px; font-size: var(--kartentext); line-height: var(--kartentext-zeile); color: var(--farbe-text); max-width: 46em; }

.dozent-zeile-kurse { margin-top: auto; }
.dozent-zeile-kurse-label {
  font-family: var(--schrift-mono);
  font-size: var(--mono-etikett);
  letter-spacing: var(--mono-etikett-laufweite);
  text-transform: uppercase;
  color: var(--farbe-muted);
  margin: 0 0 10px;
}
.dozent-zeile-kurse-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.dozent-kurs-pill {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--farbe-feldrand);
  background: var(--farbe-creme);
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--farbe-tinte);
}
.dozent-kurs-pill:hover { border-color: var(--farbe-teal); color: var(--farbe-teal); }
.dozent-kurs-pill span { color: var(--farbe-muted); font-weight: 500; }
/* Lehrgang-Pill: deutlich abgesetzt vom Einzelkurs (salbei gefüllt, teal Rand). */
.dozent-lehrgang-pill {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--farbe-teal);
  background: var(--farbe-teal-hell);
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 700;
  color: var(--farbe-teal-tief);
}
.dozent-lehrgang-pill:hover { background: var(--farbe-teal); color: var(--farbe-weiss); }

/* ---- Mitmachen-Teaser ---- */
/* Polster (Karte 637, E6): oben die weite Stufe (eigene Fläche). Unten bleiben 56 px: Die Zeichnung steht auf der
   Unterkante, ihr negativer Rand (`.zf-illu--banksy`, unten) hebt genau dieses Polster auf. */
.dozenten-mitmachen { padding: var(--band-weit) var(--seiten-rand) 56px; background: var(--farbe-teal-hell); }
.dozenten-mitmachen-inhalt { max-width: 760px; }
.dozenten-mitmachen-inhalt h2 { margin: 0 0 14px; font-weight: 800; color: var(--farbe-teal-tief); }
/* :not(.kicker), sonst traegt der Kicker-Absatz die 16px dieser Regel statt der
   globalen 12px aus basis.css -- „MITMACHEN" stand deutlich groesser da als jeder
   andere Kicker der Seite (Befund Inhaber 03.08.2026). Dieselbe Falle und dieselbe
   Loesung wie einst bei .teaser-karte der Startseite. */
.dozenten-mitmachen-inhalt p:not(.kicker) { margin: 0 0 24px; font-size: var(--lesetext); line-height: var(--lesetext-zeile); color: var(--farbe-teal-tief); max-width: 38em; }
.btn-mitmachen {
  text-decoration: none;
  display: inline-block;
  background: var(--farbe-footer);
  color: var(--farbe-weiss);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
}
.btn-mitmachen:hover { filter: brightness(1.3); }

/* ---- Illustration: Banksy (Werkbank 408) — nur Linie, das Teal scheint durch. Steht auf der
   Unterkante des Bands und ragt ab 1280 rund 130 px darüber; dafür bekommt das Band Luft nach oben. */
@media (max-width: 1279px) { .zf-illu--banksy { width: min(62vw, 280px); margin: 24px -24px -56px auto; } }
@media (min-width: 1280px) {
  .dozenten-mitmachen.hat-illu { margin-top: 160px; }
  .zf-illu--banksy { width: min(391px, 27.2vw); left: calc(50% + 160px); bottom: 0; }
}
