/* Hubertus Vötting – Stylesheet */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --tanne-900: #12301f;
  --tanne-800: #18402a;
  --tanne: #22573a;
  --tanne-600: #2f6e4b;
  --moos-100: #e3ece4;
  --papier: #f8f4ec;
  --leinen: #efe7d8;
  --sand: #dccdb2;
  --holz: #a8784a;
  --holz-dunkel: #7a5532;
  --rot: #7e1f25;
  --rot-hell: #f3e3e1;
  --tinte: #1d2420;
  --tinte-2: #4b544e;
  --linie: #d9cfbd;
  --weiss: #fffdf9;
  --hirsch: #2b2b2b;

  --schrift-titel: "Fraunces", Georgia, "Times New Roman", serif;
  --schrift-text: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --schatten: 0 1px 2px rgb(29 36 32 / .06), 0 8px 24px -12px rgb(29 36 32 / .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--tanne); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--rot); }
:focus-visible { outline: 3px solid var(--holz); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--schrift-titel); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--tanne-900); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.75rem); font-weight: 650; }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem); }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.springen { position: absolute; left: 1rem; top: -4rem; background: var(--tanne); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.springen:focus { top: 1rem; color: #fff; }

.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.schmal { max-width: 46rem; }
.abschnitt { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.abschnitt--leinen { background: var(--leinen); }
.abschnitt--tanne { background: var(--tanne-800); color: #eef3ee; }
.abschnitt--tanne h2, .abschnitt--tanne h3 { color: #fff; }
.abschnitt--tanne a { color: #fff; }

.kicker { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--schrift-text); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--holz-dunkel); margin-bottom: .9rem; }
.kicker::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; }
.abschnitt--tanne .kicker { color: var(--sand); }
.lead { font-size: 1.2em; color: var(--tinte-2); max-width: 40rem; }

/* Hirsch-Emblem als Maske – färbbar über background-color */
.hirsch { display: inline-block; aspect-ratio: 478 / 435; background-color: currentColor; -webkit-mask: url("/assets/img/hirsch-maske.png") center / contain no-repeat; mask: url("/assets/img/hirsch-maske.png") center / contain no-repeat; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.1; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.knopf:hover { transform: translateY(-1px); }
.knopf--voll { background: var(--rot); color: #fff; }
.knopf--voll:hover { background: color-mix(in srgb, var(--rot) 80%, #000); color: #fff; }
.knopf--tanne { background: var(--tanne); color: #fff; }
.knopf--tanne:hover { background: var(--tanne-900); color: #fff; }
.knopf--rahmen { border-color: currentColor; color: inherit; }
.knopf--rahmen:hover { color: inherit; background: rgb(255 255 255 / .12); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.pfeil::after { content: "→"; transition: transform .15s; }
a:hover > .pfeil::after, .pfeil:hover::after { transform: translateX(3px); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--papier) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linie); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.marke { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--tanne-900); }
.marke .hirsch { width: 2.9rem; color: var(--hirsch); }
.marke__name { font-family: var(--schrift-titel); font-weight: 650; font-size: 1.2rem; line-height: 1.05; }
.marke__name small { display: block; font-family: var(--schrift-text); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--holz-dunkel); margin-top: .2rem; }
.marke:hover { color: var(--tanne-900); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a { display: block; padding: .5rem .8rem; border-radius: 999px; color: var(--tinte); text-decoration: none; font-weight: 600; }
.nav a:hover { background: var(--moos-100); color: var(--tanne-900); }
.nav a[aria-current="page"] { background: var(--tanne); color: #fff; }
.menu-knopf { display: none; }

@media (max-width: 62rem) {
  .menu-knopf { display: inline-flex; align-items: center; gap: .5rem; background: var(--tanne); color: #fff; border: 0; border-radius: 999px; padding: .6rem 1rem; font: inherit; font-weight: 700; cursor: pointer; }
  .menu-knopf__strich, .menu-knopf__strich::before, .menu-knopf__strich::after { content: ""; display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
  .menu-knopf__strich::before { position: absolute; top: -6px; }
  .menu-knopf__strich::after { position: absolute; top: 6px; }
  .menu-knopf[aria-expanded="true"] .menu-knopf__strich { background: transparent; }
  .menu-knopf[aria-expanded="true"] .menu-knopf__strich::before { transform: translateY(6px) rotate(45deg); }
  .menu-knopf[aria-expanded="true"] .menu-knopf__strich::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: absolute; inset: 100% 0 auto; background: var(--papier); border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); display: none; }
  .nav.auf { display: block; }
  .nav ul { flex-direction: column; padding: .75rem var(--rand) 1.25rem; }
  .nav a { padding: .85rem 1rem; font-size: 1.15rem; border-radius: 10px; }
  .no-js .nav { position: static; display: block; box-shadow: none; border: 0; }
  .no-js .menu-knopf { display: none; }
}

/* Startseiten-Bühne */
.buehne { position: relative; color: #fff; background: var(--tanne-900); overflow: hidden; isolation: isolate; }
.buehne__bild { position: absolute; inset: 0; z-index: -2; }
.buehne__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.buehne::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--tanne-900) 92%, transparent) 0%, color-mix(in srgb, var(--tanne-900) 78%, transparent) 38%, color-mix(in srgb, var(--tanne-900) 15%, transparent) 75%), linear-gradient(0deg, color-mix(in srgb, var(--tanne-900) 60%, transparent), transparent 40%); }
.buehne__innen { min-height: min(86vh, 46rem); display: flex; flex-direction: column; justify-content: center; padding-block: 5rem 4rem; }
.buehne__text { max-width: 36rem; }
.buehne .hirsch { width: 4.5rem; color: var(--sand); margin-bottom: 1.25rem; }
.buehne h1 { color: #fff; margin-bottom: .35em; }
.buehne__seit { font-family: var(--schrift-titel); font-style: italic; font-weight: 400; color: var(--sand); font-size: .45em; display: block; letter-spacing: 0; margin-top: .4rem; }
.buehne__leitspruch { font-size: 1.25rem; color: #e7efe9; margin-bottom: 0; }
.buehne__leitspruch strong { color: #fff; }
@media (max-width: 48rem) {
  .buehne__bild { position: relative; aspect-ratio: 4 / 3; }
  .buehne__bild img { object-position: 50% 75%; }
  .buehne::before { display: none; }
  .buehne__innen { min-height: 0; padding-block: 2rem 3rem; }
  .buehne .hirsch { display: none; }
}
@media (min-width: 62rem) {
  .buehne__bild { left: 40%; }
  .buehne__bild img { object-position: 50% 80%; }
  .buehne::before { background: linear-gradient(90deg, var(--tanne-900) 0%, var(--tanne-900) 40%, color-mix(in srgb, var(--tanne-900) 40%, transparent) 46%, transparent 56%), linear-gradient(0deg, color-mix(in srgb, var(--tanne-900) 50%, transparent), transparent 35%); }
}

/* Info-Streifen */
.streifen { background: var(--rot); color: #fff; }
.streifen__innen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.streifen__punkt { padding: 1.1rem 1.25rem; display: flex; gap: .85rem; align-items: center; }
.streifen__punkt svg { flex: none; width: 1.6rem; height: 1.6rem; opacity: .9; }
.streifen__punkt strong { display: block; font-size: 1.05rem; }
.streifen__punkt span { font-size: .92rem; opacity: .88; }
@media (max-width: 48rem) { .streifen__innen { grid-template-columns: 1fr; } .streifen__punkt { padding: .8rem 0; } .streifen__punkt + .streifen__punkt { border-top: 1px solid rgb(255 255 255 / .18); } }

/* Raster & Karten */
.raster { display: grid; gap: clamp(1rem, .5rem + 2vw, 2rem); }
.raster--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.raster--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.kopfzeile { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.kopfzeile h2 { margin: 0; }
.kopfzeile a { font-weight: 700; }

.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--schatten); position: relative; transition: transform .2s, box-shadow .2s; }
.karte:has(a.karte__link:hover) { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(29 36 32 / .06), 0 18px 36px -16px rgb(29 36 32 / .3); }
.karte__bild { aspect-ratio: 3 / 2; background: var(--leinen); overflow: hidden; }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; }
.karte__bild--plakat img { object-fit: contain; padding: .5rem; }
.karte__text { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.karte__text h3 { margin: 0; }
.karte__text p { margin: 0; color: var(--tinte-2); }
.karte__link { text-decoration: none; color: inherit; }
.karte__link::after { content: ""; position: absolute; inset: 0; }
.karte__meta { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--holz-dunkel); }
.karte__mehr { margin-top: auto; padding-top: .8rem; font-weight: 700; color: var(--tanne); }

/* Säulen auf der Startseite */
.saeule { padding: 2rem; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--linie); position: relative; display: flex; flex-direction: column; }
.saeule__nr { font-family: var(--schrift-titel); font-style: italic; font-size: 1rem; color: var(--holz); margin-bottom: .75rem; }
.saeule ul { margin: 0 0 1.25rem; padding-left: 1.1rem; color: var(--tinte-2); }
.saeule li { margin-bottom: .25rem; }
.saeule .karte__mehr { margin-top: auto; text-decoration: none; }
.saeule:has(.karte__link:hover) { border-color: var(--tanne); }

/* Termine */
.terminliste { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.termin { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.1rem; align-items: center; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: .9rem 1.1rem; }
.termin__datum { text-align: center; border-right: 1px solid var(--linie); padding-right: 1rem; line-height: 1; }
.termin__tag { display: block; font-family: var(--schrift-titel); font-weight: 650; font-size: 1.9rem; color: var(--tanne-900); }
.termin__monat { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--holz-dunkel); margin-top: .3rem; }
.termin__titel { font-weight: 700; font-size: 1.1rem; display: block; }
.termin__info { color: var(--tinte-2); font-size: .95rem; }
.marke-art { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 6px; background: var(--moos-100); color: var(--tanne-900); margin-left: .4rem; vertical-align: .15em; }
.marke-art--M { background: #f6e6c8; color: #6a4614; }
.marke-art--VM { background: var(--rot-hell); color: var(--rot); }
.marke-art--F, .marke-art--A { background: var(--rot); color: #fff; }
.marke-art--T { background: #e5e2dc; color: var(--tinte-2); }
.termin.vorbei { opacity: .5; }
.termin.vorbei .termin__titel { text-decoration: line-through; text-decoration-thickness: 1px; }

.terminmonat { margin-top: 2.5rem; scroll-margin-top: 6rem; }
.terminmonat h3 { font-size: 1.3rem; padding-bottom: .5rem; border-bottom: 2px solid var(--tanne); }
.legende { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--tinte-2); }
.legende .marke-art { margin: 0 .4rem 0 0; }

.leerhinweis { background: var(--weiss); border: 2px dashed var(--sand); border-radius: var(--radius); padding: 1.5rem; }

/* Highlight-Block (Spenden) */
.highlight { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.highlight__bild { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
.zahl { font-family: var(--schrift-titel); font-weight: 700; font-size: clamp(3.2rem, 2rem + 6vw, 5.5rem); line-height: 1; color: #fff; letter-spacing: -.02em; display: block; margin: .25rem 0 .5rem; }
.zahl small { display: block; font-size: .32em; font-weight: 500; color: var(--sand); letter-spacing: 0; margin-top: .35rem; }
@media (max-width: 52rem) { .highlight { grid-template-columns: 1fr; } }

/* Seitenkopf (Unterseiten) */
.seitenkopf { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); border-bottom: 1px solid var(--linie); background:
  radial-gradient(circle at 92% 20%, color-mix(in srgb, var(--holz) 14%, transparent), transparent 32rem), var(--papier); position: relative; overflow: hidden; }
.seitenkopf .hirsch { position: absolute; right: max(var(--rand), calc((100vw - var(--breite)) / 2)); top: 50%; translate: 0 -50%; width: clamp(8rem, 18vw, 15rem); color: var(--hirsch); opacity: .06; pointer-events: none; }
.seitenkopf h1 { max-width: 20ch; }
.seitenkopf .lead { margin-bottom: 0; }

/* Fließtext */
.inhalt { max-width: 44rem; }
.inhalt > * + h2 { margin-top: 2.5rem; }
.inhalt > * + h3 { margin-top: 2rem; }
.inhalt ul, .inhalt ol { padding-left: 1.3rem; }
.inhalt li { margin-bottom: .35rem; }
.inhalt img, .inhalt video, .inhalt picture img { border-radius: 10px; margin-block: 1.5rem; }
.inhalt figure { margin: 2rem 0; }
.inhalt figcaption { font-size: .92rem; color: var(--tinte-2); margin-top: -.75rem; }
.inhalt blockquote { margin: 2rem 0; padding: .5rem 0 .5rem 1.5rem; border-left: 4px solid var(--holz); font-family: var(--schrift-titel); font-style: italic; font-size: 1.25rem; color: var(--tanne-900); }
.inhalt table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .98rem; }
.inhalt th, .inhalt td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.inhalt th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--holz-dunkel); }
.tabelle-scroll { overflow-x: auto; }

.zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.seitenleiste { position: sticky; top: 6rem; display: grid; gap: 1rem; }
@media (max-width: 58rem) { .zweispaltig { grid-template-columns: 1fr; } .seitenleiste { position: static; } }

.kasten { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.5rem; }
.kasten h3 { font-size: 1.2rem; }
.kasten--tanne { background: var(--tanne-800); color: #eef3ee; border: 0; }
.kasten--tanne h3 { color: #fff; }
.kasten--tanne a { color: #fff; }
.kasten dl { margin: 0; display: grid; gap: .75rem; }
.kasten dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--holz-dunkel); }
.kasten--tanne dt { color: var(--sand); }
.kasten dd { margin: .1rem 0 0; font-weight: 600; }

/* Schritte */
.schritte { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; counter-reset: schritt; }
.schritte li { counter-increment: schritt; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.25rem; margin: 0; }
.schritte li::before { content: counter(schritt); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--tanne); color: #fff; font-family: var(--schrift-titel); font-weight: 700; font-size: 1.3rem; }
.schritte strong { display: block; font-size: 1.1rem; margin-bottom: .15rem; }
.schritte p { margin: 0; color: var(--tinte-2); }

/* Personen */
.personen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.person { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.person__amt { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--holz-dunkel); }
.person__name { font-family: var(--schrift-titel); font-size: 1.25rem; font-weight: 600; color: var(--tanne-900); margin: .15rem 0; }
.person a { font-size: .95rem; word-break: break-all; }

/* Offene Punkte – vor dem Livegang füllen */
.offen { background: #fff3b0; outline: 2px dashed #d4a900; outline-offset: 1px; border-radius: 3px; padding: 0 .25em; color: #5a4600; font-style: normal; }
div.offen, p.offen { display: block; padding: .75rem 1rem; margin: 1rem 0; }

/* Beitrag */
.beitrag-meta { color: var(--tinte-2); font-size: .95rem; margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.beitrag-titelbild { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; }
.downloads { list-style: none; padding: 0; display: grid; gap: .5rem; }
.downloads a { display: flex; gap: .75rem; align-items: center; padding: .8rem 1rem; border: 1px solid var(--linie); background: var(--weiss); border-radius: 10px; text-decoration: none; font-weight: 600; }
.downloads a::before { content: "PDF"; font-size: .7rem; font-weight: 800; background: var(--rot); color: #fff; padding: .2rem .4rem; border-radius: 4px; }
.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; margin: 2rem 0; }
.galerie img { margin: 0 !important; width: 100%; border: 1px solid var(--linie); }

/* Aufruf-Band */
.aufruf { text-align: center; }
.aufruf .hirsch { width: 3.5rem; color: var(--sand); margin-bottom: 1rem; }
.aufruf p { max-width: 36rem; margin-inline: auto; font-size: 1.15rem; }
.aufruf .knopfreihe { justify-content: center; }

/* Fuß */
.fuss { background: var(--tanne-900); color: #c9d6cd; padding-block: 3.5rem 2rem; font-size: .98rem; }
.fuss a { color: #fff; }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.fuss__marke { color: #fff; margin-bottom: 1.25rem; }
.fuss__marke:hover { color: #fff; }
.fuss__marke .hirsch { width: 3.4rem; color: var(--sand); }
.fuss__marke .marke__name { font-size: 1.5rem; }
.fuss__marke .marke__name small { color: var(--sand); }
.fuss h2 { font-size: 1.05rem; color: #fff; font-family: var(--schrift-text); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.fuss__leitspruch { font-family: var(--schrift-titel); font-style: italic; font-size: 1.2rem; color: #fff; }
.fuss__unten { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .88rem; }
.fuss__unten ul { display: flex; gap: 1.25rem; }
@media (max-width: 48rem) { .fuss__raster { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .kopf, .fuss, .streifen, .knopfreihe { display: none; } body { background: #fff; } }

/* Versteckte Elemente (z. B. vergangene Termine per JS) zuverlässig ausblenden */
[hidden] { display: none !important; }

/* Nächster Termin auf der Terminseite */
.naechster { box-shadow: 0 0 0 2px var(--holz); position: relative; }
.naechster::before { content: "Als Nächstes"; position: absolute; top: -.7rem; right: 1rem; background: var(--holz); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .55rem; border-radius: 999px; }

/* Jahreslauf auf der Veranstaltungsseite */
.jahreslauf { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1rem; }
.jahreslauf__monat { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.1rem 1.25rem 1.25rem; position: relative; }
.jahreslauf__monat h3 { font-size: 1.15rem; margin: 0 0 .75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--sand); }
.jahreslauf__monat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.jahreslauf__monat li { line-height: 1.35; }
.jahreslauf__monat li strong { font-size: 1rem; }
.jahreslauf__monat li > span:last-child { display: block; font-size: .92rem; color: var(--tinte-2); margin-top: .15rem; }
.marke-offen { display: inline-block; vertical-align: .1em; background: var(--rot); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .12rem .45rem; border-radius: 999px; white-space: nowrap; }
.jahreslauf__monat.ist-jetzt { border-color: var(--holz); box-shadow: 0 0 0 2px var(--holz); }
.jahreslauf__monat.ist-jetzt::before { content: "Gerade jetzt"; position: absolute; top: -.7rem; right: 1rem; background: var(--holz); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .55rem; border-radius: 999px; }

/* Banner „Als Nächstes“ auf der Veranstaltungsseite */
.abschnitt--kompakt { padding-block: 2.5rem 0; }
.aufmacher { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 3rem; align-items: center; background: var(--tanne-800); color: #eef3ee; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); position: relative; overflow: hidden; }
.aufmacher::after { content: ""; position: absolute; right: -3rem; top: -3rem; width: 14rem; height: 14rem; background: currentColor; opacity: .06; -webkit-mask: url("/assets/img/hirsch-maske.png") center / contain no-repeat; mask: url("/assets/img/hirsch-maske.png") center / contain no-repeat; pointer-events: none; }
.aufmacher .kicker { color: var(--sand); }
.aufmacher h2 { color: #fff; margin-bottom: .4em; }
.aufmacher h2 a { color: inherit; text-decoration: none; }
.aufmacher p { margin: 0 0 1.4rem; max-width: 34rem; }
.aufmacher__termine { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; position: relative; z-index: 1; }
.aufmacher__termine li { display: flex; align-items: center; gap: 1rem; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); border-radius: 10px; padding: .6rem .9rem; }
.aufmacher__termine li[hidden] { display: none; }
.aufmacher__datum { display: flex; flex-direction: column; align-items: center; min-width: 2.6rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sand); line-height: 1.1; }
.aufmacher__datum b { font-family: var(--schrift-titel); font-size: 1.6rem; color: #fff; letter-spacing: 0; }
.aufmacher__termine strong { display: block; color: #fff; font-size: .95rem; }
.aufmacher__termine li > span:last-child { font-size: .95rem; line-height: 1.3; }
@media (max-width: 52rem) { .aufmacher { grid-template-columns: 1fr; } }

/* Aktuelles: Filter, neuester Beitrag, Liste nach Jahren */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filter__knopf { font: inherit; font-size: .95rem; font-weight: 600; border: 1px solid var(--linie); background: var(--weiss); color: var(--tinte); border-radius: 999px; padding: .4rem 1rem; cursor: pointer; }
.filter__knopf:hover { border-color: var(--tanne); }
.filter__knopf[aria-pressed="true"] { background: var(--tanne); border-color: var(--tanne); color: #fff; }
.liste-meta { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--holz-dunkel); margin-bottom: .35rem; }
.liste-meta__neu { background: var(--rot); color: #fff; border-radius: 999px; padding: .1rem .5rem; margin-right: .6rem; }
.aufmacher-beitrag { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); position: relative; }
.aufmacher-beitrag__bild { background: var(--leinen); min-height: 18rem; }
.aufmacher-beitrag__bild img { width: 100%; height: 100%; object-fit: cover; }
.aufmacher-beitrag__text { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; }
.aufmacher-beitrag h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-bottom: .5em; }
.aufmacher-beitrag p { margin: 0 0 1.25rem; color: var(--tinte-2); }
@media (max-width: 52rem) { .aufmacher-beitrag { grid-template-columns: 1fr; } .aufmacher-beitrag__bild { aspect-ratio: 3 / 2; min-height: 0; } }
.beitragsjahr + .beitragsjahr { margin-top: 2.5rem; }
.beitragsjahr__titel { font-size: 1.4rem; padding-bottom: .5rem; border-bottom: 2px solid var(--sand); margin-bottom: 1rem; }
.beitragsliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 1rem; }
.beitragszeile { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.1rem; align-items: start; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: .8rem; position: relative; transition: box-shadow .2s, border-color .2s; }
.beitragszeile:hover, .aufmacher-beitrag:hover { border-color: var(--holz); }
.beitragszeile__bild { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--leinen); }
.beitragszeile__bild img { width: 100%; height: 100%; object-fit: cover; }
.beitragszeile__bild.karte__bild--plakat img { padding: .25rem; }
.beitragszeile h3 { font-size: 1.1rem; line-height: 1.25; margin: 0 0 .3rem; }
.beitragszeile p { margin: 0; font-size: .95rem; color: var(--tinte-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 30rem) { .beitragszeile { grid-template-columns: 5.5rem 1fr; } .beitragszeile p { display: none; } }
.beitrag-titelbild--plakat img { max-height: 34rem; width: auto; margin-inline: auto; border-radius: 8px; }
.jahreslauf__monat { display: flex; flex-direction: column; }
.jahreslauf__monat ul { flex: 1; }
.jahreslauf__termine { margin-top: 1rem; padding-top: .7rem; border-top: 1px solid var(--linie); font-size: .92rem; font-weight: 700; text-decoration: none; }
.jahreslauf__termine:hover { text-decoration: underline; }

/* Spendenseite */
.spendenbilanz { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 3rem; align-items: center; background: var(--tanne-800); color: #eef3ee; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); }
.spendenbilanz .kicker { color: var(--sand); }
.spendenbilanz .zahl { color: #fff; white-space: nowrap; }
.spendenbilanz p { margin: 0; max-width: 36rem; }
@media (max-width: 52rem) { .spendenbilanz { grid-template-columns: 1fr; } }
.spendenliste { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .6rem; }
.spende { display: grid; grid-template-columns: 4rem 1fr auto; gap: 1rem; align-items: center; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: .85rem 1.1rem; }
.spende--geplant { border-style: dashed; background: transparent; }
.spende__jahr { font-family: var(--schrift-titel); font-size: 1.35rem; font-weight: 650; color: var(--tanne); }
.spende__aktion { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--holz-dunkel); }
.spende__fuer { display: block; line-height: 1.3; margin-top: .1rem; }
.spende__zusatz { display: block; font-size: .9rem; color: var(--tinte-2); }
.spende__betrag { font-family: var(--schrift-titel); font-size: 1.2rem; font-weight: 650; white-space: nowrap; text-align: right; }
@media (max-width: 30rem) { .spende { grid-template-columns: 3.2rem 1fr; } .spende__betrag { grid-column: 2; text-align: left; } }
/* Spenden nach Jahr: eine Box pro Jahr */
.spendenjahre { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1rem; }
.spendenjahr { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1rem 1.25rem .4rem; }
.spendenjahr--geplant { border-style: dashed; background: transparent; }
.spendenjahr__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--leinen); }
.spendenjahr__kopf h3 { margin: 0; font-size: 1.6rem; color: var(--tanne); }
.spendenjahr__summe { font-size: .9rem; font-weight: 600; color: var(--tinte-2); white-space: nowrap; }
.spendenjahr ul { list-style: none; margin: 0; padding: 0; }
.spendenjahr .spende { grid-template-columns: 1fr auto; background: none; border: 0; border-radius: 0; padding: .75rem 0; }
.spendenjahr .spende + .spende { border-top: 1px solid var(--linie); }
@media (max-width: 30rem) { .spendenjahr .spende { grid-template-columns: 1fr; gap: .25rem; } .spendenjahr .spende__betrag { grid-column: 1; } }
.spendenleiste { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; background: var(--tanne-800); color: #eef3ee; border-radius: var(--radius); overflow: hidden; }
.spendenleiste > div { padding: 1rem 1.4rem; }
.spendenleiste > div + div { border-left: 1px solid rgb(255 255 255 / .14); }
.spendenleiste dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sand); }
.spendenleiste dd { margin: .15rem 0 0; font-family: var(--schrift-titel); font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); font-weight: 650; color: #fff; line-height: 1.2; }
.spendenleiste a { color: #fff; }
@media (max-width: 40rem) { .spendenleiste { grid-template-columns: 1fr; } .spendenleiste > div { padding: .7rem 1.1rem; } .spendenleiste > div + div { border-left: 0; border-top: 1px solid rgb(255 255 255 / .14); } .spendenleiste > div:not(:first-child) { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; } .spendenleiste > div:not(:first-child) dd { font-size: 1.1rem; } }

/* Adventsfenster: vier Termine */
.fenster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.fenster__tag { display: flex; flex-direction: column; background: var(--tanne-800); color: #eef3ee; border-radius: var(--radius); padding: 1.25rem 1.35rem 1.4rem; position: relative; overflow: hidden; }
.fenster__tag::after { content: ""; position: absolute; right: -1.5rem; bottom: -1.5rem; width: 7rem; height: 7rem; background: currentColor; opacity: .06; -webkit-mask: url("/assets/img/hirsch-maske.png") center / contain no-repeat; mask: url("/assets/img/hirsch-maske.png") center / contain no-repeat; }
.fenster__nr { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sand); }
.fenster__datum { font-family: var(--schrift-titel); font-size: 1.6rem; color: #fff; line-height: 1.15; margin-top: .35rem; }
.fenster__datum b { font-size: 2.4rem; font-weight: 650; }
.fenster__zeit { font-size: .95rem; margin-bottom: .9rem; }
.fenster__wer { color: #fff; font-size: 1.05rem; line-height: 1.3; }
.fenster__wo { color: var(--sand); font-size: .95rem; margin-top: .2rem; }
.fenster__wo:hover { color: #fff; }
.fenster__tag.vorbei { opacity: .45; }

/* Karten (Leaflet nach Klick) */
.karte { position: relative; height: clamp(18rem, 45vw, 26rem); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); background: var(--leinen); z-index: 0; }
.karte__platzhalter { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .75rem; padding: 1.5rem; background: repeating-linear-gradient(45deg, var(--leinen), var(--leinen) 14px, var(--papier) 14px, var(--papier) 28px); }
.karte__platzhalter .hirsch { width: 3rem; color: var(--holz); }
.karte__platzhalter p { margin: 0; max-width: 26rem; font-size: .95rem; }
.karte__marker { background: none; border: 0; }
.karte__marker span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--rot); border: 3px solid #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .35); color: #fff; font: 700 14px/1 var(--schrift-text); }
.karte__marker b { transform: rotate(45deg); }
.karte--aktiv .leaflet-popup-content { font: 15px/1.4 var(--schrift-text); }
.karte--klein .karte { height: 15rem; border-color: rgb(255 255 255 / .2); }
.karte--klein .karte__platzhalter { color: var(--tinte); }
.karte--klein .karte__platzhalter p { font-size: .85rem; }
.karte--klein .karte__platzhalter a { color: var(--tanne); }
#anfahrt { scroll-margin-top: 5rem; }

/* ---------- Nachtkopf Adventsfenster (Design der Postkarte 2026) ---------- */
.nachtkopf { --nacht: #2f3b69; --kerze: #ffc766; --glut: #f39a3a; --sand-hell: #ecd3a3; --rot-hell: #f0675c;
  position: relative; background: var(--nacht) url("/assets/adventsfenster/schnee.svg") top center / 400px auto repeat-x; color: #f4f1ea; text-align: center; overflow: hidden; }
.nachtkopf__kopf { padding-block: clamp(2rem, 1.2rem + 3vw, 3.75rem) 0; }
.nachtkopf__titel { margin: 0 auto; max-width: 46rem; line-height: 0; }
.nachtkopf__titel img { width: 100%; height: auto; }
.nachtkopf__zeile { font-family: var(--schrift-titel); font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.1; margin: clamp(1.25rem, 1rem + 1.5vw, 2.25rem) 0 .5rem; color: #f4f1ea; text-wrap: balance; }
.nachtkopf__lead { margin: 0 auto; max-width: 44rem; font-weight: 600; font-size: clamp(1rem, .9rem + .5vw, 1.25rem); color: var(--sand-hell); text-wrap: balance; }
.nachtkopf__lead span { font-weight: 400; color: #d6daea; font-size: .9em; }

.nachtkarte { position: relative; aspect-ratio: 154 / 80; max-width: 90rem; margin: clamp(.5rem, 2vw, 1.5rem) auto 0; container-type: inline-size; }
.nachtkarte__bild { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nachtkarte::before, .nachtkarte::after { content: ""; position: absolute; top: 0; bottom: 0; width: 6%; z-index: 1; pointer-events: none; }
.nachtkarte::before { left: 0; background: linear-gradient(90deg, var(--nacht), transparent); }
.nachtkarte::after { right: 0; background: linear-gradient(-90deg, var(--nacht), transparent); }
.nachtkarte__punkte { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 2; text-align: left; }
.nachtkarte__punkt { position: absolute; left: var(--x); top: var(--y); }
.nachtkarte__fenster { position: absolute; left: 0; top: 0; translate: -50% -50%; width: 2.6cqi; aspect-ratio: 4.2 / 4.9; min-width: 14px;
  border: max(2px, .3cqi) solid #26305a; border-radius: 1px;
  background:
    linear-gradient(#26305a, #26305a) center / max(1.5px, .25cqi) 100% no-repeat,
    linear-gradient(#26305a, #26305a) 0 38% / 100% max(1.5px, .25cqi) no-repeat,
    radial-gradient(ellipse at 50% 60%, #fff2c9 0%, var(--kerze) 60%, var(--glut) 100%);
  box-shadow: 0 0 2.2cqi .9cqi rgb(255 199 102 / .55); }
.nachtkarte__text { position: absolute; left: -2.6cqi; top: 2.6cqi; white-space: nowrap; line-height: 1.15; }
.nachtkarte__punkt--oben .nachtkarte__text { top: auto; bottom: 2.4cqi; }
.nachtkarte__wann { display: block; font-family: var(--schrift-titel); font-weight: 700; font-size: clamp(.95rem, 2.2cqi, 1.9rem); color: var(--sand-hell); }
.nachtkarte__wann b, .nachtkarte__wann .sa { color: var(--rot-hell); }
.nachtkarte__wer { display: block; font-size: clamp(.8rem, 1.75cqi, 1.45rem); color: #f4f1ea; white-space: normal; width: 22cqi; }
.nachtkarte__quelle { position: absolute; right: 2%; bottom: 3%; z-index: 2; margin: 0; font-size: .7rem; color: #8590bb; }
.nachtkarte__quelle a { color: inherit; }
/* Handy: nur Fenster mit Nummer, Details stehen in der Liste darunter */
@media (max-width: 40rem) {
  .nachtkarte__wann { font-size: 1rem; }
  .nachtkarte__datum, .nachtkarte__wer { display: none; }
  .nachtkarte__text { left: 10px; top: 8px; }
  .nachtkarte__punkt--oben .nachtkarte__text { top: auto; bottom: 8px; }
  .nachtkarte__quelle { font-size: .6rem; }
}
/* Terminkarten direkt unter dem Nachtkopf: Nacht geht weiter */
.nachtkopf + .abschnitt { background: #2f3b69; padding-top: .5rem; }
.nachtkopf + .abschnitt .fenster__tag { background: #3a4677; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.nachtkopf + .abschnitt .fenster__nr, .nachtkopf + .abschnitt .fenster__wo { color: #ecd3a3; }
.nachtkopf + .abschnitt .fenster__wo:hover { color: #fff; }
.nachtkarte__punkte::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 10%; background: linear-gradient(transparent, #2f3b69); z-index: -1; pointer-events: none; }
