/* ==========================================================================
   widrichfilm.com — Basis-Stylesheet
   Markenfarben: #60bb46 (grün hell), #56a93e (grün hover)
   Schrift: Helvetica Neue / Arial / sans-serif (System), 14px base
   ========================================================================== */

:root {
  --brand-green: #60bb46;
  --brand-green-dark: #56a93e;
  --text: #333;
  --text-muted: #888;
  --text-soft: #555;
  --line: #e6e6e6;
  --line-soft: #eee;
  --max-w: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-green); text-decoration: none; }
a:hover, a:focus { color: var(--brand-green-dark); text-decoration: none; }

h1, h2, h3, h4 { font-weight: 400; margin: 0 0 0.6rem; line-height: 1.2; }

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.site-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

/* Hamburger-Button (nur mobile sichtbar) */
.site-menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.site-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

.site-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.site-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-header-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1 1 auto;
  min-width: 0;
}

.search-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 2px;
  height: 32px;
  max-width: 160px;
}

.search-box input {
  border: 0;
  outline: 0;
  padding: 0 0.5rem;
  font: inherit;
  font-size: 13px;
  flex: 1;
  min-width: 0;
  background: transparent;
}

.search-box button {
  border: 0;
  background: transparent;
  border-left: 1px solid #ddd;
  height: 100%;
  padding: 0 0.6rem;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
}

.site-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.1rem;
  font-size: 14px;
  line-height: 1.4;
}

.site-menu > a,
.site-menu > .menu-item,
.site-menu .menu-link {
  display: inline-block;
  line-height: 1.4;
  padding: 0;
  vertical-align: baseline;
}

.site-menu a {
  color: var(--text);
}

.site-menu a:hover { color: var(--brand-green-dark); }
.site-menu a.is-active { color: var(--brand-green); }
.site-menu .menu-link.is-active { color: var(--brand-green); }

/* Dropdown im Hauptmenü */
.site-menu .has-submenu {
  position: relative;
  display: inline-block;
}

.site-menu .has-submenu .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.5rem 0;
  display: none;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.site-menu .has-submenu:hover .submenu,
.site-menu .has-submenu:focus-within .submenu {
  display: block;
}

.site-menu .submenu a {
  display: block;
  padding: 0.35rem 1rem;
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
}

.site-menu .submenu a:hover { color: var(--brand-green-dark); }
.site-menu .submenu a.is-active { color: var(--brand-green); }

/* Preise-Tabs (alternativer Wechsel im Inhalt) */
.preise-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin: 0 0 1.4rem;
  font-size: 14px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 0.6rem;
}

.preise-tabs a {
  color: var(--text-muted);
}

.preise-tabs a:hover { color: var(--brand-green-dark); }
.preise-tabs a.is-active { color: var(--brand-green); }

/* Preise — nach Datum: 3-Spalten-Tabelle */
.preise-datum-liste {
  list-style: none;
  padding: 0;
  margin: 0;
}

.preise-datum-liste .jahr-marker {
  font-size: 1.1rem;
  color: var(--brand-green);
  font-weight: 400;
  margin: 1.4rem 0 0.4rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--line-soft);
}

.preise-datum-liste .award-row {
  display: grid;
  grid-template-columns: 13rem 1fr 12rem;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 13px;
  line-height: 1.4;
  border-top: 1px solid var(--line-soft);
  align-items: start;
}

.preise-datum-liste .award-row .datum {
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.preise-datum-liste .award-row .text {
  color: var(--text);
}

.preise-datum-liste .award-row .text a {
  color: var(--brand-green);
}

.preise-datum-liste .award-row .text a:hover {
  color: var(--brand-green-dark);
}

.preise-datum-liste .award-row .projekt-spalte a {
  color: var(--brand-green);
}

/* Award-Stern: schwarz, nicht grün */
.award-star { color: var(--text); }
.preise-datum-liste .award-row .text a .award-star,
.award-liste li .text a .award-star { color: var(--text); }

/* Abstand zwischen Titel "Preise nach …" und Liste */
.preise-uebersicht .uebersicht-titel { margin-bottom: 1.4rem; }
.preise-uebersicht .preise-datum-liste,
.preise-uebersicht .preise-projekte { margin-top: 1.4rem; }

/* Preise — nach Projekt */
.preise-projekte {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.projekt-block-header {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0 0 0.4rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--line-soft);
}

.projekt-block-header h2 {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
}

.projekt-block-header h2 a {
  color: var(--brand-green);
  text-decoration: none;
}

.projekt-block-header h2 a:hover {
  color: var(--brand-green-dark);
}

.projekt-block-header .projekt-jahr {
  color: var(--text-muted);
  font-size: 13px;
}

.award-liste {
  list-style: none;
  padding: 0;
  margin: 0;
}

.award-liste li {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 13px;
  line-height: 1.4;
  border-top: 1px solid var(--line-soft);
  align-items: start;
}

.award-liste li:first-child { border-top: 0; }

.award-liste .datum {
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  white-space: nowrap;
}

.award-liste .text { color: var(--text); }
.award-liste .text a { color: var(--brand-green); }
.award-liste .text a:hover { color: var(--brand-green-dark); }

/* Suche */
.suche-form {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
  max-width: 540px;
}

.suche-form input {
  flex: 1;
  font: inherit;
  font-size: 14px;
  padding: 0.4rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 2px;
}

.suche-form button {
  background: var(--brand-green);
  color: #fff;
  border: 0;
  padding: 0.4rem 1rem;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
}

.suche-form button:hover {
  background: var(--brand-green-dark);
}

.suche-summary {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.suche-resultate {
  list-style: none;
  margin: 0;
  padding: 0;
}

.suche-treffer {
  padding: 0.8rem 0;
  border-top: 1px solid var(--line-soft);
}

.suche-treffer:first-child { border-top: 0; }

.suche-treffer .treffer-titel {
  font-size: 1rem;
  font-weight: 400;
  color: var(--brand-green);
  text-decoration: none;
}

.suche-treffer .treffer-titel:hover {
  color: var(--brand-green-dark);
}

.suche-treffer .treffer-typ {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

/* Highlight des angeklickten Treffers nach Anker-Scroll */
.ereignisse-liste li.treffer-highlight {
  background: rgba(96, 187, 70, 0.12);
  transition: background 0.6s ease;
  border-radius: 4px;
}

.suche-treffer .treffer-excerpt {
  font-size: 13px;
  color: var(--text);
  line-height: 1.45;
}

.suche-treffer mark {
  background: rgba(96, 187, 70, 0.2);
  color: inherit;
  padding: 0 2px;
}

.hinweis {
  color: var(--text-muted);
  font-size: 14px;
  margin: 1rem 0;
}

/* ---------- Home ---------- */

.home-intro {
  margin: 0 0 2rem;
  width: 100%;
}

.home-bio {
  max-width: none;
}

.home-headline {
  color: var(--brand-green);
  font-size: 2em;
  font-weight: 300;
  margin: 0 0 0.8rem;
  line-height: 1.1;
}

.home-bio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

.aktuell-titel {
  color: var(--brand-green);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--line-soft);
}

.aktuell-liste {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aktuell-liste li {
  padding: 0.6rem 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.5;
}

.aktuell-liste li:first-child { border-top: 0; padding-top: 0; }

.aktuell-datum {
  font-weight: 600;
  color: var(--text);
}

.aktuell-projekt {
  color: var(--brand-green);
  font-weight: 600;
}

.aktuell-projekt:hover { color: var(--brand-green-dark); }

.aktuell-projekt-zeile {
  white-space: nowrap;
}

.aktuell-kat {
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 0.4rem;
  font-size: inherit;
}

.aktuell-text {
  margin-top: 0.2rem;
  color: var(--text-soft);
}

.home-projekte {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* Oberkante der ersten Bildleiste auf Höhe des Aktuell-Strichs:
     entspricht Aktuell-Titel-Zeilenhöhe (1.1rem × 1.2) + padding-bottom (0.3rem) */
  padding-top: calc(1.1rem * 1.2 + 0.3rem);
}

@media (max-width: 900px) {
  .home-projekte { padding-top: 0; }
}

.featured-projekt {
  position: relative;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line-soft);
}

.featured-projekt:last-child { border-bottom: 0; }

.featured-bildleiste {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 0.8rem;
  text-decoration: none;
  width: 100%;
}

.featured-bildleiste .bildleiste-img {
  display: block;
  width: 100%;
  height: 80px;
  max-width: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .featured-bildleiste .bildleiste-img { height: 70px; }
}

@media (max-width: 768px) {
  .featured-bildleiste { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .featured-bildleiste .bildleiste-img { height: 90px; }
}

@media (max-width: 480px) {
  .featured-bildleiste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-bildleiste .bildleiste-img { height: 80px; }
}

.featured-titel {
  display: block;
  text-decoration: none;
  color: var(--brand-green);
}

.featured-titel:hover { color: var(--brand-green-dark); }

.featured-titel h2 {
  font-size: 1.3rem;
  font-weight: 300;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.featured-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.featured-mehr {
  position: absolute;
  bottom: 1.6rem;
  right: 0;
  color: var(--brand-green);
  font-size: 1.2rem;
  text-decoration: none;
}

.featured-mehr:hover { color: var(--brand-green-dark); }

/* ---------- Biografie ---------- */

.biografie-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.biografie-sidebar {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
}

.bio-sidebar-titel {
  color: var(--brand-green);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 0.6rem;
}

.bio-sidebar-text {
  font-style: italic;
  color: var(--text-soft);
}

.bio-sidebar-text p { margin: 0 0 0.9rem; }
.bio-sidebar-text a { color: var(--brand-green); }
.bio-sidebar-text a:hover { color: var(--brand-green-dark); }

.bio-headline {
  color: var(--brand-green);
  font-size: 2em;
  font-weight: 300;
  margin: 0 0 1.2rem;
  line-height: 1.1;
}

.bio-jahr {
  color: var(--brand-green);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 1.8rem 0 0;
  padding: 0 0 0.4rem;
}

.bio-jahr:first-of-type { margin-top: 0; }

.bio-eintrag {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line-soft);
}

.bio-eintrag-bild img {
  width: 70px;
  height: 52px;
  object-fit: cover;
  display: block;
}

.bio-eintrag-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.bio-eintrag-text p { margin: 0 0 0.4rem; }
.bio-eintrag-text p:last-child { margin-bottom: 0; }
.bio-eintrag-text a { color: var(--brand-green); }
.bio-eintrag-text a:hover { color: var(--brand-green-dark); }

.bio-projekt-link {
  margin-top: 0.4rem !important;
  font-size: 13px;
}

@media (max-width: 900px) {
  .biografie-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 500px) {
  .bio-eintrag { grid-template-columns: 60px 1fr; gap: 0.8rem; }
  .bio-eintrag-bild img { width: 60px; height: 45px; }
}

/* Bio-Bild als Button (für Lightbox) */
.bio-bild-btn {
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 100%;
}
.bio-bild-btn img { display: block; width: 70px; height: 52px; object-fit: cover; }

/* Lightbox-Overlay */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #111;
}
.lightbox-caption {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  max-width: 720px;
}
.lightbox-projekt {
  color: var(--brand-green);
  font-size: 14px;
  text-decoration: none;
}
.lightbox-projekt:hover { color: var(--brand-green-dark); }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.6rem;
}
.lightbox-close:hover { color: #ccc; }

/* =================================================================
   RESPONSIVE / MOBILE
   ================================================================= */

@media (max-width: 900px) {
  .main { padding: 1.5rem 1rem; }
  .site-header-inner { padding: 1rem 1rem; }
  .site-logo img { height: 28px; }
  .site-footer-inner { padding: 1rem 1rem; }
}

@media (max-width: 768px) {
  /* Hamburger sichtbar machen */
  .site-menu-toggle {
    display: flex;
    order: 1;
  }

  .site-header-inner {
    align-items: center;
  }

  .site-header-nav {
    /* Drawer: full-width, von links einfahrend, versteckt by default */
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 80%;
    max-width: 320px;
    background: #fff;
    border-right: 1px solid var(--line);
    padding: 4rem 1.5rem 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 90;
    overflow-y: auto;
    flex: none;
    order: 2;
  }

  .site-header-nav.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
  }

  .site-logo-block {
    order: 3;
    margin-left: auto;
  }

  .search-box {
    max-width: none;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .site-menu {
    flex-direction: column;
    gap: 0.3rem;
    font-size: 16px;
  }

  .site-menu .has-submenu .submenu {
    position: static;
    border: 0;
    padding: 0 0 0 1rem;
    box-shadow: none;
    display: block;
  }

  /* Filterleiste: horizontal scrollbar */
  .projekt-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.6rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .projekt-filter .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* Detail-Page Sidebar oben statt links */
  .page-cols { grid-template-columns: 1fr; gap: 0.6rem; }

  /* Slider Buttons größer */
  .slider-prev, .slider-next {
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.5rem;
  }

  /* Ereignis-Liste: Spalten enger */
  .ereignisse-liste li {
    grid-template-columns: 50px 1fr;
    gap: 0.6rem;
    font-size: 12px;
  }
  .ereignisse-liste .thumb { width: 50px; height: 38px; }

  /* Preise-Liste schmaler */
  .preise-liste .award-row {
    grid-template-columns: 50px 1fr;
    gap: 0.6rem;
  }
  .preise-liste .award-row .thumb { width: 50px; height: 38px; }

  .award-liste li { grid-template-columns: 70px 1fr; gap: 0.4rem; font-size: 12px; }

  /* Projekt-Block-Header */
  .projekt-block-header {
    grid-template-columns: 90px 1fr;
    gap: 0.6rem;
  }
  .projekt-block-header .projekt-thumb { width: 90px; }
  .projekt-block-header .projekt-thumb img { height: 60px; }

  /* Footer: gestapelt */
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .footer-copyright { font-size: 11px; }
  .footer-social { order: 3; }

  /* Card-Body kompakter */
  .card-body { padding: 0.7rem 0.8rem 0.6rem; }
  .card-titel { font-size: 1rem; }
  .card-text { font-size: 12.5px; }
}

@media (max-width: 480px) {
  body { font-size: 13px; }
  .projekt-titel { font-size: 1.6em; }
  .uebersicht-titel { font-size: 1.4em; }
  .inhaltsseite .seiten-titel { font-size: 1.6em; }
}

.site-logo-block {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.lang-switcher {
  font-size: 13px;
}

.lang-switcher a {
  color: var(--text-muted);
  margin-left: 0.4rem;
}

.lang-switcher a:hover { color: var(--brand-green-dark); }

/* ---------- Main ---------- */

.main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem;
}

/* 2-Spalten-Layout: links Sidebar, rechts Content */

.page-cols {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

/* Grid-Items dürfen sich nicht an min-content auf-blasen lassen.
   Ohne min-width:0 (Default ist auto = min-content) macht ein
   intrinsisch breites <img> im .page-content die 2fr-Spalte größer
   als 2fr — sie sprengt das ganze Layout (Bug: 1000h-Slider). */
.page-cols > * {
  min-width: 0;
}

@media (max-width: 768px) {
  .page-cols { grid-template-columns: 1fr; gap: 1rem; }
}

.page-sidebar .back-link {
  display: inline-block;
  padding: 0.2rem 0;
}

/* ---------- Bilder-Slider ---------- */

.slider {
  position: relative;
  margin: 0 0 0.8rem;
}

.slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar { display: none; }

.slider .slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  margin: 0;
  padding: 0;
}

.slider .slide-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: transparent;
  overflow: hidden;
}

.slider .slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.slider .slide figcaption {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 0.4rem;
  padding: 0;
  text-align: left;
  min-height: 1.6em;
}

.slider .slide .copyright {
  display: block;
  font-size: 11px;
  color: #aaa;
}

.slider-prev, .slider-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #ddd;
  font-size: 1.5rem;
  line-height: 1;
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.slider-prev:hover, .slider-next:hover { background: #fff; color: var(--brand-green-dark); }
.slider-prev { left: 0.6rem; }
.slider-next { right: 0.6rem; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.slider-dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ccc;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.slider-dots button.active { background: var(--brand-green); }

/* ---------- Projekt-Detail ---------- */

.projekt-titel {
  color: var(--brand-green);
  font-size: 2em;
  line-height: 1.1;
  margin: 1.4rem 0 1rem;
  font-weight: 300;
}

.projekt-detail .beschreibung {
  margin: 0;
  font-size: 14px;
}

.projekt-detail .beschreibung p { margin: 0 0 0.8rem; }

.projekt-detail .credits {
  margin: 1rem 0 1.5rem;
  color: var(--text-muted);
  font-size: 13px;
}

.projekt-detail .credits a { color: var(--brand-green); }
.projekt-detail .credits a:hover { color: var(--brand-green-dark); }

/* ---------- Ereignis-Liste ---------- */

.ereignisse h2 {
  font-size: 14px;
  font-weight: 400;
  color: var(--brand-green);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 0.4rem;
  margin: 2rem 0 0.6rem;
}

.ereignisse-liste {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ereignisse-liste li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.45rem 0;
  font-size: 13px;
  line-height: 1.4;
  border-top: 1px solid var(--line-soft);
}

.ereignisse-liste li:first-child { border-top: 0; }

.ereignisse-liste .thumb {
  width: 60px;
  height: 45px;
}

.ereignisse-liste .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Logos / sehr breite Bilder (Aspect Ratio > 2.0) — nicht croppen, sondern
   in den Container reinpassen (contain), weißer Hintergrund für Letterboxing.
   Gleiche Regel überall wo Thumbnails von Ereignissen gerendert werden:
   Ereignisliste (Projekt-Detail), Timeline, Biografie-Zeitstrahl, Projekt-Übersicht
   (tabelle-bild). */
.ereignisse-liste .thumb.is-wide img,
.timeline-bild.is-wide img,
.bio-eintrag-bild.is-wide img,
.ev-bild.is-wide img {
  object-fit: contain;
  background: #fff;
}

/* Auszeichnungs-Zeile unter dem Display-Titel (Festival – Stadt – Land).
   Dezent kursiv, etwas heller, ★ als visueller Anker. */
.auszeichnung {
  display: inline-block;
  margin-top: 0.15em;
  font-style: italic;
  color: var(--text-soft, #666);
  font-size: 0.95em;
}
/* Stern aufrecht halten — italic auf Unicode-Symbol sieht schief aus */
.auszeichnung .award-star { font-style: normal; }

/* === Ereignis-Detailseite === */
.ereignis-detail .breadcrumb { font-size: 0.85rem; color: #888; margin-bottom: 1rem; }
.ereignis-detail .breadcrumb a { color: var(--brand, #60bb46); text-decoration: none; }
.ereignis-detail .breadcrumb a:hover { text-decoration: underline; }
.ereignis-detail .datum { color: #888; font-size: 0.95rem; margin: 0 0 0.6rem; }
.ereignis-detail .event-headline {
  font-size: 1.7rem; font-weight: 500; line-height: 1.25;
  margin: 0 0 0.3rem; color: var(--brand, #60bb46);
}
.ereignis-detail .event-unterzeile {
  color: #666; font-size: 1rem; margin: 0 0 0.3rem;
}
.ereignis-detail .event-ort { color: #666; font-size: 1.05rem; margin: 0 0 1.2rem; }
.ereignis-detail .event-ort a { color: var(--brand, #60bb46); text-decoration: none; }
.ereignis-detail .event-ort a:hover { text-decoration: underline; }

.ereignis-detail .auszeichnung-banner {
  background: #f4f9f0;
  border-left: 3px solid var(--brand, #60bb46);
  padding: 0.7rem 1rem;
  margin: 1.5rem 0;
  font-size: 1rem;
}
.ereignis-detail .auszeichnung-banner.has-star .star {
  color: var(--brand, #60bb46);
  font-size: 1.3rem;
  margin-right: 0.4rem;
}

.ereignis-detail dl.fakten {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0.4rem 1.2rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.ereignis-detail dl.fakten dt { color: #888; font-weight: 400; }
.ereignis-detail dl.fakten dd { margin: 0; }
.ereignis-detail dl.fakten a { color: var(--brand, #60bb46); text-decoration: none; }
.ereignis-detail dl.fakten a:hover { text-decoration: underline; }

.ereignis-detail .verknuepftes-projekt { margin: 2rem 0; padding-top: 1.5rem; border-top: 1px solid #eee; }
.ereignis-detail .verknuepftes-projekt h2 {
  font-size: 0.85rem; color: #888; font-weight: 400;
  margin: 0 0 0.6rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.ereignis-detail .projekt-card {
  display: flex; gap: 1rem; align-items: center;
  padding: 0.7rem; background: #f7f7f7; border-radius: 4px;
  text-decoration: none; color: inherit;
}
.ereignis-detail .projekt-card:hover { background: #f0f0f0; }
.ereignis-detail .projekt-card img {
  width: 80px; height: 60px; object-fit: cover; border-radius: 2px;
  flex-shrink: 0;
}
.ereignis-detail .projekt-card-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.ereignis-detail .projekt-card-titel { font-weight: 500; color: #222; }
.ereignis-detail .projekt-card-sub { color: #888; font-size: 0.85rem; }

.ereignis-detail .kontext-footer { margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid #eee; }
.ereignis-detail .kontext-footer h2 {
  font-size: 0.85rem; color: #888; font-weight: 400;
  margin: 0 0 0.6rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.ereignis-detail .kontext-footer ul { list-style: none; padding: 0; margin: 0; }
.ereignis-detail .kontext-footer li { margin: 0.3rem 0; font-size: 0.95rem; }
.ereignis-detail .kontext-footer a { color: var(--brand, #60bb46); text-decoration: none; }
.ereignis-detail .kontext-footer a:hover { text-decoration: underline; }

.ereignis-detail .beschreibung-frei { margin: 1.5rem 0; line-height: 1.6; }
.ereignis-detail .beschreibung-frei a { color: var(--brand, #60bb46); }

/* === Filter-Seite (ereignisse.php / Filmeinsätze) === */
.einsaetze-uebersicht .seiten-titel {
  font-size: 1.8rem; font-weight: 500;
  margin: 0 0 1.2rem; color: var(--brand, #60bb46);
}

.einsaetze-filter {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem;
  align-items: flex-end;
  background: #f7f7f7; padding: 1rem; border-radius: 4px;
  margin-bottom: 1.5rem;
}
.einsaetze-filter label {
  display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.85rem;
}
.einsaetze-filter label span { color: #888; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.einsaetze-filter select, .einsaetze-filter input[type=search] {
  font: inherit; padding: 0.35rem 0.5rem; border: 1px solid #ccc;
  border-radius: 3px; background: #fff; min-width: 130px;
}
.einsaetze-filter .festival-suche input { min-width: 180px; }
.einsaetze-filter button {
  font: inherit; padding: 0.4rem 1rem;
  background: var(--brand, #60bb46); color: #fff;
  border: 0; border-radius: 3px; cursor: pointer;
}
.einsaetze-filter button:hover { background: #4ea03a; }
.einsaetze-filter .filter-reset {
  font-size: 0.85rem; color: #666; text-decoration: underline;
  margin-left: 0.5rem;
}

.filter-info { color: #666; font-size: 0.9rem; margin: 0.5rem 0 1.2rem; }
.filter-info strong { color: #222; }

.einsaetze-liste { list-style: none; padding: 0; margin: 0; }
.einsaetze-liste .jahr-marker {
  font-size: 1.4rem; font-weight: 500; color: #888;
  margin: 1.5rem 0 0.5rem; padding-top: 0.8rem;
  border-top: 1px solid #eee;
}
.einsaetze-liste .einsatz-row {
  display: grid; grid-template-columns: 130px 1fr 180px;
  gap: 1rem; padding: 0.6rem 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: baseline;
}
.einsaetze-liste .einsatz-row .datum { color: #888; font-size: 0.9rem; }
.einsaetze-liste .einsatz-row .text > a { color: #222; text-decoration: none; }
.einsaetze-liste .einsatz-row .text > a:hover { color: var(--brand, #60bb46); }
.einsaetze-liste .einsatz-row .projekt-spalte a {
  color: var(--brand, #60bb46); font-size: 0.85rem; text-decoration: none;
}
.einsaetze-liste .einsatz-row .projekt-spalte a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .ereignis-detail dl.fakten { grid-template-columns: 1fr; gap: 0.1rem; }
  .ereignis-detail dl.fakten dt { margin-top: 0.6rem; }
  .einsaetze-liste .einsatz-row { grid-template-columns: 1fr; gap: 0.2rem; }
  .einsaetze-liste .einsatz-row .projekt-spalte { font-size: 0.8rem; }
}

.ereignisse-liste .body { min-width: 0; }

.ereignisse-liste .datum {
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.05rem;
}

.ereignisse-liste .text { color: var(--text-soft); }
.ereignisse-liste .text p { margin: 0; }

.ereignisse-liste .text a {
  color: var(--text-soft);
  text-decoration: none;
}
.ereignisse-liste .text a:hover {
  color: var(--brand-green-dark);
  text-decoration: none;
}

/* ---------- Inhaltsseiten (Kontakt, Impressum, etc.) ---------- */

.inhaltsseite .seiten-titel {
  color: var(--brand-green);
  font-size: 2em;
  font-weight: 300;
  margin: 0 0 1.4rem;
  line-height: 1.1;
}

.inhaltsseite .inhalt {
  max-width: 75ch;
  font-size: 14px;
}

.inhaltsseite .inhalt h2,
.inhaltsseite .inhalt h3,
.inhaltsseite .inhalt h4 {
  color: var(--brand-green);
  font-weight: 400;
  margin: 1.6rem 0 0.4rem;
}

.inhaltsseite .inhalt h3 { font-size: 1.05rem; }
.inhaltsseite .inhalt h4 { font-size: 0.95rem; }

.inhaltsseite .inhalt p { margin: 0 0 0.8rem; }
.inhaltsseite .inhalt a { color: var(--brand-green); }
.inhaltsseite .inhalt a:hover { color: var(--brand-green-dark); }

/* Kontakt-Layout: Blöcke untereinander, innen 2-spaltig (Adresse links, Firmendaten rechts) */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  margin: 0 0 2rem;
}

.kontakt-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  align-items: start;
  font-size: 14px;
  line-height: 1.55;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line-soft);
}

.kontakt-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.kontakt-block > * {
  grid-column: 1;
  margin: 0 0 0.4rem;
}

.kontakt-block > p.kontakt-meta {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

@media (max-width: 700px) {
  .kontakt-block { grid-template-columns: 1fr; }
  .kontakt-block > p.kontakt-meta {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0.8rem;
  }
}

.inhaltsseite .inhalt .kontakt-block a { color: var(--brand-green); }

/* ---------- Projekt-Übersicht: Filter + Cards ---------- */

.projekt-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin: 0 0 2rem;
  font-size: 14px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 0.8rem;
}

.projekt-filter .filter-btn {
  border: 0;
  background: transparent;
  padding: 0.15rem 0;
  font: inherit;
  color: var(--text-muted);
  cursor: pointer;
}

.projekt-filter .filter-btn:hover { color: var(--brand-green-dark); }
.projekt-filter .filter-btn.is-active { color: var(--brand-green); }

.uebersicht-titel {
  color: var(--brand-green);
  font-size: 1.7em;
  font-weight: 300;
  margin: 0 0 0.8rem;
  line-height: 1.2;
  width: 100%;
}

.uebersicht-einleitung {
  font-size: 14px;
  color: var(--text);
  margin: 0 0 1.6rem;
  width: 100%;
  max-width: none;
}

/* Masonry: per JS positioniert. Container relativ, Cards absolut. */
.projekt-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100px;
}
.projekt-grid.is-laid-out > li {
  position: absolute;
  transition: top 0.18s ease, left 0.18s ease, opacity 0.18s ease;
}
/* Vor JS-Layout: vertikales Fallback */
.projekt-grid:not(.is-laid-out) > li {
  display: block;
  margin: 0 0 1.4rem;
}

.projekt-card {
  border: 1px solid #ddd;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.projekt-card-link {
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
  height: 100%;
}

.projekt-card-link:hover { color: var(--text); }

.card-bild {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f5f5f5;
}

.card-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 0.9rem 1rem 0.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.card-tags {
  font-size: 11.5px;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.card-titel {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--brand-green);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.card-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 1.4rem;
}

.card-text p { margin: 0 0 0.6rem; }
.card-text p:last-child { margin-bottom: 0; }
.card-text br { line-height: 1; }

.card-mehr {
  position: absolute;
  bottom: 0.5rem;
  right: 0.8rem;
  color: var(--brand-green);
  font-size: 1.1rem;
  line-height: 1;
}

.projekt-card-link:hover .card-mehr {
  color: var(--brand-green-dark);
}

/* Ereignisse-Tabelle (Jury, Mitglied, Vortrag, Bibliographie) */
.ereignisse-tabelle .ereignis-liste {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ereignisse-tabelle .ereignis-liste li {
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.5;
}
.ereignisse-tabelle.mit-bild .ereignis-liste li {
  grid-template-columns: 18rem 1fr 110px;
}
.ereignisse-tabelle.mit-bild .ev-bild { grid-column: 3; }
.ereignisse-tabelle.mit-bild .ev-bild img {
  width: 110px;
  height: 73px;
  object-fit: cover;
  display: block;
}
.ereignisse-tabelle .ev-bild img {
  width: 90px;
  height: 67px;
  object-fit: cover;
  display: block;
}
.ereignisse-tabelle .ev-datum {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--text);
}
.ereignisse-tabelle .ev-text { color: var(--text-soft); }
.ereignisse-tabelle .ev-text a { color: var(--brand-green); }
.ereignisse-tabelle .ev-text a:hover { color: var(--brand-green-dark); }
.ereignisse-tabelle .ev-website { color: var(--brand-green); }

@media (max-width: 700px) {
  .ereignisse-tabelle .ereignis-liste li { grid-template-columns: 1fr; }
  .ereignisse-tabelle.mit-bild .ereignis-liste li { grid-template-columns: 1fr 90px; }
  .ereignisse-tabelle.mit-bild .ev-bild { grid-column: 2; grid-row: 1 / span 2; }
  .ereignisse-tabelle.mit-bild .ev-bild img { width: 90px; height: 67px; }
}

/* Film-Bildleisten-Layout (Kategorie 'Film') */
.film-bildleisten-block { display: flex; flex-direction: column; gap: 1.6rem; }
.film-eintrag {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line-soft);
}
.film-eintrag:last-child { border-bottom: 0; }
.film-bildleiste {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 0.6rem;
  text-decoration: none;
}
.film-bildleiste .bildleiste-img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
}
@media (max-width: 1024px) {
  .film-bildleiste { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .film-bildleiste .bildleiste-img { height: 100px; }
}
@media (max-width: 600px) {
  .film-bildleiste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .film-bildleiste .bildleiste-img { height: 80px; }
}
.film-titel { text-decoration: none; color: var(--brand-green); display: block; }
.film-titel:hover { color: var(--brand-green-dark); }
.film-titel h2 {
  font-size: 1.3rem;
  font-weight: 300;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}
.film-text { font-size: 14px; line-height: 1.5; color: var(--text); }

/* Bibliographie-Tabelle */
.bibliografie-tabelle .biblio-liste {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bibliografie-tabelle .biblio-liste li {
  display: grid;
  grid-template-columns: 5rem 1fr 130px;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.45;
  align-items: start;
}
.bibliografie-tabelle .biblio-liste li:first-child { border-top: 0; }
.bibliografie-tabelle .biblio-jahr {
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.bibliografie-tabelle .biblio-titel {
  display: block;
  color: var(--brand-green);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 400;
  margin: 0 0 0.3rem;
}
.bibliografie-tabelle .biblio-titel:hover { color: var(--brand-green-dark); }
.bibliografie-tabelle .biblio-autoren {
  color: var(--muted, #777);
  font-size: 0.92em;
  margin: 0 0 0.15rem;
}
.bibliografie-tabelle .biblio-beschreibung { color: var(--text); }
.bibliografie-tabelle .biblio-bild img {
  width: 130px;
  height: 87px;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .bibliografie-tabelle .biblio-liste li { grid-template-columns: 1fr 90px; }
  .bibliografie-tabelle .biblio-jahr { grid-column: 1 / -1; font-weight: 600; }
  .bibliografie-tabelle .biblio-bild { grid-column: 2; grid-row: 2; }
  .bibliografie-tabelle .biblio-bild img { width: 90px; height: 60px; }
}

/* Download */
.download .seiten-titel {
  color: var(--brand-green);
  font-weight: 300;
  font-size: 2em;
  margin: 0 0 0.8rem;
}
.download .einleitung { margin: 0 0 1.4rem; }
.download-projekt {
  margin: 0 0 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-soft);
}
.download-projekt:last-child { border-bottom: 0; }
.download-projekt-header {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0 0 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--line-soft);
}
.download-projekt-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 400;
}
.download-projekt-header h2 a {
  color: var(--brand-green);
  text-decoration: none;
}
.download-projekt-header h2 a:hover { color: var(--brand-green-dark); }
.download-projekt-header .download-jahr {
  color: var(--text-muted);
  font-size: 13px;
}
.download-liste {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 700px) { .download-liste { grid-template-columns: 1fr; } }
.download-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.download-bild {
  display: block;
  text-decoration: none;
  width: 100%;
  aspect-ratio: 280 / 190;
  overflow: hidden;
  background: #f5f5f5;
}
.download-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.download-info { font-size: 14px; line-height: 1.45; }
a.download-text {
  color: var(--brand-green);
  text-decoration: none;
  display: block;
  margin: 0 0 0.2rem;
}
a.download-text:hover { color: var(--brand-green-dark); }
.download-text { color: var(--text); margin: 0 0 0.2rem; }
.download-meta {
  color: var(--text-muted);
  font-size: 12px;
}

/* Timeline */
.timeline .seiten-titel {
  color: var(--brand-green);
  font-weight: 300;
  font-size: 2em;
  margin: 0 0 0.8rem;
}
.timeline .einleitung {
  margin: 0 0 1.4rem;
  color: var(--text);
}
.timeline-year-picker {
  margin: 0 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.timeline-year-picker label {
  color: var(--text-soft);
  font-size: 14px;
}
.timeline-year-picker select {
  font: inherit;
  padding: 0.3rem 0.6rem;
  border: 1px solid #ddd;
  background: #fff;
}
.timeline-jahr {
  position: relative;
  margin: 0 0 2rem;
}
.timeline-jahr-headline {
  text-align: center;
  color: var(--brand-green);
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 0 1.4rem;
  position: relative;
  z-index: 2;
  background: #fff;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 1rem;
}
.timeline-liste {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline-liste::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
  transform: translateX(-0.5px);
}
.timeline-item {
  position: relative;
  display: flex;
  margin: 0 0 1.4rem;
  min-height: 100px;
}
.timeline-item.is-right { justify-content: flex-end; }
.timeline-item.is-left  { justify-content: flex-start; }
.timeline-node {
  position: absolute;
  left: 50%;
  top: 1.2rem;
  width: 9px; height: 9px;
  background: var(--line);
  transform: translateX(-50%);
  z-index: 3;
}
.timeline-card {
  width: calc(50% - 1.8rem);
  border: 1px solid var(--line-soft);
  background: #fff;
  padding: 0.8rem 1rem;
  display: flex;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
}
.timeline-item.is-right .timeline-card { margin-left: 1.8rem; }
.timeline-item.is-left  .timeline-card { margin-right: 1.8rem; }
.timeline-bild img {
  width: 90px;
  height: 67px;
  object-fit: cover;
  display: block;
}
.timeline-content { flex: 1; min-width: 0; }
.timeline-datum {
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.3rem;
  font-size: 14px;
}
.timeline-text {
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}
.timeline-text a { color: var(--brand-green); }
.timeline-text a:hover { color: var(--brand-green-dark); }
.timeline-link a {
  color: var(--brand-green);
  font-size: 13px;
}
.timeline-link a:hover { color: var(--brand-green-dark); }
.timeline-projekt {
  margin-top: 0.4rem;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.timeline-projekt a {
  color: var(--text-muted);
  text-decoration: none;
}
.timeline-projekt a:hover { color: var(--brand-green); }

@media (max-width: 700px) {
  .timeline-liste::before { left: 20px; }
  .timeline-node { left: 20px; }
  .timeline-item.is-right, .timeline-item.is-left { justify-content: flex-end; }
  .timeline-card {
    width: calc(100% - 40px);
    margin-left: 40px !important;
    margin-right: 0 !important;
  }
  .timeline-bild img { width: 70px; height: 52px; }
}

/* Dev-Links im Header etwas zurückgenommen */
.site-menu .menu-dev-link {
  color: #bbb;
  margin-left: 0.8rem;
  font-size: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-copyright { flex: 1; }

.footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
}

.footer-social a:hover { color: var(--brand-green-dark); }

.footer-impressum {
  color: var(--brand-green);
}

/* ===== 404 Error Page ===== */
.error-page {
  max-width: 640px;
  margin: 2rem auto;
  padding: 2rem 1rem;
}
.error-page .error-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  margin: 1rem 0 2rem;
}
.error-page .error-suche {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.error-page .error-suche input[type=search] {
  flex: 1 1 auto;
  padding: 0.55rem 0.7rem;
  font-size: 15px;
  border: 1px solid var(--line-soft);
  background: #fff;
}
.error-page .error-suche button {
  padding: 0.55rem 1rem;
  font-size: 15px;
  background: var(--brand-green);
  color: #fff;
  border: 0;
  cursor: pointer;
}
.error-page .error-suche button:hover {
  background: var(--brand-green-dark);
}
.error-page .error-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.error-page .error-nav a {
  color: var(--brand-green);
  text-decoration: none;
  font-size: 15px;
}
.error-page .error-nav a:hover {
  color: var(--brand-green-dark);
  text-decoration: underline;
}
