/* WCAG 2.2 AA: usable defaults, with optional local display preferences. */
:root{--muted:#52656d;--a11y-link:#235d65;--a11y-border:#64747a;--a11y-surface:#fff;--a11y-text:#20343d;--a11y-focus:#172b3a;--a11y-header:6rem;color-scheme:light;scroll-padding-block:calc(var(--a11y-header) + 1rem) 6rem}
body{font-size:1.0625rem;overflow-x:visible;overflow-wrap:anywhere}
:where(main,header,footer) :where(*){min-width:0}
main :is(h1,h2,h3,h4,p,a,span){overflow-wrap:anywhere}
.chair-hero-grid>*{min-width:0;max-width:100%}
:where(a,button,input,select,textarea,summary,[tabindex]){scroll-margin-block:calc(var(--a11y-header) + 1rem) 6rem}
:is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--a11y-focus);outline-offset:3px;box-shadow:0 0 0 6px #fff}
.skip-link{z-index:1001;background:#fff;color:#172b3a;border:2px solid #172b3a;max-width:calc(100% - 24px)}
[hidden]{display:none!important}
.image-credit--collection{font-size:1rem;color:var(--muted)}
.members-section>p.image-credit--collection{color:var(--muted)}
.content-card p,.meta,.feed-note,.source-note,.member-role{color:var(--muted)}
main p a,main li a,.news-person-index a,.news-person a,.news-sources a{text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:.08em}
main .button,main .brand{text-decoration:none}
.text-link,.back-link,.event-details,.member-profile{text-decoration:underline;text-underline-offset:.18em}
.button-ghost,.quick-nav a{border-color:var(--a11y-border)}
.event-filters input,.event-filters select{height:auto;min-height:3rem}
button,summary{cursor:pointer}
button:disabled{cursor:default}
.text-link,.event-details,.back-link,.footer-grid a,.footer-bottom a{min-height:2.75rem;align-content:center}
.site-footer .brand{min-height:0}
.footer-bottom{color:var(--muted)}
.footer-bottom a,.footer-grid a{overflow-wrap:anywhere}
.chair-hero-photo>div{max-width:calc(100% - 36px)}
.local-card{height:auto!important;min-height:16rem}.local-card>span{min-width:0}.local-card strong{overflow-wrap:anywhere}
.local-agenda{color:#fff}
.local-agenda p{color:inherit}
.quick-nav-inner{flex-wrap:wrap;overflow:visible}
.brand{flex-shrink:1}
.nav-row{height:auto;min-height:5.5rem}
.a11y-launch{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:8px;background:var(--yellow);color:#20343d;border:1px solid #20343d;border-radius:50%}
.a11y-launch svg{flex:none;width:26px;height:26px;fill:currentColor;stroke:none}
html[data-a11y-targets] .a11y-launch{width:3.5rem;height:3.5rem;min-width:3.5rem;min-height:3.5rem;padding:.65rem}
html[data-a11y-targets] .a11y-launch svg{width:1.75rem;height:1.75rem}
.a11y-footer-open{font:inherit;text-align:left;min-height:44px;background:transparent;color:inherit;border:0;padding:8px 0;text-decoration:underline;text-underline-offset:.18em}
/* A native modal provides focus containment, Escape and an inert background. */
.a11y-panel{position:fixed;inset:1rem 1rem 1rem auto;width:min(35rem,calc(100% - 2rem));max-width:none;height:calc(100% - 2rem);max-height:calc(100dvh - 2rem);margin:0;padding:1.5rem;border:2px solid #64747a;border-top:6px solid var(--yellow);border-radius:3px;background:var(--a11y-surface);color:var(--a11y-text);overflow:auto;overscroll-behavior:contain;font-family:Kievit,Arial,sans-serif;font-size:1rem;line-height:1.55;box-shadow:0 8px 40px #0004}
.a11y-panel::backdrop{background:rgb(16 28 34 / 60%)}
html:has(.a11y-panel[open]){overflow:hidden}
.a11y-panel :is(button,input,label,summary){font:inherit;scroll-margin-block:1rem}
.a11y-panel h2{font-size:1.75rem;line-height:1.25;margin:0}
.a11y-panel p{margin:1rem 0;overflow-wrap:anywhere}
.a11y-panel-header{display:flex;align-items:start;justify-content:space-between;gap:1rem}
.a11y-panel button{min-height:44px;padding:.6rem .8rem;background:var(--a11y-surface);color:var(--a11y-text);border:1px solid #64747a;border-radius:2px;white-space:normal}
.a11y-panel button:disabled{opacity:1;border-style:dashed;color:var(--a11y-text)}
.a11y-panel button[aria-pressed="true"]{background:var(--yellow);color:#20343d;border:2px solid #20343d;font-weight:700}
.a11y-panel button[aria-pressed="true"]::before{content:'✓ ';font-weight:700}
.a11y-panel fieldset{min-width:0;margin:1.5rem 0 0;padding:1rem 0 0;border:0;border-top:1px solid #64747a}
.a11y-panel legend{padding:0 .5rem 0 0;font-weight:700;font-size:1.125rem}
.a11y-choice{display:flex;align-items:center;gap:.7rem;min-height:44px;padding:.35rem 0;cursor:pointer}
.a11y-choice input{flex:0 0 auto;width:24px;height:24px;accent-color:#235d65;margin:0}
.a11y-choice span{min-width:0}
.a11y-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin:.75rem 0}
.a11y-buttons output{min-width:4.5rem;text-align:center;font-weight:700}
.a11y-profiles{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}
.a11y-profiles button{text-align:left}
.a11y-panel details{margin-top:1.5rem;border-top:1px solid #64747a}
.a11y-panel summary{min-height:44px;padding:1rem 0;font-weight:700}
.a11y-panel .a11y-reset{background:var(--yellow);color:#20343d;font-weight:700;width:100%;margin-top:1.5rem}
.a11y-panel .a11y-status{min-height:1.55em}
html[data-a11y-links] a{text-decoration:underline!important;text-underline-offset:.2em}
html[data-a11y-font] body{font-family:Arial,Helvetica,sans-serif}
html[data-a11y-spacing] body :is(p,li,label,h1,h2,h3,h4,a,button,summary){line-height:1.6!important;letter-spacing:.12em!important;word-spacing:.16em!important}
html[data-a11y-spacing] main p{margin-bottom:2em}
html[data-a11y-targets] :is(button,summary,.text-link,.back-link,.member-profile,.quick-nav a,.main-nav a){min-height:3.5rem;padding-block:.8rem}
html[data-a11y-motion]{scroll-behavior:auto!important}
html[data-a11y-motion] *,html[data-a11y-motion] *::before,html[data-a11y-motion] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html[data-a11y-motion] .news-card:focus-within,html[data-a11y-motion] .news-card:hover{transform:none}
/* Explicit colors replace gradients too; photographs and original logos stay intact. */
html[data-a11y-contrast="dark"]{--a11y-surface:#172b3a;--a11y-text:#fff;--a11y-link:#ffe074;--a11y-border:#c8d3d6;--a11y-focus:#172b3a;--muted:#fff;--ink:#172b3a;color-scheme:dark}
html[data-a11y-contrast="light"]{--a11y-surface:#fff;--a11y-text:#172b3a;--a11y-link:#174d53;--a11y-border:#172b3a;--a11y-focus:#172b3a;--muted:#172b3a;color-scheme:light}
html[data-a11y-contrast] body,html[data-a11y-contrast] :is(header,footer,main,section,article,nav,aside,fieldset,details,summary,dialog,.wrap,.chair-hero-copy,.chair-hero-photo>div,.feature-copy,.news-card-copy,.social-caption,.footer-bottom,.event-filters,.a11y-panel){background:var(--a11y-surface)!important;color:var(--a11y-text)!important;border-color:var(--a11y-border)!important;box-shadow:none}
html[data-a11y-contrast] :is(h1,h2,h3,h4,p,span,strong,small,time,b,li,legend,label,output){color:inherit!important}
html[data-a11y-contrast] a{color:var(--a11y-link)!important}
html[data-a11y-contrast] :is(.button,.quick-nav a,.a11y-launch,.back-to-top,.news-card-topic,mark){background:var(--yellow)!important;color:#172b3a!important;border-color:var(--a11y-border)!important}
html[data-a11y-contrast] :is(input,select,textarea,.a11y-panel button){background:var(--a11y-surface)!important;color:var(--a11y-text)!important;border-color:var(--a11y-border)!important}
html[data-a11y-contrast] input::placeholder{color:var(--a11y-text)!important;opacity:1}
html[data-a11y-contrast] .a11y-panel :is(button[aria-pressed="true"],.a11y-reset){background:var(--yellow)!important;color:#172b3a!important}
html[data-a11y-contrast] .brand span{color:var(--a11y-text)!important}
html[data-a11y-contrast] .local-card :is(strong,small,p){background:var(--a11y-surface)!important;color:var(--a11y-text)!important}
@media(max-width:1100px){.nav-cta{display:none}.js .menu-toggle{display:block;margin-left:auto}.js .main-nav{display:none;position:absolute;left:0;right:0;top:100%;z-index:20;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:12px 22px 20px;background:var(--a11y-surface);border-bottom:1px solid #64747a;max-height:calc(100dvh - var(--a11y-header) - 1rem);overflow-y:auto}.js .main-nav.is-open{display:flex}.main-nav a{padding:11px 0;border-bottom:1px solid #64747a}.nav-row{min-height:4.75rem;gap:12px}.brand{max-width:calc(100% - 116px)}.brand img{max-width:42%;object-fit:contain}.brand-ov img[src*=kleinenbroich]{max-width:100%}.brand span{white-space:normal;overflow-wrap:anywhere}}
@media(max-width:600px){.local-card{min-height:14rem!important}.social-grid.has-posts{display:grid;grid-template-columns:1fr;overflow:visible;margin-inline:0;padding:0;scroll-snap-type:none}.social-post{min-width:0}.mobile-actions{position:static;margin-top:1rem}.mobile-actions a{white-space:normal}body:has(.mobile-actions){padding-bottom:0}.back-to-top,body:has(.mobile-actions) .back-to-top{position:static;visibility:visible;opacity:1;transform:none;margin:1rem auto;width:44px}.a11y-panel{inset:.5rem;width:calc(100% - 1rem);height:calc(100% - 1rem);max-height:calc(100dvh - 1rem);padding:1rem}.a11y-panel-header{flex-wrap:wrap}.a11y-profiles{grid-template-columns:1fr}.member-heading{flex-wrap:wrap}.event{grid-template-columns:3.5rem minmax(0,1fr)}.event>a{grid-column:2}.event p{display:block}.button-row{flex-wrap:wrap}.button{white-space:normal}.news-filter-show{min-width:0}}
@media(prefers-reduced-motion:reduce){html,html *{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}.news-card:hover,.news-card:focus-within{transform:none}}
@media(forced-colors:active){:is(a,button,input,select,summary,[tabindex]):focus-visible{outline:3px solid Highlight;box-shadow:none}.a11y-launch,.button,.quick-nav a,.a11y-panel button{border:2px solid ButtonText}.a11y-panel button[aria-pressed="true"]{border:3px solid Highlight}.a11y-choice input{forced-color-adjust:auto}.local-card :is(strong,small,p){forced-color-adjust:auto}.a11y-panel::backdrop{background:Canvas;opacity:.8}}

/* Navigation and all content stay reachable when scripts are disabled. */
@media(max-width:1100px){html:not(.js) .nav-row{flex-wrap:wrap}html:not(.js) .main-nav{display:flex;position:static;width:100%;margin:0;flex-wrap:wrap;gap:1rem}html:not(.js) .menu-toggle{display:none}}
@media(max-width:600px){html[data-a11y-large] .nav-row{flex-wrap:wrap;padding-block:10px}html[data-a11y-large] .nav-row>.brand{flex-basis:100%;max-width:100%;justify-content:flex-start}html[data-a11y-large] .menu-toggle{margin-left:0}html[data-a11y-large] .a11y-launch{margin-left:auto}.chair-hero-grid,.content-grid,.news-home-grid,.social-grid.has-posts{grid-template-columns:minmax(0,1fr)}.section-head>div{min-width:0;max-width:100%}.social-post{width:100%}.mobile-actions{grid-template-columns:1fr}.mobile-actions a{min-width:0;min-height:44px}}
html{overflow-x:visible}
.a11y-panel :is(button,legend){max-width:100%;overflow-wrap:anywhere}
html[data-a11y-contrast] :is(.local-card,.local-card>span,.local-card strong,.local-card small,.local-card b,.local-card em,.events-layout>div:first-child,.event time,.join-inner>div){background:var(--a11y-surface)!important;color:var(--a11y-text)!important}
html[data-a11y-contrast] :is(.organisation-root,.organisation-branches a,.news-context-note){background:var(--a11y-surface)!important;color:var(--a11y-text)!important;border-color:var(--a11y-border)!important}
html[data-a11y-contrast="dark"] .organisation-branches a{color:var(--a11y-link)!important}
