/* ============================================================
   ZUNFT-ARCHIV — Höllenzunft Kirchzarten e.V.
   Swiss-Dark-Grid · Archivo (var, wdth 62–125) + IBM Plex Mono
   ============================================================ */

:root {
  --bg:        #0e0e10;
  --panel:     #17181b;
  --panel-2:   #1c1d21;
  --line:      rgba(255, 255, 255, .12);
  --line-soft: rgba(255, 255, 255, .07);
  --red:       #d92323;
  --red-dark:  #a81616;
  --text:      #e8e8e6;
  --muted:     #9a9a98;
  --faint:     #6a6a68;
  --gold:      #c9a227;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --header-h: 58px;
  --gutter: clamp(16px, 2.5vw, 32px);
  --maxw: 1520px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Utilities ---------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nr { color: var(--red); }

.display {
  font-family: var(--font);
  font-stretch: 118%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.015em;
  line-height: .95;
}

/* generic image treatment */
figure img, .img-treat {
  filter: saturate(.85) brightness(.9);
  transition: filter .35s ease, outline-color .2s ease;
}
a:hover img.img-treat,
figure:hover img.img-treat,
.img-hover:hover img {
  filter: saturate(1) brightness(1);
}

/* fade-in on load / scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   HEADER — fixed slim bar
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(14, 14, 16, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--maxw);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img {
  height: 38px;
  width: auto;
  border: 1px solid var(--line);
}
.brand-name {
  font-stretch: 112%;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-name small {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--muted);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.site-nav a::before {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::before { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::before { transform: scaleX(1); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  top: 10px; right: 4px;
  width: 5px; height: 5px;
  background: var(--red);
}

/* hamburger */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform .25s ease, top .25s ease, opacity .2s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after  { left: 0; top:  6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* mobile nav drawer */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  body.nav-open .site-nav { max-height: 480px; }
  .site-nav ul { display: block; padding: 8px var(--gutter) 24px; }
  .site-nav li { border-bottom: 1px solid var(--line-soft); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a {
    padding: 16px 0;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .site-nav a::before { display: none; }
  .site-nav a[aria-current="page"]::after { position: static; }
}

/* ============================================================
   PAGE STRUCTURE
   ============================================================ */
main { padding-top: var(--header-h); }

/* page head (interior pages) */
.page-head {
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 8vw, 110px) 0 clamp(32px, 5vw, 56px);
}
.page-head .crumbs {
  color: var(--faint);
  margin-bottom: 24px;
}
.page-head h1 {
  font-stretch: 118%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.015em;
  line-height: .95;
  font-size: clamp(30px, 7.5vw, 104px);
  overflow-wrap: break-word;
  hyphens: auto;
}
.page-head .page-sub {
  margin-top: 20px;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
}

/* section scaffold — numbered sections with hairline */
.section { border-bottom: 1px solid var(--line); }
.section-pad { padding: clamp(40px, 6vw, 84px) 0; }

.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.sec-head h2 {
  font-stretch: 115%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1;
}
.sec-head .sec-meta { text-align: right; color: var(--faint); }

@media (max-width: 640px) {
  .sec-head { grid-template-columns: 1fr; gap: 8px; }
  .sec-head .sec-meta { text-align: left; }
}

/* 12-col grid helper */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }

/* ============================================================
   HERO (index)
   ============================================================ */
.hero {
  border-bottom: 1px solid var(--line);
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: stretch;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(240px, 4fr) 8fr;
  flex: 1;
}
.hero-wappen {
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px);
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 100% 25%,
    var(--panel);
}
.hero-wappen img {
  width: min(100%, 340px);
  border: 1px solid var(--line);
  outline: 1px solid var(--line-soft);
  outline-offset: 8px;
}
.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(40px, 5vw, 72px);
}
.hero-eyebrow { margin-bottom: clamp(20px, 3vw, 40px); color: var(--muted); }
.hero-eyebrow .label { display: inline-block; margin-right: 24px; }
.hero-title {
  font-stretch: 122%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .9;
  font-size: clamp(48px, 9.5vw, 150px);
}
.hero-title .red { color: var(--red); }
.hero-sub {
  margin-top: clamp(24px, 3.5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.hero-sub p { color: var(--muted); max-width: 520px; font-size: 15px; }
.hero-sub .mono { color: var(--red); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-wappen { border-right: 0; border-bottom: 1px solid var(--line); padding: 40px; }
  .hero-wappen img { width: min(64%, 240px); }
}

/* ============================================================
   EVENTS — table / index rows
   ============================================================ */
.ev-table { border-top: 1px solid var(--line); }
.ev-row {
  display: grid;
  grid-template-columns: 150px 110px 1fr 130px 200px;
  gap: 0 var(--gutter);
  align-items: baseline;
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  transition: background .18s ease, color .18s ease;
}
.ev-row > * { min-width: 0; }
.ev-date  { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.ev-day   { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ev-name  { font-weight: 600; font-size: clamp(15px, 1.5vw, 19px); }
.ev-name small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.ev-time  { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.ev-place { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); text-align: right; }

.ev-row:hover {
  background: var(--red);
  color: #fff;
}
.ev-row:hover .ev-day,
.ev-row:hover .ev-time,
.ev-row:hover .ev-place,
.ev-row:hover .ev-name small { color: rgba(255,255,255,.75); }

.ev-head-row {
  display: grid;
  grid-template-columns: 150px 110px 1fr 130px 200px;
  gap: 0 var(--gutter);
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid var(--line);
}
.ev-head-row span:last-child { text-align: right; }

@media (max-width: 880px) {
  .ev-head-row { display: none; }
  .ev-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "date time"
      "day  time"
      "name name"
      "place place";
    row-gap: 4px;
  }
  .ev-date { grid-area: date; }
  .ev-day  { grid-area: day; }
  .ev-name { grid-area: name; margin-top: 6px; }
  .ev-time { grid-area: time; text-align: right; font-size: 13px; }
  .ev-place { grid-area: place; text-align: left; }
}

/* teaser events (compact, index) */
.ev-teaser .ev-row { grid-template-columns: 130px 100px 1fr 120px; }
.ev-teaser .ev-place { display: none; }

/* ============================================================
   NESTER — index cards + sections
   ============================================================ */
.nest-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.nest-card {
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(20px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 240px;
  transition: background .2s ease;
}
.nest-card:hover { background: var(--panel); }
.nest-card .nest-nr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--red);
}
.nest-card .nest-img {
  flex: 1;
  display: flex;
  align-items: center;
}
.nest-card .nest-img img {
  max-height: 120px;
  width: auto;
  max-width: 100%;
  filter: saturate(.85) brightness(.9);
}
.nest-card .nest-img img.pad-light {
  background: #f2f0ea;
  padding: 10px;
}
.nest-card h3 {
  font-stretch: 112%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(15px, 1.5vw, 19px);
  letter-spacing: .01em;
}
.nest-card .since {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.nest-card::after {
  content: "→";
  position: absolute;
  top: clamp(20px, 2.5vw, 32px);
  right: clamp(20px, 2.5vw, 32px);
  font-family: var(--mono);
  color: var(--faint);
  transition: color .2s, transform .2s;
}
.nest-card:hover::after { color: var(--red); transform: translateX(4px); }
.nest-card:hover h3 { color: var(--red); }

@media (max-width: 980px) { .nest-index { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nest-index { grid-template-columns: 1fr; } }

/* nest detail section */
.nest-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--gutter);
}
.nest-facts {
  border: 1px solid var(--line);
  background: var(--panel);
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.nest-facts .fact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.nest-facts .fact:last-child { border-bottom: 0; }
.nest-facts .fact dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}
.nest-facts .fact dd { font-size: 14px; }
.nest-facts .fact dd a { color: var(--red); }
.nest-facts .fact dd a:hover { text-decoration: underline; }
.nest-body h3 {
  font-stretch: 115%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.05;
  margin-bottom: 20px;
}
.nest-body p { color: var(--muted); max-width: 72ch; margin-bottom: 16px; }
.nest-body p strong { color: var(--text); font-weight: 600; }
.nest-media {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--gutter);
}
.nest-media figure { border: 1px solid var(--line); overflow: hidden; }
.nest-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.nest-media img.logo-fit { object-fit: contain; background: #f2f0ea; padding: 12px; }
.nest-media figcaption {
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  border-top: 1px solid var(--line);
}

.sub-topics { margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.sub-topic { border-bottom: 1px solid var(--line-soft); }
.sub-topic summary {
  list-style: none;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: baseline;
  gap: var(--gutter);
  padding: 18px 4px;
  cursor: pointer;
  transition: color .2s;
}
.sub-topic summary::-webkit-details-marker { display: none; }
.sub-topic summary .st-nr { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: .14em; }
.sub-topic summary .st-title {
  font-stretch: 112%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(16px, 2vw, 22px);
}
.sub-topic summary .st-icon {
  font-family: var(--mono);
  color: var(--faint);
  display: inline-block;
  transition: transform .25s ease, color .2s;
}
.sub-topic[open] summary .st-icon { color: var(--red); transform: rotate(45deg); }
.sub-topic summary:hover .st-title { color: var(--red); }
.sub-topic .st-body {
  padding: 4px 4px 28px calc(64px + var(--gutter));
  color: var(--muted);
  max-width: 72ch;
}
.sub-topic .st-body p { margin-bottom: 14px; }
.sub-topic .st-body .dialect { font-style: italic; color: #b8b8b4; }
.sub-topic .st-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gutter);
  margin-top: 18px;
}
.sub-topic .st-media img { border: 1px solid var(--line); width: 100%; }

@media (max-width: 860px) {
  .nest-detail { grid-template-columns: 1fr; }
  .nest-facts { position: static; }
  .sub-topic .st-body { padding-left: 4px; }
  .sub-topic summary { grid-template-columns: 40px 1fr auto; }
}

/* ============================================================
   CHRONIK (geschichte)
   ============================================================ */
.chronik { border-top: 1px solid var(--line); }
.chronik-entry {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--gutter);
  padding: clamp(24px, 3.5vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.chronik-year {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--text);
}
.chronik-entry:nth-child(odd) .chronik-year { color: var(--red); }
.chronik-text { max-width: 78ch; color: var(--muted); }
.chronik-text strong { color: var(--text); font-weight: 600; }
.chronik-text .kicker {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}

@media (max-width: 720px) {
  .chronik-entry { grid-template-columns: 1fr; gap: 10px; }
}

/* photo grid (archiv thumbs, lightbox) */
.archiv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.archiv-grid figure {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.archiv-grid .ph {
  display: block;
  width: 100%;
  cursor: zoom-in;
}
.archiv-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.archiv-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: linear-gradient(transparent, rgba(14,14,16,.9));
  opacity: 0;
  transition: opacity .25s;
}
.archiv-grid figure:hover figcaption { opacity: 1; }
.archiv-grid figure:hover img { outline: 2px solid var(--red); outline-offset: -2px; filter: saturate(1) brightness(1); }
.archiv-grid .fig-nr {
  position: absolute;
  top: 8px; left: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--red);
  background: rgba(14,14,16,.8);
  padding: 2px 6px;
}

/* uniform gallery (umzug) */
.gallery-uniform {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--gutter);
}
.gallery-uniform figure {
  border: 1px solid var(--line);
  overflow: hidden;
}
.gallery-uniform .ph { display: block; cursor: zoom-in; }
.gallery-uniform img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* ============================================================
   COUNTDOWN / DATE DISPLAY (umzug)
   ============================================================ */
.countdown-band {
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 6vw, 80px) 0;
}
.countdown-date {
  font-stretch: 122%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  font-size: clamp(42px, 9vw, 130px);
  line-height: .95;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .25em;
}
.countdown-date .d { color: var(--text); }
.countdown-date .t { color: var(--red); }
.countdown-meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.countdown-live {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.countdown-live .cell {
  padding: clamp(16px, 2.5vw, 28px);
  border-right: 1px solid var(--line);
  text-align: left;
}
.countdown-live .cell:last-child { border-right: 0; }
.countdown-live .num {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.countdown-live .unit {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}
@media (max-width: 640px) {
  .countdown-live { grid-template-columns: repeat(2, 1fr); }
  .countdown-live .cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .countdown-live .cell:nth-child(2) { border-right: 0; }
}

/* info blocks */
.info-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.info-block {
  padding: clamp(20px, 3vw, 36px);
  border-right: 1px solid var(--line);
}
.info-block:last-child { border-right: 0; }
.info-block .label { color: var(--red); display: block; margin-bottom: 14px; }
.info-block h3 {
  font-stretch: 112%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 17px;
  margin-bottom: 10px;
}
.info-block p { color: var(--muted); font-size: 14px; }
.info-block a { color: var(--red); }
.info-block a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .info-blocks { grid-template-columns: 1fr; }
  .info-block { border-right: 0; border-bottom: 1px solid var(--line); }
  .info-block:last-child { border-bottom: 0; }
}

/* ============================================================
   CARDS / PANELS / POSTERS
   ============================================================ */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gutter);
}
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  transition: border-color .2s;
}
.card:hover { border-color: var(--red); }
.card .card-media { overflow: hidden; border-bottom: 1px solid var(--line); }
.card .card-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card .card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .card-body h3 {
  font-stretch: 112%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.2;
}
.card .card-body p { color: var(--muted); font-size: 14px; }
.card .card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.poster-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  gap: var(--gutter);
}
.poster {
  border: 1px solid var(--line);
}
.poster img { width: 100%; }
.poster figcaption {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.poster:hover { border-color: var(--red); }
.poster:hover img { filter: saturate(1) brightness(1); }

/* buttons / text links */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color .2s, color .2s, background .2s;
}
.btn:hover, .btn:focus-visible {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

.link-line {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.link-line:hover { color: var(--red); border-color: var(--red); }

/* ============================================================
   VORSTAND — amt rows
   ============================================================ */
.amt-table { border-top: 1px solid var(--line); }
.amt-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr auto;
  gap: var(--gutter);
  align-items: baseline;
  padding: 22px 12px;
  border-bottom: 1px solid var(--line);
  transition: background .18s;
}
.amt-row:hover { background: var(--panel); }
.amt-nr { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: .14em; }
.amt-title {
  font-stretch: 112%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(17px, 2.2vw, 24px);
}
.amt-name { font-size: clamp(15px, 1.6vw, 19px); color: var(--muted); }
.amt-mail {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--faint);
}
.amt-mail:hover { color: var(--red); }
@media (max-width: 720px) {
  .amt-row { grid-template-columns: 40px 1fr; grid-template-areas: "nr title" "nr name" "nr mail"; row-gap: 4px; }
  .amt-nr { grid-area: nr; }
  .amt-title { grid-area: title; }
  .amt-name { grid-area: name; }
  .amt-mail { grid-area: mail; }
}

/* ============================================================
   PROSE (impressum / datenschutz)
   ============================================================ */
.prose-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: calc(var(--gutter) * 2);
}
.prose-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.prose-side .label { display: block; margin-bottom: 16px; }
.prose-side nav a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.prose-side nav a:hover { color: var(--red); }
.prose { max-width: 76ch; }
.prose h2 {
  font-stretch: 112%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(18px, 2vw, 24px);
  margin: 40px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 {
  font-stretch: 108%;
  font-weight: 600;
  font-size: 16px;
  margin: 26px 0 10px;
}
.prose p { color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.prose p strong, .prose address strong { color: var(--text); }
.prose address { font-style: normal; color: var(--muted); margin-bottom: 14px; }
.prose ul.dash { margin: 0 0 14px; }
.prose ul.dash li {
  color: var(--muted);
  font-size: 15px;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.prose ul.dash li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red);
}
.prose a { color: var(--red); }
.prose a:hover { text-decoration: underline; }
.prose .doc-meta {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.prose .doc-meta .row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.prose .doc-meta .row:last-child { border-bottom: 0; }
.prose .doc-meta dt { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); align-self: center; }
.prose .doc-meta dd { color: var(--text); }

@media (max-width: 860px) {
  .prose-layout { grid-template-columns: 1fr; }
  .prose-side { position: static; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 3fr;
  gap: var(--gutter);
  padding: clamp(36px, 5vw, 64px) 0;
}
.footer-brand img { height: 52px; width: auto; border: 1px solid var(--line); margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 13px; max-width: 280px; }
.footer-col .label { display: block; margin-bottom: 16px; color: var(--faint); }
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--muted);
  transition: color .2s;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .legal a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-bottom .legal a:hover { color: var(--red); }
.social-links { display: flex; gap: 10px; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color .2s, color .2s, background .2s;
}
.social-links a:hover { border-color: var(--red); color: #fff; background: var(--red); }
.social-links svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 12, .96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 64px);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border: 1px solid var(--line);
  filter: none;
}
.lightbox .lb-caption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(16px, 4vw, 40px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.lightbox .lb-close {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px;
  border: 1px solid var(--line);
}
.lightbox .lb-close:hover { color: #fff; border-color: var(--red); background: var(--red); }
.lightbox .lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox .lb-nav:hover { color: #fff; border-color: var(--red); }
.lightbox .lb-prev { left: clamp(8px, 2vw, 24px); }
.lightbox .lb-next { right: clamp(8px, 2vw, 24px); }
@media (max-width: 640px) {
  .lightbox .lb-nav { display: none; }
}
