/* Webtindo Core – Bedienhilfe „Darstellung anpassen“. Gestaltbar über Custom Properties im Theme/Child-Theme. */
:root{--wt-a11y-bg:#fff;--wt-a11y-fg:#14212b;--wt-a11y-muted:#4a5963;--wt-a11y-accent:#155f76;--wt-a11y-accent-fg:#fff;--wt-a11y-line:#8a99a3;--wt-a11y-focus:#bd5a00;--wt-a11y-radius:8px;--wt-a11y-shadow:0 10px 30px rgba(0,0,0,.22);--wt-a11y-offset:1rem;--wt-a11y-z:99990}
.wt-a11y{display:none;font-family:inherit;font-size:1rem;line-height:1.4;color:var(--wt-a11y-fg)}
.wt-a11y-js .wt-a11y{display:block}
.wt-a11y--bottom-right,.wt-a11y--bottom-left{position:fixed;bottom:var(--wt-a11y-offset);z-index:var(--wt-a11y-z)}
.wt-a11y--bottom-right{right:var(--wt-a11y-offset)}.wt-a11y--bottom-left{left:var(--wt-a11y-offset)}
.wt-a11y--inline{position:relative;display:none}.wt-a11y-js .wt-a11y--inline{display:inline-block}
.wt-a11y .wt-a11y__toggle{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;min-width:44px;padding:.5rem .9rem;border:2px solid var(--wt-a11y-accent);border-radius:999px;background:var(--wt-a11y-accent);color:var(--wt-a11y-accent-fg);font:inherit;font-weight:650;cursor:pointer;box-shadow:var(--wt-a11y-shadow)}
.wt-a11y--inline .wt-a11y__toggle{box-shadow:none}
.wt-a11y__icon{fill:currentColor;flex:0 0 auto}
.wt-a11y__panel{position:absolute;bottom:calc(100% + .6rem);width:min(21rem,calc(100vw - 2 * var(--wt-a11y-offset)));max-height:calc(100vh - 6rem);overflow:auto;padding:1rem;background:var(--wt-a11y-bg);color:var(--wt-a11y-fg);border:1px solid var(--wt-a11y-line);border-radius:var(--wt-a11y-radius);box-shadow:var(--wt-a11y-shadow);z-index:var(--wt-a11y-z)}
.wt-a11y--bottom-right .wt-a11y__panel{right:0}.wt-a11y--bottom-left .wt-a11y__panel{left:0}
.wt-a11y--inline .wt-a11y__panel{top:calc(100% + .5rem);bottom:auto;right:0}
.wt-a11y__panel[hidden]{display:none}
.wt-a11y__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.6rem}
.wt-a11y__title{margin:0;font-weight:750;font-size:1.05rem}
.wt-a11y button{font:inherit;color:var(--wt-a11y-fg)}
.wt-a11y__close{min-width:44px;min-height:44px;border:1px solid var(--wt-a11y-line);border-radius:var(--wt-a11y-radius);background:transparent;cursor:pointer;font-size:1.4rem;line-height:1}
.wt-a11y__row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.4rem 0;border-bottom:1px solid var(--wt-a11y-line)}
.wt-a11y__stepper{display:inline-flex;align-items:center;gap:.4rem}
.wt-a11y__step{min-width:44px;min-height:44px;border:1px solid var(--wt-a11y-line);border-radius:var(--wt-a11y-radius);background:transparent;cursor:pointer;font-weight:700}
.wt-a11y__step[aria-disabled="true"]{opacity:.5;cursor:not-allowed}
.wt-a11y__value{min-width:3.5em;text-align:center;font-variant-numeric:tabular-nums}
.wt-a11y__options{list-style:none;margin:.5rem 0;padding:0;display:grid;gap:.35rem}
.wt-a11y__options li{margin:0;list-style:none}
.wt-a11y__switch{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;min-height:44px;padding:.45rem .7rem;border:1px solid var(--wt-a11y-line);border-radius:var(--wt-a11y-radius);background:transparent;text-align:start;cursor:pointer}
.wt-a11y__switch-state{flex:0 0 auto;width:2.6rem;height:1.4rem;border-radius:999px;border:2px solid var(--wt-a11y-muted);position:relative;box-sizing:border-box}
.wt-a11y__switch-state::after{content:"";position:absolute;top:2px;left:2px;width:.9rem;height:.9rem;border-radius:50%;background:var(--wt-a11y-muted)}
.wt-a11y__switch[aria-pressed="true"]{border-color:var(--wt-a11y-accent);box-shadow:inset 0 0 0 1px var(--wt-a11y-accent)}
.wt-a11y__switch[aria-pressed="true"] .wt-a11y__switch-state{background:var(--wt-a11y-accent);border-color:var(--wt-a11y-accent)}
.wt-a11y__switch[aria-pressed="true"] .wt-a11y__switch-state::after{left:auto;right:2px;background:var(--wt-a11y-accent-fg)}
.wt-a11y__reset{width:100%;min-height:44px;margin-top:.25rem;border:2px solid var(--wt-a11y-fg);border-radius:var(--wt-a11y-radius);background:transparent;cursor:pointer;font-weight:650}
.wt-a11y__note{margin:.6rem 0 0;font-size:.85rem;color:var(--wt-a11y-muted)}
.wt-a11y button:focus-visible{outline:3px solid var(--wt-a11y-focus);outline-offset:2px}
@media (forced-colors:active){.wt-a11y__switch[aria-pressed="true"] .wt-a11y__switch-state{background:Highlight}.wt-a11y__toggle{border-color:ButtonText}}
/* Modi: Schriftgröße (wirkt auf rem/em), reduzierte Bewegung, Textabstände (WCAG 1.4.12). */
html.wt-a11y-fs{font-size:calc(100% * var(--wt-a11y-scale,1))}
html.wt-a11y-floating{scroll-padding-bottom:5.5rem}
html.wt-a11y-motion{scroll-behavior:auto!important}
/* Übergänge ganz abschalten (eine sehr kurze Dauer würde bei transition-property:all neue Übergänge erzeugen); Animationen sofort beenden. */
html.wt-a11y-motion *,html.wt-a11y-motion *::before,html.wt-a11y-motion *::after{transition:none!important;animation-duration:.001ms!important;animation-iteration-count:1!important;animation-delay:0s!important;scroll-behavior:auto!important}
html.wt-a11y-spacing body :where(p,li,dd,dt,blockquote,td,th,label,a,span,div){line-height:1.5!important;letter-spacing:.12em!important;word-spacing:.16em!important}
html.wt-a11y-spacing body :where(p){margin-bottom:2em!important}
html.wt-a11y-spacing .wt-a11y *{letter-spacing:normal!important;word-spacing:normal!important}
@media print{.wt-a11y{display:none!important}}
