:root {
  --zl-navy: #0f3d76;
  --zl-gold: #c5b37c;
  --zl-bible: #765a96;
  --zl-bible-pale: #f5f1f8;
  --zl-ink: #17191c;
  --zl-muted: #73777c;
  --zl-paper: #fbfaf7;
  --zl-line: rgba(15, 61, 118, 0.12);
  --zl-disabled: #d9dcdf;
  --zl-reader-rail: clamp(148px, 12.25vw, 190px);
  --zl-reader-top: clamp(112px, 9.4vw, 146px);
  --zl-reader-bottom: clamp(30px, 4.5vh, 56px);
  --zl-timeline-slot: 224px;
  --zl-timeline-label: 178px;
}

* { box-sizing: border-box; }
html {
  background: var(--zl-paper);
  color: var(--zl-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--zl-paper);
  font-size: 17px;
  line-height: 1.62;
}
body.art-mode { overflow: auto; }
body.workshop-open { overflow: auto; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }

/* Zeitachse */
.timeline-view { min-height: 100vh; background: var(--zl-paper); padding: 34px 0 0; }
.timeline-shell { width: 100%; margin: 0 auto; }
.timeline-head {
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  gap: 32px;
  align-items: end;
  padding: 0 34px 28px;
}
.timeline-search-wrap { position: relative; width: 100%; justify-self: start; }
.timeline-view-switch { display: flex; align-items: center; gap: 18px; margin: 0 0 8px; }
.timeline-view-switch button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 3px 0 5px;
  color: var(--zl-muted);
  font-size: .72rem;
  font-weight: 560;
  letter-spacing: .035em;
  cursor: pointer;
}
.timeline-view-switch button[aria-pressed="true"] { border-bottom-color: var(--zl-gold); color: var(--zl-navy); }
.timeline-view-switch button:hover, .timeline-view-switch button:focus-visible { color: var(--zl-navy); outline: none; }
.timeline-search-row { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--zl-line); }
.timeline-search-row:focus-within { border-bottom-color: var(--zl-gold); }
.timeline-search {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--zl-ink);
  padding: 10px 2px;
  font-size: 1rem;
  outline: none;
}
.timeline-today {
  min-width: 64px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(197,179,124,.58);
  border-radius: 999px;
  background: transparent;
  color: var(--zl-navy);
  padding: 0 13px;
  font-size: .72rem;
  font-weight: 560;
  cursor: pointer;
  transition: color .14s, background .14s, border-color .14s;
}
.timeline-today:hover, .timeline-today:focus-visible {
  border-color: var(--zl-gold);
  background: rgba(197,179,124,.1);
  outline: none;
}
.timeline-today.active { border-color: var(--zl-gold); background: var(--zl-gold); color: #fff; }
.timeline-share {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--zl-muted);
  padding: 0;
  cursor: pointer;
  opacity: .72;
}
.timeline-share:hover, .timeline-share:focus-visible, .timeline-share.copied { color: var(--zl-navy); opacity: 1; outline: none; }
.timeline-share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.timeline-share-status { position: absolute; right: 0; top: calc(100% + 5px); min-height: 16px; color: var(--zl-muted); font-size: .66rem; white-space: nowrap; }
.timeline-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0 34px 24px; }
.timeline-chip, .timeline-all {
  border: 0;
  background: transparent;
  color: var(--zl-navy);
  font-size: .76rem;
  cursor: pointer;
}
.timeline-chip { padding: 7px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(15, 47, 85, .1); }
.timeline-chip.active { background: var(--zl-navy); color: #fff; box-shadow: none; }
.timeline-all { color: var(--zl-muted); padding: 7px 5px; }
.timeline-filter-panel { position: relative; z-index: 40; display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; padding: 0 34px 24px; }
.timeline-facet { position: relative; min-width: 176px; color: var(--zl-navy); font-size: .76rem; }
.timeline-facet summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 11px;
  border: 1px solid rgba(15, 47, 85, .12);
  border-radius: 2px;
  background: rgba(255,255,255,.58);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.timeline-facet summary::-webkit-details-marker { display: none; }
.timeline-facet summary::after { content: "⌄"; margin-left: auto; color: var(--zl-gold); font-size: .8rem; line-height: 1; transition: transform .14s; }
.timeline-facet[open] summary { border-color: rgba(185,149,75,.65); background: #fff; }
.timeline-facet[open] summary::after { transform: rotate(180deg); }
.timeline-facet summary:focus-visible, .timeline-facet-option:focus-visible, .timeline-reset:focus-visible { outline: 2px solid var(--zl-gold); outline-offset: 2px; }
.timeline-facet-count { color: var(--zl-muted); font-size: .65rem; white-space: nowrap; }
.timeline-facet-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  z-index: 50;
  display: grid;
  gap: 3px;
  width: max-content;
  min-width: 100%;
  max-width: min(340px, calc(100vw - 36px));
  max-height: 300px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--zl-line);
  background: #fff;
  box-shadow: 0 12px 30px rgba(15,47,85,.12);
}
.timeline-facet-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 7px 8px;
  color: var(--zl-muted);
  font-size: .72rem;
  text-align: left;
  cursor: pointer;
}
.timeline-facet-option::before { content: ""; width: 9px; height: 9px; flex: 0 0 9px; border: 1px solid rgba(15,47,85,.28); border-radius: 50%; background: #fff; }
.timeline-facet-option[aria-pressed="true"] { color: var(--zl-navy); }
.timeline-facet-option[aria-pressed="true"]::before { border-color: var(--zl-gold); background: var(--zl-gold); box-shadow: inset 0 0 0 2px #fff; }
.timeline-reset { border: 0; background: transparent; padding: 9px 6px; color: var(--zl-muted); font-size: .72rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.timeline-result-note { padding: 0 34px 12px; color: var(--zl-muted); font-size: .72rem; }
.timeline-board {
  border-top: 1px solid var(--zl-line);
  border-bottom: 1px solid var(--zl-line);
  background: #fff;
  overflow: auto;
  max-height: calc(100vh - 230px);
  scrollbar-gutter: stable;
}
.timeline-grid {
  position: relative;
  display: grid;
  grid-template-columns: var(--zl-timeline-label) repeat(var(--zl-visible-count), var(--zl-timeline-slot));
  grid-template-rows: var(--zl-grid-rows, 92px repeat(var(--zl-category-count), 150px));
  min-width: max-content;
}
.timeline-grid--today { padding-right: 50vw; }
.timeline-today-guide {
  position: absolute;
  z-index: 25;
  top: 0;
  bottom: 0;
  width: 0;
  pointer-events: none;
}
.timeline-today-guide::after {
  content: "";
  position: absolute;
  left: 0;
  top: 75px;
  bottom: 0;
  width: 1px;
  background: rgba(197,179,124,.52);
  transform: translateX(-.5px);
}
.timeline-today-guide::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  top: 72px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zl-gold);
  box-shadow: 0 0 0 3px rgba(255,255,255,.9);
  transform: translateX(-3.5px);
}
.timeline-bible-zone { display: grid; grid-template-columns: var(--zl-timeline-label) max-content; min-width: max-content; background: #fff; border-bottom: 1px solid var(--zl-line); }
.timeline-bible-label { position: sticky; left: 0; z-index: 26; display: flex; align-items: flex-start; padding: 18px 20px; border-right: 1px solid var(--zl-line); background: #fff; color: var(--zl-navy); font-size: .82rem; font-weight: 560; }
.timeline-bible-periods { display: flex; align-items: stretch; }
.timeline-bible-period { width: calc(var(--zl-bible-columns) * var(--zl-timeline-slot)); border-right: 1px solid var(--zl-line); }
.timeline-bible-time { padding: 14px 10px 10px; color: var(--zl-navy); font-size: .69rem; font-weight: 620; text-align: center; white-space: nowrap; }
.timeline-bible-columns { display: grid; grid-template-columns: repeat(var(--zl-bible-columns), var(--zl-timeline-slot)); align-items: start; }
.timeline-bible-column { display: flex; flex-direction: column; gap: 5px; padding: 0 9px 12px; }
.timeline-bible-card { display: block; width: 100%; min-height: 48px; padding: 7px 9px 8px; border: 1px solid rgba(15,47,85,.1); background: var(--zl-paper); color: var(--zl-ink); text-align: left; cursor: pointer; transition: border-color .14s, transform .14s, background .14s; }
.timeline-bible-card:hover, .timeline-bible-card:focus-visible { border-color: rgba(185,149,75,.72); background: #fff; outline: none; transform: translateY(-1px); }
.timeline-bible-card-meta, .timeline-bible-card-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline-bible-card-meta { margin-bottom: 3px; color: var(--zl-gold); font-size: .58rem; font-weight: 620; letter-spacing: .025em; }
.timeline-bible-card-title { color: var(--zl-navy); font-size: .71rem; font-weight: 540; line-height: 1.25; }
.timeline-gold-divider { position: relative; min-width: max-content; height: 42px; background: #fff; }
.timeline-gold-divider::after { content: ""; position: absolute; left: var(--zl-timeline-label); right: 0; bottom: 17px; height: 1px; background: var(--zl-gold); }
.timeline-corner { position: sticky; left: 0; top: 0; z-index: 30; display: grid; place-items: center; background: #fff; border-right: 1px solid var(--zl-line); }
.timeline-corner button { border: 0; background: transparent; padding: 10px; opacity: .56; cursor: pointer; }
.timeline-corner button:hover, .timeline-corner button:focus-visible { opacity: .9; outline: none; }
.timeline-corner img { display: block; width: 108px; max-width: 100%; height: auto; }
.timeline-year { position: sticky; top: 0; z-index: 20; background: #fff; display: flex; align-items: end; justify-content: center; text-align: center; padding: 12px 10px 27px; color: var(--zl-muted); font-size: .68rem; }
.timeline-year::after { content: ""; position: absolute; left: 0; right: 0; bottom: 17px; height: 1px; background: var(--zl-gold); }
.timeline-year::before { content: ""; position: absolute; left: 50%; bottom: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--zl-gold); transform: translateX(-50%); box-shadow: 0 0 0 4px #fff; }
.timeline-primary-label { position: relative; z-index: 2; white-space: nowrap; }
.timeline-year--grouped { display: block; padding: 0; }
.timeline-year--grouped.timeline-year--unmarked::before { display: none; }
.timeline-axis-label { position: absolute; left: 8px; right: 8px; bottom: 34px; text-align: center; }
.timeline-year--month .timeline-axis-label,
.timeline-year--day .timeline-axis-label,
.timeline-year--hour .timeline-axis-label { color: var(--zl-navy); font-weight: 560; white-space: nowrap; }
.timeline-column-year { position: absolute; left: 8px; right: 8px; bottom: 0; color: var(--zl-muted); font-size: .61rem; text-align: center; }
.timeline-label { position: sticky; left: 0; z-index: 15; background: #fff; display: flex; align-items: center; padding: 16px 20px; border-right: 1px solid var(--zl-line); border-top: 1px solid var(--zl-line); color: var(--zl-navy); font-size: .82rem; font-weight: 530; }
.timeline-cell { display: flex; align-items: center; padding: 12px; border-top: 1px solid var(--zl-line); }
.timeline-cell--with-phases { align-self: start; height: 150px; }
.timeline-cell--stacked { flex-direction: column; align-items: stretch; gap: 7px; }
.timeline-cell--stacked .timeline-card { flex: 1 1 0; min-height: 0; padding: 8px 10px; overflow: hidden; }
.timeline-cell--stacked .timeline-card-k { margin-bottom: 2px; font-size: .56rem; }
.timeline-cell--stacked .timeline-card-title { display: -webkit-box; overflow: hidden; font-size: .7rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.timeline-card { width: 100%; min-height: 108px; border: 1px solid rgba(15,47,85,.1); background: var(--zl-paper); padding: 12px 13px; text-align: left; cursor: pointer; color: var(--zl-ink); transition: border-color .14s, transform .14s; }
.timeline-card:hover, .timeline-card:focus-visible { border-color: rgba(185,149,75,.72); transform: translateY(-1px); outline: none; background: #fff; }
.timeline-card-k { color: var(--zl-gold); font-size: .61rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 5px; }
.timeline-card-title { color: var(--zl-navy); font-size: .76rem; line-height: 1.28; font-weight: 540; }
.timeline-card[class*="biblical-"] { border-color: rgba(118,90,150,.22); background: linear-gradient(180deg, var(--zl-bible-pale), var(--zl-paper)); }
.timeline-card[class*="biblical-"]:hover, .timeline-card[class*="biblical-"]:focus-visible { border-color: rgba(118,90,150,.58); }

/* Zusammenschau: fünf adaptive Zeitfenster mit festem Kopf und fester Kategorienpalte */
.timeline-board.synthesis-mode { max-height: calc(100vh - 230px); background: var(--zl-paper); }
.synthesis-toolbar {
  position: sticky;
  left: 0;
  z-index: 34;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 100%;
  padding: 13px 24px;
  border-bottom: 1px solid var(--zl-line);
  background: rgba(251,250,247,.96);
  backdrop-filter: blur(8px);
}
.synthesis-toolbar strong, .synthesis-toolbar span { display: block; }
.synthesis-toolbar strong { color: var(--zl-navy); font-size: .78rem; font-weight: 620; }
.synthesis-toolbar span { margin-top: 2px; color: var(--zl-muted); font-size: .66rem; }
.synthesis-navigation { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.synthesis-navigation button {
  border: 1px solid rgba(15,61,118,.13);
  border-radius: 999px;
  background: #fff;
  padding: 6px 11px;
  color: var(--zl-navy);
  font-size: .67rem;
  cursor: pointer;
}
.synthesis-navigation button:hover, .synthesis-navigation button:focus-visible { border-color: var(--zl-gold); outline: none; }
.synthesis-grid {
  --zl-synthesis-label: 178px;
  --zl-synthesis-slot: minmax(192px, 1fr);
  display: grid;
  grid-template-columns: var(--zl-synthesis-label) repeat(var(--zl-synthesis-columns), var(--zl-synthesis-slot));
  grid-template-rows: 86px repeat(8, 148px);
  min-width: 1160px;
  background: #fff;
}
.synthesis-corner {
  position: sticky;
  left: auto;
  top: 0;
  z-index: 33;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--zl-line);
  border-bottom: 1px solid var(--zl-line);
  background: #fff;
  transform: translateX(var(--zl-synthesis-scroll-left, 0px));
}
.synthesis-corner button { border: 0; background: transparent; padding: 10px; cursor: pointer; }
.synthesis-corner img { display: block; width: 108px; max-width: 100%; height: auto; }
.synthesis-period {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px 10px 23px;
  border-bottom: 1px solid var(--zl-line);
  background: #fff;
  color: var(--zl-navy);
  font-size: .69rem;
  font-weight: 560;
  text-align: center;
}
.synthesis-period::after { content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 1px; background: var(--zl-gold); }
.synthesis-period::before { content: ""; position: absolute; left: 50%; bottom: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--zl-gold); box-shadow: 0 0 0 3px #fff; transform: translateX(-50%); }
.synthesis-category {
  position: relative;
  z-index: 24;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-right: 1px solid var(--zl-line);
  border-bottom: 1px solid var(--zl-line);
  background: #fff;
  color: var(--zl-navy);
  font-size: .78rem;
  font-weight: 570;
  transform: translateX(var(--zl-synthesis-scroll-left, 0px));
}
.synthesis-cell {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 6px;
  min-width: 0;
  padding: 10px;
  border-bottom: 1px solid var(--zl-line);
  border-right: 1px solid rgba(15,61,118,.07);
  background: linear-gradient(180deg, rgba(251,250,247,.38), #fff);
}
.synthesis-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(15,61,118,.12);
  border-top: 3px solid rgba(197,179,124,.64);
  border-radius: 3px 3px 1px 1px;
  background: var(--zl-paper);
  padding: 7px 8px 8px;
  color: var(--zl-navy);
  text-align: left;
  cursor: pointer;
  transition: opacity .14s, border-color .14s, background .14s, transform .14s;
}
.synthesis-card:hover, .synthesis-card:focus-visible { z-index: 2; border-color: var(--zl-gold); background: #fff; outline: none; transform: translateY(-1px); }
.synthesis-card-date { display: block; overflow: hidden; margin-bottom: 3px; color: var(--zl-gold); font-size: .55rem; font-weight: 680; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.synthesis-card-title { display: -webkit-box; overflow: hidden; font-size: .66rem; font-weight: 560; line-height: 1.22; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.synthesis-card--selected { border-color: rgba(15,61,118,.56); border-top-color: var(--zl-gold); background: #fff; box-shadow: 0 3px 12px rgba(15,61,118,.09); }
.synthesis-card--context { opacity: .3; filter: saturate(.45); }
.synthesis-card--context:hover, .synthesis-card--context:focus-visible { opacity: .82; filter: none; }
.synthesis-overflow { position: absolute; right: 9px; bottom: 3px; color: var(--zl-muted); font-size: .54rem; line-height: 1; }
.synthesis-hint { position: sticky; left: 0; width: max-content; min-width: 100%; margin: 0; padding: 9px 24px 10px; border-top: 1px solid var(--zl-line); background: var(--zl-paper); color: var(--zl-muted); font-size: .62rem; }
.bible-card-kicker { display: block; margin: 0 0 4px; color: var(--zl-bible); font-size: .57rem; font-weight: 650; letter-spacing: .095em; line-height: 1.2; text-transform: uppercase; }
.card-meta-line .bible-card-kicker { display: inline-block; margin: 0 10px 0 0; padding-right: 10px; border-right: 1px solid rgba(118,90,150,.28); }
.timeline-phase-band {
  position: absolute;
  z-index: 12;
  top: var(--zl-phase-top);
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 27px;
  margin: 0;
  padding: 0 13px;
  overflow: hidden;
  border: 1px solid rgba(15,61,118,.22);
  border-radius: 999px;
  background: rgba(15,61,118,.075);
  color: var(--zl-navy);
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.timeline-phase-band:hover, .timeline-phase-band:focus-visible { z-index: 16; border-color: var(--zl-gold); background: rgba(197,179,124,.16); outline: none; }
.timeline-phase-band.phase-type-transition { border-color: rgba(197,179,124,.68); background: rgba(197,179,124,.12); }
.timeline-phase-band.phase-type-reign { border-color: rgba(15,61,118,.16); background: rgba(15,61,118,.045); }
.timeline-phase-band.phase-type-war { border-color: rgba(127,47,42,.45); background: rgba(127,47,42,.105); color: #682824; }
.timeline-phase-band.phase-type-war:hover, .timeline-phase-band.phase-type-war:focus-visible { border-color: var(--zl-gold); background: rgba(197,179,124,.16); }
.timeline-phase-band.phase-start-approximate { border-left-style: dashed; }
.timeline-phase-band.phase-end-approximate { border-right-style: dashed; }
.timeline-phase-band.phase-start-soft { border-left-color: transparent; background-image: linear-gradient(to right, rgba(255,255,255,.88), transparent 34px); }
.timeline-phase-band.phase-end-soft { border-right-color: transparent; background-image: linear-gradient(to left, rgba(255,255,255,.88), transparent 34px); }
.timeline-phase-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: .66rem; font-weight: 610; }
.timeline-phase-date { flex: 0 0 auto; color: var(--zl-muted); font-size: .6rem; }
.timeline-phase-mobile-heading { display: none; }
.phase-hover-tooltip {
  position: fixed;
  z-index: 180;
  width: max-content;
  max-width: min(360px, calc(100vw - 20px));
  padding: 8px 11px;
  border: 1px solid rgba(197,179,124,.72);
  border-radius: 3px;
  background: rgba(15,61,118,.96);
  box-shadow: 0 7px 22px rgba(15,47,85,.2);
  color: #fff;
  font-size: .7rem;
  font-weight: 560;
  line-height: 1.35;
  pointer-events: none;
}
.timeline-empty { padding: 54px 34px; color: var(--zl-muted); font-size: .9rem; }
.timeline-legal { display: flex; justify-content: center; padding: 34px 20px; }
.timeline-legal a { color: var(--zl-muted); font-size: .68rem; text-decoration: none; border-bottom: 1px solid transparent; }
.timeline-legal a:hover { color: var(--zl-navy); border-bottom-color: var(--zl-gold); }

/* K-Seite */
.reader-stage { height: 100vh; height: 100svh; overflow: hidden; }
.card-header { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin: 0 0 36px; padding-bottom: 14px; border-bottom: 1px solid var(--zl-line); }
.card-header-actions { display: flex; flex: 0 0 auto; align-items: flex-start; gap: 18px; }
.reader-context-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 14px; }
.reader-context-nav button { padding: 3px 0 4px; border: 0; border-bottom: 1px solid rgba(15,61,118,.2); background: transparent; color: var(--zl-navy); cursor: pointer; font-size: .72rem; }
.reader-context-nav button:hover, .reader-context-nav button:focus-visible { border-bottom-color: var(--zl-gold); outline: none; }
.card-meta-line { min-width: 0; margin: 4px 0 0; color: var(--zl-navy); font-size: .69rem; font-weight: 520; letter-spacing: .045em; line-height: 1.45; text-transform: uppercase; }
.card-share { position: relative; flex: 0 0 auto; }
.card-share-toggle { display: flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--zl-muted); padding: 3px 0 4px; cursor: pointer; font-size: .7rem; }
.card-share-toggle:hover, .card-share-toggle:focus-visible { color: var(--zl-navy); outline: none; }
.card-share-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.card-share-status { position: absolute; right: 0; top: calc(100% + 6px); width: max-content; max-width: 230px; color: var(--zl-muted); font-size: .64rem; line-height: 1.35; text-align: right; }
.event-page { display: grid; grid-template-rows: auto minmax(0, 1fr); width: calc(100% - 2 * var(--zl-reader-rail)); max-width: 1020px; height: 100vh; height: 100svh; margin: 0 auto; padding: var(--zl-reader-top) 0 var(--zl-reader-bottom); overflow: hidden; }
.event-hero { display: grid; grid-template-columns: minmax(210px, 30%) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); min-height: 0; align-items: stretch; }
.event-hero--text-only { display: block; height: 100%; min-height: 0; overflow: hidden; }
.event-hero--text-only .event-scroll { max-width: 780px; height: 100%; margin-left: auto; }
.event-scroll, .art-text { scrollbar-width: thin; scrollbar-color: rgba(15, 61, 118, .2) transparent; }
.event-scroll::-webkit-scrollbar, .art-text::-webkit-scrollbar { width: 7px; }
.event-scroll::-webkit-scrollbar-thumb, .art-text::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(15, 61, 118, .18); }
.event-scroll { min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-right: 12px; }
.event-scroll:focus-visible, .art-text:focus-visible { outline: 1px solid rgba(197, 179, 124, .72); outline-offset: 5px; }
.event-title { margin: 0; color: var(--zl-navy); font-size: clamp(2.35rem, 4.55vw, 4.25rem); font-weight: 500; line-height: .99; letter-spacing: -.052em; text-wrap: balance; }
.event-bible-reference { margin: 18px 0 0; color: var(--zl-bible); font-size: .78rem; font-weight: 620; letter-spacing: .025em; }
.event-date { margin: 18px 0 0; color: var(--zl-muted); font-size: .78rem; }
.event-lead { margin: 27px 0 0; font-size: 1.07rem; line-height: 1.6; white-space: pre-line; }
.event-art { min-width: 0; margin: 0; align-self: start; }
.event-art--pending { display: grid; place-items: center; min-height: 240px; padding: 28px; border: 1px solid var(--zl-line); background: #f3f1eb; color: var(--zl-navy); font-size: 1rem; line-height: 1.45; text-align: center; }
.event-image-link, .event-caption-link, .to-art { appearance: none; border: 0; background: transparent; color: inherit; padding: 0; text-align: left; cursor: pointer; }
.event-image-link { display: block; width: 100%; }
.event-image-link img { display: block; width: 100%; height: auto; max-height: 310px; object-fit: contain; object-position: center; background: #f3f1eb; }
.event-caption-link { display: block; width: 100%; padding: 11px 0 0; color: var(--zl-muted); font-size: .65rem; line-height: 1.42; }
.event-caption-link:hover, .event-caption-link:focus-visible { color: var(--zl-navy); outline: none; }
.to-art { margin-top: 12px; color: var(--zl-navy); font-size: .72rem; border-bottom: 1px solid rgba(15,61,118,.18); padding-bottom: 2px; }
.to-art:hover, .to-art:focus-visible { border-bottom-color: var(--zl-gold); outline: none; }
.event-body { width: 100%; margin: 58px 0 0; }
.event-section { padding: 29px 0; border-top: 1px solid var(--zl-line); }
.event-section h2, .art-section h2 { margin: 0 0 11px; color: var(--zl-navy); font-size: .98rem; font-weight: 560; }
.event-section p, .art-section p { margin: 0 0 1em; }
.event-section p:last-child, .art-section p:last-child { margin-bottom: 0; }
.event-composition-note { margin: 20px 0 22px; color: var(--zl-muted); font-size: .76rem; line-height: 1.48; }
.event-composition-note strong { color: var(--zl-navy); font-weight: 600; }
.reader-source-list { margin: 0; padding: 0; list-style: none; }
.reader-source-list li { margin: .46em 0; overflow-wrap: anywhere; }
.reader-source-list a { color: var(--zl-navy); text-decoration-color: rgba(15,61,118,.24); text-underline-offset: 3px; }
.reader-source-list a:hover, .reader-source-list a:focus-visible { text-decoration-color: var(--zl-gold); outline: none; }
.media-missing { display: grid; place-items: center; min-height: 180px; padding: 24px; background: #f3f1eb; color: var(--zl-muted); font-size: .72rem; text-align: center; }
.event-page .card-meta-line,
.event-page .reader-context-nav button,
.event-page .card-share-toggle,
.event-page .card-share-status,
.event-page .event-bible-reference,
.event-page .event-date,
.event-page .event-caption-link,
.event-page .to-art,
.event-page .event-section h2,
.event-page .event-composition-note,
.event-page .media-missing,
.event-page .card-footer { font-size: 1rem; }

/* B-Seite */
.art-page { width: calc(100% - 2 * var(--zl-reader-rail)); max-width: 1320px; height: 100vh; height: 100svh; margin: 0 auto; padding: var(--zl-reader-top) 0 var(--zl-reader-bottom); overflow: hidden; }
.art-layout { display: grid; grid-template-columns: minmax(300px, 46%) minmax(0, 1fr); gap: clamp(38px, 5vw, 76px); height: 100%; min-height: 0; align-items: stretch; }
.art-image-fixed { min-width: 0; height: 100%; margin: 0; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; cursor: zoom-in; }
.art-image-fixed img { display: block; max-width: 100%; width: 100%; height: 100%; max-height: 100%; object-fit: contain; object-position: center top; background: #f3f1eb; }
.art-image-fixed:focus-visible { outline: 1px solid var(--zl-gold); outline-offset: 4px; }
.image-lightbox-open { overflow: hidden; }
.image-lightbox-open .reader-stage { visibility: hidden !important; pointer-events: none !important; }
.image-lightbox { position: fixed; inset: 0; z-index: 500; display: grid; width: 100vw; height: 100vh; height: 100svh; overflow: hidden; background: #050505; outline: none; }
.image-lightbox[hidden] { display: none; }
.image-lightbox-stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; touch-action: none; }
.image-lightbox-image { display: block; width: auto; height: auto; max-width: none; max-height: none; object-fit: contain; object-position: center; cursor: zoom-out; user-select: none; transform: translate3d(var(--zl-image-pan-x, 0), var(--zl-image-pan-y, 0), 0) scale(var(--zl-image-zoom, 1)); transform-origin: center; transition: transform .12s ease-out; will-change: transform; }
.image-lightbox[data-zoomed="true"] .image-lightbox-image { cursor: move; transition: none; }
.image-lightbox-close { position: fixed; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); z-index: 510; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(15,61,118,.2); border-radius: 50%; background: rgba(255,255,255,.92); color: var(--zl-navy); cursor: pointer; font: 300 1.8rem/1 Georgia, serif; }
.image-lightbox-close:hover, .image-lightbox-close:focus-visible { border-color: var(--zl-gold); outline: none; }
.image-lightbox-toolbar { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 510; display: flex; align-items: center; gap: 2px; padding: 5px; border: 1px solid rgba(15,61,118,.2); border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 8px 28px rgba(0,0,0,.22); transform: translateX(-50%); }
.image-lightbox-toolbar button { min-width: 38px; height: 38px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--zl-navy); cursor: pointer; font: 500 1.05rem/1 system-ui, sans-serif; }
.image-lightbox-toolbar button:hover, .image-lightbox-toolbar button:focus-visible { background: var(--zl-paper); outline: 1px solid var(--zl-gold); }
.image-lightbox-toolbar .image-lightbox-fit { font-size: .7rem; }
.image-lightbox-scale { min-width: 58px; color: var(--zl-muted); font-size: .7rem; text-align: center; }
.art-text { display: flex; min-width: 0; min-height: 0; height: 100%; flex-direction: column; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 0 12px 0 0; }
.art-text .card-footer { margin-top: auto; }
.art-page[data-has-image="false"] .art-layout { display: block; max-width: 850px; margin: 0 auto; }
.art-page[data-has-image="false"] .art-text { width: 100%; height: 100%; margin: 0; }
.art-text .card-header { margin-bottom: 31px; }
.art-title { margin: 0; color: var(--zl-navy); font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 500; line-height: 1.03; letter-spacing: -.045em; text-wrap: balance; }
.detail-curation-pending { margin: 28px 0; padding: 22px 24px; border: 1px solid var(--zl-line); background: #f3f1eb; color: var(--zl-navy); }
.art-byline { margin: 15px 0 0; color: var(--zl-muted); font-size: .82rem; }
.art-caption { margin: 25px 0 0; padding-top: 17px; border-top: 1px solid var(--zl-line); color: var(--zl-muted); font-size: .7rem; line-height: 1.5; }
.art-caption strong { color: var(--zl-ink); font-weight: 520; }
.art-section { max-width: 720px; padding: 27px 0; border-top: 1px solid var(--zl-line); }
.art-section:first-of-type { margin-top: 31px; }
.art-gallery { max-width: none; padding-bottom: 8px; }
.art-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; margin-top: 18px; }
.art-gallery-item { min-width: 0; margin: 0; }
.art-gallery-lightbox { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.art-gallery-lightbox img { display: block; width: 100%; height: 260px; object-fit: contain; object-position: center; background: #f3f1eb; }
.art-gallery-lightbox:hover img, .art-gallery-lightbox:focus-visible img { outline: 1px solid var(--zl-gold); outline-offset: 3px; }
.art-gallery-lightbox:focus-visible { outline: none; }
.art-gallery-card-link { margin-top: 8px; padding: 0; border: 0; border-bottom: 1px solid rgba(15,61,118,.24); background: transparent; color: var(--zl-navy); cursor: pointer; font: inherit; }
.art-gallery-card-link:hover, .art-gallery-card-link:focus-visible { border-color: var(--zl-gold); outline: none; }
.art-gallery-item figcaption { margin-top: 10px; color: var(--zl-ink); font-size: .68rem; line-height: 1.48; }
.art-gallery-item figcaption span { display: block; margin-top: 5px; color: var(--zl-muted); }
.art-gallery-item figcaption a { color: var(--zl-navy); text-decoration-color: rgba(15,61,118,.24); text-underline-offset: 3px; }
.art-gallery-item figcaption a:hover, .art-gallery-item figcaption a:focus-visible { text-decoration-color: var(--zl-gold); outline: none; }

.card-footer { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--zl-line); color: var(--zl-muted); font-size: .64rem; letter-spacing: .045em; }
.card-footer-number { justify-self: start; color: var(--zl-navy); }
.card-footer-logo { display: grid; place-items: center; min-width: 108px; min-height: 23px; opacity: .82; text-decoration: none; transition: opacity .14s; }
.card-footer-logo img { display: block; width: 108px; height: auto; }
.card-footer-logo:hover, .card-footer-logo:focus-visible { opacity: 1; outline: 1px solid var(--zl-gold); outline-offset: 4px; }
.card-footer time { justify-self: end; }

/* Dialoge und Fehler */
dialog { border: 0; padding: 0; background: transparent; }
dialog::backdrop { background: rgba(15,61,118,.16); backdrop-filter: blur(5px); }
.imprint-dialog { width: min(620px, calc(100% - 32px)); }
.imprint-panel { position: relative; padding: 52px; background: #fff; border: 1px solid var(--zl-line); box-shadow: 0 22px 70px rgba(15,61,118,.12); }
.imprint-panel img { width: 126px; height: auto; }
.imprint-panel h2 { margin: 34px 0 18px; color: var(--zl-navy); font-size: 1.5rem; font-weight: 520; }
.imprint-panel p { line-height: 1.7; }
.imprint-panel .muted { color: var(--zl-muted); font-size: .78rem; }
.imprint-close { position: absolute; right: 20px; top: 16px; border: 0; background: transparent; color: var(--zl-muted); font-size: 1.8rem; cursor: pointer; }
.phase-dialog { width: min(960px, calc(100% - 32px)); max-height: calc(100vh - 32px); }
.phase-panel { position: relative; max-height: calc(100vh - 32px); overflow: auto; padding: 52px; background: #fff; border: 1px solid var(--zl-line); box-shadow: 0 22px 70px rgba(15,61,118,.12); }
.phase-close { position: absolute; right: 20px; top: 16px; border: 0; background: transparent; color: var(--zl-muted); font-size: 1.8rem; cursor: pointer; }
.phase-detail-layout--with-portrait { display: grid; grid-template-columns: minmax(190px, 250px) minmax(0, 1fr); gap: 42px; align-items: start; }
.phase-detail-layout--with-gallery { grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); }
.phase-detail-copy { min-width: 0; }
.phase-detail-media { display: grid; gap: 24px; min-width: 0; }
.phase-detail-media--gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.phase-detail-portrait { margin: 0; }
.phase-detail-portrait img { display: block; width: 100%; max-height: 390px; object-fit: contain; object-position: top center; background: var(--zl-paper); }
.phase-detail-media--gallery .phase-detail-portrait img { height: 190px; object-position: center; }
.phase-detail-portrait figcaption { display: grid; gap: 5px; margin-top: 11px; color: var(--zl-muted); font-size: .66rem; line-height: 1.45; }
.phase-detail-portrait figcaption a { color: var(--zl-navy); text-decoration-color: rgba(15,61,118,.24); text-underline-offset: 3px; }
.phase-detail-portrait figcaption a:hover, .phase-detail-portrait figcaption a:focus-visible { text-decoration-color: var(--zl-gold); outline: none; }
.phase-detail-kicker { margin: 0 42px 10px 0; color: var(--zl-gold); font-size: .68rem; font-weight: 650; letter-spacing: .085em; text-transform: uppercase; }
.phase-panel h2 { margin: 0; color: var(--zl-navy); font-size: clamp(2rem, 5vw, 3.45rem); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; }
.phase-detail-date { margin: 14px 0 28px; color: var(--zl-muted); font-size: .85rem; }
.phase-detail-meta { display: grid; gap: 8px; margin: 0 0 30px; padding: 20px 0; border-top: 1px solid var(--zl-line); border-bottom: 1px solid var(--zl-line); font-size: .75rem; }
.phase-detail-meta div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; }
.phase-detail-meta dt { color: var(--zl-muted); }
.phase-detail-meta dd { margin: 0; color: var(--zl-navy); }
.phase-detail-lead { color: var(--zl-ink); font-size: 1.02rem; line-height: 1.62; }
.phase-panel p:not(.phase-detail-kicker):not(.phase-detail-date):not(.phase-detail-lead) { color: var(--zl-muted); font-size: .84rem; line-height: 1.62; }
.phase-detail-links { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--zl-line); }
.phase-detail-links h3 { margin: 0 0 12px; color: var(--zl-navy); font-size: .82rem; font-weight: 600; }
.phase-detail-links div { display: grid; gap: 6px; }
.phase-detail-links button { border: 0; border-bottom: 1px solid rgba(15,61,118,.12); background: transparent; padding: 8px 0; color: var(--zl-navy); font-size: .75rem; text-align: left; cursor: pointer; }
.phase-detail-links button:hover, .phase-detail-links button:focus-visible { border-bottom-color: var(--zl-gold); outline: none; }
.fatal-error { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 200; padding: 18px 22px; background: #7d251f; color: #fff; box-shadow: 0 18px 54px rgba(0,0,0,.18); }
.fatal-error span { display: block; margin-top: 4px; opacity: .85; }

@media (max-width: 900px) {
  :root { --zl-reader-rail: 128px; --zl-reader-top: 96px; --zl-timeline-slot: 206px; --zl-timeline-label: 160px; }
  body { font-size: 16.5px; }
  .timeline-head, .timeline-controls, .timeline-filter-panel, .timeline-result-note { padding-left: 22px; padding-right: 22px; }
  .event-hero { grid-template-columns: minmax(180px, 29%) minmax(0, 1fr); gap: 34px; }
  .event-title { font-size: clamp(2.1rem, 5.5vw, 3.25rem); }
  .art-layout { grid-template-columns: minmax(220px, 40%) minmax(0, 1fr); gap: 32px; }
  .synthesis-grid { --zl-synthesis-label: 160px; --zl-synthesis-slot: minmax(184px, 1fr); min-width: 1080px; }
}

@media (max-width: 680px) {
  :root { --zl-reader-bottom: 22px; }
  body { font-size: 16px; }
  .timeline-view { padding-top: 24px; }
  .timeline-head { display: block; padding: 0 18px 24px; }
  .timeline-view-switch { margin-bottom: 6px; }
  .timeline-controls, .timeline-filter-panel, .timeline-result-note { padding-left: 18px; padding-right: 18px; }
  .timeline-filter-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .timeline-facet { min-width: 0; }
  .timeline-facet:first-child { grid-column: 1 / -1; }
  .timeline-facet-options { position: static; width: 100%; max-width: none; max-height: 240px; box-shadow: none; margin-top: 5px; }
  .timeline-reset { justify-self: start; }
  .timeline-board { max-height: none; border-bottom: 0; }
  .timeline-board.synthesis-mode { max-height: calc(100vh - 245px); border-bottom: 1px solid var(--zl-line); }
  .synthesis-toolbar { align-items: flex-start; min-width: 800px; padding: 11px 18px; }
  .synthesis-grid { min-width: 1040px; grid-template-rows: 80px repeat(8, 142px); }
  .synthesis-hint { padding-left: 18px; }
  .timeline-bible-zone { display: block; min-width: 0; padding: 10px 18px 16px; }
  .timeline-bible-label { position: static; padding: 6px 0 12px; border-right: 0; }
  .timeline-bible-periods { display: block; }
  .timeline-bible-period { width: auto; border: 0; border-top: 1px solid var(--zl-line); }
  .timeline-bible-time { padding: 14px 0 9px; text-align: left; }
  .timeline-bible-columns { display: block; }
  .timeline-bible-column { gap: 6px; padding: 0 0 6px; }
  .timeline-bible-card { padding: 10px 11px; }
  .timeline-bible-card-meta, .timeline-bible-card-title { white-space: normal; }
  .timeline-gold-divider { height: 34px; min-width: 0; }
  .timeline-gold-divider::after { left: 18px; right: 18px; }
  .timeline-grid { display: block; min-width: 0; }
  .timeline-grid--today { padding-right: 0; }
  .timeline-today-guide { display: none; }
  .timeline-corner, .timeline-year, .timeline-label { display: none; }
  .timeline-cell { border-top: 0; padding: 6px 18px; }
  .timeline-cell--with-phases { height: auto; }
  .timeline-cell:empty { display: none; }
  .timeline-card { min-height: 0; padding: 14px 15px; }
  .timeline-cell--stacked { gap: 6px; }
  .timeline-cell--stacked .timeline-card { padding: 14px 15px; }
  .timeline-cell--stacked .timeline-card-title { display: block; overflow: visible; font-size: .76rem; }
  .timeline-phase-mobile-heading { display: block; margin: 22px 18px 8px; color: var(--zl-navy); font-size: .78rem; font-weight: 620; }
  .timeline-phase-band { position: relative; top: auto; left: auto; right: auto; width: calc(100% - 36px); height: auto; min-height: 42px; margin: 6px 18px; padding: 10px 13px; white-space: normal; }
  .timeline-phase-title { overflow: visible; text-overflow: clip; }
  .phase-panel { padding: 46px 26px 32px; }
  .phase-detail-layout--with-portrait { display: block; }
  .phase-detail-media--gallery { grid-template-columns: 1fr; }
  .phase-detail-portrait { width: min(72vw, 280px); margin: 0 auto 30px; }
  .phase-detail-meta div { grid-template-columns: 1fr; gap: 1px; }
  .reader-stage { height: auto; min-height: 100svh; overflow: visible; }
  .event-page { width: auto; height: auto; min-height: 100svh; margin: 0; padding: 104px 20px var(--zl-reader-bottom); overflow: visible; }
  .card-header { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 30px; }
  .card-meta-line, .event-page .card-meta-line, .art-page .card-meta-line { width: 100%; margin-top: 0; font-size: .68rem; }
  .card-header-actions { width: 100%; justify-content: space-between; }
  .reader-context-nav { justify-content: flex-start; }
  .card-share { margin-left: auto; }
  .image-lightbox-toolbar button { min-width: 44px; height: 44px; }
  .card-share-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .event-hero { display: block; min-height: 0; }
  .event-hero--text-only { display: block; }
  .event-art { display: block; width: 100%; height: auto; margin: 0 0 30px; }
  .event-title { font-size: clamp(2.15rem, 11vw, 3.15rem); }
  .event-body { width: auto; margin-top: 48px; }
  .event-image-link, .event-image-link img { height: auto; }
  .event-image-link img { max-height: 58svh; }
  .event-scroll { min-height: 0; overflow: visible; padding-right: 0; }
  .card-footer { gap: 12px; margin-top: 52px; }
  .card-footer-logo { min-width: 82px; }
  .card-footer-logo img { width: 82px; }
  .card-footer { grid-template-columns: 1fr auto 1fr; }
  .art-page { width: auto; height: auto; min-height: 100svh; margin: 0; padding: 104px 20px var(--zl-reader-bottom); overflow: visible; }
  .art-layout { display: block; height: auto; min-height: 0; }
  .art-image-fixed { display: flex; height: auto; margin: 0 0 30px; }
  .art-image-fixed img { width: 100%; height: auto; max-height: 58svh; }
  .art-text { width: auto; min-height: 0; height: auto; margin: 0; padding: 0; overflow: visible; }
  .art-page[data-has-image="false"] .art-layout { height: auto; }
  .art-title { font-size: clamp(2.05rem, 10vw, 2.9rem); }
  .art-gallery-grid { grid-template-columns: 1fr; gap: 26px; }
  .art-gallery-lightbox img { height: auto; max-height: 430px; }
  .imprint-panel { padding: 44px 28px; }
}

@media print {
  @page { margin: 14mm; }
  html, body { background: #fff; font-size: 10.5pt; }
  .timeline-view, .card-share, .reader-context-nav, .workshop, .local-workshop-control, .image-lightbox { display: none !important; }
  .reader-stage, .reader-stage[hidden], #event-page[hidden], #art-page[hidden] { display: block !important; height: auto; overflow: visible; }
  .event-page { display: block; width: 100%; max-width: none; height: auto; margin: 0; padding: 0; overflow: visible; font-size: 12pt; break-after: page; }
  .event-page .card-meta-line, .event-page .event-bible-reference, .event-page .event-date,
  .event-page .event-lead, .event-page .event-caption-link, .event-page .to-art,
  .event-page .event-section h2, .event-page .event-composition-note,
  .event-page .media-missing, .event-page .card-footer { font-size: 12pt; }
  .event-hero { grid-template-columns: 28% 1fr; gap: 12mm; }
  .event-scroll { overflow: visible; padding: 0; }
  .event-image-link img { max-height: 72mm; }
  .event-title { font-size: 30pt; }
  .event-body { width: 100%; margin-top: 13mm; }
  .art-page { width: 100%; height: auto; padding: 0; overflow: visible; break-before: page; }
  .art-layout { display: block; height: auto; }
  .art-image-fixed { height: 108mm; margin: 0 0 11mm; overflow: hidden; }
  .art-image-fixed img { max-height: 100%; max-width: 100%; }
  .art-text { width: 100%; min-height: 0; height: auto; overflow: visible; padding: 0; }
  .art-title { font-size: 25pt; }
  .art-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7mm; }
  .art-gallery-lightbox img { height: 62mm; }
  .art-gallery-item { break-inside: avoid; }
  .card-footer { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Ausschließlich lokal verfügbare ZEIT.Linie-Werkstatt */
kbd { display:inline-block; margin-left:6px; padding:1px 6px; border:1px solid rgba(15,61,118,.16); border-radius:4px; background:rgba(255,255,255,.7); color:inherit; font:inherit; font-size:.72em; }
.workshop-new { border:1px solid rgba(15,61,118,.2); border-radius:999px; background:rgba(255,255,255,.72); color:var(--zl-navy); padding:8px 14px; cursor:pointer; }
.workshop-new { justify-self:end; }
.workshop-new:hover { border-color:var(--zl-gold); background:#fff; }
.workshop { min-height:100vh; padding:28px clamp(18px,4vw,58px) 54px; background:linear-gradient(180deg,rgba(197,179,124,.13),transparent 190px),var(--zl-paper); }
.workshop-head { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; max-width:1260px; margin:0 auto 16px; padding-bottom:20px; border-bottom:1px solid rgba(15,61,118,.12); }
.workshop-kicker { margin:0 0 2px; color:var(--zl-gold); font-size:.68rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.workshop-head h1 { margin:0; color:var(--zl-navy); font:500 clamp(1.8rem,4vw,3rem)/1.15 Georgia,serif; }
.workshop-head p:last-child { margin:5px 0 0; color:var(--zl-muted); font-size:.82rem; }
.workshop-actions { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.workshop-button { border:1px solid rgba(15,61,118,.2); border-radius:4px; padding:9px 15px; background:#fff; color:var(--zl-navy); cursor:pointer; }
.workshop-button.primary { border-color:var(--zl-navy); background:var(--zl-navy); color:#fff; }
.workshop-button.primary kbd { border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.1); }
.workshop-button.danger { border-color:rgba(151,48,48,.35); color:#8e2e2e; }
.workshop-button:disabled { cursor:wait; opacity:.55; }
.workshop-status { min-height:28px; max-width:1260px; margin:0 auto; color:var(--zl-muted); font-size:.8rem; }
.workshop-status[data-kind="success"] { color:#27633c; }
.workshop-status[data-kind="error"] { color:#9a2929; font-weight:600; }
.workshop-tabs { position:sticky; z-index:20; top:0; display:flex; gap:4px; max-width:1260px; margin:0 auto 24px; padding:9px 0; background:rgba(251,250,247,.96); backdrop-filter:blur(8px); }
.workshop-tabs button { border:0; border-bottom:2px solid transparent; background:transparent; padding:8px 13px; color:var(--zl-muted); cursor:pointer; }
.workshop-tabs button.active { border-bottom-color:var(--zl-gold); color:var(--zl-navy); }
.workshop-form { max-width:1260px; margin:0 auto; }
.workshop-panel { display:grid; gap:28px; }
.workshop-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 22px; }
.workshop-grid.one-column { grid-template-columns:1fr; }
.workshop-field,.workshop-list-row label,.workshop-file { display:grid; align-content:start; gap:5px; }
.workshop-field>span,.workshop-list-row label>span,.workshop-file>span { color:var(--zl-navy); font-size:.72rem; font-weight:600; }
.workshop-field small { color:var(--zl-muted); font-size:.68rem; }
.workshop input,.workshop textarea,.workshop select { width:100%; min-width:0; border:1px solid rgba(15,61,118,.18); border-radius:3px; background:rgba(255,255,255,.82); color:var(--zl-ink); padding:9px 10px; outline:none; }
.workshop textarea { resize:vertical; line-height:1.48; }
.workshop input:focus,.workshop textarea:focus,.workshop select:focus { border-color:var(--zl-gold); box-shadow:0 0 0 2px rgba(197,179,124,.15); }
.workshop input[readonly] { background:rgba(15,61,118,.035); color:var(--zl-muted); }
.workshop-confirm { display:flex; align-items:flex-start; gap:9px; padding:13px; border-left:3px solid var(--zl-gold); background:rgba(197,179,124,.1); color:var(--zl-navy); font-size:.78rem; }
.workshop-confirm input { width:auto; margin-top:5px; }
.workshop-list,.workshop-image { padding:22px; border:1px solid rgba(15,61,118,.11); background:rgba(255,255,255,.45); }
.workshop-list-head { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:15px; }
.workshop-list h3,.workshop-image h3 { margin:0; color:var(--zl-navy); font:500 1.18rem/1.3 Georgia,serif; }
.workshop-list-head button { border:0; background:transparent; color:var(--zl-navy); font-size:.72rem; cursor:pointer; }
.workshop-list-row { position:relative; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px 18px; padding:18px 40px 18px 0; border-top:1px solid rgba(15,61,118,.09); }
.workshop-list-row:first-child { border-top:0; padding-top:0; }
.workshop-list-row label:has(textarea) { grid-column:1/-1; }
.workshop-remove { position:absolute; top:16px; right:0; width:28px; height:28px; border:0; border-radius:50%; background:transparent; color:var(--zl-muted); font-size:1.15rem; cursor:pointer; }
.workshop-remove:hover { background:rgba(151,48,48,.08); color:#8e2e2e; }
.workshop-current-file { margin:7px 0 15px; color:var(--zl-muted); font-size:.75rem; }
.workshop-file { margin-bottom:18px; }
.workshop-file input { padding:7px; }
.workshop-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; max-width:1260px; margin:36px auto 0; padding-top:20px; border-top:1px solid rgba(15,61,118,.12); color:var(--zl-muted); font-size:.72rem; }

@media (max-width:760px) {
  .workshop-head { display:grid; align-items:start; }
  .workshop-actions { justify-content:flex-start; }
  .workshop-tabs { overflow-x:auto; }
  .workshop-grid,.workshop-list-row { grid-template-columns:1fr; }
  .workshop-list-row label:has(textarea) { grid-column:auto; }
  .workshop-footer { align-items:flex-start; flex-direction:column; }
}
