/* Zeichenfabrik -- Dozent*innen-Detailseite, sektionsspezifische Stile.
   .detail-hero/.detail-body-sektion/.detail-koerper/.detail-hauptspalte/.detail-sidebar/
   .detail-label/.detail-weitere kommen aus kursdetail.css (generisches Detailseiten-Layout,
   nicht Kurs-spezifisch) -- hier nur, was wirklich neu ist. */

@media (min-width: 1024px) {
  .dozent-hero { grid-template-columns: 0.85fr 1.15fr; }
  .dozent-koerper { grid-template-columns: 1fr 320px; }
}

.dozent-hero-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.badge-dozent-rolle {
  font-family: var(--schrift-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #22403F;
  background: var(--farbe-teal-hell);
  padding: 4px 10px;
}
.dozent-hero-seit {
  font-family: var(--schrift-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8A8377;
}
.dozent-hero-meta { font-size: 15px; color: #6B665E; margin-top: 10px; }
.dozent-hero-kurz { margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: #37342D; max-width: 32em; }

.dozent-vita { margin: 0 0 34px; font-size: 18px; line-height: 1.7; color: #37342D; max-width: 38em; }

.dozent-zitat {
  margin: 0;
  padding-left: 22px;
  border-left: 2px solid var(--farbe-teal-hell);
  max-width: 34em;
}
.dozent-zitat blockquote {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  font-style: italic;
  color: #152B2A;
  letter-spacing: -0.01em;
}

.dozent-schwerpunkte-liste { display: flex; flex-direction: column; }
.dozent-schwerpunkt-zeile {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #E1DCD1;
  font-size: 15px;
  color: #37342D;
}
.dozent-schwerpunkt-zeile:last-child { border-bottom: none; }
.dozent-schwerpunkt-zeile .lernpunkt-pfeil { color: var(--farbe-teal); margin-top: 2px; }

/* ---- Werkproben-Galerie ---- */
.dozent-werke { padding: 52px 56px 60px; border-bottom: 1px solid var(--farbe-rand); }
.dozent-werke-kopf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.dozent-werke-kopf h2 { margin: 0; font-size: 28px; }
.dozent-werke-zaehler {
  font-family: var(--schrift-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #8A8377;
}
.dozent-werke-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .dozent-werke-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dozent-werke-grid { grid-template-columns: 1fr; } }

.werk-kachel {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  border: 1px solid var(--farbe-rand);
  background: #F1EEE8;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  font-family: inherit;
}
.werk-kachel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.werk-kachel:hover img { transform: scale(1.05); }
.werk-kachel:focus-visible { outline: 2px solid var(--farbe-teal); outline-offset: 2px; }
.werk-kachel-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 14px;
  background: linear-gradient(to top, rgba(13, 20, 19, 0.82) 0%, rgba(13, 20, 19, 0.4) 55%, transparent 100%);
  pointer-events: none;
  text-align: left;
}
.werk-kachel-titel { display: block; font-size: 16px; font-weight: 700; color: #fff; line-height: 1.2; }
.werk-kachel-meta {
  display: block;
  font-family: var(--schrift-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #CFE0E3;
  margin-top: 4px;
}

/* ---- Werkproben-Lightbox ---- */
.werk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(20, 18, 15, 0.84);
  animation: werkFade 0.2s ease;
}
.werk-lightbox[hidden] { display: none; }
@keyframes werkFade { from { opacity: 0; } to { opacity: 1; } }

.werk-lightbox-schliessen,
.werk-lightbox-nav {
  position: fixed;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.werk-lightbox-schliessen:hover,
.werk-lightbox-nav:hover { background: rgba(0, 0, 0, 0.55); }
.werk-lightbox-schliessen { top: 22px; right: 26px; width: 44px; height: 44px; font-size: 26px; }
.werk-lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 26px; }
.werk-lightbox-prev { left: 20px; }
.werk-lightbox-next { right: 20px; }

.werk-lightbox-panel {
  display: flex;
  flex-direction: column;
  background: var(--farbe-creme);
  max-width: min(1000px, 90vw);
  max-height: 88vh;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  animation: werkPanel 0.22s ease;
}
@keyframes werkPanel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.werk-lightbox-bild { background: #0d1413; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.werk-lightbox-bild img { display: block; max-width: 100%; max-height: 70vh; object-fit: contain; }
.werk-lightbox-leiste {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--farbe-rand);
}
.werk-lightbox-titel { font-size: 18px; font-weight: 800; line-height: 1.2; }
.werk-lightbox-meta {
  font-family: var(--schrift-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--farbe-muted);
  margin-top: 4px;
}
.werk-lightbox-pos { font-family: var(--schrift-mono); font-size: 12px; color: #8A8377; white-space: nowrap; }

@media (max-width: 760px) {
  .dozent-werke { padding: 40px 22px 48px; }
}
