/* =========================================================================
   Bürgerinitiative für Mörel — Stylesheet
   Ästhetik: organisch-editorial, ruhig, sachlich. Papier + Moorgrün.
   Display: Fraunces · Text: Hanken Grotesk
   ========================================================================= */

:root {
  /* Farben */
  --moor:      #21392c;   /* tiefes Moorgrün – Primär */
  --moor-dk:   #16271e;   /* fast schwarzgrün – Header/Footer */
  --reed:      #4f6f4a;   /* Schilfgrün – mittlere Akzente */
  --sage:      #8aa07e;   /* Salbei – dezente Linien */
  --water:     #2f5f63;   /* Au-Wasser – Links/Akzent */
  --water-dk:  #234a4e;
  --rust:      #a24a25;   /* gedämpftes Rost – nur „Kritik“ */
  --rust-dk:   #843a1c;
  --paper:     #f5f2e9;   /* warmes Papier – Grundfläche */
  --paper-2:   #eee9da;   /* etwas tiefer */
  --card:      #fbfaf4;
  --ink:       #1d2620;   /* Text */
  --ink-soft:  #46544b;   /* Sekundärtext */
  --line:      #d8d2c0;   /* Hairlines */

  --maxw:      72rem;
  --readw:     40rem;     /* Lesespalte */
  --radius:    3px;
  --shadow:    0 1px 2px rgba(22,39,30,.06), 0 12px 28px -16px rgba(22,39,30,.32);
  --shadow-lg: 0 2px 6px rgba(22,39,30,.08), 0 28px 60px -28px rgba(22,39,30,.45);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset / Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  /* feine Körnung + sanftes Lichtspiel */
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(79,111,74,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 5%, rgba(47,95,99,.08), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed, fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 540;
  line-height: 1.1;
  color: var(--moor);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); }

p { margin: 0 0 1.1em; }
a { color: var(--water); text-decoration: none; }

strong { font-weight: 650; }

/* ---------- Layout-Helfer ---------- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.read { max-width: var(--readw); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--reed);
  margin: 0 0 1rem;
}
.eyebrow.rust { color: var(--rust); }

/* Inline-Textlinks mit Aufzieh-Unterstrich */
.prose a, a.link {
  color: var(--water-dk);
  background-image: linear-gradient(var(--water), var(--water));
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 1px;
  border-bottom: 1.5px solid rgba(47,95,99,.32);
  transition: background-size .3s ease;
}
.prose a:hover, a.link:hover { background-size: 100% 1.5px; border-bottom-color: transparent; }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,242,233,.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--moor); margin-right: auto; }
.brand:hover { color: var(--moor); }
.brand__mark { width: 38px; height: 38px; flex: none; color: var(--water); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__title { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; color: var(--moor); }
.brand__sub { font-size: .72rem; color: var(--ink-soft); letter-spacing: .01em; }
@media (max-width: 560px){ .brand__sub { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 650; font-size: .95rem;
  padding: .6rem 1.1rem; border-radius: 100px;
  border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn--primary { background: var(--moor); color: #f3f0e6; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--moor-dk); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--moor); border-color: var(--sage); }
.btn--ghost:hover { background: var(--paper-2); border-color: var(--reed); }
.btn--rust { background: var(--rust); color: #fdf3ec; }
.btn--rust:hover { background: var(--rust-dk); color:#fff; transform: translateY(-1px); }
.btn--lg { padding: .85rem 1.6rem; font-size: 1.05rem; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  background: transparent; border: 1.5px solid var(--sage); border-radius: 100px;
  padding: .55rem 1rem; cursor: pointer; color: var(--moor);
  font-family: var(--sans); font-weight: 650; font-size: .95rem;
}
.nav-toggle:hover { background: var(--paper-2); }
.nav-toggle svg { width: 18px; height: 18px; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
@media (max-width: 480px){ .header-actions .btn--primary { display: none; } }

/* ---------- Slide-in Themen-Menü ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(22,39,30,.45); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-panel {
  position: fixed; top: 0; right: 0; z-index: 61;
  width: min(420px, 90vw); height: 100%;
  background: var(--moor-dk); color: #e9ecdf;
  padding: 1.5rem clamp(1.25rem, 3vw, 2.25rem) 2.5rem;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,.0,.2,1);
  overflow-y: auto; box-shadow: -30px 0 60px -30px rgba(0,0,0,.6);
}
.menu-overlay.open .menu-panel { transform: translateX(0); }
.menu-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.menu-panel__head span { font-family: var(--serif); font-size: 1.3rem; color: #f3f0e6; }
.menu-close { background: none; border: none; color: #cdd6c4; cursor: pointer; padding: .3rem; line-height: 0; }
.menu-close svg { width: 26px; height: 26px; }
.menu-close:hover { color: #fff; }

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { border-top: 1px solid rgba(255,255,255,.12); }
.menu-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.menu-list a {
  display: flex; align-items: baseline; gap: .9rem; padding: .85rem .2rem;
  color: #e9ecdf; transition: color .15s, padding .2s;
}
.menu-list a:hover { color: #fff; padding-left: .6rem; }
.menu-list .num { font-family: var(--serif); color: var(--sage); font-size: .95rem; min-width: 1.3rem; }
.menu-list .ttl { font-family: var(--serif); font-size: 1.15rem; }
.menu-list a[aria-current="page"] { color: #fff; }
.menu-list a[aria-current="page"] .ttl { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sage); }
.menu-meta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .9rem; }
.menu-meta a { color: #bcc7b4; border-bottom: 1px solid transparent; }
.menu-meta a:hover { color: #fff; border-bottom-color: var(--sage); }

/* =========================================================================
   Hero (Startseite)
   ========================================================================= */
.hero {
  position: relative; color: #f3f0e6; overflow: hidden;
  background: var(--moor-dk);
}
.hero__bg {
  position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%;
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,39,30,.55) 0%, rgba(22,39,30,.35) 35%, rgba(22,39,30,.85) 100%),
    radial-gradient(120% 80% at 20% 0%, rgba(33,57,44,.2), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(4.5rem, 12vw, 9rem); }
.hero__kicker {
  display: inline-flex; align-items:center; gap:.6rem;
  font-weight: 700; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  color: #cdd6c4; margin-bottom: 1.4rem;
}
.hero__kicker::before { content:""; width: 28px; height: 1.5px; background: var(--sage); display:inline-block; }
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: .35em; }
.hero__sub {
  font-family: var(--serif); font-style: italic; font-weight: 380;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); color: #e7ead d; color:#e7eadd;
  max-width: 30ch; margin-bottom: 2rem; line-height: 1.3;
}
.hero__lead { max-width: 46ch; color: #e3e7d8; font-size: 1.08rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero .btn--ghost { color: #f3f0e6; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.1); border-color:#fff; }

/* Reveal-Animation */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.d1.in { transition-delay: .08s; }
.reveal.d2.in { transition-delay: .16s; }
.reveal.d3.in { transition-delay: .24s; }
.reveal.d4.in { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; } }

/* =========================================================================
   Intro-Band
   ========================================================================= */
.intro { background: var(--card); border-bottom: 1px solid var(--line); }
.intro__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 820px){ .intro__grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.intro h2 { margin-bottom: .6em; }
.intro .lead { font-size: 1.18rem; color: var(--ink); }
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--card); padding: 1.1rem 1.2rem; }
.facts dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--reed); font-weight: 700; margin-bottom: .2rem; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.05rem; color: var(--moor); }

/* =========================================================================
   Themen-Kacheln (Karrés)
   ========================================================================= */
.tiles {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
@media (min-width: 720px){ .tiles { grid-template-columns: repeat(6, 1fr); } }

.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 290px; padding: 1.5rem; border-radius: var(--radius);
  color: #f1efe5; overflow: hidden; isolation: isolate;
  box-shadow: var(--shadow); border: 1px solid rgba(22,39,30,.12);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tile img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1);
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(22,39,30,.15) 0%, rgba(22,39,30,.55) 55%, rgba(15,26,20,.92) 100%);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile:hover img { transform: scale(1.06); }
.tile__num { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: rgba(255,255,255,.55); margin-bottom: auto; }
.tile__tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #d7ddca; margin-bottom: .4rem; }
.tile__tag.rust { color: #f0b79b; }
.tile h3 { color: #fff; font-size: 1.3rem; margin-bottom: .35rem; }
.tile p { margin: 0; font-size: .95rem; color: #e0e3d6; }
.tile__arrow { margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; font-size: .9rem; color: #fff; }
.tile__arrow svg { width: 16px; height: 16px; transition: transform .3s ease; }
.tile:hover .tile__arrow svg { transform: translateX(4px); }
@media (min-width: 720px){
  .tile { grid-column: span 2; }
  .tile.c2 { grid-column: span 2; }
  .tile.c3 { grid-column: span 3; min-height: 330px; }
  .tile.c4 { grid-column: span 4; }
}

/* =========================================================================
   Sub-Header (Unterseiten)
   ========================================================================= */
.page-head { position: relative; color: #f1efe5; overflow: hidden; background: var(--moor-dk); }
.page-head__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-head::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(22,39,30,.6), rgba(22,39,30,.88)); }
.page-head__inner { position: relative; z-index: 2; padding-block: clamp(2.8rem, 7vw, 5rem); }
.page-head .crumb { font-size: .85rem; color: #cdd6c4; margin-bottom: 1rem; display:flex; gap:.5rem; flex-wrap:wrap; align-items:center;}
.page-head .crumb a { color: #cdd6c4; border-bottom: 1px solid transparent; }
.page-head .crumb a:hover { color: #fff; border-bottom-color: var(--sage); }
.page-head__num { font-family: var(--serif); font-size: .9rem; color: var(--sage); letter-spacing: .1em; }
.page-head h1 { color: #fff; max-width: 24ch; }
.page-head .standfirst { color: #e7eadd; font-size: 1.15rem; max-width: 52ch; margin-top: .6rem; }
.badge-kritik {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  background: var(--rust); color: #fdf1ea; font-weight: 700; font-size: .76rem;
  letter-spacing: .12em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 100px;
}

/* =========================================================================
   Artikel / Inhalt
   ========================================================================= */
.prose { max-width: var(--readw); }
.prose h2 { margin-top: 2.4em; }
.prose h2:first-child, .prose > :first-child { margin-top: 0; }
.prose h3 { margin-top: 2em; color: var(--moor); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--reed); }

/* Anchor-Frage als Zwischenüberschrift */
.qa { margin-top: 2.6em; }
.qa > h3 { color: var(--water-dk); }

/* Zitat-/Quellenblock */
blockquote.source-quote {
  margin: 1.6em 0; padding: 1.2rem 1.4rem; background: var(--card);
  border-left: 3px solid var(--reed); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif); font-size: 1.08rem; color: var(--ink); line-height: 1.5;
}
blockquote.source-quote p:last-child { margin-bottom: 0; }
blockquote.source-quote.rust { border-left-color: var(--rust); }
blockquote .who { display:block; margin-top:.7rem; font-family: var(--sans); font-style: normal; font-size: .85rem; color: var(--ink-soft); font-weight:600; }

/* Quellen-Verweis unter Inhalten */
.src { font-size: .9rem; color: var(--ink-soft); margin: -.4em 0 1.6em; }
.src::before { content: "Quelle: "; font-weight: 650; color: var(--reed); }
.src.multi::before { content: "Quellen: "; }
/* Wortgetreue Quellenzeile (Vorlagentext wird unverändert übernommen) */
.srcline { font-size: .9rem; color: var(--ink-soft); margin: -.2em 0 1.7em; }
.srcline a { word-break: break-word; }

/* =========================================================================
   Figuren & Karten
   ========================================================================= */
figure.media { margin: 2rem 0; }
figure.media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background:#fff; }
figure.media.bleed { max-width: var(--maxw); }
figure.media figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: .7rem; line-height: 1.45; }
figure.media figcaption b { color: var(--moor); font-weight: 650; }
.media-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 700px){ .media-grid.two { grid-template-columns: 1fr 1fr; } }

/* =========================================================================
   Download-Karten / Quellen-Liste
   ========================================================================= */
.docs { display: grid; gap: .8rem; grid-template-columns: 1fr; margin: 1.8rem 0; }
@media (min-width: 640px){ .docs.two { grid-template-columns: 1fr 1fr; } }
.doc {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .95rem 1.1rem; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.doc:hover { border-color: var(--reed); transform: translateY(-2px); box-shadow: var(--shadow); }
.doc__ic { flex: none; width: 34px; height: 34px; border-radius: 6px; display:grid; place-items:center; background: var(--paper-2); color: var(--rust); }
.doc__ic svg { width: 18px; height: 18px; }
.doc__ic.ext { color: var(--water); }
.doc__body { min-width: 0; }
.doc__t { font-weight: 650; color: var(--moor); line-height: 1.25; }
.doc:hover .doc__t { text-decoration: underline; text-underline-offset: 3px; }
.doc__m { font-size: .8rem; color: var(--ink-soft); margin-top: .15rem; }

/* Hinweis-Box */
.note {
  border: 1px solid var(--line); border-left: 3px solid var(--water);
  background: var(--card); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.3rem; margin: 1.8rem 0; font-size: .98rem;
}
.note.rust { border-left-color: var(--rust); }
.note p:last-child { margin-bottom: 0; }
.note__t { font-weight: 700; color: var(--moor); display:block; margin-bottom:.3rem; }

/* Zeitleiste (Chronik) */
.timeline { list-style: none; margin: 2rem 0; padding: 0; position: relative; }
.timeline::before { content:""; position:absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline > li { position: relative; padding: 0 0 1.6rem 2.2rem; }
.timeline > li::before { content:""; position:absolute; left: 0; top: 6px; width: 16px; height:16px; border-radius:50%; background: var(--paper); border: 3px solid var(--reed); }
.timeline > li.is-key::before { border-color: var(--rust); background: var(--rust); }
.timeline .date { font-family: var(--serif); font-weight: 600; color: var(--moor); font-size: 1.02rem; }
.timeline .what { display:block; color: var(--ink-soft); font-size: .98rem; }
.timeline .what a { color: var(--water-dk); border-bottom:1px solid rgba(47,95,99,.3);}
.timeline .what a:hover { border-bottom-color: var(--water); }

/* =========================================================================
   Prev/Next zwischen den Karrés
   ========================================================================= */
.pager { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (min-width: 640px){ .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .2s, transform .2s; }
.pager a:hover { border-color: var(--reed); transform: translateY(-2px); }
.pager .dir { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--reed); font-weight: 700; }
.pager .t { font-family: var(--serif); color: var(--moor); font-size: 1.1rem; }
.pager .next { text-align: right; }

/* =========================================================================
   Mitwirken — Formular & Pinnwand
   ========================================================================= */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.3rem; }
.field > label { display: block; font-weight: 650; color: var(--moor); margin-bottom: .4rem; }
.field .hint { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
.field input[type=text], .field input[type=email], .field input[type=password],
.field input[type=tel], .field input[type=url], .field input[type=number],
.field input[type=date], .field input[type=time], .field input[type=datetime-local],
.field input[type=search], .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: .7rem .85rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 160px; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--reed); box-shadow: 0 0 0 3px rgba(79,111,74,.18); }
.counter { text-align: right; font-size: .82rem; color: var(--ink-soft); margin-top: .3rem; }
.counter.over { color: var(--rust); font-weight: 700; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; font-size: .96rem; }
.check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--reed); flex:none; }
.form-actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.form-note { font-size: .85rem; color: var(--ink-soft); }

/* Pinnwand */
.board { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px){ .board { grid-template-columns: 1fr 1fr; } }
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow); position: relative; }
.post::before { content:"„"; position:absolute; top: .1rem; right: .8rem; font-family: var(--serif); font-size: 3rem; color: var(--paper-2); }
.post p { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); line-height: 1.45; }
.post__meta { display:flex; align-items:center; gap:.6rem; margin-top: .8rem; font-size: .85rem; color: var(--ink-soft); }
.post__who { font-weight: 700; color: var(--moor); font-family: var(--sans); }
.tag-anon { background: var(--paper-2); color: var(--reed); border-radius: 100px; padding: .1rem .55rem; font-size: .72rem; font-weight: 700; letter-spacing:.05em; }

/* Veranstaltungskalender */
.events { list-style:none; margin: 1.4rem 0; padding: 0; }
.events li { display:flex; gap: 1.1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items:baseline;}
.events .when { font-family: var(--serif); color: var(--rust); font-weight:600; min-width: 7.5rem; }
.events li .event-item__body { flex: 1; display: flex; flex-direction: column; gap: .55rem; }
.events li.is-mine { border-left: 3px solid var(--moor); padding-left: .8rem; margin-left: -.8rem; }

/* Interesse / Teilnahme (RSVP) */
.interest { display: flex; flex-direction: column; gap: .5rem; }
.interest__count { font-size: .85rem; color: var(--moor); font-weight: 600; }
.interest__count.muted { color: inherit; opacity: .6; font-weight: 400; }
.interest__rsvp { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.interest__q { font-size: .9rem; opacity: .85; }
.interest__btns { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.interest__btns form { margin: 0; }
.interest__btns .btn.is-active { cursor: default; }
.interest__thanks { font-weight: 600; color: var(--moor); margin: 0; }
.interest-block { margin: 1.6rem 0; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; }
.interest__form { margin-top: .6rem; }

/* Honeypot — kept out of sight and out of the accessibility tree */
.hp { position: absolute !important; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--moor-dk); color: #cdd6c4; margin-top: 0; }
.site-footer a { color: #cdd6c4; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-block: 3.2rem; }
@media (min-width: 760px){ .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.site-footer h4 { color: #f1efe5; font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }
.site-footer .f-brand { display:flex; gap:.7rem; align-items:center; margin-bottom: 1rem; }
.site-footer .f-brand svg { width: 34px; height:34px; color: var(--sage); }
.site-footer .f-brand b { font-family: var(--serif); font-size: 1.2rem; color:#f1efe5; font-weight:600; }
.site-footer p { font-size: .92rem; line-height: 1.6; }
.site-footer ul { list-style:none; margin:0; padding:0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer li a { border-bottom: 1px solid transparent; }
.site-footer li a:hover { color:#fff; border-bottom-color: var(--sage); }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.2rem; font-size: .82rem; color: #9fac96; display:flex; flex-wrap:wrap; gap:.5rem 1.5rem; justify-content: space-between; }
.pending { background: rgba(162,74,37,.22); color:#f0b79b; border-radius: 4px; padding: 0 .4rem; font-size: .82em; font-weight: 600; }

/* Utility */
.disclaimer { font-size: .82rem; color: #9fac96; max-width: 60ch; }
.hr { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.skip-link { position:absolute; left:-9999px; top:0; background:var(--moor); color:#fff; padding:.6rem 1rem; z-index:100; border-radius:0 0 4px 0;}
.skip-link:focus { left:0; }

/* =========================================================================
   CMS — News ("Aktuelles"), comments, content blocks, admin backend
   ========================================================================= */

/* News list */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.news-item:first-child { padding-top: 0; }
.news-item__date { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--reed); font-weight: 700; margin: 0 0 .3rem; }
.news-item__title { font-size: 1.5rem; margin: 0 0 .5rem; }
.news-item__title a { color: var(--moor); border-bottom: 1px solid transparent; }
.news-item__title a:hover { border-bottom-color: var(--sage); }
.news-item__excerpt { color: var(--ink-soft); margin-bottom: .6rem; max-width: var(--readw); }

/* Content blocks (editable text embedded in coded pages) */
.content-block { max-width: var(--readw); margin-bottom: 1.6rem; }
.content-block--empty {
  border: 1px dashed var(--sage); border-radius: var(--radius);
  padding: .7rem 1rem; margin-bottom: 1.6rem; font-size: .9rem; background: var(--paper-2);
}
.content-block__edit { margin: -.8rem 0 1.6rem; font-size: .82rem; }

/* Comments */
.comments { list-style: none; margin: 1.4rem 0; padding: 0; }
.comment { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comment__meta { display: flex; gap: .8rem; align-items: baseline; font-size: .82rem; color: var(--ink-soft); margin-bottom: .3rem; }
.comment__who { font-weight: 700; color: var(--moor); }
.comment p { margin: 0; }

/* Button size + a borderless "link-like" button (for inline destructive actions) */
.btn--sm { padding: .4rem .75rem; font-size: .85rem; }
.linklike { appearance: none; background: none; border: none; padding: 0; color: var(--rust); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.linklike:hover { color: var(--rust-dk); }

/* Status pills */
.pill { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: .15rem .55rem; border-radius: 100px; background: var(--paper-2); color: var(--reed); }
.pill--ok { background: rgba(79,111,74,.16); color: var(--reed); }
.pill--draft { background: var(--paper-2); color: var(--ink-soft); }

/* Admin sub-navigation */
.admin-nav { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 2rem; border-bottom: 1px solid var(--line); }
.admin-nav a { padding: .55rem .9rem; color: var(--ink-soft); font-weight: 650; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.admin-nav a:hover { color: var(--moor); }
.admin-nav a.is-active { color: var(--moor); border-bottom-color: var(--rust); }

/* Admin tables */
.admin-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.admin-table th { text-align: left; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--reed); font-weight: 700; padding: .5rem .7rem; border-bottom: 2px solid var(--line); }
.admin-table td { padding: .8rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tr:hover td { background: var(--paper-2); }
.admin-table__actions { white-space: nowrap; display: flex; gap: .4rem; flex-wrap: wrap; }

/* Wider form card for editor-bearing admin forms */
.form-card--wide { max-width: 52rem; }
