/* RUHEPOL®-Bedienhilfe (Lupe, Schriftgröße, Vorlesen) – übernommen von ruhepol.de / creasano.de, angepasst für amanu.com
   Produkt der Ruhepol Health Organization GmbH, konzipiert von Wolfgang F. Mosebach */
.a11y { position: fixed; right: max(12px, env(safe-area-inset-right)); top: 34vh; z-index: 45; font: 500 16px/1.3 var(--ff); }
.a11y[hidden], .a11y-panel[hidden], .a11y-lens[hidden], .a11y-mini[hidden] { display: none !important; }
.a11y-fab { position: relative; width: 62px; height: 62px; isolation: isolate; }
.a11y-btn { width: 62px; height: 62px; padding: 0; border: 0; border-radius: 50%; background: #ffe600; cursor: pointer; display: block; box-shadow: 0 10px 22px -8px rgba(15,27,43,.55), inset 0 -4px 8px rgba(120,80,0,.25), inset 0 3px 5px rgba(255,255,255,.5); transition: transform .15s; }
.a11y-btn:hover { transform: scale(1.06); }
.a11y-btn svg { width: 100%; height: 100%; display: block; }
@keyframes a11ySonar { 0% { transform: translateX(0) scale(1); opacity: .95; } 100% { transform: translateX(-58px) scale(2.6); opacity: 0; } }
@keyframes a11ySonarKlein { 0% { transform: translateX(0) scale(1); opacity: .95; } 100% { transform: translateX(-34px) scale(2.2); opacity: 0; } }
.a11y-fab::before, .a11y-fab::after, .a11y-mini::before, .a11y-mini::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; border: 5px solid transparent; border-left-color: rgba(172,204,154,.95); opacity: 0; pointer-events: none; filter: drop-shadow(0 0 5px rgba(172,204,154,.9)); }
.a11y-mini::before, .a11y-mini::after { border-width: 4px; }
.a11y.a11y-active .a11y-fab::before, .a11y-mini.a11y-active::before { animation: a11ySonar 4.8s ease-out infinite; }
.a11y.a11y-active .a11y-fab::after, .a11y-mini.a11y-active::after { animation: a11ySonar 4.8s ease-out 2.4s infinite; }
.a11y-mini.a11y-active::before, .a11y-mini.a11y-active::after { animation-name: a11ySonarKlein; }
@media (prefers-reduced-motion: reduce) {
  .a11y.a11y-active .a11y-btn { box-shadow: 0 0 0 7px rgba(172,204,154,.85) !important; }
  .a11y-mini.a11y-active { box-shadow: 0 0 0 5px rgba(172,204,154,.85) !important; }
}
.a11y-btn:focus-visible, .a11y-x:focus-visible, .a11y-item:focus-visible, .a11y-fsbtns button:focus-visible, .a11y-mini:focus-visible { outline: 3px solid #275d90; outline-offset: 3px; }
.a11y-x { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #0f1b2b; color: #fff; cursor: pointer; display: grid; place-items: center; }
.a11y-x svg { width: 12px; height: 12px; }
.a11y-panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(310px, calc(100vw - 24px)); max-height: calc(66vh - 90px); overflow: auto; background: #0f1b2b; color: #fff; border-radius: 20px; padding: 14px; display: grid; gap: 8px; box-shadow: 0 22px 44px -12px rgba(15,27,43,.6); border: 3px solid #ffe600; }
.a11y-title { margin: 2px 4px 4px; font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 10px; color: #fff; }
.a11y-title svg { width: 26px; height: 26px; flex: 0 0 auto; }
.a11y-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 10px; border: 0; border-radius: 14px; background: rgba(255,255,255,.08); color: #fff; font: 600 16px/1.25 var(--ff); text-align: left; text-decoration: none; cursor: pointer; }
button.a11y-item:hover, a.a11y-item:hover { background: rgba(255,255,255,.16); color: #fff; text-decoration: none; }
.a11y-item[aria-pressed="true"] { background: rgba(255,230,0,.14); color: #ffe600; box-shadow: inset 0 0 0 2px #ffe600; }
.a11y-item[aria-pressed="true"] .a11y-ic { background: #ffe600; color: #0f1b2b; }
.a11y-on { display: none; margin-left: auto; font-size: 13px; font-weight: 800; letter-spacing: .04em; background: #ffe600; color: #0f1b2b; border-radius: 999px; padding: 3px 10px; }
.a11y-item[aria-pressed="true"] .a11y-on { display: inline-block; }
.a11y-hint { margin: -2px 6px 4px; font-size: 14px; line-height: 1.35; color: #ffe600; }
.a11y-ic { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; background: #ffe600; color: #0f1b2b; display: grid; place-items: center; }
.a11y-ic svg { width: 24px; height: 24px; }
.a11y-fs { flex-wrap: wrap; cursor: default; }
.a11y-fsbtns { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.a11y-fsbtns button { width: 40px; height: 40px; border: 0; border-radius: 10px; background: #ffe600; color: #0f1b2b; font: 800 15px var(--ff); cursor: pointer; }
.a11y-fsbtns button:disabled { opacity: .4; cursor: default; }
.a11y-fsbtns output { min-width: 46px; text-align: center; font-size: 14px; }
.a11y-lens { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: max-content; max-width: min(980px, calc(100vw - 32px)); max-height: 45vh; overflow: hidden; background: #0f1b2b; color: #fff; border: 3px solid #ffe600; border-radius: 18px; padding: 16px 22px; font: 600 clamp(1.4rem, 3vw, 2.3rem)/1.35 var(--ff); z-index: 46; pointer-events: none; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); }
.a11y-lensed { outline: 3px solid #ffe600 !important; outline-offset: 3px; }
html.a11y-readmode .a11y-rd-hover { outline: 3px solid #ffe600 !important; outline-offset: 4px; cursor: pointer; }
html.a11y-readmode .a11y-rd-now { outline: 5px solid #ffe600 !important; outline-offset: 4px; box-shadow: 0 0 0 12px rgba(255,230,0,.18) !important; }
.a11y-tip { position: absolute; right: calc(100% + 14px); top: 50%; transform: translate(6px, -50%); background: #0f1b2b; color: #fff; font: 800 19px/1.2 var(--ff); padding: 9px 16px; border-radius: 12px; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; box-shadow: 0 10px 24px -8px rgba(15,27,43,.5); transition: opacity .15s, transform .15s, visibility 0s linear .15s; z-index: 2; }
.a11y-tip::after { content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 7px solid transparent; border-left-color: #0f1b2b; }
.a11y-tip-x { top: 4px; font-size: 16px; padding: 7px 12px; }
.a11y-btn:hover ~ .a11y-tip-btn, .a11y-btn:focus-visible ~ .a11y-tip-btn, .a11y-x:hover ~ .a11y-tip-x, .a11y-x:focus-visible ~ .a11y-tip-x, .a11y-mini:hover .a11y-tip, .a11y-mini:focus-visible .a11y-tip { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.a11y-btn[aria-expanded="true"] ~ .a11y-tip-btn { opacity: 0; visibility: hidden; }
.a11y-mini .a11y-tip { right: 0; top: calc(100% + 12px); transform: translateY(-6px); }
.a11y-mini .a11y-tip::after { left: auto; right: 12px; top: auto; bottom: 100%; transform: none; border-left-color: transparent; border-bottom-color: #0f1b2b; }
.a11y-mini:hover .a11y-tip, .a11y-mini:focus-visible .a11y-tip { transform: none; }
@media (hover: none) { .a11y-tip { display: none; } }
.a11y-mini { position: relative; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #ffe600; cursor: pointer; flex: 0 0 auto; isolation: isolate; }
.a11y-mini svg { width: 100%; height: 100%; display: block; border-radius: 50%; }
@media (max-width: 760px) {
  .a11y { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); }
  .a11y-panel { top: auto; bottom: calc(100% + 12px); max-height: calc(70vh - 90px); }
}
@media (max-width: 640px) { .a11y-fab, .a11y-btn { width: 52px; height: 52px; } .a11y-mini { width: 32px; height: 32px; } }
@media print { .a11y, .a11y-mini { display: none !important; } }

/* --- amanu: Platz für das verkleinerte Symbol in der Kopfzeile --- */
.kopf-rechts { display: flex; align-items: center; gap: 12px; }

/* --- amanu: Schriftvergrößerung (bis 175 %) – nichts darf abgeschnitten werden --- */
html.a11y-fs .navi ul { flex-wrap: wrap; justify-content: flex-end; }
html.a11y-fs .kopf .wrap { flex-wrap: wrap; }
html.a11y-fs .hero h1 .name { white-space: normal; }
html.a11y-fs .hero-unten .hinweis { white-space: normal; }
html.a11y-fs .termin-nr { white-space: normal; min-width: 0; }
html.a11y-fs .termin { flex-wrap: wrap; }
html.a11y-fs .termin-nr, html.a11y-fs .termin-info { flex: 1 1 220px; }
html.a11y-fs main * { overflow-wrap: anywhere; }
@media (max-width: 820px) {
  html.a11y-fs .hero h1 { font-size: min(2rem, 9vw); }
  html.a11y-fs h2 { font-size: min(1.7rem, 7.4vw); }
  html.a11y-fs .seitentitel h1 { font-size: min(2rem, 8.6vw); }
}
/* Seite Barrierefreiheit */
.bf-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 18px 0 8px; }
.bf-feat { padding: 20px; }
.bf-feat .a11y-ic { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 12px; }
.bf-feat .a11y-ic svg { width: 30px; height: 30px; }
.bf-feat h3 { margin-bottom: 6px; }
.bf-feat p { margin: 0; font-size: .95rem; }
@media (max-width: 820px) { .bf-features { grid-template-columns: 1fr; } }
