/* ==========================================================================
   Stuttgarter Denkmale — VFEHB e.V.
   Dunkel-editoriale Ausbaustufe des Framer-Entwurfs.
   Farb- und Typo-Token stammen aus den Original-Embeds und wurden um
   Flächenabstufungen, Textur und eine editoriale Typo-Skala erweitert.
   ========================================================================== */

:root {
  /* Flächen — vom Papierschwarz bis zur gehobenen Karte */
  --ink:      oklch(8.5% 0.012 68);
  --ink-2:    oklch(11%  0.014 70);
  --ink-3:    oklch(14%  0.016 72);
  --ink-4:    oklch(17%  0.018 72);

  /* Sandstein */
  --gold:      oklch(71% 0.095 78);
  --gold-hi:   oklch(83% 0.075 82);
  --gold-dim:  oklch(57% 0.070 75);   /* 4.62:1 auf --ink, auch fuer Kleintext */
  --gold-faint:oklch(71% 0.095 78 / 0.07);
  --tan:       #d9bc91;
  --tan-deep:  #c9a878;

  --cream: oklch(90% 0.012 80);
  --dim:   oklch(64% 0.010 76);
  --rule:  oklch(24% 0.014 65);
  --rule-strong: oklch(34% 0.020 68);

  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-ui:    'Inter', system-ui, -apple-system, sans-serif;

  /* Editoriale Typo-Skala */
  --t-display: clamp(3.2rem, 8.5vw, 6.4rem);
  --t-h1:      clamp(2.6rem, 6vw, 4.6rem);
  --t-h2:      clamp(2rem, 4.4vw, 3.4rem);
  --t-h3:      clamp(1.35rem, 2.2vw, 1.8rem);
  --t-lead:    clamp(1.05rem, 1.6vw, 1.3rem);
  --t-body:    clamp(.97rem, 1.1vw, 1.04rem);
  --t-meta:    .62rem;

  --maxw: 1180px;
  --gap:  clamp(1.5rem, 4vw, 3.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-ui);
  font-size: var(--t-body);
  line-height: 1.75;
  overflow-x: hidden;
}

/* Schriftregel: Instrument Serif ausschliesslich fuer Display — Ueberschriften,
   grosse Zahlen und kurze Leads. Inter fuer jeden Fliesstext. */
h1, h2, h3, h4,
.hero__title, .hero__sub, .section__title, .section__sub,
.fact__num, .tl-year, .date-big, .date-ghost, .date-sub,
.news-band__title, .newsrow__title, .project__title, .article__title,
.article__lead, .darkcard__title, .darkcard__lead, .goals-head,
.panel .heading, .figcard__title, .pubcard__title, .tl-title,
.charter-title, .footer__name, .history__h {
  font-family: var(--f-serif);
}

/* Deutsche Komposita brauchen Trennung, sonst reissen Spalten auf. */
.history__p, .project__text, .panel .body, .goals-body, .article__body,
.darkcard__body, .tl-text, .newsrow__text, .prose p, .prose li,
.hero__lead, .pillar p, .duo p, .figcard__cap {
  hyphens: auto;
  -webkit-hyphens: auto;
  /* Nur echte Komposita trennen, keine kurzen Woerter. */
  hyphenate-limit-chars: 9 4 4;
}

/* height:auto ist noetig, seit alle Bilder width/height tragen — sonst wirkt
   das HTML-Attribut als feste Hoehe und haengelt das CSS-Seitenverhaeltnis aus.
   Regeln mit eigener Hoehe (.figcard img, .newsrow img, ...) ueberschreiben das. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; letter-spacing: -.015em; }
p { text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--gold); color: #14100a; padding: .7rem 1.2rem;
  font-family: var(--f-ui); font-size: .8rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

::selection { background: var(--gold); color: #14100a; }

/* ── Papierkorn über der gesamten Seite ─────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'>\
<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/>\
<feColorMatrix type='saturate' values='0'/></filter>\
<rect width='140' height='140' filter='url(%23n)'/></svg>");
}

/* ── Lesefortschritt ────────────────────────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-hi));
  z-index: 120; pointer-events: none;
}

/* ── Sektionsköpfe (editorial, nummeriert) ─────────────────────────────── */
.label-row { display: flex; align-items: center; gap: .85rem; }
.label {
  font-family: var(--f-ui); font-size: var(--t-meta); font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
  white-space: nowrap;
}
.label-rule { height: 1px; flex: 1; background: var(--rule); }

.sec-head { display: flex; align-items: baseline; gap: 1.1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.sec-num {
  font-family: var(--f-ui); font-size: var(--t-meta); font-weight: 500;
  letter-spacing: .2em; color: var(--gold-dim); font-variant-numeric: tabular-nums;
  padding-top: .5rem; flex: 0 0 auto;
}
.sec-head__body { flex: 1; }
.sec-head__rule { height: 1px; background: var(--rule); margin-top: 1.4rem; }

.chip {
  display: inline-block; font-family: var(--f-ui); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--rule-strong); border-radius: 999px; padding: .34rem 1rem;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 14px 0 auto 0; z-index: 100;
  display: flex; justify-content: center; pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem);
  padding: 6px 24px 6px 6px;
  background: oklch(11% .014 70 / .72);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--rule); border-radius: 999px;
  box-shadow: 0 24px 60px -40px #000;
  transition: background .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
}
.nav.is-scrolled .nav__inner {
  background: oklch(9% .012 68 / .92);
  border-color: var(--rule-strong);
  padding-top: 4px; padding-bottom: 4px;
}
.nav__logo {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  transition: transform .4s var(--ease);
}
.nav__inner:hover .nav__logo { transform: rotate(-6deg) scale(1.04); }
.nav__links { display: flex; gap: clamp(1rem, 2.2vw, 1.8rem); }
.nav__links a {
  position: relative; font-family: var(--f-serif); font-size: 1rem;
  color: var(--cream); transition: color .25s var(--ease); padding: .2rem 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--gold-hi); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--gold); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.nav__link--kontakt { display: inline-flex; align-items: center; gap: .4rem; }
.nav__mail {
  width: 15px; height: 15px; flex: 0 0 auto;
  opacity: 0; transform: translateX(-4px) scale(.85);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.nav__link--kontakt:hover .nav__mail,
.nav__link--kontakt:focus-visible .nav__mail,
.nav__link--kontakt[aria-current="page"] .nav__mail { opacity: 1; transform: translateX(0) scale(1); }
.nav__link:focus-visible {
  outline: 2px solid var(--gold-hi); outline-offset: 4px; border-radius: 4px;
}
@media (hover: none) {
  .nav__link--kontakt .nav__mail { opacity: 1; transform: none; }
}

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; color: var(--cream);
}
.nav__toggle svg { width: 20px; height: 20px; margin: 0 auto; }

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
    width: min(88vw, 340px);
    flex-direction: column; align-items: center; gap: .1rem;
    background: oklch(10% .014 70 / .97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--rule-strong); border-radius: 20px; padding: 1.1rem 0;
    box-shadow: 0 40px 80px -40px #000;
    display: none;
  }
  .nav__links a { font-size: 1.2rem; padding: .65rem 1rem; }
  .nav__links a::after { display: none; }
  .nav__inner.is-open .nav__links { display: flex; }
  .nav__inner { padding-right: 8px; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; text-align: center;
  padding: clamp(9rem, 17vw, 14rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero--image { padding-top: clamp(11rem, 22vw, 17rem); padding-bottom: clamp(5rem, 10vw, 8rem); }
.hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 25%, transparent, oklch(8.5% .012 68 / .55) 70%),
    linear-gradient(180deg, oklch(8.5% .012 68 / .62) 0%, oklch(8.5% .012 68 / .38) 38%, var(--ink) 100%);
}
.hero__inner { position: relative; z-index: 1; }

.hero__eyebrow {
  font-family: var(--f-ui); font-size: var(--t-meta); font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}
.hero__title {
  font-size: var(--t-display); line-height: .98;
  letter-spacing: -.025em; color: var(--cream);
}
.hero__sub {
  margin: clamp(1.2rem, 3vw, 2rem) auto 0; max-width: 30ch;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--cream);
}
.hero__since { margin: 1.2rem auto 0; font: 500 clamp(1.25rem, 2vw, 1.65rem)/1.4 var(--f-ui); letter-spacing: .1em; color: var(--gold); }
.hero__sub .g { color: var(--gold); font-style: normal; }
.hero__lead {
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0; max-width: 60ch;
  font-family: var(--f-ui); font-size: clamp(.95rem, 1.35vw, 1.08rem);
  line-height: 1.75; color: var(--cream);
}

/* Scroll-Hinweis */
.scrollcue {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  font-family: var(--f-ui); font-size: .56rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--dim);
}
.scrollcue__line {
  width: 1px; height: 46px; background: linear-gradient(180deg, var(--gold-dim), transparent);
}

/* ── Video-Rahmen ───────────────────────────────────────────────────────── */
.videoframe { margin: clamp(2.5rem, 6vw, 4.5rem) auto 0; max-width: 940px; }
.videoframe__inner {
  position: relative; border: 1px solid var(--rule); padding: 8px; background: var(--ink-2);
}
.videoframe__inner::before,
.videoframe__inner::after {
  content: ''; position: absolute; width: 12px; height: 12px; border: 1px solid var(--gold-dim);
}
.videoframe__inner::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.videoframe__inner::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.videoframe video { width: 100%; display: block; }
.videoframe__cap {
  margin-top: .9rem; font-family: var(--f-ui); font-size: var(--t-meta);
  letter-spacing: .22em; text-transform: uppercase; color: var(--dim);
  text-align: center;
}

/* ── Kennzahlen-Leiste ─────────────────────────────────────────────────── */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.fact { min-width: 0; padding: clamp(1.6rem, 3.5vw, 2.4rem) 1rem; text-align: center; border-left: 1px solid var(--rule); }
.fact:first-child { border-left: 0; }
.fact__num {
  font-family: var(--f-serif); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1;
  color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.fact__label {
  margin-top: .7rem; font-family: var(--f-ui); font-size: .58rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--dim); overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ── Sektionen ──────────────────────────────────────────────────────────── */
.section { padding: clamp(4.5rem, 10vw, 9rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--sunken { background: var(--ink-2); }

.section__head { text-align: center; }
.section__title {
  color: var(--gold);
  font-size: var(--t-h2); line-height: 1.06; letter-spacing: -.02em;
}
.section__sub {
  margin-top: 1.1rem; font-size: var(--t-lead); color: var(--cream);
}

/* ── Vereinsgeschichte: asymmetrisch ───────────────────────────────────── */
.history { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--gap); align-items: start; }
.history__block { position: relative; padding-left: 1.6rem; }
.history__block::before {
  content: ''; position: absolute; left: 0; top: .55rem; width: 1px; height: calc(100% - .8rem);
  background: var(--rule);
}
.history__block:first-child::before { background: linear-gradient(180deg, var(--gold-dim), var(--rule)); }
.history__block + .history__block { margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.history__h {
  color: var(--gold);
  font-size: var(--t-h3); line-height: 1.2; margin-bottom: .9rem;
}
.history__p { font-size: var(--t-body); line-height: 1.8; color: var(--cream); }
.history__block:first-child .history__p::first-letter {
  float: left; font-family: var(--f-serif); font-size: 3.6em; line-height: .78;
  padding: .04em .1em 0 0; color: var(--gold-hi);
}
.history__link {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem;
  font-family: var(--f-ui); font-size: .74rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid var(--gold-dim); padding-bottom: 4px;
  transition: color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease);
}
.history__link:hover { color: var(--gold-hi); border-color: var(--gold-hi); gap: .85rem; }

.figcard {
  position: relative; border: 1px solid var(--rule); background: var(--ink-2);
  padding: 10px; overflow: hidden;
  transition: border-color .4s var(--ease);
}
.figcard:hover { border-color: var(--rule-strong); }
.figcard img {
  width: 100%; height: clamp(340px, 46vw, 540px); object-fit: cover;
  transition: transform 1.2s var(--ease); filter: saturate(.95);
}
.figcard:hover img { transform: scale(1.03); }
.figcard__meta { padding: 1.2rem .7rem .35rem; }
.figcard__eyebrow {
  font-family: var(--f-ui); font-size: .58rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold);
}
.figcard__title { font-size: 1.35rem; color: var(--cream); margin-top: .5rem; }
.figcard__cap { font-family: var(--f-ui); font-size: .78rem; color: var(--dim); margin-top: .45rem; line-height: 1.65; }

@media (max-width: 880px) { .history { grid-template-columns: 1fr; } }

/* ── Zeitstrahl: vertikal, die Goldlinie folgt dem Seitenscroll ───────── */
.timeline { position: relative; max-width: 860px; margin-inline: auto; }
.timeline__track {
  --timeline-start: 18px;
  --timeline-length: calc(100% - 36px);
  --timeline-progress: var(--timeline-length);
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline__track::before,
.timeline__track::after {
  content: '';
  position: absolute;
  z-index: 0;
  left: 18px;
  top: var(--timeline-start);
  width: 1px;
  border-radius: 1px;
  pointer-events: none;
}
.timeline__track::before { height: var(--timeline-length); background: var(--rule-strong); }
.timeline__track::after {
  height: var(--timeline-progress);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 0 12px var(--gold-faint);
}
.tl-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(100px, 128px) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  min-height: 150px;
  padding: 0 0 clamp(3.2rem, 7vw, 5.5rem) 64px;
}
.tl-item:last-child { min-height: 0; padding-bottom: 0; }
.tl-item::after {
  content: '';
  position: absolute;
  left: 12px;
  top: 12px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 2px solid var(--gold-dim);
  box-shadow: 0 0 0 5px var(--ink-2);
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.tl-item.is-reached::after,
.tl-item--now::after {
  background: var(--gold);
  border-color: var(--gold-hi);
  box-shadow: 0 0 0 5px var(--ink-2), 0 0 18px var(--gold-faint);
}
.tl-item--key .tl-year { color: var(--gold-hi); }
.tl-year {
  grid-column: 1;
  grid-row: 1 / span 3;
  padding-top: 2px;
  font-family: var(--f-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.tl-title { grid-column: 2; font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--cream); line-height: 1.25; }
.tl-text { grid-column: 2; max-width: 56ch; font-family: var(--f-ui); font-size: .9rem; line-height: 1.75; color: var(--dim); margin-top: .55rem; }
.tl-tag {
  grid-column: 2;
  justify-self: start;
  display: inline-block;
  margin-top: .8rem;
  max-width: 100%;
  white-space: normal;
  font-family: var(--f-ui);
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.55;
  overflow-wrap: anywhere;
  color: var(--dim);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: .28rem .6rem;
}

/* Ohne JavaScript ist die Linie vollständig und jeder Eintrag sichtbar. */
.js .timeline.timeline--motion .timeline__track { --timeline-progress: 0px; }
.js .timeline.timeline--motion .tl-item {
  opacity: .5;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .65s var(--ease);
}
.js .timeline.timeline--motion .tl-item.is-reached { opacity: 1; transform: none; }

/* Großes Jubiläumsfeld direkt unter dem 50-Jahre-Inhalt. */
.anniversary-confetti {
  position: relative;
  grid-column: 2;
  display: block;
  width: 100%;
  height: clamp(220px, 30vw, 320px);
  margin-top: clamp(1.2rem, 2.5vw, 2rem);
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 8%, oklch(71% 0.095 78 / .13), transparent 62%),
    linear-gradient(90deg, transparent, var(--rule) 18%, var(--rule) 82%, transparent) top / 100% 1px no-repeat;
}
.confetti__piece {
  position: absolute;
  left: var(--left);
  top: var(--top);
  width: clamp(6px, .7vw, 9px);
  height: clamp(13px, 1.45vw, 19px);
  border-radius: 1px;
  background: var(--gold-hi);
  opacity: var(--alpha);
  transform: rotate(var(--rot));
  box-shadow: 0 0 13px oklch(71% 0.095 78 / .18);
}
.confetti__piece:nth-child(3n) { width: clamp(7px, .75vw, 10px); height: clamp(7px, .75vw, 10px); border-radius: 50%; }
.confetti__piece:nth-child(4n) { width: clamp(16px, 1.7vw, 23px); height: 3px; border-radius: 999px; }
.confetti__piece:nth-child(2n) { background: var(--gold); }
.js .anniversary-confetti.confetti--motion .confetti__piece {
  opacity: 0;
  transform: translate3d(var(--drift), -52px, 0) rotate(0) scale(.7);
}
.js .anniversary-confetti.confetti--motion.is-active .confetti__piece {
  animation: anniversary-confetti 1.15s cubic-bezier(.18,.76,.2,1) var(--delay) 1 forwards;
}
@keyframes anniversary-confetti {
  0% { opacity: 0; transform: translate3d(var(--drift), -52px, 0) rotate(0) scale(.7); }
  34% { opacity: 1; }
  76% { transform: translate3d(0, 7px, 0) rotate(var(--rot)) scale(1.03); }
  100% { opacity: var(--alpha); transform: translate3d(0, 0, 0) rotate(var(--rot)) scale(1); }
}

@media (max-width: 620px) {
  .timeline__track::before,
  .timeline__track::after { left: 12px; }
  .tl-item {
    grid-template-columns: minmax(0, 1fr);
    min-height: 170px;
    padding-left: 46px;
    padding-bottom: 3.8rem;
  }
  .tl-item::after { left: 6px; top: 9px; }
  .tl-year,
  .tl-title,
  .tl-text,
  .tl-tag,
  .anniversary-confetti { grid-column: 1; grid-row: auto; }
  .tl-year { font-size: 2rem; }
  .tl-title { margin-top: .55rem; }
  .anniversary-confetti { height: clamp(240px, 72vw, 290px); margin-top: 1.35rem; }
}

/* ── Vision / Mission Diptychon ────────────────────────────────────────── */
.diptych { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--rule); }
.panel {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
  padding-top: clamp(5rem, 12vw, 9rem);
  min-height: clamp(440px, 60vw, 640px);
}
.panel--v { background: var(--ink); border-right: 1px solid var(--rule); }
.panel--m { background: var(--ink-2); }
.panel .ghost {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; pointer-events: none; user-select: none;
}
.panel .ghost svg { width: min(58vw, 430px); height: auto; opacity: .055; }
.panel .content { position: relative; }
.panel .label-row { margin-bottom: 2rem; }
.panel .heading {
  font-family: var(--f-serif); font-style: normal;
  font-size: clamp(2.1rem, 3.6vw, 3.3rem); line-height: 1.08; color: var(--gold);
  margin-bottom: 1.8rem; letter-spacing: -.015em;
}
.panel .body {
  font-size: var(--t-body); line-height: 1.8; color: var(--cream); max-width: 42ch;
}
.panel .body + .body { margin-top: 1.1rem; }
.icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold); overflow: visible; }

/* Der Werte-Dreiklang baut sich einmalig Wort für Wort auf; ohne JS bleibt er statisch. */
.values__word { display: inline-block; }
.js .values-title.values--motion .values__word {
  opacity: 0;
  transform: translate3d(0, .22em, 0);
}
.js .values-title.values--motion.is-active .values__word {
  animation: values-word-in .55s cubic-bezier(.2,.72,.22,1) calc(var(--word-index) * 90ms) 1 forwards;
}
@keyframes values-word-in {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 700px) {
  .diptych { grid-template-columns: 1fr; }
  .panel { border-right: none !important; padding: 4rem 1.75rem 3.5rem; }
  .panel--v { border-bottom: 1px solid var(--rule); }
  .panel .ghost svg { width: 80vw; }
}

/* ── Sandstein-Band ────────────────────────────────────────────────────── */
.band-tan {
  position: relative; background: var(--tan); padding: clamp(3rem, 7vw, 6rem) 0;
}
.band-tan::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'>\
<filter id='p'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/>\
<feColorMatrix type='saturate' values='0'/></filter>\
<rect width='120' height='120' filter='url(%23p)' opacity='.35'/></svg>");
}
.band-tan > * { position: relative; }

.darkcard {
  background: var(--ink); border: 1px solid oklch(24% .014 65 / .8);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center; max-width: 1060px; margin: 0 auto;
  box-shadow: 0 60px 120px -60px oklch(20% .04 60 / .8);
}
.darkcard__title {
  font-family: var(--f-serif); color: var(--gold);
  font-size: var(--t-h2); line-height: 1.06; margin-top: 1.5rem; letter-spacing: -.02em;
}
.darkcard__lead {
  margin: 1.5rem auto 0; max-width: 52ch;
  font-family: var(--f-serif); font-size: var(--t-lead); line-height: 1.55; color: var(--cream);
}
.darkcard__body {
  margin: 1.4rem auto 0; max-width: 62ch;
  font-size: var(--t-body); line-height: 1.8; color: var(--cream);
}
.darkcard__body .g { color: var(--gold); }

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2.8rem, 6vw, 4.5rem);
  text-align: left;
}
.pillar { padding-top: 1.6rem; border-top: 1px solid var(--rule); }
.pillar__art {
  width: 100%; height: clamp(9rem, 15vw, 11.5rem); margin: 0 0 1.2rem;
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.pillar__art img {
  width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  filter: drop-shadow(0 18px 22px rgb(0 0 0 / .24));
}
.pillar__art--palm img { width: auto; }
.js .pillar[data-r] .pillar__art img {
  opacity: 0; transform: translateY(12px) scale(.985);
  clip-path: inset(0 100% 0 0);
  transition: opacity .65s var(--ease), transform 1s var(--ease), clip-path 1.25s var(--ease);
}
.js .pillar[data-r].is-in .pillar__art img {
  opacity: 1; transform: none; clip-path: inset(0);
}
.js .pillar[data-r]:nth-child(2) .pillar__art img { transition-delay: .12s; }
.js .pillar[data-r]:nth-child(3) .pillar__art img { transition-delay: .24s; }
.pillar h3 { font-family: var(--f-serif); font-size: 1.25rem; color: var(--cream); margin-bottom: .6rem; }
.pillar p { font-family: var(--f-ui); font-size: .85rem; line-height: 1.75; color: var(--dim); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--f-ui); font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  background: var(--cream); color: #14100a; border-radius: 999px;
  padding: .65rem .65rem .65rem 1.5rem;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -20px #000; }
.btn__dot {
  width: 28px; height: 28px; border-radius: 50%; background: #14100a; color: var(--cream);
  display: grid; place-items: center; transition: transform .3s var(--ease);
}
.btn:hover .btn__dot { transform: translateX(3px); }
.btn__dot svg { width: 13px; height: 13px; }
.btn--gold { background: var(--tan); color: #16120b; }
.btn--gold .btn__dot { background: #16120b; color: var(--tan); }
.btn--ghost {
  background: transparent; color: var(--gold); border: 1px solid var(--rule-strong);
  padding: .75rem 1.5rem;
}
.btn--ghost:hover { background: var(--gold-faint); border-color: var(--gold); }
.btn-row { display: flex; justify-content: center; margin-top: clamp(2.2rem, 5vw, 3.5rem); }

/* ── Neuigkeiten ────────────────────────────────────────────────────────
   Bewusst dunkel: das Sandsteinband bleibt der Engagement-Sektion als
   einziger heller Akzent vorbehalten. */
.news-band {
  background: var(--ink-2); color: var(--cream);
  border-top: 1px solid var(--rule);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
}
.news-band__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  border-bottom: 1px solid var(--rule); padding-bottom: 1.4rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.news-band__title {
  font-family: var(--f-serif); font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--gold); letter-spacing: -.02em; line-height: 1;
}
.news-band__meta {
  font-family: var(--f-ui); font-size: .6rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--dim);
}
.newsrow {
  display: grid; grid-template-columns: 280px 1fr; gap: var(--gap);
  align-items: start; padding: clamp(1.4rem, 3vw, 2.2rem) 0;
  border-bottom: 1px solid var(--rule);
}
.newsrow__media { overflow: hidden; border: 1px solid var(--rule); }
.newsrow img {
  width: 100%; height: 180px; object-fit: cover;
  transition: transform 1s var(--ease); filter: saturate(.92);
}
.newsrow:hover img { transform: scale(1.04); }
.newsrow__date {
  font-family: var(--f-ui); font-size: .6rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .55rem;
}
.newsrow__title {
  font-family: var(--f-serif); font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  color: var(--cream); line-height: 1.15; letter-spacing: -.015em;
}
.newsrow__text {
  font-size: .92rem; line-height: 1.8; color: var(--dim);
  margin-top: .8rem; max-width: 58ch;
}
.newsrow__more {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem;
  font-family: var(--f-ui); font-size: .7rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid var(--gold-dim); padding-bottom: 5px; min-height: 25px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.newsrow__more:hover { gap: .85rem; color: var(--gold-hi); }
.chip--draft {
  display: inline-block; margin-bottom: .6rem;
  font-family: var(--f-ui); font-size: .55rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim); border: 1px solid var(--rule); border-radius: 999px; padding: .18rem .7rem;
}
@media (max-width: 780px) { .newsrow { grid-template-columns: 1fr; } }

/* ── Projekt-Zeilen ─────────────────────────────────────────────────────── */
.project { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--rule); }
.project:first-of-type { border-top: none; }
.project__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--gap); align-items: center; }
.project--flip .project__media { order: -1; }
.project__index {
  font-family: var(--f-ui); font-size: var(--t-meta); font-weight: 500;
  letter-spacing: .24em; color: var(--gold-dim); font-variant-numeric: tabular-nums;
  margin-bottom: 1rem;
}
.project__title {
  font-family: var(--f-serif); font-size: clamp(2rem, 4.2vw, 3rem);
  color: var(--cream); margin-bottom: 1.6rem; letter-spacing: -.02em; line-height: 1.02;
}
.project__sub {
  font-family: var(--f-ui); font-size: .62rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem;
}
.project__text {
  font-size: var(--t-body); line-height: 1.8;
  color: var(--dim); margin-bottom: 1.6rem; max-width: 44ch;
}
.project__media { overflow: hidden; border: 1px solid var(--rule); }
.project__media img, .project__media video {
  width: 100%; height: clamp(260px, 32vw, 420px); object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.project:hover .project__media img { transform: scale(1.03); }
@media (max-width: 860px) {
  .project__grid { grid-template-columns: 1fr; }
  .project--flip .project__media { order: 0; }
}

/* ── Publikationen ─────────────────────────────────────────────────────── */
.pubgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); }
.pubcard {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f6f4f1 0%, #e8e4de 100%);
  padding: 1.2rem; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 4; text-align: left;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pubcard::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 9px;
  background: linear-gradient(90deg, rgba(0,0,0,.16), transparent);
}
.pubcard::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid rgba(20,16,10,.1);
}
.pubcard:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px #000; }
.pubcard__eyebrow {
  font-family: var(--f-ui); font-size: .58rem; letter-spacing: .2em;
  text-transform: uppercase; color: #6c6863;
}
.pubcard__title { font-size: 1.4rem; color: #14100a; margin-top: .3rem; }
@media (max-width: 880px) { .pubgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pubgrid { grid-template-columns: 1fr; } }

/* ── Formulare ─────────────────────────────────────────────────────────── */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
@media (max-width: 860px) { .split--wide { grid-template-columns: 1fr; } }

.donatecard.contact-intro { text-align: left; }
.contact-form.form { max-width: none; margin: 0; }

.form { max-width: 700px; margin: clamp(2rem, 5vw, 3rem) auto 0; }
.form__grid, .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
.form__full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form__grid, .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-family: var(--f-ui); font-size: .68rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem;
}
.field input, .field textarea, .field select {
  width: 100%; background: var(--ink-4); border: 1px solid var(--rule-strong); border-radius: 4px;
  padding: .9rem 1rem; color: var(--cream); font-family: var(--f-ui); font-size: .92rem;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-dim); background: var(--ink-4); }
.contact-form .btn[type="submit"] {
  width: auto; min-width: 11rem; max-width: 100%; display: inline-flex;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field textarea { min-height: 140px; resize: vertical; }
.field select { min-height: 48px; color-scheme: dark; }
.form button {
  width: 100%; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--tan); color: #16120b; padding: 1rem;
  font-family: var(--f-ui); font-size: .82rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s var(--ease);
}
.form button:hover { background: var(--gold-hi); }
.form button:disabled { cursor: wait; opacity: .68; }
.form__note { font-family: var(--f-ui); font-size: .75rem; color: var(--dim); margin-top: 1rem; line-height: 1.65; }
.form-consent { display: flex; align-items: flex-start; gap: .7rem; color: var(--dim); font: 400 .8rem/1.6 var(--f-ui); margin: .5rem 0 1.25rem; }
.form-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--gold); }
.form-consent a { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; }
.form-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { min-height: 1.6em; margin-top: .8rem; color: var(--cream); font: 500 .82rem/1.6 var(--f-ui); }
.form-status[data-state="success"] { color: #b9d7ae; }
.form-status[data-state="error"] { color: #efb5a9; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ── Inventur ───────────────────────────────────────────────────────────── */
.toc {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.toc a {
  font-family: var(--f-ui); font-size: .82rem; color: var(--cream);
  border: 1px solid var(--rule); border-radius: 999px;
  padding: .5rem 1.1rem; min-height: 24px;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.toc a:hover { color: var(--gold); border-color: var(--gold-dim); background: var(--gold-faint); }

.street-block {
  /* Die Navigation liegt fest ueber dem Inhalt — Sprungziele muessen darunter sitzen. */
  scroll-margin-top: 6rem;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
}
.street-block:last-of-type { border-bottom: none; }

.street__head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .9rem 1.4rem;
  margin: 0 0 clamp(1.2rem, 3vw, 1.8rem);
}
.street__name {
  font-family: var(--f-serif); font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--gold); line-height: 1.05; letter-spacing: -.02em;
}
.street__meta {
  font-family: var(--f-ui); font-size: .62rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--dim);
}

.street { text-align: center; margin: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.2rem); }
.street img {
  width: min(320px, 70vw); margin: 0 auto;
  transition: transform .4s var(--ease); filter: drop-shadow(0 18px 30px rgba(0,0,0,.5));
}
.street a:hover img { transform: translateY(-3px) scale(1.02); }
.invgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 2vw, 1.4rem); }
.invcard {
  position: relative; overflow: hidden; background: var(--ink-2);
  border: 1px solid var(--rule); transition: border-color .35s var(--ease);
}
.invcard:hover { border-color: var(--rule-strong); }
.invcard img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform 1s var(--ease);
}
.invcard:hover img { transform: scale(1.04); }
.invcard__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2rem .9rem .8rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
  font-family: var(--f-ui); font-size: .62rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: #fff;
}
@media (max-width: 860px) { .invgrid { grid-template-columns: repeat(2, 1fr); } }

/* ── Links-Liste ───────────────────────────────────────────────────────── */
.linklist { display: grid; max-width: 760px; }
.linklist a, .linklist span {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--f-ui); font-size: .95rem; font-weight: 500;
  color: var(--cream); padding: .95rem 0; border-bottom: 1px solid var(--rule);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.linklist a:hover { color: var(--gold); padding-left: .6rem; }
.linklist span { color: var(--dim); }

/* ── Fördern ───────────────────────────────────────────────────────────── */
.donatecard {
  background: var(--ink-2); border: 1px solid var(--rule); border-radius: 4px;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem); text-align: center;
}
.donatecard__iban {
  display: inline-block; margin-top: .8rem;
  font-family: var(--f-ui); font-size: clamp(1rem, 2vw, 1.25rem); color: var(--cream);
  letter-spacing: .08em; font-variant-numeric: tabular-nums;
  border: 1px dashed var(--rule-strong); padding: .8rem 1.4rem; border-radius: 4px;
}
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(2.5rem, 5vw, 3.5rem); text-align: left; }
.duo > div { padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.duo h3 { font-family: var(--f-serif); font-size: 1.35rem; color: var(--gold); margin-bottom: .7rem; }
.duo p { font-family: var(--f-ui); font-size: .88rem; line-height: 1.75; color: var(--dim); }
.duo svg { width: 28px; height: 28px; color: var(--gold); margin-bottom: 1rem; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } }

/* ── Fließtext / Rechtstexte ───────────────────────────────────────────── */
.prose h2 {
  font-family: var(--f-serif); color: var(--gold);
  font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 3rem 0 1.1rem; letter-spacing: -.015em;
}
.prose h3 { font-family: var(--f-serif); font-size: 1.25rem; color: var(--cream); margin: 2rem 0 .6rem; }
.prose p, .prose li { font-family: var(--f-ui); font-size: .92rem; line-height: 1.9; color: var(--dim); }
.prose p + p { margin-top: 1rem; }
.prose ul { margin: 1rem 0 1rem 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.prose a:hover { color: var(--gold-hi); }
.prose strong { font-weight: 500; color: var(--cream); }

/* ── Satzung ───────────────────────────────────────────────────────────── */
.date-block { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.date-label {
  font-family: var(--f-ui); font-size: .55rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--dim); margin-bottom: .7rem;
}
.date-big {
  font-family: var(--f-serif); font-style: italic; font-size: clamp(3rem, 9vw, 7rem);
  line-height: .95; color: var(--gold); letter-spacing: -.03em;
  position: relative; display: inline-block; font-variant-numeric: tabular-nums;
}
.date-ghost {
  position: absolute; inset-block-start: 0; inset-inline-start: 0;
  font-size: clamp(5rem, 20vw, 14rem); color: oklch(71% .095 78 / .03);
  white-space: nowrap; pointer-events: none; user-select: none; z-index: -1;
  transform: translate(-8%, -10%);
}
.date-sub { font-family: var(--f-serif); font-size: var(--t-lead); color: var(--dim); margin-top: 1.2rem; line-height: 1.7; }

.charter-card {
  border: 1px solid var(--rule); padding: 2rem 2.25rem;
  display: flex; align-items: center; gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5rem); background: var(--ink-2);
}
.charter-thumb {
  flex-shrink: 0; width: 72px; height: 92px; border: 1px solid var(--rule);
  display: grid; place-items: center; position: relative; background: var(--ink-3);
}
.charter-thumb svg { width: 44px; height: 56px; opacity: .4; color: var(--gold); }
.charter-thumb::before {
  content: 'Abb.'; position: absolute; bottom: 4px; left: 0; right: 0; text-align: center;
  font-family: var(--f-ui); font-size: .45rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--dim);
}
.charter-title { font-style: italic; font-size: 1.2rem; color: var(--cream); margin-bottom: .4rem; }
.charter-date { font-family: var(--f-ui); font-size: .6rem; letter-spacing: .14em; color: var(--dim); margin-bottom: 1.3rem; }
.pdf-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-ui); font-size: .6rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--rule-strong); padding: .6rem 1.1rem;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.pdf-btn:hover { background: var(--gold-faint); border-color: var(--gold); }
.pdf-btn svg { width: 12px; height: 12px; flex-shrink: 0; }
.divider { height: 1px; background: var(--rule); margin-bottom: clamp(3rem, 6vw, 5rem); }
.goals-head {
  font-family: var(--f-serif); font-style: italic; font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--gold); line-height: 1.12; margin-bottom: 2rem; max-width: 22ch; letter-spacing: -.02em;
}
.goals-body { font-size: var(--t-body); line-height: 1.8; color: var(--cream); max-width: 66ch; }
.goals-body + .goals-body { margin-top: 1.5rem; }
.scan { margin-top: clamp(2rem, 4vw, 3rem); border: 1px solid var(--rule); }
@media (max-width: 560px) { .charter-card { flex-direction: column; align-items: flex-start; gap: 1.25rem; } .date-ghost { display: none; } }

/* ── Artikel ───────────────────────────────────────────────────────────── */
.article { max-width: 780px; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid var(--rule); }
.article:first-of-type { border-top: none; }
.article__media { overflow: hidden; }
.article__img {
  width: 100%; height: clamp(230px, 34vw, 430px); object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.article:hover .article__img { transform: scale(1.02); }
.article__date {
  display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
  font-family: var(--f-ui); font-size: .6rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin: 1.8rem 0 .8rem;
}
.article__title { font-family: var(--f-serif); font-size: clamp(1.9rem, 3.8vw, 2.8rem); line-height: 1.1; color: var(--cream); letter-spacing: -.02em; }
.article__lead { font-family: var(--f-serif); font-style: italic; font-size: var(--t-lead); color: var(--gold); margin-top: .8rem; }
.article__body { font-size: var(--t-body); line-height: 1.8; color: var(--cream); margin-top: 1.4rem; }
.article__body p + p { margin-top: 1rem; }

/* ── Newsletter ────────────────────────────────────────────────────────── */
.newsletter { text-align: center; border-top: 1px solid var(--rule); padding: clamp(3.5rem, 8vw, 5.5rem) 0; background: var(--ink-2); }
.newsletter__form { display: flex; gap: .6rem; max-width: 480px; margin: 2rem auto 0; }
.newsletter__form input {
  flex: 1; background: var(--ink-3); border: 1px solid var(--rule); border-radius: 999px;
  padding: .85rem 1.3rem; color: var(--cream); font-family: var(--f-ui); font-size: .9rem;
}
.newsletter__form input:focus { border-color: var(--gold-dim); }
.newsletter__form button {
  border: 0; border-radius: 999px; cursor: pointer; background: var(--tan); color: #16120b;
  padding: .85rem 1.8rem; font-family: var(--f-ui); font-size: .8rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
}
.newsletter__form button:hover { background: var(--gold-hi); }
@media (max-width: 520px) { .newsletter__form { flex-direction: column; } }

/* ── Abschlussband ─────────────────────────────────────────────────────── */
.closing {
  background: var(--ink-2); border-top: 1px solid var(--rule);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); }
.way {
  display: flex; flex-direction: column; background: var(--ink-2);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  transition: background .35s var(--ease);
}
.way:hover { background: var(--ink-3); }
.way__label {
  font-family: var(--f-ui); font-size: .58rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.2rem;
}
.way__title {
  font-family: var(--f-serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--cream); line-height: 1.15; margin-bottom: .8rem;
}
.way__text { font-size: .88rem; line-height: 1.75; color: var(--dim); flex: 1; }
.way__more {
  margin-top: 1.6rem; font-family: var(--f-ui); font-size: .7rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  transition: color .25s var(--ease);
}
.way:hover .way__more { color: var(--gold-hi); }
.way--compact { min-height: 260px; align-items: center; justify-content: center; text-align: center; }
.way--compact .way__title { margin: 1.1rem 0 0; }
.way__symbol { width: 68px; height: 68px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease), stroke .3s var(--ease); }
.way--compact:hover .way__symbol { transform: translateY(-4px); stroke: var(--gold-hi); }
@media (max-width: 820px) { .ways { grid-template-columns: 1fr; } }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { position: relative; overflow: hidden; background: var(--ink-2); border-top: 1px solid var(--rule); }
.footer__bg { position: absolute; inset: 0; z-index: 0; }
.footer__bg img { width: 100%; height: 100%; object-fit: cover; }
.footer__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(8.5% .012 68 / .9), oklch(8.5% .012 68 / .985));
}
.footer__inner { position: relative; z-index: 1; padding: clamp(3.5rem, 8vw, 6rem) 0 2rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--gap); }
.footer__brand { display: flex; gap: 1.1rem; align-items: flex-start; }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto; }
.footer__name { font-size: 1.7rem; color: var(--cream); line-height: 1.1; letter-spacing: -.02em; }
.footer__claim { font-family: var(--f-ui); font-size: .82rem; color: var(--dim); margin-top: .6rem; line-height: 1.75; max-width: 34ch; }
.footer h2 {
  font-family: var(--f-ui); font-size: .56rem; font-weight: 500; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem;
}
.footer__list { display: grid; gap: .6rem; }
.footer__list a {
  font-family: var(--f-ui); font-size: .88rem; color: var(--cream);
  display: inline-flex; align-items: center; min-height: 24px;
  transition: color .25s var(--ease);
}
.footer__list a:hover { color: var(--gold); }
.footer__contact { font-family: var(--f-ui); font-size: .88rem; color: var(--cream); line-height: 1.9; }
.footer__contact a:hover { color: var(--gold); }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.footer__legal { font-family: var(--f-ui); font-size: .74rem; color: var(--dim); display: flex; gap: 1.3rem; flex-wrap: wrap; align-items: center; }
/* WCAG 2.2, 2.5.8: Zielflaeche mindestens 24x24 CSS-Pixel. */
.footer__legal a, .footer__contact a {
  display: inline-flex; align-items: center; min-height: 24px;
}
.footer__legal a:hover { color: var(--gold); }
.footer__by {
  display: grid; gap: .15rem; min-height: 44px; align-content: center;
  font-family: var(--f-ui); color: var(--dim); text-align: right;
}
.footer__by span { font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; }
.footer__by strong { color: var(--cream); font-size: .82rem; font-weight: 500; transition: color .25s var(--ease); }
.footer__by:hover strong { color: var(--gold); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr; } }

/* ── Reveal ────────────────────────────────────────────────────────────── */
/* Der Reveal greift nur, wenn JavaScript nachweislich laeuft. Ohne die
   .js-Klasse — kein JavaScript, Skriptfehler, blockierende Erweiterung —
   steht der gesamte Inhalt sofort sichtbar da. */
.js [data-r] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js [data-r].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-r] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .progress { display: none; }
  .figcard img, .newsrow img, .invcard img, .project__media img, .article__img { transition: none; }
  .js .pillar[data-r] .pillar__art img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .js .anniversary-confetti.confetti--motion .confetti__piece,
  .js .values-title.values--motion.is-active .values__word { animation: none; opacity: 1; transform: none; }
}

/* Client correction: credits attach to their image, caption follows below. */
.archive-image-link { position: relative; }
.photo-credit { position:absolute; right:10px; bottom:8px; padding:2px 5px; font:11px/1.35 Inter,sans-serif; color:#fff; background:#0009; }
.archive-figure figcaption .archive-credit { display:block; text-align:right; margin:4px 0 7px; }
.archive-caption { display:block; text-align:left; }
.publication-request { margin-top:3rem; }
.cms-editbar { position:fixed; bottom:18px; right:18px; z-index:1000; display:flex; flex-wrap:wrap; gap:10px; max-width:calc(100% - 36px); padding:12px; background:#191713; border:1px solid #b99a61; box-shadow:0 4px 20px #0009; }
.cms-editbar a { color:#f4dab0; font:14px/1.4 Inter,sans-serif; text-decoration:underline; padding:4px; }

.anniversary-confetti { height:180px; background:radial-gradient(ellipse, #bda06b12, transparent 70%); margin-top:1rem; }
.anniversary-confetti__number { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; font:136px/.85 "Instrument Serif",serif; color:var(--gold); opacity:.82; }
.confetti__piece { opacity:calc(var(--alpha) * .7); }
@media(max-width:620px){ .anniversary-confetti { height:150px; } .anniversary-confetti__number { font-size:110px; } }

.archive-image-link--metropol { display:block; overflow:hidden; aspect-ratio:1.45; }
.archive-image-link--metropol img { position:absolute; width:148.6%; max-width:none; height:auto; left:-16.2%; top:-17.5%; }

.anniversary-confetti__number small { font: 32px/1.1 "Instrument Serif",serif; }

.archive-photo-frame { display: block; position: relative; align-self: center; }
.inventory-step .archive-photo-frame img { height: auto; }

/* Inventur: separate destinations, existing spacing tokens. */
.project__cta { display:flex; flex-wrap:wrap; gap:1rem; margin-top:1.5rem; }

/* Original Inventur illustrations from the customer's correction PDF. */
.inventory-overview { display:grid; grid-template-columns:1fr 1fr; gap:1rem; align-items:start; }
.inventory-overview figure { min-width:0; }
.inventory-overview figure:first-child img { object-fit:contain; max-height:300px; }
.inventory-document { max-width:620px; margin:2rem 0 3rem; }
.inventory-document img { width:100%; height:auto; object-fit:contain; }
@media(max-width:600px) { .inventory-overview { grid-template-columns:1fr; } }

#inventur-1975, #inventur-2025, #inventur-projekt { scroll-margin-top:110px; }
#inventur-1975 .inventory-sequence { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:780px) { #inventur-1975 .inventory-sequence { grid-template-columns:minmax(0,1fr); } }

.cms-page-credit { display: block; font-size: .75rem; line-height: 1.5; margin-top: .4rem; opacity: .8; }
.cms-page-credit[hidden] { display: none; }
.tl-description { margin-top: .5rem; max-width: 60ch; white-space: pre-line; }

/* Nachtfinalisierung: customer-supplied archival photo sequence. */
.source-gallery { margin: 3rem 0; }
.source-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.source-gallery figure { margin: 0; }
.source-gallery img { width: 100%; height: auto; display: block; }
.source-gallery figcaption { margin-top: .55rem; font-size: .82rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 680px) { .source-gallery__grid { grid-template-columns: 1fr; } }


/* YouTube: local placeholder, provider iframe only after an explicit click. */
.youtube-video__screen {
  display: grid; place-items: center; width: 100%; min-height: 200px;
  aspect-ratio: 16 / 9; background: var(--ink-2);
}
[data-youtube-video="O3Dk__bU6OQ"] .youtube-video__screen {
  background: linear-gradient(rgba(15,13,10,.4), rgba(15,13,10,.65)), url('../img/lusthaus-poster-2.webp') center / cover;
}
.youtube-video__screen iframe { display: block; width: 100%; height: 100%; min-height: 200px; border: 0; }
.youtube-video__screen .btn { max-width: calc(100% - 2rem); white-space: normal; text-align: center; }
[data-youtube-load][hidden] { display: none; }
.youtube-video__notice { color: var(--dim); font-size: var(--t-meta); text-align: center; margin: 1rem 0 0; }
.youtube-video .archive-actions { justify-content: center; }
