#rhg-lesehilfen[hidden], #rhg-lesehilfen [hidden], html.rhg-lese-aktiv .rs-reader-button,
html.rhg-lese-aktiv .rs-reader-dialog { display:none !important; }
#rhg-lesehilfen { color:#20272b; font:500 16px/1.45 "RK Montserrat",Arial,sans-serif; text-align:left; }
#rhg-lesehilfen *, #rhg-lesehilfen *::before, #rhg-lesehilfen *::after { box-sizing:border-box; }
#rhg-lesehilfen button, #rhg-lesehilfen select, #rhg-lesehilfen input { font:inherit; color:inherit; }
#rhg-lesehilfen button { cursor:pointer; }
#rhg-lesehilfen :focus-visible { outline:3px solid #185b86;outline-offset:3px; }
#rhg-lesehilfen .rhg-leseoeffner { position:fixed;left:max(14px,env(safe-area-inset-left));bottom:max(14px,env(safe-area-inset-bottom));z-index:99990;display:grid;place-items:center;width:48px;height:48px;padding:0;border:2px solid #fff;border-radius:50%;background:#30383c;color:#fff;box-shadow:0 2px 9px #17202750; }
#rhg-lesehilfen .rhg-leseoeffner svg {width:29px;height:29px;}
#rhg-lesehilfen .rhg-leseoeffner:is(:hover,:focus-visible) { background:#991f18; }
.rhg-lesetipp { position:absolute;left:calc(100% + 10px);white-space:nowrap;background:#252c30;color:#fff;font-size:13px;line-height:1.3;font-weight:700;padding:9px 12px;border-radius:5px;opacity:0;visibility:hidden;pointer-events:none; }
.rhg-lesetipp kbd { margin-left:4px;font:inherit;color:#dce0e2; }
.rhg-leseoeffner:is(:hover,:focus-visible) .rhg-lesetipp {visibility:visible;opacity:1;}
.rhg-leseoeffner.rhg-tipp-aus .rhg-lesetipp {visibility:hidden;opacity:0;}
#rhg-lesemenue { position:fixed; inset:0; width:min(440px,calc(100vw - 28px));max-width:none;max-height:min(85vh,740px);max-height:min(85dvh,740px);height:fit-content;box-sizing:border-box;margin:auto;padding:0;border:1px solid #b8bdc1;border-radius:11px;background:#fff;color:#20272b;box-shadow:0 16px 62px #111b2640;overflow:auto;overscroll-behavior:contain; }
#rhg-lesemenue[open] { display:flex;flex-direction:column; }
#rhg-lesemenue::backdrop { background:rgb(18 25 30 / 51%); }
.rhg-lesekopf, .rhg-lesefuss { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 21px;flex:none; }
.rhg-lesekopf {border-bottom:1px solid #dedfe0;}
#rhg-lesemenue h2 { margin:0;padding:0;color:#20272b;font:700 23px/1.2 "RK Montserrat",Arial,sans-serif; }
.rhg-lesekopf button { width:44px;height:44px;background:transparent;border:0;padding:0; }
.rhg-lesekopf button span { font:400 30px/1 Arial,sans-serif; }
.rhg-leseinhalt {padding:0 21px;overflow:auto;overscroll-behavior:contain;min-height:0;}
#rhg-lesemenue fieldset { border:0;padding:13px 0 8px;margin:0;min-inline-size:0; }
#rhg-lesemenue fieldset + fieldset {border-top:1px solid #e2e4e5;}
#rhg-lesemenue legend {padding:0;margin:0;float:left;width:100%;font-size:15px;font-weight:750;color:#8f251e;}
#rhg-lesemenue legend + * {clear:both;}
#rhg-lesemenue label { display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:0;font-weight:600;font-size:14px;line-height:1.35;cursor:pointer; }
#rhg-lesemenue select {min-height:40px;min-width:115px;max-width:55%;padding:4px 6px;border:1px solid #747c80;border-radius:4px;background:#fff;font-size:14px;font-weight:550;}
#rhg-lesemenue input[type=checkbox] { appearance:auto;accent-color:#9e241c;width:21px;height:21px;margin:0 5px 0 0;flex:none; }
#rhg-lesemenue p { padding:0;margin:5px 0 9px;color:#4c565a;font-size:13px;line-height:1.5; }
.rhg-sprachauswahl {display:flex;gap:8px;}
#rhg-lesemenue :is(.rhg-sprachauswahl,.rhg-lesefuss) button {min-height:44px;background:#fff;border:1px solid #717c80;border-radius:4px;padding:5px 12px;font:650 14px/1.4 "RK Montserrat",Arial,sans-serif;}
#rhg-lesemenue .rhg-lesefuss button[data-rhg-close] {background:#30383c;color:#fff;border-color:#30383c;}
.rhg-lesefuss {border-top:1px solid #dedfe0;}
#rhg-lesemenue .rhg-lesestatus:empty {display:none;}
.rhg-leselinie { position:fixed;z-index:99989;left:0;right:0;top:var(--rhg-linienposition,50vh);height:3px;background:#8e251b;box-shadow:0 1px #fff,0 -1px #fff;pointer-events:none; }
html:has(#rhg-lesemenue[open]) .rhg-leselinie {display:none;}
html.rhg-schrift #page-container [data-rhg-schrift] { font-size:calc(var(--rhg-grundschrift) * var(--rhg-faktor)) !important;overflow-wrap:anywhere; }
html.rhg-zeilen #page-container :is(p,li,blockquote,figcaption,label,dt,dd,td,th) { line-height:var(--rhg-zeilenabstand) !important; }
html.rhg-woerter #page-container :is(p,a,button,li,blockquote,figcaption,label,dt,dd,td,th,h1,h2,h3,h4,h5,h6,summary,input,textarea) { word-spacing:var(--rhg-wortabstand) !important; }
html.rhg-einfache-schrift #page-container :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,figcaption,dt,dd,th,td,summary,label,legend,input,textarea,select,address,small,strong,em,a,button) {font-family:Arial,Helvetica,sans-serif !important;}
html.rhg-projektbilder-aus #page-container [data-rhg-projektfoto] :is(img,picture,.rs-image-surface) { display:none !important; }
html.rhg-projektbilder-aus #page-container [data-rhg-projektfoto] {display:block;min-height:0 !important;height:auto !important;aspect-ratio:auto !important;box-shadow:none !important;}
html.rhg-projektbilder-aus #page-container [data-rhg-projektfoto] figcaption {position:static !important;display:block;color:#273137;background:#fff;}
#page-container .rhg-bildersatz {display:none;}
html.rhg-projektbilder-aus #page-container .rhg-bildersatz {display:block;padding:8px 0;font-size:15px;line-height:1.5;}
html.rhg-kontrast #page-container :is(header,footer,section,article,aside,nav,details,summary,figure,figcaption,form,fieldset,table,th,td,dt,dd,label,legend,input,textarea,select,button,address,li,p,h1,h2,h3,h4,h5,h6,a,strong,em,span:not(:empty)) { color:#101518 !important; background-color:#fff !important; text-shadow:none !important; }
html.rhg-kontrast #page-container a, html.rhg-kontrast #page-container a :is(span,strong) {color:#003f69 !important;text-decoration:underline !important;text-underline-offset:.16em;}
html.rhg-kontrast #page-container :is(button,input:not([type=hidden]),select,textarea,summary) {border:1px solid #26343b !important;}
html.rhg-kontrast #page-container :focus-visible {outline:3px solid #005487 !important;outline-offset:3px;}
html.rhg-bewegungsarm {scroll-behavior:auto !important;}
html.rhg-bewegungsarm #page-container *, html.rhg-bewegungsarm #page-container *::before, html.rhg-bewegungsarm #page-container *::after {animation-duration:0.001ms !important;animation-iteration-count:1 !important;transition-duration:0.001ms !important;scroll-behavior:auto !important;}
html.rhg-bewegungsarm #page-container :is(figure,.rs-image-surface):hover img {transform:none !important;}
@media (max-width:520px) {
    #rhg-lesemenue {max-height:calc(100vh - 26px);max-height:calc(100dvh - 26px);}
    .rhg-lesekopf,.rhg-lesefuss {padding:8px 15px;}
    .rhg-leseinhalt {padding-inline:15px;}
    #rhg-lesehilfen .rhg-leseoeffner {width:44px;height:44px;left:max(8px,env(safe-area-inset-left));bottom:max(8px,env(safe-area-inset-bottom));}
}
@media (forced-colors:active) {
    #rhg-lesehilfen .rhg-leseoeffner,#rhg-lesemenue {border:2px solid ButtonText;}
    .rhg-leselinie {background:Highlight;forced-color-adjust:none;}
}
@media print { #rhg-lesehilfen {display:none !important;} }
