/* ==========================================================================
   Jennecken – Design für Helix Ultimate  (Version 2, nach Screenshot)
   Keine externen Schriften oder Skripte (DSGVO).
   ========================================================================== */

:root {
  --jn-green: #0b5339;
  --jn-green-dark: #08402c;
  --jn-green-soft: #e4eee8;
  --jn-page: #fdfdfb;
  --jn-quick: #f6f5f1;
  --jn-band: #f3f2ee;
  --jn-panel: #f1f3ee;
  --jn-card: #fbfbf9;
  --jn-line: #e7e5de;
  --jn-footer: #112e25;
  --jn-ink: #1d2a23;
  --jn-muted: #646f68;
  --jn-sand: #d9b48a;
  --jn-wrap: 1320px;
  --jn-serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --jn-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --jn-shadow: 0 2px 10px rgba(20, 40, 30, .07);
}

body, .body-innerwrapper { background: var(--jn-page); font-family: var(--jn-sans); color: var(--jn-ink); font-size: 1rem; line-height: 1.55; font-style: normal; }
h1, h2, h3, h4, h5, h6 { font-family: var(--jn-serif); color: var(--jn-ink); font-weight: 700; letter-spacing: -.01em; }
a { color: var(--jn-green); }
a:hover { color: var(--jn-green-dark); }
.container { max-width: var(--jn-wrap); }

/* ---------- Bausteine ---------- */
.jn-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.3rem; border-radius: 5px; font: 600 .88rem/1 var(--jn-sans); text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.jn-btn:hover { text-decoration: none; }
.jn-btn-primary { background: var(--jn-green); color: #fff; }
.jn-btn-primary:hover { background: var(--jn-green-dark); color: #fff; }
.jn-btn-ghost { background: rgba(30, 28, 20, .55); color: #fff; border-color: rgba(255, 255, 255, .55); }
.jn-btn-ghost:hover { background: rgba(255, 255, 255, .92); color: var(--jn-green-dark); }
.jn-btn-sm { padding: .7rem 1.1rem; font-size: .82rem; }
.jn-more { font: 600 .78rem/1.2 var(--jn-sans); text-decoration: none; color: var(--jn-green); white-space: nowrap; }
.jn-more:hover { text-decoration: underline; }
.jn-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 0 0 .9rem; }
.jn-section-head h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.15; margin: 0; }
.jn-section-head .jn-more { margin-top: .75rem; }
.jn-sub { margin: .25rem 0 0; color: var(--jn-muted); font-size: .95rem; }
.jn-eyebrow { display: block; font: 400 .74rem/1.2 var(--jn-sans); letter-spacing: .34em; text-transform: uppercase; color: rgba(255, 255, 255, .88); margin-bottom: .9rem; }
.jn-chip { position: absolute; left: .6rem; bottom: .6rem; font: 700 .6rem/1 var(--jn-sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #0a5337; padding: .38rem .55rem; border-radius: 3px; }

/* Kennzeichnung für Visualisierungen (keine Fotos) */
.jn-vis { position: absolute; top: .55rem; right: .55rem; z-index: 2; font: 600 .62rem/1 var(--jn-sans); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(15, 25, 20, .55); padding: .32rem .5rem; border-radius: 3px; backdrop-filter: blur(2px); }

/* Helix-Modulrahmen neutralisieren */
#sp-home-hero .sp-module, #sp-home-quicklinks .sp-module, #sp-aktuelles .sp-module, #sp-home-projekte .sp-module,
#sp-home-partner .sp-module, #sp-home-mitmachen .sp-module { margin: 0; }
#sp-home-hero, #sp-home-quicklinks, #sp-home-mitmachen { padding: 0; }
#sp-home-hero > .sp-column, #sp-home-quicklinks > .sp-column, #sp-home-mitmachen > .sp-column { padding: 0; }

/* ---------- Kopfzeile ---------- */
#sp-header { background: #fff; height: 82px; box-shadow: 0 1px 0 var(--jn-line); }
#sp-header > .container { max-width: none; padding: 0 2vw 0 4.1vw; }
#sp-header .container-inner { padding: 0; }
#sp-header .row { --bs-gutter-x: 1rem; flex-wrap: nowrap; align-items: center; }
#sp-header .logo { height: 82px; display: flex; align-items: center; }
#sp-header .logo a { display: flex; align-items: center; }
#sp-header .logo img, #sp-header .logo-image { height: 62px; width: auto; max-width: none; }
body.sticky-header #sp-header.header-sticky { height: 70px; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }

#sp-menu { min-width: 0; }
#sp-menu > .sp-column { gap: 0; }
#sp-menu .sp-megamenu-wrapper { flex: none; }
#sp-menu .sp-megamenu-parent { margin: 0; float: none; white-space: nowrap; }
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span { font: 500 .8rem/82px var(--jn-sans); padding: 0 .65rem; color: var(--jn-ink); text-transform: none; letter-spacing: 0; position: relative; }
.sp-megamenu-parent > li > a::after, .sp-megamenu-parent > li > span::after { content: ""; position: absolute; left: .65rem; right: .65rem; bottom: 24px; height: 2px; background: var(--jn-green); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.sp-megamenu-parent > li:hover > a::after, .sp-megamenu-parent > li.active > a::after { transform: scaleX(1); }
.sp-megamenu-parent > li.active > a, .sp-megamenu-parent > li:hover > a { color: var(--jn-green); }
.sp-megamenu-parent > li.sp-has-child > a::before { display: none; }
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner { border-radius: 8px; border: 1px solid var(--jn-line); box-shadow: var(--jn-shadow); padding: .4rem; }
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a { font: 500 .85rem/1.3 var(--jn-sans); padding: .55rem .75rem; border-radius: 5px; }
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover { background: var(--jn-green-soft); color: var(--jn-green); }

#sp-menu > .sp-column > .sp-module { order: 2; margin: 0 0 0 .6rem; }
#sp-menu .header-modules { order: 1; margin-left: 2.2rem; }
#sp-menu .header-modules .sp-module { margin: 0; }
#sp-header .jn-btn { padding: .78rem 1.1rem; }
/* Suche als reines Symbol */
#sp-header .search { position: relative; }
#sp-header .search form { margin: 0; }
#sp-header .search input.inputbox, #sp-header .search input[type="search"], #sp-header .search input[type="text"] {
  width: 34px; height: 34px; border: 0; border-radius: 34px; padding: 0 0 0 34px; cursor: pointer; font-size: .85rem; transition: width .25s, padding .2s, box-shadow .2s;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d2a23' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 8px center / 18px;
}
#sp-header .search input::placeholder { color: transparent; }
#sp-header .search input:focus { width: 200px; padding: 0 .9rem 0 34px; cursor: text; outline: 0; background-color: #fff; box-shadow: 0 0 0 2px var(--jn-green); }
#sp-header .search input:focus::placeholder { color: var(--jn-muted); }
#sp-header .search form::after, #sp-header .search form::before, #sp-header .search .icon-search { display: none !important; }

/* ---------- Hero ---------- */
.jn-hero { position: relative; color: #fff; height: clamp(400px, 32.8vw, 560px); display: flex; align-items: center; background: #2a3a22 center / cover no-repeat; isolation: isolate; }
.jn-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 20, 12, .62) 0%, rgba(5, 20, 12, .38) 32%, rgba(5, 20, 12, 0) 62%); }
.jn-hero-inner { width: 100%; max-width: var(--jn-wrap); margin: 0 auto; padding: 2.6rem 15px 0; }
.jn-hero h1 { color: #fff; font-size: clamp(2.6rem, 5.85vw, 5.4rem); line-height: .95; letter-spacing: -.02em; margin: 0 0 1.1rem; text-shadow: 0 2px 28px rgba(0, 0, 0, .42), 0 0 10px rgba(0, 0, 0, .14); }
.jn-hero p { font-size: clamp(1rem, 1.4vw, 1.3rem); line-height: 1.35; margin: 0 0 1.7rem; color: #fff; text-shadow: 0 1px 18px rgba(0, 0, 0, .45), 0 0 8px rgba(0, 0, 0, .12); }
.jn-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Schnellzugriff ---------- */
.jn-quick { background: var(--jn-quick); }
.jn-quick-inner { max-width: var(--jn-wrap); margin: 0 auto; padding: 0 15px; height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.jn-quick a { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--jn-ink); padding: 0 .4rem; }
.jn-quick a:hover strong { color: var(--jn-green); }
.jn-quick i { font-size: 1.7rem; color: var(--jn-green); width: 2.2rem; text-align: center; }
.jn-quick strong { display: block; font: 600 .86rem/1.2 var(--jn-sans); }
.jn-quick small { display: block; font-size: .78rem; color: var(--jn-muted); line-height: 1.3; }

/* ---------- Aktuelles + Veranstaltungen ---------- */
#sp-aktuelles { padding: 1.7rem 0 1.5rem; }
#sp-aktuelles .row { --bs-gutter-x: 1.3rem; margin-right: -1.5rem; }
.jn-news { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.jn-card { background: var(--jn-card); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--jn-shadow); }
.jn-thumb { position: relative; overflow: hidden; background: var(--jn-band); }
.jn-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jn-card .body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.jn-date-text { font-size: .72rem; color: var(--jn-muted); }
.jn-card h3 { font: 700 1rem/1.25 var(--jn-sans); letter-spacing: 0; margin: 0; }
.jn-card h3 a { color: var(--jn-ink); text-decoration: none; }
.jn-card h3 a:hover { color: var(--jn-green); }
.jn-card p { margin: 0; color: #4c5750; font-size: .82rem; line-height: 1.5; }
.jn-card .jn-more { margin-top: auto; padding-top: .3rem; }
.jn-featured { grid-row: span 2; }
.jn-featured .jn-thumb { aspect-ratio: 2.14 / 1; }
.jn-featured h3 { font-size: 1.35rem; line-height: 1.2; }
.jn-featured p { font-size: .92rem; }
.jn-featured .body { padding: 1rem 1.1rem 1.15rem; gap: .5rem; }
.jn-compact { flex-direction: row; }
.jn-compact .jn-thumb { flex: 0 0 40%; }
.jn-compact .body { padding: .75rem .9rem .85rem; }
.jn-compact p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.jn-events { background: var(--jn-panel); border-radius: 8px; padding: .95rem .95rem 1.1rem; height: 100%; }
.jn-events-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.jn-events h2 { font-size: 1.3rem; margin: 0; line-height: 1.2; }
.jn-events ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.jn-events li a { display: flex; align-items: center; gap: .85rem; background: #fafaf8; border-radius: 6px; padding: .9rem .9rem .9rem .75rem; box-shadow: 0 1px 4px rgba(20, 40, 30, .06); text-decoration: none; color: var(--jn-ink); }
.jn-events li a:hover { box-shadow: var(--jn-shadow); }
.jn-date { flex: 0 0 52px; height: 58px; background: #fff; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; box-shadow: inset 0 0 0 1px #ecece6; }
.jn-date small { font: 700 .62rem/1 var(--jn-sans); letter-spacing: .06em; color: var(--jn-green); margin-bottom: .2rem; }
.jn-date b { font: 700 1.45rem/1 var(--jn-sans); color: var(--jn-ink); }
.jn-events .txt { flex: 1; min-width: 0; }
.jn-events strong { display: block; font: 700 .95rem/1.25 var(--jn-sans); margin-bottom: .2rem; }
.jn-events em { display: block; font-style: normal; font-size: .76rem; color: #4c5750; line-height: 1.45; }
.jn-events em i { width: 1.1rem; color: #3a463f; font-size: .72rem; }
.jn-events .go { color: #3a463f; font-size: .7rem; }
.jn-events .jn-btn { margin-left: auto; display: flex; width: fit-content; }

/* ---------- Projekte ---------- */
#sp-home-projekte { background: var(--jn-band); padding: 1.6rem 0 1.4rem; }
.jn-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.jn-project { position: relative; display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 2.4 / 1; color: #fff; text-decoration: none; isolation: isolate; background: #28402f; }
.jn-project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.jn-project:hover img { transform: scale(1.03); }
.jn-project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 22, 14, .88) 0%, rgba(6, 22, 14, .55) 32%, rgba(6, 22, 14, 0) 62%); }
.jn-project .bar { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; display: flex; align-items: center; gap: .8rem; }
.jn-project .ico { flex: 0 0 38px; height: 38px; border-radius: 8px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); display: grid; place-items: center; font-size: 1rem; }
.jn-project .txt { flex: 1; min-width: 0; }
.jn-project strong { display: block; font: 700 .95rem/1.2 var(--jn-sans); }
.jn-project small { display: block; font-size: .76rem; color: #e1ebe5; line-height: 1.3; margin-top: .1rem; }
.jn-project .go { font-size: 1rem; }

/* ---------- Partner ---------- */
#sp-home-partner { background: #fbfbf9; padding: 1.4rem 0 1.1rem; }
.jn-carousel { position: relative; padding: 0 .3rem; }
.jn-carousel-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.jn-partner { height: 82px; display: grid; place-items: center; background: #fff; border-radius: 4px; box-shadow: 0 1px 6px rgba(20, 40, 30, .07); padding: .6rem 1rem; color: #7a847e; font: 700 .85rem/1.2 var(--jn-sans); text-align: center; text-decoration: none; }
.jn-partner:hover { color: var(--jn-green); }
.jn-partner img { max-width: 100%; max-height: 52px; object-fit: contain; }
.jn-arrow { position: absolute; top: 41px; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; border: 0; background: #3a3c3e; color: #fff; display: grid; place-items: center; cursor: pointer; font-size: .6rem; }
.jn-arrow:hover { background: var(--jn-green); }
.jn-arrow.prev { left: -2.6rem; } .jn-arrow.next { right: -2.6rem; }
.jn-dots { display: flex; justify-content: center; gap: .4rem; margin-top: .75rem; }
.jn-dots i { width: 7px; height: 7px; border-radius: 50%; background: #c9cdc9; }
.jn-dots i.on { background: var(--jn-green); }

/* ---------- Mitmachen-Band ---------- */
.jn-hero .jn-eyebrow, .jn-cta .jn-eyebrow { text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
.jn-hero .jn-btn, .jn-cta .jn-btn { box-shadow: 0 4px 18px rgba(0, 0, 0, .22); }
.jn-cta { position: relative; color: #fff; background: #2a3a22 center / cover no-repeat; isolation: isolate; }
.jn-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 24, 14, .62), rgba(8, 24, 14, .12) 70%); }
.jn-cta-inner { max-width: var(--jn-wrap); margin: 0 auto; padding: 2rem 15px; min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.jn-cta .jn-eyebrow { font-size: .68rem; margin-bottom: .5rem; }
.jn-cta h2 { color: #fff; font-size: clamp(1.9rem, 3.5vw, 3.2rem); line-height: 1.05; margin: 0 0 .5rem; text-shadow: 0 2px 26px rgba(0, 0, 0, .42), 0 0 10px rgba(0, 0, 0, .14); }
.jn-cta p { margin: 0; font-size: 1.05rem; color: #fff; text-shadow: 0 1px 16px rgba(0, 0, 0, .45), 0 0 8px rgba(0, 0, 0, .12); }

/* ---------- Fußbereich ---------- */
#sp-footer, #sp-footer-bottom { background: var(--jn-footer); color: #dbe6df; }
#sp-footer { padding: 1.7rem 0 1.3rem; font-size: .8rem; }
#sp-footer > .container, #sp-footer-bottom > .container { max-width: none; padding: 0 3.6vw; }
#sp-footer .container-inner, #sp-footer-bottom .container-inner { padding: 0; border: 0; }
#sp-footer a, #sp-footer-bottom a { color: #dbe6df; text-decoration: none; }
#sp-footer a:hover, #sp-footer-bottom a:hover { color: #fff; text-decoration: underline; }
#sp-footer .sp-module, #sp-footer-bottom .sp-module { margin: 0; }
#sp-footer #sp-footer2 { text-align: left; }
.jn-foot h3 { font: 700 .88rem/1.2 var(--jn-sans); letter-spacing: 0; color: #fff; margin: 0 0 .8rem; }
.jn-foot-about img { height: 52px; width: auto; margin-bottom: .8rem; }
.jn-foot-about p { margin: 0; color: #dbe6df; line-height: 1.5; max-width: 34ch; }
.jn-foot-contact { list-style: none; margin: 0; padding: 0; }
.jn-foot-contact li { display: flex; gap: .7rem; margin-bottom: .5rem; align-items: baseline; }
.jn-foot-contact i { width: 1rem; color: #fff; font-size: .8rem; text-align: center; }
.jn-foot-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 3.2rem; max-width: 26rem; }
.jn-foot-links li { margin-bottom: .5rem; break-inside: avoid; }
.jn-foot-links a::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .55rem; margin-right: .6rem; vertical-align: 1px; }
.jn-social { display: flex; gap: 1rem; font-size: 1.7rem; line-height: 1; }
.jn-social a { color: #fff !important; text-decoration: none !important; }
.jn-social a:hover { opacity: .8; }
#sp-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: .85rem 0; font-size: .74rem; }
#sp-footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
#sp-footer-bottom .row { align-items: center; }
#sp-footer-bottom .jn-copy { text-align: right; color: #9db0a6; }
@media (min-width: 992px) {
  #sp-footer1 { flex: 0 0 29.6%; max-width: 29.6%; }
  #sp-footer2 { flex: 0 0 26.8%; max-width: 26.8%; }
  #sp-footer3 { flex: 0 0 32.6%; max-width: 32.6%; }
  #sp-footer4 { flex: 0 0 11%; max-width: 11%; }
}
.sp-scroll-up { background: var(--jn-green); border-radius: 50%; }

/* ---------- Startseite: Komponentenbereich ausblenden ---------- */
body.page-home #sp-main-body { display: none; }

/* ---------- Innenseiten ---------- */
#sp-main-body { padding: 3rem 0; }
.article-details .article-header h1, .page-header h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.btn-primary, .btn.btn-primary { background: var(--jn-green); border-color: var(--jn-green); }
.btn-primary:hover { background: var(--jn-green-dark); border-color: var(--jn-green-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1399.98px) {
  .jn-quick-inner { gap: .4rem; }
  .jn-quick i { font-size: 1.4rem; width: 1.8rem; }
  .jn-arrow.prev { left: -1.7rem; } .jn-arrow.next { right: -1.7rem; }
}
@media (max-width: 1199.98px) {
  #sp-header > .container { padding: 0 1rem; }
  .jn-quick-inner { height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e6e4dc; padding: 0; max-width: none; }
  .jn-quick a { background: var(--jn-quick); padding: 1.1rem 1.2rem; }
  .jn-quick a:last-child { grid-column: span 2; }
  .jn-carousel-track { grid-template-columns: repeat(4, 1fr); }
  .jn-carousel-track .jn-partner:nth-child(n+5) { display: none; }
  .jn-carousel { padding: 0 1.8rem; }
  .jn-arrow.prev { left: 0; } .jn-arrow.next { right: 0; }
}
@media (max-width: 991.98px) {
  #sp-header { height: 68px; }
  #sp-header .logo { height: 68px; }
  #sp-header .logo img, #sp-header .logo-image { height: 44px; }
  .jn-cta-btn, #sp-menu > .sp-column > .sp-module { display: none; }
  #sp-aktuelles .row > div + div { margin-top: 1.5rem; }
  .jn-projects { grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  .jn-project { aspect-ratio: 1.25 / 1; }
  .jn-project small, .jn-project .go { display: none; }
  #sp-footer-bottom .jn-copy { text-align: left; margin-top: .4rem; }
}
@media (max-width: 767.98px) {
  .jn-hero { height: 480px; align-items: flex-end; padding-bottom: 1.5rem; }
  .jn-hero::before { background: linear-gradient(0deg, rgba(5, 18, 10, .7), rgba(5, 18, 10, .1)); }
  .jn-quick-inner { grid-template-columns: 1fr 1fr; }
  .jn-quick a:last-child { grid-column: span 2; }
  .jn-projects { grid-template-columns: 1fr; }
  .jn-project { aspect-ratio: 2.4 / 1; }
  .jn-project small { display: block; }
  .jn-news { grid-template-columns: 1fr; }
  .jn-featured { grid-row: auto; }
  .jn-section-head { flex-direction: column; gap: .3rem; }
  .jn-section-head .jn-more { margin-top: 0; }
  .jn-carousel-track { grid-template-columns: repeat(2, 1fr); }
  .jn-carousel-track .jn-partner:nth-child(n+3) { display: none; }
  .jn-cta-inner { flex-direction: column; align-items: flex-start; }
  #sp-footer [class*="col-"] + [class*="col-"] { margin-top: 1.4rem; }
}
@media (max-width: 480px) {
  .jn-compact { flex-direction: column; }
  .jn-compact .jn-thumb { aspect-ratio: 16 / 9; flex: none; }
  .jn-quick strong { font-size: .8rem; }
  .jn-quick i { font-size: 1.2rem; width: 1.4rem; }
  .jn-quick a { gap: .5rem; padding: 1rem .7rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Beitragsinhalt (aus WordPress übernommen) ---------- */
.com-content-article__body img, .blog-item img, .item-content img { max-width: 100%; height: auto; }
.com-content-article__body figure, .item-content figure { margin: 0 0 1.2rem; }
.com-content-article__body figcaption, .item-content figcaption { font-size: .86rem; color: #5b665f; margin-top: .35rem; line-height: 1.4; }
.com-content-article__body .alignleft, .item-content .alignleft { float: left; margin: .2rem 1.4rem 1rem 0; max-width: 46%; }
.com-content-article__body .alignright, .item-content .alignright { float: right; margin: .2rem 0 1rem 1.4rem; max-width: 46%; }
.com-content-article__body .aligncenter, .item-content .aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.wp-block-gallery { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0; clear: both; }
.wp-block-gallery > figure { flex: 1 1 30%; min-width: 180px; margin: 0; }
.wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; border-radius: 6px; }
.com-content-article__body table, .item-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; }
.com-content-article__body td, .com-content-article__body th, .item-content td, .item-content th { border: 1px solid #dfe3dc; padding: .45rem .6rem; vertical-align: top; }
@media (max-width: 575px) {
  .com-content-article__body .alignleft, .com-content-article__body .alignright,
  .item-content .alignleft, .item-content .alignright { float: none; max-width: 100%; margin: 0 0 1rem; }
}

/* ---------- Beitragsliste (Aktuelles, Veranstaltungen, Aus der Umgebung): jeder Beitrag als Karte, Version 2 ---------- */
body .com-content-category-blog > h1, body .com-content-category-blog > h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 1.4rem; }
body .com-content-category-blog .article-list { display: flex; flex-direction: column; gap: 1.8rem; }
body .com-content-category-blog .article-list > .row { display: block; margin: 0; --bs-gutter-x: 0; --bs-gutter-y: 0; }
body .com-content-category-blog .article-list > .row > [class*="col-"] { width: 100%; max-width: 100%; padding: 0; margin: 0 0 1.8rem; }
body .com-content-category-blog .article-list > .row:last-child > [class*="col-"] { margin-bottom: 0; }
body .com-content-category-blog .article {
  position: relative; background: #fff; border: 1px solid #dedbd2; border-left: 5px solid var(--jn-green); border-radius: 8px;
  box-shadow: 0 3px 14px rgba(20, 40, 30, .10); overflow: hidden; margin: 0; padding: 0;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
body .com-content-category-blog .article:hover { box-shadow: 0 10px 28px rgba(20, 40, 30, .18); transform: translateY(-3px); }
/* ganze Karte anklickbar (Titel-Link wird über die Karte gespannt) */
body .com-content-category-blog .article .article-header h2 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
/* Foto: nie größer als die Karte, immer zugeschnitten */
body .com-content-category-blog .article .article-intro-image { margin: 0; background: var(--jn-band); overflow: hidden; }
body .com-content-category-blog .article .article-intro-image img { display: block; width: 100%; height: 100%; max-height: 300px; object-fit: cover; }
body .com-content-category-blog .article .article-body { padding: 1.3rem 1.6rem 1.5rem; }
body .com-content-category-blog .article .article-header h2 { font: 700 1.5rem/1.25 var(--jn-serif); margin: 0 0 .35rem; }
body .com-content-category-blog .article .article-header h2 a { color: var(--jn-ink); text-decoration: none; }
body .com-content-category-blog .article:hover .article-header h2 a { color: var(--jn-green); }
body .com-content-category-blog .article .article-info { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin: 0 0 .9rem; padding: 0 0 .75rem; border-bottom: 1px solid var(--jn-line); font-size: .82rem; color: var(--jn-muted); }
/* Text nur anreißen: wenige Zeilen mit Ausblendung, Bilder und Galerien im Text ausblenden */
body .com-content-category-blog .article .article-introtext { position: relative; max-height: 7.6em; overflow: hidden; color: #3b4640; font-size: .97rem; line-height: 1.6; }
body .com-content-category-blog .article .article-introtext::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.6em; background: linear-gradient(rgba(255,255,255,0), #fff); }
body .com-content-category-blog .article .article-introtext img,
body .com-content-category-blog .article .article-introtext figure,
body .com-content-category-blog .article .article-introtext .wp-caption,
body .com-content-category-blog .article .article-introtext .wp-block-gallery,
body .com-content-category-blog .article .article-introtext table,
body .com-content-category-blog .article .article-introtext iframe,
body .com-content-category-blog .article .article-introtext video { display: none; }
body .com-content-category-blog .article .article-introtext p { margin: 0 0 .7em; }
body .com-content-category-blog .article .article-introtext .readmore { display: none; }
body .com-content-category-blog .article .article-body::after { content: "Weiterlesen  →"; display: inline-block; margin-top: 1rem; padding: .55rem 1rem; border-radius: 5px; background: var(--jn-green-soft); color: var(--jn-green); font: 600 .85rem/1 var(--jn-sans); transition: background .15s, color .15s; }
body .com-content-category-blog .article:hover .article-body::after { background: var(--jn-green); color: #fff; }
body .com-content-category-blog .article .featured-article-badge { display: none; }
/* größere Bildschirme: Foto links (rund ein Drittel), Text rechts */
@media (min-width: 768px) {
  body .com-content-category-blog .article { flex-direction: row; align-items: stretch; }
  body .com-content-category-blog .article > a, body .com-content-category-blog .article > .article-intro-image { flex: 0 0 34%; max-width: 34%; }
  body .com-content-category-blog .article > a .article-intro-image { height: 100%; }
  body .com-content-category-blog .article .article-intro-image img { max-height: none; min-height: 230px; }
  body .com-content-category-blog .article .article-body { flex: 1; min-width: 0; padding: 1.4rem 1.8rem 1.5rem; }
}
body .com-content-category-blog .com-content-category-blog__navigation { margin-top: 2rem; }

body .com-content-category-blog .article { margin: 0 0 1.8rem !important; }
body .com-content-category-blog .article-list { gap: 0 !important; }
body .com-content-category-blog .article-list > .row > [class*="col-"] { margin: 0 !important; }

/* Foto in der Karte: feste Höhe, nie größer als die Karte (auch bei quadratischen Bildern/Logos) */
@media (min-width: 768px) {
  body .com-content-category-blog .article > a, body .com-content-category-blog .article > .article-intro-image { position: relative; min-height: 240px; }
  body .com-content-category-blog .article > a .article-intro-image { position: absolute; inset: 0; height: 100%; max-height: none; }
  body .com-content-category-blog .article .article-intro-image img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: cover; }
}

/* Beitragsansicht: lesefreundliche Spaltenbreite */
body .article-details { max-width: 920px; margin-left: auto; margin-right: auto; }
body .article-details .article-header h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.2; }
body .article-details img { height: auto; border-radius: 6px; }

/* JEvents-Kalender: Rot -> Vereinsgrün */
#jevents_body .nav-items,
#jevents_body .nav-items > div,
#jevents_body .nav-items > div a,
#jevents .jev_header2 a{border-color:var(--jn-green,#2f5d3f)!important}

#jevents_body .nav-items > div a{color:var(--jn-green,#2f5d3f)!important}

#jevents_body .nav-items div.active a,
#jevents .jev_header2 .active a{background-color:var(--jn-green,#2f5d3f)!important;color:#fff!important;border-color:var(--jn-green,#2f5d3f)!important}

/* Monatsleiste (September / November) und heutiger Tag: gängige JEvents-Namen */
#jevents_body .previousmonth, #jevents_body .nextmonth,
#jevents_body .month_date .previousmonth, #jevents_body .month_date .nextmonth,
#jevents_body .jev_toprow .previousmonth, #jevents_body .jev_toprow .nextmonth{background-color:var(--jn-green,#2f5d3f)!important;border-color:var(--jn-green,#2f5d3f)!important}
#jevents_body .cal_td_today a, #jevents_body td.cal_td_today .cal_daylink, #jevents_body .cal_today a{background-color:var(--jn-green,#2f5d3f)!important;color:#fff!important}

/* Rote Umrandung der Monatsleiste in Grün */
#jevents_body .month_date,
#jevents_body .month_date *,
#jevents_body .currentmonth{border-color:var(--jn-green,#2f5d3f)!important}

/* JEvents iCal-Export: Optik */
#jevents_body input[type="checkbox"]{accent-color:var(--jn-green,#2f5d3f)}
#jevents_body form h2, #jevents_body form h3, #jevents_body form h4{font-size:1.1rem!important;line-height:1.3;margin:0 0 8px}
#jevents_body form .btn, #jevents_body form button, #jevents_body form input[type="submit"]{background:var(--jn-green,#2f5d3f)!important;border:0!important;color:#fff!important;border-radius:12px!important;padding:10px 18px!important}

/* Seiten ohne eigenen Menüpunkt (Tags, Direktlinks) erben "page-home" – dort Inhalt wieder zeigen */
body.page-home.itemid-0 #sp-main-body { display: block !important; }

/* ---------- Seite "Unterstützung des Vereins" ---------- */
.jn-support-lead { font-size: 1.15rem; line-height: 1.6; max-width: 46rem; margin: 0 0 1.5rem; }
.jn-support-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 2rem 0 1rem; }
.jn-support-card { background: #fff; border-radius: 6px; padding: 1.6rem 1.6rem 1.4rem; box-shadow: 0 1px 8px rgba(20, 40, 30, .08); border-top: 3px solid var(--jn-green, #245240); }
.jn-support-card h2 { font-size: 1.35rem; margin: 0 0 .7rem; }
.jn-support-card p { margin: 0 0 .9rem; }
.jn-btn:not(.jn-btn-ghost) { color: #fff !important; text-decoration: none !important; }
.jn-btn:not(.jn-btn-primary):not(.jn-btn-ghost):not(.jn-btn-paypal) { display: inline-block; background: var(--jn-green, #245240); font: 600 .9rem/1.2 var(--jn-sans, inherit); padding: .75rem 1.3rem; border-radius: 4px; transition: background .2s, transform .2s; }
.jn-btn:not(.jn-btn-primary):not(.jn-btn-ghost):not(.jn-btn-paypal):hover { background: #1b3d30; transform: translateY(-1px); }
.jn-bank { margin: 0 0 1rem; }
.jn-bank dt { font-weight: 700; margin-top: .6rem; }
.jn-bank dd { margin: .15rem 0 0; color: var(--jn-muted, #5f6862); }
.jn-iban { font-variant-numeric: tabular-nums; letter-spacing: .02em; font-weight: 600; color: var(--jn-ink, #1f2a24); user-select: all; }
.jn-note { color: var(--jn-muted, #5f6862); font-size: .9rem; margin-bottom: 0 !important; }
@media (max-width: 767.98px) { .jn-support-cards { grid-template-columns: 1fr; } }
/* ---------- Spendenbereich (zusätzlich zum Block "Unterstützung des Vereins") ---------- */
.jn-btn-paypal { background: #0b3d91; }
.jn-btn-paypal:hover { background: #082d6c; }
.jn-donate { background: #fff; border-radius: 6px; padding: 1.6rem; margin: 1.5rem 0 1rem; box-shadow: 0 1px 8px rgba(20, 40, 30, .08); border-top: 3px solid var(--jn-green, #245240); }
.jn-donate h2 { font-size: 1.35rem; margin: 0 0 .5rem; }
.jn-donate-intro { margin: 0 0 1.3rem; color: var(--jn-muted, #5f6862); max-width: 46rem; }
.jn-donate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.jn-donate-bank { display: flex; gap: 1.1rem; align-items: center; background: #fafaf8; border-radius: 6px; padding: 1rem 1.1rem; }
.jn-qr { flex: 0 0 auto; width: 130px; height: 130px; border-radius: 4px; background: #fff; box-shadow: 0 1px 4px rgba(20, 40, 30, .12); }
.jn-donate-data { min-width: 0; }
.jn-donate-data h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
.jn-iban-line { margin: 0 0 .2rem; display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; }
.jn-donate .jn-iban { white-space: nowrap; }
.jn-bic { margin: 0; color: var(--jn-muted, #5f6862); font-size: .9rem; }
.jn-donate .jn-note { margin: 1.2rem 0 0 !important; }
.jn-copy:not(#sp-copyright) { display: none; border: 1px solid #c9d1cb; background: #fff; color: var(--jn-green, #245240); font: 600 .75rem/1 var(--jn-sans, inherit); padding: .4rem .65rem; border-radius: 4px; cursor: pointer; }
.jn-copy:not(#sp-copyright):hover { background: var(--jn-green, #245240); color: #fff; border-color: var(--jn-green, #245240); }
.jn-copy-ready .jn-copy:not(#sp-copyright) { display: inline-block; }
.jn-copy.is-done:not(#sp-copyright) { background: var(--jn-green, #245240); color: #fff; border-color: var(--jn-green, #245240); }
@media (max-width: 991.98px) { .jn-donate-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .jn-qr, .jn-desktop-only { display: none !important; } }
@media (min-width: 576px) { .jn-mobile-only { display: none; } }

/* ==========================================================================
   Jennecken – Seite "Unser Dorf"  (Ergänzung zu custom.css, nutzt dessen --jn-Farben)
   In Helix: Template > Custom Code > Custom CSS  (ans Ende einfügen)
   ========================================================================== */

.jn-dorf { container-type: inline-size; container-name: dorf; margin: 0 0 2rem; color: var(--jn-ink, #1d2a23); }
.jn-dorf *, .jn-dorf *::before, .jn-dorf *::after { box-sizing: border-box; }
.jn-dorf img { max-width: 100%; height: auto; }
.jn-dorf p { margin: 0 0 1rem; }

/* ---------- Icons (Font Awesome, kommt aus dem Template) ---------- */
.jn-dorf [class*="jn-i-"]::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif; font-weight: 900;
  font-style: normal; line-height: 1; display: inline-grid; place-items: center; color: var(--jn-green, #0b5339);
}
.jn-i-post::before  { content: "\f0e0"; }
.jn-i-phone::before { content: "\f095"; }
.jn-i-car::before   { content: "\f1b9"; }
.jn-i-mount::before { content: "\f6fc"; }
.jn-i-route::before { content: "\f4d7"; }
.jn-i-road::before  { content: "\f018"; }
.jn-i-city::before  { content: "\f64f"; }
.jn-i-race::before  { content: "\f11e"; }
.jn-i-hike::before  { content: "\f6ec"; }

/* ---------- Titelbild ---------- */
.jn-dorf-hero { position: relative; isolation: isolate; border-radius: 14px; overflow: hidden; min-height: 21rem; display: flex; align-items: flex-end; color: #fff; background: #26402f; }
.jn-dorf-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 74%; margin: 0; transform: scale(1.02); }
.jn-dorf-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 22, 13, .82) 0%, rgba(5, 22, 13, .5) 42%, rgba(5, 22, 13, .05) 80%); }
.jn-dorf-hero-text { padding: 2rem 1.4rem 4.2rem; max-width: 40rem; }
.jn-dorf-eyebrow { display: block; font: 400 .74rem/1.2 var(--jn-sans, system-ui, sans-serif); letter-spacing: .34em; text-transform: uppercase; color: rgba(255, 255, 255, .9); margin-bottom: .6rem; }
.jn-dorf .jn-dorf-big { font: 700 clamp(2.6rem, 11cqw, 4.6rem)/.95 var(--jn-serif, Georgia, serif); letter-spacing: -.02em; margin: 0 0 .8rem; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.jn-dorf .jn-dorf-lead { font-size: clamp(1rem, 2.6cqw, 1.2rem); line-height: 1.4; margin: 0 0 1.2rem; color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
.jn-dorf .jn-dorf-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.jn-dorf .jn-dorf-actions .jn-btn { white-space: normal; }
.jn-dorf a.jn-btn-primary, .jn-dorf a.jn-btn-primary:hover { color: #fff; }

/* ---------- Kennzahlen ---------- */
.jn-dorf-facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: -2.6rem .8rem 0; }
.jn-fact { background: #fff; border-radius: 12px; box-shadow: 0 6px 22px rgba(20, 40, 30, .12); padding: .9rem .8rem .85rem; text-align: center; border: 1px solid var(--jn-line, #e7e5de); transition: transform .25s ease, box-shadow .25s ease; }
.jn-fact:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 40, 30, .16); }
.jn-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
.jn-fact::before { width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--jn-green-soft, #e4eee8); font-size: 1rem; margin: 0 auto .5rem; }
.jn-fact strong { display: block; font: 700 1.35rem/1.1 var(--jn-serif, Georgia, serif); color: var(--jn-ink, #1d2a23); }
.jn-fact span { display: block; margin-top: .25rem; font: 500 .74rem/1.25 var(--jn-sans, system-ui, sans-serif); letter-spacing: .04em; text-transform: uppercase; color: var(--jn-muted, #646f68); }

/* ---------- Überschriften ---------- */
.jn-dorf .jn-dorf-h { position: relative; font-size: clamp(1.45rem, 4.4cqw, 2rem); line-height: 1.15; margin: 2.8rem 0 1.1rem; padding-bottom: .55rem; }
.jn-dorf .jn-dorf-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3rem; height: 3px; border-radius: 3px; background: var(--jn-sand, #d9b48a); }

/* ---------- Lage ---------- */
.jn-dorf-lage { display: grid; gap: 1.4rem; align-items: center; }
.jn-dorf-map { margin: 0; background: #fff; border: 1px solid var(--jn-line, #e7e5de); border-radius: 12px; padding: .7rem .7rem .55rem; box-shadow: var(--jn-shadow, 0 2px 10px rgba(20, 40, 30, .07)); }
.jn-dorf-map img { display: block; width: 100%; border-radius: 7px; }
.jn-dorf-map figcaption { margin-top: .5rem; font-size: .8rem; color: var(--jn-muted, #646f68); text-align: center; }
.jn-dorf-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .55rem; }
.jn-dorf-list li { display: flex; align-items: center; gap: .75rem; font-size: .98rem; }
.jn-dorf-list li::before { flex: 0 0 2.1rem; height: 2.1rem; border-radius: 9px; background: var(--jn-green-soft, #e4eee8); font-size: .9rem; }

/* ---------- Rund um Jennecken ---------- */
.jn-dorf-around { display: grid; gap: .9rem; }
.jn-dorf-card { position: relative; background: var(--jn-card, #fbfbf9); border: 1px solid var(--jn-line, #e7e5de); border-radius: 12px; padding: 1.3rem 1.3rem 1.1rem 4.6rem; box-shadow: var(--jn-shadow, 0 2px 10px rgba(20, 40, 30, .07)); transition: transform .25s ease, box-shadow .25s ease; }
.jn-dorf-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(20, 40, 30, .12); }
.jn-dorf-card::before { position: absolute; left: 1.2rem; top: 1.25rem; width: 2.5rem; height: 2.5rem; border-radius: 11px; background: var(--jn-green-soft, #e4eee8); font-size: 1.1rem; }
.jn-dorf-card h3 { font: 700 1.1rem/1.25 var(--jn-sans, system-ui, sans-serif); letter-spacing: 0; margin: 0 0 .4rem; }
.jn-dorf-card p { margin: 0 0 .5rem; color: #3f4a43; font-size: .95rem; line-height: 1.5; }
.jn-dorf-card p:last-child { margin-bottom: 0; }

/* ---------- Impressionen (ohne Galerie-Plugin: einfaches Raster) ---------- */
.jn-dorf-gal { margin: 0 0 1rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.jn-dorf-gal img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

/* ---------- breiter ---------- */
@container dorf (min-width: 560px) {
  .jn-dorf-hero { min-height: 25rem; }
  .jn-dorf-hero-text { padding: 2.6rem 2.4rem 5rem; }
  .jn-dorf-facts { grid-template-columns: repeat(5, 1fr); margin: -2.9rem 2rem 0; gap: .8rem; }
  .jn-fact:last-child:nth-child(odd) { grid-column: auto; }
  .jn-dorf-around { grid-template-columns: 1fr 1fr; }
}
@container dorf (min-width: 760px) {
  .jn-dorf-lage { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.2rem; }
  .jn-dorf-hero { min-height: 28rem; }
}
@container dorf (min-width: 1000px) {
  .jn-dorf-gal { grid-template-columns: repeat(4, 1fr); }
}

/* Sanftes Einblenden beim Scrollen (nur wo der Browser es kann) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .jn-dorf-card, .jn-dorf-lage > * { animation: jn-dorf-in linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    @keyframes jn-dorf-in { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .jn-fact, .jn-dorf-card { transition: none; }
}

/* ==========================================================================
   Jennecken – Kontaktformular (Joomla com_contact)   Version 4
   WICHTIG: Joomla gibt dem <body> selbst die Klasse "com-contact". Alle Regeln hier
   beginnen deshalb mit "div.com-contact", sonst würden sie auf die ganze Seite wirken
   (Kopfzeile, Fuß, Suchfeld) und die Seite auf 48rem Breite zusammenstauchen.
   ========================================================================== */
div.com-contact { max-width: 48rem; }
div.com-contact h1 { margin-bottom: 1.2rem; }

/* Die Zwischenüberschriften "Kontaktformular" und "Weitere Informationen" sind doppelt gemoppelt: nur noch für Screenreader */
div.com-contact h2, div.com-contact h3 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Ein einziger Rahmen um das Formular */
div.com-contact .com-contact__form, div.com-contact .contact-form { background: none; border: 0; box-shadow: none; padding: 0; margin: 0 0 1.6rem; }
div.com-contact #contact-form {
  background: var(--jn-card, #fbfbf9); border: 1px solid var(--jn-line, #e7e5de); border-radius: 14px;
  padding: 1.5rem 1.5rem .8rem; box-shadow: var(--jn-shadow, 0 2px 10px rgba(20, 40, 30, .07)); margin: 0;
}
div.com-contact #contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
div.com-contact #contact-form legend { font: 700 1.15rem/1.3 var(--jn-serif, Georgia, serif); border: 0; padding: 0; margin: 0 0 1rem; float: none; width: auto; }
div.com-contact #contact-form .control-group { margin-bottom: 1rem; }
div.com-contact #contact-form label { display: block; font: 600 .88rem/1.3 var(--jn-sans, system-ui, sans-serif); color: var(--jn-ink, #1d2a23); margin: 0 0 .3rem; }
div.com-contact #contact-form .field-spacer label { font-weight: 400; color: var(--jn-muted, #646f68); margin: 0; }
div.com-contact #contact-form .form-control {
  display: block; width: 100%; border: 1px solid #cfd3cc; border-radius: 8px; padding: .65rem .8rem; background: #fff; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
div.com-contact #contact-form .form-control:focus { outline: 0; border-color: var(--jn-green, #0b5339); box-shadow: 0 0 0 3px rgba(11, 83, 57, .18); }
div.com-contact #contact-form textarea.form-control { min-height: 9rem; }
div.com-contact .star, div.com-contact .red { color: #b3261e; }
div.com-contact #contact-form .btn-primary { padding: .75rem 1.6rem; border-radius: 6px; font-weight: 600; }

/* Ansprechpartner unter dem Formular (ohne das kleine Info-Symbol) */
div.com-contact .contact-miscinfo { background: var(--jn-green-soft, #e4eee8); border-radius: 12px; padding: 1.1rem 1.3rem .4rem; font-size: .95rem; }
div.com-contact .contact-miscinfo .me-2 { display: none; }
div.com-contact .contact-miscinfo p { margin: 0; }
div.com-contact .contact-miscinfo p:first-of-type { margin-bottom: .8rem; }
div.com-contact .contact-miscinfo p:not(:first-of-type):not(.small) { line-height: 1.4; }
div.com-contact .contact-miscinfo p:nth-last-of-type(2):not(:first-of-type) { margin-top: .9rem; }
div.com-contact .contact-miscinfo p.small { margin: .9rem 0 .8rem; }
div.com-contact .contact-miscinfo .small { color: var(--jn-muted, #646f68); font-size: .82rem; }

/* ==========================================================================
   Jennecken – Seite "Fotoalbum"
   ========================================================================== */
.jn-alb { margin: 0 0 2rem; color: var(--jn-ink, #1d2a23); }
.jn-alb *, .jn-alb *::before, .jn-alb *::after { box-sizing: border-box; }
.jn-alb p { margin: 0 0 1rem; }
.jn-alb-hero {
  position: relative; border-radius: 14px; overflow: hidden; color: #fff; padding: 2.2rem 1.6rem 1.8rem;
  background: radial-gradient(120% 140% at 100% 0%, #2d6a4c 0%, rgba(45, 106, 76, 0) 55%), linear-gradient(135deg, #0b5339 0%, #123a2a 100%);
}
.jn-alb-hero::after {
  content: "\f030"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif; font-weight: 900;
  position: absolute; right: 1.2rem; top: .6rem; font-size: 6.5rem; line-height: 1; color: rgba(255, 255, 255, .08); pointer-events: none;
}
.jn-alb-eyebrow { display: block; font: 400 .74rem/1.2 var(--jn-sans, system-ui, sans-serif); letter-spacing: .34em; text-transform: uppercase; color: rgba(255, 255, 255, .85); margin-bottom: .6rem; }
.jn-alb .jn-alb-big { font: 700 clamp(1.9rem, 5vw, 2.8rem)/1.05 var(--jn-serif, Georgia, serif); letter-spacing: -.01em; margin: 0 0 .8rem; color: #fff; }
.jn-alb .jn-alb-lead { max-width: 38rem; font-size: 1.05rem; line-height: 1.45; margin: 0 0 1.2rem; color: rgba(255, 255, 255, .95); }
.jn-alb .jn-alb-actions { margin: 0; }
.jn-alb .jn-alb-actions a.jn-alb-cta, .jn-alb .jn-alb-actions a.jn-alb-cta:visited {
  display: inline-block; padding: .75rem 1.4rem; border-radius: 6px; background: #fff !important; color: var(--jn-green, #0b5339) !important;
  font: 600 1rem/1.2 var(--jn-sans, system-ui, sans-serif); text-decoration: none; transition: background .2s;
}
.jn-alb .jn-alb-actions a.jn-alb-cta:hover, .jn-alb .jn-alb-actions a.jn-alb-cta:focus-visible { background: var(--jn-green-soft, #e4eee8) !important; }

.jn-alb .jn-alb-h { position: relative; font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.15; margin: 2.4rem 0 1.1rem; padding-bottom: .55rem; }
.jn-alb .jn-alb-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3rem; height: 3px; border-radius: 3px; background: var(--jn-sand, #d9b48a); }

.jn-alb .jn-alb-hint { margin: 0 0 1rem; font-size: .9rem; color: var(--jn-muted, #646f68); }
.jn-alb-list { display: grid; gap: .6rem; }
.jn-alb-year { background: #fff; border: 1px solid var(--jn-line, #e7e5de); border-radius: 12px; box-shadow: var(--jn-shadow, 0 2px 10px rgba(20, 40, 30, .07)); scroll-margin-top: 6rem; overflow: hidden; }
.jn-alb-year > summary {
  display: flex; align-items: baseline; gap: .9rem; padding: .95rem 1.2rem; cursor: pointer; list-style: none; user-select: none; transition: background .2s;
}
.jn-alb-year > summary::-webkit-details-marker { display: none; }
.jn-alb-year > summary::marker { content: ""; }
.jn-alb-year > summary:hover, .jn-alb-year > summary:focus-visible { background: var(--jn-green-soft, #e4eee8); }
.jn-alb-year > summary::after {
  content: "\f078"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif; font-weight: 900; margin-left: auto; align-self: center;
  font-size: .85rem; color: var(--jn-green, #0b5339); transition: transform .25s;
}
.jn-alb-year[open] > summary { background: var(--jn-green-soft, #e4eee8); }
.jn-alb-year[open] > summary::after { transform: rotate(180deg); }
.jn-alb .jn-alb-yh { font: 700 1.6rem/1.1 var(--jn-serif, Georgia, serif); color: var(--jn-green, #0b5339); }
.jn-alb .jn-alb-count, .jn-alb .jn-alb-part span { font: 500 .85rem/1 var(--jn-sans, system-ui, sans-serif); color: var(--jn-muted, #646f68); }
.jn-alb-body { padding: 1rem 1.2rem 1.2rem; }
.jn-alb-body > *:last-child { margin-bottom: 0; }
.jn-alb .jn-alb-part { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 .7rem; font: 700 1.05rem/1.2 var(--jn-sans, system-ui, sans-serif); color: var(--jn-ink, #1d2a23); }
.jn-alb-body .jn-alb-part:not(:first-child) { margin-top: 1.4rem; }
.jn-alb .jn-alb-note { margin: 1.6rem 0 0; font-size: .9rem; color: var(--jn-muted, #646f68); }
@media (max-width: 575.98px) { .jn-alb-hero { padding: 1.8rem 1.2rem 1.4rem; } }

/* ==========================================================================
   Jennecken – Inhaltsseiten (Dorfhaus, Vorstand, Geschichte, Downloads, Impressum …)
   Alle Regeln hängen an .jn-pg, damit nichts anderes auf der Seite verändert wird.
   ========================================================================== */
.jn-pg { max-width: 64rem; margin: 0 0 2.5rem; color: var(--jn-ink, #1d2a23); font-size: 1.02rem; line-height: 1.65; }
.jn-pg *, .jn-pg *::before, .jn-pg *::after { box-sizing: border-box; }
.jn-pg img { max-width: 100%; height: auto; }
.jn-pg p { margin: 0 0 1rem; }
.jn-pg a { color: var(--jn-green, #0b5339); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.jn-pg a:hover { color: #08402b; }
.jn-pg .jn-pg-lead { font-size: 1.2rem; line-height: 1.5; color: var(--jn-ink, #1d2a23); margin: 0 0 1.2rem; max-width: 44rem; }
.jn-pg .jn-pg-by { margin: -.6rem 0 1.4rem; color: var(--jn-muted, #646f68); font-size: .95rem; }
.jn-pg .jn-pg-h { margin: 0 0 .15rem; font: 700 1.6rem/1.2 var(--jn-serif, Georgia, serif); }
.jn-pg .jn-pg-sub { margin: 0 0 1rem; color: var(--jn-muted, #646f68); }
.jn-pg h2.jn-pg-h2 { position: relative; margin: 2.4rem 0 1rem; padding-bottom: .5rem; font: 700 clamp(1.35rem, 3.6vw, 1.75rem)/1.2 var(--jn-serif, Georgia, serif); scroll-margin-top: 6rem; }
.jn-pg h2.jn-pg-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3rem; height: 3px; border-radius: 3px; background: var(--jn-sand, #d9b48a); }
.jn-pg h3.jn-pg-h3 { margin: 1.7rem 0 .5rem; font: 700 1.15rem/1.3 var(--jn-sans, system-ui, sans-serif); color: var(--jn-green, #0b5339); }
.jn-pg h4.jn-pg-h4 { margin: 1.3rem 0 .4rem; font: 700 1rem/1.3 var(--jn-sans, system-ui, sans-serif); }

/* ---------- Icons ---------- */
.jn-ic { display: inline-grid; place-items: center; flex: 0 0 2.2rem; width: 2.2rem; height: 2.2rem; border-radius: 10px; background: var(--jn-green-soft, #e4eee8); color: var(--jn-green, #0b5339); font-size: .95rem; line-height: 1; }
.jn-ic::before { font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif; font-weight: 900; font-style: normal; }
.jn-ic-pin::before { content: "\f3c5"; } .jn-ic-phone::before { content: "\f095"; } .jn-ic-mail::before { content: "\f0e0"; }
.jn-ic-pdf::before { content: "\f1c1"; } .jn-ic-users::before { content: "\f0c0"; } .jn-ic-kitchen::before { content: "\f2e7"; }
.jn-ic-beer::before { content: "\f0fc"; } .jn-ic-book::before { content: "\f02d"; } .jn-ic-scale::before { content: "\f24e"; }
.jn-ic-link::before { content: "\f0c1"; } .jn-ic-ext::before { content: "\f08e"; } .jn-ic-audio::before { content: "\f028"; } .jn-ic-cal::before { content: "\f133"; }
.jn-ic-facebook::before { content: "\f09a"; font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", sans-serif; font-weight: 400; }
.jn-ic-instagram::before { content: "\f16d"; font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", sans-serif; font-weight: 400; }
.jn-ic-whatsapp::before { content: "\f232"; font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", sans-serif; font-weight: 400; }

/* ---------- Kontaktdaten / Fakten ---------- */
.jn-pg .jn-pg-facts { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .7rem; }
.jn-pg .jn-pg-facts li { display: flex; align-items: center; gap: .8rem; }
.jn-pg .jn-pg-facts li > span:last-child { line-height: 1.4; }
.jn-pg-card, .jn-pg-contact.jn-pg-card, .jn-pg-hero .jn-pg-contact { background: var(--jn-card, #fbfbf9); border: 1px solid var(--jn-line, #e7e5de); border-radius: 14px; padding: 1.4rem 1.5rem; box-shadow: var(--jn-shadow, 0 2px 10px rgba(20, 40, 30, .07)); }
.jn-pg-hero { display: grid; gap: 1.2rem; align-items: center; margin: 0 0 1rem; }
.jn-pg-person .jn-pg-contact.jn-pg-card { max-width: 30rem; }
@media (min-width: 700px) { .jn-pg-hero { grid-template-columns: 1.3fr 1fr; } }

/* ---------- Bilder / Zweispalter ---------- */
.jn-pg .jn-pg-fig { margin: 0; }
.jn-pg .jn-pg-fig img { display: block; width: 100%; border-radius: 12px; box-shadow: var(--jn-shadow, 0 2px 10px rgba(20, 40, 30, .07)); }
.jn-pg .jn-pg-fig-c { margin: 1.4rem 0; max-width: 32rem; }
.jn-pg figcaption { margin-top: .5rem; font-size: .85rem; color: var(--jn-muted, #646f68); }
.jn-pg-split { display: grid; gap: 1.4rem; align-items: center; margin: 0 0 1.5rem; }
@media (min-width: 760px) { .jn-pg-split { grid-template-columns: 1fr 1.1fr; gap: 2rem; } }
.jn-pg .jn-pg-banner { margin: 0 0 1.2rem; } .jn-pg .jn-pg-banner img { border-radius: 8px; }

/* ---------- Boxen, Hinweise ---------- */
.jn-pg-box { background: var(--jn-card, #fbfbf9); border: 1px solid var(--jn-line, #e7e5de); border-radius: 12px; padding: 1.1rem 1.3rem; }
.jn-pg-box h3 { margin: 0 0 .6rem; font: 700 1.02rem/1.3 var(--jn-sans, system-ui, sans-serif); color: var(--jn-green, #0b5339); }
.jn-pg-box > :last-child { margin-bottom: 0; }
.jn-pg-warn { background: #fbf4e6; border-color: #ecd9ad; margin: 0 0 1.4rem; } .jn-pg-warn h3 { color: #7a5a14; }
.jn-pg-note { background: var(--jn-green-soft, #e4eee8); border-radius: 12px; padding: 1rem 1.3rem; margin: 1.6rem 0; font-size: .96rem; }
.jn-pg-cols { display: grid; gap: 1rem; margin: 0 0 1rem; } @media (min-width: 700px) { .jn-pg-cols { grid-template-columns: 1fr 1fr; } .jn-pg-cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .jn-pg-cols-3 { grid-template-columns: repeat(3, 1fr); } }
.jn-pg .jn-pg-check { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.jn-pg .jn-pg-check li { position: relative; padding-left: 1.6rem; }
.jn-pg .jn-pg-check li::before { content: "\f00c"; position: absolute; left: 0; top: .12em; font: 900 .85rem/1.6 "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif; color: var(--jn-green, #0b5339); }
.jn-pg .jn-pg-back { margin: 2rem 0 0; font-size: .95rem; }

/* ---------- Knöpfe ---------- */
.jn-pg .jn-pg-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin: 1.6rem 0 0; }
.jn-pg a.jn-pg-btn, .jn-pg a.jn-pg-btn:visited { display: inline-block; padding: .75rem 1.5rem; border-radius: 6px; background: var(--jn-green, #0b5339); color: #fff; font: 600 1rem/1.2 var(--jn-sans, system-ui, sans-serif); text-decoration: none; transition: background .2s; }
.jn-pg a.jn-pg-btn:hover, .jn-pg a.jn-pg-btn:focus-visible { background: #08402b; color: #fff; }
.jn-pg a.jn-pg-textlink { font-weight: 600; }

/* ---------- Beitrag / Preise / Schritte ---------- */
.jn-pg-prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 0 0 1.2rem; max-width: 34rem; }
.jn-pg-prices-3 { grid-template-columns: repeat(3, 1fr); max-width: 44rem; }
.jn-pg-prices-4 { grid-template-columns: repeat(4, 1fr); max-width: 52rem; }
.jn-pg-price { background: #fff; border: 1px solid var(--jn-line, #e7e5de); border-radius: 12px; padding: 1.1rem .9rem; text-align: center; box-shadow: var(--jn-shadow, 0 2px 10px rgba(20, 40, 30, .07)); }
.jn-pg-price strong { display: block; font: 700 1.9rem/1.1 var(--jn-serif, Georgia, serif); color: var(--jn-green, #0b5339); }
.jn-pg-price span { display: block; margin-top: .35rem; font-size: .86rem; line-height: 1.35; color: var(--jn-muted, #646f68); }
@media (max-width: 760px) { .jn-pg-prices-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .jn-pg-prices-3 { grid-template-columns: 1fr; } }
.jn-pg .jn-pg-steps { list-style: none; counter-reset: s; margin: 0 0 1rem; padding: 0; display: grid; gap: .8rem; max-width: 44rem; }
.jn-pg .jn-pg-steps li { counter-increment: s; position: relative; padding: .2rem 0 .2rem 3rem; min-height: 2.2rem; }
.jn-pg .jn-pg-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--jn-green, #0b5339); color: #fff; display: grid; place-items: center; font: 700 1rem/1 var(--jn-sans, system-ui, sans-serif); }

/* ---------- Dateien ---------- */
.jn-pg .jn-pg-files { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; max-width: 36rem; }
.jn-pg .jn-pg-files a { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--jn-line, #e7e5de); border-radius: 12px; text-decoration: none; color: var(--jn-ink, #1d2a23); transition: border-color .2s, box-shadow .2s, transform .2s; }
.jn-pg .jn-pg-files a:hover, .jn-pg .jn-pg-files a:focus-visible { border-color: var(--jn-green, #0b5339); box-shadow: 0 6px 18px rgba(20, 40, 30, .12); transform: translateY(-1px); color: var(--jn-ink, #1d2a23); }
.jn-pg .jn-pg-file-t { flex: 1; font-weight: 600; }
.jn-pg .jn-pg-file-m { font-size: .75rem; letter-spacing: .08em; color: var(--jn-muted, #646f68); }

/* ---------- Karten ---------- */
.jn-pg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 0 0 1.4rem; }
.jn-pg a.jn-pg-card-link { display: block; text-decoration: none; color: var(--jn-ink, #1d2a23); transition: transform .2s, box-shadow .2s; }
.jn-pg a.jn-pg-card-link:hover, .jn-pg a.jn-pg-card-link:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 40, 30, .14); color: var(--jn-ink, #1d2a23); }
.jn-pg-card .jn-ic { margin-bottom: .7rem; }
.jn-pg-card h3 { margin: 0 0 .25rem; font: 700 1.1rem/1.3 var(--jn-serif, Georgia, serif); }
.jn-pg-card p { margin: 0; font-size: .92rem; color: var(--jn-muted, #646f68); }
.jn-pg-cards-img .jn-pg-card img { display: block; width: 100%; max-width: 12rem; border-radius: 8px; margin-bottom: .8rem; }

/* ---------- Vorstand ---------- */
.jn-pg-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .8rem; margin: 0 0 1rem; }
.jn-pg-person-card { background: #fff; border: 1px solid var(--jn-line, #e7e5de); border-radius: 12px; padding: 1.1rem 1.2rem; box-shadow: var(--jn-shadow, 0 2px 10px rgba(20, 40, 30, .07)); }
.jn-pg-person-card .jn-pg-role { display: block; margin-bottom: .25rem; font: 600 .74rem/1.2 var(--jn-sans, system-ui, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: var(--jn-muted, #646f68); }
.jn-pg-person-card strong { font: 700 1.2rem/1.25 var(--jn-serif, Georgia, serif); color: var(--jn-green, #0b5339); }

/* ---------- Geschichte ---------- */
.jn-pg .jn-pg-tabs { display: flex; gap: .5rem; margin: 0 0 1.6rem; }
.jn-pg .jn-pg-tabs a, .jn-pg .jn-pg-tabs span { padding: .45rem 1rem; border-radius: 999px; font: 600 .9rem/1.2 var(--jn-sans, system-ui, sans-serif); text-decoration: none; background: var(--jn-green-soft, #e4eee8); color: var(--jn-green, #0b5339); }
.jn-pg .jn-pg-tabs .is-on { background: var(--jn-green, #0b5339); color: #fff; }
.jn-pg .jn-tl { list-style: none; margin: 0; padding: 0 0 1.6rem; position: relative; }
/* Linie je Eintrag im selben Bezugsrahmen wie der Punkt: bleibt exakt unter dem Punkt, Jahreszahl steht links daneben */
.jn-pg .jn-tl-item::after { content: ""; position: absolute; z-index: 0; left: 5.4rem; top: 0; bottom: -1rem; width: 4px; margin-left: -2px; border-radius: 2px; background: #b9d3c4; }
.jn-pg .jn-tl-item:first-child::after { top: 1.5rem; }
.jn-pg .jn-tl-item:last-child::after { bottom: -2rem; background: linear-gradient(to bottom, #b9d3c4 0, #b9d3c4 calc(100% - 3.2rem), rgba(185, 211, 196, 0) 100%); border-radius: 2px 2px 0 0; }
.jn-pg .jn-tl-item:only-child::after { display: none; }
.jn-pg .jn-tl-item { position: relative; display: grid; grid-template-columns: 4.4rem 1fr; gap: 0 2rem; margin: 0 0 1rem; }
.jn-pg .jn-tl-year { font: 700 1.5rem/1.2 var(--jn-serif, Georgia, serif); color: var(--jn-green, #0b5339); padding-top: calc(1.5rem - .6em); text-align: right; white-space: nowrap; }
.jn-pg .jn-tl-item::before { content: ""; position: absolute; z-index: 1; left: 5.4rem; top: .95rem; width: 1.1rem; height: 1.1rem; margin-left: -.55rem; border-radius: 50%; background: var(--jn-green, #0b5339); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--jn-green, #0b5339); box-sizing: border-box; }
.jn-pg .jn-tl-same::before { width: .65rem; height: .65rem; margin-left: -.325rem; top: 1.175rem; border-width: 2px; background: #8fb2a0; box-shadow: none; }
.jn-pg .jn-tl-card { background: #fff; border: 1px solid var(--jn-line, #e7e5de); border-radius: 12px; padding: .9rem 1.2rem; box-shadow: var(--jn-shadow, 0 2px 10px rgba(20, 40, 30, .07)); }
.jn-pg .jn-tl-card h3 { margin: 0 0 .25rem; font: 700 1.05rem/1.3 var(--jn-sans, system-ui, sans-serif); }
.jn-pg .jn-tl-card p { margin: 0; font-size: .96rem; }
@media (max-width: 520px) { .jn-pg .jn-tl-item { grid-template-columns: 3.4rem 1fr; gap: 0 1.9rem; } .jn-pg .jn-tl-item::before, .jn-pg .jn-tl-item::after { left: 4.3rem; } .jn-pg .jn-tl-year { font-size: 1.2rem; } .jn-pg .jn-tl-card { padding: .8rem 1rem; } }
.jn-pg-periods { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .9rem; }
.jn-pg-period { background: #fff; border: 1px solid var(--jn-line, #e7e5de); border-radius: 12px; padding: 1rem 1.2rem; box-shadow: var(--jn-shadow, 0 2px 10px rgba(20, 40, 30, .07)); }
.jn-pg .jn-pg-period h3 { margin: 0 0 .6rem; padding-bottom: .4rem; border-bottom: 1px solid var(--jn-line, #e7e5de); font: 700 1.15rem/1.2 var(--jn-serif, Georgia, serif); color: var(--jn-green, #0b5339); }
.jn-pg-period dl { margin: 0; display: grid; gap: .25rem; }
.jn-pg-period .jn-pg-row { display: grid; grid-template-columns: 7.5rem 1fr; gap: .5rem; font-size: .93rem; }
.jn-pg-period dt { color: var(--jn-muted, #646f68); font-weight: 500; } .jn-pg-period dd { margin: 0; font-weight: 600; }

/* ---------- Lange Texte (Ortsgeschichte, Impressum, Datenschutz) ---------- */
.jn-pg-prose p, .jn-pg-prose li { max-width: 46rem; }
.jn-pg-prose { max-width: 48rem; }
.jn-pg .jn-pg-toc { margin: 0 0 1.6rem; padding: 1rem 1.3rem; background: var(--jn-green-soft, #e4eee8); border-radius: 12px; max-width: 32rem; }
.jn-pg .jn-pg-toc ol { margin: .4rem 0 0; padding-left: 1.2rem; }
.jn-pg .jn-pg-tablewrap { overflow-x: auto; margin: 1rem 0 1.4rem; max-width: 34rem; border: 1px solid var(--jn-line, #e7e5de); border-radius: 12px; }
.jn-pg table.jn-pg-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.jn-pg .jn-pg-table th, .jn-pg .jn-pg-table td { padding: .5rem .9rem; text-align: right; border-bottom: 1px solid var(--jn-line, #e7e5de); }
.jn-pg .jn-pg-table th:first-child { text-align: left; font-weight: 600; }
.jn-pg .jn-pg-table thead th { background: var(--jn-green-soft, #e4eee8); color: var(--jn-green, #0b5339); font-size: .85rem; }
.jn-pg .jn-pg-table tbody tr:last-child > * { border-bottom: 0; }
.jn-pg-legal h2.jn-pg-h2 { font-size: 1.35rem; margin-top: 2rem; }
.jn-pg-legal h3, .jn-pg-legal h4 { margin: 1.3rem 0 .4rem; font: 700 1.05rem/1.3 var(--jn-sans, system-ui, sans-serif); color: var(--jn-green, #0b5339); }
.jn-pg-legal ul { margin: 0 0 1rem; padding-left: 1.3rem; } .jn-pg-legal li { margin-bottom: .45rem; }
.jn-pg-legal p { font-size: .98rem; }

/* ---------- Geschichten, Links, Sitemap ---------- */
.jn-pg .jn-pg-stories { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; max-width: 40rem; }
.jn-pg .jn-pg-story { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .9rem 1.1rem; background: #fff; border: 1px solid var(--jn-line, #e7e5de); border-radius: 12px; box-shadow: var(--jn-shadow, 0 2px 10px rgba(20, 40, 30, .07)); }
.jn-pg .jn-pg-story-t { flex: 1 1 12rem; font: 700 1.1rem/1.3 var(--jn-serif, Georgia, serif); }
.jn-pg .jn-pg-story-a { display: flex; gap: .5rem; flex-wrap: wrap; }
.jn-pg a.jn-pg-mini { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem .35rem .45rem; border-radius: 999px; background: var(--jn-green-soft, #e4eee8); font: 600 .85rem/1.2 var(--jn-sans, system-ui, sans-serif); text-decoration: none; }
.jn-pg a.jn-pg-mini .jn-ic { flex-basis: 1.6rem; width: 1.6rem; height: 1.6rem; font-size: .75rem; background: #fff; border-radius: 50%; }
.jn-pg a.jn-pg-mini:hover { background: var(--jn-green, #0b5339); color: #fff; } .jn-pg a.jn-pg-mini:hover .jn-ic { color: var(--jn-green, #0b5339); }
.jn-pg .jn-pg-links { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .6rem; }
.jn-pg .jn-pg-links a { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; background: #fff; border: 1px solid var(--jn-line, #e7e5de); border-radius: 12px; text-decoration: none; color: var(--jn-ink, #1d2a23); transition: border-color .2s, box-shadow .2s; }
.jn-pg .jn-pg-links a:hover, .jn-pg .jn-pg-links a:focus-visible { border-color: var(--jn-green, #0b5339); box-shadow: 0 6px 18px rgba(20, 40, 30, .12); color: var(--jn-ink, #1d2a23); }
.jn-pg .jn-pg-links a span:nth-child(2) { flex: 1; font-weight: 600; line-height: 1.3; }
.jn-pg .jn-pg-links a .jn-ic-ext { flex-basis: auto; width: auto; height: auto; background: none; font-size: .8rem; color: var(--jn-muted, #646f68); }
.jn-pg-group .jn-pg-h2 { margin-top: 1.8rem; }
.jn-pg .jn-pg-map { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.jn-pg-sitemap .jn-pg-box h3 { margin-bottom: .5rem; }

/* Projekte: Übersicht mit großen Bildkarten */
.jn-pg-bigcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: 1.4rem; margin: 1.6rem 0 1rem; }
.jn-pg a.jn-pg-bigcard { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--jn-ink, #1d2a23); background: var(--jn-card, #fbfbf9); border: 1px solid var(--jn-line, #e7e5de); border-radius: 16px; box-shadow: var(--jn-shadow, 0 2px 10px rgba(20, 40, 30, .07)); transition: transform .2s, box-shadow .2s; }
.jn-pg a.jn-pg-bigcard:hover, .jn-pg a.jn-pg-bigcard:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20, 40, 30, .16); color: var(--jn-ink, #1d2a23); }
.jn-pg-bigcard-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--jn-green-soft, #e4eee8); }
.jn-pg-bigcard-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.jn-pg a.jn-pg-bigcard:hover .jn-pg-bigcard-img img { transform: scale(1.04); }
.jn-pg-bigcard-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.5rem 1.5rem; }
.jn-pg-bigcard-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--jn-muted, #646f68); margin-bottom: .3rem; }
.jn-pg-bigcard h3 { margin: 0 0 .5rem; font: 700 1.5rem/1.25 var(--jn-serif, Georgia, serif); color: var(--jn-green, #0b5339); }
.jn-pg-bigcard p { margin: 0 0 1rem; font-size: .98rem; line-height: 1.55; color: var(--jn-ink, #1d2a23); }
.jn-pg-bigcard-more { margin-top: auto; font-weight: 600; color: var(--jn-green, #0b5339); }
.jn-pg-bigcard-more::after { content: " \2192"; transition: margin-left .2s; }
.jn-pg a.jn-pg-bigcard:hover .jn-pg-bigcard-more::after { margin-left: .3rem; }
@media (max-width: 700px) { .jn-pg-bigcards { grid-template-columns: 1fr; } }

/* ==========================================================================
   Jennecken – einzelner Beitrag (Aktuelles, Veranstaltungen, Aus der Umgebung …)
   ========================================================================== */
body .article-details { max-width: 52rem; margin: 1.2rem auto 3rem; padding: 0; }
body .article-details .article-header { margin: 0 0 .7rem; }
body .article-details .article-header h1 { font-family: var(--jn-serif); font-weight: 700; letter-spacing: -.01em; color: var(--jn-ink); margin: 0; }

/* Angaben: Autor / Kategorie / Datum als ruhige Zeile mit Linie */
body .article-details .article-info { display: flex; flex-wrap: wrap; gap: .35rem .5rem; align-items: center; margin: 0 0 1.6rem; padding: 0 0 1rem; border-bottom: 1px solid var(--jn-line); font-size: .85rem; color: var(--jn-muted); }
body .article-details .article-info > span { display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: .25rem .7rem; border-radius: 999px; background: var(--jn-quick, #f6f5f1); line-height: 1.3; }
body .article-details .article-info > span::before { font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; font-size: .78em; color: var(--jn-green); }
body .article-details .article-info .createdby::before { content: "\f007"; }
body .article-details .article-info .category-name::before { content: "\f07b"; }
body .article-details .article-info .published::before { content: "\f073"; }
body .article-details .article-info a { color: var(--jn-green); text-decoration: none; font-weight: 600; }
body .article-details .article-info a:hover { text-decoration: underline; }
body .article-details .article-info .modified, body .article-details .article-info .hits, body .article-details .article-info .create { display: none; }

/* Text */
body .article-details [itemprop="articleBody"] { font-size: 1.05rem; line-height: 1.75; color: #2c3630; }
body .article-details [itemprop="articleBody"] > p:first-of-type { font-size: 1.18rem; line-height: 1.65; color: var(--jn-ink); }
body .article-details [itemprop="articleBody"] p { margin: 0 0 1.1em; }
body .article-details [itemprop="articleBody"] h2, body .article-details [itemprop="articleBody"] h3 { font-family: var(--jn-serif); color: var(--jn-ink); margin: 1.8em 0 .5em; line-height: 1.25; }
body .article-details [itemprop="articleBody"] h2 { font-size: 1.5rem; }
body .article-details [itemprop="articleBody"] h3 { font-size: 1.2rem; color: var(--jn-green); }
body .article-details [itemprop="articleBody"] a { color: var(--jn-green); text-decoration: underline; text-decoration-color: rgba(11, 83, 57, .35); text-underline-offset: 3px; }
body .article-details [itemprop="articleBody"] a:hover { text-decoration-color: currentColor; }
body .article-details [itemprop="articleBody"] ul, body .article-details [itemprop="articleBody"] ol { margin: 0 0 1.2em; padding-left: 1.4em; }
body .article-details [itemprop="articleBody"] li { margin-bottom: .3em; }
body .article-details [itemprop="articleBody"] blockquote { margin: 1.4em 0; padding: .9rem 1.2rem; border-left: 4px solid var(--jn-sand, #e0c9a6); background: var(--jn-quick, #f6f5f1); border-radius: 0 8px 8px 0; }
body .article-details [itemprop="articleBody"] hr { border: 0; border-top: 1px solid var(--jn-line); margin: 2rem 0; }
body .article-details [itemprop="articleBody"] p:empty { display: none; }

/* Bilder: zentriert, abgerundet, nie breiter als die Spalte */
body .article-details [itemprop="articleBody"] img { max-width: 100%; height: auto !important; border-radius: 10px; }
body .article-details [itemprop="articleBody"] figure { display: block; margin: 1.6rem auto; text-align: center; }
body .article-details [itemprop="articleBody"] figure img { display: block; margin: 0 auto; }
body .article-details [itemprop="articleBody"] p > img:only-child:not(.alignleft):not(.alignright) { display: block; margin: 1.4rem auto; }
body .article-details [itemprop="articleBody"] figure img, body .article-details [itemprop="articleBody"] p > img:only-child, body .article-details [itemprop="articleBody"] img.alignleft, body .article-details [itemprop="articleBody"] img.alignright { box-shadow: var(--jn-shadow, 0 6px 22px rgba(20, 40, 30, .14)); }
body .article-details [itemprop="articleBody"] figcaption, body .article-details [itemprop="articleBody"] .wp-caption-text { margin-top: .5rem; font-size: .85rem; color: var(--jn-muted); text-align: center; }
body .article-details [itemprop="articleBody"] .alignleft { float: left; margin: .3rem 1.4rem 1rem 0; max-width: 45%; }
body .article-details [itemprop="articleBody"] .alignright { float: right; margin: .3rem 0 1rem 1.4rem; max-width: 45%; }
body .article-details [itemprop="articleBody"] .aligncenter { float: none; margin-left: auto; margin-right: auto; }
body .article-details [itemprop="articleBody"] iframe, body .article-details [itemprop="articleBody"] video { max-width: 100%; border: 0; border-radius: 10px; }
body .article-details [itemprop="articleBody"]::after { content: ""; display: block; clear: both; }

/* Tabellen im Beitrag */
body .article-details [itemprop="articleBody"] table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .97rem; display: block; overflow-x: auto; }
body .article-details [itemprop="articleBody"] th { background: var(--jn-green-soft); color: var(--jn-green); text-align: left; }
body .article-details [itemprop="articleBody"] td, body .article-details [itemprop="articleBody"] th { border: 1px solid var(--jn-line); padding: .55rem .8rem; }

/* Vorheriger / nächster Beitrag */
body .article-details .pagenavigation { margin: 2.6rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--jn-line); }
body .article-details .pagenavigation .pagination { display: flex; justify-content: space-between; gap: 1rem; width: 100%; margin: 0; padding: 0; list-style: none; }
body .article-details .pagenavigation .pagination::before, body .article-details .pagenavigation .pagination::after { content: none; display: none; }
body .article-details .pagenavigation .btn { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.1rem; border: 0; border-radius: 6px; background: var(--jn-green-soft); color: var(--jn-green); font: 600 .9rem/1 var(--jn-sans); text-decoration: none; transition: background .15s, color .15s; }
body .article-details .pagenavigation .btn:hover { background: var(--jn-green); color: #fff; }
body .article-details .pagenavigation .btn [class^="icon-"] { display: none; }
body .article-details .pagenavigation .previous::before { content: "←"; }
body .article-details .pagenavigation .next::after { content: "→"; }
@media (max-width: 640px) {
  body .article-details { margin-top: .4rem; }
  body .article-details [itemprop="articleBody"] { font-size: 1rem; }
  body .article-details [itemprop="articleBody"] .alignleft, body .article-details [itemprop="articleBody"] .alignright { float: none; display: block; margin: 1rem auto; max-width: 100%; }
}

/* Blocksatz mit Silbentrennung (lang="de-de" ist gesetzt) – nur Fließtext, keine Karten/Überschriften/Buttons.
   Greift auch bei verschachtelten Absätzen und Text ohne <p> (alte WordPress-Beiträge). */
body .article-details [itemprop="articleBody"],
body .com-content-article__body,
body .com-content-category-blog .article .article-introtext { text-align: justify; }
body .article-details [itemprop="articleBody"] .jn-pg { text-align: left; }
body .article-details [itemprop="articleBody"] :is(p, li, blockquote, dd, div, span):not(.jn-pg *):not(.jn-pg),
body .com-content-article__body :is(p, li, blockquote, dd, div, span):not(.jn-pg *):not(.jn-pg),
body .com-content-category-blog .article .article-introtext :is(p, li, div, span),
body .jn-pg-prose :is(p, li), body .jn-pg-legal :is(p, li),
body .jn-pg-projekt > p:not(.jn-pg-lead), body .jn-pg-projekt .jn-pg-split > div > p:not(.jn-pg-lead) {
  text-align: justify !important; text-justify: inter-word;
  -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word;
}
/* Bewusst zentrierte oder rechtsbündige Absätze bleiben, wie sie sind */
body .article-details [itemprop="articleBody"] :is(.aligncenter, .has-text-align-center, [style*="text-align: center"], [style*="text-align:center"], figure, figcaption, .wp-caption-text) { text-align: center !important; }
body .article-details [itemprop="articleBody"] :is(.has-text-align-right, [style*="text-align: right"], [style*="text-align:right"]) { text-align: right !important; }

/* Galerie-Plugin im Beitrag: Beitrags-Regeln dürfen Vorschau-Raster und Knopf nicht verändern */
body .article-details [itemprop="articleBody"] .jng { margin: 1.8rem 0 2rem; }
body .article-details [itemprop="articleBody"] .jng .jng-item img { display: block; width: 100%; height: 100% !important; max-width: none; margin: 0; border-radius: 0; box-shadow: none; }
body .article-details [itemprop="articleBody"] .jng .jng-link { text-decoration: none; }
body .article-details [itemprop="articleBody"] .jng .jng-actions { margin: 1.4rem 0 .4rem; text-align: left !important; }

/* Bildunterschriften: immer mittig, klein, dicht unter dem Bild – auch beim Beitragsbild von Joomla (item-image) */
body .article-details :is(figure, .item-image, .article-full-image, .article-intro-image) { margin: 1.6rem auto; text-align: center; }
body .article-details figure.item-image, body .article-details .article-full-image { max-width: 32rem; width: 100%; }
body .article-details :is(figure, .item-image, .article-full-image) img { display: block; margin: 0 auto; max-width: 100%; height: auto; border-radius: 10px; box-shadow: var(--jn-shadow, 0 6px 22px rgba(20, 40, 30, .14)); }
body .article-details :is(figcaption, .caption, .wp-caption-text) { display: block; margin: .45rem 0 0 !important; padding: 0 !important; text-align: center !important; font: 400 .85rem/1.4 var(--jn-sans); color: var(--jn-muted); }
body .article-details figure.item-image img, body .article-details .article-full-image img { width: 100%; }

/* Text umfließt kleine Bilder: links- oder rechtsbündig platziert, Text läuft daneben.
   Erkannt werden die Ausrichtungen des Joomla-Editors (float-start/-end, Stil „float“), WordPress (alignleft/-right) und das alte align="left". */
body .article-details [itemprop="articleBody"] :is(.alignleft, .float-start, .float-left, .pull-left, [style*="float: left"], [style*="float:left"], img[align="left"]):not(.jn-pg *) {
  float: left !important; display: block; margin: .35rem 1.5rem 1rem 0 !important; max-width: 45%; text-align: center;
}
body .article-details [itemprop="articleBody"] :is(.alignright, .float-end, .float-right, .pull-right, [style*="float: right"], [style*="float:right"], img[align="right"]):not(.jn-pg *) {
  float: right !important; display: block; margin: .35rem 0 1rem 1.5rem !important; max-width: 45%; text-align: center;
}
/* Bild in einer Abbildung mit Ausrichtung: das Bild füllt die Abbildung, die Unterschrift bleibt darunter */
body .article-details [itemprop="articleBody"] :is(figure.alignleft, figure.alignright, figure.float-start, figure.float-end, figure[style*="float"]) img { float: none !important; margin: 0 auto !important; max-width: 100%; }
/* Auf dem Handy ist kein Platz zum Umfließen: Bild steht allein, mittig */
@media (max-width: 640px) {
  body .article-details [itemprop="articleBody"] :is(.alignleft, .alignright, .float-start, .float-end, .float-left, .float-right, .pull-left, .pull-right, [style*="float"], img[align]):not(.jn-pg *) {
    float: none !important; display: block; margin: 1.2rem auto !important; max-width: 100%;
  }
}

/* ==========================================================================
   Jennecken – Kopfzeile und Fußbereich bei mittleren Fensterbreiten
   Problem: Bei Breiten unter ca. 1500 px läuft das Menü über das Logo.
   Lösung: Menü rückt enger zusammen; unter 1400 px erscheint stattdessen der Hamburger-Knopf (rechts außen).
   ========================================================================== */
@media (max-width: 1599.98px) {
  .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span { padding: 0 .45rem; font-size: .76rem; }
  .sp-megamenu-parent > li > a::after, .sp-megamenu-parent > li > span::after { left: .45rem; right: .45rem; }
  #sp-header .logo img, #sp-header .logo-image { height: 54px; }
}
/* Ab 1480 px: Menüpunkte verteilen sich über die ganze freie Breite zwischen Logo und Suche, Schrift wächst mit dem Fenster */
@media (min-width: 1480px) {
  #sp-menu .sp-megamenu-wrapper, .sp-megamenu-wrapper { flex: 1 1 auto !important; }
  .sp-megamenu-wrapper > .sp-megamenu-parent { display: flex !important; flex: 1 1 auto; justify-content: space-evenly; }
  .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span { font-size: clamp(.8rem, .35vw + .5rem, .95rem); }
}
/* Nur Klassen, keine Spalten-IDs, und ohne Untergrenze: so greift die Regel bei jeder Fensterbreite bis 1480 px. */
@media (max-width: 1479.98px) {
  .sp-megamenu-wrapper .sp-megamenu-parent, .sp-megamenu-parent.d-lg-block, #sp-header .sp-megamenu-parent { display: none !important; }
  #offcanvas-toggler, .offcanvas-toggler-right { display: flex !important; }
}
/* Unter 992 px bleiben nur Logo und Hamburger-Knopf */
@media (max-width: 991.98px) {
  #sp-header .header-modules, #sp-header .jn-cta-btn, #sp-header .sp-module .jn-btn { display: none !important; }
}

/* Hamburger-Knopf ganz rechts hinter Suche und "Mitglied werden" */
#sp-menu .sp-column > #offcanvas-toggler { order: 3; margin-left: .8rem; }

/* Fußbereich: die vier Spalten sind nur auf großen Bildschirmen schmal genug, darunter zwei nebeneinander */
@media (min-width: 992px) and (max-width: 1399.98px) {
  #sp-footer1, #sp-footer2, #sp-footer3, #sp-footer4 { flex: 0 0 50%; max-width: 50%; }
  #sp-footer .row > div { margin-bottom: 1.2rem; }
}

/* Suche als Symbol – auch wenn das Suchmodul anders aufgebaut ist (z. B. Intelligente Suche mit Eingabegruppe) */
#sp-header .header-modules .input-group { flex-wrap: nowrap; width: auto; }
#sp-header .header-modules .input-group > .btn, #sp-header .header-modules .input-group > button,
#sp-header .header-modules .input-group-append, #sp-header .header-modules .input-group-text { display: none; }
#sp-header .header-modules input.form-control, #sp-header .header-modules input[type="search"], #sp-header .header-modules input[type="text"] {
  width: 34px; height: 34px; border: 0; border-radius: 34px; padding: 0 0 0 34px; cursor: pointer; font-size: .85rem; box-shadow: none; transition: width .25s, padding .2s, box-shadow .2s;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d2a23' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 8px center / 18px;
}
#sp-header .header-modules input::placeholder { color: transparent; }
#sp-header .header-modules input:focus { width: 200px; padding: 0 .9rem 0 34px; cursor: text; outline: 0; background-color: #fff; box-shadow: 0 0 0 2px var(--jn-green); }


/* Suche: Das Eingabefeld darf wachsen, das Menü wird dafür links ausgeblendet (blendet vor dem Logo aus) statt ins Logo zu rutschen.
   Nur die linke Kante wird beschnitten, damit Untermenüs (nach unten/rechts) sichtbar bleiben. */
#sp-header .header-modules { flex: 0 0 auto; }
#sp-header .logo, #sp-header .logo a { flex-shrink: 0; }
#sp-menu .sp-megamenu-wrapper, .sp-megamenu-wrapper {
  position: relative; min-width: 0; justify-content: flex-end; padding-left: 1.6rem;
  clip-path: inset(-100vh -100vw -100vh 0);
}
.sp-megamenu-wrapper::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1.6rem; z-index: 5; pointer-events: none;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}
.sp-megamenu-wrapper > .sp-megamenu-parent { flex: 1 0 auto; white-space: nowrap; }
#sp-header .header-modules input:focus { box-shadow: 0 0 0 2px #0b5339 !important; }

/* Spenden per Überweisung: IBAN darf nie über den Rand ragen – Daten rutschen unter den QR-Code, wenn es eng wird */
.jn-donate-bank { flex-wrap: wrap; row-gap: .8rem; }
.jn-donate-data { flex: 1 1 17.5rem; min-width: min(100%, 17.5rem); }
.jn-donate .jn-iban { white-space: nowrap; font-size: clamp(.9rem, 2.6vw, 1rem); }

/* Ortslage: "Auf Google Maps" im Titelbild gut lesbar (weiße Schrift, dunkler Grund) */
.jn-dorf a.jn-btn-ghost { color: #fff; background: rgba(15, 25, 20, .62); border-color: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.jn-dorf a.jn-btn-ghost:hover, .jn-dorf a.jn-btn-ghost:focus-visible { background: #fff; color: var(--jn-green-dark, #0b5339); border-color: #fff; }

/* Ortsbeauftragter: Stadt-Wiehl-Logo als saubere Karte statt unscharfem Foto */
.jn-pg .jn-pg-fig.jn-pg-fig-logo { background: #fff; border: 1px solid var(--jn-line, #e7e5de); border-radius: 14px; padding: 1.4rem 1.6rem; box-shadow: var(--jn-shadow, 0 2px 10px rgba(20, 40, 30, .07)); display: flex; justify-content: center; }
.jn-pg .jn-pg-fig.jn-pg-fig-logo img { width: 100%; max-width: 20rem; height: auto; border-radius: 0; box-shadow: none; }

/* Die Artikel-Linkfarbe (grün + Unterstreichung) hat den Button überstimmt – hier mit höherer Gewichtung */
body .article-details [itemprop="articleBody"] a.jn-btn-ghost { color: #fff !important; text-decoration: none !important; background: rgba(15, 25, 20, .62); border-color: rgba(255, 255, 255, .85); }
body .article-details [itemprop="articleBody"] a.jn-btn-ghost:hover, body .article-details [itemprop="articleBody"] a.jn-btn-ghost:focus-visible { background: #fff; color: var(--jn-green-dark, #0b5339) !important; border-color: #fff; }

/* Projekte-Karten: keine Unterstreichung außer bei der Kartenüberschrift (die Artikel-Linkregel hatte die Karte überstimmt) */
body .article-details [itemprop="articleBody"] a.jn-pg-bigcard { text-decoration: none; }
body .article-details [itemprop="articleBody"] a.jn-pg-bigcard h3 { text-decoration: underline; text-decoration-color: rgba(11, 83, 57, .35); text-underline-offset: 3px; }
