/*
  L-Stil — Design-System für widrichfilm.com Redesign
  Stand: 19.6.2026, aus redesign-demo/variant-l-final.html übertragen.
  Wird vorerst nur von templates/home.php verwendet. Andere Templates laufen weiter mit index.css.
*/

:root {
  --bg: #131613;
  --surface: #1c1f1c;
  --surface-2: #232723;
  --text: #f5f5ee;
  --muted: #9aa098;
  --line: #2e322e;
  --accent: #60bb46;
  --accent-light: #7ed567;
  --display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* Reset + Body — nur wenn body die Klasse .theme-l trägt, damit andere Seiten unangetastet bleiben */
body.theme-l {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
body.theme-l * { box-sizing: border-box; }
body.theme-l a { color: inherit; text-decoration: none; }
body.theme-l h1, body.theme-l h2, body.theme-l h3, body.theme-l h4, body.theme-l p, body.theme-l ul, body.theme-l ol {
  margin: 0; padding: 0;
}
body.theme-l ul { list-style: none; }

/* Custom Cursor */
.theme-l .cursor {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.25s, height 0.25s;
  will-change: transform;
}
.theme-l .cursor.large { width: 56px; height: 56px; }
@media (hover: none) {
  body.theme-l { cursor: auto; }
  .theme-l .cursor { display: none; }
}

/* Header */
.theme-l .site-header-l {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 2rem;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 2rem;
  background: rgba(19, 22, 19, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.theme-l .site-logo-l {
  font-family: var(--display);
  font-size: 21px; font-weight: 700;
  letter-spacing: -0.03em;
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--text);
}
.theme-l .site-logo-l .blob {
  width: 11px; height: 11px;
  background: var(--accent); border-radius: 50%;
  animation: blob 5s ease-in-out infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 50%; transform: rotate(0deg); }
  33% { border-radius: 40% 60% 50% 50%; transform: rotate(120deg); }
  66% { border-radius: 60% 40% 60% 40%; transform: rotate(240deg); }
}
.theme-l .site-nav-l { display: flex; gap: 1.5rem; font-size: 13px; font-weight: 400; }
.theme-l .site-nav-l a { position: relative; padding-bottom: 2px; }
.theme-l .site-nav-l a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.theme-l .site-nav-l a:hover::after { width: 100%; }
.theme-l .site-nav-l a.is-active { color: var(--accent); }
.theme-l .site-nav-l a.is-active::after { width: 100%; }
.theme-l .nav-suche {
  display: flex; align-items: center;
  margin-left: 0.6rem;
  margin-top: -3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 0.2rem 0 0.5rem;
  background: rgba(0,0,0,0.15);
  transition: border-color 0.2s;
}
.theme-l .nav-suche:focus-within { border-color: var(--accent); }
.theme-l .nav-suche input[type="search"] {
  background: transparent; border: none;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text);
  width: 110px;
  padding: 0.25rem 0;
  outline: none;
}
.theme-l .nav-suche input[type="search"]::placeholder { color: var(--muted); }
.theme-l .nav-suche input[type="search"]::-webkit-search-cancel-button { display: none; }
.theme-l .nav-suche button {
  background: transparent; border: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  transition: color 0.2s;
}
.theme-l .nav-suche button:hover { color: var(--accent); }
.theme-l .site-actions-l { display: flex; gap: 0.6rem; font-size: 13px; }
.theme-l .site-actions-l .lang.is-active { color: var(--accent); font-weight: 600; }
.theme-l .site-actions-l .lang:not(.is-active) { opacity: 0.5; }

/* Werk-Filter */
.theme-l .filter-bar {
  position: fixed; top: 68px; left: 0; right: 0;
  z-index: 90;
  padding: 0.5rem 2rem 0.45rem;
  background: rgba(19, 22, 19, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
  overflow-x: auto;
}
.theme-l .filter-bar .filter-label {
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  flex-shrink: 0;
}
.theme-l .filter-pills { display: flex; gap: 1.2rem; flex-wrap: nowrap; align-items: center; }
.theme-l .filter-pills a {
  font-size: 13px; font-weight: 400;
  padding: 0 0 2px; position: relative;
  white-space: nowrap;
  color: var(--text); opacity: 0.7;
  transition: color 0.2s;
}
.theme-l .filter-pills a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.theme-l .filter-pills a:hover { opacity: 1; color: var(--accent); }
.theme-l .filter-pills a:hover::after { width: 100%; }
.theme-l .filter-pills a.active {
  color: var(--accent); opacity: 1; font-weight: 500;
}
.theme-l .filter-pills a.active::after { width: 100%; }

/* HERO */
.theme-l .hero {
  position: relative;
  height: 100vh; min-height: 600px;
  overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 9rem 2rem 2rem;
}
.theme-l .hero-bg-wrap { position: absolute; inset: 0; overflow: hidden; }
.theme-l .hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  clip-path: inset(100% 0 0 0);
  animation: hero-reveal 1.4s cubic-bezier(0.7, 0, 0.3, 1) 0.3s forwards;
}
@keyframes hero-reveal { to { clip-path: inset(0); } }
.theme-l .hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,22,19,0.55) 0%, rgba(19,22,19,0.3) 35%, rgba(19,22,19,0.8) 100%);
  pointer-events: none;
}
.theme-l .hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.theme-l .hero-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 3rem;
}
.theme-l .hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: var(--accent); color: var(--bg);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; border-radius: 100px;
  opacity: 0; animation: fadeIn 0.8s ease 1s forwards;
  align-self: flex-start;
}
.theme-l .hero-tag .pulse {
  width: 7px; height: 7px;
  background: var(--bg); border-radius: 50%;
  animation: pulse 1.4s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.4;transform:scale(0.75);} }
@keyframes fadeIn { to { opacity: 1; } }

.theme-l .hero-bio {
  max-width: 480px;
  text-align: right;
  opacity: 0; animation: fadeIn 0.8s ease 1.1s forwards;
}
.theme-l .hero-bio-text {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: rgba(255,255,255,0.95);
}
.theme-l .hero-bio-text em {
  font-style: italic;
  color: var(--accent);
}
.theme-l .hero-bio-text a {
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, color 0.2s;
}
.theme-l .hero-bio-text a:hover { color: var(--accent); border-color: var(--accent); }

.theme-l .hero-headline-wrap { align-self: flex-start; max-width: 90%; }
.theme-l .hero-headline {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.95; font-weight: 700;
  letter-spacing: -0.04em;
  color: white;
  overflow: hidden;
}
.theme-l .hero-headline .word {
  display: inline-block;
  transform: translateY(110%);
  animation: wordUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.theme-l .hero-headline .word.delay-1 { animation-delay: 0.5s; }
.theme-l .hero-headline .word.green { color: var(--accent); }
@keyframes wordUp { to { transform: translateY(0); } }

.theme-l .hero-bottom {
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: end;
  opacity: 0; animation: fadeIn 0.8s ease 1.3s forwards;
}
.theme-l .hero-sub {
  font-size: 1.05rem; line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 50ch;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.theme-l .hero-meta {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.05em; line-height: 1.7;
  color: rgba(255,255,255,0.7); text-align: right;
}
.theme-l .hero-meta strong { color: var(--accent); }
.theme-l .hero-meta a { transition: color 0.2s; }
.theme-l .hero-meta a:hover { color: var(--accent); }

.theme-l .scroll-cue {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  z-index: 3;
}
.theme-l .scroll-cue .line {
  width: 1px; height: 32px;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0% { transform-origin: top; transform: scaleY(0); }
  50% { transform-origin: top; transform: scaleY(1); }
  51% { transform-origin: bottom; transform: scaleY(1); }
  100% { transform-origin: bottom; transform: scaleY(0); }
}

/* Counter */
.theme-l .counter-strip {
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  max-width: 1500px; margin: 0 auto;
}
.theme-l .counter { padding: 1rem; }
.theme-l .counter-num {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-variant-numeric: tabular-nums;
}
.theme-l .counter-num .plus { color: var(--accent-light); }
.theme-l .counter-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
  max-width: 24ch;
}

/* Section-Heads (shared) */
.theme-l .upcoming, .theme-l .featured {
  max-width: 1500px; margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
/* Wenn Featured direkt nach Upcoming kommt, kein Doppel-Abstand */
.theme-l .upcoming + .featured { padding-top: 0; }
.theme-l .section-head {
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: end;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.theme-l .section-mono {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 1rem;
}
.theme-l .section-mono::before { content: '◆ '; margin-right: 4px; }
.theme-l .section-headline {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 0.95;
  letter-spacing: -0.04em;
}
.theme-l .section-headline em { font-style: italic; color: var(--accent); }
.theme-l .section-headline .light { font-weight: 300; opacity: 0.4; }
.theme-l .section-count {
  font-family: var(--mono); font-size: 13px;
  color: var(--muted); text-align: right;
}
.theme-l .section-count .big {
  display: block; font-family: var(--display);
  font-size: 3rem; font-weight: 700;
  line-height: 1; color: var(--text);
  margin-bottom: 0.2rem;
}

/* Aktuell-Cards */
.theme-l .upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.theme-l .upcoming-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s, background 0.3s;
  color: var(--text);
}
.theme-l .upcoming-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--surface-2);
}
.theme-l .upcoming-card-img {
  aspect-ratio: 16/9;
  background-color: var(--surface-2);
  position: relative;
  overflow: hidden;
}
.theme-l .upcoming-card-img .card-slides {
  position: absolute; inset: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
  scrollbar-width: none;
}
.theme-l .upcoming-card-img .card-slides::-webkit-scrollbar { display: none; }
.theme-l .card-slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
}
.theme-l .upcoming-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(19,22,19,0.8) 100%);
  z-index: 1;
  pointer-events: none;
}
.theme-l .upcoming-card-date { z-index: 2; }
.theme-l .upcoming-card-date {
  position: absolute; bottom: 1rem; left: 1.2rem;
  background: var(--accent); color: var(--bg);
  padding: 0.5rem 0.9rem;
  font-family: var(--mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 100px;
  z-index: 2;
}
.theme-l .upcoming-card-body {
  padding: 1.8rem 1.6rem 2rem;
  flex: 1;
  display: flex; flex-direction: column;
}
.theme-l .upcoming-card-type {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.theme-l .upcoming-card-title {
  font-family: var(--display);
  font-size: 1.7rem; line-height: 1.1;
  font-weight: 700; letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.theme-l .upcoming-card-where {
  font-size: 1rem; line-height: 1.4;
}
.theme-l .upcoming-card-where strong { color: var(--accent); display: block; }
.theme-l .upcoming-card-arrow {
  margin-top: auto; padding-top: 1.2rem;
  font-family: var(--mono); font-size: 12px;
  color: var(--muted);
  display: flex; justify-content: space-between; align-items: center;
}
.theme-l .upcoming-card-arrow .arrow {
  font-size: 18px; color: var(--accent);
  transition: transform 0.3s;
}
.theme-l .upcoming-card:hover .upcoming-card-arrow .arrow { transform: translateX(6px); }

/* WERK */
.theme-l .featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 1.5rem;
}
.theme-l .work { display: flex; flex-direction: column; color: var(--text); }
.theme-l .work-image-wrap {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 1.2rem;
  border-radius: 6px;
  background: var(--surface-2);
  display: flex;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
  scrollbar-width: none;
}
.theme-l .work-image-wrap::-webkit-scrollbar { display: none; }
.theme-l .work-image {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
  transition: transform 0.6s ease;
  will-change: transform;
}
/* Hover-Zoom auf Slides entfernt — würde im Scroll-Container Probleme machen */
.theme-l .work-year {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--accent);
  margin-bottom: 0.5rem;
}
.theme-l .work-title {
  font-family: var(--display);
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 0.6rem;
  transition: color 0.25s;
}
.theme-l .work:hover .work-title { color: var(--accent); }
.theme-l .work-sub {
  font-size: 14px; line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

/* Footer */
.theme-l .site-footer-l {
  margin-top: 4rem;
  padding: 3rem 2rem 2rem;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.05em; color: var(--muted);
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--line);
}
.theme-l .site-footer-l a { color: var(--muted); transition: color 0.2s; }
.theme-l .site-footer-l a:hover { color: var(--accent); }

/* Social-Media-Icons rechts im Footer */
.theme-l .footer-social {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.theme-l .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  color: var(--muted);
}
.theme-l .footer-social a:hover { color: var(--accent); }
.theme-l .footer-social svg { display: block; }

/* ============== PROJEKT-DETAIL ============== */

/* Breadcrumb */
.theme-l .crumbs {
  padding: 6.5rem 2rem 1rem;
  max-width: 1500px; margin: 0 auto;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.theme-l .crumbs a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.theme-l .crumbs a:hover { color: var(--accent); border-color: var(--accent); }
.theme-l .crumbs .sep { margin: 0 0.6rem; color: var(--line); }

/* Slider */
.theme-l .slider {
  max-width: 1500px; margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}
/* Viewport = Wrapper nur um Slider-Frame + Nav-Buttons.
   Referenz-Rahmen für position:absolute der Nav (top: 50% = Bildmitte,
   unabhängig von der Höhe der Thumbnails-Leiste darunter). */
.theme-l .slider-viewport {
  position: relative;
}
.theme-l .slider-frame {
  position: relative;
  border-radius: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--surface);
  aspect-ratio: 16/9;
  min-height: 320px;
  display: flex;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;  /* Vertikal scrollt die Page, horizontal wischt den Slider */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.theme-l .slider-frame::-webkit-scrollbar { display: none; }
.theme-l .slider-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: var(--surface);
  background-size: cover;
  background-position: center;
}
.theme-l .slider-slide.is-contain {
  /* Blur-Background: das Bild selbst füllt den Container als unscharfer
     Hintergrund, das echte Bild liegt drüber im "contain"-Modus. */
  filter: none;
}
.theme-l .slider-slide.is-contain::before {
  content: '';
  position: absolute; inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.55);
  transform: scale(1.1);
}
.theme-l .slider-slide img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 1;
}
.theme-l .slider-slide.is-cover img { object-fit: cover; }
.theme-l .slider-slide.is-contain img { object-fit: contain; }
.theme-l .slider-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.5rem 1.8rem;
  background: linear-gradient(180deg, transparent 0%, rgba(19,22,19,0.92) 100%);
  font-size: 13px;
  color: rgba(255,255,255,0.92);
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem;
}
.theme-l .slider-caption .copyright {
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.55); letter-spacing: 0.05em;
}
.theme-l .slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(19,22,19,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  color: var(--text);
  font-size: 18px;
  z-index: 5;
}
.theme-l .slider-nav:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.theme-l .slider-nav.prev { left: 3rem; }
.theme-l .slider-nav.next { right: 3rem; }
.theme-l .slider-thumbs-wrap {
  position: relative;
  margin-top: 1rem;
}
.theme-l .slider-thumbs {
  display: flex; gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.theme-l .slider-thumbs::-webkit-scrollbar { height: 6px; }
.theme-l .slider-thumbs::-webkit-scrollbar-track { background: transparent; }
.theme-l .slider-thumbs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.theme-l .slider-thumbs::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.theme-l .thumbs-scroll {
  position: absolute; top: 0; height: calc(100% - 0.5rem);
  width: 48px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.theme-l .thumbs-scroll.is-visible { opacity: 1; pointer-events: auto; }
.theme-l .thumbs-scroll.prev { left: 0; background: linear-gradient(90deg, var(--bg) 30%, transparent); }
.theme-l .thumbs-scroll.next { right: 0; background: linear-gradient(270deg, var(--bg) 30%, transparent); }
.theme-l .thumbs-scroll:hover { color: var(--accent); }
.theme-l .slider-thumb {
  flex: 0 0 110px;
  aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  border-radius: 4px;
  opacity: 0.45;
  transition: opacity 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.theme-l .slider-thumb:hover { opacity: 0.75; }
.theme-l .slider-thumb.is-active { opacity: 1; border-color: var(--accent); }

/* Projekt-Header */
.theme-l .projekt-header {
  max-width: 1500px; margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.theme-l .projekt-meta-mono {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.theme-l .projekt-meta-mono::before { content: '◆ '; margin-right: 4px; }
.theme-l .projekt-titel {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700; line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.4rem;
}
.theme-l .projekt-sub {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.45;
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
}
.theme-l .projekt-sub em { font-style: italic; color: var(--accent); }
.theme-l .projekt-fakten {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.05em; line-height: 1.9;
  color: var(--muted);
  text-align: right;
}
.theme-l .projekt-fakten > div { margin-bottom: 0.2rem; }
.theme-l .projekt-fakten dt {
  color: var(--muted);
  display: inline;
  margin-right: 0.6em;
}
.theme-l .projekt-fakten dd {
  color: var(--text);
  display: inline;
  margin: 0;
}
.theme-l .projekt-fakten .award-line { color: var(--accent); font-weight: 600; }
.theme-l .projekt-fakten .award-line dt,
.theme-l .projekt-fakten .award-line dd { color: var(--accent); }

/* Body (Beschreibung + Credits) */
.theme-l .projekt-body {
  max-width: 1500px; margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
}
.theme-l .beschreibung {
  font-size: 1.05rem; line-height: 1.7;
  color: rgba(245,245,238,0.92);
}
.theme-l .beschreibung p { margin-bottom: 1.2rem; }
.theme-l .beschreibung strong { color: var(--accent); font-weight: 600; }
.theme-l .beschreibung a {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s;
}
.theme-l .beschreibung a:hover { border-color: var(--accent); }
.theme-l .beschreibung blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.6rem;
  border-left: 2px solid var(--accent);
  font-style: italic;
  color: rgba(255,255,255,0.75);
  font-family: var(--display);
  font-size: 1.2rem; line-height: 1.4;
}

.theme-l .credits {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem 2rem 2.2rem;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  align-self: start;
}
.theme-l .credits h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.theme-l .credits p { color: var(--text); margin: 0; line-height: 1.85; }
.theme-l .credits p + p { margin-top: 0.05rem; }
.theme-l .credits .role { color: var(--muted); font-weight: 400; }
.theme-l .credits a { color: var(--text); border-bottom: 1px solid var(--line); }
.theme-l .credits a:hover { color: var(--accent); border-color: var(--accent); }

/* Ereignisse-Liste auf Projekt-Detail */
.theme-l .ereignisse-section {
  max-width: 1500px; margin: 0 auto;
  padding: 5rem 2rem 4rem;
}
.theme-l .ereignis-liste { list-style: none; }
.theme-l .ereignis-liste li {
  display: grid;
  grid-template-columns: 170px 1fr 90px;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
  align-items: center;
  transition: padding 0.2s, background 0.2s;
}
.theme-l .ereignis-liste li:hover { background: rgba(96,187,70,0.03); padding-left: 0.6rem; }
.theme-l .ereignis-liste .datum {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  line-height: 1.4;
  white-space: nowrap;
}
.theme-l .date-short { display: none; }
.theme-l .date-long { display: inline; }
.theme-l .ereignis-liste .text {
  font-size: 14px;
  line-height: 1.5;
}
.theme-l .ereignis-liste .text .titel { color: var(--text); font-weight: 500; }
.theme-l .ereignis-liste .text .ort { color: var(--muted); }
.theme-l .ereignis-liste .star { color: var(--accent); font-size: 16px; }
.theme-l .ereignis-liste .thumb {
  width: 90px; aspect-ratio: 16/10;
  background-size: cover; background-position: center;
  border-radius: 4px;
  background-color: var(--surface-2);
}
.theme-l .ereignis-show-more {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.theme-l .ereignis-show-more a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* ============== FILMEINSÄTZE-FILTER ============== */

.theme-l .einsaetze-filter {
  max-width: 1500px; margin: 0 auto;
  padding: 0 2rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.theme-l .einsaetze-filter label {
  display: flex; flex-direction: column;
  gap: 0.3rem;
}
.theme-l .einsaetze-filter label > span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.theme-l .einsaetze-filter select,
.theme-l .einsaetze-filter input {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.theme-l .einsaetze-filter select:hover,
.theme-l .einsaetze-filter input:hover,
.theme-l .einsaetze-filter select:focus,
.theme-l .einsaetze-filter input:focus {
  border-color: var(--accent);
  outline: none;
}
.theme-l .einsaetze-filter-bottom {
  max-width: 1500px; margin: 0 auto;
  padding: 0 2rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.theme-l .einsaetze-filter-bottom strong {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.theme-l .filter-reset {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.theme-l .filter-reset:hover { color: var(--accent); border-color: var(--accent); }

.theme-l .einsaetze-liste {
  max-width: 1500px; margin: 0 auto;
  padding: 0 2rem 5rem;
  list-style: none;
}
.theme-l .einsaetze-liste .jahr-marker {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.theme-l .einsaetze-liste .jahr-marker:first-child { margin-top: 0; }
.theme-l .einsaetze-liste .einsatz-row {
  display: grid;
  grid-template-columns: 170px 1fr 200px;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding 0.2s, background 0.2s;
}
.theme-l .einsaetze-liste .einsatz-row:hover {
  background: rgba(96,187,70,0.03);
  padding-left: 0.6rem;
}
.theme-l .einsaetze-liste .datum {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.theme-l .einsaetze-liste .text {
  font-size: 14px;
  line-height: 1.5;
}
.theme-l .einsaetze-liste .text a {
  color: var(--text);
  transition: color 0.2s;
}
.theme-l .einsaetze-liste .text a:hover { color: var(--accent); }
.theme-l .einsaetze-liste .projekt-spalte {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.theme-l .einsaetze-liste .projekt-spalte a {
  color: var(--accent);
  transition: opacity 0.2s;
}
.theme-l .einsaetze-liste .projekt-spalte a:hover { opacity: 0.7; }

/* ============== EREIGNIS-DETAIL ============== */

.theme-l .ereignis-detail {
  max-width: 900px; margin: 0 auto;
  padding: 7rem 2rem 5rem;
}
.theme-l .ereignis-datum {
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.theme-l .event-headline {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}
.theme-l .event-unterzeile {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  color: rgba(245,245,238,0.7);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}
.theme-l .event-ort {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}
.theme-l .event-ort a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.theme-l .event-ort a:hover { color: var(--accent); border-color: var(--accent); }

.theme-l .auszeichnung-banner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem 1.8rem;
  margin: 2rem 0 3rem;
  display: flex; align-items: center; gap: 1rem;
  font-size: 1.05rem;
  color: var(--text);
}
.theme-l .auszeichnung-banner.has-star {
  border-color: var(--accent);
  background: rgba(96,187,70,0.06);
}
.theme-l .auszeichnung-banner .star {
  color: var(--accent);
  font-size: 1.5rem;
}

.theme-l .fakten {
  margin: 2rem 0 3rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0.5rem 1.5rem;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
}
.theme-l .fakten dt {
  color: var(--muted);
  letter-spacing: 0.05em;
}
.theme-l .fakten dd {
  color: var(--text);
  margin: 0;
}
.theme-l .fakten dd a {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}
.theme-l .fakten dd a:hover { color: var(--accent); border-color: var(--accent); }

.theme-l .ereignis-detail .beschreibung-frei {
  font-size: 1.05rem; line-height: 1.7;
  color: rgba(245,245,238,0.92);
  margin: 2rem 0 3rem;
}
.theme-l .ereignis-detail .beschreibung-frei a {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.theme-l .verknuepftes-projekt {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.theme-l .verknuepftes-projekt h2 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.theme-l .verknuepftes-projekt h2::before { content: '◆ '; margin-right: 4px; }
.theme-l .verknuepftes-projekt .projekt-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  align-items: center;
  transition: border-color 0.3s, background 0.3s;
}
.theme-l .verknuepftes-projekt .projekt-card:hover {
  border-color: var(--accent);
  background: var(--surface-2);
}
.theme-l .verknuepftes-projekt .projekt-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.theme-l .verknuepftes-projekt .projekt-card-titel {
  font-family: var(--display);
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1;
  color: var(--text);
  display: block;
  margin-bottom: 0.5rem;
}
.theme-l .verknuepftes-projekt .projekt-card-sub {
  font-size: 13.5px; line-height: 1.5;
  color: var(--muted);
  display: block;
}

/* ============== INHALTSSEITE (Kontakt/Impressum) ============== */

.theme-l .inhaltsseite {
  max-width: 900px; margin: 0 auto;
  padding: 0 2rem 5rem;
  font-size: 1.05rem; line-height: 1.7;
  color: rgba(245,245,238,0.92);
}
.theme-l .inhaltsseite h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin: 3rem 0 1rem;
}
.theme-l .inhaltsseite h3 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.theme-l .inhaltsseite h3::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 60px; height: 2px;
  background: var(--accent);
}
/* Lead-Paragraph: erster Absatz ohne H3 davor */
.theme-l .inhaltsseite > p:first-of-type {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.theme-l .inhaltsseite strong { color: var(--accent); font-weight: 600; }
/* Hr-Trennzeichen (vor "Stand: Juni 2026") */
.theme-l .inhaltsseite hr + p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  margin-top: 0;
}
.theme-l .inhaltsseite p { margin-bottom: 1.2rem; }
.theme-l .inhaltsseite a {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s;
}
.theme-l .inhaltsseite a:hover { border-color: var(--accent); }
.theme-l .inhaltsseite ul, .theme-l .inhaltsseite ol {
  margin: 1rem 0 1.2rem 2rem;
  list-style: disc;
}
.theme-l .inhaltsseite hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* ============== DOWNLOAD ============== */

.theme-l .download-section {
  max-width: 1500px; margin: 0 auto;
  padding: 0 2rem 5rem;
}
.theme-l .download-projekt {
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.theme-l .download-projekt:last-child { border-bottom: none; }
.theme-l .download-projekt-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1.5rem;
  gap: 2rem;
}
.theme-l .download-projekt-header h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.theme-l .download-projekt-header h2 a { color: var(--text); transition: color 0.2s; }
.theme-l .download-projekt-header h2 a:hover { color: var(--accent); }
.theme-l .download-projekt-header .download-jahr {
  font-family: var(--mono); font-size: 12px;
  color: var(--accent); letter-spacing: 0.1em;
}
.theme-l .download-liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
}
.theme-l .download-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.theme-l .download-item:hover { border-color: var(--accent); background: var(--surface-2); }
.theme-l .download-bild {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-2);
}
.theme-l .download-bild img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.theme-l .download-info {
  padding: 1rem 1.2rem 1.2rem;
}
.theme-l .download-text {
  display: block;
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}
.theme-l .download-text:hover { color: var(--accent); }
.theme-l .download-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ============== SUCHE ============== */

.theme-l .suche-form {
  max-width: 900px; margin: 0 auto;
  padding: 0 2rem 2rem;
  display: flex; gap: 1rem;
}
.theme-l .suche-form input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 1rem;
}
.theme-l .suche-form input:focus {
  border-color: var(--accent); outline: none;
}
.theme-l .suche-form button {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 0 1.5rem;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.theme-l .suche-form button:hover { background: var(--accent-light); }
.theme-l .suche-summary {
  max-width: 900px; margin: 0 auto 2rem;
  padding: 0 2rem;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.theme-l .suche-summary strong { color: var(--accent); }
.theme-l .suche-resultate {
  max-width: 900px; margin: 0 auto;
  padding: 0 2rem 5rem;
  list-style: none;
}
.theme-l .suche-treffer {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.theme-l .suche-treffer .treffer-typ {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.theme-l .suche-treffer .treffer-titel {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}
.theme-l .suche-treffer .treffer-titel:hover { color: var(--accent); }
.theme-l .suche-treffer .treffer-excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.theme-l .suche-treffer mark {
  background: rgba(96,187,70,0.25);
  color: var(--text);
  padding: 0 2px;
  border-radius: 2px;
}

/* ============== ERROR (404) ============== */

.theme-l .error-page {
  max-width: 900px; margin: 0 auto;
  padding: 0 2rem 5rem;
  text-align: center;
}
.theme-l .error-page .seiten-titel {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.theme-l .error-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(245,245,238,0.85);
  max-width: 50ch;
  margin: 0 auto 3rem;
}
.theme-l .error-suche {
  max-width: 500px; margin: 0 auto 3rem;
  display: flex; gap: 1rem;
}
.theme-l .error-suche input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 1rem;
}
.theme-l .error-suche input:focus { border-color: var(--accent); outline: none; }
.theme-l .error-suche button {
  background: var(--accent); color: var(--bg);
  border: none;
  padding: 0 1.5rem;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.theme-l .error-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.theme-l .error-nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.theme-l .error-nav a:hover { color: var(--accent); border-color: var(--accent); }

/* ============== PREISE NACH PROJEKT ============== */

.theme-l .preise-projekte {
  max-width: 1500px; margin: 0 auto;
  padding: 0 2rem 5rem;
}
.theme-l .projekt-block {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.theme-l .projekt-block:last-child { border-bottom: none; }
.theme-l .projekt-block-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1.5rem;
  gap: 2rem;
}
.theme-l .projekt-block-header h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700; line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.theme-l .projekt-block-header h2 a {
  color: var(--text);
  transition: color 0.2s;
}
.theme-l .projekt-block-header h2 a:hover { color: var(--accent); }
.theme-l .projekt-block-header .projekt-jahr {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.theme-l .award-liste {
  list-style: none;
}
.theme-l .award-liste li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(46,50,46,0.5);
  font-size: 14px;
  line-height: 1.5;
}
.theme-l .award-liste li:last-child { border-bottom: none; }
.theme-l .award-liste .datum {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.theme-l .award-liste .text { color: var(--text); }

/* ============== KATEGORIE-DETAIL ============== */

.theme-l .kategorie-detail {
  max-width: 1500px; margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.theme-l .kategorie-detail .beschreibung {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem; line-height: 1.6;
  color: rgba(245,245,238,0.92);
}
.theme-l .kategorie-detail .beschreibung p { margin-bottom: 1rem; }
.theme-l .kategorie-section-mono {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin: 3rem 0 1.5rem;
}
.theme-l .kategorie-section-mono::before { content: '◆ '; margin-right: 4px; }

/* Format FILM: Bildleiste pro Projekt */
.theme-l .film-liste {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.theme-l .film-item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.theme-l .film-item:last-child { border-bottom: none; }
.theme-l .film-bildleiste {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  width: 100%;
}
.theme-l .film-bild {
  aspect-ratio: 16/10;
  background-size: cover; background-position: center;
  background-color: var(--surface-2);
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.theme-l .film-bildleiste:hover .film-bild { opacity: 0.5; }
.theme-l .film-bildleiste .film-bild:hover { opacity: 1; transform: scale(1.04); }
.theme-l .film-meta {
  display: flex; flex-direction: column;
  gap: 0.3rem;
}
.theme-l .film-titel {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1;
  color: var(--text);
  transition: color 0.25s;
}
.theme-l .film-titel:hover { color: var(--accent); }
.theme-l .film-jahr {
  font-family: var(--mono);
  font-size: 0.7em;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-left: 0.3em;
}
.theme-l .film-sub {
  font-size: 14.5px; line-height: 1.5;
  color: var(--muted);
  max-width: 80ch;
}

@media (max-width: 980px) {
  .theme-l .film-bildleiste { grid-template-columns: repeat(4, 1fr); }
}

/* Format BIBLIOGRAFIE: Buch-Liste */
.theme-l .biblio-liste {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 2rem 2.5rem;
  margin-bottom: 3rem;
}
.theme-l .biblio-item { display: flex; }
.theme-l .biblio-link {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.5rem;
  width: 100%;
  align-items: start;
  color: var(--text);
  transition: opacity 0.2s;
}
.theme-l .biblio-link:hover { opacity: 0.7; }
.theme-l .biblio-cover {
  aspect-ratio: 3/4;
  background: #ecebe5;
  overflow: hidden;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12),
              0 1px 3px rgba(0,0,0,0.4);
}
.theme-l .biblio-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Placeholder wenn kein Cover-Bild zugeordnet ist */
.theme-l .biblio-cover:empty::before {
  content: '📖';
  font-size: 2rem;
  opacity: 0.25;
}
.theme-l .biblio-meta { display: flex; flex-direction: column; gap: 0.3rem; }
.theme-l .biblio-jahr {
  font-family: var(--mono); font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.theme-l .biblio-titel {
  font-family: var(--display);
  font-size: 1.05rem; line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.theme-l .biblio-sub {
  font-size: 13px; line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

/* Format TABELLE — kompakt ohne Spalte 3 */
.theme-l .einsaetze-liste.is-tabelle .einsatz-row {
  grid-template-columns: 170px 1fr;
}
.theme-l .einsaetze-liste .einsatz-row .datum { white-space: nowrap; }

/* Anker-Blink-Animation für Event-Ziele (von Kategorie-Seite verlinkt) */
@keyframes ev-blink {
  0%, 100% { background: transparent; }
  20%, 60% { background: rgba(96,187,70,0.25); }
  40%, 80% { background: transparent; }
}
.theme-l .ereignis-liste li:target,
.theme-l .ereignis-liste li.ev-highlight,
.theme-l .einsaetze-liste .einsatz-row:target,
.theme-l .einsaetze-liste .einsatz-row.ev-highlight {
  animation: ev-blink 1.6s ease-in-out;
  scroll-margin-top: 130px;
}

/* Format TABELLE-BILD — Thumbnail-Spalte rechts */
.theme-l .einsaetze-liste.is-tabelle-bild .einsatz-row {
  grid-template-columns: 130px 1fr 130px;
}
.theme-l .einsaetze-liste.is-tabelle-bild .thumb-spalte {
  width: 120px; aspect-ratio: 16/10;
  background-size: cover; background-position: center;
  background-color: var(--surface-2);
  border-radius: 4px;
}

@media (max-width: 720px) {
  .theme-l .biblio-liste { grid-template-columns: 1fr; }
  .theme-l .biblio-link { grid-template-columns: 90px 1fr; gap: 1rem; }
  .theme-l .einsaetze-liste.is-tabelle-bild .einsatz-row { grid-template-columns: 100px 1fr; }
  .theme-l .einsaetze-liste.is-tabelle-bild .thumb-spalte { display: none; }
}
@media (max-width: 600px) {
  /* Film-Bildleiste auf Mobile: 1 Bild groß, swipebar (statt 3 winzige) */
  .theme-l .film-bildleiste {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
    scrollbar-width: none;
    gap: 0;
    border-radius: 8px;
  }
  .theme-l .film-bildleiste::-webkit-scrollbar { display: none; }
  .theme-l .film-bildleiste .film-bild {
    flex: 0 0 100%;
    aspect-ratio: 16/9;
    border-radius: 0;
    scroll-snap-align: start;
  }
  .theme-l .film-bildleiste:hover .film-bild { opacity: 1; }
  .theme-l .film-bildleiste .film-bild:hover { transform: none; }
}

/* ============== TIMELINE-ZICKZACK ============== */

.theme-l .timeline-zick {
  max-width: 1500px; margin: 0 auto;
  padding: 0 2rem 5rem;
  position: relative;
}
.theme-l .timeline-zick::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}
.theme-l .timeline-jahr-marker {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  text-align: center;
  margin: 3rem 0 2rem;
  background: var(--bg);
  padding: 0.5rem 1.5rem;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.theme-l .timeline-item {
  position: relative;
  width: 50%;
  padding: 0 3rem 2rem;
  box-sizing: border-box;
}
.theme-l .timeline-item.is-left {
  margin-right: auto;
  padding-right: 3rem;
  padding-left: 0;
}
.theme-l .timeline-item.is-right {
  margin-left: 50%;
  padding-left: 3rem;
  padding-right: 0;
}
.theme-l .timeline-node {
  position: absolute;
  top: 1.5rem;
  width: 14px; height: 14px;
  background: var(--accent);
  border: 3px solid var(--bg);
  border-radius: 50%;
  z-index: 3;
}
.theme-l .timeline-item.is-left .timeline-node { right: -8px; }
.theme-l .timeline-item.is-right .timeline-node { left: -8px; }
.theme-l .timeline-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.theme-l .timeline-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.theme-l .timeline-bild {
  display: block;
  aspect-ratio: 16/10;
  background-size: cover; background-position: center;
  background-color: var(--surface-2);
}
.theme-l .timeline-content {
  padding: 1.2rem 1.4rem 1.4rem;
}
.theme-l .timeline-datum {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.theme-l .timeline-text {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.theme-l .timeline-text a { color: var(--text); transition: color 0.2s; }
.theme-l .timeline-text a:hover { color: var(--accent); }
.theme-l .timeline-projekt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: inline-block;
  margin-top: 0.4rem;
  border-bottom: 1px solid transparent;
}
.theme-l .timeline-projekt:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 980px) {
  .theme-l .timeline-zick::before { left: 12px; }
  .theme-l .timeline-jahr-marker { left: 12px; transform: none; text-align: left; }
  .theme-l .timeline-item.is-left, .theme-l .timeline-item.is-right {
    width: 100%;
    margin-left: 0;
    padding: 0 0 2rem 2.5rem;
  }
  .theme-l .timeline-item.is-left .timeline-node,
  .theme-l .timeline-item.is-right .timeline-node {
    left: 4px;
    right: auto;
  }
}

/* ============== TIMELINE-SPRUNGAUSWAHL ============== */

.theme-l .timeline-year-picker {
  max-width: 1500px; margin: 0 auto;
  padding: 0 2rem 2rem;
  display: flex; align-items: center; gap: 1rem;
}
.theme-l .timeline-year-picker label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
}
.theme-l .timeline-year-picker select {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
}

/* ============== BIOGRAFIE ============== */

.theme-l .page-header {
  padding: 8rem 2rem 2rem;
  max-width: 1500px; margin: 0 auto;
  position: relative;
}
.theme-l .page-header::after {
  content: '';
  position: absolute;
  left: 2rem; right: 2rem; bottom: 0;
  border-bottom: 1px solid var(--line);
}
.theme-l .page-mono {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.theme-l .page-mono::before { content: '◆ '; margin-right: 4px; }
.theme-l .page-titel {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700; line-height: 0.95;
  letter-spacing: -0.04em;
}
.theme-l .page-titel em { font-style: italic; color: var(--accent); }

.theme-l .bio-layout {
  max-width: 1500px; margin: 0 auto;
  padding: 4rem 2rem 5rem;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: start;
}
.theme-l .bio-sidebar {
  /* Kein sticky — Sidebar scrollt natürlich mit der Page mit.
     Beide Spalten bewegen sich gemeinsam, kein seltsames Zusammenhängen. */
  align-self: start;
  padding-bottom: 2rem;
}
.theme-l .bio-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover; background-position: center;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  filter: contrast(0.95) saturate(0.85);
  background-color: var(--surface-2);
}
.theme-l .bio-portrait-credit {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  text-align: right;
}
.theme-l .bio-text {
  font-size: 14.5px; line-height: 1.6;
  color: rgba(245,245,238,0.92);
}
.theme-l .bio-text p { margin-bottom: 1rem; }
.theme-l .bio-text strong { color: var(--text); font-weight: 500; }
.theme-l .bio-text a {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s;
}
.theme-l .bio-text a:hover { border-color: var(--accent); }
.theme-l .bio-key-facts {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.theme-l .bio-key-facts > div { margin-bottom: 0.3rem; }
.theme-l .bio-key-facts dt { color: var(--muted); display: inline; margin-right: 0.5em; }
.theme-l .bio-key-facts dd { color: var(--text); display: inline; margin: 0; }

.theme-l .timeline {
  position: relative;
  padding-left: 2rem;
}
.theme-l .timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--line) 40%, var(--line) 100%);
}
.theme-l .jahr-block {
  margin-bottom: 4rem;
  position: relative;
}
.theme-l .jahr-block::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 13px; height: 13px;
  background: var(--accent);
  border: 3px solid var(--bg);
  border-radius: 50%;
  z-index: 2;
}
.theme-l .jahr {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700; line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.theme-l .jahr .jahr-count {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 1rem;
  vertical-align: middle;
}
.theme-l .bio-eintrag {
  display: grid;
  grid-template-columns: 80px 1fr 120px;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding 0.2s, background 0.2s;
}
.theme-l .bio-eintrag:hover { background: rgba(96,187,70,0.03); padding-left: 0.6rem; }
.theme-l .bio-eintrag .tagmonat {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-top: 0.15rem;
}
.theme-l .bio-eintrag .text-col {
  font-size: 15px; line-height: 1.55;
  color: rgba(245,245,238,0.92);
}
.theme-l .bio-eintrag .text-col strong { color: var(--text); font-weight: 500; }
.theme-l .bio-eintrag .text-col em { font-style: italic; color: var(--accent); }
.theme-l .bio-eintrag .text-col a {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}
.theme-l .bio-eintrag .text-col p { margin: 0; }
.theme-l .bio-eintrag .text-col p + p { margin-top: 0.4rem; }
.theme-l .bio-eintrag .thumb {
  width: 120px; aspect-ratio: 16/10;
  background-size: cover; background-position: center;
  border-radius: 4px;
  background-color: var(--surface-2);
}
.theme-l .bio-eintrag .thumb-btn {
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s;
}
.theme-l .bio-eintrag .thumb-btn:hover { transform: scale(1.04); }

/* Lightbox */
.theme-l .l-lightbox {
  position: fixed; inset: 0;
  z-index: 9999;
  background: rgba(19, 22, 19, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  padding: 4rem;
  opacity: 1;
  cursor: pointer; /* überschreibt body-cursor:none, ganze Fläche klickt zum Schließen */
}
.theme-l .l-lightbox * { cursor: pointer; }
.theme-l .l-lightbox[hidden] { display: none; }
.theme-l .l-lightbox-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 40px; height: 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.theme-l .l-lightbox-close:hover { background: var(--accent); color: #131613; transform: scale(1.05); }
.theme-l .l-lightbox-inner {
  max-width: 1400px;
  max-height: 100%;
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center;
}
/* Wrap um das Lightbox-Bild — Anker für den Close-Button an der Bildkante */
.theme-l .l-lightbox-imgwrap {
  position: relative;
  display: inline-block;
  line-height: 0; /* kein extra space unter dem img */
}
.theme-l .l-lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  object-fit: contain;
  border-radius: 8px;
}
.theme-l .l-lightbox-caption {
  font-size: 14px;
  color: var(--text);
  text-align: center;
  max-width: 80ch;
  line-height: 1.5;
}
.theme-l .l-lightbox-copyright {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
}

/* ============== PROJEKTE-ÜBERSICHT ============== */

.theme-l .intro {
  padding: 9rem 2rem 3rem;
  max-width: 1500px; margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.theme-l .intro-mono {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.theme-l .intro-mono::before { content: '◆ '; margin-right: 4px; }
.theme-l .intro-headline {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.6rem;
}
.theme-l .intro-headline em { font-style: italic; color: var(--accent); }
.theme-l .intro-text {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: rgba(245,245,238,0.78);
}
.theme-l .intro-meta {
  display: flex; gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.theme-l .intro-meta .num {
  font-family: var(--display);
  font-size: 1.8rem; font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.2rem;
}

/* Cards */
.theme-l .projekte-grid {
  max-width: 1500px; margin: 0 auto;
  padding: 2rem 2rem 6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 1.6rem;
}
.theme-l .card {
  display: flex; flex-direction: column;
  color: var(--text);
}
.theme-l .card-bild-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 1.1rem;
  border-radius: 8px;
  background: var(--surface-2);
}
.theme-l .card-bild-wrap .card-slides {
  position: absolute; inset: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
  scrollbar-width: none;
}
.theme-l .card-bild-wrap .card-slides::-webkit-scrollbar { display: none; }
.theme-l .card-bild {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
}
/* Hover-Zoom auf Slide-Cards entfernt — würde im Scroll-Container Probleme machen */
.theme-l .card-bild-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(19,22,19,0.5) 100%);
  pointer-events: none;
}
.theme-l .card-tags {
  position: absolute; top: 0.8rem; left: 0.8rem;
  display: flex; gap: 0.4rem; flex-wrap: wrap;
  z-index: 2;
}
.theme-l .card-tag {
  background: rgba(19,22,19,0.85);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(96,187,70,0.4);
}
.theme-l .card-tag.is-year {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}
.theme-l .card-titel {
  font-family: var(--display);
  font-size: 1.55rem; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 0.5rem;
  transition: color 0.25s;
}
.theme-l .card:hover .card-titel { color: var(--accent); }
.theme-l .card-sub {
  font-size: 13.5px; line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 980px) {
  .theme-l .upcoming-grid { grid-template-columns: 1fr; }
  .theme-l .featured-grid { grid-template-columns: repeat(2, 1fr); }
  /* Counter kompakt auf Mobile: 3 Spalten beibehalten, Padding + Zahl kleiner */
  .theme-l .counter-strip { padding: 2.5rem 1rem; gap: 1rem; }
  .theme-l .counter { padding: 0.5rem 0.3rem; }
  .theme-l .counter-num { font-size: clamp(2rem, 9vw, 3rem); margin-bottom: 0.4rem; }
  .theme-l .counter-label { font-size: 10px; letter-spacing: 0.08em; }
  .theme-l .hero-top { flex-direction: column; }
  .theme-l .hero-bio { text-align: left; }
  .theme-l .hero-bottom { grid-template-columns: 1fr; }
  .theme-l .section-head { grid-template-columns: 1fr; }
  .theme-l .section-count { text-align: left; }
  /* (Mobile-Nav wird durch Hamburger-Drawer unten gehandled) */
  body.theme-l { cursor: auto; }
  .theme-l .cursor { display: none; }
}
@media (max-width: 980px) {
  .theme-l .projekt-header { grid-template-columns: 1fr; gap: 2rem; }
  .theme-l .projekt-fakten { text-align: left; }
  .theme-l .projekt-body { grid-template-columns: 1fr; gap: 2rem; }
  .theme-l .ereignis-liste li { grid-template-columns: auto 1fr; gap: 1rem; }
  .theme-l .ereignis-liste .thumb { display: none; }
  /* Datum-Lang/-Kurz Umschaltung (siehe projekt.php) */
  .theme-l .date-long { display: none; }
  .theme-l .date-short { display: inline; }
  /* Slider: min-height 320px läuft auf Mobile über — entfernen.
     Slider-Nav-Pfeile aus, Thumbnails aus (Swipe ersetzt sie). */
  .theme-l .slider-frame { min-height: 0; }
  .theme-l .slider { padding: 0 1rem; }
  .theme-l .slider-nav { display: none; }
  .theme-l .slider-thumbs-wrap { display: none; }
  .theme-l .projekte-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-l .intro-meta { flex-wrap: wrap; gap: 1.5rem; }
  .theme-l .bio-layout { grid-template-columns: 1fr; gap: 3rem; }
  .theme-l .bio-sidebar { position: static; }
  .theme-l .bio-portrait { max-width: 320px; }
  .theme-l .bio-eintrag { grid-template-columns: 70px 1fr; }
  .theme-l .bio-eintrag .thumb { display: none; }
  .theme-l .einsaetze-liste .einsatz-row { grid-template-columns: 100px 1fr; }
  .theme-l .einsaetze-liste .projekt-spalte { display: none; }
  .theme-l .fakten { grid-template-columns: 1fr; gap: 0.2rem 0; }
  .theme-l .fakten dt { margin-top: 0.6rem; }
  .theme-l .verknuepftes-projekt .projekt-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .theme-l .projekte-grid { grid-template-columns: 1fr; }

  /* Aktuell + Ausgewählte Arbeiten: Cards untereinander */
  .theme-l .featured-grid { grid-template-columns: 1fr; }

  /* Section-Head kompakt: Headline klein, Count als Suffix */
  .theme-l .section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
  }
  .theme-l .section-headline { font-size: 1.6rem; line-height: 1.1; }
  .theme-l .section-count {
    font-size: 11px;
    color: var(--muted);
    text-align: left;
    font-family: var(--mono);
    letter-spacing: 0.05em;
  }
  .theme-l .section-count .big {
    display: inline;
    font-size: 11px;
    font-weight: 400;
    font-family: var(--mono);
    margin: 0 0.2rem 0 0;
    color: var(--muted);
  }

  /* Date-Badge auf Card: oben links, kompakt — unten will man swipen */
  .theme-l .upcoming-card-date {
    top: 0.6rem; left: 0.6rem;
    bottom: auto;
    padding: 0.3rem 0.6rem;
    font-size: 10px;
    letter-spacing: 0.03em;
  }
}

/* ============== KONTAKT-GRID (im Markdown-Inhalt) ============== */

.theme-l .inhaltsseite .kontakt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0 3rem;
  align-items: stretch;
}
@media (max-width: 980px) {
  .theme-l .inhaltsseite .kontakt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .theme-l .inhaltsseite .kontakt-grid {
    grid-template-columns: 1fr;
  }
}
/* Default inhaltsseite max-width 900px (Impressum etc.) — nur wenn
   die Seite einen .kontakt-grid enthält, wird sie breit. */
.theme-l .inhaltsseite:has(.kontakt-grid) {
  max-width: 1500px;
}
.theme-l .inhaltsseite .kontakt-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.8rem 1.6rem;
  transition: border-color 0.2s, background 0.2s;
}
/* <strong>-Block + <br> dahinter: das <br> wegfallen lassen, sonst doppelte
   Leerzeile (display:block erzeugt schon Umbruch) */
.theme-l .inhaltsseite .kontakt-block strong + br { display: none; }
/* Markdown rendert manchmal alles in <p>-Tags — Inhalt soll Flex-Container füllen */
.theme-l .inhaltsseite .kontakt-block > p:not(.kontakt-meta) { margin: 0; }
.theme-l .inhaltsseite .kontakt-block:hover {
  border-color: var(--accent);
  background: var(--surface-2);
}
.theme-l .inhaltsseite .kontakt-block p {
  margin: 0 0 0.4rem;
  font-size: 14.5px;
  line-height: 1.5;
}
.theme-l .inhaltsseite .kontakt-block strong {
  color: var(--accent);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  display: block;
  line-height: 1.2;
}
.theme-l .inhaltsseite .kontakt-block strong + br + strong {
  /* second strong inside same line — title-line */
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.theme-l .inhaltsseite .kontakt-block a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
}
.theme-l .inhaltsseite .kontakt-block a:hover { border-color: var(--accent); }
.theme-l .inhaltsseite .kontakt-block .kontakt-meta {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ============== DRUCK ============== */

@media print {
  body.theme-l {
    background: white !important;
    color: black !important;
    cursor: auto !important;
  }
  body.theme-l a { color: black !important; text-decoration: underline; }

  /* Interaktive + dekorative Elemente komplett raus */
  .theme-l .cursor,
  .theme-l .site-header-l,
  .theme-l .filter-bar,
  .theme-l .site-footer-l,
  .theme-l .scroll-cue,
  .theme-l .hero-tag,
  .theme-l .site-nav-l,
  .theme-l .slider-nav,
  .theme-l .slider-thumbs,
  .theme-l .timeline-year-picker,
  .theme-l .einsaetze-filter,
  .theme-l .einsaetze-filter-bottom,
  .theme-l .filter-reset,
  .theme-l .ereignis-show-more,
  .theme-l .suche-form,
  .theme-l .error-suche,
  .theme-l .error-nav {
    display: none !important;
  }

  /* Hero komplett deaktivieren */
  .theme-l .hero { height: auto !important; min-height: 0 !important; padding: 0 !important; }
  .theme-l .hero-bg-wrap, .theme-l .hero::after { display: none !important; }

  /* Card-Hover und Animationen deaktivieren */
  .theme-l * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  /* Listen und Texte gut druckbar */
  .theme-l .page-header,
  .theme-l .projekt-header,
  .theme-l .upcoming,
  .theme-l .featured,
  .theme-l .ereignisse-section,
  .theme-l .projekte-grid,
  .theme-l .einsaetze-liste,
  .theme-l .bio-layout,
  .theme-l .inhaltsseite,
  .theme-l .download-section,
  .theme-l .preise-projekte {
    padding: 1rem 0 !important;
    max-width: 100% !important;
    color: black !important;
  }

  .theme-l h1, .theme-l h2, .theme-l h3 { color: black !important; }
  .theme-l .accent, .theme-l em, .theme-l .filter-pills a.active { color: black !important; }

  /* Card-Box-Effekte raus */
  .theme-l .upcoming-card,
  .theme-l .work,
  .theme-l .card,
  .theme-l .credits,
  .theme-l .download-item,
  .theme-l .kontakt-block {
    background: white !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
  }

  /* Listen: keine border, ausreichend Abstand */
  .theme-l .ereignis-liste li,
  .theme-l .einsaetze-liste .einsatz-row,
  .theme-l .bio-eintrag {
    border-color: #ddd !important;
    padding: 0.4rem 0 !important;
  }

  /* Bilder kleiner */
  .theme-l .slider-frame { aspect-ratio: 16/9; max-width: 100%; }
  .theme-l .upcoming-card-img, .theme-l .work-image-wrap,
  .theme-l .card-bild-wrap, .theme-l .download-bild,
  .theme-l .bio-portrait {
    max-height: 200px !important;
  }
}

/* === Leere Thumb-Platzhalter unsichtbar === */
/* Bei Events ohne eigenes Bild und ohne verlinktes Projekt rendert das
   Template einen leeren Spacer-DIV als Grid-Spalte. Der Default-Style
   hätte einen grauen Hintergrund (--surface-2) — wir machen ihn
   transparent, damit die Lücke nicht wie ein „kaputtes Bild" wirkt.
   Die Spalte bleibt für Grid-Alignment reserviert, ist nur unsichtbar.
   Greift für:
   - .thumb (biografie.php, projekt.php Ereignisliste)
   - .thumb-spalte (kategorie.php tabelle-bild) */
.theme-l .thumb:not(.thumb-btn):empty,
.theme-l .thumb-spalte:not([style*="background-image"]) {
  background-color: transparent !important;
  border-radius: 0;
  border: none;
}

/* =================================================================
   MOBILE — Hamburger + Drawer + horizontaler Kategorien-Scroll
   (Eingeführt für Mobile-Feedback Ivonne 25.6.2026)
   ================================================================= */

/* Drawer-Sub-Menu (per JS gerendert) — Desktop versteckt, Mobile zeigt es */
.theme-l .drawer-sub-werke { display: none; }

/* Hamburger-Button (per JS am Anfang des Headers injiziert) */
.theme-l .menu-toggle-l {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.45rem;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 110;
}
.theme-l .menu-toggle-l span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.theme-l .menu-toggle-l.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.theme-l .menu-toggle-l.is-open span:nth-child(2) { opacity: 0; }
.theme-l .menu-toggle-l.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .theme-l .site-header-l {
    grid-template-columns: auto 1fr auto;
    padding: 0.85rem 1.1rem;
    gap: 0.9rem;
  }
  .theme-l .menu-toggle-l { display: flex; }
  .theme-l .site-logo-l { font-size: 18px; }

  /* Nav als Off-Canvas-Drawer von links */
  .theme-l .site-nav-l {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 82%;
    max-width: 340px;
    background: rgba(19, 22, 19, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-right: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    padding: 5.5rem 1.6rem 2rem;
    font-size: 17px;
    z-index: 95;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }
  .theme-l .site-nav-l.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
  }
  .theme-l .site-nav-l a { padding-bottom: 4px; }
  .theme-l .nav-suche {
    margin-left: 0;
    margin-top: 0.8rem;
    padding: 0.25rem 0.4rem 0.25rem 0.7rem;
  }
  .theme-l .nav-suche input[type="search"] { width: 100%; }

  /* Body-Lock wenn Drawer offen */
  body.theme-l.nav-open { overflow: hidden; }

  /* Filter-Bar: auf Mobile komplett ausblenden — Filter sind im Drawer
     als Sub-Menü unter "Projekte" verfügbar */
  .theme-l .filter-bar {
    display: none !important;
  }
  /* Drawer Sub-Werke (per JS injiziert) — nur auf Mobile sichtbar */
  .theme-l .drawer-sub-werke {
    display: flex !important;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.4rem 0 0.4rem 1.2rem;
    border-left: 1px solid var(--line);
    margin-left: 0.2rem;
    margin-top: -0.4rem;
  }
  .theme-l .drawer-sub-werke a {
    font-size: 14px;
    opacity: 0.78;
    padding-bottom: 2px;
  }
  .theme-l .drawer-sub-werke a.is-active {
    color: var(--accent);
    opacity: 1;
  }
}

@media (max-width: 500px) {
  .theme-l .site-logo-l { font-size: 16px; }
  .theme-l .site-actions-l { font-size: 12px; gap: 0.4rem; }
}

/* =================================================================
   DETAIL-CLOSE-X — an der rechten oberen Bildkante des Anker-Elements
   (Slider-Frame oder Hauptcontent). Per JS dorthin angehängt.
   ================================================================= */
.theme-l .detail-close-x {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* Solid + Schatten: scharf abgegrenzt vom Bild dahinter */
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: background 0.2s, transform 0.2s, color 0.2s;
}
.theme-l .detail-close-x:hover {
  background: var(--accent);
  color: #131613;
  transform: scale(1.05);
}
/* Fallback wenn kein passender Anker — sitzt fixed unter dem Header */
.theme-l .detail-close-x.is-fixed {
  position: fixed;
  top: calc(68px + 1rem);
  right: max(2rem, calc((100vw - 1500px) / 2 + 2rem));
  z-index: 105;
}
/* Sicherstellen dass die Anker-Container position:relative haben */
.theme-l .ereignis-detail,
.theme-l .biblio-cover { position: relative; }

/* Slider-Slides: klickbar (öffnet Lightbox) */
.theme-l .slider-slide {
  cursor: pointer;
}
.theme-l .slider-nav {
  cursor: pointer;
}

/* Bio-Eintrag: Text-Bereich klickbar (springt zum verknüpften Projekt) */
.theme-l .text-col.is-clickable {
  cursor: pointer;
}

/* No-results-Platzhalter für leere Filter/Listen */
.theme-l .no-results {
  color: var(--muted);
  padding: 2rem 0;
}
.theme-l .no-results-center {
  color: var(--muted);
  padding: 2rem;
  text-align: center;
}

/* Section/Block-Spacings & Layout-Helfer (vormals inline-style) */
.theme-l .section-intro-padded { padding-top: 3rem; }
.theme-l .einsaetze-filter-bottom { padding-top: 1.5rem; }
.theme-l .einsaetze-liste.is-padded-top { padding-top: 1rem; }
.theme-l .einsaetze-liste.is-flush { padding: 0; }
.theme-l .projekte-grid.is-flush { padding: 0; margin-bottom: 3rem; }

/* Sub-Nav: Preise→Datum/Projekt, einsaetze sub-links */
.theme-l .section-sub-nav {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}
.theme-l .section-sub-link {
  color: var(--muted);
  margin-right: 1.5rem;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.theme-l .section-sub-link.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.theme-l .section-sub-link.is-accent { color: var(--accent); }
.theme-l .section-sub-link.is-text { color: var(--text); }

/* Link in Preis-Item: nicht akzentuiert, sondern normaler Textton */
.theme-l .link-text { color: var(--text); }

/* Download-Intro-Block */
.theme-l .download-intro {
  max-width: 60ch;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  color: rgba(245, 245, 238, 0.85);
  line-height: 1.6;
}

/* Suche-Intro-Text */
.theme-l .suche-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  color: var(--muted);
}

/* Error-Page: zentrierter Header */
.theme-l .page-header.is-center {
  text-align: center;
  border-bottom: none;
}
.theme-l .page-mono.is-center { text-align: center; }

/* Ereignis-Detail: externer Link */
.theme-l .ereignis-link { margin-top: 1.5rem; }
.theme-l .ereignis-link a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
