/* ============================================================
   Open-Hof — Landing Page Styles
   Redeploy-Trigger: 2026-07-07 (Veranstaltungs-Repeater)
   Page-specific layout on top of tokens.css + design system rules.
   ============================================================ */

/* General reset + body */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Sprungmarke: liegt ausserhalb des Sichtfelds und faehrt erst herunter, wenn
   sie den Fokus bekommt. Papier auf Gruen wie ein aufgeklebter Zettel, in der
   Mono-Hausstimme, kleingeschrieben wie alle Bedienelemente. */
.skip-link {
  position: fixed;
  top: 0;
  left: 24px;
  z-index: 100;
  transform: translateY(-120%);
  padding: 12px 20px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--cream-50);
  color: var(--green-800);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--t-small);
  letter-spacing: 0.14em;
  transition: transform 160ms var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
main:focus { outline: none; }

.shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   GREEN BANNER (top nav)
   ============================================================ */
.site-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green-600);
  color: var(--cream-50);
  border-bottom: 4px solid var(--green-800);
}
.site-banner-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 32px);
  letter-spacing: -0.02em;
  color: var(--cream-50);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.wordmark .dash { opacity: 0.7; }
.site-banner nav {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  color: var(--cream-50);
}
.site-banner nav a {
  position: relative;
  padding-bottom: 2px;
  opacity: 1;
  transition: color 120ms var(--ease), opacity 120ms var(--ease);
}
.site-banner nav a:hover { opacity: 1; color: var(--accent-2); }
.site-banner nav a.active {
  opacity: 1;
  color: var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
}

/* Mono "menü" toggle: type carries it, no hamburger icon. Hidden on desktop. */
.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--green-900);
  color: var(--cream-50);
  overflow: hidden;
  padding: 0 0 140px;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.55;
  filter: saturate(0.9) contrast(1.05);
}
/* Hero-Bild pro Edition (Constant Frame Rule: nur der Akzent/das Motiv wechselt) */
[data-edition="winter"] .hero-image { background-image: url('flyer-assets/image2.jpg'); }
[data-edition="sommer"] .hero-image { background-image: url('flyer-assets/sommer.jpg'); } /* 🔲 Asset folgt */
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,31,20,0.55) 0%, rgba(11,31,20,0.15) 40%, rgba(11,31,20,0.85) 100%);
}
.hero-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px 40px 0;
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: "";
  width: 28px; height: 1px; background: var(--accent-2);
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
  text-wrap: balance;
  color: var(--cream-50);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-2);
  font-weight: 300;
}
.hero-deck {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.4;
  max-width: 560px;
  color: var(--cream-100);
  margin: 0 0 40px;
  text-wrap: pretty;
}
.hero-meta {
  display: flex;
  gap: 48px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  border-top: 1px solid rgba(246,240,222,0.25);
  padding-top: 22px;
}
.hero-meta dt { color: var(--accent-2); margin-bottom: 4px; opacity: 0.8; }
.hero-meta dd { margin: 0; font-weight: 700; color: var(--cream-50); font-size: 14px; letter-spacing: 0.06em; }

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 32px;
  padding-top: 40px;
  position: relative;
}
.hero-stoerer {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.4vw, 14px);
  background: var(--accent);
  color: var(--cream-50);
  text-align: center;
  padding: 20px clamp(20px, 2.6vw, 34px) 18px;
  box-shadow: var(--shadow-sticker);
  transform: rotate(-5deg);
  border-radius: 4px;
  position: relative;
  margin-right: 20px;
  max-width: 100%;
}
.hero-stoerer::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.10) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,0.10) 0 1px, transparent 1px);
  background-size: 5px 5px, 7px 7px;
  pointer-events: none;
  mix-blend-mode: overlay;
  border-radius: inherit;
}
/* Flyer-style date stamp: both lines in the Plastique stamp font,
   date over time, like the printed Winter-Edition flyer. */
.hero-stoerer .stoerer-date {
  font-family: var(--font-display);
  font-size: clamp(21px, 4.4vw, 30px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
}
.hero-stoerer .stoerer-time {
  font-family: var(--font-display);
  font-size: clamp(23px, 4.9vw, 34px);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Countdown floated under hero */
.hero-countdown {
  position: relative;
  background: var(--cream-50);
  color: var(--ink-900);
  border-radius: 6px;
  padding: 28px 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
  margin: -80px 0 0;
  display: grid;
  grid-template-columns: auto repeat(4, 1fr) auto;
  gap: 24px;
  align-items: center;
  z-index: 3;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
.hero-countdown-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  line-height: 1.3;
  border-right: var(--rule);
  padding-right: 24px;
}
.hero-countdown-label strong {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--green-700);
  text-transform: none;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.hero-countdown-cell { text-align: center; }
.hero-countdown-cell .num {
  font-family: var(--font-display);
  font-size: clamp(38px, 8vw, 50px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  display: block;
  padding: 14px 0 22px;
}
.hero-countdown-cell .lab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 0;
  color: var(--ink-700);
}
.hero-countdown-cta {
  border-left: var(--rule);
  padding-left: 24px;
}

/* „Heute"-Zustand am Veranstaltungstag: Zahlen aus, ein großes „Heute!" über
   die vier Zähler-Spalten. JS toggelt .is-today auf .hero-countdown. */
.hero-countdown-today {
  display: none;
  grid-column: 2 / 6;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.hero-countdown.is-today .hero-countdown-cell { display: none; }
.hero-countdown.is-today .hero-countdown-today { display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 120ms var(--ease), background 120ms var(--ease);
  text-transform: lowercase;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--cream-50);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-secondary {
  background: transparent;
  color: var(--cream-50);
  border-color: var(--cream-50);
}
.btn-secondary:hover { background: var(--cream-50); color: var(--green-900); }
.btn-onlight-primary {
  background: var(--green-700);
  color: var(--cream-50);
  border-color: var(--green-700);
}
.btn-onlight-primary:hover { background: var(--green-800); border-color: var(--green-800); }
.btn-onlight-secondary {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-800);
}
.btn-onlight-secondary:hover { background: var(--green-800); color: var(--cream-50); }
.btn-ghost {
  background: transparent;
  color: inherit;
  padding-left: 8px; padding-right: 8px;
}
.btn-ghost:hover { color: var(--accent); }
.btn .arrow { font-size: 16px; transition: transform 120ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   SECTION BASE
   ============================================================ */
section.block {
  padding: 120px 0;
  border-bottom: var(--rule);
}
.block-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.block-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.block-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--ink-500);
}
.block-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.block-title em {
  font-style: italic;
  color: var(--green-700);
}
.block-lede {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0;
  max-width: 540px;
  text-wrap: pretty;
}

/* ============================================================
   MANIFESTO BLOCK
   ============================================================ */
.manifest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.manifest-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.manifest-num {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
  margin: 0;
  letter-spacing: -0.02em;
  padding: 8px 0;
}
.manifest-card h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}
.manifest-card p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0;
  text-wrap: pretty;
}

/* ============================================================
   PROGRAMM PREVIEW
   ============================================================ */
.programm {
  width: 100%;
  border-top: 1px solid var(--ink-900);
}
.programm-row {
  display: grid;
  grid-template-columns: 120px 1fr 240px 140px;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: var(--rule);
  align-items: baseline;
  transition: background 120ms var(--ease);
}
.programm-row:hover { background: rgba(0,0,0,0.025); }
.programm-time {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-900);
}
.programm-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-style: italic;
  line-height: 1.15;
  color: var(--ink-900);
  margin: 0;
  letter-spacing: -0.01em;
}
.programm-title small {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 6px;
  letter-spacing: 0.04em;
}
.programm-host {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ink-700);
}
.programm-where {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-700);
  text-align: right;
  letter-spacing: 0.04em;
}
.block-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}

/* ============================================================
   HÜTTEN GRID
   ============================================================ */
.hut-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.hut {
  border: var(--rule);
  border-radius: var(--r-md);
  background: var(--cream-50);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
  cursor: pointer;
}
.hut:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.hut-image {
  aspect-ratio: 5/3;
  background: var(--cream-200);
  position: relative;
  overflow: hidden;
}
.hut-image .pl {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-700);
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(26,19,12,0.05) 25%, transparent 25%) 0 0/16px 16px,
    linear-gradient(225deg, rgba(26,19,12,0.05) 25%, transparent 25%) 0 0/16px 16px,
    var(--cream-200);
}
.hut-image .pl span { background: var(--cream-50); padding: 6px 12px; border: 1px solid var(--ink-500); border-radius: var(--r-pill); }
.hut-image .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--cream-50);
  border: 1.5px solid currentColor;
}
.hut-image.illu-wachs   { background: linear-gradient(135deg, #2A1F1A 0%, #4A2F1F 100%); }
.hut-image.illu-tausch  { background: linear-gradient(135deg, #2C5B3F 0%, #4F7E5C 100%); }
.hut-image.illu-cello   { background: linear-gradient(135deg, #1A2E22 0%, #3A4D2E 100%); }
.hut-image.illu-suppe   { background: linear-gradient(135deg, #4B281A 0%, #8B4A2C 100%); }
.hut-image.illu-feuer   { background: linear-gradient(135deg, #2B0F08 0%, #6B2A1A 100%); }
.hut-image.illu-tee     { background: linear-gradient(135deg, #2E2222 0%, #5E4040 100%); }
.hut-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.hut-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.hut-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.05;
  margin: 0;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.hut-host {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ink-700);
}
.hut-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-700);
  padding: 4px 10px;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-pill);
  text-transform: lowercase;
}
.hut-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: var(--rule);
  padding-top: 12px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-700);
  letter-spacing: 0.04em;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1.5px solid currentColor;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-winter { color: var(--winter-red); }

/* SVG-illustrated hut placeholders */
.hut-illu {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ============================================================
   MITMACHEN BIG CTA
   ============================================================ */
.mitmachen {
  background: var(--green-700);
  color: var(--cream-50);
  border-radius: 6px;
  padding: 80px 80px 72px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.mitmachen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 110%, rgba(232,179,65,0.18) 0%, transparent 50%),
    radial-gradient(circle at 90% 0%, rgba(211,60,42,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.mitmachen > * { position: relative; z-index: 1; }
.mitmachen h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--cream-50);
  text-wrap: balance;
}
.mitmachen h2 .roman { font-style: normal; }
.mitmachen h2 .gold  { color: var(--accent-2); font-style: italic; }
.mitmachen p {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--cream-100);
  margin: 0 0 32px;
  max-width: 520px;
  text-wrap: pretty;
}
.mitmachen-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid rgba(246,240,222,0.25);
  padding-top: 24px;
}
.mitmachen-list li {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  column-gap: 20px;
  row-gap: 6px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(246,240,222,0.18);
  font-family: var(--font-serif);
  font-size: 18px;
}
.mitmachen-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.mitmachen-list .role {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  line-height: 1.35;
}
.mitmachen-list .body { color: var(--cream-100); line-height: 1.4; }
.mitmachen-list .body strong { color: var(--cream-50); font-style: italic; font-weight: 400; }
.mitmachen-list .arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-2);
  letter-spacing: 0.04em;
  display: inline-block;
  transition: transform 0.15s ease;
}
/* display:contents laesst den Link im Grid der li verschwinden — die drei Spans
   bleiben direkte Grid-Items, die ganze Zeile wird trotzdem klickbar. */
.mitmachen-link {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.mitmachen-list li:has(.mitmachen-link:hover) .body strong,
.mitmachen-list li:has(.mitmachen-link:focus-visible) .body strong {
  color: var(--accent-2);
}
.mitmachen-list li:has(.mitmachen-link:hover) .arrow,
.mitmachen-list li:has(.mitmachen-link:focus-visible) .arrow {
  transform: translateX(4px);
}
.mitmachen-list li:has(.mitmachen-link:focus-visible) {
  outline: 2px solid var(--accent-2);
  outline-offset: 6px;
}
.mitmachen-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   EDITIONEN SPLIT
   ============================================================ */
.editions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.edition-card {
  border: var(--rule);
  border-radius: 6px;
  background: var(--cream-50);
  padding: 48px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.edition-card.winter { background: var(--winter-night); color: var(--cream-50); border-color: var(--winter-night); }
.edition-card.sommer { background: linear-gradient(180deg, #FCF1D6 0%, #F8E2A4 100%); color: var(--ink-900); }
.edition-card .season-num {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 8px 0;
}
.edition-card.winter .season-num { color: var(--winter-gold); }
.edition-card.sommer .season-num { color: var(--summer-coral); }
.edition-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 40px;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}
.edition-card.winter h3 { color: var(--cream-50); }
.edition-card .when {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.edition-card.winter .when { color: var(--winter-gold); }
.edition-card.sommer .when { color: var(--summer-coral); }
.edition-card p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}
.edition-card.winter p { color: var(--winter-frost); }
.edition-card.sommer p { color: var(--ink-700); }
.edition-card .more {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.edition-card.winter .more { color: var(--winter-gold); }
.edition-card.sommer .more { color: var(--summer-coral); }

/* ============================================================
   STIMMEN — Quotes from the neighborhood
   ============================================================ */
.stimmen {
  background: var(--cream-100);
}
.stimmen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.stimme {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 28px;
  border-top: 2px solid var(--green-700);
}
.stimme .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  line-height: 1.25;
  color: var(--ink-900);
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.stimme .quote::before {
  content: "„";
  font-size: 40px;
  color: var(--accent);
  display: inline;
  line-height: 0;
  vertical-align: -10px;
  margin-right: 4px;
}
.stimme .who {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-700);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stimme .who strong {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--ink-900);
  letter-spacing: 0;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: var(--green-900);
  color: var(--cream-50);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 0;
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(232,179,65,0.08) 0 2px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(232,179,65,0.06) 0 2px, transparent 2px),
    radial-gradient(circle at 50% 50%, rgba(232,179,65,0.04) 0 1px, transparent 1px);
  background-size: 80px 80px, 120px 120px, 40px 40px;
  pointer-events: none;
}
.newsletter-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.newsletter h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--cream-50);
  text-wrap: balance;
}
.newsletter h2 .gold { color: var(--accent-2); }
.newsletter p {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--cream-100);
  margin: 0;
  max-width: 480px;
}
.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field-row {
  display: flex;
  gap: 14px;
  align-items: flex-end;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  text-transform: uppercase;
  flex: 1;
}
.field input {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--cream-50);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--cream-50);
  padding: 12px 4px;
  outline: none;
  transition: border-color 120ms var(--ease);
}
.field input::placeholder { color: rgba(246,240,222,0.5); font-style: italic; }
.field input:focus { border-color: var(--accent-2); }
.newsletter .small {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cream-100);
  opacity: 0.7;
  margin-top: 4px;
}
/* ===== Newsletter-Bestätigt-Seite (/newsletter-bestaetigt) ===== */
.confirm {
  background: var(--green-900);
  color: var(--cream-50);
  min-height: 68vh;
  display: flex;
  align-items: center;
  padding: 96px 0;
}
.confirm-inner { max-width: 640px; }
.confirm-title {
  font-family: var(--font-serif);
  font-size: var(--t-h1);
  line-height: 1.05;
  color: var(--cream-50);
  margin: 14px 0 22px;
}
.confirm-accent { color: var(--accent-2); }
.confirm-text {
  font-family: var(--font-serif);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--cream-100);
  margin: 0 0 32px;
  max-width: 52ch;
}

/* Honeypot – visuell entfernt, aber für Bots im DOM (display:none würde manche überspringen lassen). */
.nl-hp {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* DSGVO-Einwilligung */
.field-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--cream-100);
  opacity: 0.85;
}
.field-consent input[type="checkbox"] {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--accent-2);
}
.field-consent a { color: var(--accent-2); text-decoration: underline; }
/* Statusmeldung im Fehlerfall */
.newsletter .small.is-error {
  color: var(--accent-2);
  opacity: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-foot {
  background: var(--green-950);
  color: var(--cream-50);
  padding: 80px 0 36px;
  border-top: 4px solid var(--green-700);
}
/* Drei Spalten: Marke (breit, mit Mail- und Newsletter-Pille), Mitmacher:innen,
   Fotoarchiv. Die Kontaktspalte ist entfallen — sie wiederholte nur die Mail
   aus dem Markenblock. Die Listenspalten sitzen rechtsbuendig am Raster, damit
   die drei Bloecke die Breite tragen statt links zu klumpen. */
.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 56px 64px;
}
.foot-brand .brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}
.foot-brand .brand .sub {
  font-size: 14px;
  font-weight: 400;
  color: var(--accent-2);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.foot-brand p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--cream-100);
  margin: 0 0 24px;
  max-width: 320px;
  text-wrap: pretty;
}
.foot-brand .sm {
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.foot-brand .sm a {
  padding: 8px 14px;
  border: 1px solid var(--accent-2);
  border-radius: var(--r-pill);
  color: var(--accent-2);
  transition: all 120ms var(--ease);
}
.foot-brand .sm a:hover { background: var(--accent-2); color: var(--green-950); }
.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 16px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li {
  font-family: var(--font-serif);
  font-size: 17px;
  padding: 5px 0;
  color: var(--cream-100);
}
.foot-col li a:hover { color: var(--accent-2); }
/* Jahreszahlen sind kurz: zweispaltig gesetzt fuellen sie ihre Rasterspalte,
   statt als duenne Saeule mit Totraum daneben zu stehen. */
.foot-col--archiv ul {
  columns: 2;
  column-gap: 32px;
}
.foot-col--archiv .foot-more {
  font-family: var(--font-serif);
  font-size: 17px;
  margin: 14px 0 0;
  color: var(--cream-100);
}
.foot-col--archiv .foot-more a:hover { color: var(--accent-2); }
.foot-legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(246,240,222,0.18);
  margin-top: 56px;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(246,240,222,0.72);
  display: flex;
  justify-content: space-between;
}
.foot-legal a:hover { color: var(--accent-2); }

/* ============================================================
   ANGEBOT — was euch erwartet
   ============================================================ */
.angebot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.angebot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 26px;
  border-top: 2px solid var(--accent);
}
.angebot .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.angebot h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink-900);
  text-wrap: balance;
}
.angebot p {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-700);
  margin: 0;
  text-wrap: pretty;
}
.angebot-note {
  margin-top: 48px;
  border-top: var(--rule);
  padding-top: 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-700);
  display: flex;
  align-items: baseline;
  gap: 14px;
  max-width: 64ch;
  text-wrap: pretty;
}
.angebot-note .tag-anders {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  white-space: nowrap;
}

/* ============================================================
   IMPRESSIONEN — Foto-Archiv
   ============================================================ */
.archiv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.jahr {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  border: var(--rule);
  text-decoration: none;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.jahr:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.jahr::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--jahr-bg, linear-gradient(135deg, #1A2E22 0%, #3A4D2E 100%));
  z-index: 0;
}
.jahr::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,31,20,0) 40%, rgba(11,31,20,0.78) 100%);
  z-index: 1;
}
.jahr .jahr-inner {
  position: relative;
  z-index: 2;
  padding: 22px 24px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: var(--cream-50);
}
.jahr .jahr-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.jahr .jahr-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
}
.jahr.next {
  background: var(--cream-100);
  border-style: dashed;
  border-color: var(--ink-300);
  align-items: center;
  justify-content: center;
}
.jahr.next::before, .jahr.next::after { display: none; }
/* Die „folgen bald"-Kachel ist bewusst kein Link — also auch kein Hover-Anheben,
   das Klickbarkeit verspraeche. */
.jahr.next:hover { transform: none; box-shadow: none; }
.jahr.next .next-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
}
.jahr.next .next-inner .lab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  display: block;
  margin-bottom: 8px;
}
.jahr.next .next-inner .big {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--green-700);
  line-height: 1.1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  /* Keep context + CTA: label stacks on top, cells in a row, CTA below */
  .hero-countdown { grid-template-columns: repeat(4, 1fr); gap: 18px 16px; }
  .hero-countdown-today { grid-column: 1 / -1; }
  .hero-countdown-label {
    grid-column: 1 / -1;
    border-right: 0;
    padding-right: 0;
    padding-bottom: 14px;
    border-bottom: var(--rule);
    text-align: center;
  }
  .hero-countdown-cta {
    grid-column: 1 / -1;
    border-left: 0;
    padding-left: 0;
    padding-top: 16px;
    border-top: var(--rule);
    text-align: center;
  }
}
@media (max-width: 880px) {
  .angebot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .angebot-grid { grid-template-columns: 1fr; }
  /* Mitmachen-Liste: Label auf eigene Zeile, damit es in der engen Spalte nicht zerquetscht wird */
  .mitmachen-list li { grid-template-columns: 1fr auto; }
  .mitmachen-list .role { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .shell { padding: 0 24px; }
  .site-banner-inner { padding: 14px 24px; gap: 12px 16px; flex-wrap: wrap; align-items: center; }

  /* The typographic toggle */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    min-height: 40px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(246, 240, 222, 0.35);
    border-radius: var(--r-pill);
    color: var(--cream-50);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    cursor: pointer;
    transition: border-color 120ms var(--ease), color 120ms var(--ease);
  }
  .nav-toggle:hover,
  .nav-toggle:focus-visible { border-color: var(--accent-2); color: var(--accent-2); }
  .nav-toggle-mark { position: relative; width: 16px; height: 9px; flex: none; }
  .nav-toggle-mark::before,
  .nav-toggle-mark::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    transition: transform 180ms var(--ease);
  }
  .nav-toggle-mark::before { top: 0; }
  .nav-toggle-mark::after { bottom: 0; }

  /* Nav collapses into a full-width dropdown of thumb-sized rows */
  .site-banner nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    margin: 6px -24px 0;
    padding: 2px 24px 6px;
    border-top: 1px solid rgba(246, 240, 222, 0.18);
  }
  .site-banner[data-nav-open="true"] nav {
    display: flex;
    animation: navIn 200ms var(--ease) both;
  }
  .site-banner nav a {
    padding: 15px 2px;
    font-size: 16px;
    opacity: 1;
    border-bottom: 1px solid rgba(246, 240, 222, 0.16);
  }
  .site-banner nav a:last-child { border-bottom: 0; }
  /* In the column the active row reads through colour, not an underline */
  .site-banner nav a.active { border-bottom: 1px solid rgba(246, 240, 222, 0.16); }

  /* Two bars cross into an × when open */
  .site-banner[data-nav-open="true"] .nav-toggle-mark::before { transform: translateY(3.5px) rotate(45deg); }
  .site-banner[data-nav-open="true"] .nav-toggle-mark::after { transform: translateY(-3.5px) rotate(-45deg); }
  .hero-inner { grid-template-columns: 1fr; padding: 80px 24px 0; min-height: auto; }
  .hero-side { align-items: flex-start; padding-top: 0; }
  .hero-stoerer { margin-right: 0; }
  .hero-countdown { margin: -40px 24px 0; padding: 24px 22px; grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  section.block { padding: 72px 0; }
  .block-head { grid-template-columns: 1fr; gap: 24px; }
  .manifest-grid { grid-template-columns: 1fr; gap: 36px; }
  .programm-row { grid-template-columns: 80px 1fr; gap: 12px; }
  .programm-host, .programm-where { grid-column: 2; }
  .programm-where { text-align: left; }
  .hut-grid { grid-template-columns: 1fr; }
  .archiv-grid { grid-template-columns: 1fr; }
  .angebot-note { flex-direction: column; gap: 10px; }
  .mitmachen { padding: 48px 28px; grid-template-columns: 1fr; gap: 32px; }
  .editions { grid-template-columns: 1fr; }
  .stimmen-grid { grid-template-columns: 1fr; gap: 28px; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
  .field-row { flex-direction: column; align-items: stretch; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-col--archiv ul { columns: 1; }  /* schmale Spalte: Jahre wieder untereinander */
  .foot-legal { flex-direction: column; gap: 8px; }
}

/* ============================================================
   GALERIE / IMPRESSIONEN — Stufe 2
   ============================================================ */

/* Längere Editions-Labels statt 4-stelliger Jahreszahl auf der Kachel */
.archiv-grid .jahr .jahr-num {
  font-size: clamp(24px, 3.4vw, 44px);
}

/* Galerie-Seite: Kopf-Zusätze */
/* Editorial-Masthead: Titel-Spalte und Intro oben bündig statt unten verankert,
   sonst hängt der kurze Jahres-Titel unter einem langen Lauftext in der Luft. */
.gallery-head {
  align-items: start;
  margin-bottom: 64px;
}
.gallery-head .block-lede {
  padding-top: 4px;
}
.gallery-date {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-500);
  margin-top: 18px;
}
/* Navigation als Breadcrumb über dem Masthead, nicht im Fließtext */
.gallery-back {
  display: inline-block;
  margin-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
  text-decoration: none;
}
.gallery-back:hover,
.gallery-back:focus-visible { text-decoration: underline; }

/* Foto-Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.gallery-item {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  border: var(--rule);
  background: var(--cream-100);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 200ms var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}
.gallery-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gallery-cap {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ink-500);
}

/* Recap-Video (oben in der Galerie, sobald hochgeladen) */
.gallery-video {
  margin: 8px 0 32px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: var(--rule);
  background: #000;
}
.gallery-video video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
}

.gallery-empty {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-500);
  padding: 40px 0;
}

/* Infos & Downloads */
.gallery-infos {
  margin-top: 48px;
  padding-top: 32px;
  border-top: var(--rule);
  display: grid;
  gap: 20px;
  max-width: 70ch;
}
.gallery-text { font-family: var(--font-serif); line-height: 1.6; }
.gallery-links,
.gallery-docs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.gallery-links a,
.gallery-docs a {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-strong);
  text-decoration: none;
}
.gallery-docs a::before { content: "↓ "; }
.gallery-links a:hover,
.gallery-docs a:hover,
.gallery-links a:focus-visible,
.gallery-docs a:focus-visible { text-decoration: underline; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 31, 20, 0.92);
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox .lb-figure { margin: 0; }
.lightbox .lb-img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--r-md);
  animation: lb-fade 200ms var(--ease);
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox .lb-caption {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--cream-50);
}
.lightbox .lb-caption[hidden] { display: none; }
.lightbox button {
  position: absolute;
  background: rgba(0, 0, 0, 0.45);
  color: var(--cream-50);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .lightbox .lb-img { animation: none; }
  .gallery-item img { transition: none; }
  .site-banner[data-nav-open="true"] nav { animation: none; }
  .nav-toggle-mark::before,
  .nav-toggle-mark::after { transition: none; }
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   LIVE-MODUS — Karte (Leaflet/OSM) + zeit-bewusstes Programm
   Akzente kommen aus den Edition-Tokens (--accent*); Kategorie-Pin-
   Farben sind bewusst feste Hues (semantisch, kein Edition-Akzent).
   ============================================================ */
.live {
  padding: 72px 0;
  background: var(--cream-100);
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.live--live { background: var(--cream-50); }

.live-toggle {
  display: none;                      /* nur mobil sichtbar */
  gap: var(--space-2);
  margin: var(--space-5) 0 var(--space-4);
}
.live-tab {
  flex: 1 1 0;
  font-family: var(--font-mono);
  font-size: var(--t-small);
  letter-spacing: 0.04em;
  padding: 12px 10px;
  border: var(--rule-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-900);
  cursor: pointer;
  transition: background 120ms var(--ease), color 120ms var(--ease);
}
.live-tab.is-active { background: var(--accent); color: var(--cream-50); border-color: var(--accent); }

.live-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-6);
  align-items: start;
}

.live-pane--map { position: relative; }

.live-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.live-chip {
  font-family: var(--font-mono);
  font-size: var(--t-tiny);
  letter-spacing: 0.03em;
  padding: 6px 11px 6px 24px;
  position: relative;
  border: var(--rule);
  border-radius: var(--r-pill);
  background: var(--cream-50);
  color: var(--ink-500);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 120ms var(--ease);
}
.live-chip::before {
  content: '';
  position: absolute; left: 9px; top: 50%;
  width: 9px; height: 9px; margin-top: -4.5px;
  border-radius: 50%;
  background: var(--chip, #555);
}
.live-chip.is-on { opacity: 1; color: var(--ink-900); border-color: var(--ink-300); }

.live-map {
  height: 480px;
  border-radius: var(--r-xl);
  border: var(--rule-strong);
  overflow: hidden;
  z-index: 0;                         /* Leaflet-Panes unter dem Banner halten */
}
.live-locate {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 500;
  font-family: var(--font-mono);
  font-size: var(--t-small);
  padding: 9px 14px;
  border: var(--rule-strong);
  border-radius: var(--r-pill);
  background: var(--cream-50);
  color: var(--ink-900);
  cursor: pointer;
  box-shadow: var(--shadow-card);
}
.live-locate:disabled { opacity: 0.6; cursor: default; }

/* Programm-Liste */
.live-program {
  /* Eine Quelle fuer die Breite der Zeitspalte: der Button erbt keine Schriftgroesse
     (UA-Default), das Detail-Div schon — in `em` gerechnet liefen beide auseinander
     und das Detail haette nicht unter dem Titel gehangen. `rem` haelt sie bündig. */
  --live-time-col: 6.2rem;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}
.live-empty {
  font-family: var(--font-serif);
  color: var(--ink-500);
  font-style: italic;
}
/* Klebt beim Scrollen oben an: bei vielen Punkten bleibt sichtbar,
   ob man gerade in „jetzt", „gleich" oder „spaeter" liest. */
.live-prog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: var(--t-tiny);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  background: var(--cream-100);
  margin: var(--space-5) 0 0;
  padding: 6px 10px;
  border-bottom: var(--rule);
}
/* Der klebende Kopf muss den Untergrund seines Abschnitts treffen,
   sonst schiebt er beim Scrollen einen falschen Papierton mit. */
.live--live .live-prog-head { background: var(--cream-50); }
.live-prog-head--now { color: var(--accent); }
.live-prog-head:first-child { margin-top: 0; }

/* Der Programm-Zeilenplan liest sich als gesetzter Fahrplan, nicht als Kartenstapel:
   flaches Papier, Haarlinien zwischen den Zeilen, Zeitspalte in Mono mit
   Tabellenziffern (untereinander bündig). Der Rahmen ist dem laufenden Punkt
   vorbehalten — er ist der einzige „gestempelte" Eintrag (Rubber-Stamp-Regel). */
.live-prog-item {
  display: grid;
  grid-template-columns: var(--live-time-col) 1fr auto;
  gap: var(--space-3);
  width: 100%;
  min-height: 48px;              /* Daumengroesse — auch fuer aeltere Nachbarn */
  text-align: left;
  align-items: baseline;
  padding: 12px 10px;
  border: 1px solid transparent; /* haelt das Kaestchen frei, damit is-now nicht springt */
  border-radius: var(--r-lg);
  background: transparent;
  color: var(--ink-900);
  cursor: pointer;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease);
}
.live-prog-item:hover { background: rgba(26,19,12,0.035); }
.live-prog-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.live-prog-time {
  font-family: var(--font-mono);
  font-size: var(--t-small);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink-700);
}
.live-prog-text {
  font-family: var(--font-serif);
  font-size: var(--t-body);
  line-height: 1.3;
}

/* „Jetzt": der einzige gerahmte Eintrag. Voller Rahmen statt Seitenstreifen.
   Der Tint ist warmes Ink statt eines Cremetons — traegt auf beiden
   Papiertoenen (Vorschau cream-100, Live cream-50). */
.live-prog-item.is-now {
  border-color: var(--accent);
  background: rgba(26,19,12,0.03);
}
.live-prog-item.is-now .live-prog-time { color: var(--accent); font-weight: 700; }
.live-prog-item.is-now .live-prog-text { font-weight: 500; }
/* „Gleich": nur die Zeit traegt den Akzent, kein Rahmen — der Akzent bleibt selten. */
.live-prog-item.is-soon .live-prog-time { color: var(--ink-900); font-weight: 700; }
/* „Vorbei": zurueckgenommen ueber Farbe, nicht ueber Deckkraft (haelt den Kontrast). */
.live-prog-item.is-past .live-prog-time,
.live-prog-item.is-past .live-prog-text,
.live-prog-item.is-past .live-prog-cost { color: var(--ink-500); }

/* Zeilen durch Haarlinien getrennt statt jede Zeile einzurahmen. */
.live-prog-item-wrap { border-bottom: var(--rule); }
.live-prog-item-wrap:last-child { border-bottom: 0; }
.live-prog-item-wrap .live-prog-item { width: 100%; }

.live-prog-body {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
/* Kosten sind eine Randnotiz, kein Etikett: leise Mono statt Akzent-Pille.
   Der Akzent gehoert dem laufenden Punkt, nicht 50 Preisangaben. */
.live-prog-cost {
  font-family: var(--font-mono);
  font-size: var(--t-tiny);
  letter-spacing: 0.06em;
  color: var(--ink-500);
  white-space: nowrap;
}
/* Einziger sichtbarer Aufklapp-Indikator — muss AA halten (ink-300 waere 2,4:1). */
.live-prog-caret {
  font-family: var(--font-mono);
  color: var(--ink-500);
  transition: transform 140ms var(--ease), color 140ms var(--ease);
}
.live-prog-item:hover .live-prog-caret { color: var(--ink-700); }
.live-prog-item[aria-expanded="true"] .live-prog-caret { transform: rotate(180deg); }

/* Detail haengt an der Titelspalte, kein zweiter Kasten. */
.live-prog-detail {
  padding: 0 10px 14px calc(var(--live-time-col) + var(--space-3) + 10px);
  background: transparent;
}
.live-prog-desc {
  font-family: var(--font-serif);
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--ink-700);
  max-width: 60ch;
  margin: 0;
}
.live-prog-einlass {
  font-family: var(--font-mono);
  font-size: var(--t-tiny);
  color: var(--ink-500);
  margin: 8px 0 0;
}
.live-prog-map {
  margin-top: 12px;
  min-height: 40px;
  font-family: var(--font-mono);
  font-size: var(--t-tiny);
  letter-spacing: 0.06em;
  background: transparent;
  border: var(--rule);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  color: var(--ink-700);
  cursor: pointer;
  transition: border-color 140ms var(--ease), color 140ms var(--ease);
}
.live-prog-map:hover { border-color: var(--accent); color: var(--accent); }

/* Marker */
.live-pin-dot {
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--pin, #555);
  border: 2px solid var(--cream-50);
  box-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.live-pin.is-pulse .live-pin-dot { animation: livePulse 1.6s ease-out infinite; }
@keyframes livePulse {
  0%   { box-shadow: 0 1px 4px rgba(0,0,0,0.45), 0 0 0 0 rgba(192,48,27,0.55); }
  70%  { box-shadow: 0 1px 4px rgba(0,0,0,0.45), 0 0 0 14px rgba(192,48,27,0); }
  100% { box-shadow: 0 1px 4px rgba(0,0,0,0.45), 0 0 0 0 rgba(192,48,27,0); }
}

/* Popup */
.live-pop strong { display: block; font-family: var(--font-serif); font-size: var(--t-h4); margin: 4px 0; }
.live-pop-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--t-tiny);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pin, #555);
}
.live-pop-time { font-family: var(--font-mono); font-size: var(--t-small); color: var(--ink-500); }
.live-pop p { font-family: var(--font-serif); font-size: var(--t-small); margin: 6px 0 0; }

/* Sheet-Griff/-Titel: Titel immer (Label übers Programm), Griff nur mobil. */
.live-sheet-handle { display: none; }
.live-sheet-title {
  font-family: var(--font-mono);
  font-size: var(--t-tiny);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  margin-bottom: var(--space-2);
}

/* Mobil: Karte vollflächig, Programm als ziehbares Bottom-Sheet. */
@media (max-width: 820px) {
  .live-grid {
    display: block;
    position: relative;
    height: 78vh;
    gap: 0;
    margin-top: var(--space-5);
    border: var(--rule-strong);
    border-radius: var(--r-xl);
    overflow: hidden;
  }
  .live-pane--map { position: absolute; inset: 0; }
  .live-map { height: 100%; border: none; border-radius: 0; }

  /* Filter als scrollbares Overlay oben auf der Karte */
  .live-filter {
    position: absolute; top: 10px; left: 10px; right: 10px;
    z-index: 600; margin: 0;
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .live-chip { flex: 0 0 auto; }
  .live-locate { top: 52px; bottom: auto; right: 10px; }

  /* Bottom-Sheet */
  .live-pane--program {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 100%;
    display: flex; flex-direction: column;
    background: var(--cream-50);
    border-top-left-radius: var(--r-xl);
    border-top-right-radius: var(--r-xl);
    box-shadow: 0 -6px 24px rgba(26,19,12,0.18);
    z-index: 700;
    transform: translateY(calc(100% - 96px));
    transition: transform 260ms var(--ease);
    touch-action: none;
  }
  .live-grid[data-sheet="half"] .live-pane--program { transform: translateY(48%); }
  .live-grid[data-sheet="full"] .live-pane--program { transform: translateY(6%); }
  .live-grid.is-dragging .live-pane--program { transition: none; }

  .live-sheet-handle {
    display: block; flex: none;
    width: 40px; height: 4px; margin: 10px auto 6px;
    border-radius: 2px; background: var(--ink-300);
  }
  .live-sheet-title { flex: none; text-align: center; margin: 0 0 8px; }
  .live-program {
    flex: 1; max-height: none;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 0 var(--space-4) var(--space-5);
  }

  /* Programm im Bottom-Sheet: das Sheet-Papier ist cream-50. */
  .live-prog-head { background: var(--cream-50); }

  /* Auf schmalen Schirmen bekommt der Titel die Breite: die Zeit rueckt
     ueber den Titel, statt ihm eine feste Spalte wegzunehmen. Die Zeile
     bleibt trotzdem >=48px hoch und gut treffbar. */
  .live-prog-item {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2px var(--space-3);
    padding: 12px 4px;
  }
  .live-prog-time {
    grid-column: 1;
    grid-row: 1;
    font-size: var(--t-tiny);
  }
  .live-prog-body {
    grid-column: 1;
    grid-row: 2;
  }
  .live-prog-caret {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .live-prog-detail {
    padding: 0 4px 14px;
  }
}

/* ============================================================
   LIVE-VOLLBILD (Handy) — Karte als Vollbild + Header-Umschalter
   Nur bei body[data-live="on"] (Home + live_mode) und Mobil.
   ============================================================ */
.live-view-toggle { display: none; }

@media (max-width: 820px) {
  /* Header-Umschalter „Infos ⇄ Karte" (Stil wie .nav-toggle) */
  body[data-live="on"] .live-view-toggle {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    min-height: 40px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(246, 240, 222, 0.35);
    border-radius: var(--r-pill);
    color: var(--cream-50);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: border-color 120ms var(--ease), color 120ms var(--ease);
  }
  body[data-live="on"] .live-view-toggle:hover,
  body[data-live="on"] .live-view-toggle:focus-visible { border-color: var(--accent-2); color: var(--accent-2); }

  /* Karten-Modus: nur Header + Vollbild-Karte, sonst nichts */
  body[data-live="on"][data-live-view="map"] { overflow: hidden; }
  body[data-live="on"][data-live-view="map"] > *:not(.site-banner):not(#live):not(script):not(style) { display: none; }
  body[data-live="on"][data-live-view="map"] .nav-toggle { display: none; }
  body[data-live="on"][data-live-view="map"] #live { padding: 0; margin: 0; border: none; }
  body[data-live="on"][data-live-view="map"] #live .block-head { display: none; }
  body[data-live="on"][data-live-view="map"] #live .shell { padding: 0; max-width: none; }
  body[data-live="on"][data-live-view="map"] .live-grid {
    height: calc(100dvh - var(--banner-h, 64px));
    margin: 0; border: 0; border-radius: 0;
  }

  /* Infos-Modus: Karte weg, normale Seite sichtbar */
  body[data-live="on"][data-live-view="infos"] #live { display: none; }
}

/* ============================================================
   ANMELDESEITE — Ort anmelden (heller Grund, eigenständiges Formular)
   ============================================================ */
.shell--narrow { max-width: 760px; }

.reg-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.reg-field { display: flex; flex-direction: column; gap: 6px; }
.reg-label {
  font-family: var(--font-mono);
  font-size: var(--t-small);
  letter-spacing: 0.03em;
  color: var(--ink-700);
}
.reg-req { color: var(--accent); }
.reg-help { font-family: var(--font-serif); font-size: var(--t-small); font-style: italic; color: var(--ink-500); }

.reg-form input[type="text"],
.reg-form input[type="email"],
.reg-form select,
.reg-form textarea {
  font-family: var(--font-serif);
  font-size: var(--t-body);
  color: var(--ink-900);
  background: var(--cream-50);
  border: var(--rule-strong);
  border-radius: var(--r-md);
  padding: 12px 14px;
  width: 100%;
}
.reg-form textarea { resize: vertical; }
.reg-form input::placeholder,
.reg-form textarea::placeholder { color: var(--ink-300); font-style: italic; }
.reg-form input:focus,
.reg-form select:focus,
.reg-form textarea:focus { outline: none; border-color: var(--accent); }

.reg-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

.reg-check {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-family: var(--font-serif);
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--ink-700);
}
.reg-check input[type="checkbox"] { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.reg-check a { color: var(--accent); text-decoration: underline; }

/* Edition-Hinweis: für welche Ausgabe man sich anmeldet (Constant-Frame:
   Badge folgt dem edition-neutralen --accent, skinnt also automatisch um). */
.reg-edition {
  margin-top: var(--space-2);
  font-family: var(--font-serif);
  font-size: var(--t-small);
  color: var(--ink-500);
}
.reg-edition-badge {
  color: var(--accent);
  margin-left: 4px;
  vertical-align: middle;
}

/* [hidden] respektieren: .reg-events/.reg-field setzen display:flex, das
   sonst das hidden-Attribut aussticht (Formular bliebe sichtbar). */
.reg-events[hidden],
.reg-field[hidden] { display: none; }

/* Veranstaltungs-Repeater (erscheint nach „Veranstaltung"-Häkchen) */
.reg-events {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.reg-events-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.reg-event-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  border: var(--rule);
  border-radius: var(--r-lg);
  background: var(--cream-100);
  margin: 0;
}
.reg-event-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.reg-event-block-nr {
  font-family: var(--font-mono);
  font-size: var(--t-tiny);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
}
.reg-event-remove {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: var(--t-tiny);
  color: var(--ink-500);
  text-decoration: underline;
  cursor: pointer;
}
.reg-event-remove:hover { color: var(--accent); }
.reg-event-add {
  align-self: flex-start;
  background: transparent;
  border: 1px dashed var(--ink-300);
  border-radius: var(--r-md);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: var(--t-small);
  color: var(--ink-700);
  cursor: pointer;
  transition: border-color 120ms var(--ease), color 120ms var(--ease);
}
.reg-event-add:hover { border-color: var(--accent); color: var(--accent); }

.reg-fieldset {
  border: var(--rule);
  border-radius: var(--r-lg);
  padding: var(--space-4) var(--space-5) var(--space-5);
  margin: 0;
}
.reg-fieldset legend {
  font-family: var(--font-mono);
  font-size: var(--t-tiny);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  padding: 0 8px;
}

.reg-actions { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.reg-status { font-family: var(--font-serif); color: var(--ink-500); }
.reg-status.is-error { color: var(--accent); }

@media (max-width: 640px) {
  .reg-row { grid-template-columns: 1fr; }
}

/* Archivkarte auf den Impressionen-Seiten */
.arch-map-wrap { margin-top: var(--space-6); }
.arch-map {
  height: 420px;
  margin-top: var(--space-4);
  border: var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 700px) {
  .arch-map { height: 320px; }
}

/* ============================================================
   PROSE — Fliesstext-Seiten (default.html.twig)

   Impressum, Rahmenbedingungen, Hofsuchen, Rundgang, Anleitung: alles
   reines Markdown. Bis hierhin liefen sie ohne eine einzige Regel, also im
   Browser-Default. Hier bekommen sie die Hausstimmen: Serif zum Lesen,
   Mono nur fuer die kleinste (administrative) Ebene, Haarlinien statt
   Kaesten. Keine eigene Klasse im Markdown noetig, alles ueber Elemente.
   ============================================================ */
.prose {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-700);
}
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }

.prose p {
  margin: 0 0 var(--space-5);
  max-width: 68ch;
  text-wrap: pretty;
}
.prose strong { font-weight: 600; color: var(--ink-900); }
.prose em { font-style: italic; }

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover { color: var(--accent-strong); }

/* h1 gliedert lange Seiten (Anleitung, Rundgang) in Kapitel: ab dem zweiten
   bekommt es eine Haarlinie als Kapitelschnitt. Volle Linie, kein Balken. */
.prose h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: 0 0 var(--space-6);
  text-wrap: balance;
}
.prose h1 + p { font-size: 20px; color: var(--ink-700); }
.prose h1:not(:first-child) {
  margin-top: var(--space-9);
  padding-top: var(--space-7);
  border-top: var(--rule);
}

.prose h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: var(--space-8) 0 var(--space-4);
  text-wrap: balance;
}

.prose h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
  color: var(--ink-900);
  margin: var(--space-6) 0 var(--space-3);
}

/* Kleinste Ebene: im Impressum sind das reine Sachueberschriften ueber
   Absaetzen ("Externes Hosting"). Mono ist hier die richtige, administrative
   Stimme — aber ohne Versalien: manche dieser Zeilen sind ganze Saetze
   ("Widerspruchsrecht gegen die Datenerhebung in besonderen Faellen ..."),
   und die waeren als gesperrte Grossbuchstaben kaum noch lesbar. */
.prose h4 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--t-small);
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--ink-900);
  margin: var(--space-5) 0 var(--space-2);
}

.prose ul,
.prose ol {
  margin: 0 0 var(--space-5);
  padding-left: 1.3em;
  max-width: 68ch;
}
.prose li { margin-bottom: var(--space-2); }
.prose li:last-child { margin-bottom: 0; }
.prose ul li::marker { color: var(--ink-500); }
.prose ol li::marker {
  font-family: var(--font-mono);
  font-size: var(--t-small);
  color: var(--ink-500);
}

/* Zitat: oben und unten eine Haarlinie, kein Balken an der Seite. */
.prose blockquote {
  margin: var(--space-7) 0;
  padding: var(--space-5) 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-700);
  max-width: 68ch;
}
.prose blockquote p:last-child { margin-bottom: 0; }

.prose hr {
  border: 0;
  border-top: var(--rule);
  margin: var(--space-8) 0;
}

/* Screenshots im Rundgang: flach auf dem Papier, nur mit Haarlinie gerahmt. */
.prose img {
  margin: var(--space-6) 0;
  border: var(--rule);
  border-radius: var(--r-lg);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--cream-100);
  border-radius: var(--r-sm);
  padding: 2px 5px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 var(--space-5);
  font-size: 17px;
}
.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: var(--rule);
}
.prose th {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--t-tiny);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
}

@media (max-width: 640px) {
  .prose { font-size: 17px; }
  .prose h1 + p { font-size: 18px; }
  .prose h3 { font-size: 20px; }
  .prose blockquote { font-size: 18px; }
}

/* ============================================================
   FAQ — aufklappbare Fragenliste (faq.html.twig)

   Keine Karten, keine Schatten: nur Haarlinien, eine gestempelte
   Plastique-Nummer und die Frage im Serif. Gebaut auf <details>/<summary>,
   damit es ohne JavaScript funktioniert, per Tastatur bedienbar ist und
   auf alten Geraeten hoechstens die Animation verliert, nie die Funktion.
   ============================================================ */
.faq-head { margin-bottom: var(--space-8); }
.faq-head .block-title { margin-bottom: var(--space-5); }
.faq-head .block-lede { max-width: 48ch; }

.faq-list { border-top: var(--rule); }
.faq-item { border-bottom: var(--rule); }

.faq-q {
  display: grid;
  grid-template-columns: 46px 1fr 14px;
  align-items: start;
  gap: var(--space-5);
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}

/* ink-500, nicht ink-300: die Nummer gehoert zur Fragenzeile und muss AA
   halten (ink-300 waere auf Papier nur 2,4:1). */
.faq-num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-500);
  transition: color 160ms var(--ease);
}
/* Die Frage ist ein h2 (Screenreader-Navigation), sieht aber aus wie eine
   Fragenzeile: Browser-Default fuer Groesse, Fettung und Abstand zuruecksetzen. */
.faq-frage {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  color: var(--ink-900);
  text-wrap: pretty;
  transition: color 120ms var(--ease);
}
.faq-q:hover .faq-frage { color: var(--green-700); }
.faq-q:hover .faq-num { color: var(--ink-700); }

/* Aufgeklappt: die Nummer wird zum Stempel (Akzent), die Frage kippt in die
   kursive Hausstimme. Der Akzent liegt so immer nur auf einer Zeile. */
.faq-item[open] .faq-num { color: var(--accent); }
.faq-item[open] .faq-frage { font-style: italic; }

/* Plus, das sich zum Minus dreht. Zwei Balken statt Icon-Font. */
.faq-mark {
  position: relative;
  width: 14px;
  height: 14px;
  margin-top: 7px; /* Mitte der ersten Fragenzeile, nicht der ganzen Zeile */
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--ink-500);
  transition: transform 220ms var(--ease), background-color 160ms var(--ease);
}
.faq-mark::before { transform: translateY(-50%); }
.faq-mark::after { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] .faq-mark::after { transform: translateY(-50%) rotate(0deg); }
.faq-item[open] .faq-mark::before,
.faq-item[open] .faq-mark::after { background: var(--accent); }

.faq-a {
  padding: 0 var(--space-8) 30px calc(46px + var(--space-5));
  font-family: var(--font-serif);
  color: var(--ink-700);
  animation: faq-in 220ms var(--ease) both;
}
.faq-a p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 var(--space-4);
  max-width: 62ch;
  text-wrap: pretty;
}
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-a a:hover { color: var(--accent-strong); }

/* Nur die Antwort blendet ein (Opacity/Transform, keine Layout-Props). */
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
}

/* Abschliessende Notiz: ein ganzer Satz, also Serif (Mono ist fuer Labels). */
.faq-outro {
  margin-top: var(--space-8);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-700);
}
.faq-outro a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-outro a:hover { color: var(--accent-strong); }

@media (max-width: 640px) {
  .faq-q {
    grid-template-columns: 34px 1fr 14px;
    gap: var(--space-4);
    padding: 18px 0;
  }
  .faq-num { font-size: 17px; }
  .faq-frage { font-size: 19px; }
  .faq-a { padding: 0 0 26px calc(34px + var(--space-4)); }
  .faq-a p { font-size: 17px; }
  .faq-mark { margin-top: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-a { animation: none; }
  .faq-mark::before,
  .faq-mark::after { transition: background-color 160ms var(--ease); }
}

/* ============================================================
   PLASTIQUE METRIC FIX
   The Plastique TTF ships oversized vertical metrics: at any size its
   font box is ≈1.83em tall and the painted ink (ascent ≈0.9em,
   descent ≈0.06em) sits LOW and off-centre inside that box. Left alone,
   every Plastique element looks shoved downward with uneven padding and
   collides with whatever sits below it.

   Fix: force line-height:1 (so the layout box hugs the font size) and
   recentre the ink inside that box with a small upward translate
   (~0.33em). transform doesn't change the reserved layout box, so the
   surrounding padding / flex gaps read as even. Apply to every
   Plastique element; never rely on its native baseline.
   ============================================================ */
.hero-countdown-cell .num,
.hero-countdown-today,
.manifest-num,
.edition-card .season-num,
.faq-num {
  line-height: 1;
  transform: translateY(-0.375em);
  padding: 0;
}
/* The flyer stamp stacks two Plastique lines; line-height:1 keeps the
   boxes tight. Plastique sits low in its line box, so the pair lands
   below centre with extra space on top — the small upward translate
   pulls both lines back to the optical middle of the stamp. */
.hero-stoerer .stoerer-date,
.hero-stoerer .stoerer-time {
  line-height: 1;
  transform: translateY(-0.12em);
}
/* keep a little breathing room under the big numbers and their labels */
.hero-countdown-cell .num { margin-bottom: 4px; }

/* ============================================================
   FOCUS & MOTION — accessibility polish
   ============================================================ */

/* Keyboard focus. A two-tone ring (cream inner, ink outer) keeps at
   least one layer in contrast on every ground we use: dark green, warm
   paper, and the red/coral accents. It follows each element's own
   border-radius, so pill buttons keep a pill ring. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid transparent;          /* visible in forced-colors mode */
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--cream-50), 0 0 0 4px var(--ink-900);
}
/* On light grounds the cream layer disappears, so lead with the ink ring. */
.btn-onlight-secondary:focus-visible,
.btn-onlight-primary:focus-visible {
  box-shadow: 0 0 0 2px var(--ink-900), 0 0 0 4px var(--cream-50);
}

/* Respect users who ask for less motion: no smooth scroll, no hover
   lifts or arrow slides, transitions collapse to near-instant. The live
   countdown keeps updating, it conveys information, not motion. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover,
  .btn:hover .arrow,
  .hut:hover,
  .jahr:hover { transform: none; }
}

/* Touch targets: give footer links a comfortable >=44px tap area on
   touch devices (WCAG 2.5.5), without spreading out the desktop footer.
   Keyed on pointer, not width, so it follows the input device. */
@media (pointer: coarse) {
  .foot-col li { padding: 0; }
  .foot-col li a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .foot-brand .sm a,
  .foot-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
