/*
 * Gestaltung nach Entwurf eins — allgemeine Bausteine: Typografie, Fokus,
 * Knöpfe, Chips, Pills, Suche, Zahlen, Branchen, Karten, Formulare (CF7),
 * Brotkrume, Startseiten-Abschnitte, Optik der wir/*-Blöcke, Bewegung. Nur Token aus theme.json (--wp--preset--…, --wp--custom--…).
 * Rahmen (Kopf, Fuß, Hero, Trenner): rahmen.css. Verzeichnis und Profil
 * (.wir-kachel, .wir-filter, .wir-profil…, .wir-abzeichen, .wir-blaettern):
 * mitglieder.css — gehört dem Mitglieder-Agenten.
 *
 * Lesegrößen: Fließtext 18 px (normal), Beschriftungen nie unter 16 px (klein),
 * Ziele ≥ 44 px (--wp--custom--ziel), Knöpfe 52 px. Kontraste gemessen in
 * docs/pruefberichte/2026-10-03-design-entwurf-eins.md.
 *
 * Farbsemantik (Designprüfung V2): Gold = Verein und Betriebe (Mitglied
 * werden, Premium, Fest der WIR), Grün = Finden (Suchen, Anrufen, Chips).
 */

/* ── Typografie-Feinheiten ───────────────────────────────────────────── */
h1, h2, h3, h4 { text-wrap: balance; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; } /* lang="de": lange Wörter trennen statt mitten im Wort brechen (h1 „Praktikum/Ausbildungsstellen“ bei 1180 px) */
h2 + p, h3 + p { margin-top: .5rem; }
/* slop-ok: eyebrow Vorzeile mit Goldstrich – Entscheidung Chris 03.10.2026 (9c939fa). Sparsam: höchstens eine je Abschnitt, der sie braucht. */
.wir-vorzeile { display: inline-flex; align-items: center; gap: .6rem; font: 600 var(--wp--preset--font-size--klein)/1 var(--wp--preset--font-family--text); letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--primaer); margin: 0 0 .9rem; }
/* Gold nur als Zierstrich vor der Vorzeile (Chris: „das Gelb fand ich geil“) — Knöpfe bleiben Blau, Gold mit Weiß reicht nicht für WCAG */
.wir-vorzeile::before { content: ""; width: 2rem; height: 3px; background: var(--wp--preset--color--gold); border-radius: 2px; flex: none; }
.wir-abschnitt--dunkel .wir-vorzeile, .wir-hero .wir-vorzeile { color: var(--wp--preset--color--hellgruen); }
.wir-kopfzeile { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.wir-kopfzeile h2 { margin: 0; max-width: 22ch; }
.wir-kopfzeile__text { margin: .5rem 0 0; color: var(--wp--preset--color--text-leise); max-width: 58ch; font-size: var(--wp--preset--font-size--gross); }
.wir-abschnitt--dunkel .wir-kopfzeile__text { color: var(--wp--preset--color--auf-dunkel); }
.wir-quelle { font-size: var(--wp--preset--font-size--meta); color: var(--wp--preset--color--text-leise); margin: 1.4rem 0 0; }
.wir-quelle--eng { margin-top: .8rem; }
.wir-abschnitt--dunkel .wir-quelle { color: var(--wp--preset--color--auf-dunkel-leise); }
.wir-leer { background: var(--wp--preset--color--flaeche); border: 1.5px dashed var(--wp--preset--color--linie-stark); border-radius: var(--wp--custom--radius--kachel); padding: var(--wp--custom--box--innen); font-size: var(--wp--preset--font-size--normal); }

/* ── Browser-Oberflächen in Vereinsfarben (Idee 17, Chris 04.10.2026) ──────
   Fokus: Ring in Waldgrün, innen ein Goldband (zwei Farben, WCAG-Technik C40).
   Gold allein hätte auf Creme nur 2,0:1 – den Kontrast trägt der Waldring außen
   (13,4:1), das Goldband steht mit 3,8:1 gegen Grün und 6,6:1 gegen Wald. Auf
   Dunkel tauschen die Rollen: Goldring außen, das Band in Wald wird zum Abstand.
   Jede Fokusregel im Theme nimmt nur die zwei Token, nie eine eigene Farbe. */
:root { --wir-fokus-ring: var(--wp--preset--color--wald); --wir-fokus-band: var(--wp--preset--color--gold); }
.wir-abschnitt--dunkel, .wir-hero, .wir-fuss, .wir-karte--dunkel, .wir-steckbrief__kasten, .wir-seitenkopf, .wir-premium-hinweis, .wir-kachel--werbung, .wir-film, .wir-kopf .is-menu-open, .wir-sg-buehne--dunkel { --wir-fokus-ring: var(--wp--preset--color--gold); --wir-fokus-band: var(--wp--preset--color--wald); }
/* helle Inseln auf dunklem Grund wieder wie hell */
.wir-hero .wir-suchleiste, .wir-abschnitt--dunkel .wir-suchleiste, .wir-abschnitt--dunkel .wir-helfer-aufruf { --wir-fokus-ring: var(--wp--preset--color--wald); --wir-fokus-band: var(--wp--preset--color--gold); }
:focus-visible { outline: 3px solid var(--wir-fokus-ring); outline-offset: 3px; box-shadow: 0 0 0 3px var(--wir-fokus-band); border-radius: 4px; }
/* Textauswahl in Hellgrün aus dem Logo statt Systemblau (Text darauf 11,3:1) */
::selection { background: var(--wp--preset--color--hellgruen); color: var(--wp--preset--color--text); }
/* Links: Goldunterstrich mit Abstand, beim Darüberfahren nur dicker – Farbe von Schrift und Strich bleibt (Chris 04.10.2026: kein dunkles Schwarz). Gold trägt nie Text. */
a { text-decoration-color: var(--wp--preset--color--gold); text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-skip-ink: auto; }
:where(a:not(.wp-element-button, .wir-knopf)):hover { text-decoration-color: var(--wp--preset--color--gold); text-decoration-thickness: 4px; }
/* Scrollleiste Waldgrün auf Creme, Schreibmarke und Häkchen in Grün */
html { scrollbar-color: var(--wp--preset--color--primaer) var(--wp--preset--color--grund); }
input, textarea, select, [contenteditable] { caret-color: var(--wp--preset--color--primaer); accent-color: var(--wp--preset--color--primaer); }

/* ── Knöpfe ──────────────────────────────────────────────────────────── */
.wir-knopf, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	box-sizing: border-box; /* Mindesthöhe inklusive Rand: 48 px heißt 48 px, nicht 68 */
	min-height: var(--wp--custom--knopfhoehe); padding: var(--wp--custom--knopfpolster); /* EIN Maß für alle Knöpfe (Chris, 03.10.2026) – keine Abweichungen je Seite */
	border-radius: var(--wp--custom--radius--knopf); border: 2px solid var(--wp--preset--color--primaer);
	background: var(--wp--preset--color--primaer); color: var(--wp--preset--color--flaeche);
	font: 600 var(--wp--preset--font-size--meta)/1.2 var(--wp--preset--font-family--text);
	text-decoration: none; cursor: pointer; text-align: center;
	white-space: nowrap; /* Ein Knopf bricht nie um (globale Regel, Chris 08.10.2026); reicht der Platz nicht, wird der Text kürzer (__lang/__kurz) */
}
.wir-knopf:hover, .wp-block-button__link:hover { background: var(--wp--preset--color--primaer-dunkel); border-color: var(--wp--preset--color--primaer-dunkel); color: var(--wp--preset--color--flaeche); text-decoration: none; }
/* Auch WordPress-Knöpfe (.wp-element-button, Formular-Absenden): gleiche Höhe, Rand eingerechnet – sonst 68 statt 48 px */
.wp-element-button, .wpcf7 input[type="submit"], .wpcf7 button[type="submit"] { box-sizing: border-box; min-height: var(--wp--custom--knopfhoehe); }
a.wp-element-button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; }
.wir-knopf .wir-symbol { width: 22px; height: 22px; }
.wir-knopf--leise, .is-style-outline .wp-block-button__link { background: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--primaer); border-color: var(--wp--preset--color--linie-stark); }
.wir-knopf--leise:hover, .is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--primaer-hell); color: var(--wp--preset--color--wald); border-color: var(--wp--preset--color--primaer); }
.wir-knopf--gold { background: var(--wp--preset--color--akzent); border-color: var(--wp--preset--color--akzent); color: #fff; }
.wir-knopf--gold:hover { background: var(--wp--preset--color--akzent-hell); border-color: var(--wp--preset--color--akzent-hell); color: #fff; }
/* Auf dunklem Grün kein Blau (Chris 04.10.2026: „Blau auf Grün ist nicht das Wahre“): Hellgrün aus dem Logo mit Waldgrün-Schrift, wie die Werbekachel */
.wir-abschnitt--dunkel .wir-knopf--gold, .wir-hero .wir-knopf--gold, .wir-seitenkopf .wir-knopf--gold, .wir-profilkopf .wir-knopf--gold, .wir-karte--dunkel .wir-knopf, .wir-wegweiser .wir-knopf, .wir-karte--dunkel .wir-karte__knopf.wp-element-button { background: var(--wp--preset--color--hellgruen); border-color: var(--wp--preset--color--hellgruen); color: var(--wp--preset--color--wald); }
.wir-abschnitt--dunkel .wir-knopf--gold:hover, .wir-hero .wir-knopf--gold:hover, .wir-seitenkopf .wir-knopf--gold:hover, .wir-profilkopf .wir-knopf--gold:hover, .wir-karte--dunkel .wir-knopf:hover, .wir-wegweiser__ziel:hover .wir-knopf, .wir-karte--dunkel .wir-karte__knopf.wp-element-button:hover { background: var(--wp--preset--color--flaeche); border-color: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--wald); }
.wir-knopf--rand-hell, .is-style-rand-hell > .wp-block-button__link { background: transparent; border-color: rgba(255,255,255,.75); color: var(--wp--preset--color--flaeche); }
.wir-knopf--rand-hell:hover, .is-style-rand-hell > .wp-block-button__link:hover { background: rgba(255,255,255,.12); border-color: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--flaeche); }
.wir-knopf--klein { min-height: 48px; padding: .5rem 1rem; font-size: var(--wp--preset--font-size--meta); }
/* Notfall (Chris, 04.10.2026): nur der Anrufknopf im Kasten „Notfallnummer“ des Profils. Weiß auf Rot 6,6:1. */
.wir-knopf--notfall { background: var(--wp--preset--color--notfall); border-color: var(--wp--preset--color--notfall); color: #fff; }
.wir-knopf--notfall:hover { background: var(--wp--preset--color--notfall-tief); border-color: var(--wp--preset--color--notfall-tief); color: #fff; }
/* Premium (Chris, 04.10.2026: Pflaume-Knopf als offizielle Variante) – nur für Premium-Handlungen
   (Premium bestellen, Premium-Profil). Weiß auf Pflaume 9,8:1. Auf dunklem Grund mit Goldrand wie das
   Premium-Etikett. Gutenberg-Knopf: Klasse „is-style-premium“ am Knopf-Block. */
.wir-knopf--premium, .is-style-premium > .wp-block-button__link { background: var(--wp--preset--color--premium); border-color: var(--wp--preset--color--premium); color: #fff; }
.wir-knopf--premium:hover, .is-style-premium > .wp-block-button__link:hover { background: var(--wp--preset--color--premium-tief); border-color: var(--wp--preset--color--premium-tief); color: #fff; }
:is(.wir-hero, .wir-abschnitt--dunkel, .wir-karte--dunkel, .wir-seitenkopf, .wir-premium-box) :is(.wir-knopf--premium, .wp-block-button.is-style-premium > a.wp-block-button__link) { background: var(--wp--preset--color--premium); border-color: var(--wp--preset--color--gold); color: #fff; }
:is(.wir-hero, .wir-abschnitt--dunkel, .wir-karte--dunkel, .wir-seitenkopf, .wir-premium-box) :is(.wir-knopf--premium, .wp-block-button.is-style-premium > a.wp-block-button__link):hover { background: var(--wp--preset--color--premium-hell); border-color: var(--wp--preset--color--gold); }
/* Leichter Verlauf in der eigenen Farbe (Chris 05.10.2026: „minimal … hochwertig“): oben links etwas heller, unten rechts etwas dunkler.
   Als Schicht über der Knopffarbe – jede Variante und jeder Hover-Zustand behält seine Farbe, nur Licht und Tiefe kommen dazu.
   !important nur am Bild, weil die Hover-Regeln „background“ als Kurzform setzen und es sonst löschen. Ohne transparente Knöpfe (rand-hell). */
:where(.wir-knopf, .wp-block-button__link, .wp-element-button, .wpcf7 input[type="submit"], .wpcf7 button[type="submit"]):not(.wir-knopf--rand-hell, .is-style-rand-hell > *) { background-image: linear-gradient(160deg, rgb(255 255 255 / .16), rgb(255 255 255 / 0) 50%, rgb(0 0 0 / .12)) !important; }
:is(.wir-knopf--leise, .is-style-outline .wp-block-button__link) { background-image: linear-gradient(160deg, rgb(255 255 255 / .5), rgb(255 255 255 / 0) 50%, rgb(0 0 0 / .04)) !important; } /* helle Knöpfe: nur ein Hauch, sonst wirken sie grau */
/* Kein Rahmen-Eindruck: der 2-px-Rand gefüllter Knöpfe wird durchsichtig, der Verlauf läuft bis an die Kante (Chris 05.10.2026: „gefühlt eine Outline“). Maße bleiben.
   Ausgenommen: Knöpfe, deren Rand gewollt ist – leise, Outline, rand-hell und Premium auf Dunkel (Goldrand). */
:where(.wir-knopf, .wp-block-button__link, .wp-element-button, .wpcf7 input[type="submit"], .wpcf7 button[type="submit"]):not(.wir-knopf--rand-hell, .is-style-rand-hell > *, .wir-knopf--leise, .is-style-outline .wp-block-button__link) { background-origin: border-box; border-color: transparent !important; }
:is(.wir-hero, .wir-abschnitt--dunkel, .wir-karte--dunkel, .wir-seitenkopf, .wir-premium-box) :is(.wir-knopf--premium, .wp-block-button.is-style-premium > a.wp-block-button__link) { border-color: var(--wp--preset--color--gold) !important; }
/* Pfeil hinter dem Text eines Gutenberg-Knopfs: Klasse „is-style-pfeil“ am Knopf-Block (.wir-knopf trägt ihn als Symbol im Markup). */
.is-style-pfeil > .wp-block-button__link::after {
	content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
	-webkit-mask: var(--wir-symbol-pfeil) center / contain no-repeat;
	        mask: var(--wir-symbol-pfeil) center / contain no-repeat;
}
.wir-link-pfeil { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; font-weight: 600; text-decoration: none; color: var(--wp--preset--color--primaer); }
.wir-link-pfeil .wir-symbol { width: 20px; height: 20px; }
.wir-link-pfeil:hover { text-decoration: underline var(--wp--preset--color--gold) 2px; }
.wir-link-pfeil:hover .wir-symbol { transform: translateX(3px); }

/* ── Chips ───────────────────────────────────────────────────────────── */
.wir-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1.4rem; }
.wir-chips__label { color: var(--wp--preset--color--auf-dunkel); font-weight: 600; margin-right: .3rem; font-size: var(--wp--preset--font-size--normal); }
.wir-chip { display: inline-flex; align-items: center; gap: .45rem; min-height: var(--wp--custom--ziel); padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid var(--wp--preset--color--linie-stark); background: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--text); font: 600 var(--wp--preset--font-size--normal)/1 var(--wp--preset--font-family--text); text-decoration: none; }
.wir-chip:hover { border-color: var(--wp--preset--color--primaer); color: var(--wp--preset--color--primaer); }
.wir-chip[aria-current] { background: var(--wp--preset--color--primaer); border-color: var(--wp--preset--color--primaer); color: var(--wp--preset--color--flaeche); }
.wir-hero .wir-chip, .wir-abschnitt--dunkel .wir-chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); color: var(--wp--preset--color--flaeche); }
.wir-hero .wir-chip:hover, .wir-abschnitt--dunkel .wir-chip:hover { background: rgba(255,255,255,.16); border-color: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--flaeche); }
/* Kleine Chips: alle Branchen mit Anzahl im Hero (Chris, 03.10.2026) – 36 px Ziel, über WCAG 2.5.8 (24 px) */
.wir-chips--klein { gap: .4rem; }
.wir-chips--klein .wir-chip { min-height: 36px; padding: 0 .8rem; gap: .3rem; font-size: var(--wp--preset--font-size--klein); }
.wir-chip__anzahl { font-weight: 400; opacity: .85; font-variant-numeric: tabular-nums; }
/* Branchensymbol im Chip (Chris, 04.10.2026: Kacheln „Wer macht was im Ort“ entfallen, ihre Symbole wandern in die Hero-Chips) — klein, damit der Chip nicht wächst */
.wir-chip .wir-symbol { width: 16px; height: 16px; flex: none; }
/* Hero-Titel wie im Konzept (Chris, 03.10.2026): „Ihr“ in Gold */
.wir-hero h1 em { color: var(--wp--preset--color--gold); }
.wir-hero h1 { hyphens: manual; -webkit-hyphens: manual; } /* nie „Naaf-bach“ (390 px, 20.10.2026) – jedes Wort des Titels passt ab 320 px in eine Zeile */

/* ── Pill (Telefon in Kontakt-Karten) ─────────────────────────────────── */
.wir-pill { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: 0 1.1rem 0 .8rem; border-radius: 999px; background: var(--wp--preset--color--primaer-hell); color: var(--wp--preset--color--wald); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; font-size: var(--wp--preset--font-size--normal); }
.wir-pill .wir-symbol { width: 24px; height: 24px; color: var(--wp--preset--color--primaer); }
.wir-pill small { font: 600 var(--wp--preset--font-size--klein)/1.2 var(--wp--preset--font-family--text); color: var(--wp--preset--color--primaer); }
.wir-pill:hover { background: var(--wp--preset--color--primaer); color: var(--wp--preset--color--flaeche); text-decoration: none; }
.wir-pill:hover .wir-symbol, .wir-pill:hover small { color: var(--wp--preset--color--flaeche); }
.wir-karte--dunkel .wir-pill { background: rgba(255,255,255,.1); color: var(--wp--preset--color--flaeche); }
.wir-karte--dunkel .wir-pill .wir-symbol, .wir-karte--dunkel .wir-pill small { color: var(--wp--preset--color--hellgruen); } /* Blau auf Wald 2,1:1 */
.wir-karte--dunkel .wir-pill:hover { background: var(--wir-silhouette); color: var(--wp--preset--color--wald); }
.wir-karte--dunkel .wir-pill:hover .wir-symbol, .wir-karte--dunkel .wir-pill:hover small { color: var(--wp--preset--color--wald); }

/* ── Suche (Hero und Verzeichnis) ─────────────────────────────────────── */
.wir-suche__label { display: block; font: 600 var(--wp--preset--font-size--normal)/1.2 var(--wp--preset--font-family--text); color: var(--wp--preset--color--auf-dunkel); margin: 0 0 .7rem; }
.wir-suchleiste { background: var(--wp--preset--color--flaeche); border-radius: 16px; padding: .5rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; box-shadow: var(--wp--custom--schatten--schwebend); }
.wir-suchleiste__feld { position: relative; display: flex; align-items: center; }
.wir-suchleiste__feld .wir-symbol { position: absolute; left: 1.1rem; width: 26px; height: 26px; color: var(--wp--preset--color--text-leise); pointer-events: none; }
.wir-suchleiste input[type="search"] { width: 100%; min-height: 64px; border: 1.5px solid var(--wp--preset--color--linie-stark); border-radius: var(--wp--custom--radius--feld); background: var(--wp--preset--color--grund); color: var(--wp--preset--color--text); font: 400 var(--wp--preset--font-size--gross)/1.2 var(--wp--preset--font-family--text); padding: 0 1rem 0 3.4rem; appearance: none; -webkit-appearance: none; }
.wir-suchleiste input::placeholder { color: #5E6B63; opacity: 1; }
.wir-suchleiste input:focus-visible { outline: 3px solid var(--wir-fokus-ring); outline-offset: 0; background: var(--wp--preset--color--flaeche); border-color: var(--wp--preset--color--primaer); }
.wir-suchleiste .wir-knopf { min-height: 64px; padding-inline: 1.8rem; font-size: var(--wp--preset--font-size--normal); border-radius: var(--wp--custom--radius--feld); }
.wir-suche--kompakt .wir-suchleiste input[type="search"], .wir-suche--kompakt .wir-suchleiste .wir-knopf { min-height: var(--wp--custom--feldhoehe); }
/* Kompakt (Verzeichnis): ohne weißen Rahmen – das Feld ist ein normales Feld in der Feldhöhe.
   Der Rahmen bleibt allein der Startseiten-Suche (einzige Ausnahme, Chris 04.10.2026). */
.wir-suche--kompakt .wir-suchleiste { padding: 0; background: none; box-shadow: none; gap: .75rem; }
.wir-suche--kompakt .wir-suchleiste input[type="search"] { font-size: var(--wp--preset--font-size--normal); border-radius: var(--wp--custom--radius--knopf); }
.wir-suche--kompakt .wir-suchleiste .wir-knopf { border-radius: var(--wp--custom--radius--knopf); padding: var(--wp--custom--knopfpolster); font-size: var(--wp--preset--font-size--meta); } /* Knopfmaß wie überall */
@media (max-width: 640px) { .wir-suchleiste { grid-template-columns: minmax(0, 1fr); } }

/* ── Zahlenband ──────────────────────────────────────────────────────── */
.wir-zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: clamp(2rem, 4vw, 3rem) 0; list-style: none; margin: 0; }
/* Kein Akzentbalken am linken Rand — „darf nirgendwo auf der Webseite existieren“ (Chris, 03.10.2026) */
.wir-zahl { padding: .2rem 0; }
.wir-zahl b { display: block; font: 700 var(--wp--preset--font-size--titel-2)/1 var(--wp--preset--font-family--titel); letter-spacing: -.01em; color: var(--wp--preset--color--wald); }
.wir-zahl span { display: block; margin-top: .4rem; color: var(--wp--preset--color--text); font-size: var(--wp--preset--font-size--normal); }
.wir-zahl small { display: block; font-size: var(--wp--preset--font-size--klein); color: var(--wp--preset--color--text-leise); margin-top: .15rem; }
@media (max-width: 900px) { .wir-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Handy: eine Reihe, ohne Erläuterung (Designprüfung V4: kürzere Startseite) */
@media (max-width: 640px) {
	.wir-zahlen { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding: 1.4rem 0 .6rem; }
	.wir-zahl { padding: 0; display: flex; align-items: baseline; gap: .4rem; }
	.wir-zahl b { font-size: var(--wp--preset--font-size--titel-mittel); }
	.wir-zahl span { margin: 0; }
	.wir-zahl small { display: none; }
}

/* ── Karten-Scroller (wir_scroller(), Chris 04.10.2026: „wie Apple“) ──────
   Natives waagerechtes Scrollen mit Einrasten. Die Reihe läuft über die volle
   Bildschirmbreite, Anfang und Ende stehen an der Textkante der Hülle (--wir-rand). */
.wir-scroller { --wir-rand: max(var(--wp--style--root--padding-left, 1.25rem), calc((100vw - var(--wp--style--global--wide-size)) / 2)); }
.wir-abschnitt:has(.wir-scroller) { overflow-x: clip; }
.wir-scroller > .wir-scroller__spur { display: flex; gap: var(--wp--custom--box--abstand); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--wir-rand); margin: 0 calc(50% - 50vw); padding: .9rem var(--wir-rand) 2rem; margin-bottom: -1rem; list-style: none; scrollbar-width: none; } /* unten 2rem: der Hover-Schatten der Karten reicht 26px unter die Karte – bei 1rem schnitt die Spur ihn ab (Chris, 05.10.2026); -1rem hält den Abstand zu den Knöpfen wie vorher */
.wir-scroller > .wir-scroller__spur::-webkit-scrollbar { display: none; }
.wir-scroller > .wir-scroller__spur > li { flex: 0 0 auto; scroll-snap-align: start; margin: 0; }
.wir-scroller > .wir-scroller__spur:focus-visible { outline: 3px solid var(--wir-fokus-ring); outline-offset: -3px; }
.wir-scroller__knoepfe { display: flex; justify-content: flex-end; gap: .6rem; margin-top: .4rem; }
.wir-scroller__knoepfe[hidden] { display: none; }
.wir-scroller__knopf { display: grid; place-items: center; width: var(--wp--custom--ziel); height: var(--wp--custom--ziel); padding: 0; border-radius: 50%; border: 1px solid var(--wp--preset--color--linie-stark); background: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--primaer); cursor: pointer; }
.wir-scroller__knopf:hover:not(:disabled) { background: var(--wp--preset--color--primaer-hell); border-color: var(--wp--preset--color--primaer); }
.wir-scroller__knopf:focus-visible { outline: 3px solid var(--wir-fokus-ring); outline-offset: 2px; }
.wir-scroller__knopf:disabled { opacity: .4; cursor: default; }
.wir-scroller__knopf .wir-symbol { width: 20px; height: 20px; }
.wir-scroller__knopf--zurueck .wir-symbol { transform: scaleX(-1); }

/* Karten im Scroller (Mitglieder, Termine): eine Karte und ein Stück der nächsten auf dem Handy, darüber so breit wie
   eine Spalte im Raster (2 bzw. 3) – ein Kartenformat überall (Chris, 04.10.2026). */
.wir-scroller > .wir-scroller__spur > li { box-sizing: border-box; width: min(78vw, 27rem); }
@media (min-width: 641px) { .wir-scroller > .wir-scroller__spur > li { width: calc((100vw - 2 * var(--wir-rand) - var(--wp--custom--box--abstand)) / 2); } }
@media (min-width: 1001px) { .wir-scroller > .wir-scroller__spur > li { width: calc((100vw - 2 * var(--wir-rand) - 2 * var(--wp--custom--box--abstand)) / 3); } }
/* Variante „Vorschau“ (Kurzporträts der Startseite, Chris 19.10.2026: „dass wir immer schon das nächste Mitglied sehen“):
   breitere Spur-Schritte, die nächste Karte steht sichtbar angeschnitten im Inhalt. Handy wie oben (78vw). */
@media (min-width: 641px) { .wir-scroller--vorschau > .wir-scroller__spur > li { width: calc((100vw - 2 * var(--wir-rand) - var(--wp--custom--box--abstand)) / 1.6); } }
@media (min-width: 1001px) { .wir-scroller--vorschau > .wir-scroller__spur > li { width: calc((100vw - 2 * var(--wir-rand) - 2 * var(--wp--custom--box--abstand)) / 2.6); } }
/* Terminkacheln im Scroller genau so breit wie im Termin-Raster der Startseite bisher: ab 1000 px vier je Reihe, darunter zwei; die nächste Veranstaltung der WIR NeunkirchenSeelscheider doppelt breit (Chris, 04.10.2026: „Kachelstyle und die Breite und die Höhe von der Startseite beibehalten“). */
@media (min-width: 641px) { .wir-veranstaltungen .wir-scroller > .wir-scroller__spur > li.wir-veranstaltungen__eintrag--naechste { width: calc(100vw - 2 * var(--wir-rand)); } }
@media (min-width: 1001px) {
	.wir-veranstaltungen .wir-scroller > .wir-scroller__spur > li { width: calc((100vw - 2 * var(--wir-rand) - 3 * var(--wp--custom--box--abstand)) / 4); }
	.wir-veranstaltungen .wir-scroller > .wir-scroller__spur > li.wir-veranstaltungen__eintrag--naechste { width: calc((100vw - 2 * var(--wir-rand) - 3 * var(--wp--custom--box--abstand)) / 2 + var(--wp--custom--box--abstand)); }
}

/* ── Karten (Info, Download, Kontakt) — Vorgabe Chris, Vorbild FSV ──── */
.wir-karte { position: relative; display: flex; flex-direction: column; gap: .8rem; background: var(--wp--preset--color--flaeche); border: 1px solid var(--wp--preset--color--linie); border-radius: var(--wp--custom--radius--kachel); padding: var(--wp--custom--box--innen); color: var(--wp--preset--color--text); }
.wir-karte > *, .wp-block-group.wir-karte > * { margin: 0; }
/* Beschriftung statt Eyebrow (crbd-design): normal gesetzt, ohne Sperrung und Strich */
.wir-karte__kicker, .wir-eyebrow { display: block; font: 600 var(--wp--preset--font-size--normal)/1.35 var(--wp--preset--font-family--text); color: var(--wp--preset--color--text-leise); }
.wir-karte__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--wp--preset--color--primaer-hell); color: var(--wp--preset--color--primaer); display: grid; place-items: center; flex: none; }
.wir-karte__icon .wir-symbol, .wir-karte__icon svg { width: 28px; height: 28px; }
.wir-karte__titel { font: 600 var(--wp--preset--font-size--titel-3)/1.2 var(--wp--preset--font-family--titel); color: var(--wp--preset--color--wald); margin: 0; }
.wir-karte__text { font-size: var(--wp--preset--font-size--normal); color: var(--wp--preset--color--text-leise); }
.wir-karte__text a { min-height: var(--wp--custom--ziel); display: inline-flex; align-items: center; }
.wir-karte__knopf { margin-top: auto; align-self: flex-start; }
.wir-karte__meta { font-size: var(--wp--preset--font-size--klein); color: var(--wp--preset--color--text-leise); }
.wir-karte__kontakt { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.wir-karte--dunkel { background: var(--wp--custom--verlauf--wald) var(--wp--preset--color--wald); border-color: var(--wp--preset--color--wald); color: var(--wp--preset--color--auf-dunkel); }
/* Grüne Flächen aus dem Editor (Farbwahl Wald / Wald tief) bekommen denselben
   leisen Verlauf wie die Flächen des Themes – Chris, 03.10.2026. Token: theme.json custom.verlauf */
.has-wald-background-color { background-image: var(--wp--custom--verlauf--wald); }
.has-wald-tief-background-color { background-image: var(--wp--custom--verlauf--wald-tief); }
.wir-karte--dunkel .wir-karte__kicker, .wir-karte--dunkel .wir-eyebrow { color: var(--wp--preset--color--hellgruen); } /* Blau auf Wald wäre 1,7:1 */
.wir-karte--dunkel .wir-karte__icon { background: rgba(255,255,255,.1); color: var(--wp--preset--color--hellgruen); }
.wir-karte--dunkel .wir-karte__titel { color: var(--wp--preset--color--flaeche); }
.wir-karte--dunkel .wir-karte__text { color: var(--wp--preset--color--auf-dunkel); }
.wir-karte--dunkel .wir-karte__meta { color: var(--wp--preset--color--auf-dunkel-leise); }
.wir-karte--dunkel a:not(.wir-knopf):not(.wir-pill):not(.wir-karte__knopf):not(.wp-element-button) { color: var(--wp--preset--color--flaeche); }
.wir-karte--gold { border: 2px solid var(--wp--preset--color--akzent); }
/* Teaser „Mitglied werden“ (patterns/beitritt-teaser.php): ab Tablet Text links, Knopf rechts in einer Reihe */
.wir-beitritt-teaser { margin-block: var(--wp--custom--box--abstand); }
.wir-beitritt-teaser .wir-karte__text { max-width: var(--wp--custom--lesebreite); }
@media (min-width: 48em) {
	.wir-beitritt-teaser { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--wp--preset--spacing--l); align-items: center; }
	.wir-beitritt-teaser > :not(.wir-beitritt-teaser__knopf) { grid-column: 1; }
	.wir-beitritt-teaser > .wir-beitritt-teaser__knopf { grid-column: 2; grid-row: 1 / span 2; }
}
/* wir/downloads „Karten“ (Klassen laut blocks/downloads/render.php): Knopf als wp-element-button */
.wir-karte__knopf.wp-element-button { display: inline-flex; align-items: center; gap: .55rem; min-height: var(--wp--custom--knopfhoehe); }
/* wir/downloads „Karten“ in einer Spalte (Satzung und Beitragsordnung): Karte füllt die Spalte, Nachbarspalten gleich hoch */
.wp-block-column > .wir-downloads--karten { grid-template-columns: minmax(0, 1fr); }
.wp-block-column > .wir-downloads--karten:only-child { height: 100%; }
/* wir/vereinskontakt „Knöpfe“: a.wir-pill--telefon, a.wir-pill--email, address */
.wir-vereinskontakt__adresse { font-style: normal; }
.wir-pill--email { font-variant-numeric: normal; overflow-wrap: anywhere; }

/* ── Formulare (Core-Suche, Contact Form 7, eigene) ──────────────────── */
.wir-feld, .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7 textarea, .wpcf7 select,
.wp-block-search__input, .wir-filter input[type="search"], .wir-auswahl select {
	min-height: var(--wp--custom--feldhoehe); width: 100%; box-sizing: border-box; border: 1.5px solid var(--wp--preset--color--linie-stark); border-radius: var(--wp--custom--radius--knopf);
	background: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--text); font: 400 var(--wp--preset--font-size--normal)/1.3 var(--wp--preset--font-family--text); padding: .7rem .95rem;
}
.wpcf7 textarea { min-height: 9rem; resize: vertical; }
.wpcf7 input:focus-visible, .wpcf7 textarea:focus-visible, .wpcf7 select:focus-visible, .wp-block-search__input:focus-visible, .wir-filter input:focus-visible, .wir-auswahl select:focus-visible { outline: 3px solid var(--wir-fokus-ring); outline-offset: 0; border-color: var(--wp--preset--color--primaer); }
.wpcf7 label { display: block; font-weight: 600; font-size: var(--wp--preset--font-size--normal); color: var(--wp--preset--color--text); margin-bottom: .35rem; }
.wpcf7 label > input, .wpcf7 label > textarea, .wpcf7 label > select, .wpcf7 label .wpcf7-form-control-wrap { margin-top: .35rem; font-weight: 400; }
.wpcf7 p { margin: 0 0 1.1rem; }
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"], .wir-form-feld--kasten input[type="checkbox"] { width: 26px; height: 26px; accent-color: var(--wp--preset--color--primaer); vertical-align: middle; margin-right: .5rem; }
.wpcf7 .wpcf7-list-item { display: flex; align-items: flex-start; gap: .5rem; margin: 0 0 .5rem; min-height: var(--wp--custom--ziel); }
.wpcf7 .wpcf7-list-item label { font-weight: 400; display: flex; align-items: center; gap: .6rem; }
.wpcf7 input[type="submit"], .wpcf7 button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: var(--wp--custom--knopfhoehe); padding: var(--wp--custom--knopfpolster); border-radius: var(--wp--custom--radius--knopf); border: 2px solid var(--wp--preset--color--primaer); background: var(--wp--preset--color--primaer); color: var(--wp--preset--color--flaeche); font: 600 var(--wp--preset--font-size--meta)/1.2 var(--wp--preset--font-family--text); cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--wp--preset--color--primaer-dunkel); border-color: var(--wp--preset--color--primaer-dunkel); }
.wpcf7 .wpcf7-spinner { margin-left: .75rem; }
/* Fehler: rot, verständlich, direkt unter dem Feld; Pflichtfeld-Stern erklärt */
.wpcf7 .wpcf7-not-valid { border-color: #B3261E; background: #FFF6F5; }
.wpcf7 .wpcf7-not-valid-tip { display: block; margin-top: .4rem; color: #8F1D17; font-size: var(--wp--preset--font-size--meta); font-weight: 600; }
.wpcf7 form.wpcf7-form .wpcf7-response-output { /* form.wpcf7-form: schlägt das CSS des Plugins, das seit tempo.php danach lädt (Einheitlichkeit 19.11.2026) */  margin: 1.2rem 0 0; padding: var(--wp--custom--box--leiste); border: 2px solid var(--wp--preset--color--primaer); border-radius: var(--wp--custom--radius--kachel); background: var(--wp--preset--color--primaer-hell); color: var(--wp--preset--color--wald); font-size: var(--wp--preset--font-size--normal); }
.wpcf7 form.wpcf7-form.invalid .wpcf7-response-output, .wpcf7 form.wpcf7-form.unaccepted .wpcf7-response-output, .wpcf7 form.wpcf7-form.failed .wpcf7-response-output, .wpcf7 form.wpcf7-form.aborted .wpcf7-response-output { border-color: #B3261E; background: #FFF6F5; color: #8F1D17; }
.wpcf7 form.wpcf7-form.sent .wpcf7-response-output { border-color: var(--wp--preset--color--primaer); }
.wpcf7 .wpcf7-form-control.wpcf7-acceptance { font-weight: 400; }
.wir-pflicht, .wpcf7 .wir-pflicht { color: var(--wp--preset--color--text-leise); font-size: var(--wp--preset--font-size--klein); }
/* Core-Suche (404, Suchseite) */
.wp-block-search__label { font-weight: 600; margin-bottom: .4rem; }
.wp-block-search__button { min-height: var(--wp--custom--feldhoehe); }
.wp-block-search .wp-block-search__inside-wrapper { gap: .5rem; border: 0; padding: 0; }

/* Auswahlfeld mit eigenem Pfeil */
.wir-auswahl { position: relative; display: inline-flex; width: 100%; }
.wir-auswahl select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer; background-image: var(--wir-symbol-aufklappen-text); background-repeat: no-repeat; background-position: right .9rem center; background-size: 20px; }

/* ── Brotkrume ───────────────────────────────────────────────────────── */
.wir-krume { padding: .8rem 0 0; font-size: var(--wp--preset--font-size--meta); }
.wir-krume ol { display: flex; flex-wrap: wrap; gap: 0 .5rem; list-style: none; margin: 0; padding: 0; }
.wir-krume li { display: flex; align-items: center; min-height: var(--wp--custom--ziel); color: var(--wp--preset--color--text-leise); }
.wir-krume li + li::before { content: "/"; margin-right: .5rem; color: var(--wp--preset--color--linie-stark); }
.wir-krume a { display: inline-flex; align-items: center; min-height: var(--wp--custom--ziel); }
.wir-krume [aria-current] { font-weight: 600; color: var(--wp--preset--color--text); }
/* Langer Titel (News, Termin) bleibt eine Zeile und endet mit „…“; die volle Überschrift steht direkt darunter (20.11.2026) */
.wir-krume li[aria-current] { flex: 1 1 10rem; min-width: 0; }
.wir-krume li[aria-current] > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* Profil: Krume teilt sich die Zeile mit „Ihr Betrieb?“ – sie darf wachsen, damit der Titel nicht unnötig umbricht */
.wir-krume-leiste--login > .wir-krume { flex: 1 1 20rem; min-width: 0; }

/* ── Inhaltsblöcke der Redaktion ─────────────────────────────────────── */
.wp-block-image img { border-radius: var(--wp--custom--radius--kachel); }
/* Bildunterschrift wie im Lokalteil: Goldstrich als obere Kante, der Ort fett vorn –
   „<strong>Hauptstraße Neunkirchen</strong> · Frühlingsfest 2016“. Ein Baustein für Bildblock,
   Beitragsbild-Band der Textseiten und Vereinsfoto der Startseite (Styleguide: Bausteine der Redaktion). */
.wp-block-image figcaption, .wir-seitenbild figcaption, .wir-verein__foto figcaption { margin: .6rem 0 0; padding-top: .5rem; border-top: 1px solid var(--wp--preset--color--gold); font-size: var(--wp--preset--font-size--meta); line-height: 1.45; color: var(--wp--preset--color--text-leise); text-align: left; }
.wp-block-image figcaption :is(strong, b), .wir-seitenbild figcaption :is(strong, b), .wir-verein__foto figcaption :is(strong, b) { font-weight: 600; color: var(--wp--preset--color--text); }
.wp-block-gallery img { border-radius: var(--wp--custom--radius--klein); }
.wp-block-buttons .wp-block-button__link { min-height: var(--wp--custom--knopfhoehe); padding: var(--wp--custom--knopfpolster); }
.wp-block-list li { margin-bottom: .3rem; }

/* ── Bewegung: ein System, dezent, nur bei no-preference ─────────────── */
@media (prefers-reduced-motion: no-preference) {
	/* Übergänge: nur Farbe, Schatten, Transform — kein Layout */
	.wir-knopf, .wp-block-button__link, .wir-chip, .wir-pill, .wir-link-pfeil, .wir-link-pfeil .wir-symbol, .wir-kachel, .wir-karte,
	.wir-social__link, .wir-kopf__telefon, .wir-marke, .wir-fuss a, .wir-kopf__navigation .wp-block-navigation-item__content,
	.wir-buchstaben a, .wir-blaettern a.page-numbers, .wir-suchleiste input, .wpcf7 input, .wpcf7 textarea, .wpcf7 select, .wir-auswahl select {
		transition: color var(--wp--custom--uebergang), background-color var(--wp--custom--uebergang), border-color var(--wp--custom--uebergang), box-shadow var(--wp--custom--uebergang), transform var(--wp--custom--uebergang), outline-color var(--wp--custom--uebergang);
	}
	.wir-knopf:hover, .wp-block-button__link:hover, .wir-pill:hover { box-shadow: 0 6px 16px -10px rgba(10,45,26,.5); }
	.wir-knopf:active, .wp-block-button__link:active { transform: translateY(1px); box-shadow: none; }
	.wir-kachel:hover, .wir-karte:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(10,45,26,.45); }
	.wir-kopf .wp-block-navigation__responsive-container-open, .wir-kopf .wp-block-navigation__responsive-container-close { transition: background-color var(--wp--custom--uebergang), transform var(--wp--custom--uebergang); }

	/* Erscheinen beim Scrollen: gestaltung.js setzt html.wir-js und .wir-sichtbar; ohne JS ist alles sichtbar */
	html.wir-js .wir-erscheint { opacity: 0; transform: translateY(12px); transition: opacity .4s ease-out, transform .4s ease-out; transition-delay: calc(var(--i, 0) * 70ms); }
	html.wir-js .wir-erscheint.wir-sichtbar { opacity: 1; transform: none; }

	/* Hero: Suche und Chips tauchen nach dem Laden gestaffelt auf */
	@keyframes wir-auftauchen { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
	.wir-hero .wir-vorzeile, .wir-hero h1 { animation: wir-auftauchen .4s ease-out both; }
	.wir-hero h1 { animation-delay: 60ms; }
	.wir-hero .wir-suche { animation: wir-auftauchen .45s ease-out both; animation-delay: 200ms; }
	.wir-hero .wir-chips > * { animation: wir-auftauchen .35s ease-out both; }
	.wir-hero .wir-chips > :nth-child(1) { animation-delay: 300ms; }
	.wir-hero .wir-chips > :nth-child(2) { animation-delay: 340ms; }
	.wir-hero .wir-chips > :nth-child(3) { animation-delay: 380ms; }
	.wir-hero .wir-chips > :nth-child(4) { animation-delay: 420ms; }
	.wir-hero .wir-chips > :nth-child(5) { animation-delay: 460ms; }
	.wir-hero .wir-chips > :nth-child(n+6) { animation-delay: 500ms; }
	.wir-hero__alle { animation: wir-auftauchen .4s ease-out both; animation-delay: 500ms; }

	/* Mobilmenü und Details öffnen weich */
	.wir-kopf .wp-block-navigation__responsive-container.is-menu-open { animation: wir-auftauchen .22s ease-out both; }
	details[open] > :not(summary) { animation: wir-auftauchen .25s ease-out both; }
}

/* ── Startseite: Verein, Mitglied werden, Nutzenliste ────────────────── */
.wir-start__inhalt:empty, .wir-start__inhalt > .wp-block-post-content:empty { display: none; }
.wir-start__inhalt > .wp-block-post-content { padding-block: var(--wp--preset--spacing--m) 0; }
.wir-verein__raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.wir-verein__text p { color: var(--wp--preset--color--auf-dunkel); font-size: var(--wp--preset--font-size--normal); }
.wir-zitat, .wir-verein__text p.wir-zitat { font: 600 var(--wp--preset--font-size--titel-mittel)/1.25 var(--wp--preset--font-family--titel); color: var(--wp--preset--color--hellgruen); letter-spacing: -.01em; margin: 0 0 1.2rem; }
.wir-verein__aktionen { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.wir-verein__foto { margin: 0; border-radius: var(--wp--custom--radius--kachel); overflow: hidden; background: var(--wp--preset--color--flaeche); border: 1px solid rgba(255,255,255,.18); }
.wir-verein__foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 0; }
.wir-verein__foto figcaption { margin: 0; padding: .7rem 1rem .8rem; background: var(--wp--preset--color--flaeche); }
.wir-nutzen { display: grid; gap: 1.1rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.wir-nutzen li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 1rem; align-items: start; margin: 0; }
.wir-nutzen__symbol { width: 46px; height: 46px; border-radius: 12px; background: var(--wp--preset--color--primaer-hell); display: grid; place-items: center; color: var(--wp--preset--color--primaer); }
.wir-nutzen__symbol .wir-symbol { width: 24px; height: 24px; }
.wir-nutzen b { display: block; font-size: var(--wp--preset--font-size--normal); }
.wir-nutzen li > div > span { color: var(--wp--preset--color--text-leise); font-size: var(--wp--preset--font-size--normal); }
.wir-beitritt__links { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; margin: 0; }
.wir-beitritt__spalten .wp-block-column { display: grid; gap: 1rem; align-content: start; }
.wir-beitritt__spalten .wir-downloads--karten, .wir-beitritt__spalten .wir-karte { height: auto; }
/* Ab Desktop: Kästen rechts beginnen auf Höhe der Überschrift, nicht erst unter der Kopfzeile. */
@media (min-width: 782px) {
	.wir-beitritt .wir-huelle { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); column-gap: clamp(2rem, 4vw, 4rem); align-items: start; }
	.wir-beitritt .wir-kopfzeile { grid-column: 1; grid-row: 1; }
	.wir-beitritt .wir-beitritt__spalten { display: contents; }
	.wir-beitritt__spalten > .wp-block-column:first-child { grid-column: 1; grid-row: 2; }
	.wir-beitritt__spalten > .wp-block-column:last-child { grid-column: 2; grid-row: 1 / span 2; }
	.wir-beitritt .wir-huelle > * { margin-block-start: 0; }
}
@media (max-width: 960px) { .wir-verein__raster { grid-template-columns: minmax(0, 1fr); } }

/* ── Contact Form 7: Aufbau der Formulare aus formulare/*.cf7.txt ───── */
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="date"], .wpcf7 input[type="number"] { max-width: 16rem; }
.wir-form-intro { font-size: var(--wp--preset--font-size--gross); margin: 0 0 .6rem; }
/* Baustein „Hinweis unter Formular“ (Styleguide #formulare): klein, Zeilenhöhe 1.5, ausgeglichener Umbruch,
   so breit wie das Formular (kein eigenes max-width). Gleiche Werte in .wir-newsletter__hinweis (blocks/newsletter). */
.wir-form-pflichthinweis, .wir-form-fussnote, .wir-form-datenschutz { font-size: var(--wp--preset--font-size--klein); line-height: 1.5; text-wrap: pretty; color: var(--wp--preset--color--text-leise); }
/* Link läuft im Satz mit (WCAG 2.5.8: Ausnahme für Links im Fließtext); Polster nur für eine größere Klickfläche, ohne die Zeile zu sprengen. */
.wir-form-datenschutz a { padding-block: .5em; }
.wir-form-feld { margin: 0 0 1.1rem; }
.wir-form-feld--kurz { max-width: 12rem; }
.wir-form-zeile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2rem; }
.wir-form-gruppe { border: 1px solid var(--wp--preset--color--linie); border-radius: var(--wp--custom--radius--kachel); padding: var(--wp--custom--box--innen) var(--wp--custom--box--innen) .3rem; margin: 0 0 1.5rem; min-width: 0; background: var(--wp--preset--color--flaeche); }
.wir-form-gruppe > legend { font: 600 var(--wp--preset--font-size--titel-3)/1.25 var(--wp--preset--font-family--titel); color: var(--wp--preset--color--wald); padding: 0 .4rem; margin-left: -.4rem; }
.wir-form-untergruppe { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.wir-form-untergruppe > legend { font-weight: 600; font-size: var(--wp--preset--font-size--normal); padding: 0; margin-bottom: .4rem; }
.wir-form-gruppe--spamschutz { background: var(--wp--preset--color--hinweis); border-color: transparent; } /* kein blauer Rand an runder Box (crbd-design: Rand oder Rundung) */
/* Kästchen (Ermäßigungen, Einverständnis, Unterschrift-Ersatz): ganze Zeile anklickbar, 44 px */
.wir-form-feld--kasten { border: 1px solid var(--wp--preset--color--linie); border-radius: var(--wp--custom--radius--kachel); padding: .5rem .9rem; background: var(--wp--preset--color--grund); }
.wir-form-feld--kasten .wpcf7-list-item { margin: 0; }
.wir-form-feld--kasten .wpcf7-list-item label, .wpcf7 .wpcf7-acceptance .wpcf7-list-item label { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .7rem; align-items: start; min-height: var(--wp--custom--ziel); padding-block: .4rem; margin: 0; font-weight: 400; cursor: pointer; }
.wpcf7 .wpcf7-list-item input[type="checkbox"], .wpcf7 .wpcf7-list-item input[type="radio"], .wir-form-feld--kasten .wpcf7-list-item input[type="checkbox"] { margin: .15rem 0 0; }
.wpcf7 .wpcf7-radio .wpcf7-list-item, .wpcf7 .wpcf7-checkbox .wpcf7-list-item { display: block; margin: 0 0 .2rem; }
.wpcf7 .wpcf7-radio .wpcf7-list-item label, .wpcf7 .wpcf7-checkbox .wpcf7-list-item label { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .7rem; align-items: center; min-height: var(--wp--custom--ziel); margin: 0; font-weight: 400; cursor: pointer; }
/* Spam-Frage: Frage als Beschriftung, Antwortfeld kurz */
.wpcf7 .wpcf7-quiz-label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: var(--wp--preset--font-size--normal); }
.wpcf7 input.wpcf7-quiz { max-width: 14rem; }
.wir-form-absenden { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
@media (max-width: 640px) { .wir-form-zeile { grid-template-columns: minmax(0, 1fr); } .wir-form-gruppe { padding: var(--wp--custom--box--innen) var(--wp--custom--box--innen) .2rem; } }

/* ── Blöcke wir/*: Optik Entwurf eins (Struktur liegt in blocks/<name>/style.css) ── */
/* Veranstaltungen als Termin-Karten (Datum: .wir-kalenderblatt, siehe unten) */
.wir-veranstaltungen--kacheln .wir-veranstaltungen__eintrag { background: var(--wp--preset--color--flaeche); border: 1px solid var(--wp--preset--color--linie); border-radius: var(--wp--custom--radius--kachel); padding: var(--wp--custom--box--innen); gap: .6rem; }
/* Kalenderblatt steht in jeder Terminkachel an derselben Stelle, mit oder ohne Bild (Chris, 04.10.2026: „soll immer an der gleichen Stelle in der Kachel stehen … darf ja ruhig über dem Bild drüber liegen“). Das Bild liegt randlos oben in derselben Rasterzeile, das Kalenderblatt darauf – spart Höhe, die Nachbarkacheln strecken sich nicht. */
.wir-veranstaltungen--kacheln .wir-veranstaltungen__bild { grid-row: 1; grid-column: 1 / -1; margin: calc(-1 * var(--wp--custom--box--innen)) calc(-1 * var(--wp--custom--box--innen)) 0; }
.wir-veranstaltungen--kacheln .wir-veranstaltungen__bild + * { grid-row: 1; grid-column: 1; justify-self: start; align-self: start; position: relative; z-index: 1; }
/* Rundung der Terminbilder: am Bildkasten, nicht am img (blocks/veranstaltungen/style.css) – sonst zwei Glättungen, heller Saum. */
.wir-veranstaltungen__titel { font-size: var(--wp--preset--font-size--titel-3); }
.wir-veranstaltungen__titel a { color: var(--wp--preset--color--text); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--wp--custom--ziel); }
.wir-veranstaltungen__titel a:hover { color: var(--wp--preset--color--primaer); }
.wir-veranstaltungen__wann, .wir-veranstaltungen__ort, .wir-veranstaltungen__auszug { font-size: var(--wp--preset--font-size--meta); }
.wir-veranstaltungen__mehr, .wir-stellen__mehr, .wir-mitglieder__mehr { margin: 1rem 0 0; }
.wir-veranstaltungen__mehr a, .wir-stellen__mehr a, .wir-mitglieder__mehr a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; text-decoration: none; }
.wir-veranstaltungen__mehr a:hover, .wir-stellen__mehr a:hover, .wir-mitglieder__mehr a:hover { text-decoration: underline var(--wp--preset--color--gold) 2px; }
.wir-veranstaltungen--liste .wir-veranstaltungen__eintrag { padding: .9rem 0; border-top: 1px solid var(--wp--preset--color--linie); }
/* Helfer-Aufruf: im dunklen Abschnitt helle Karte mit goldenem Knopf */
.wir-helfer-aufruf__eintrag { background: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--text); border-radius: var(--wp--custom--radius--kachel); border: 2px solid var(--wp--preset--color--akzent); padding: var(--wp--custom--box--innen); box-shadow: var(--wp--custom--schatten--kachel); }
.wir-abschnitt--dunkel .wir-helfer-aufruf__eintrag h3, .wir-abschnitt--dunkel .wir-helfer-aufruf__eintrag a:not(.wp-element-button) { color: var(--wp--preset--color--wald); }
.wir-helfer-aufruf__titel { font-size: var(--wp--preset--font-size--titel-3); }
.wir-helfer-aufruf__wann, .wir-helfer-aufruf__ort { color: var(--wp--preset--color--text-leise); font-size: var(--wp--preset--font-size--normal); }
.wir-helfer-aufruf__plaetze { color: var(--wp--preset--color--akzent-tief); font-size: var(--wp--preset--font-size--normal); }
.wir-helfer-aufruf__knopf .wp-element-button { background: var(--wp--preset--color--akzent); border-color: var(--wp--preset--color--akzent); color: #fff; } /* Wald auf Blau 2,1:1, Weiß 7,1:1 */
.wir-helfer-aufruf__knopf .wp-element-button:hover { background: var(--wp--preset--color--akzent-hell); border-color: var(--wp--preset--color--akzent-hell); color: #fff; }
.wir-abschnitt--dunkel .wir-helfer-aufruf :focus-visible { outline-color: var(--wir-fokus-ring); }
/* Stellen: Karten, Art als Etikett */
.wir-stellen__eintrag { background: var(--wp--preset--color--flaeche); border: 1px solid var(--wp--preset--color--linie); border-radius: var(--wp--custom--radius--kachel); padding: var(--wp--custom--box--innen); }
.wir-stellen__art { font-size: var(--wp--preset--font-size--klein); border-radius: 6px; padding: .3rem .6rem; align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; }
.wir-stellen__art .wir-symbol, .wir-stellen__beginn .wir-symbol { width: 20px; height: 20px; flex: none; }
.wir-stellen__beginn { display: flex; align-items: center; gap: .4rem; }
/* Darüberfahren: Rahmen statt Anheben (Slop-Katalog „Karte hebt sich“). */
.wir-stellen__eintrag:hover { border-color: var(--wp--preset--color--linie-stark); }
.wir-stellen__titel { font-size: var(--wp--preset--font-size--titel-3); }
.wir-stellen__titel a { color: var(--wp--preset--color--text); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--wp--custom--ziel); }
.wir-stellen__titel a:hover { color: var(--wp--preset--color--primaer); }
.wir-stellen__betrieb, .wir-stellen__beginn, .wir-stellen__auszug { font-size: var(--wp--preset--font-size--meta); }
/* Mitglieder (Rückfall-Karte des Blocks, wenn wir_mitglied_kachel fehlt) */
.wir-mitglieder__karte { background: var(--wp--preset--color--flaeche); border: 1px solid var(--wp--preset--color--linie); border-radius: var(--wp--custom--radius--kachel); padding: var(--wp--custom--box--innen); min-height: var(--wp--custom--ziel); }
.wir-mitglieder__karte:hover { border-color: var(--wp--preset--color--primaer); }
.wir-mitglieder__ort { font-size: var(--wp--preset--font-size--klein); }
/* Platzhalter-Gruppen: nur im Editor sichtbar erklärt, auf der Seite ersetzt */
.editor-styles-wrapper .wir-platz { border: 2px dashed var(--wp--preset--color--linie-stark); border-radius: var(--wp--custom--radius--klein); padding: .8rem 1rem; background: var(--wp--preset--color--hinweis); }
.editor-styles-wrapper .wir-platz > p { margin: 0; color: var(--wp--preset--color--text-leise); font-size: var(--wp--preset--font-size--klein); }
@media (prefers-reduced-motion: no-preference) {
	.wir-veranstaltungen__eintrag, .wir-helfer-aufruf__eintrag, .wir-stellen__eintrag, .wir-mitglieder__karte { transition: transform var(--wp--custom--uebergang), box-shadow var(--wp--custom--uebergang), border-color var(--wp--custom--uebergang); }
	.wir-veranstaltungen--kacheln .wir-veranstaltungen__eintrag:hover, .wir-mitglieder__karte:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(10,45,26,.45); }
}

/* ── Terminliste nach Monaten (Seite „Aktuelles & Termine“) ─────────────── */
.wir-veranstaltungen__monatskopf { display: flex; align-items: center; gap: 1rem; font: 700 var(--wp--preset--font-size--titel-3)/1.2 var(--wp--preset--font-family--titel); color: var(--wp--preset--color--wald); letter-spacing: -.01em; }
.wir-veranstaltungen__monatskopf::after { content: ""; flex: 1; height: 1px; background: var(--wp--preset--color--linie); }
.wir-veranstaltungen--monate .wir-veranstaltungen__liste { gap: var(--wp--custom--box--abstand); }
.wir-veranstaltungen--monate .wir-veranstaltungen__eintrag { position: relative; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1.2rem; padding: var(--wp--custom--box--innen); border: 1px solid var(--wp--preset--color--linie); border-radius: var(--wp--custom--radius--kachel); background: var(--wp--preset--color--flaeche); }
.wir-veranstaltungen--monate .wir-veranstaltungen__titel { font-size: var(--wp--preset--font-size--gross); line-height: 1.25; hyphens: auto; -webkit-hyphens: auto; }
/* Ganze Karte klickbar über den Titel-Link; der Titel bleibt unterstrichen wie jeder Link */
.wir-veranstaltungen--monate .wir-veranstaltungen__titel a { min-height: 0; padding-block: .2rem; text-decoration: none; }
.wir-veranstaltungen--monate .wir-veranstaltungen__titel a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.wir-veranstaltungen--monate .wir-veranstaltungen__eintrag:hover { border-color: var(--wp--preset--color--primaer); }
.wir-veranstaltungen--monate .wir-veranstaltungen__eintrag:has(.wir-veranstaltungen__titel a:focus-visible) { outline: 3px solid var(--wir-fokus-ring); outline-offset: 2px; box-shadow: 0 0 0 3px var(--wir-fokus-band); }
.wir-veranstaltungen--monate .wir-veranstaltungen__titel a:focus-visible { outline: none; box-shadow: none; }
.wir-veranstaltungen--monate .wir-veranstaltungen__wann, .wir-veranstaltungen--monate .wir-veranstaltungen__ort { font-size: var(--wp--preset--font-size--normal); }
.wir-veranstaltungen__wann { color: var(--wp--preset--color--text); font-weight: 600; }
.wir-veranstaltungen__veranstalter { font-size: var(--wp--preset--font-size--meta); color: var(--wp--preset--color--text-leise); }
/* Eigene Veranstaltungen des Vereins: blauer Rahmen, blauer Datumsstempel, Etikett vor dem Titel */
.wir-veranstaltungen__eintrag--wir, .wir-veranstaltungen--monate .wir-veranstaltungen__eintrag--wir { border: 2px solid var(--wp--preset--color--akzent); }
/* Reiter auf der Kachel/Karte: Platz oben, Bild rückt bis an die Kante */
:is(.wir-veranstaltungen--kacheln, .wir-veranstaltungen--monate) .wir-veranstaltungen__eintrag--wir { position: relative; padding-top: var(--wp--custom--box--innen-mit-reiter); }
.wir-veranstaltungen--kacheln .wir-veranstaltungen__eintrag--wir > .wir-veranstaltungen__bild { margin-top: calc(-1 * var(--wp--custom--box--innen-mit-reiter)); }
/* Kalenderblatt auf dem Bild auf dieselbe Höhe wie bei den Nachbarn ohne Reiter (Reiterpolster und 1 px dickeren Rahmen herausrechnen). Auf allen Breiten: der Reiter ist in Kacheln seit 04.10.2026 immer einzeilig (Kurzform). */
.wir-veranstaltungen--kacheln .wir-veranstaltungen__eintrag--wir > .wir-veranstaltungen__bild + * { margin: calc(var(--wp--custom--box--innen) - var(--wp--custom--box--innen-mit-reiter) - 1px) 0 0 -1px; }
.wir-veranstaltungen--kacheln .wir-veranstaltungen__liste:has(.wir-veranstaltungen__eintrag--wir) { padding-top: 1rem; }
/* Handlungsknöpfe der Terminkachel: echte Knöpfe (Chris, 03.10.2026), über dem gestreckten Titellink */
.wir-veranstaltungen__text > .wir-veranstaltungen__anmeldung { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .5rem; margin: .7rem 0 0; }
.wir-veranstaltungen__anmeldung .wir-knopf { flex: 1 1 auto; }
.wir-veranstaltungen__anmeldung .wir-knopf .wir-symbol { width: 18px; height: 18px; }
/* Gleich hohe Terminkacheln (Raster, Scroller): Knöpfe stehen immer unten auf einer Linie statt mitten in der Kachel. */
.wir-veranstaltungen--kacheln .wir-veranstaltungen__eintrag { grid-template-rows: auto 1fr; }
.wir-veranstaltungen--kacheln .wir-veranstaltungen__eintrag > .wir-veranstaltungen__text { display: flex; flex-direction: column; }
.wir-veranstaltungen--kacheln .wir-veranstaltungen__eintrag .wir-veranstaltungen__anmeldung { margin-top: auto; padding-top: .7rem; }
/* Zu viel Text sprengt die Reihe nicht (Chris, 04.10.2026: „das darf halt nicht alles andere aufspringen … Ellipsis“): Titel und Zeit höchstens zwei Zeilen, Ort eine – danach „…“. Der volle Text bleibt im Markup (Screenreader, Suchmaschinen). Die breite Kachel hat Platz und kürzt nicht. */
.wir-veranstaltungen--kacheln .wir-veranstaltungen__eintrag:not(.wir-veranstaltungen__eintrag--naechste) :is(.wir-veranstaltungen__titel a, .wir-veranstaltungen__wann) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.wir-veranstaltungen--kacheln .wir-veranstaltungen__text { min-width: 0; } /* sonst drückt die einzeilige Ortszeile die Spalte über die Kachel hinaus */
.wir-veranstaltungen--kacheln .wir-veranstaltungen__eintrag:not(.wir-veranstaltungen__eintrag--naechste) .wir-veranstaltungen__ort { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* Breite Kachel der nächsten WIR-Veranstaltung: ihr Bild wächst mit und füllt die Höhe der Reihe, der Text steht unten, die Knöpfe auf der Linie der Nachbarn (Chris: „bei der großen Kachel darf das Bild dann gerne ein bisschen höher sein“). 3-px-Rahmen unten herausgerechnet. */
.wir-veranstaltungen--kacheln .wir-veranstaltungen__eintrag--naechste { grid-template-rows: 1fr auto; padding-bottom: calc(var(--wp--custom--box--innen) - 2px); }
.wir-veranstaltungen--kacheln .wir-veranstaltungen__eintrag--naechste > .wir-veranstaltungen__bild { align-self: stretch; height: auto; min-height: calc(7rem + 2 * var(--wp--custom--box--innen)); }
.wir-veranstaltungen--kacheln .wir-veranstaltungen__eintrag--naechste > .wir-veranstaltungen__bild img { position: absolute; inset: 0; }
/* Terminliste: Vorschaubild rechts in der Karte, nur wenn der Termin eins hat (Chris, 04.10.2026). Format 3:2, mittig gefüllt wie das Bildband der Kacheln; am Handy unter dem Titel über die volle Breite. */
.wir-veranstaltungen--liste .wir-veranstaltungen__eintrag:has(> .wir-veranstaltungen__bild--liste) { grid-template-columns: auto minmax(0, 1fr) clamp(9rem, 24%, 15rem); }
.wir-veranstaltungen__bild--liste { grid-column: 3; grid-row: 1; align-self: start; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--wp--custom--radius--klein); }
.wir-veranstaltungen__bild--liste img { height: 100%; object-fit: cover; object-position: 50% 50%; }
/* Handy: Stempel neben dem Titel, Angaben darunter über die volle Kartenbreite */
@media (max-width: 599px) {
	.wir-veranstaltungen--monate .wir-veranstaltungen__eintrag { gap: .35rem .9rem; align-items: center; } /* Polster aus der Grundregel, oben mit Reiter bleibt innen-mit-reiter */
	.wir-veranstaltungen--monate .wir-veranstaltungen__text { display: contents; }
	.wir-veranstaltungen--monate .wir-veranstaltungen__text > :where(:not(.wir-reiter)) { grid-column: 1 / -1; } /* der Reiter steht absolut an der Karte, nicht in einer Rasterzelle; :where hält die Spezifität niedrig, sonst schlägt die Regel die Titelspalte darunter */
	.wir-veranstaltungen--monate .wir-veranstaltungen__titel { grid-column: 2; grid-row: 1; margin: 0; }
	.wir-veranstaltungen--liste .wir-veranstaltungen__eintrag:has(> .wir-veranstaltungen__bild--liste) { grid-template-columns: auto minmax(0, 1fr); }
	.wir-veranstaltungen__bild--liste { grid-column: 1 / -1; grid-row: 2; aspect-ratio: 16 / 9; margin-top: var(--wp--preset--spacing--xs); }
}

/* ── Seite mit Seitenleiste: Inhalt links, Karten rechts (ab 960 px) ─────── */
/* Nicht klebend: die Leiste ist höher als ein Laptop-Bildschirm (designer, 03.10.2026) */
.wir-seitenleiste.wp-block-columns { gap: var(--wp--custom--box--abstand); margin-top: var(--wp--preset--spacing--m); }
.wir-seitenleiste__haupt > * + * { margin-top: var(--wp--preset--spacing--m); }
.wir-seitenleiste__haupt > h2 { margin-top: var(--wp--preset--spacing--l); font-size: var(--wp--preset--font-size--titel-mittel); }
/* News-Gruppe auf /aktuelles/ (seit 20.11.2026 über den Terminen): Überschrift wie ein Spaltentitel, Luft bis zur Terminkarte mit Reiter */
.wir-seitenleiste__haupt .wir-nur-mit-inhalt > h2:first-child { font-size: var(--wp--preset--font-size--titel-mittel); }
.wir-seitenleiste__haupt > .wir-nur-mit-inhalt + * { margin-top: var(--wp--preset--spacing--l); }
.wir-seitenleiste__neben { display: grid; gap: var(--wp--custom--box--abstand); align-content: start; hyphens: auto; -webkit-hyphens: auto; }
.wir-seitenleiste__neben .wir-karte { height: auto; }
/* Raster-Lücke allein bestimmt den Abstand; WordPress setzt sonst noch 1,25rem margin-top obendrauf (44 statt 24 px). */
.wir-seitenleiste__neben > * { margin-block: 0; }
.wir-seitenleiste__neben .wp-block-buttons { margin: 0; }
@media (max-width: 959px) {
	.wir-seitenleiste.wp-block-columns { flex-wrap: wrap !important; }
	.wir-seitenleiste.wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
	/* PDF-Karte schmal: kleines Blatt links neben dem Titel, der Rest volle Breite darunter –
	   wie die Terminkarte (Datum + Titel in einer Zeile). Daneben wäre die Textspalte auf dem Handy zu eng. */
	.wir-karte--pdf { display: grid; grid-template-columns: clamp(6rem, 22vw, 9rem) minmax(0, 1fr); gap: .7rem 1.2rem; align-items: start; }
	.wir-karte--pdf > * { grid-column: 1 / -1; }
	.wir-karte--pdf > :is(.wir-karte__kicker, .wir-karte__titel) { grid-column: 2; align-self: center; }
	.wir-karte--pdf > .wir-karte__vorschau { grid-column: 1; grid-row: 1 / span 2; }
}
/* Knopf auf dunkler Karte: Hellgrün mit Waldschrift statt Grün auf Wald */
.wir-karte--dunkel .wp-block-button a.wp-block-button__link { background: var(--wp--preset--color--hellgruen); border-color: var(--wp--preset--color--hellgruen); color: var(--wp--preset--color--wald); }
.wir-karte--dunkel .wp-block-button a.wp-block-button__link:hover { background: var(--wp--preset--color--flaeche); border-color: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--wald); }
/* PDF-Karte: ganze Karte klickbar über den Knopf (ein Tab-Stopp).
   Das Blatt liegt wie ein Heft auf Goldpunkten, ein zweites Blatt schaut
   darunter hervor – dieselbe Sprache wie die Plakate im Newsletter (Chris, 03.10.2026). */
.wir-karte--pdf { position: relative; --wir-ort-bild: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 317.8 2770.3 384.7'%3E%3Cpath fill='none' stroke='%23C9A84C' stroke-width='2.5' vector-effect='non-scaling-stroke' stroke-linejoin='round' stroke-linecap='round' d='M0 617.5 L481.0 617.5 L566.1 641.8 L566.1 469.6 L594.5 453.4 L639.1 327.8 L683.6 453.4 L712.0 471.6 L712.0 645.9 L821.4 645.9 L821.4 564.8 L973.3 564.8 L973.3 538.5 L1001.7 538.5 L1001.7 564.8 L1076.6 564.8 L1076.6 656.0 L1271.1 560.8 L1327.8 625.6 L1327.8 469.6 L1392.7 354.1 L1457.5 469.6 L1457.5 656.0 L1520.3 656.0 L1575.0 605.3 L1787.7 605.3 L1858.6 546.6 C1980.2 631.7 2182.8 692.5 2425.9 672.2 C2506.9 662.1 2551.5 645.9 2563.6 601.3 C2571.7 560.8 2527.2 556.7 2519.1 591.2 C2510.9 631.7 2567.7 656.0 2648.7 654.0 L2770.3 649.9'/%3E%3C/svg%3E"); }
.wir-karte--pdf .wp-block-button__link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.wir-karte__vorschau { margin: 0; }
/* Das Heft liegt über dem Ort: die Ortssilhouette (Linie aus dem Fußlogo) als Horizont unter den Blättern,
   die Goldpunkte darüber als Himmel (Chris, 03.10.2026: „kreativ mit dieser Skyline arbeiten“).
   Gold #C9A84C fest im SVG, weil ein Hintergrundbild keine Token kennt; 13,9 % = Seitenverhältnis der Silhouette. */
.wir-karte--pdf .wir-karte__vorschau {
	--wir-heft: 58%;
	--wir-ort: 13.9%;
	position: relative;
	z-index: 0;
	container-type: inline-size; /* cqw für die Punktfläche */
	padding: 1rem 0 calc(var(--wir-ort) + .9rem);
	background: var(--wir-ort-bild) left bottom / 100% auto no-repeat;
}
.wir-karte--pdf .wir-karte__vorschau::before {
	content: "";
	position: absolute;
	inset: 0 0 calc(13.9cqw + .2rem); /* Punkte nur am Himmel, nicht über den Dächern */
	z-index: -1;
	/* slop-ok: radial-hof Punktraster aus harten Punkten wie im Newsletter-Banner, kein Verlauf ins Leere */
	/* space: nur ganze Kacheln, Rest als Abstand verteilt – sonst schneidet die Kante halbe Punkte ab */
	background: radial-gradient(circle, var(--wp--preset--color--gold) 2.2px, transparent 2.8px) 0 0 / 24px 24px space;
	opacity: .55;
	-webkit-mask-image: linear-gradient(100deg, transparent 5%, #000 60%);
	        mask-image: linear-gradient(100deg, transparent 5%, #000 60%);
}
/* das zweite Blatt darunter */
.wir-karte--pdf .wir-karte__vorschau::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: 1rem;
	left: calc((100% - var(--wir-heft)) / 2);
	width: var(--wir-heft);
	aspect-ratio: 900 / 1272;
	border-radius: 3px;
	background: var(--wp--preset--color--grund);
	box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .55);
	transform: rotate(6deg) translateX(8%);
}
.wir-karte__vorschau img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 1272; object-fit: cover; border-radius: 6px; }
.wir-karte--pdf .wir-karte__vorschau img {
	width: var(--wir-heft);
	box-sizing: border-box; /* Rahmen gehört zur Heftbreite, sonst ist das zweite Blatt schmaler */
	margin-inline: auto;
	border: 6px solid var(--wp--preset--color--flaeche);
	border-radius: 3px;
	background: var(--wp--preset--color--flaeche);
	box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .6);
	transform: rotate(-4deg);
}
@media (prefers-reduced-motion: no-preference) {
	.wir-karte--pdf .wir-karte__vorschau img { transition: transform var(--wp--custom--uebergang), box-shadow var(--wp--custom--uebergang); }
	/* slop-ok: bild-zoom-hover Winkel bleibt -4deg wie im Ruhezustand, das Heft hebt sich nur 4 px an */
	.wir-karte--pdf:hover .wir-karte__vorschau img { transform: translateY(-4px) rotate(-4deg); box-shadow: 0 26px 40px -16px rgba(0, 0, 0, .65); }
}
@media (max-width: 959px) {
	.wir-karte--pdf .wir-karte__vorschau { --wir-heft: 78%; padding: .4rem 0 .8rem; background: none; }
	.wir-karte--pdf .wir-karte__vorschau::before { inset: 0; }
	/* Blatt hier nur gut 6 rem breit: der Ort läuft als Horizont unten über die ganze Karte */
	.wir-karte--pdf { padding-bottom: calc(13.9% + 2rem); background: var(--wir-ort-bild) center bottom 1.2rem / calc(100% - 2.6rem) auto no-repeat, var(--wp--custom--verlauf--wald) var(--wp--preset--color--wald); }
	.wir-karte--pdf .wir-karte__vorschau img { border-width: 4px; }
	.wir-karte--pdf .wir-karte__vorschau::after { top: .4rem; }
}
/* PDF-Karte breit (wir/downloads „Karten“ in halber Spalte, Teaser „Mitglied werden“): dieselbe Queranordnung
   wie auf dem Handy – Heft links auf den Goldpunkten, Text rechts. Ohne Ortslinie: bei mehreren Karten
   stünde sie sonst mehrfach auf der Seite (Silhouette höchstens Karte + Fuß, Chris 03.10.2026). Hochkant stünde
   das Heft hier riesig. Schwelle über die Kartenbreite, nicht den Bildschirm: in der Seitenleiste bleibt sie hochkant. */
.wir-downloads--karten { container-type: inline-size; }
/* Goldpunkte über die ganze Karte, nicht nur hinter dem Heft (Chris, 04.10.2026: „sieht strange aus“).
   Bis an den Rand wie im Newsletter-Banner, dort gespiegelt: kräftig hinter dem Heft, zum Text hin ausgeblendet. */
:is(.wir-downloads--karten .wir-karte--pdf, .wir-beitritt-teaser.wir-karte--pdf) { padding-bottom: var(--wp--custom--box--innen); isolation: isolate; overflow: hidden; background: var(--wp--custom--verlauf--wald) var(--wp--preset--color--wald); }
:is(.wir-downloads--karten .wir-karte--pdf, .wir-beitritt-teaser.wir-karte--pdf)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	/* slop-ok: radial-hof Punktraster aus harten Punkten wie im Newsletter-Banner, kein Verlauf ins Leere */
	background: radial-gradient(circle, var(--wp--preset--color--gold) 2.2px, transparent 2.8px) 12px 12px / 24px 24px;
	opacity: .55;
	-webkit-mask-image: linear-gradient(80deg, #000 15%, transparent 62%);
	        mask-image: linear-gradient(80deg, #000 15%, transparent 62%);
}
:is(.wir-downloads--karten, .wir-beitritt-teaser) .wir-karte__vorschau.wir-karte__vorschau { background: none; }
:is(.wir-downloads--karten, .wir-beitritt-teaser) .wir-karte__vorschau.wir-karte__vorschau::before { display: none; }
@container (min-width: 30rem) {
	.wir-karte--pdf { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: .8rem var(--wp--preset--spacing--l); align-items: start; }
	.wir-karte--pdf > *, .wir-karte--pdf > :is(.wir-karte__kicker, .wir-karte__titel) { grid-column: 2; align-self: auto; }
	.wir-karte--pdf > .wir-karte__vorschau { grid-column: 1; grid-row: 1 / span 5; --wir-heft: 82%; padding: .4rem 0 .8rem; }
	.wir-karte--pdf .wir-karte__vorschau::after { top: .4rem; }
}
@media (min-width: 48em) {
	.wir-beitritt-teaser.wir-karte--pdf { grid-template-columns: 10.5rem minmax(0, 1fr) auto; }
	.wir-beitritt-teaser.wir-karte--pdf > :not(.wir-beitritt-teaser__knopf) { grid-column: 2; }
	.wir-beitritt-teaser.wir-karte--pdf > .wir-karte__vorschau { grid-column: 1; grid-row: 1 / span 2; --wir-heft: 82%; padding: .4rem 0 .8rem; }
	.wir-beitritt-teaser.wir-karte--pdf > .wir-beitritt-teaser__knopf { grid-column: 3; }
	/* Titel und Text bleiben als Paar zusammen, mittig neben dem Heft */
	.wir-beitritt-teaser.wir-karte--pdf > .wir-karte__titel { align-self: end; }
	.wir-beitritt-teaser.wir-karte--pdf > .wir-karte__text { align-self: start; }
	.wir-beitritt-teaser.wir-karte--pdf .wir-karte__vorschau::after { top: .4rem; }
}

/* ── Kalenderblatt: das eine Datum jedes Termins (Chris, 04.10.2026: „Die Darstellung muss immer
   gleich sein“ — Vorbild das Blatt im Kalender-Abo). Monat oben auf Wald, groß der Tag, darunter der
   Wochentag. Gleich groß in Kachel, Monatsliste, Karte oben, Einzelseite. Markup: wir_theme_kalenderblatt().
   EIN Format, quadratisch, auch für mehrtägige Termine (Chris, 04.10.2026: „Ich möchte da keine zwei Formate haben“):
   feste Breite, gleiche Zifferngröße – „16“ und „12–13“ stehen im selben Blatt. */
.wir-kalenderblatt { box-sizing: border-box; display: grid; justify-items: center; align-content: start; grid-template-rows: auto 1fr auto; justify-self: start; align-self: start; width: 7rem; aspect-ratio: 1; padding-bottom: .55rem; overflow: hidden; border: 1px solid var(--wp--preset--color--linie); border-radius: var(--wp--custom--radius--klein); background: var(--wp--preset--color--flaeche); box-shadow: 0 10px 22px -16px rgba(10, 45, 26, .5); text-align: center; font-variant-numeric: lining-nums; }
.wir-kalenderblatt__monat { justify-self: stretch; padding: .3rem .25rem; background: var(--wp--preset--color--wald); color: var(--wp--preset--color--flaeche); font: 600 var(--wp--preset--font-size--klein)/1.2 var(--wp--preset--font-family--text); }
.wir-kalenderblatt__tag { align-self: center; padding-inline: .4rem; font: 600 var(--wp--preset--font-size--titel-mittel)/1 var(--wp--preset--font-family--titel); letter-spacing: -.02em; color: var(--wp--preset--color--wald); white-space: nowrap; }
.wir-kalenderblatt__wochentag { padding-inline: .3rem; font-size: var(--wp--preset--font-size--klein); line-height: 1.3; color: var(--wp--preset--color--text-leise); }
/* Termine der WIR NeunkirchenSeelscheider: Monatsleiste im Logo-Blau; vorbei: leise. */
:is(.wir-veranstaltungen__eintrag--wir, .wir-veranstaltungen__eintrag--naechste, .wir-veranstaltungen__naechste, .wir-termin--wir) .wir-kalenderblatt__monat { background: var(--wp--preset--color--akzent); }
:is(.wir-veranstaltungen__eintrag--wir, .wir-veranstaltungen__eintrag--naechste, .wir-veranstaltungen__naechste, .wir-termin--wir) .wir-kalenderblatt__tag { color: var(--wp--preset--color--akzent-tief); }
.wir-termin--vorbei .wir-kalenderblatt__monat { background: var(--wp--preset--color--text-leise); }
.wir-termin--vorbei .wir-kalenderblatt__tag { color: var(--wp--preset--color--text-leise); }
/* Handy: Blatt neben dem Titel, Angaben darunter über die ganze Breite */
@media (max-width: 599px) {
	.wir-veranstaltungen--monate .wir-veranstaltungen__datum, .wir-veranstaltungen__naechste .wir-veranstaltungen__datum { grid-column: 1; grid-row: 1; }
}

/* ── Termin-Einzelseite (Vorlage single-veranstaltung, Block wir/termin) ── */
.seite--termin > .wp-block-post-title { margin-bottom: var(--wp--preset--spacing--m); }
.wir-termin { padding: var(--wp--custom--box--innen); border: 1px solid var(--wp--preset--color--linie); border-radius: var(--wp--custom--radius--kachel); background: var(--wp--preset--color--flaeche); }
.wir-termin--wir { position: relative; margin-top: 2.25rem; padding-top: var(--wp--custom--box--innen-mit-reiter); border: 2px solid var(--wp--preset--color--akzent); }
.wir-termin__zeile + .wir-termin__zeile { border-top: 1px solid var(--wp--preset--color--linie); }
.wir-termin__zeile dt .wir-symbol { color: var(--wp--preset--color--primaer); }
.wir-termin--wir .wir-termin__zeile dt .wir-symbol { color: var(--wp--preset--color--akzent); }
.wir-termin__zeile dt span { font-size: var(--wp--preset--font-size--meta); font-weight: 600; line-height: 1.3; color: var(--wp--preset--color--text-leise); }
.wir-termin__zeile dd { max-width: 44ch; font-size: var(--wp--preset--font-size--normal); line-height: 1.45; color: var(--wp--preset--color--text); text-wrap: pretty; }
.wir-termin__zeile:first-child dd { font-weight: 600; }
/* WIR-Termin: Etikett als Reiter auf der Oberkante wie in der Terminliste (Chris, 04.10.2026). */
/* Handy: Der volle Satz braucht 351 px und bräche als Pille auf zwei Zeilen um. Sichtbar bleibt
   „WIR NeunkirchenSeelscheider“, Screenreader hören weiter den ganzen Satz. */
@media (max-width: 599px) {
	.wir-termin__marke-lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* Viertel-Kacheln sind auch auf dem Desktop zu schmal für den ganzen Satz (301 px, zweizeilig): dort immer kurz, nur die doppelt breite nächste Veranstaltung zeigt ihn (Befund Einheitlichkeit). */
.wir-veranstaltungen--kacheln .wir-veranstaltungen__eintrag:not(.wir-veranstaltungen__eintrag--naechste) .wir-termin__marke-lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wir-termin > .wir-termin__vorbei { padding: var(--wp--custom--box--leiste); border-radius: var(--wp--custom--radius--kachel); background: var(--wp--preset--color--hinweis); font-weight: 600; }
.wir-termin__aktion .wp-element-button { display: inline-flex; align-items: center; min-height: var(--wp--custom--knopfhoehe); }
.wir-termin__zurueck a { display: inline-block; padding-block: .55rem; font-weight: 600; text-underline-offset: .2em; }
.wir-termin__zurueck a::before { content: ""; display: inline-block; width: 1.1em; height: 1.1em; margin-right: .35em; vertical-align: -.2em; background: currentColor; transform: scaleX(-1); -webkit-mask: var(--wir-symbol-pfeil) center / contain no-repeat; mask: var(--wir-symbol-pfeil) center / contain no-repeat; }
/* Bild der Veranstaltung randlos oben in der Terminkarte wie in der Terminkachel (Chris, 04.10.2026: „mehr in den oberen Bereich integrieren“). Eigenes Format, nie beschnitten (Banner mit Schrift); hohe Bilder höchstens 34rem, dann mittig. Rundung einmal am Bildkasten per clip-path, Werte wie die Kacheln (blocks/veranstaltungen/style.css). */
.wir-termin__bild { margin: calc(-1 * var(--wp--custom--box--innen)) calc(-1 * var(--wp--custom--box--innen)) var(--wp--preset--spacing--xs); clip-path: inset(0 round var(--wp--custom--radius--kachel) var(--wp--custom--radius--kachel) 0 0); }
.wir-termin--wir > .wir-termin__bild { margin-top: calc(-1 * var(--wp--custom--box--innen-mit-reiter)); clip-path: inset(0 round calc(var(--wp--custom--radius--kachel) - 3px) calc(var(--wp--custom--radius--kachel) - 3px) 0 0); }
.wir-termin__bild img { display: block; width: 100%; height: auto; max-height: 34rem; object-fit: contain; }
.wir-termin--wir.wir-termin--bild { background: linear-gradient(var(--wp--preset--color--akzent), var(--wp--preset--color--akzent)) top / 100% 2rem no-repeat, var(--wp--preset--color--flaeche); }
/* Weitere Termine: eigenes Band über die volle Breite (wir_platz_weitere_termine), schließt bündig an den Fuß an. */
.seite--termin > .wir-weitere-termine { margin-top: var(--wp--preset--spacing--xl); margin-bottom: 0; }
.seite--termin:has(> .wir-weitere-termine:last-child) { padding-bottom: 0; }
/* Einzelseite: gemeinsame linke Kante wie alle Seiten, Karte und Liste in Lesebreite (Absprache haupt) */
.seite--termin > .wir-termin { max-width: 52rem; margin-left: calc((100% - min(100%, var(--wp--style--global--content-size))) / 2) !important; } /* linke Kante der Inhaltsspalte; Kernlayout zentriert mit !important */
.wir-termin { box-sizing: border-box; }

/* Überschriften sind nie unterstrichen – auch nicht als Link (Chris, 03.10.2026: „Wir haben keine
   unterstrichenen Headlines. Auch nicht, wenn sie Links sind.“). Hover über die Farbe; Klickziel ist
   in den Karten ohnehin der Knopf. Fließtext-Links bleiben unterstrichen. */
:is(h1, h2, h3, h4, h5, h6) a, :is(h1, h2, h3, h4, h5, h6) a:hover, :is(h1, h2, h3, h4, h5, h6) a:focus-visible { text-decoration: none; }

/* ── Kacheln je Reihe (Einstellung „spalten“ der Kachel-Blöcke, inc/blocks.php) ──
   Höchstens N Spalten; wird eine Kachel schmaler als 12 rem, rutscht das Raster
   von selbst auf weniger Spalten (Tablet, Handy). Die Listen nutzen
   grid-template-columns: var(--wir-raster, <automatisch>). */
.wir-spalten { --wir-raster: repeat(auto-fill, minmax(min(100%, max(12rem, (100% - var(--wir-spalten) * var(--wp--custom--box--abstand)) / var(--wir-spalten))), 1fr)); }

/* ── Gruppenseite (WIR Netzwerker, 04.10.2026) ─────────────────────────
   Chris: „einfach Text an Text … das Formular setzt sich nicht ab“. Drei Bausteine,
   wiederverwendbar für jede Aktivgruppe:
   .wir-steckbrief   Einleitung links, Eckdaten-Kasten rechts (Wann, Wo, Wer + Knopf)
   .wir-chronik      Liste mit Datum vorn – Spenden, Meilensteine (ul, <strong> = Datum)
   .wir-mitmachen    weißes Band über die volle Breite: Formular links, Fragen-Kasten rechts
   .wir-nur-mit-inhalt  Gruppe verschwindet, solange der Block darin leer ist */
.wir-steckbrief { gap: var(--wp--custom--box--abstand) clamp(2rem, 4vw, 4rem); align-items: start; }
.wir-steckbrief .wir-einleitung { font-size: var(--wp--preset--font-size--gross); line-height: 1.5; max-width: var(--wp--custom--lesebreite); margin: 0; }
.wir-steckbrief__kasten { position: relative; margin-top: 1.1rem; padding: var(--wp--custom--box--innen-mit-reiter) var(--wp--custom--box--innen) var(--wp--custom--box--innen); border-radius: var(--wp--custom--radius--kachel); background: var(--wp--custom--verlauf--wald) var(--wp--preset--color--wald); color: var(--wp--preset--color--auf-dunkel); }
.wir-steckbrief__kasten > * { margin: 0; }
.wir-steckbrief__kasten > * + * { margin-top: 1.1rem; }
/* Reiter: das eine Etikett auf der Oberkante einer Box, halb drüber (Chris 03.10.2026). Jede Box höchstens einen.
   Varianten nach Fläche/Bedeutung; nie eigene Etiketten je Block. Box braucht position: relative + innen-mit-reiter. */
.wir-reiter { position: absolute; top: 0; left: var(--wp--custom--box--innen); z-index: 1; transform: translateY(-50%); display: inline-flex; align-items: center; gap: .45rem; width: auto; max-width: calc(100% - 2 * var(--wp--custom--box--innen)); margin: 0 !important; padding: .3rem .9rem; border-radius: 999px; border: 2px solid var(--wp--preset--color--hellgruen); background: var(--wp--preset--color--wald); color: var(--wp--preset--color--hellgruen); font: 700 .9375rem/1.2 var(--wp--preset--font-family--text); letter-spacing: 0; } /* schrift-ok: groesse 15 px wie jedes Reiter-Etikett (Chris 03.10.2026) */
.wir-reiter .wir-symbol { flex: none; width: 15px; height: 15px; }
.wir-reiter + * { margin-block-start: 0; }
.wir-reiter--hell { border-color: var(--wp--preset--color--primaer); background: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--primaer); }
.wir-reiter--wir { border-color: var(--wp--preset--color--akzent); background: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--akzent-tief); }
.wir-reiter--premium { border-color: var(--wp--preset--color--gold); background: var(--wp--preset--color--premium); color: #fff; }
.wir-reiter--premium .wir-symbol { color: var(--wp--preset--color--gold); }
/* Ohne Box (Terminliste in Zeilen): dieselbe Pille, nur nicht auf einer Kante. */
.wir-reiter--frei { position: static; transform: none; width: fit-content; margin: 0 0 .4rem !important; }
@media (max-width: 599px) { .wir-reiter { padding-inline: .8rem; border-radius: 1rem; } }
.wir-steckbrief__daten { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .9rem 1.2rem; align-items: baseline; }
.wir-steckbrief__daten dt { font-weight: 600; color: var(--wp--preset--color--hellgruen); }
.wir-steckbrief__daten dd { margin: 0; }
.wir-steckbrief__daten dd strong { display: block; font: 700 var(--wp--preset--font-size--titel-3)/1.2 var(--wp--preset--font-family--titel); color: var(--wp--preset--color--flaeche); }
.wir-steckbrief__kasten a:not(.wp-element-button) { color: var(--wp--preset--color--flaeche); text-underline-offset: .2em; }
.wir-steckbrief__kasten .wp-element-button { background: var(--wp--preset--color--hellgruen); border-color: var(--wp--preset--color--hellgruen); color: var(--wp--preset--color--wald); }
.wir-steckbrief__kasten .wp-element-button:hover { background: var(--wp--preset--color--flaeche); border-color: var(--wp--preset--color--flaeche); }
.wir-steckbrief__kasten :focus-visible { outline-color: var(--wir-fokus-ring); }

.wir-chronik { list-style: none; padding: 0; border-top: 1px solid var(--wp--preset--color--linie); }
.wir-chronik > li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .3rem 1.2rem; padding-block: 1rem; border-bottom: 1px solid var(--wp--preset--color--linie); margin: 0; }
.wir-chronik > li > strong:first-child { font: 700 var(--wp--preset--font-size--titel-3)/1.3 var(--wp--preset--font-family--titel); color: var(--wp--preset--color--primaer); font-variant-numeric: tabular-nums; }
@media (max-width: 599px) { .wir-chronik > li { grid-template-columns: minmax(0, 1fr); } }

.wir-nur-mit-inhalt:has(.wir-mitglieder--leer) { display: none; }
.wir-nur-mit-inhalt:not(:has(> :not(.wp-block-heading))) { display: none; } /* Block mit „Ausblenden, wenn leer“ gibt nichts aus: nur die Überschrift bliebe stehen (News auf /aktuelles/) */

/* Fläche läuft über die volle Fensterbreite, der Inhalt bleibt an der Kante der Seite */
.wir-mitmachen { margin-block-start: var(--wp--preset--spacing--xl) !important; padding-block: var(--wp--preset--spacing--xl); background: var(--wp--preset--color--flaeche); box-shadow: 0 0 0 100vmax var(--wp--preset--color--flaeche); clip-path: inset(0 -100vmax); }
.seite > .wp-block-post-content > .wir-mitmachen:last-child { margin-block-end: calc(-1 * var(--wp--preset--spacing--xl)); }
.wir-mitmachen > * { margin-block: 0; }
.wir-mitmachen__kopf { max-width: var(--wp--custom--lesebreite); margin-bottom: var(--wp--preset--spacing--l) !important; }
.wir-mitmachen__kopf > * { margin: 0; }
.wir-mitmachen__kopf > h2 { font-size: var(--wp--preset--font-size--titel-2); line-height: 1.1; }
.wir-mitmachen__kopf > p { margin-top: .9rem; font-size: var(--wp--preset--font-size--gross); line-height: 1.5; color: var(--wp--preset--color--text-leise); }
.wir-mitmachen__spalten { gap: var(--wp--custom--box--abstand); align-items: start; }
/* Im weißen Band heben sich Gruppen über den Grundton ab statt über Weiß auf Weiß */
.wir-mitmachen .wir-form-gruppe, .wir-mitmachen .wir-form-feld--kasten { background: var(--wp--preset--color--grund); }
.wir-mitmachen .wir-form-gruppe--spamschutz { background: var(--wp--preset--color--hinweis); }
.wir-mitmachen__fragen { position: relative; margin-top: 1.1rem; padding: var(--wp--custom--box--innen-mit-reiter) var(--wp--custom--box--innen) var(--wp--custom--box--innen); border-radius: var(--wp--custom--radius--kachel); background: var(--wp--preset--color--grund); }
.wir-mitmachen__fragen > * { margin: 0; }
.wir-mitmachen__fragen > * + * { margin-top: 1rem; }
@media (min-width: 782px) { .wir-mitmachen__fragen { position: sticky; top: calc(var(--wir-kopfhoehe, 5.5rem) + 1.5rem); } }
/* Spalten untereinander (Handy): die Reiter-Box oben in der zweiten Spalte braucht box.abstand-mit-reiter, sonst klebt der Reiter am Inhalt darüber */
@media (max-width: 781px) { .wp-block-column > :is(.wir-steckbrief__kasten, .wir-mitmachen__fragen):first-child { margin-top: calc(var(--wp--custom--box--abstand-mit-reiter) - var(--wp--custom--box--abstand)); } }
/* Kurze Auswahl (Ja / Nein / Weiß ich nicht) nebeneinander statt als hohe Liste */
.wir-mitmachen .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 0 1.6rem; }

/* ── Telefonnummern (Idee 15, Chris 04.10.2026): Ziffern gleich breit und nie über zwei Zeilen
   gebrochen. Die Schreibweise nach DIN 5008 setzt wir_tel_anzeige() (inc/blocks.php). ── */
a[href^="tel:"], .wir-vereinskontakt__telefon, .wir-vereinskontakt__fax, .wir-nummer { font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Der Ortsname bricht nicht am Bindestrich um („Neunkirchen-“ / „Seelscheid“) */
.wir-ortsname { white-space: nowrap; }


/* ── Verzeichnis: Suche + Filter als EIN Formular im Seitenkopf (Chris 04.10.2026:
   „dürfen nicht zwei verschiedene Entities sein“). Markup: wir_platz_verzeichnis_suche.
   Reihenfolge wie beim Ausfüllen (Chris 04.10.2026): erst die Felder – Suche, Branche –,
   dann die Knöpfe – Suchen, Zurücksetzen – nebeneinander. Alle Beschriftungen auf derselben
   Stufe, alle Felder und Knöpfe in der Feldhöhe. A–Z darunter in EINER Zeile, jeder Buchstabe
   gleich breit; reicht der Platz nicht, wischt man quer statt umzubrechen. ── */
.wir-finder__filter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1.2rem; }
.wir-finder .wir-suchleiste:not(:has(.wir-knopf)) { grid-template-columns: minmax(0, 1fr); }
.wir-finder .wir-filter__zeile { padding-top: 0; gap: .8rem 1rem; min-width: 0; }
.wir-finder .wir-filter__feld { flex: 0 1 22rem; gap: 0; }
/* Suchen und Zurücksetzen gleich breit, Suchen fett – die Hauptaktion darf nicht leiser wirken (Chris 04.10.2026) */
.wir-finder .wir-filter__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.wir-finder .wir-filter__knoepfe .wir-knopf { min-height: var(--wp--custom--feldhoehe); white-space: nowrap; justify-content: center; }
.wir-finder .wir-filter__knoepfe button.wir-knopf { font-weight: 700; }
.wir-finder label, .wir-finder .wir-filter__label { display: block; margin: 0 0 .7rem; font: 600 var(--wp--preset--font-size--normal)/1.2 var(--wp--preset--font-family--text); color: var(--wp--preset--color--auf-dunkel); }
.wir-finder .wir-filter__zeile--abc { flex-direction: column; align-items: stretch; gap: 0; flex-wrap: nowrap; }
.wir-finder .wir-buchstaben { display: flex; flex-wrap: nowrap; gap: 4px; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.wir-finder .wir-buchstaben::-webkit-scrollbar { display: none; }
/* Gleich breite Buchstaben (flex-basis 0), „Alle“ so breit wie sein Wort; nie unter 28 px (WCAG 2.5.8: 24 px) */
.wir-finder .wir-buchstaben li { flex: 1 0 0; min-width: 1.75rem; }
.wir-finder .wir-buchstaben li:first-child { flex: 0 0 auto; }
.wir-finder .wir-buchstaben a { min-width: 0; min-height: var(--wp--custom--ziel); padding: 0; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); color: var(--wp--preset--color--flaeche); }
.wir-finder .wir-buchstaben li:first-child a { padding-inline: .7rem; }
.wir-finder .wir-buchstaben a:hover { border-color: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--flaeche); }
.wir-finder .wir-buchstaben a[aria-current] { background: var(--wp--preset--color--hellgruen); border-color: var(--wp--preset--color--hellgruen); color: var(--wp--preset--color--wald); }
/* Ohne Betrieb: gleich groß, ausgegraut, nicht klickbar – die Reihe bleibt immer gleich (Chris 04.10.2026) */
.wir-finder .wir-buchstaben span[aria-disabled] { display: flex; box-sizing: border-box; width: 100%; align-items: center; justify-content: center; min-height: var(--wp--custom--ziel); border: 1.5px solid rgba(255, 255, 255, .12); border-radius: var(--wp--custom--radius--klein); color: rgba(255, 255, 255, .38); font: 600 var(--wp--preset--font-size--klein)/1 var(--wp--preset--font-family--text); cursor: default; }
@media (min-width: 761px) {
	/* Tablet: Suche | Branche, die Knöpfe darunter links */
	.wir-finder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 17rem); column-gap: .75rem; align-items: end; }
	.wir-finder > .wir-suche__label { grid-area: 1 / 1; }
	.wir-finder > .wir-suchleiste { grid-area: 2 / 1; }
	.wir-finder__filter, .wir-finder__filter > .wir-filter__zeile:first-child, .wir-finder .wir-filter__feld { display: contents; }
	.wir-finder .wir-filter__feld > :first-child { grid-area: 1 / 2; }
	.wir-finder .wir-filter__feld > :last-child { grid-area: 2 / 2; align-self: center; } /* Beschriftung, dann Auswahl (select oder wir-branchenwahl) */
	.wir-finder .wir-filter__knoepfe { grid-area: 3 / 1 / 4 / -1; margin-top: .75rem; }
	.wir-finder .wir-filter__zeile--abc { display: contents; }
	.wir-finder .wir-filter__zeile--abc > .wir-filter__label { grid-area: 4 / 1 / 5 / -1; margin: 1.6rem 0 .7rem; }
	.wir-finder .wir-buchstaben { grid-area: 5 / 1 / 6 / -1; }
}
@media (min-width: 1024px) {
	/* Desktop: Suche | Branche | Suchen Zurücksetzen – eine Zeile */
	.wir-finder { grid-template-columns: minmax(0, 1fr) minmax(11rem, 14rem) auto; } /* schmaler, damit der Platzhalter der Suche ganz passt */
	.wir-finder .wir-filter__knoepfe { grid-area: 2 / 3; margin-top: 0; }
	.wir-finder .wir-filter__zeile--abc > .wir-filter__label { grid-area: 3 / 1 / 4 / -1; }
	.wir-finder .wir-buchstaben { grid-area: 4 / 1 / 5 / -1; }
}
/* Der Ortsplan-Knopf stand hier bis 05.10.2026; jetzt in der Werkzeugleiste über den Ergebnissen (assets/css/ansicht.css). */
/* Handy: A–Z mit voller Fingergröße, quer wischbar, damit der Kopf nicht die halbe Seite füllt */
@media (max-width: 760px) {
	.wir-finder .wir-buchstaben li { flex: 0 0 var(--wp--custom--knopfhoehe); }
	.wir-finder .wir-filter__feld { flex-basis: 100%; }
}

/* ── Hängende Anführungszeichen (Idee 16, Chris 04.10.2026): Das öffnende Zeichen ragt um genau
   seine eigene Breite links über die Kante, in jeder Schrift und jedem Gewicht – ein Kasten ohne
   Breite, aus dem das Zeichen nach links herausläuft. Gesetzt von wir_theme_haengende_zeichen()
   (inc/blocks.php). Mittig oder rechts gesetzter Text hängt nicht. ── */
.wir-haengend { display: inline-block; width: 0; direction: rtl; white-space: nowrap; }
:is(.has-text-align-center, .has-text-align-right, .aligncenter, [style*="text-align:center"], [style*="text-align: center"]) .wir-haengend { display: inline; width: auto; direction: inherit; }

