/* =====================================================================
   IsernhagenPortal – Theme "TownPress modern"
   Moderner Nachbau des bisherigen Portal-Designs: Kopffoto, ovales Logo,
   korallenrote Navigation, dunkle Titelbox, weisse Boxen auf Grau.
   Schrift: Source Sans 3 (Nachfolger von Source Sans Pro), lokal gehostet.
   ===================================================================== */

@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: 400; font-style: italic; font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-italic.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"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  --koralle: #EC5237;        /* Markenfarbe: Akzente, Icons, Linien */
  --koralle-flaeche: #D2452B;/* Flaechen mit weisser Schrift (AA) */
  --koralle-text: #C8401F;   /* Links/Text auf Weiss (AA) */
  --sonne: #F4B02F;          /* Sonne aus dem Logo – sparsam */
  --grund: #F2F2F2;          /* Seitengrund */
  --box: #FFFFFF;
  --linie: #E6E6E6;
  --text: #4A4A4A;
  --text-leise: #6E6E6E;
  --titel: #2F2F2F;
  --nacht: rgba(24, 24, 24, .82); /* Titelbox */
  --fuss: #2B2B2B;

  --schrift: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  --s-1: .9rem;
  --s0: 1.0625rem;
  --s1: 1.25rem;
  --s2: 1.6rem;
  --s3: clamp(1.75rem, 3.2vw, 2.25rem);
  --s4: clamp(2rem, 4.6vw, 3rem);

  --radius: 6px;
  --schatten: 0 1px 2px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.05);
  --breite: 75rem;
  --rand: clamp(1rem, 3.5vw, 1.75rem);
  --luft: clamp(1.75rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--grund); color: var(--text); font: 400 var(--s0)/1.65 var(--schrift); }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--koralle-text); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { color: var(--titel); }
:focus-visible { outline: 3px solid var(--sonne); outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--titel); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: var(--s4); }
h2 { font-size: var(--s3); }
h3 { font-size: var(--s1); }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: .5rem; background: var(--titel); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: .5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rahmen { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.rahmen--text, .rahmen--schmal { width: min(100% - 2 * var(--rand), var(--breite)); }

/* ---------- Boxen & Knoepfe ---------- */
.box { background: var(--box); border-radius: var(--radius); box-shadow: var(--schatten); padding: clamp(1.25rem, 3vw, 2rem); }
.box__kopf { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.1rem; font-size: var(--s1); }
.box__kopf svg { width: 1.4rem; height: 1.4rem; color: var(--koralle); flex: none; }
.box__kopf h2, .box__kopf h3 { margin: 0; font-size: inherit; }

.knoepfe { display: flex; flex-wrap: wrap; gap: .65rem; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 700 var(--s0)/1.2 var(--schrift); padding: .75rem 1.3rem; border-radius: 4px;
  background: var(--koralle-flaeche); color: #fff; border: 2px solid var(--koralle-flaeche); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.knopf:hover { background: #B23A22; border-color: #B23A22; color: #fff; }
.knopf--zweit { background: transparent; color: var(--koralle-text); }
.knopf--zweit:hover { background: var(--koralle-flaeche); color: #fff; }
.knopf--hell { background: #fff; color: var(--koralle-text); border-color: #fff; }
.knopf--hell:hover { background: var(--titel); border-color: var(--titel); color: #fff; }
.knopf--klein { font-size: var(--s-1); padding: .45rem .85rem; }

.chip { display: inline-block; font-size: var(--s-1); line-height: 1.3; padding: .2rem .65rem; border-radius: 999px; background: #F6E3DF; color: #8E2E19; text-decoration: none; }
a.chip:hover, .chip.is-aktiv { background: var(--koralle-flaeche); color: #fff; }

/* ---------- Kopf: Foto, Logo, Navigation, Titelbox ---------- */
.kopf {
  position: relative; color: #fff;
  background: #6c8db3 var(--kopfbild, none) center 35% / cover no-repeat;
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.kopf::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.25) 100%); pointer-events: none; }
.kopf > * { position: relative; }
.kopf__oben { display: flex; align-items: flex-start; gap: 1.25rem; padding-top: 1rem; }

.marke { flex: none; display: grid; place-items: center; width: 11.5rem; aspect-ratio: 1.22; background: #fff; border-radius: 50%; box-shadow: 0 6px 20px rgba(0,0,0,.25); padding: 1.1rem 1.4rem; text-decoration: none; }
.marke img { width: 100%; height: auto; }
.marke__wort { color: var(--titel); font-weight: 700; font-size: 1.4rem; line-height: 1; text-align: center; }

.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; background: var(--koralle-flaeche); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.22); padding: 0 .5rem 0 0; }
.nav > ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__item > a { display: block; padding: 1rem .85rem; color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.nav__item > a:hover, .nav__item.is-aktiv > a { background: rgba(0,0,0,.14); }
.nav__item:first-child > a { border-radius: var(--radius) 0 0 var(--radius); }
.nav__kinder { list-style: none; margin: 0; padding: .4rem 0; min-width: 15rem; position: absolute; top: 100%; left: 0; z-index: 30; background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 12px 28px rgba(0,0,0,.18); border-top: 3px solid var(--koralle); visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility 0s .15s; }
.nav__item:hover > .nav__kinder, .nav__item:focus-within > .nav__kinder { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav__kinder a { display: block; padding: .5rem 1.1rem; color: var(--text); text-decoration: none; }
.nav__kinder a:hover, .nav__kinder a[aria-current] { color: var(--koralle-text); background: #FBF0EE; }
.nav .knopf--klein { background: #fff; color: var(--koralle-text); border-color: #fff; white-space: nowrap; }
.nav .knopf--klein:hover { background: var(--titel); border-color: var(--titel); color: #fff; }
.kopf__menu { display: none; }

.titelbox {
  position: relative; max-width: 44rem; margin-top: clamp(4rem, 14vw, 10rem);
  background: var(--nacht); color: #fff; border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3.5vw, 2.25rem);
  backdrop-filter: blur(2px);
}
.titelbox::after { content: ""; position: absolute; left: 2.5rem; bottom: -14px; border: 14px solid transparent; border-bottom: 0; border-top-color: var(--nacht); }
.titelbox h1 { color: #fff; margin: 0; font-size: var(--s4); }
.titelbox__unter { display: block; font-style: italic; font-weight: 400; }
.titelbox__text { margin: .8rem 0 0; font-size: var(--s1); color: #EDEDED; max-width: 38rem; }
.titelbox .knoepfe { margin-top: 1.25rem; }
.titelbox .knopf--zweit { color: #fff; border-color: #fff; }
.titelbox .knopf--zweit:hover { background: #fff; color: var(--titel); }
.kopf--unterseite .titelbox { margin-top: clamp(2.5rem, 8vw, 5rem); }
.kopf--unterseite .titelbox h1 { font-size: var(--s3); }

.krumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem .5rem; margin: .9rem 0 0; padding: .7rem 0 0; border-top: 1px solid rgba(255,255,255,.2); font-size: var(--s-1); }
.krumen li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.krumen a { color: #fff; }
.krumen [aria-current] { color: #D8D8D8; }

@media (max-width: 72rem) {
  .kopf__oben { align-items: center; justify-content: space-between; }
  .marke { width: 7.5rem; padding: .7rem .9rem; }
  .kopf__menu { display: inline-flex; align-items: center; gap: .5rem; font: 700 var(--s0)/1 var(--schrift); background: var(--koralle-flaeche); color: #fff; border: 0; padding: .8rem 1.1rem; border-radius: var(--radius); cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
  .nav { display: none; position: absolute; left: var(--rand); right: var(--rand); top: calc(100% + .5rem); z-index: 40; flex-direction: column; align-items: stretch; margin: 0; padding: .5rem; }
  .nav.is-offen { display: flex; }
  .kopf__oben { position: relative; }
  .nav > ul { flex-direction: column; }
  .nav__item > a { border-radius: 0 !important; border-bottom: 1px solid rgba(255,255,255,.18); }
  .nav__kinder { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; border-radius: 0; background: rgba(255,255,255,.08); padding: .25rem 0 .5rem; }
  .nav__kinder a { color: #fff; padding: .4rem 1.75rem; }
  .nav__kinder a:hover { background: rgba(0,0,0,.12); color: #fff; }
  .nav .knopf--klein { margin: .75rem .5rem .25rem; }
}

/* ---------- Inhalt ---------- */
.inhalt { padding-block: clamp(1.75rem, 4vw, 2.75rem) var(--luft); }
.mit-leiste { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 1.75rem; align-items: start; }
@media (max-width: 62rem) { .mit-leiste { grid-template-columns: 1fr; } }
.spalte { display: grid; gap: 1.75rem; min-width: 0; }
.seitenintro { font-size: var(--s1); color: var(--text); margin: 0; }

/* Bausteine: jede Section ist eine Box im Raster */
.bausteine { display: grid; gap: 1.75rem; }
.baustein { min-width: 0; }
.baustein__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.baustein__kopf h2 { margin: 0; font-size: var(--s2); }
.baustein__intro { color: var(--text-leise); max-width: 46rem; }
.mehr { font-weight: 700; white-space: nowrap; }
.abschnittstitel { text-align: center; font-size: var(--s2); margin-bottom: 1.25rem; }

/* Fliesstext */
.fliesstext { max-width: 46rem; }
.fliesstext > * + h2 { margin-top: 1.6em; }
.fliesstext > * + h3 { margin-top: 1.4em; }
.fliesstext h2 { font-size: var(--s2); }
.fliesstext ul, .fliesstext ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.fliesstext li { margin-bottom: .35em; }
.fliesstext li::marker { color: var(--koralle); }
.fliesstext blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.1em; border-left: 4px solid var(--koralle); font-style: italic; }
.fliesstext table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: var(--s-1); }
.fliesstext th, .fliesstext td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid var(--linie); }

/* Schnellzugriff (Hero-Baustein auf der Startseite) */
.schnell { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
@media (max-width: 48rem) { .schnell { grid-template-columns: 1fr; } }
.naechster { display: flex; gap: 1rem; align-items: flex-start; text-decoration: none; color: var(--text); }
.naechster__titel { display: block; font-weight: 700; font-size: var(--s1); color: var(--titel); line-height: 1.25; }
.naechster:hover .naechster__titel { color: var(--koralle-text); }
.naechster__ort { display: block; color: var(--text-leise); font-size: var(--s-1); margin-top: .25rem; }
.kurzmeldung { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--linie); text-decoration: none; color: var(--koralle-text); }
.kurzmeldung:first-of-type { border-top: 0; padding-top: 0; }
.kurzmeldung time { flex: none; color: var(--text-leise); font-size: var(--s-1); order: 2; }
.kurzmeldung:hover span { text-decoration: underline; }
.leer { color: var(--text-leise); }

/* Kalenderblatt */
.kalenderblatt { display: inline-grid; justify-items: center; width: 4rem; flex: none; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--linie); text-align: center; line-height: 1; }
.kalenderblatt__monat { width: 100%; background: var(--koralle-flaeche); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem 0; text-transform: uppercase; letter-spacing: .05em; }
.kalenderblatt__tag { font-size: 1.75rem; font-weight: 700; color: var(--titel); padding-top: .3rem; }
.kalenderblatt__wtag { font-size: .8rem; color: var(--text-leise); padding: .15rem 0 .4rem; }
.kalenderblatt--gross { width: 5.5rem; }
.kalenderblatt--gross .kalenderblatt__tag { font-size: 2.5rem; }

/* Wegweiser */
.wegweiser__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1rem; }
.wegweiser__link { display: grid; grid-template-columns: 3rem 1fr; gap: .1rem 1rem; align-items: start; padding: 1.1rem; height: 100%; border-radius: var(--radius); background: var(--box); box-shadow: var(--schatten); text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.wegweiser__link:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 12px 28px rgba(0,0,0,.08); }
.wegweiser__icon { grid-row: span 2; width: 3rem; height: 3rem; padding: .65rem; border-radius: 50%; background: #FBE7E3; color: var(--koralle-text); }
.wegweiser__titel { font-weight: 700; font-size: var(--s1); color: var(--titel); }
.wegweiser__text { color: var(--text-leise); font-size: var(--s-1); line-height: 1.45; }

/* Karten */
.karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; }
.karte { display: flex; flex-direction: column; height: 100%; background: var(--box); border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden; }
.karte__bild { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #E9E5E3; }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.karte:hover .karte__bild img { transform: scale(1.03); }
.karte__text { padding: 1.1rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.karte__text h3 { margin: 0; font-size: var(--s1); }
.karte__text h3 a { color: var(--titel); text-decoration: none; }
.karte__text h3 a:hover { color: var(--koralle-text); }
.karte__text p { margin: 0; color: var(--text-leise); font-size: var(--s-1); line-height: 1.55; }
.karte__meta { display: flex; flex-wrap: wrap; gap: .3rem .75rem; align-items: center; font-size: var(--s-1); color: var(--text-leise); }
.karte__kat { color: var(--koralle-text); font-weight: 700; }
.karte__chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: .6rem; }
.liste--box .karten .karte, .box .karte { box-shadow: inset 0 0 0 1px var(--linie); }

/* Kompakte Liste (wie die alte News-Liste: Titel links, Datum rechts) */
.kompakt { list-style: none; margin: 0; padding: 0; }
.kompakt li + li { border-top: 1px solid var(--linie); }
.kompakt a { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .7rem 0; text-decoration: none; }
.kompakt a span { color: var(--koralle-text); }
.kompakt a:hover span { text-decoration: underline; }
.kompakt time { flex: none; order: 2; color: var(--text-leise); font-size: var(--s-1); }

/* Termine */
.termine { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.termin__link { display: flex; gap: 1rem; align-items: flex-start; padding: .9rem; border-radius: var(--radius); background: #FAFAFA; box-shadow: inset 0 0 0 1px var(--linie); color: var(--text); text-decoration: none; }
.termin__link:hover { box-shadow: inset 0 0 0 1px var(--koralle); }
.termin__text { display: flex; flex-direction: column; gap: .15rem; }
.termin__titel { font-weight: 700; font-size: var(--s1); color: var(--titel); line-height: 1.25; }
.termin__link:hover .termin__titel { color: var(--koralle-text); }
.termin__wann, .termin__wo { color: var(--text-leise); font-size: var(--s-1); }
.abgesagt { font-style: normal; font-size: var(--s-1); color: #fff; background: var(--titel); padding: .1rem .5rem; border-radius: 3px; }
.termin.ist-abgesagt .termin__titel { text-decoration: line-through; }
.archiv { margin-top: 1.5rem; }
.archiv summary { cursor: pointer; font-weight: 700; color: var(--koralle-text); padding: .5rem 0; }
.archiv .termine { margin-top: .75rem; opacity: .85; }

/* Filter */
.filter { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; margin-bottom: 1.5rem; padding: 1rem; border-radius: var(--radius); background: #FAFAFA; box-shadow: inset 0 0 0 1px var(--linie); }
.filter label { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; font-size: var(--s-1); }
.filter select, .filter input { font: 400 var(--s0)/1.3 var(--schrift); padding: .55rem .7rem; border: 1px solid #CFCFCF; border-radius: 4px; background: #fff; color: var(--text); min-width: 12rem; }
.filter__treffer { margin: 0 0 0 auto; font-size: var(--s-1); color: var(--text-leise); align-self: center; }
.filterleiste { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.5rem; }
[hidden] { display: none !important; }

.seiten { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.seiten a, .seiten span { min-width: 2.6rem; padding: .45rem .75rem; text-align: center; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); text-decoration: none; color: var(--text); }
.seiten [aria-current] { background: var(--koralle-flaeche); color: #fff; box-shadow: none; }

/* Zahlen (wie "Isernhagen in Zahlen") */
.zahlen__liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1rem; margin: 0; }
.zahlen__liste > div { display: flex; flex-direction: column; text-align: center; padding: 1.25rem .75rem; border-radius: var(--radius); background: #FAFAFA; box-shadow: inset 0 0 0 1px var(--linie); }
.zahlen__liste dd { order: -1; margin: 0; font-size: 2.1rem; font-weight: 700; line-height: 1.1; color: var(--koralle-text); }
.zahlen__liste dd span { font-size: 1.1rem; }
.zahlen__liste dt { color: var(--text-leise); margin-top: .3rem; }
.zahlen__stand { margin: 1rem 0 0; font-size: var(--s-1); color: var(--text-leise); text-align: center; }

/* Mitmachen (CTA) */
.mitmachen { background: var(--koralle-flaeche); color: #fff; }
.mitmachen__inner { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; }
.mitmachen h2 { color: #fff; font-size: var(--s2); margin: 0 0 .35rem; }
.mitmachen p { margin: 0; max-width: 40rem; color: #FFE9E4; }

/* Rufnummern */
.notruf { display: inline-block; font-weight: 700; padding: .45rem .85rem; border-radius: 4px; background: #FBE7E3; color: #8E2E19; margin-bottom: 1rem; }
.rufnummern__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 0 2rem; }
.rufnummern__liste li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .7rem 0; border-bottom: 1px solid var(--linie); }
.rufnummern__wer small { display: block; color: var(--text-leise); font-size: var(--s-1); }
.rufnummern__nr { font-weight: 700; white-space: nowrap; color: var(--titel); }
a.rufnummern__nr { color: var(--koralle-text); }

/* FAQ */
.faq details { border-top: 1px solid var(--linie); }
.faq details:last-of-type { border-bottom: 1px solid var(--linie); }
.faq summary { cursor: pointer; padding: .9rem 2.25rem .9rem 0; font-weight: 700; color: var(--titel); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 1.15rem; width: .6rem; height: .6rem; border-right: 2px solid var(--koralle); border-bottom: 2px solid var(--koralle); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.4rem; }
.faq details p { margin: 0 0 1.1rem; color: var(--text); }

/* Hinweis */
.hinweis { padding: 1.1rem 1.3rem; border-radius: var(--radius); background: #FFF6E3; border-left: 5px solid var(--sonne); }
.hinweis--warnung { background: #FDECE8; border-left-color: var(--koralle); }
.hinweis--erfolg { background: #EEF6EA; border-left-color: #5E9C42; }
.hinweis h2 { font-size: var(--s1); margin-bottom: .3em; }
.hinweis p { margin: 0; }

/* Formulare */
/* ---------- Formulare ---------- */
.bausteine { container-type: inline-size; }
.formular-karte { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; background: #fff; border-radius: 10px; box-shadow: var(--schatten); overflow: hidden; }
.formular-karte--ohne-hinweis { grid-template-columns: minmax(0, 1fr); }
.formular-karte__haupt { padding: clamp(1.5rem, 4vw, 2.75rem); min-width: 0; }
.formular-karte__titel { font-size: var(--s2); }
.formular-karte__intro { color: var(--text-leise); max-width: 60ch; }
.formular-karte__hinweis { background: #FBF4EE; border-left: 1px solid #F0E2D6; padding: clamp(1.5rem, 3vw, 2.25rem); font-size: 1rem; }
.formular-karte__hinweis h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; }
.formular-karte__hinweis h3 svg { width: 1.25rem; height: 1.25rem; color: var(--koralle); flex: none; }
/* Wird es eng (z. B. mit Seitenleiste), rutscht „Gut zu wissen“ als schmaler Streifen unter das Formular. */
@container (max-width: 58rem) {
  .formular-karte { grid-template-columns: minmax(0, 1fr); }
  .formular-karte__hinweis { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem 1rem; align-items: start; border-left: 0; border-top: 1px solid #F0E2D6; padding: 1.1rem clamp(1.5rem, 4vw, 2.75rem); font-size: .95rem; }
  .formular-karte__hinweis h3 { grid-row: span 3; margin: 0; font-size: 1rem; white-space: nowrap; }
  .formular-karte__hinweis p { margin: 0; }
}
@container (max-width: 34rem) {
  .formular-karte__hinweis { grid-template-columns: minmax(0, 1fr); }
  .formular-karte__hinweis h3 { grid-row: auto; margin-bottom: .2rem; }
}

.formular__form { display: grid; gap: 2rem; }
.formular__gruppe { border: 0; margin: 0; padding: 0; min-width: 0; }
.formular__gruppe legend { display: flex; align-items: center; gap: .75rem; width: 100%; padding: 0; margin-bottom: 1.1rem; font-size: 1.15rem; font-weight: 700; color: var(--titel); }
.formular__gruppe legend::after { content: ""; flex: 1; height: 1px; background: var(--linie); }
.formular__felder { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feld { grid-column: 1 / -1; display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.feld--halb { grid-column: span 1; }
@media (max-width: 40rem) { .formular__felder { grid-template-columns: 1fr; } .feld--halb { grid-column: 1 / -1; } }
.feld__label { display: flex; flex-direction: column; gap: .45rem; }
.feld__name { font-size: 1rem; font-weight: 600; color: var(--titel); }

.feld input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]), .feld select, .feld textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem;
  font: inherit; font-size: 1.0625rem; color: var(--titel);
  background: #FAFAF9; border: 1.5px solid #D2D2D2; border-radius: 8px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: #ADADAD; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; background: #fff; border-color: var(--koralle-flaeche); box-shadow: 0 0 0 4px rgba(236, 82, 55, .18); }
.feld ::placeholder { color: #9A9A9A; }
.feld textarea { min-height: 9rem; line-height: 1.55; resize: vertical; }
.feld select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8401F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem;
}
.feld input[type="file"] { width: 100%; padding: 1.1rem; font: inherit; font-size: 1rem; background: #FAFAF9; border: 2px dashed #CFCFCF; border-radius: 10px; cursor: pointer; }
.feld input[type="file"]:hover { border-color: var(--koralle); }
.feld input[type="file"]::file-selector-button { margin-right: .9rem; padding: .55rem 1rem; border: 0; border-radius: 6px; background: var(--koralle-flaeche); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.feld__hilfe { margin: 0; font-size: .92rem; color: var(--text-leise); }
.feld__fehler { margin: 0; font-size: .92rem; font-weight: 600; color: #B2311A; }
.hat-fehler input, .hat-fehler select, .hat-fehler textarea { border-color: #C0392B !important; background: #FFF8F6 !important; }

/* Checkboxen als eigene Zeilen mit eigenem Haken */
.formular__gruppe--bestaetigung { display: grid; gap: .6rem; }
.formular__gruppe--bestaetigung legend { margin-bottom: .5rem; }
.feld--toggle { padding: .85rem 1rem; background: var(--grund); border-radius: 8px; }
.feld--toggle.hat-fehler { background: #FDECE8; }
.feld__check { position: relative; display: flex; gap: .85rem; align-items: flex-start; font-size: 1rem; line-height: 1.5; color: var(--text); cursor: pointer; }
.feld__check input[type="checkbox"] { position: absolute; left: 0; top: .1rem; width: 1.4rem; height: 1.4rem; margin: 0; opacity: 0; cursor: pointer; }
.feld__haken { flex: none; position: relative; width: 1.4rem; height: 1.4rem; margin-top: .05rem; background: #fff; border: 2px solid #8E8E8E; border-radius: 5px; transition: background-color .15s, border-color .15s; }
.feld__check:hover .feld__haken { border-color: var(--koralle-flaeche); }
.feld__check input:checked + .feld__haken { background: var(--koralle-flaeche); border-color: var(--koralle-flaeche); }
.feld__check input:checked + .feld__haken::after { content: ""; position: absolute; left: .38rem; top: .12rem; width: .38rem; height: .72rem; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.feld__check input:focus-visible + .feld__haken { outline: 3px solid var(--sonne); outline-offset: 2px; }

/* Abschluss: Ortscheck, Captcha, Senden */
.formular__abschluss { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.25rem; background: #FBF4EE; border: 1px solid #F0E2D6; border-radius: 10px; }
.ortscheck { flex: 1 1 100%; display: flex; align-items: center; gap: 1rem; }
.ortsschild--mini { flex: none; padding: .3rem .65rem .35rem; font-size: .9rem; transform: rotate(-3deg); box-shadow: inset 0 0 0 2px var(--sonne), inset 0 0 0 3.5px #161616, 0 3px 8px rgba(0,0,0,.18); }
.ortsschild--mini:hover { transform: rotate(-3deg); }
.ortscheck__text { min-width: 0; }
.ortscheck__titel { margin: 0; font-weight: 700; color: var(--titel); line-height: 1.35; }
.ortscheck__fakt { margin: .15rem 0 0; font-size: .95rem; color: var(--text-leise); }
.formular__captcha { flex: 0 1 auto; }
.formular__senden { margin-left: auto; }
.knopf--gross { min-height: 3.25rem; padding: .85rem 1.75rem; font-size: 1.1rem; }
@media (max-width: 40rem) {
  .ortscheck { align-items: flex-start; }
  .formular__senden { flex: 1 1 100%; margin-left: 0; }
  .formular__senden .knopf { width: 100%; }
}

.formular__form > .meldung { margin-top: 0; }
.meldung { padding: 1rem 1.2rem; margin: 1rem 0 0; border-radius: 8px; border-left: 5px solid currentColor; }
.meldung--ok { background: #EEF6EA; color: #2E5A1F; }
.meldung--fehler { background: #FDECE8; color: #8E2E19; }
.meldung p { margin: 0; }
.meldung ul { margin: .4rem 0 0; padding-left: 1.2em; }
.hp { position: absolute !important; left: -9999px; }

/* Detailseiten */
.beitrag__meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; color: var(--text-leise); margin-bottom: 1rem; }
.beitrag__bild { margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; }
.beitrag__bild img { width: 100%; max-height: 30rem; object-fit: cover; }
.beitrag__teaser { font-size: var(--s1); color: var(--titel); }
.beitrag__fuss { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; margin-top: 1.5rem; border-top: 1px solid var(--linie); color: var(--text-leise); font-size: var(--s-1); }
.beitrag__orte { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.steckbrief dl { margin: 0; display: grid; gap: .75rem; }
.steckbrief dt { font-size: var(--s-1); color: var(--text-leise); }
.steckbrief dd { margin: 0; font-weight: 600; color: var(--titel); overflow-wrap: anywhere; }
.steckbrief .knopf { margin-top: 1.1rem; width: 100%; }
.angebote { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.vereinslogo { width: 5rem; height: 5rem; object-fit: contain; background: #fff; border-radius: 50%; padding: .5rem; box-shadow: var(--schatten); margin-bottom: 1rem; }
.vereinslogo--klein { width: 3.5rem; height: 3.5rem; margin: 0 0 .25rem; }

/* Seitenleiste (Widgets wie im alten Portal) */
.leiste { display: grid; gap: 1.5rem; position: sticky; top: 1rem; }
.leiste .box { padding: 1.25rem 1.35rem; }
.leiste .box__kopf { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; }
.leiste .kompakt a { flex-direction: column; gap: .1rem; padding: .55rem 0; }
.leiste .kompakt time { order: 2; }
.leiste .rufnummern__liste { grid-template-columns: 1fr; }
.dok-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.dok-mini a { display: flex; gap: .6rem; text-decoration: none; }
.dok-mini svg { width: 1.2rem; height: 1.2rem; color: var(--koralle); flex: none; margin-top: .2rem; }
.dok-mini small { color: var(--text-leise); }
@media (max-width: 62rem) { .leiste { position: static; } }

/* Video */
.video__rahmen { position: relative; aspect-ratio: 16 / 9; background: #222; border-radius: var(--radius); overflow: hidden; }
.video__rahmen iframe, .video__rahmen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__zustimmung { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 1.5rem; }
.video__zustimmung p { max-width: 40ch; font-size: var(--s-1); }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; }

/* Dokumente */
.dokumente { list-style: none; margin: 0; padding: 0; }
.dokument { display: flex; gap: 1rem; align-items: center; padding: .9rem 0; border-top: 1px solid var(--linie); }
.dokument:first-child { border-top: 0; }
.dokument__typ { flex: none; width: 2.8rem; height: 3.4rem; display: grid; place-items: end center; padding-bottom: .35rem; border-radius: 4px 12px 4px 4px; background: #FBE7E3; color: var(--koralle-text); font: 700 .75rem/1 var(--schrift); }
.dokument__text { flex: 1; }
.dokument__text h3 { margin: 0 0 .15rem; font-size: var(--s0); }
.dokument__text p { margin: 0; color: var(--text-leise); font-size: var(--s-1); }

.leerzustand { padding: 1.25rem; border-radius: var(--radius); background: #FAFAFA; box-shadow: inset 0 0 0 1px var(--linie); list-style: none; }
.leerzustand p { margin: 0 0 1rem; max-width: 46rem; }

/* Fuss */
/* Fußbereich v3 */
.fuss { background: var(--fuss); color: #C9C9C9; margin-top: clamp(4.5rem, 9vw, 6rem); font-size: var(--s-1); line-height: 1.6; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: var(--sonne); }
.fuss a:focus-visible { outline: 2px solid var(--sonne); outline-offset: 3px; border-radius: 3px; }
.fuss h2 { color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: 0; text-transform: none; margin: 0 0 1rem; }

/* 1. Mitmach-Band */
.fuss__band { position: relative; top: calc(-1 * clamp(2.5rem, 5vw, 3.25rem)); margin-bottom: calc(-1 * clamp(2.5rem, 5vw, 3.25rem) + 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; flex-wrap: wrap;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3.5vw, 2.5rem); border-radius: calc(var(--radius) * 2);
  background: var(--koralle-flaeche); color: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.22);
  background-image: radial-gradient(circle at 100% 0, rgba(244,176,47,.35) 0, rgba(244,176,47,0) 42%); }
.fuss__band h2 { font-size: var(--s2); margin: 0 0 .35rem; }
.fuss__band p { margin: 0; max-width: 38rem; font-size: var(--s0); color: #FFF4F1; }
.fuss__band-knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }
.fuss__band .knopf { display: inline-flex; align-items: center; gap: .5rem; }
.fuss__band .knopf--hell { color: var(--koralle-text); }
.fuss__band .knopf--hell:hover { color: #fff; }
.fuss__knopf-rand { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.fuss__band .fuss__knopf-rand:hover { background: #fff; border-color: #fff; color: var(--koralle-text); }

/* 2. Spalten */
.fuss__spalten { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: 2.5rem clamp(1.5rem, 3vw, 3rem); padding-block: 1.5rem 3rem; }
@media (max-width: 64rem) { .fuss__spalten { grid-template-columns: 1fr 1fr; } }
@media (max-width: 64rem) { .fuss__marke-spalte, .fuss__service { grid-column: 1 / -1; } .fuss__service .fuss__rufnummern { max-width: 34rem; } }
@media (max-width: 36rem) { .fuss__spalten { gap: 2rem 1.25rem; } }
.fuss__marke { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.fuss__logo { flex: none; display: grid; place-items: center; width: 4.25rem; height: 4.25rem; border-radius: 50%; background: #fff; padding: .45rem; }
.fuss__logo img { width: 100%; height: auto; }
.fuss__marke strong { display: block; color: #fff; font-size: var(--s1); line-height: 1.2; }
.fuss__marke small { display: block; color: #A9A9A9; font-size: var(--s-1); }
.fuss__text { margin: 0 0 1.25rem; max-width: 30rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss__links { display: grid; gap: .55rem; }
.fuss__links a { color: #E4E4E4; }
.fuss__links a:hover { color: var(--sonne); text-decoration: underline; text-underline-offset: 3px; }
.fuss__links--extern a::after { content: ""; display: inline-block; width: .7em; height: .7em; margin-left: .35em; vertical-align: .05em;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .7; }
.fuss__herz { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.fuss__links .fuss__herz { color: #fff; }
.fuss__herz svg { color: var(--koralle); }
.fuss .social { margin-top: .25rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.fuss .social a { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #3A3A3A; color: #fff; transition: background-color .15s, color .15s; }
.fuss .social a:hover, .fuss .social a:focus-visible { background: var(--koralle-flaeche); color: #fff; }
.fuss__notruf { display: inline-block; margin: 0 0 .75rem; padding: .4rem .75rem; border-radius: var(--radius); background: rgba(236,82,55,.16); color: #FFD9D1; font-weight: 700; }
.fuss__rufnummern li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: .45rem; border-bottom: 1px solid #3A3A3A; }
.fuss__rufnummern li:last-child { border-bottom: 0; }
.fuss__rufnummern small { display: block; color: #9C9C9C; }
.fuss__nr { font-weight: 700; white-space: nowrap; color: #fff; font-variant-numeric: tabular-nums; }
.fuss__unterkopf { color: #fff; font-size: 1rem; margin: 1.25rem 0 .6rem; }

/* 3. Untere Leiste */
.fuss__unten { border-top: 1px solid #3A3A3A; background: #232323; }
.fuss__unten .rahmen { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 2rem; padding-block: 1.1rem; color: #A9A9A9; }
.fuss__unten p { margin: 0; }
.fuss__unten-rechts { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.fuss__unten a { color: #D6D6D6; }
.fuss__trenner { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #6A6A6A; margin: 0 .7rem; vertical-align: middle; }
.fuss__hoch { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; }
@media (max-width: 36rem) { .fuss__trenner { display: block; width: 0; height: .25rem; margin: 0; background: none; } }

/* Sprungziele (z. B. /unterstuetzen#ust-redaktion) nicht unter dem Kopf verstecken */
.bausteine > [id] { scroll-margin-top: 1.5rem; }
.nl { display: grid; gap: .7rem; }
.nl__zeile { display: flex; gap: .5rem; }
.nl input[type="email"] { flex: 1; min-width: 0; font: 400 var(--s0)/1.3 var(--schrift); padding: .7rem .8rem; border: 0; border-radius: 4px; background: #fff; color: var(--text); }
.nl .feld__check { font-size: var(--s-1); }
.nl .knopf--hell { background: var(--koralle-flaeche); color: #fff; border-color: var(--koralle-flaeche); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .kopf { background: none !important; color: var(--titel); }
  .nav, .kopf__menu, .fuss, .mitmachen, .filter, .leiste { display: none !important; }
  .titelbox { background: none; color: var(--titel); }
  .titelbox h1 { color: var(--titel); }
}
.leiste .naechster + .naechster { margin-top: .85rem; }
.box__mehr { margin: .9rem 0 0; }
.bildtext { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.bildtext__bild { margin: 0; border-radius: var(--radius); overflow: hidden; }
.bildtext--rechts .bildtext__bild { order: 2; }
@media (max-width: 48rem) { .bildtext { grid-template-columns: 1fr; } .bildtext--rechts .bildtext__bild { order: 0; } }
.kopf-termin { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.25rem; }
.abstand-oben { margin-top: 2rem; }
.abstand-unten { margin-bottom: 1.25rem; }
.rahmen.bausteine { display: grid; gap: 1.75rem; }


/* =====================================================================
   Startseite (template: home)
   Größere Grundschrift, keine Seitenleiste, Abschnitte als ruhige Bänder.
   Einziger kräftiger Akzent: die Ortsteile als gelbe Ortsschilder im Kopf.
   ===================================================================== */
.kopf--start { padding-bottom: 0; }
.kopf--start::before { background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.35) 62%, rgba(0,0,0,.72) 100%); }
.start-hero { padding: clamp(5rem, 15vw, 11rem) 0 clamp(1.75rem, 4vw, 2.75rem); max-width: 54rem; }
.start-hero__titel { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.4rem); line-height: 1.08; letter-spacing: -.01em; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.start-hero__titel span { display: block; font-weight: 400; font-size: .62em; line-height: 1.25; margin-top: .35rem; color: #F3F3F3; }
.start-hero__text { margin: 1rem 0 0; max-width: 40rem; font-size: 1.2rem; color: #F3F3F3; text-shadow: 0 1px 10px rgba(0,0,0,.5); }

.ortsschilder { margin-top: clamp(1.5rem, 3.5vw, 2.25rem); }
.ortsschilder ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.ortsschild {
  display: inline-block; padding: .55rem 1.05rem .6rem; border-radius: 7px;
  background: var(--sonne); color: #161616; font-weight: 700; font-size: 1.02rem; line-height: 1.2; text-decoration: none;
  box-shadow: inset 0 0 0 3px var(--sonne), inset 0 0 0 5px #161616, 0 4px 14px rgba(0,0,0,.28);
  transition: transform .15s, box-shadow .15s;
}
.ortsschild:hover, .ortsschild:focus-visible { color: #161616; transform: translateY(-2px); box-shadow: inset 0 0 0 3px var(--sonne), inset 0 0 0 5px #161616, 0 8px 20px rgba(0,0,0,.32); }
.ortsschild:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.inhalt:has(> .start) { padding: 0; }
.start { font-size: 1.125rem; line-height: 1.65; color: #353535; }
.start-band { background: #fff; padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.start-band--grau { background: var(--grund); }
.start-band--ueber { background: #FBF4EE; }

.start-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.start-kopf h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -.005em; }
.start-kopf__mehr, .weiter { font-weight: 700; color: var(--koralle-text); }
.weiter { display: inline-block; margin-top: .4rem; }
.leise { color: var(--text-leise); font-size: 1rem; }

/* Aktuelles */
.start-news { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.aufmacher { display: grid; gap: 1.1rem; }
.aufmacher__bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.aufmacher h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.2; margin: .3rem 0 .7rem; }
.aufmacher h3 a { color: var(--titel); text-decoration: none; }
.aufmacher h3 a:hover { color: var(--koralle-text); text-decoration: underline; }
.aufmacher__teaser { margin: 0 0 .4rem; max-width: 62ch; }
.aufmacher--ohne-bild .aufmacher__text { border-left: 5px solid var(--koralle); padding-left: clamp(1rem, 2.5vw, 1.5rem); }
.meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin: 0; font-size: .95rem; color: var(--text-leise); }
.meta__kat { color: var(--koralle-text); font-weight: 600; }

.nachrichten { list-style: none; margin: 0; padding: 0; }
.nachrichten li + li { border-top: 1px solid var(--linie); }
.nachrichten a { display: grid; gap: .15rem; padding: 1rem 0; text-decoration: none; color: var(--titel); }
.nachrichten li:first-child a { padding-top: 0; }
.nachrichten time { font-size: .95rem; color: var(--text-leise); }
.nachrichten span { font-weight: 600; font-size: 1.15rem; line-height: 1.35; }
.nachrichten a:hover span { color: var(--koralle-text); text-decoration: underline; text-underline-offset: .18em; }

/* Termine */
.agenda { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1.25rem; }
.agenda__termin { display: flex; gap: 1.1rem; align-items: center; height: 100%; padding: 1rem 1.15rem; background: #fff; border: 1px solid #E2E2E2; border-radius: var(--radius); color: var(--titel); text-decoration: none; transition: border-color .15s; }
.agenda__termin:hover { border-color: var(--koralle); }
.agenda__datum { flex: none; display: grid; justify-items: center; width: 4rem; padding: .35rem 0 .45rem; border-radius: 5px; background: #FBEDEA; color: var(--koralle-text); line-height: 1.05; }
.agenda__wtag, .agenda__monat { font-size: .85rem; font-weight: 600; }
.agenda__tag { font-size: 1.75rem; font-weight: 700; color: var(--titel); }
.agenda__text { display: grid; gap: .2rem; min-width: 0; }
.agenda__titel { font-weight: 700; font-size: 1.12rem; line-height: 1.3; }
.agenda__termin:hover .agenda__titel { color: var(--koralle-text); text-decoration: underline; text-underline-offset: .18em; }
.agenda__info { font-size: 1rem; color: var(--text-leise); }
.agenda__leer { grid-column: 1 / -1; color: var(--text-leise); }
.start-hinweis { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.75rem 0 0; }

/* Service & Mitmachen */
.service { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 4vw, 3rem); }
.service__spalte h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.3rem; margin-bottom: 1rem; }
.service__spalte h3 svg { width: 1.4rem; height: 1.4rem; color: var(--koralle); flex: none; }
.telefonliste, .linkliste, .aktionen { list-style: none; margin: 0 0 1rem; padding: 0; }
.telefonliste li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--linie); }
.telefonliste small { display: block; font-size: .9rem; color: var(--text-leise); }
.telefonliste__nr { font-weight: 700; white-space: nowrap; color: var(--titel); }
a.telefonliste__nr { color: var(--koralle-text); }
.linkliste li { padding: .5rem 0; border-bottom: 1px solid var(--linie); }
.linkliste small { color: var(--text-leise); font-size: .9rem; white-space: nowrap; }
.aktionen { display: grid; gap: .55rem; }
.aktionen a { display: block; padding: .8rem 1rem; border: 2px solid var(--koralle-flaeche); border-radius: var(--radius); font-weight: 700; color: var(--koralle-text); text-decoration: none; }
.aktionen a:hover { background: var(--koralle-flaeche); color: #fff; }

/* Wer sind wir? + Zahlen */
.ueber { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.prosa { max-width: 62ch; }
.prosa h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.ueber__zahlen h3 { font-size: 1.3rem; }
.kennzahlen { margin: 0 0 .75rem; display: grid; gap: 1rem; }
.kennzahlen div { display: flex; flex-direction: column-reverse; padding-bottom: .9rem; border-bottom: 1px solid #EBDCD0; }
.kennzahlen dd { margin: 0; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.1; color: var(--koralle-text); }
.kennzahlen dd small { font-size: .5em; font-weight: 600; }
.kennzahlen dt { color: var(--text); }

@media (max-width: 62rem) {
  .start-news, .ueber { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr 1fr; }
  .service__spalte--mitmachen { grid-column: 1 / -1; }
}
@media (max-width: 44rem) {
  .agenda, .service { grid-template-columns: 1fr; }
  .ortsschild { font-size: .95rem; padding: .5rem .85rem .55rem; }
}
@media (prefers-reduced-motion: reduce) { .ortsschild { transition: none; } .ortsschild:hover { transform: none; } }

.formular-karte { scroll-margin-top: 1.5rem; }
.meldung:focus { outline: 3px solid var(--sonne); outline-offset: 3px; }
.meldung--ok { font-size: 1.1rem; padding: 1.25rem 1.4rem; }

/* v2.7 – Textbausteine füllen die Box, Einleitung unter zentrierten Titeln mittig */
.baustein.box > .fliesstext { max-width: none; }
.abschnittstitel + .baustein__intro { text-align: center; margin-inline: auto; margin-bottom: 1.5rem; }
/* QR-Code im Bild+Text-Baustein nicht beschneiden */
.bildtext__bild img[src*="qr"] { object-fit: contain; background: #fff; }

/* Kacheln ohne Link: kein Hover-Effekt, kein Zeiger */
.wegweiser__link--ohne { cursor: default; }
.wegweiser__link--ohne:hover { transform: none; box-shadow: var(--schatten); }

/* v3.0 – Startseite „Aktuelles“: Bild-Aufmacher, Vorschaubilder, Themen-Leiste, Einsende-Kachel */
.news-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: -.75rem 0 clamp(1.25rem, 2.5vw, 1.75rem); }
.news-filter__chip { display: inline-block; padding: .3rem .9rem; border-radius: 999px; background: #fff; border: 1px solid #DEDEDE; color: var(--titel); font-size: .95rem; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.news-filter__chip:hover { border-color: var(--koralle); color: var(--koralle-text); }
.news-filter__chip--aktiv { background: var(--koralle-flaeche); border-color: var(--koralle-flaeche); color: #fff; }
.news-filter__chip--aktiv:hover { color: #fff; }
@media (max-width: 40rem) { .news-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--rand)); padding: 0 var(--rand) .25rem; scrollbar-width: none; } .news-filter__chip { flex: none; } }

.aufmacher--bild { position: relative; display: block; border-radius: calc(var(--radius) * 2); overflow: hidden; background: #1E1E1E; }
.aufmacher--bild .aufmacher__bild img { display: block; aspect-ratio: 4 / 3; border-radius: 0; }
.aufmacher--bild .aufmacher__text { position: absolute; inset: auto 0 0 0; padding: clamp(3rem, 8vw, 5rem) clamp(1.1rem, 2.8vw, 1.8rem) clamp(1rem, 2.5vw, 1.5rem); background: linear-gradient(to bottom, rgba(12,12,12,0) 0%, rgba(12,12,12,.72) 38%, rgba(12,12,12,.9) 100%); color: #EDEDED; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.aufmacher--bild .meta { color: #D0D0D0; }
.aufmacher--bild h3 { margin: .25rem 0 .5rem; }
.aufmacher--bild h3 a { color: #fff; }
.aufmacher--bild h3 a:hover { color: #fff; text-decoration-color: var(--sonne); }
.aufmacher--bild .aufmacher__teaser { color: #E4E4E4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.aufmacher--bild .weiter { color: var(--sonne); }
.aufmacher__kat { position: absolute; top: 1rem; left: 1rem; padding: .3rem .8rem; border-radius: 999px; background: #FBEDEA; color: #8F2D17; font-size: .9rem; font-weight: 700; }
.aufmacher--ohne-bild { background: #fff; border-radius: calc(var(--radius) * 2); padding: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 40rem) {
  .aufmacher--bild .aufmacher__text { position: static; background: #1E1E1E; padding-top: 1rem; }
  .aufmacher--bild .aufmacher__teaser { display: none; }
}

.news-seite { display: grid; gap: 1rem; align-content: start; }
.news-karten { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.news-karte { display: flex; gap: 1rem; align-items: center; padding: .65rem; background: #fff; border-radius: calc(var(--radius) * 1.5); color: var(--titel); text-decoration: none; box-shadow: var(--schatten); transition: transform .15s; }
.news-karte:hover { transform: translateY(-2px); }
.news-karte__bild { flex: none; width: 6.5rem; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; background: #FBEDEA; color: var(--koralle-text); }
.news-karte__bild img { width: 100%; height: 100%; object-fit: cover; }
.news-karte__bild svg { width: 1.9rem; height: 1.9rem; }
.news-karte__text { display: grid; gap: .2rem; min-width: 0; }
.news-karte__meta { font-size: .9rem; color: var(--text-leise); }
.news-karte__titel { font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.news-karte:hover .news-karte__titel { color: var(--koralle-text); text-decoration: underline; text-underline-offset: .18em; }

.nachrichten--kompakt { background: #fff; border-radius: calc(var(--radius) * 1.5); padding: .35rem 1.1rem; box-shadow: var(--schatten); }
.nachrichten--kompakt a, .nachrichten--kompakt li:first-child a { padding: .75rem 0; }
.nachrichten--kompakt time { font-size: .85rem; }
.nachrichten--kompakt span { font-size: 1rem; }

.news-aufruf { padding: 1.1rem 1.25rem; border-radius: calc(var(--radius) * 1.5); background: var(--koralle-flaeche); color: #FFF4F1; }
.news-aufruf__titel { display: flex; align-items: center; gap: .5rem; margin: 0; font-weight: 700; font-size: 1.12rem; color: #fff; }
.news-aufruf__text { margin: .2rem 0 .7rem; font-size: 1rem; }
.news-aufruf__links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; }
.news-aufruf__links a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.news-aufruf__links a:hover { color: var(--sonne); }

/* ==========================================================================
   v3.1 – News-Seite „Nachrichtenraum“: Titelseite, Archiv nach Jahren, Seitenspalte
   ========================================================================== */
.liste--news-verzeichnis { background: none; box-shadow: none; padding: 0; }
.newsraum__filter { margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem); }
.news-filter__zahl { display: inline-block; min-width: 1.4em; margin-left: .2rem; padding: 0 .35rem; border-radius: 999px; background: #F1F1F1; color: var(--text-leise); font-size: .8rem; font-weight: 700; line-height: 1.5; text-align: center; }
.news-filter__chip--aktiv .news-filter__zahl { background: rgba(255,255,255,.22); color: #fff; }

/* Titelseite: Aufmacher links, zwei Nebenmeldungen rechts */
.titelseite { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.titelseite .aufmacher h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.2; margin: .25rem 0 .5rem; }
.titelseite .aufmacher h2 a { color: var(--titel); text-decoration: none; }
.titelseite .aufmacher--bild { height: 100%; }
.titelseite .aufmacher--bild .aufmacher__bild img { height: 100%; min-height: 24rem; }
.titelseite .aufmacher--bild h2 a { color: #fff; }
.titelseite .aufmacher h2 a:hover { text-decoration: underline; text-decoration-color: var(--sonne); text-underline-offset: .15em; }
.titelseite .aufmacher--bild .aufmacher__teaser { -webkit-line-clamp: 2; }
.titelseite__neben { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.5rem); }
.nebenmeldung { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: calc(var(--radius) * 2); overflow: hidden; box-shadow: var(--schatten); }
.nebenmeldung__bild { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #FBEDEA; color: var(--koralle-text); overflow: hidden; }
.nebenmeldung__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nebenmeldung__bild svg { width: 2.6rem; height: 2.6rem; }
.nebenmeldung:hover .nebenmeldung__bild img { transform: scale(1.03); }
.nebenmeldung__meta { display: flex; flex-wrap: wrap; gap: .2rem .8rem; margin: .9rem 1.1rem 0; font-size: .9rem; color: var(--text-leise); }
.nebenmeldung__meta span { color: var(--koralle-text); font-weight: 700; }
.nebenmeldung__titel { margin: .25rem 1.1rem 1.1rem; font-size: 1.2rem; line-height: 1.3; }
.nebenmeldung__titel a { color: var(--titel); text-decoration: none; }
.nebenmeldung__titel a::after { content: ""; position: absolute; inset: 0; }
.nebenmeldung:hover .nebenmeldung__titel a { color: var(--koralle-text); text-decoration: underline; text-underline-offset: .18em; }
.nebenmeldung:focus-within { outline: 3px solid var(--sonne); outline-offset: 2px; }

/* Archiv + Seitenspalte */
.newsraum { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.newsraum__kopf { margin-bottom: 1.25rem; }
.newsraum__kopf h2 { margin: 0; font-size: var(--s2); }
.newsraum__kopf p { margin: .2rem 0 0; color: var(--text-leise); font-size: var(--s-1); }
.newsraum__kopf a { color: var(--koralle-text); font-weight: 600; }

.news-jahr + .news-jahr { margin-top: 1.75rem; }
.news-jahr__titel { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .9rem; margin: 0 0 .25rem; font-size: 1.6rem; line-height: 1.1; font-weight: 700; color: var(--koralle-text); font-variant-numeric: tabular-nums; }
.news-jahr__titel::after { content: ""; flex: 1 1 4rem; height: 1px; background: var(--linie); align-self: center; }
.news-jahr__hinweis { order: 2; font-size: .85rem; font-weight: 600; color: var(--text-leise); }
.news-zeilen { list-style: none; margin: 0; padding: 0; }
.news-zeilen > li + li { border-top: 1px solid var(--linie); }

.news-zeile { position: relative; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 1rem 0; }
.news-zeile__bild { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #FBEDEA; color: var(--koralle-text); }
.news-zeile__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-zeile__bild svg { width: 2rem; height: 2rem; }
.news-zeile:hover .news-zeile__bild img { transform: scale(1.04); }
.news-zeile__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .8rem; margin: 0 0 .2rem; font-size: .9rem; color: var(--text-leise); }
.news-zeile__kat { position: relative; z-index: 1; color: var(--koralle-text); font-weight: 700; text-decoration: none; }
.news-zeile__kat:hover { text-decoration: underline; }
.news-zeile__titel { margin: 0 0 .3rem; font-size: 1.2rem; line-height: 1.3; }
.news-zeile__titel a { color: var(--titel); text-decoration: none; }
.news-zeile__titel a::after { content: ""; position: absolute; inset: 0; }
.news-zeile:hover .news-zeile__titel a { color: var(--koralle-text); text-decoration: underline; text-underline-offset: .18em; }
.news-zeile:focus-within { outline: 3px solid var(--sonne); outline-offset: 4px; border-radius: 2px; }
.news-zeile__teaser { margin: 0; color: var(--text-leise); font-size: 1rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.newsraum__seite { position: sticky; top: 1.5rem; display: grid; gap: 1.1rem; }
.seitenkarte { padding: 1.1rem 1.25rem 1.2rem; background: #fff; border-radius: calc(var(--radius) * 1.5); box-shadow: var(--schatten); }
.seitenkarte__titel { margin: 0 0 .75rem; font-size: 1.15rem; }
.seitenkarte__mehr { display: inline-block; margin-top: .75rem; color: var(--koralle-text); font-weight: 700; }
.mini-termine { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.mini-termin { display: flex; gap: .8rem; align-items: center; color: var(--titel); text-decoration: none; }
.mini-termin .agenda__datum { width: 3.4rem; }
.mini-termin .agenda__tag { font-size: 1.4rem; }
.mini-termin__text { display: grid; gap: .1rem; min-width: 0; }
.mini-termin__titel { font-weight: 700; line-height: 1.3; }
.mini-termin:hover .mini-termin__titel { color: var(--koralle-text); text-decoration: underline; text-underline-offset: .18em; }
.mini-termin__info { font-size: .9rem; color: var(--text-leise); }
.seitenkarte__links { list-style: none; margin: 0; padding: 0; }
.seitenkarte__links li + li { border-top: 1px solid var(--linie); }
.seitenkarte__links a { display: block; padding: .5rem 0; color: var(--titel); font-weight: 600; text-decoration: none; }
.seitenkarte__links a::after { content: " ↗"; color: var(--text-leise); font-weight: 400; }
.seitenkarte__links a:hover { color: var(--koralle-text); text-decoration: underline; }

@media (max-width: 64rem) {
  .newsraum { grid-template-columns: 1fr; }
  .newsraum__seite { position: static; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
}
@media (max-width: 52rem) {
  .titelseite { grid-template-columns: 1fr; }
  .titelseite__neben { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .titelseite .aufmacher--bild { height: auto; }
  .titelseite .aufmacher--bild .aufmacher__bild img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 40rem) {
  .titelseite__neben { grid-template-columns: 1fr; }
  .nebenmeldung { flex-direction: row; align-items: center; }
  .nebenmeldung__bild { flex: none; width: 7rem; aspect-ratio: 4 / 3; margin: .65rem 0 .65rem .65rem; border-radius: var(--radius); }
  .nebenmeldung__meta { margin: .65rem .9rem 0; }
  .nebenmeldung__titel { margin: .15rem .9rem .75rem; font-size: 1.05rem; }
  .nebenmeldung__text { min-width: 0; }
  .news-zeile { grid-template-columns: 6rem minmax(0, 1fr); gap: .85rem; }
  .news-zeile__teaser { display: none; }
  .news-zeile__titel { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nebenmeldung__bild img, .news-zeile__bild img { transition: none; }
}
