/* Rupsch Architekten – Bedienhilfen: Einstellungen (Klassen am <html>) und Bedienfeld */

/* Schriftgröße: alle Größen der Seite sind in rem angegeben */
html.bh-gross{font-size:115%}
html.bh-sehr-gross{font-size:132%}

/* Hoher Kontrast */
html.bh-kontrast{--grau:#2b2f31;--anthrazit:#111}
html.bh-kontrast body{color:#111}
html.bh-kontrast a{text-decoration:underline!important;text-underline-offset:.18em}
html.bh-kontrast .fuss{background:#fff;color:#000;border-top:4px solid var(--anthrazit)}
html.bh-kontrast .fuss a,html.bh-kontrast .fuss .t{color:#000}
html.bh-kontrast .projekt img,html.bh-kontrast img.sw{filter:none!important;opacity:1!important}
html.bh-kontrast :focus-visible{outline:4px solid #000!important;outline-offset:3px;box-shadow:0 0 0 7px #fff!important}
html.bh-kontrast .lage.trans{display:none}

/* Bewegung aus */
html.bh-ruhig{scroll-behavior:auto!important}
html.bh-ruhig *,html.bh-ruhig *::before,html.bh-ruhig *::after{transition:none!important;animation:none!important}

/* Mehr Abstand */
html.bh-abstand body{line-height:1.9;letter-spacing:.03em;word-spacing:.1em}
html.bh-abstand p,html.bh-abstand li{margin-bottom:.9em}

/* Auslöser in der Fußzeile: sieht aus wie die anderen Links */
.bh-link{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;font-weight:700}
.bh-link:hover{text-decoration:underline}

/* Bedienfeld: feste Größe, unabhängig von der gewählten Schriftgröße (px statt rem) */
.bh-panel{position:fixed;right:16px;bottom:16px;z-index:100;width:min(340px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;
  background:#fff;color:#3C4042;border-top:6px solid #B5C201;box-shadow:0 10px 40px rgba(0,0,0,.28);padding:18px 20px 16px;
  font:16px/1.4 "Roboto Condensed","Arial Narrow",Arial,sans-serif;letter-spacing:normal;word-spacing:normal;text-align:left}
.bh-panel[hidden]{display:none}
.bh-kopf{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.bh-panel h2{font-size:22px;margin:0;color:#355AA0;line-height:1.2}
.bh-zu{font:28px/1 Arial,sans-serif;width:40px;height:40px;border:0;background:none;color:#3C4042;cursor:pointer}
.bh-gruppe{border:0;margin:0 0 12px;padding:0}
.bh-gruppe legend{font-weight:700;padding:0;margin-bottom:6px}
.bh-stufen{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.bh-panel button{font-family:inherit;cursor:pointer}
.bh-stufen button{padding:8px 4px;min-height:44px;border:2px solid #355AA0;background:#fff;color:#355AA0;line-height:1.1}
.bh-stufen button[aria-pressed="true"]{background:#355AA0;color:#fff;font-weight:700}
.bh-schalter{display:grid;gap:6px;margin-bottom:12px}
.bh-umschalten{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:10px;text-align:left;width:100%;
  padding:9px 12px;min-height:52px;border:2px solid #9EA4A8;background:#fff;color:#3C4042;font-size:16px}
.bh-name{font-weight:700}
.bh-hinweis{grid-column:1;font-size:13px;color:#646B6E}
.bh-an{grid-column:2;grid-row:1/3;font-size:14px;font-weight:700;padding:3px 10px;background:#E6E8E5;color:#3C4042;min-width:2.6em;text-align:center}
.bh-umschalten[aria-pressed="true"]{border-color:#355AA0}
.bh-umschalten[aria-pressed="true"] .bh-an{background:#B5C201;color:#3C4042}
.bh-zurueck{border:0;background:none;color:#355AA0;text-decoration:underline;font-size:15px;padding:6px 0;min-height:44px}
.bh-info{font-size:13px;color:#646B6E;margin:2px 0 0}
.bh-panel :focus-visible{outline:3px solid #355AA0;outline-offset:2px}
@media (max-width:760px){.bh-panel{right:12px;left:12px;width:auto;bottom:88px;max-height:calc(100vh - 110px)}}
