/* Eine Dosis Zukunft – Styles. Schriften: Nunito, Roboto Slab (SIL OFL). */

@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Roboto Slab"; src: url("../fonts/roboto-slab-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* Ersatzschriften mit angeglichenen Maßen */
@font-face { font-family: "Nunito Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 200 549;
  size-adjust: 101.19%; ascent-override: 99.81%; descent-override: 34.59%; line-gap-override: 0%; }
@font-face { font-family: "Nunito Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 550 749;
  size-adjust: 98.17%; ascent-override: 102.88%; descent-override: 35.65%; line-gap-override: 0%; }
@font-face { font-family: "Nunito Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 750 1000;
  size-adjust: 100.31%; ascent-override: 100.69%; descent-override: 34.89%; line-gap-override: 0%; }
@font-face { font-family: "Roboto Slab Fallback"; src: local("Georgia"); font-weight: 100 549;
  size-adjust: 105.40%; ascent-override: 99.62%; descent-override: 25.62%; line-gap-override: 0%; }
@font-face { font-family: "Roboto Slab Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 550 900;
  size-adjust: 92.26%; ascent-override: 113.81%; descent-override: 29.26%; line-gap-override: 0%; }

:root {
  --orange: #ea6a27;
  --orange-deep: #c8470f;
  --berry: #b1184e;
  --berry-dark: #8c1240;
  --brown: #80594b;
  --brown-dark: #6e5045;
  --brown-logo: #987165;
  --cream: #f5dcc2;
  --cream-light: #fcf3ea;
  --grey: #5f6c6c;
  --ink: #33292a;
  --muted: #6b5f5c;
  --line: #ecdccd;
  --control-line: #9c8074;

  --font-sans: "Nunito", "Nunito Fallback", Arial, sans-serif;
  --font-slab: "Roboto Slab", "Roboto Slab Fallback", Georgia, serif;

  --radius: 18px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 10px 30px -12px rgb(110 80 69 / .35);
  --focus-color: var(--ink);
  --btn-hover-shadow: 0 6px 16px -6px rgb(51 41 42 / .45);

  --header-h: 74px;
  --jump-gap: 16px;
}

/* ---------- Grundlagen ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--jump-gap)); }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1.0625rem/1.65 var(--font-sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--font-slab); line-height: 1.2; margin: 0 0 .5em; color: var(--berry); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 800 .8rem/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brown); margin: 0 0 .75rem; }
.eyebrow-light { color: #fff; opacity: .9; }
.section-pad { padding-block: clamp(2.5rem, 6vw, 4rem); }

/* Barrierefreiheit */
:focus-visible { outline: 3px solid var(--focus-color); outline-offset: 3px; }
/* Dunkle Flächen: weißer Fokusrahmen */
.stats, .panel.donate, .prose .callout, .option.primary, .site-footer { --focus-color: #fff; }
main:focus { outline: none; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: 10px; font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 700 1.17rem/1 var(--font-sans); text-decoration: none;
  padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: var(--btn-hover-shadow); }
.btn-primary, .wp-block-button__link { background: var(--orange); color: #fff; }
.btn-primary:hover, .wp-block-button__link:hover { background: var(--orange-deep); color: #fff; }
.btn-ghost, .is-style-outline .wp-block-button__link { border-color: var(--brown); color: var(--brown-dark); background: transparent; }
.btn-ghost:hover, .is-style-outline .wp-block-button__link:hover { background: var(--brown-dark); border-color: var(--brown-dark); color: #fff; }
.btn-light { background: #fff; color: var(--berry); }
.btn-light:hover { background: transparent; border-color: #fff; color: #fff; }

/* ---------- Topbar + Kopf ---------- */
.topbar { background: var(--cream-light); font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; padding-block: .6rem; }
/* Logos */
.brand { display: flex; align-items: center; gap: 1.25rem; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { display: block; width: auto; flex: none; }
.brand-edz { height: 76px; }
.brand-akwl { height: 50px; }
.brand-sep { width: 1px; align-self: stretch; background: var(--line); flex: none; }

/* Hauptmenü */
.nav ul { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.nav a { display: block; white-space: nowrap; padding: .55rem .7rem; border-radius: 999px; color: var(--ink); font-weight: 700; text-decoration: none; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--cream-light); color: var(--berry); }
/* Übergeordneter Menüpunkt */
.nav .current-menu-ancestor > a, .nav .current-page-ancestor > a, .nav .current_page_parent > a { background: var(--cream-light); color: var(--berry); }
/* Spenden-Button im Menü */
.nav .nav-cta { margin-left: .35rem; }
.nav .nav-cta a { background: var(--orange); color: #fff; padding: .4rem 1.1rem; font-size: 1.17rem; font-weight: 700; line-height: 1.2; }
.nav .nav-cta a:hover { background: var(--orange-deep); color: #fff; }
.nav .nav-cta a[aria-current="page"] { background: var(--berry); color: #fff; }

/* Untermenü */
.nav li { position: relative; }
.sub-toggle { display: flex; align-items: center; gap: .45rem; width: 100%; padding: .55rem .7rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: .98rem; font-weight: 700; white-space: nowrap; text-align: left; cursor: pointer; }
.sub-toggle::after { content: ""; flex: none; width: .42rem; height: .42rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.sub-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
/* „Untermenü“ vor dem Titel nur für Screenreader */
.sub-toggle-prefix { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sub-toggle:hover, .nav :is(.is-sub-open, .current-menu-item, .current-menu-ancestor, .current-page-ancestor) > .sub-toggle { background: var(--cream-light); color: var(--berry); }
.nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 60; min-width: 16rem; gap: .1rem; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.nav .sub-menu a { border-radius: 10px; padding: .6rem .85rem; font-size: .95rem; }
.nav .is-sub-open > .sub-menu { display: grid; }
/* Ohne JavaScript: Untermenü per Hover */
@media (min-width: 1200px) and (hover: hover) {
  :root:not(.js) .nav .menu-item-has-children:hover > .sub-menu { display: grid; }
}

.nav-toggle { display: none; }

/* ---------- Startseite: Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--cream-light) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; }
.hero h1 span { color: var(--brown); display: block; font-family: var(--font-sans); font-weight: 800; font-size: .52em; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .55rem; }
.hero .lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 34em; margin: 0 0 1.75rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .partner { display: flex; align-items: center; gap: .75rem; margin-top: 2rem; font-size: .9rem; color: var(--muted); }
.hero .partner img { height: 44px; width: auto; border-radius: 6px; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; justify-self: center; width: 100%; margin: 0; }
.hero-visual .credit { position: absolute; right: 4%; bottom: -1.6rem; font-size: .75rem; color: var(--muted); }
.hero-visual .big-cream { position: absolute; inset: 0; border-radius: 50%; background: var(--cream); transform: translate(8%, -4%) scale(1.02); }
.hero-visual .photo { position: absolute; inset: 6%; border-radius: 50%; overflow: hidden; border: 10px solid var(--berry); box-shadow: var(--shadow); }
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.dot { position: absolute; border-radius: 50%; }
.dot.o { width: 15%; aspect-ratio: 1; background: var(--orange); left: -2%; bottom: 14%; }
.dot.b { width: 20%; aspect-ratio: 1; background: var(--brown-logo);left: 16%; bottom: -3%; }
.dot.r { width: 11%; aspect-ratio: 1; background: var(--berry); right: 2%; top: 4%; }

/* Kennzahlen */
.stats { background: var(--berry); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-block: 2.25rem; }
.stat { display: flex; align-items: center; gap: 1rem; }
.stat .circle { flex: none; width: 56px; height: 56px; border-radius: 50%; background: rgb(255 255 255 / .14); display: grid; place-items: center; }
.stat .circle svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stat strong { display: block; font: 700 1.8rem/1.1 var(--font-slab); }
.stat span { font-size: .95rem; opacity: .92; }

/* Sektionen */
section.block { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.more { font-weight: 800; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.more::after { content: "→"; transition: transform .15s; }
.more:hover, .card:hover .more, a.option:hover .more { text-decoration: underline; text-underline-offset: 4px; }
.more:hover::after, .card:hover .more::after, a.option:hover .more::after { transform: translateX(3px); }

/* ---------- News-Karten ---------- */
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; align-items: start; }
.news-list { display: grid; gap: 1.5rem; }
.news-more-unten { display: none; margin: 1.5rem 0 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.latest-grid .card { height: 100%; } /* gleich hohe Karten nebeneinander */
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card time { font-size: .85rem; font-weight: 700; color: var(--grey); }
.card .kicker { font-size: .9rem; font-weight: 800; color: var(--brown); line-height: 1.35; }
.card-title { font-size: 1.25rem; margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.card .more { margin-top: auto; padding-top: .5rem; color: var(--orange); }
.card .img { aspect-ratio: 16 / 9; overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card.featured .body { padding: 1.75rem; gap: .6rem; }
.card.featured .card-title { font-size: 1.6rem; }

/* ---------- Themen-Kacheln ---------- */
.topics { background: var(--cream-light); }
.topic-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); max-width: 980px; }
.topic { display: block; text-align: center; text-decoration: none; color: var(--ink); }
.topic .ring { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); margin-bottom: .85rem; background: var(--cream); }
.topic-grid li:nth-child(3n+1) .ring { outline: 3px solid var(--orange); }
.topic-grid li:nth-child(3n+2) .ring { outline: 3px solid var(--brown-logo); }
.topic-grid li:nth-child(3n+3) .ring { outline: 3px solid var(--berry); }
.topic .ring img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.topic:hover .ring img { transform: scale(1.05); }
.topic strong { display: block; font: 700 1.05rem/1.25 var(--font-slab); color: var(--berry); hyphens: auto; overflow-wrap: break-word; } /* lange Wörter wie „Gesundheitsarbeiterinnen“ trennen */

/* ---------- Spendenbereich ---------- */
.cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; }
.panel { border-radius: calc(var(--radius) + 6px); padding: clamp(1.75rem, 4vw, 2.75rem); position: relative; overflow: hidden; }
.panel h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.panel.donate { background: var(--berry); color: #fff; }
.panel.donate h2 { color: #fff; position: relative; z-index: 1; }
.panel.donate .eyebrow { position: relative; z-index: 1; }
.panel.donate::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--orange); opacity: .9; right: -90px; bottom: -110px; }
.panel.donate::before { content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; background: var(--cream); opacity: .25; right: 120px; top: -40px; }
/* Spendenkonto in der Spendenbox */
.donate .konto { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.25rem; margin: 1.25rem 0 1.75rem; position: relative; z-index: 1; font-size: 1rem; }
.donate .konto dt { opacity: .85; font-weight: 700; }
.donate .konto dd { margin: 0; font-weight: 800; letter-spacing: .02em; }
.panel.donate .actions { position: relative; z-index: 1; display: flex; gap: .75rem; flex-wrap: wrap; }

.panel.barometer { background: var(--cream); display: flex; flex-direction: column; justify-content: center; padding-bottom: 9rem; }
.panel.barometer > :not(.barometer-deco) { position: relative; z-index: 1; }
.barometer-value { font: 700 clamp(2.4rem, 9vw, 4.2rem)/1 var(--font-slab); color: var(--berry); margin: .35rem 0 .75rem; letter-spacing: -.01em; }
.barometer-text { color: var(--brown-dark); font-weight: 700; font-size: 1.1rem; margin: 0; }
.barometer-date { color: var(--muted); font-size: .9rem; margin: .35rem 0 0; }
.barometer-deco { position: absolute; right: 0; bottom: 0; width: 240px; height: 170px; z-index: 0; pointer-events: none; }
.barometer-deco i { position: absolute; border-radius: 50%; display: block; }
.barometer-deco .c1 { width: 150px; height: 150px; background: #fff; opacity: .55; right: -40px; bottom: -55px; }
.barometer-deco .c2 { width: 74px; height: 74px; background: var(--berry); right: 28px; bottom: 30px; }
.barometer-deco .c3 { width: 46px; height: 46px; background: var(--brown-logo);right: 122px; bottom: 18px; }
.barometer-deco .c4 { width: 28px; height: 28px; background: var(--orange); right: 112px; bottom: 82px; }
.barometer-wide { margin-top: 1.5rem; }

.box-note { grid-column: 1 / -1; display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.75rem); background: var(--cream-light); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 2.75rem); }
.box-note .icon { flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.box-note .icon svg { width: 38px; height: 38px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.box-note h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin: 0 0 .3rem; }
.box-note p { margin: 0; color: var(--brown-dark); }

/* ---------- Filmberichte-Teaser ---------- */
.film { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.video { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); background: var(--cream); }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(0deg, rgb(51 41 42 / .35), transparent 60%); }
.video .play > span { width: 84px; height: 84px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgb(255 255 255 / .35); }
.video .play svg { width: 30px; height: 30px; margin-left: 5px; }
.film ul { padding-left: 1.2rem; color: var(--muted); }

/* ---------- Fuß ---------- */
.site-footer { background: var(--ink); color: #e9dfd9; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: 3rem 2rem; }
.site-footer .footer-title { font: 700 1.05rem var(--font-slab); color: #fff; margin: 0 0 .75rem; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.coop { display: flex; gap: 1rem; align-items: center; }
.coop img { height: 56px; width: auto; border-radius: 6px; background: #fff; padding: 4px; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .12); }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; padding-block: 1.1rem; font-size: .85rem; opacity: .85; }
.footer-dots { display: flex; gap: 6px; align-items: center; }
.footer-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }

/* ---------- Unterseiten: Seitenkopf, Brotkrumen, Seitenmenü ---------- */
.page-head { background: linear-gradient(180deg, #fff, var(--cream-light)); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .wrap { padding-block: clamp(2rem, 5vw, 3.25rem); position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0; max-width: 22em; }
.page-head .lead { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin: .75rem 0 0; }
.page-head .deco { position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--cream); }
.page-head .deco::before { content: ""; position: absolute; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); left: 10px; bottom: 30px; }
.page-head .deco::after { content: ""; position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--berry); left: 70px; bottom: -6px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin: 0 0 .9rem; display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; }
.breadcrumb a { color: var(--brown-dark); text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: "›"; margin-right: .35rem; color: var(--grey); }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; color: var(--muted); font-size: .95rem; margin-top: 1rem; }
.article-meta .kicker { font-weight: 800; color: var(--brown); }

.content-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.content-grid.single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.subnav { position: sticky; top: calc(var(--header-h) + 1rem); background: var(--cream-light); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.admin-bar .subnav { top: calc(var(--header-h) + 32px + 1rem); }
.subnav-title { font: 800 1.05rem/1.2 var(--font-sans); margin: .25rem .5rem .75rem; color: var(--brown); text-transform: uppercase; letter-spacing: .1em; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.subnav a { display: block; padding: .6rem .75rem; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; }
.subnav a:hover { background: #fff; color: var(--berry); }
.subnav a[aria-current="page"] { background: var(--berry); color: #fff; }

/* ---------- Fließtext ---------- */
.prose { max-width: 46em; overflow-wrap: break-word; } /* lange URLs brechen um */
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 1.8em 0 .2em; }
.prose h3 { font-size: 1.2rem; margin: 1.5em 0 .2em; }
.prose ul, .prose ol { padding-left: 1.2rem; margin-bottom: 0; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange); }
.prose a:not(.btn, .wp-block-button__link) { color: var(--orange); font-weight: 700; }
/* Externe Links: Symbol */
a[aria-describedby~="edz-neues-fenster"]:not(:has(img))::after {
  content: ""; display: inline-block; width: .8em; height: .8em; margin-left: .25em; vertical-align: -.02em; 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7M21 3l-9.5 9.5M19 14v4.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 3 18.5v-11A2.5 2.5 0 0 1 5.5 5H10'/%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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7M21 3l-9.5 9.5M19 14v4.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 3 18.5v-11A2.5 2.5 0 0 1 5.5 5H10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prose blockquote, .prose .wp-block-quote { margin: 1.5em 0; padding: 1.25rem 1.5rem; background: var(--cream-light); border-left: 5px solid var(--berry); border-radius: 0 var(--radius) var(--radius) 0; font: italic 600 1.1rem/1.55 var(--font-sans); color: var(--brown-dark); }
.prose blockquote p { margin: 0; }
.prose blockquote cite { display: block; margin-top: .5rem; font-style: normal; font-weight: 700; font-size: .95rem; }
.prose figure { margin: 1.75em 0; }
.prose figure img, .prose .wp-block-image img { border-radius: var(--radius); }
.prose figcaption, .prose .wp-element-caption { font-size: .88rem; color: var(--muted); margin-top: .5rem; text-align: left; }
.prose .alignright { float: right; width: min(42%, 320px); margin: .3em 0 1em 1.75em; clear: right; }
.prose .alignleft { float: left; width: min(42%, 320px); margin: .3em 1.75em 1em 0; clear: left; }
.prose .alignright img, .prose .alignleft img { width: 100%; }
/* Bilder mit fester Breite nicht hochskalieren */
.prose .is-resized { display: table; width: auto; }
.prose .is-resized figcaption { display: table-caption; caption-side: bottom; }
.prose::after { content: ""; display: block; clear: both; }
/* Stil „Unter dem Bild beginnen“ */
.is-style-unter-bild { clear: both; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose hr, .prose .wp-block-separator { border: 0; border-top: 2px solid var(--line); margin: 2em 0; }

/* Galerie (Block): Bilder abgerundet, Vergrößern per WordPress-Lightbox */
.prose .wp-block-gallery { gap: .75rem; }
.prose .wp-block-gallery .wp-block-image img { border-radius: 14px; }

/* Datei-Download (Block) */
.prose .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.prose .wp-block-file a:not(.wp-block-file__button) { color: var(--ink); text-decoration: none; }
.prose .wp-block-file .wp-block-file__button { margin-left: auto; background: var(--cream); color: var(--berry); border-radius: 999px; padding: .5rem 1rem; font-weight: 800; font-size: .9rem; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.prose .wp-block-file .wp-block-file__button:hover { background: var(--berry); color: #fff; }

/* Video (Block) */
.prose .wp-block-video video { width: 100%; border-radius: var(--radius); background: #1e1616; }

/* Buttons (Block) */
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Spendenaufruf */
.prose .callout { background: var(--berry); color: #fff; border-radius: var(--radius); padding: 1.5rem 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 2em; clear: both; }
.prose .callout p { margin: 0; font-weight: 700; font-size: 1.1rem; }
.prose .callout a.btn, .prose .callout .wp-block-button__link { background: #fff; color: var(--berry); }
.prose .callout a.btn:hover, .prose .callout .wp-block-button__link:hover { background: transparent; border-color: #fff; color: #fff; }

/* News-Navigation */
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); clear: both; }
.prose .article-nav a { text-decoration: none; color: var(--ink); padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; font-weight: 700; }
.article-nav a small { display: block; color: var(--muted); font-weight: 700; }
.article-nav a[rel="prev"] { grid-column: 2; text-align: right; }
.article-nav a:hover { border-color: var(--orange); }

/* ---------- Aktuelles: neueste Meldungen + Archiv nach Jahren ---------- */
.section-title { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 0 0 1rem; }
.archive-title { margin-top: clamp(2.25rem, 5vw, 3rem); }
.latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.archive { columns: 2 340px; column-gap: 1.25rem; }
.archive-year { break-inside: avoid; display: block; margin: 0 0 1.25rem; padding: .9rem 1rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.archive-year h3 { font-size: 1.25rem; margin: 0 0 .35rem .5rem; }
.archive-year ul { list-style: none; margin: 0; padding: 0; }
.archive-year a { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: .6rem; align-items: baseline; padding: .32rem .5rem; border-radius: 10px; text-decoration: none; color: var(--ink); line-height: 1.4; }
.archive-year a:hover { background: var(--cream-light); }
.archive-year a:hover span { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.archive-year time { font-size: .85rem; font-weight: 700; color: var(--grey); white-space: nowrap; }
.archive-year span { font-weight: 700; font-size: .98rem; }

/* ---------- Spenden & Helfen (Übersicht) ---------- */
.intro { margin-bottom: 2rem; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
/* Ungerade Anzahl: letzte Kachel über die volle Breite; genau drei Kacheln ab 1100 px nebeneinander */
@media (min-width: 901px) { .option-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .option-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .option-grid:has(> :nth-child(3):last-child) > :last-child { grid-column: auto; }
  /* Kontodaten in der schmalen Kachel: Bezeichnung über dem Wert, damit die IBAN in einer Zeile bleibt */
  .option-grid:has(> :nth-child(3):last-child) .konto { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .option-grid:has(> :nth-child(3):last-child) .konto dt { font-size: .8rem; margin-top: .55rem; }
  .option-grid:has(> :nth-child(3):last-child) .konto dt:first-child { margin-top: 0; }
}
.option { border-radius: calc(var(--radius) + 4px); padding: 1.75rem; display: flex; flex-direction: column; gap: .6rem; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: #fff; transition: box-shadow .2s, transform .2s; }
a.option:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.option .icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); }
.option .icon svg { width: 30px; height: 30px; stroke: var(--berry); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.option h2 { font-size: 1.35rem; margin: .25rem 0 0; }
.option p { margin: 0; color: var(--muted); }
.option .more { color: var(--orange); margin-top: auto; }
.option.primary { background: var(--berry); border-color: var(--berry); color: #fff; }
.option.primary h2, .option.primary p, .option.primary .more { color: #fff; }
.option.primary .icon { background: rgb(255 255 255 / .15); }
.option.primary .icon svg { stroke: #fff; }
/* Spendenkonto in einer Kachel */
.option .konto { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1.25rem; font-size: .95rem; margin: 0; }
.option .konto dt { color: var(--muted); font-weight: 700; }
.option .konto dd { margin: 0; font-weight: 700; }
/* Kacheln im Fließtext */
.prose-breit { max-width: none; }
.prose-breit > :not(.option-grid) { max-width: 46em; }
.prose > .option-grid { margin-top: 2rem; }
.prose a.option { color: var(--ink); font-weight: inherit; }
.prose a.option.primary { color: #fff; }

/* =====================================================================
   Responsive
   ===================================================================== */
/* Ausklappmenü, sobald Wortmarke + Menü nicht mehr nebeneinander passen */
@media (max-width: 1199px) {
  .nav-toggle { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--cream-light); cursor: pointer; padding: 0; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; transition: transform .2s; }
  .nav-toggle-bars::before { position: absolute; top: -6px; }
  .nav-toggle-bars::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
  .site-header .wrap { flex-wrap: nowrap; }
  .brand { min-width: 0; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .5rem var(--gutter) 1.25rem; max-height: calc(100vh - 100%); overflow-y: auto; }
  .site-header.is-open .nav { display: block; }
  /* Alle Menüpunkte gleich breit – so breit wie der längste Eintrag */
  .nav ul { display: grid; width: fit-content; max-width: 100%; gap: .15rem; }
  .nav a { font-size: 1.05rem; padding: .8rem 1.5rem; }
  .nav .nav-cta { margin: .75rem 0 .25rem; }
  .nav .nav-cta a { padding: .8rem 1.5rem; }
  /* Untermenü mobil: Akkordeon unter dem Button, eingerückt */
  .sub-toggle { justify-content: space-between; gap: 1rem; padding: .8rem 1.5rem; font-size: 1.05rem; }
  .nav .sub-menu { position: static; min-width: 0; margin: .1rem 0 .4rem 1.5rem; padding: 0 0 0 .5rem; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; }
  .nav .sub-menu a { font-size: 1rem; padding: .65rem 1rem; }
}
@media (max-width: 900px) {
  .hero .wrap, .news-grid, .cta-grid, .film, .content-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 420px; order: -1; }
  .stats .wrap { grid-template-columns: 1fr; gap: 1rem; }
  /* Startseite „Aktuelles“ einspaltig */
  #aktuelles .news-list, #aktuelles .section-head .more { display: none; }
  #aktuelles .news-more-unten { display: block; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .subnav { position: static; }
  .option-grid, .latest-grid { grid-template-columns: minmax(0, 1fr); }
  .prose .alignright, .prose .alignleft { float: none; width: auto; max-width: 100%; margin: 1.5em 0; }
  /* nicht über die Originalgröße hinaus */
  .prose .alignright img, .prose .alignleft img { width: auto; max-width: 100%; height: auto; }
  .prose .is-resized { width: auto; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 700px) {
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
  .page-head .deco { width: 170px; height: 170px; right: -95px; top: -95px; opacity: .7; }
  .page-head .deco::before, .page-head .deco::after { display: none; }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}
@media (max-width: 560px) {
  .topbar .hide-sm { display: none; }
  .brand { gap: .75rem; }
  .brand-edz { height: 52px; }
  .brand-akwl { height: 34px; }
  .donate .konto, .option .konto { grid-template-columns: 1fr; gap: 0; }
  .donate .konto dd, .option .konto dd { margin-bottom: .5rem; }
  .box-note { flex-direction: column; align-items: flex-start; }
  .box-note .icon { width: 60px; height: 60px; }
  .archive-year { padding: .8rem .6rem; }
  .topic strong { font-size: .95rem; }
  .article-nav { grid-template-columns: minmax(0, 1fr); }
  .article-nav a[rel="prev"] { grid-column: auto; text-align: left; }
}
@media (max-width: 400px) {
  .brand { gap: .55rem; }
  .brand-edz { height: 46px; }
  .brand-akwl { height: 30px; }
  .nav-toggle { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Bild-Lightbox: größere Tippfläche */
.wp-lightbox-container button.lightbox-trigger { width: 36px; height: 36px; padding: 8px; }
.wp-lightbox-container button.lightbox-trigger svg { width: 20px; height: 20px; }
