@import url("/static/css/schriften.css");

/* ══ Farben aus dem Bestand der Loge ═══════════════════════════════
   stein        Harzer Grauwacke, der Stein des Rinne-Hauses
   vergiss      Vergissmeinnicht – das Zeichen der Brüder im Verbot
   gold         der gealterte Goldton des Ordenssterns
   ================================================================= */
:root {
  --stein:        #191c21;
  --stein-weich:  #262b33;
  --stein-rand:   #343b45;
  --vergiss:      #dfe5e9;
  --vergiss-tief: #c9d4db;
  --licht:        #f5f7f8;
  --gold:         #a8853f;
  --gold-hell:    #c9a961;
  --tinte:        #2e3a45;
  --tinte-matt:   #5c6b78;
  --blau:         #3a5a78;

  --serif:  "Vollkorn", "Iowan Old Style", Georgia, serif;
  --sans:   "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --innen:  1140px;
  --lesen:  34rem;
  --rand:   clamp(1.25rem, 5vw, 3.5rem);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--vergiss);
  color: var(--tinte);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blau); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--gold); }

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

/* ── Typografie ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.015em;
  color: var(--stein);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); letter-spacing: -.022em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--stein); }

blockquote {
  margin: 2rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--gold);
  font-style: italic;
  font-size: 1.16em;
  line-height: 1.6;
  color: var(--stein);
}
blockquote p:last-child { margin-bottom: 0; }

/* Auszeichner: kleiner behauener Stein, dann Versalien in Jost */
.auszeichner {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
}
.auszeichner::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--gold);
  flex: none;
}

/* ── Raster ─────────────────────────────────────────────────── */
.innen { max-width: var(--innen); margin-inline: auto; padding-inline: var(--rand); }
.lesen { max-width: var(--lesen); }

.band { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band--licht  { background: var(--licht); }
.band--stein  { background: var(--stein); color: #b8c2cc; }
.band--stein h1, .band--stein h2, .band--stein h3 { color: var(--licht); }
.band--stein strong { color: var(--licht); }
.band--stein a { color: var(--gold-hell); }
.band--eng { padding-block: clamp(2.5rem, 5vw, 4rem); }

.trennlinie { border: 0; border-top: 1px solid var(--vergiss-tief); margin: 0; }
.band--stein .trennlinie { border-top-color: var(--stein-rand); }

/* ── Kopfzeile ──────────────────────────────────────────────── */
.springmarke {
  position: absolute; left: -9999px;
  background: var(--stein); color: var(--licht);
  padding: .8rem 1.2rem; z-index: 200;
  font-family: var(--sans);
}
.springmarke:focus { left: 1rem; top: 1rem; position: fixed; }

.kopf {
  position: sticky; top: 0; z-index: 100;
  background: rgba(223, 229, 233, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vergiss-tief);
}
.kopf__innen {
  max-width: var(--innen); margin-inline: auto;
  padding: .7rem var(--rand);
  display: flex; align-items: center; gap: 1.5rem;
}
.marke { display: flex; align-items: center; gap: 1rem; text-decoration: none; margin-right: auto; }
.marke img { width: 84px; height: 84px; border-radius: 50%; flex: none; }
.marke__name {
  font-family: var(--sans); font-weight: 500;
  font-size: .86rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--stein); line-height: 1.35; max-width: 22ch;
}
.marke__zusatz {
  display: block; font-size: .68rem; letter-spacing: .16em;
  color: var(--gold); font-weight: 400; margin-top: .15rem;
}

.navi { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.navi a {
  font-family: var(--sans); font-size: .84rem; font-weight: 400;
  letter-spacing: .04em; color: var(--tinte);
  text-decoration: none; padding: .45rem .6rem;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.navi a:hover { color: var(--stein); border-bottom-color: var(--gold); }
.navi a[aria-current="page"] { color: var(--stein); border-bottom-color: var(--gold); }

.navi__knopf {
  display: none; background: none; border: 1px solid var(--vergiss-tief);
  padding: .5rem .8rem; font-family: var(--sans); font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--stein);
  cursor: pointer; border-radius: 2px;
}

@media (max-width: 960px) {
  .navi__knopf { display: block; }
  .navi {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--licht); border-bottom: 1px solid var(--vergiss-tief);
    padding: .5rem var(--rand) 1.2rem;
  }
  .navi[data-offen="ja"] { display: flex; }
  .navi a { padding: .75rem 0; border-bottom: 1px solid var(--vergiss-tief); }
  .navi a:hover, .navi a[aria-current="page"] { border-bottom-color: var(--gold); }
  .marke__name { font-size: .72rem; max-width: 16ch; }
}

@media (max-width: 560px) {
  /* Auf dem Handy zaehlt jede Zeile Hoehe: der Zusatz steht ohnehin im Fuss. */
  .marke__zusatz { display: none; }
  .marke img { width: 62px; height: 62px; }
  .marke__name { font-size: .7rem; letter-spacing: .09em; max-width: 18ch; }
  .kopf__innen { padding-block: .55rem; gap: .8rem; }
  /* Bei 26 Feldern bleibt sonst kaum Flaeche je Quadrat uebrig. */
  .mosaik__boden { gap: 1px; padding: 6px; }
  .mosaik__skala { font-size: .66rem; }
}

/* ══ SIGNATUR: der Mosaikfußboden als Zeitband ═════════════════
   Ein Quadrat je Jahrzehnt. Hell – die Loge arbeitete.
   Dunkel – sie schwieg. Aus der Stuhlmeisterliste der Loge.
   ============================================================= */
.mosaik { margin: 0; }

.mosaik__boden {
  display: flex;
  gap: 2px;
  background: var(--vergiss);
  padding: 10px;
  border: 1px solid var(--vergiss-tief);
}
.band--stein .mosaik__boden { border-color: transparent; }

.mosaik__feld {
  flex: 1 1 0;
  aspect-ratio: 1;
  min-width: 0;
  border: 0; padding: 0; margin: 0;
  cursor: help;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
  animation: feld-legen .5s ease-out both;
  animation-delay: calc(var(--i) * 26ms);
}
.mosaik__feld--hell   { background: var(--licht); box-shadow: inset 0 0 0 1px rgba(25,28,33,.09); }
.mosaik__feld--dunkel { background: var(--stein); }

.mosaik__feld:hover, .mosaik__feld:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(25,28,33,.28);
  z-index: 2;
}
.mosaik__feld--jetzt::after {
  content: "";
  position: absolute; inset: auto 0 -10px 0; height: 3px;
  background: var(--gold);
}

@keyframes feld-legen {
  from { opacity: 0; transform: translateY(9px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mosaik__skala {
  display: flex; justify-content: space-between;
  font-family: var(--sans); font-size: .72rem; letter-spacing: .12em;
  color: var(--tinte-matt); margin-top: .8rem;
}
.band--stein .mosaik__skala { color: #7d8b98; }

.mosaik__lesart {
  font-family: var(--sans); font-size: .84rem; letter-spacing: .03em;
  margin-top: 1rem; min-height: 3.1em;
  color: var(--tinte-matt);
}
.band--stein .mosaik__lesart { color: #9aa7b3; }
.mosaik__lesart b {
  display: block; font-weight: 500; color: var(--gold);
  letter-spacing: .14em; text-transform: uppercase; font-size: .74rem;
  margin-bottom: .25rem;
}

/* ── Aufschlag ──────────────────────────────────────────────── */
.aufschlag { background: var(--stein); color: #b8c2cc; overflow: hidden; }
.aufschlag__innen {
  max-width: var(--innen); margin-inline: auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--rand) clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.aufschlag h1 { color: var(--licht); margin-bottom: .55em; }
.aufschlag__vor {
  font-family: var(--sans); font-size: .78rem; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.6rem;
}
.aufschlag__satz { font-size: 1.16rem; line-height: 1.66; color: #b8c2cc; max-width: 40ch; }
.aufschlag__stern {
  position: relative;
}
.aufschlag__stern img {
  width: 100%; border: 1px solid var(--stein-rand);
}
.aufschlag__zeitband {
  grid-column: 1 / -1;
  padding-top: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--stein-rand);
}
@media (max-width: 860px) {
  .aufschlag__innen { grid-template-columns: 1fr; }
  .aufschlag__stern { order: -1; max-width: 340px; }
}

/* ── Knöpfe ─────────────────────────────────────────────────── */
.knopf {
  display: inline-block;
  font-family: var(--sans); font-size: .84rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  padding: .85rem 1.7rem; border-radius: 2px;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--stein); background: var(--stein); color: var(--licht);
  transition: background .2s, color .2s, border-color .2s;
}
.knopf:hover { background: var(--gold); border-color: var(--gold); color: var(--stein); }
.knopf--linie { background: transparent; color: var(--stein); }
.knopf--linie:hover { background: var(--stein); color: var(--licht); border-color: var(--stein); }

/* Auf dunklem Grund kehren sich die Knoepfe um. Die Selektoren sind bewusst
   spezifischer als `.band--stein a`, sonst faerbt die Linkregel sie ein. */
.band--stein a.knopf, .aufschlag a.knopf {
  background: var(--licht); border-color: var(--licht); color: var(--stein);
}
.band--stein a.knopf:hover, .aufschlag a.knopf:hover {
  background: var(--gold); border-color: var(--gold); color: var(--stein);
}
.band--stein a.knopf--linie, .aufschlag a.knopf--linie {
  background: transparent; border-color: var(--stein-rand); color: var(--licht);
}
.band--stein a.knopf--linie:hover, .aufschlag a.knopf--linie:hover {
  background: var(--gold); border-color: var(--gold); color: var(--stein);
}

/* ── Karten ─────────────────────────────────────────────────── */
.karten {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.karte {
  background: var(--licht); border: 1px solid var(--vergiss-tief);
  border-radius: 2px; padding: 1.6rem 1.5rem 1.4rem;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.band--licht .karte { background: var(--vergiss); }
.karte:hover { border-color: var(--gold); transform: translateY(-2px); }
.karte h3 { margin-bottom: .35em; }
.karte p { font-size: .98rem; color: var(--tinte-matt); flex: 1; }
.karte__mehr {
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--gold); margin-top: 1.1rem;
}
.karte a.karte__mehr::after { content: " →"; }

/* ── Termine ────────────────────────────────────────────────── */
.termine { list-style: none; margin: 0; padding: 0; }
.termin {
  display: grid; grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem; align-items: baseline;
  padding: 1.4rem 0; border-top: 1px solid var(--vergiss-tief);
}
.band--stein .termin { border-top-color: var(--stein-rand); }
.termin:last-child { border-bottom: 1px solid var(--vergiss-tief); }
.band--stein .termin:last-child { border-bottom-color: var(--stein-rand); }
.termin__datum {
  font-family: var(--sans); text-align: center;
  border-right: 1px solid var(--gold); padding-right: 1.2rem;
}
.termin__tag { display: block; font-size: 1.9rem; font-weight: 300; color: var(--stein); line-height: 1; }
.band--stein .termin__tag { color: var(--licht); }
.termin__monat {
  display: block; font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-top: .3rem;
}
.termin h3 { margin-bottom: .2em; }
.termin p { font-size: .97rem; color: var(--tinte-matt); margin: 0; }
.band--stein .termin p { color: #8e9ba7; }
.termin__ort {
  font-family: var(--sans); font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--tinte-matt); margin-top: .5rem;
}
.termin__marke {
  display: inline-block; font-family: var(--sans); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold);
  padding: .1rem .5rem; margin-left: .6rem; vertical-align: .15em;
  white-space: nowrap;
}
/* Termine, zu denen wir um Anmeldung bitten, treten zurueck. */
.termin__marke--anmeldung {
  border-color: var(--vergiss-tief); color: var(--tinte-matt);
}
.band--stein .termin__marke--anmeldung { border-color: var(--stein-rand); color: #7d8b98; }

/* ── Zeitleiste Geschichte ──────────────────────────────────── */
.epoche {
  display: grid; grid-template-columns: 8rem 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 2.2rem 0; border-top: 1px solid var(--vergiss-tief);
}
.epoche__jahr {
  font-family: var(--sans); font-weight: 300;
  font-size: 1.5rem; letter-spacing: .02em; color: var(--gold);
  line-height: 1.2; position: relative; padding-top: .1rem;
}
.epoche--dunkel .epoche__jahr { color: var(--tinte-matt); }
.epoche--dunkel .epoche__jahr::after {
  content: "Loge ruht"; display: block;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  margin-top: .4rem; color: var(--stein);
  background: var(--vergiss-tief); padding: .15rem .4rem; width: fit-content;
}
@media (max-width: 700px) { .epoche { grid-template-columns: 1fr; gap: .6rem; } }

.stuhlmeister { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 3rem; }
.stuhlmeister li {
  break-inside: avoid; padding: .5rem 0;
  border-bottom: 1px solid var(--vergiss-tief);
  font-size: .97rem; display: flex; gap: 1rem;
}
.stuhlmeister span {
  font-family: var(--sans); font-size: .84rem; color: var(--tinte-matt);
  flex: none; width: 6.6rem; letter-spacing: .02em;
}
.stuhlmeister li[data-ruht] { color: var(--tinte-matt); font-style: italic; }
.stuhlmeister li[data-jetzt] { color: var(--stein); font-weight: 600; }
.stuhlmeister li[data-jetzt] span { color: var(--gold); }
@media (max-width: 620px) { .stuhlmeister { columns: 1; } }

/* ── Galerie ────────────────────────────────────────────────── */
.galerie {
  display: grid; gap: 6px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.galerie button {
  border: 0; padding: 0; background: var(--vergiss-tief);
  cursor: zoom-in; aspect-ratio: 1; overflow: hidden; display: block;
}
.galerie img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
  filter: saturate(.92);
}
.galerie button:hover img, .galerie button:focus-visible img {
  transform: scale(1.05); filter: saturate(1.05);
}

.leuchte {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15, 17, 20, .95);
  display: grid; place-items: center; padding: 2.5rem 1.5rem;
  border: 0;
}
.leuchte::backdrop { background: rgba(15, 17, 20, .95); }
.leuchte img { max-height: 86vh; max-width: 100%; width: auto; }
.leuchte__zu {
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: 1px solid var(--stein-rand); color: var(--licht);
  width: 2.6rem; height: 2.6rem; font-size: 1.3rem; cursor: pointer; border-radius: 2px;
}
.leuchte__zu:hover { border-color: var(--gold); color: var(--gold); }
.leuchte__blaettern {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--licht); opacity: .6;
  font-size: 2.4rem; cursor: pointer; padding: 1rem;
}
.leuchte__blaettern:hover { opacity: 1; color: var(--gold); }
.leuchte__vor { left: .3rem; }
.leuchte__zurueck { right: .3rem; }

/* ── FAQ ────────────────────────────────────────────────────── */
.frage {
  border-top: 1px solid var(--vergiss-tief);
  padding: 0;
}
.frage:last-of-type { border-bottom: 1px solid var(--vergiss-tief); }
.frage summary {
  cursor: pointer; list-style: none;
  padding: 1.3rem 2.5rem 1.3rem 0; position: relative;
  font-family: var(--serif); font-size: 1.14rem; font-weight: 600;
  color: var(--stein);
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%;
  transform: translateY(-50%); font-family: var(--sans);
  font-size: 1.5rem; font-weight: 300; color: var(--gold);
  transition: transform .25s;
}
.frage[open] summary::after { content: "−"; }
.frage summary:hover { color: var(--gold); }
.frage__antwort { padding: 0 2.5rem 1.5rem 0; color: var(--tinte-matt); }

/* ── Formular ───────────────────────────────────────────────── */
.formular { display: grid; gap: 1.3rem; }
.feld { display: grid; gap: .45rem; }
.feld--paar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 620px) { .feld--paar { grid-template-columns: 1fr; } }

.feld label {
  font-family: var(--sans); font-size: .8rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--tinte-matt);
}
.feld label .pflicht { color: var(--gold); }

.feld input, .feld textarea, .feld select {
  font-family: var(--serif); font-size: 1.02rem; color: var(--stein);
  background: var(--licht); border: 1px solid var(--vergiss-tief);
  border-radius: 2px; padding: .8rem .9rem; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.feld textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
.feld select { font-family: var(--sans); font-size: .96rem; }
.feld input:focus, .feld textarea:focus, .feld select:focus {
  outline: 0; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(168, 133, 63, .16);
}
.feld__hinweis { font-family: var(--sans); font-size: .8rem; color: var(--tinte-matt); }

.feld--kasten {
  grid-template-columns: auto 1fr; align-items: start; gap: .8rem;
}
.feld--kasten input { width: 1.15rem; height: 1.15rem; margin-top: .28rem; accent-color: var(--gold); }
.feld--kasten label {
  font-family: var(--serif); font-size: .95rem; text-transform: none;
  letter-spacing: 0; color: var(--tinte-matt); line-height: 1.55; font-weight: 400;
}

.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.meldung {
  padding: 1.1rem 1.3rem; border-radius: 2px; margin-bottom: 1.8rem;
  font-size: 1rem; border-left: 3px solid;
}
.meldung--gut  { background: rgba(58, 90, 120, .09);  border-color: var(--blau);  color: var(--stein); }
.meldung--fehl { background: rgba(168, 133, 63, .12); border-color: var(--gold); color: var(--stein); }
.meldung ul { margin: .5rem 0 0; padding-left: 1.2rem; }

/* ── Kontaktangaben ─────────────────────────────────────────── */
.anschrift { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.anschrift li { display: grid; gap: .2rem; }
.anschrift dt, .anschrift .art {
  font-family: var(--sans); font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.anschrift .wert { font-size: 1.06rem; color: var(--stein); }
.anschrift a { color: var(--stein); text-decoration-color: var(--gold); }
.anschrift a:hover { color: var(--gold); }

/* ── Ton ────────────────────────────────────────────────────── */
.ton {
  display: grid; gap: .9rem;
  border: 1px solid var(--stein-rand); padding: 1.4rem;
  background: rgba(255,255,255,.03); border-radius: 2px;
}
.ton audio { width: 100%; }
.ton__titel { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ton__satz { font-size: .92rem; color: #8e9ba7; }

/* ── Video ──────────────────────────────────────────────────── */
.film {
  width: 100%; max-width: 52rem; height: auto; display: block;
  margin-top: 2rem; background: #000;
  border: 1px solid var(--stein-rand); border-radius: 2px;
}
.film__mehr { max-width: 52rem; margin-top: 1.6rem; }
.film__mehr summary {
  cursor: pointer; list-style: none;
  font-family: var(--sans); font-size: .84rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-hell);
  padding: .8rem 0; border-top: 1px solid var(--stein-rand);
}
.film__mehr summary::-webkit-details-marker { display: none; }
.film__mehr summary::before { content: "+ "; }
.film__mehr[open] summary::before { content: "− "; }
.film__mehr summary:hover { color: var(--licht); }

/* ── Eingebettetes Video (Zwei-Klick-Loesung) ───────────────── */
.video {
  position: relative; aspect-ratio: 16 / 9; max-width: 52rem;
  background: var(--stein-weich); border: 1px solid var(--stein-rand);
  overflow: hidden; margin-top: 2rem;
}
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video__vorschau {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.35) brightness(.4);
}
.video__deckel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.1rem; padding: 1.5rem; text-align: center;
}
.video__hinweis {
  font-family: var(--sans); font-size: .82rem; line-height: 1.55;
  color: #b8c2cc; max-width: 46ch; margin: 0;
}
.video__hinweis a { color: var(--gold-hell); }

/* ── Zweispalt ──────────────────────────────────────────────── */
.zweispalt {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.zweispalt--schmal { grid-template-columns: 1.25fr .75fr; }
@media (max-width: 820px) {
  .zweispalt, .zweispalt--schmal { grid-template-columns: 1fr; }
}

.bild-rahmen { border: 1px solid var(--vergiss-tief); }
.band--stein .bild-rahmen { border-color: var(--stein-rand); }
.bild-rahmen figcaption {
  font-family: var(--sans); font-size: .78rem; letter-spacing: .06em;
  color: var(--tinte-matt); padding: .7rem .9rem; background: var(--licht);
}
.band--stein .bild-rahmen figcaption { background: var(--stein-weich); color: #8e9ba7; }

/* ── Gesprächstexte (Lessing) ───────────────────────────────── */
.gespraech { max-width: 36rem; }
.gespraech p { margin-bottom: 1em; }
.gespraech .person {
  font-family: var(--sans); font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: .1rem;
}
.gespraech .rede { display: block; padding-left: 1.4rem; border-left: 1px solid var(--vergiss-tief); }

.blaettern {
  display: flex; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--vergiss-tief); padding-top: 1.6rem; margin-top: 3rem;
  font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
}
.blaettern a { text-decoration: none; color: var(--tinte-matt); }
.blaettern a:hover { color: var(--gold); }

/* ── Fußzeile ───────────────────────────────────────────────── */
.fuss { background: var(--stein); color: #8e9ba7; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.fuss__raster {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); margin-bottom: 3rem;
}
@media (max-width: 760px) { .fuss__raster { grid-template-columns: 1fr; gap: 2.2rem; } }
.fuss h4 {
  font-family: var(--sans); font-size: .74rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .55rem; }
.fuss a { color: #b8c2cc; text-decoration: none; font-size: .95rem; }
.fuss a:hover { color: var(--gold); }
.fuss__name { font-family: var(--serif); font-size: 1.2rem; color: var(--licht); margin-bottom: .5rem; }
.fuss__satz { font-size: .95rem; max-width: 34ch; }
.fuss__unten {
  border-top: 1px solid var(--stein-rand); padding-top: 1.6rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--sans); font-size: .78rem; letter-spacing: .06em; color: #6b7784;
}

/* ── Kleinkram ──────────────────────────────────────────────── */
.aufzaehlung { list-style: none; margin: 1.4rem 0; padding: 0; }
.aufzaehlung li {
  padding: .55rem 0 .55rem 1.6rem; position: relative;
}
.aufzaehlung li::before {
  content: ""; position: absolute; left: 0; top: 1.15em;
  width: 6px; height: 6px; background: var(--gold);
}
.band--stein .aufzaehlung li { border-bottom-color: var(--stein-rand); }

.quelle {
  font-family: var(--sans); font-size: .82rem; letter-spacing: .04em;
  color: var(--tinte-matt); border-top: 1px solid var(--vergiss-tief);
  padding-top: 1rem; margin-top: 2rem;
}
.band--stein .quelle { border-top-color: var(--stein-rand); color: #7d8b98; }

.rechtstext h2 { font-size: 1.35rem; margin-top: 2.4rem; }
.rechtstext h3 { font-size: 1.1rem; margin-top: 1.8rem; }
.rechtstext { max-width: 40rem; }

/* ══ DIE CHRONIK ═══════════════════════════════════════════════════
   Der Mosaikfußboden als begehbare Geschichte. Der Boden liegt unten
   am Bildschirmrand und füllt sich, während man liest.
   Jede Station traegt ihre Farbe selbst – dadurch stimmt das Bild auch
   ohne JavaScript und bei "prefers-reduced-motion".
   ================================================================= */
.chronik { padding-bottom: 7rem; }        /* Platz für den Boden */

.station {
  --ton-schrift: var(--tinte);
  --ton-titel: var(--stein);
  --ton-rand: var(--vergiss-tief);
  --ton-matt: var(--tinte-matt);
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: clamp(4rem, 12vh, 9rem);
  background: var(--vergiss);
  color: var(--ton-schrift);
}
.station--dunkel {
  background: var(--stein);
  --ton-schrift: #9aa7b3; --ton-titel: var(--licht);
  --ton-rand: var(--stein-rand); --ton-matt: #7d8b98;
}
.station--schwarz {
  background: #000;
  --ton-schrift: #8a929b; --ton-titel: #fff;
  --ton-rand: #2a2a2a; --ton-matt: #6e767e;
}
/* Zwei helle Stationen nacheinander bekommen abwechselnd Ton, damit die
   Uebergaenge sichtbar bleiben. */
.station--hell:nth-of-type(even) { background: var(--licht); }

.station__innen {
  max-width: var(--innen); margin-inline: auto; padding-inline: var(--rand);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center; width: 100%;
}
.station:not(:has(.station__bild)) .station__innen { grid-template-columns: minmax(0, 40rem); }
@media (max-width: 860px) {
  .station__innen { grid-template-columns: 1fr; }
  .station { min-height: auto; padding-block: clamp(3.5rem, 10vh, 5.5rem); }
}

.station__jahr {
  font-family: var(--sans); font-size: .8rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.2rem;
}
.station__titel {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  color: var(--ton-titel); margin-bottom: .6em;
}
.station__wort p { font-size: 1.1rem; line-height: 1.68; max-width: 40ch; }
.station__wort strong { color: var(--ton-titel); }
.station__wort em { color: var(--ton-titel); font-style: italic; }

.station__zitat {
  margin: 2.2rem 0 0; padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--gold);
  font-style: italic; font-size: 1.14rem; line-height: 1.6;
  color: var(--ton-titel); max-width: 42ch;
}
.station__zitat cite {
  display: block; margin-top: .9rem;
  font-family: var(--sans); font-style: normal; font-size: .8rem;
  letter-spacing: .1em; color: var(--gold);
}

.station__bild { margin: 0; }
.station__bild img { width: 100%; height: auto; border: 1px solid var(--ton-rand); }
.station__bild figcaption {
  font-family: var(--sans); font-size: .78rem; letter-spacing: .05em;
  color: var(--ton-matt); padding-top: .7rem;
}

.station__winken {
  font-family: var(--sans); font-size: .78rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-top: 3rem;
}
.station__winken::after {
  content: " ↓"; display: inline-block;
  animation: winken 2.4s ease-in-out infinite;
}
@keyframes winken { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(.35em); } }

.station__schluss { margin-top: 2.5rem; display: flex; gap: .7rem; flex-wrap: wrap; }
.station--hell .knopf { border-color: var(--stein); }

/* Sanftes Aufziehen – nur wenn JavaScript läuft und Bewegung erlaubt ist. */
.chronik[data-js="ja"] .station__wort,
.chronik[data-js="ja"] .station__bild {
  opacity: 0; transform: translateY(1.6rem);
  transition: opacity .8s ease, transform .8s ease;
}
.chronik[data-js="ja"] .station--da .station__wort { opacity: 1; transform: none; }
.chronik[data-js="ja"] .station--da .station__bild {
  opacity: 1; transform: none; transition-delay: .15s;
}

/* ── Der Boden ──────────────────────────────────────────────── */
.boden {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(223, 229, 233, .92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--vergiss-tief);
  transition: background .9s ease, border-color .9s ease;
}
.boden[data-ton="dunkel"] { background: rgba(38, 43, 51, .94); border-top-color: var(--stein-rand); }
.boden[data-ton="schwarz"] { background: rgba(0, 0, 0, .94); border-top-color: #2a2a2a; }

.boden__innen { max-width: var(--innen); margin-inline: auto; padding: .7rem var(--rand) .8rem; }
.boden__felder { display: flex; gap: 2px; }
.boden__feld {
  flex: 1 1 0; height: 26px; min-width: 0;
  opacity: .26; transition: opacity .5s ease, transform .5s ease;
}
.boden__feld--hell   { background: var(--licht); box-shadow: inset 0 0 0 1px rgba(25,28,33,.12); }
.boden__feld--dunkel { background: var(--stein); }
.boden[data-ton="schwarz"] .boden__feld--dunkel { box-shadow: inset 0 0 0 1px #2f2f2f; }
.boden__feld--erreicht { opacity: 1; }
.boden__feld--hier { transform: translateY(-5px); box-shadow: 0 3px 10px rgba(0,0,0,.35); }

.boden__marke {
  font-family: var(--sans); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--tinte-matt);
  margin: .55rem 0 0; text-align: right;
}
.boden[data-ton="dunkel"] .boden__marke,
.boden[data-ton="schwarz"] .boden__marke { color: #7d8b98; }
.boden__marke span { color: var(--gold); }

@media (max-width: 560px) {
  .boden__feld { height: 18px; }
  .boden__innen { padding-block: .5rem .55rem; }
  .chronik { padding-bottom: 5.5rem; }
}

/* Ohne JavaScript oder bei reduzierter Bewegung: Boden ganz sichtbar. */
.chronik:not([data-js="ja"]) .boden__feld { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .boden__feld { opacity: 1; }
  .station__winken::after { animation: none; }
}

/* ══ ERNST UND FALK: das Gespräch selbst führen ════════════════════
   Der vollständige Wortlaut steht immer im HTML. Erst wenn JavaScript
   wirklich führen kann, wird verborgen (data-gefuehrt). Fällt es aus,
   liest man das Gespräch am Stück wie zuvor.
   ================================================================= */
.fuehrung { max-width: 40rem; }
.fuehrung__vorwort strong { color: var(--licht); }

.zug { margin: 0 0 1.6rem; }
.zug__wer {
  display: block; font-family: var(--sans);
  font-size: .74rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: .25rem;
}
.zug--ernst .zug__wer { color: var(--blau); }
.zug--falk  .zug__wer { color: var(--gold); }
.zug__rede {
  display: block; padding-left: 1.4rem;
  border-left: 1px solid var(--vergiss-tief);
  line-height: 1.72;
}
.zug--falk .zug__rede { border-left-color: var(--gold); }

/* Im geführten Betrieb ist alles verborgen, was noch nicht gesagt wurde.
   Der Lauf bekommt unten Luft, damit die Frage-Karte nichts verdeckt. */
.fuehrung[data-gefuehrt="ja"] .fuehrung__lauf { padding-bottom: 2rem; }
.fuehrung[data-gefuehrt="ja"] .zug { display: none; }
.fuehrung[data-gefuehrt="ja"] .zug--da {
  display: block;
  animation: zug-ein .55s ease-out both;
}
@keyframes zug-ein {
  from { opacity: 0; transform: translateY(.7rem); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fuehrung[data-gefuehrt="ja"] .zug--da { animation: none; }
}

.fuehrung__zug {
  position: sticky; bottom: 1.2rem; z-index: 40;
  margin-top: 2.5rem;
  background: var(--licht);
  border: 1px solid var(--vergiss-tief); border-radius: 2px;
  padding: 1.2rem 1.3rem 1rem;
  box-shadow: 0 8px 28px rgba(25, 28, 33, .1);
}
.fuehrung__rolle {
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--blau); margin: 0 0 .7rem;
}
.fuehrung__frage {
  display: block; width: 100%; text-align: left; cursor: pointer;
  font-family: var(--serif); font-size: 1.08rem; line-height: 1.55;
  color: var(--stein); background: var(--vergiss);
  border: 1px solid var(--vergiss-tief); border-radius: 2px;
  padding: .9rem 1rem; transition: border-color .2s, background .2s;
}
.fuehrung__frage:hover { border-color: var(--gold); background: #fff; }
.fuehrung__frage::after {
  content: " →"; color: var(--gold); font-family: var(--sans);
}
.fuehrung__stand {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  font-family: var(--sans); font-size: .76rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--tinte-matt);
  margin: .8rem 0 0;
}
.fuehrung__alles {
  background: none; border: 0; cursor: pointer; padding: 0;
  font: inherit; color: var(--tinte-matt);
  text-decoration: underline; text-underline-offset: .2em;
}
.fuehrung__alles:hover { color: var(--gold); }

.fuehrung__ende {
  margin-top: 2.5rem; padding-top: 1.8rem;
  border-top: 1px solid var(--vergiss-tief);
}
.fuehrung__weiter { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }

@media (max-width: 560px) {
  .fuehrung__zug { bottom: .6rem; padding: 1rem; }
  .fuehrung__frage { font-size: 1rem; }
}

/* ══ „Die Wahrheit über die Freimaurer“ ════════════════════════════
   Die Behauptung ruft laut, die Antwort spricht leise. Der ganze Witz
   liegt im typografischen Gefälle zwischen beiden.
   ================================================================= */
.band--schwarz { background: #000; color: #8a929b; }
.band--schwarz h1, .band--schwarz h2, .band--schwarz h3 { color: #fff; }
.band--schwarz strong { color: #fff; }
.band--schwarz a { color: var(--gold-hell); }
.band--schwarz blockquote { color: #fff; border-left-color: var(--gold); }
.band--schwarz a.knopf--linie { border-color: #2f2f2f; color: #fff; background: transparent; }
.band--schwarz a.knopf--linie:hover { background: var(--gold); border-color: var(--gold); color: var(--stein); }

.geruechte { max-width: 44rem; }

.geruecht { border-top: 1px solid var(--vergiss-tief); }
.geruecht:last-of-type { border-bottom: 1px solid var(--vergiss-tief); }

.geruecht summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.5rem 0;
}
.geruecht summary::-webkit-details-marker { display: none; }

/* Der laute Teil: gross, eng, in Versalien – wie ein Aufmacher, den
   niemand belegt hat. */
.geruecht__ruf {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.2; letter-spacing: -.01em;
  color: var(--stein); flex: 1;
  transition: color .2s;
}
.geruecht summary:hover .geruecht__ruf { color: var(--gold); }

.geruecht__zeichen {
  flex: none; width: 1.5rem; height: 1.5rem; position: relative;
  border: 1px solid var(--gold); border-radius: 50%;
  align-self: center;
}
.geruecht__zeichen::before,
.geruecht__zeichen::after {
  content: ""; position: absolute; background: var(--gold);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.geruecht__zeichen::before { width: .7rem; height: 1px; }
.geruecht__zeichen::after  { width: 1px; height: .7rem; transition: transform .25s; }
.geruecht[open] .geruecht__zeichen::after { transform: translate(-50%, -50%) scaleY(0); }

/* Der leise Teil: normale Textgroesse, ruhiger Ton, eingerückt. */
.geruecht__wahrheit {
  padding: 0 0 1.8rem 0; max-width: 40rem;
  animation: wahrheit-ein .35s ease-out;
}
.geruecht__wahrheit p { color: var(--tinte-matt); }
.geruecht__wahrheit p:first-child { color: var(--tinte); }
@keyframes wahrheit-ein {
  from { opacity: 0; transform: translateY(-.4rem); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .geruecht__wahrheit { animation: none; }
}

/* Der „Geheimplan“ ist der echte Arbeitskalender. */
.geheimplan .termin h3 { font-size: 1.15rem; }
