:root {
  --ink: #1a1a1a;
  --muted: #5c5650;
  --paper: #ffffff;
  --bg: #f2ede4;
  --accent: #b3121a;
  --accent-dark: #8f0e14;
  --line: #d8d0c0;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

/* Kopf */
.site-header {
  background: var(--paper);
  border-bottom: 3px solid var(--accent);
}
.brand {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 56px; height: auto; flex-shrink: 0; }
.brand-name {
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.3;
}
.brand-sub {
  display: block;
  font-size: 0.85rem;
  font-weight: normal;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}
.site-nav {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}
.site-nav a {
  padding: 0.5rem 0 0.6rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: bold;
}

/* Inhalt */
main {
  flex: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem 2.5rem;
}
h1 { font-size: 1.8rem; line-height: 1.25; margin: 0 0 0.5rem; }
h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.05rem; margin: 0 0 0.25rem; }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 0; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 1.25rem 1.5rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.card img.cover {
  display: block;
  width: calc(100% + 3rem);
  margin: -1.25rem -1.5rem 1rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.date {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.button {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.02em;
  border-radius: 3px;
}
.button:hover { background: var(--accent-dark); color: #fff; }
.button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.button.secondary:hover { background: var(--accent); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero img {
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 0;
  text-align: center;
}
.facts div { background: var(--paper); border: 1px solid var(--line); padding: 1rem; }
.facts strong { display: block; font-size: 1.8rem; color: var(--accent); }

.people { list-style: none; padding: 0; margin: 0; }
.people li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.people li:last-child { border-bottom: none; }
.people span { color: var(--muted); }

ol.agenda { padding-left: 1.4rem; margin: 0; }
ol.agenda li { margin: 0.25rem 0; }

/* PDF */
.viewer {
  width: 100%;
  aspect-ratio: 1 / 1.35;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.viewer iframe { width: 100%; height: 100%; border: none; }
.note { font-size: 0.9rem; color: var(--muted); }

/* Diashow */
.slideshow {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  touch-action: pan-y;
}
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.nav:hover { background: #fff; color: var(--accent); }
.nav.prev { left: 0.6rem; }
.nav.next { right: 0.6rem; }
.counter {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  padding: 0.2rem 0.55rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.8rem;
  border-radius: 3px;
  z-index: 2;
}
.caption { padding: 1rem 1.25rem 1.25rem; min-height: 8.5rem; }
.caption h2 { margin: 0 0 0.4rem; font-size: 1.1rem; color: var(--accent); }
.caption p { margin: 0; }
.dots { display: flex; justify-content: center; gap: 0.5rem; padding: 0 1rem 1rem; }
.dots button {
  width: 0.75rem;
  height: 0.75rem;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.dots button[aria-current="true"] { background: var(--accent); }

/* Fuß */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.site-footer div {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 700px) {
  h1 { font-size: 1.5rem; }
  .hero { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .brand img { width: 44px; }
  .brand-name { font-size: 0.9rem; }
  .stage { aspect-ratio: 4 / 3; }
  .nav { width: 2.25rem; height: 2.25rem; font-size: 1.3rem; }
}
