/* Ernzen – Testversion. Farben, Schriften und Grundlayout. */

@font-face { font-family: "Bitter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/bitter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/bitter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

:root {
  --gruen: #5B6B45;          /* Akzent: Buttons, aktiver Menüpunkt, Links */
  --gruen-dunkel: #3E4A2E;   /* Hover */
  --salbei: #9BA78A;         /* Grün der bisherigen Website */
  --flaeche: #F3F5EF;        /* helle Hintergründe */
  --platzhalter: #E1E6D8;
  --hover: #E9EDE2;
  --linie: #D3D9C8;
  --linie-hell: #E6EADF;
  --text: #1E221D;
  --text-2: #3B4038;
  --text-3: #5A5F57;
  --fuss: #1E221D;
  --serif: "Bitter", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.5; }
a { color: var(--gruen); }
a:hover { color: var(--gruen-dunkel); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; }
.seite { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Kopf und Menü */
.kopf { border-bottom: 1px solid #E2E5DE; background: #FFFFFF; }
.kopf .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.marke { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; text-decoration: none; color: var(--text); }
.marke img { height: 64px; width: auto; display: block; }
.marke span { font-size: 15px; color: var(--text-3); border-left: 1px solid #D5D8D0; padding-left: 16px; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.menu > li { position: relative; }
.menu a.punkt, .menu button.punkt { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 6px; background: transparent; font-family: inherit; font-weight: 600; font-size: 16px; color: var(--text); text-decoration: none; cursor: pointer; }
.menu .punkt:hover, .menu button.punkt[aria-expanded="true"] { background: var(--hover); }
.menu .punkt.aktiv { background: var(--gruen); color: #FFFFFF; }
.menu .punkt svg { width: 16px; height: 16px; }
.untermenu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; min-width: 270px; max-width: calc(100vw - 32px); background: #FFFFFF; border: 1px solid var(--linie); border-radius: 8px; box-shadow: 0 8px 24px rgba(30, 36, 24, 0.14); padding: 8px; margin: 0; list-style: none; }
.untermenu[hidden] { display: none; }
.untermenu a { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; color: var(--text); font-size: 16px; }
.untermenu a:hover, .untermenu a[aria-current="page"] { background: var(--hover); }
.untermenu .gruppe { margin-top: 6px; padding: 10px 12px 4px; border-top: 1px solid var(--linie-hell); font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--text-3); }
.untermenu .eingerueckt a { padding-left: 24px; }

/* Fuß */
.fuss { background: var(--fuss); color: #D9DDD5; margin-top: auto; }
.fuss .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 15px; }
.fuss a { color: #D9DDD5; }
.fuss nav { display: flex; gap: 20px; }

/* Bausteine */
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 6px; background: var(--gruen); color: #FFFFFF; font-weight: 600; text-decoration: none; border: 0; font-family: inherit; font-size: 16px; cursor: pointer; }
.button:hover { background: var(--gruen-dunkel); color: #FFFFFF; }
.button.zweit { background: transparent; color: var(--text); border: 1px solid #C9CFC3; }
.button.zweit:hover { background: var(--hover); color: var(--text); }
.button svg { width: 20px; height: 20px; }
.foto { border-radius: 10px; background: var(--platzhalter); display: flex; align-items: center; justify-content: center; gap: 10px; color: #4F5A3F; font-weight: 600; }
.foto svg { width: 28px; height: 28px; }
.etikett { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--hover); color: var(--gruen); font-weight: 600; font-size: 14px; }
.meta { font-size: 14px; color: var(--text-3); }
.platzhalter-text { background: #FFF7D6; padding: 0 3px; border-radius: 3px; }

/* Startseite */
.start { padding-top: 40px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 48px; }
.aufmacher { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.aufmacher .foto { flex: 1 1 460px; min-width: 0; height: 340px; }
.aufmacher .bild { flex: 1 1 460px; min-width: 0; height: 300px; border-radius: 10px; overflow: hidden; background: #F4D9A6; display: flex; align-items: center; justify-content: center; }
.aufmacher .bild img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }
.eckdaten { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.eckdaten div { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.eckdaten dt { flex: 0 0 90px; font-weight: 600; color: var(--text-3); }
.eckdaten dd { margin: 0; flex: 1 1 240px; }
.plakat { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.plakat img { width: auto; max-width: 100%; height: auto; max-height: 60vh; border-radius: 8px; box-shadow: 0 2px 12px rgba(30, 36, 24, .15); display: block; }
.aufmacher .text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.aufmacher h1 { font-size: 38px; }
.aufmacher p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.aufmacher .zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }

.kasten { background: var(--flaeche); border: 1px solid var(--platzhalter); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.kasten-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.kasten-kopf h2 { font-size: 26px; }
.kasten-kopf p { margin: 4px 0 0; color: #4A4F47; }
.termine { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; list-style: none; }
.termin { flex: 1 1 240px; min-width: 0; background: #FFFFFF; border-radius: 8px; padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; }
.datum { flex: 0 0 auto; width: 64px; padding: 8px 0; border-radius: 6px; background: var(--gruen); color: #FFFFFF; text-align: center; display: flex; flex-direction: column; }
.datum b { font-family: var(--serif); font-size: 26px; line-height: 1; }
.datum span { font-size: 13px; font-weight: 600; }
.datum .platzhalter-text { background: none; padding: 0; font-size: .7em; }
.termin strong { display: block; font-size: 17px; }
.termin span.zusatz { display: block; font-size: 15px; color: #4A4F47; }
.termin .wochentag { display: block; font-size: 14px; color: var(--text-3); }
.termine[hidden], .termine-leer[hidden] { display: none; }
.kasten.kompakt { padding: 20px 28px; gap: 14px; }
.kasten.kompakt .kasten-kopf h2 { font-size: 22px; }
.kasten.kompakt .termin { flex: 1 1 320px; }
.termin strong + strong { margin-top: 2px; }
.arten { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 4px 0 6px; }
.arten .art { display: inline-flex; align-items: center; gap: 8px; }
.arten .symbol { display: inline-flex; flex: 0 0 auto; }
.arten .symbol svg { width: 34px; height: 34px; display: block; }
.termine-leer { margin: 0; padding: 18px 20px; background: #FFFFFF; border-radius: 8px; color: var(--text-2); }

.post-band { border: 1px solid var(--platzhalter); border-radius: 12px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.post-band img { width: 150px; height: 163px; object-fit: cover; border-radius: 8px; display: block; flex: 0 0 auto; }
.post-band .text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.post-band h2 { font-size: 28px; }
.post-band p { margin: 0; color: #4A4F47; }
.post-band .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

.abschnitt-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--text); padding-bottom: 10px; }
.abschnitt-kopf h2 { font-size: 26px; }
.karten { display: flex; flex-wrap: wrap; gap: 28px; }
.karte { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.karte .foto { height: 190px; border-radius: 8px; }
.karte .foto.ohne { background: #F1EDE6; color: #6B5C48; }
.karte h3 { font-size: 21px; line-height: 1.25; }
.karte h3 a { color: var(--text); text-decoration: none; }
.karte h3 a:hover { text-decoration: underline; }
.karte p { margin: 0; color: var(--text-2); line-height: 1.55; }
.blaettern { display: flex; justify-content: center; gap: 8px; padding-top: 8px; }

/* Artikelseiten */
.artikel { max-width: 760px; padding-top: 32px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; }
.pfad { font-size: 15px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 8px; }
.artikel h1 { font-size: 44px; line-height: 1.1; }
.artikel .unterzeile { margin: -12px 0 0; font-size: 21px; line-height: 1.4; color: var(--text-2); }
.artikel .foto { aspect-ratio: 1140 / 660; }
.fliesstext { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.7; color: #23271F; }
.fliesstext p, .fliesstext ul { margin: 0; }
.fliesstext li { margin-bottom: 6px; }
.infokasten { background: var(--flaeche); border: 1px solid var(--platzhalter); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.infokasten h2 { font-size: 22px; }
.weg { display: flex; gap: 14px; align-items: center; }
.weg .nr { flex: 0 0 auto; min-width: 48px; height: 48px; padding: 0 8px; border-radius: 8px; border: 2px solid var(--gruen); color: var(--gruen); font-family: var(--serif); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.weg .nr.voll { background: var(--gruen); color: #FFFFFF; }
.weg strong { display: block; font-size: 17px; }
.weg span { font-size: 15px; color: #4A4F47; }
.steckbrief { margin: 0; display: flex; flex-wrap: wrap; border: 1px solid var(--platzhalter); border-radius: 10px; overflow: hidden; }
.steckbrief div { flex: 1 1 160px; padding: 14px 18px; background: var(--flaeche); }
.steckbrief dt { font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--text-3); }
.steckbrief dd { margin: 0; font-weight: 600; }
.zeitleiste { margin: 0 0 0 64px; padding: 0; list-style: none; border-left: 3px solid #C6CFB7; }
.zeitleiste li { position: relative; padding: 0 0 22px 28px; font-size: 17px; line-height: 1.5; }
.zeitleiste li:last-child { padding-bottom: 4px; }
.zeitleiste li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--gruen); border: 3px solid #FFFFFF; }
.zeitleiste .jahr { position: absolute; left: -64px; top: 0; width: 48px; text-align: right; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--gruen); }
.tabelle-rahmen { overflow-x: auto; border: 1px solid var(--linie); border-radius: 10px; }
table.preise { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 17px; }
table.preise th, table.preise td { padding: 14px 18px; border-bottom: 1px solid var(--linie-hell); }
table.preise thead th { background: var(--flaeche); text-align: left; font-weight: 600; border-bottom: 1px solid var(--linie); }
table.preise thead th:not(:first-child), table.preise td { text-align: right; font-variant-numeric: tabular-nums; }
table.preise tbody th { text-align: left; font-weight: 400; }
table.preise tbody tr:last-child > * { border-bottom: 0; }
blockquote.blason { text-align: center; margin: 0; padding: 24px 28px; border-left: 4px solid var(--salbei); background: var(--flaeche); font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 21px; line-height: 1.5; color: var(--text); }
.wappen-teile { display: flex; flex-direction: column; gap: 28px; }
.wappen-teile > h2, .mehr > h2 { font-size: 28px; }
.wappen-teile .teil { display: flex; flex-direction: column; gap: 10px; }
.wappen-teile h3 { font-size: 21px; color: var(--gruen); }
.mehr { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; border-top: 2px solid var(--text); }
.mehr-raster { display: flex; flex-wrap: wrap; gap: 16px; }
.mehr-karte { flex: 1 1 220px; min-width: 0; background: var(--flaeche); border: 1px solid var(--platzhalter); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.mehr-karte h3 { font-size: 19px; }
.mehr-karte p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.mehr-karte .quelle { font-size: 14px; color: var(--text-3); margin-top: auto; }
.zahlen { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.zahlen div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--linie-hell); padding-bottom: 6px; font-size: 16px; }
.zahlen dt { color: var(--text-3); }
.zahlen dd { margin: 0; font-weight: 600; text-align: right; }

/* Ernzener Post – Archiv */
.archiv { padding-top: 32px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 40px; }
.archiv h1 { font-size: 40px; }
.archiv .jahrgang { display: flex; flex-direction: column; gap: 18px; }
.archiv .jahrgang h2 { font-size: 26px; border-bottom: 2px solid var(--text); padding-bottom: 8px; }
.ausgaben { display: flex; flex-wrap: wrap; gap: 20px; }
.ausgabe { flex: 0 1 200px; min-width: 160px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); }
.ausgabe .titelseite { aspect-ratio: 210 / 297; border: 1px solid var(--linie); border-radius: 6px; background: var(--flaeche); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #4F5A3F; font-weight: 600; font-size: 14px; overflow: hidden; }
.ausgabe .titelseite img { width: 100%; height: 100%; object-fit: cover; }
.ausgabe:hover .titelseite { border-color: var(--gruen); }
.ausgabe strong { font-size: 17px; }

/* Leser */
body.leser-seite { background: #E7EAE2; }
.leser-kopf { background: #FFFFFF; border-bottom: 1px solid var(--linie); }
.leser-kopf .container { max-width: 1280px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.leser-kopf .links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.leser-kopf img { height: 40px; width: auto; display: block; }
.leser-kopf .titel { display: flex; flex-direction: column; align-items: flex-end; }
.leser-kopf .titel b { font-family: var(--serif); font-size: 18px; }
.leiste { background: #2B3223; color: #FFFFFF; position: sticky; top: 0; z-index: 10; }
.leiste .container { max-width: 1280px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.leiste .gruppe { display: flex; align-items: center; gap: 6px; }
.leiste button { width: 44px; height: 44px; border: 0; border-radius: 6px; background: #3D4732; color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.leiste button:hover { background: #4E5A40; }
.leiste button:disabled { opacity: .4; cursor: default; }
.leiste button svg { width: 20px; height: 20px; }
.leiste .anzeige { min-width: 120px; text-align: center; font-size: 15px; }
.leiste .anzeige.zoom { min-width: 56px; }
.leiste a.laden { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 6px; background: #FFFFFF; color: #2B3223; font-weight: 600; text-decoration: none; }
.leiste a.laden svg { width: 18px; height: 18px; }
.leser-flaeche { max-width: 1280px; margin: 0 auto; width: 100%; padding: 24px 20px 40px; display: flex; gap: 24px; align-items: flex-start; }
.miniaturen { flex: 0 0 120px; display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 140px); overflow-y: auto; position: sticky; top: 76px; }
.miniaturen button { width: 100%; padding: 6px; border-radius: 6px; cursor: pointer; text-align: center; background: transparent; border: 2px solid transparent; font-family: inherit; font-size: 13px; color: var(--text); }
.miniaturen button[aria-current="true"] { background: #C6CFB7; border-color: var(--gruen); }
.miniaturen canvas { display: block; width: 100%; height: auto; background: #FFFFFF; border-radius: 3px; }
.blatt-rahmen { flex: 1 1 auto; min-width: 0; overflow-x: auto; display: flex; justify-content: center; }
#blatt { display: block; background: #FFFFFF; box-shadow: 0 2px 10px rgba(30, 36, 24, .18); }
.leser-meldung { padding: 40px; text-align: center; color: var(--text-3); }
.leser-flaeche:fullscreen { max-width: none; background: #E7EAE2; overflow: auto; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .marke img { height: 52px; }
  .marke span { display: none; }
  .aufmacher h1 { font-size: 30px; }
  .aufmacher .foto, .aufmacher .bild { height: 220px; flex-basis: 100%; }
  .artikel h1 { font-size: 34px; }
  .kasten { padding: 20px; }
  .miniaturen { display: none; }
  .leser-flaeche { padding: 12px 8px 24px; }
  .zeitleiste { margin-left: 46px; }
}

.artikelbild { margin: 0; }
.artikelbild img { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: cover; border-radius: 10px; }
.zeitleiste a { font-weight: 600; white-space: nowrap; }
.zeitleiste .jahr { width: 56px; left: -72px; }

/* Bilder-Slider */
.slider { position: relative; border-radius: 12px; overflow: hidden; background: #2B3223; outline: none; }
.slider[hidden] { display: none; }
.slider-buehne { position: relative; height: 380px; }
.slider-folie { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.slider-folie.aktiv { opacity: 1; }
.slider-folie img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.slider-pfeil:hover { background: #FFFFFF; }
.slider-pfeil svg { width: 24px; height: 24px; }
.slider-zurueck { left: 14px; }
.slider-weiter { right: 14px; }
.slider-leiste { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 14px 12px; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0)); }
.slider-pause { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slider-pause svg { width: 16px; height: 16px; }
.slider-pause .i-play, .slider-pause.angehalten .i-pause { display: none; }
.slider-pause.angehalten .i-play { display: block; }
.slider-punkte { display: flex; flex-wrap: wrap; gap: 4px; }
.slider-punkte[hidden] { display: none; }
.slider-punkte button { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slider-punkte button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.slider-punkte button[aria-current="true"]::before { background: #FFFFFF; transform: scale(1.25); }
.slider-pfeil:focus-visible, .slider-pause:focus-visible, .slider-punkte button:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .slider-folie { transition: none; } }
@media (max-width: 720px) {
  .slider-buehne { height: 220px; }
  .slider-pfeil { width: 40px; height: 40px; }
  .slider-zurueck { left: 8px; } .slider-weiter { right: 8px; }
}

/* Satzungen */
.satz-intro { margin: -8px 0 0; font-style: italic; font-size: 19px; color: var(--text-2); }
.satzungen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: satz; }
.satzungen li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--flaeche); border: 1px solid var(--platzhalter); border-radius: 10px; font-size: 16px; line-height: 1.4; }
.satz-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 8px; background: #FFFFFF; color: var(--gruen); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px var(--linie); }
.satz-icon svg { width: 22px; height: 22px; }
.satz-name { font-weight: 600; }
.satz-hinweis { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 24px; border-left: 4px solid var(--gruen); background: var(--flaeche); border-radius: 0 10px 10px 0; }
.satz-hinweis p { margin: 0; font-size: 17px; line-height: 1.6; }
.satz-hinweis a:not(.button) { overflow-wrap: anywhere; }
@media (max-width: 720px) { .satzungen { grid-template-columns: minmax(0, 1fr); } }

/* Wir gedenken */
.gedenken { padding-top: 32px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.gedenk-kopf { text-align: center; display: flex; flex-direction: column; gap: 10px; padding: 8px 0 4px; }
.gedenk-kopf h1 { font-size: 44px; font-weight: 500; letter-spacing: .5px; }
.gedenk-kopf p { margin: 0; font-size: 19px; color: var(--text-2); }
.gedenk-kopf::after { content: ""; width: 60px; height: 2px; background: var(--salbei); margin: 10px auto 0; }
.gedenk-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gedenk-karte { background: #FFFFFF; border: 1px solid var(--linie); border-radius: 12px; padding: 28px 22px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; transition: background .6s ease, border-color .6s ease; }
.gedenk-foto { width: 120px; height: 120px; border-radius: 50%; background: var(--platzhalter); color: #4F5A3F; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; margin-bottom: 8px; filter: grayscale(1); }
.gedenk-name { font-size: 22px; font-weight: 500; }
.gedenk-daten { margin: 0; font-size: 15px; color: var(--text-3); letter-spacing: .3px; }
.gedenk-satz { margin: 4px 0 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 16px; color: var(--text-2); }
.gedenk-kerze { height: 76px; margin-top: 10px; }
.gedenk-kerze .kerze { height: 76px; width: auto; }
.gedenk-kerze .flamme { opacity: 0; transform-origin: 20px 22px; transition: opacity .8s ease; }
.gedenk-karte.brennt { background: #FDFBF5; border-color: #E6DDC6; }
.gedenk-karte.brennt .flamme { opacity: 1; animation: flackern 2.4s ease-in-out infinite; }
@keyframes flackern { 0%,100% { transform: scale(1) rotate(0deg); } 30% { transform: scale(1.04, .97) rotate(-2deg); } 60% { transform: scale(.97, 1.04) rotate(1.5deg); } }
.gedenk-kerze-knopf { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--linie); background: transparent; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.gedenk-kerze-knopf:hover { background: var(--hover); }
.gedenk-kerze-knopf[aria-pressed="true"] { border-color: #E6DDC6; color: #8A6A1E; }
.gedenk-hinweis { max-width: 720px; margin: 0 auto; text-align: center; color: var(--text-3); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.gedenk-hinweis p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .gedenk-karte.brennt .flamme { animation: none; } }
@media (max-width: 900px) { .gedenk-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gedenk-raster { grid-template-columns: minmax(0, 1fr); } .gedenk-kopf h1 { font-size: 34px; } }
.gedenk-suche { max-width: 520px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }
.gedenk-suche label { font-weight: 600; font-size: 15px; }
.gedenk-suchfeld { position: relative; }
.gedenk-suchfeld svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-3); pointer-events: none; }
.gedenk-suchfeld input { width: 100%; min-height: 48px; padding: 0 16px 0 44px; border: 1px solid var(--linie); border-radius: 999px; font-family: inherit; font-size: 17px; color: var(--text); background: #FFFFFF; }
.gedenk-suchfeld input:focus { outline: 3px solid #C6CFB7; border-color: var(--gruen); }
.gedenk-suche .meta { margin: 0; text-align: center; }
.gedenk-karte[hidden] { display: none; }
img.gedenk-foto { object-fit: cover; display: block; }
div.gedenk-foto { font-family: var(--serif); font-size: 34px; font-weight: 500; color: #6B735F; letter-spacing: 1px; }
.gedenk-leer { margin: 0; text-align: center; color: var(--text-2); font-size: 17px; padding: 24px; background: var(--flaeche); border-radius: 10px; }
.gedenk-leer[hidden] { display: none; }
.gedenk-daten { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.gedenk-karte .gedenk-kerze { margin-top: auto; padding-top: 12px; }

/* Vereinsseite */
.verein { gap: 32px; }
.verein-kopf { display: flex; flex-direction: column; gap: 4px; }
.verein-kopf .meta { font-size: 16px; }
.verein-abschnitt { display: flex; flex-direction: column; gap: 14px; }
.verein-abschnitt > h2, .lied > h2 { font-size: 26px; }
.flyer-karte { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 20px; border: 1px solid var(--platzhalter); border-radius: 12px; background: var(--flaeche); }
.flyer-titel { flex: 0 0 110px; display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(30,36,24,.18); background: #FFFFFF; }
.flyer-titel img { display: block; width: 100%; height: auto; }
.flyer-text { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.flyer-text h2 { font-size: 22px; }
.flyer-text p { margin: 0; color: var(--text-2); }
.flyer-text .knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.zitate { gap: 16px; }
.zitat { margin: 0; padding: 18px 22px; border-left: 4px solid var(--salbei); background: var(--flaeche); border-radius: 0 10px 10px 0; display: flex; flex-direction: column; gap: 6px; }
.zitat figcaption { font-weight: 600; font-size: 15px; color: var(--text-3); }
.zitat blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 18px; line-height: 1.55; }
.mitglied { padding: 20px 24px; border-radius: 12px; background: var(--gruen); color: #FFFFFF; font-size: 18px; line-height: 1.6; }
.mitglied p { margin: 0; }
.vorstand-haupt { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vorstand-haupt li { padding: 14px 18px; background: var(--flaeche); border: 1px solid var(--platzhalter); border-radius: 10px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--text-2); }
.vorstand-haupt li strong { font-size: 17px; color: var(--text); }
.vorstand-haupt li.ansprech { grid-column: 1 / -1; border-color: var(--gruen); background: #FFFFFF; }
.vorstand-rest { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vorstand-rest li { padding: 6px 14px; border-radius: 999px; background: var(--hover); font-size: 15px; }
.veranstaltungen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.veranstaltungen li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--linie-hell); border-radius: 10px; font-size: 16px; line-height: 1.45; }
.veranstaltungen li svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--gruen); margin-top: 1px; }
.gelder { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.6; }
.gelder li::marker { color: var(--gruen); }
.lied { text-align: center; padding: 32px 20px; background: var(--flaeche); border-radius: 12px; display: flex; flex-direction: column; gap: 18px; }
.lied p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 19px; line-height: 1.6; }
@media (max-width: 720px) { .vorstand-haupt, .veranstaltungen { grid-template-columns: minmax(0, 1fr); } .flyer-titel { flex-basis: 90px; } }
.untermenu a.extern { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.extern-pfeil { color: var(--text-3); font-size: 14px; }
.artikelbild.klein { display: flex; justify-content: center; }
.artikelbild.klein img { width: auto; max-width: 100%; height: auto; max-height: none; border-radius: 10px; }

/* Seite im Aufbau, Linkkarten */
.aufbau { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: 12px; background: var(--flaeche); border: 1px dashed var(--salbei); }
.aufbau svg { flex: 0 0 auto; width: 32px; height: 32px; color: var(--gruen); }
.aufbau h2 { font-size: 22px; margin-bottom: 4px; }
.aufbau p { margin: 0; color: var(--text-2); }
.link-karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.link-karte { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 44px 18px 20px; border: 1px solid var(--linie); border-radius: 10px; text-decoration: none; color: var(--text); background: #FFFFFF; }
.link-karte:hover { border-color: var(--gruen); background: var(--flaeche); color: var(--text); }
.link-karte strong { font-family: var(--serif); font-size: 19px; }
.link-karte span:not(.meta):not(.pfeil) { font-size: 15px; color: var(--text-2); }
.link-karte .pfeil { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--gruen); font-size: 20px; }
@media (max-width: 720px) { .link-karten { grid-template-columns: minmax(0, 1fr); } }
.aufmacher .bild.quer { background: #111; }
.aufmacher .bild.quer img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.karte .plakat-karte { background: #F4D9A6; overflow: hidden; }
.karte .plakat-karte img { height: 100%; width: auto; display: block; }

/* Inschrift */
.inschrift { margin: 0; padding: 24px 28px; background: #2B3223; color: #F3F5EF; border-radius: 12px; display: flex; flex-direction: column; gap: 12px; }
.inschrift blockquote { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.5; letter-spacing: .3px; }
.inschrift figcaption { font-size: 17px; line-height: 1.6; color: #D9DDD5; font-style: italic; }

/* Text neben Bild */
.text-bild { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.text-bild .artikelbild { flex: 0 1 356px; }
.text-bild .fliesstext { flex: 1 1 300px; min-width: 0; }
.text-bild.umgekehrt { flex-direction: row-reverse; }
@media (max-width: 720px) { .text-bild.umgekehrt { flex-direction: row; } .text-bild .artikelbild { flex-basis: 100%; } }
.mehr .zeitleiste { margin-left: 84px; }
.mehr .zeitleiste .jahr { width: 72px; left: -90px; font-size: 16px; }

/* Bildergalerie */
.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.galerie a { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--platzhalter); }
.galerie img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.galerie a:hover img { transform: scale(1.03); }
@media (min-width: 721px) { .galerie { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.menu .punkt.aktiv:hover, .menu button.punkt.aktiv[aria-expanded="true"] { background: var(--gruen-dunkel); color: #FFFFFF; }
#hauptmenu { min-height: 44px; }
.karte .bildkarte { overflow: hidden; }
.karte .bildkarte img { width: 100%; height: 100%; object-fit: cover; display: block; }
