.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.site-tool-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.readaloud{width:38px;height:38px;margin-left:0;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--green);cursor:pointer}.site-tool-button:hover,.site-tool-button:focus-visible{border-color:var(--gold);outline:none;box-shadow:0 0 0 3px rgba(195,136,42,.12)}.site-tool-button.speech-persistent-active{border-color:var(--gold);background:#fffaf0;box-shadow:0 0 0 3px rgba(195,136,42,.12)}
.site-search-modal,.speech-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:start center;padding:90px 18px 24px}.site-search-modal[hidden],.speech-modal[hidden]{display:none}.site-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(11,35,31,.56);cursor:default}.site-tool-dialog{position:relative;z-index:1;width:min(760px,calc(100vw - 36px));max-height:calc(100vh - 120px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 28px 80px rgba(10,35,31,.28);padding:28px}.site-tool-dialog h2{font-family:Georgia,serif;font-size:32px;line-height:1.08;font-weight:500;margin:6px 38px 18px 0}.site-tool-close{position:absolute;top:15px;right:15px;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--green);font-size:25px;line-height:1;cursor:pointer}.site-tool-close:hover,.site-tool-close:focus-visible{border-color:var(--gold);outline:none}.site-search-input-wrap{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:7px 8px 7px 13px;background:#fff}.site-search-input-wrap>svg{width:21px;height:21px;fill:none;stroke:var(--green);stroke-width:1.8;stroke-linecap:round}.site-search-input-wrap input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:18px;color:var(--ink);padding:9px 2px}.site-search-input-wrap input::placeholder{color:#87918d}.site-search-status{min-height:21px;margin:12px 2px 8px;color:var(--muted);font-size:12px}.site-search-suggestions{display:grid;gap:8px}.site-search-suggestion{display:grid;grid-template-columns:1fr auto;gap:4px 14px;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:var(--paper);transition:border-color .16s,background .16s}.site-search-suggestion:hover,.site-search-suggestion:focus-visible{background:#fff;border-color:#cdbb9c;outline:none}.site-search-suggestion strong{font-size:14px}.site-search-suggestion small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--gold);font-weight:800}.site-search-suggestion p{grid-column:1 / -1;margin:2px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.site-search-more{display:flex;justify-content:center;margin-top:8px}.site-search-more a{font-size:12px;font-weight:800;color:var(--green);padding:8px 10px}
.mobile-menu-tools{display:none}
.speech-intro{color:var(--muted);font-size:14px;line-height:1.6;margin:0 0 18px}.speech-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.speech-mode-switch{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--line);border-radius:11px;background:var(--paper);cursor:pointer}.speech-mode-switch input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--green)}.speech-mode-switch span{display:grid;gap:3px;font-size:13px}.speech-mode-switch strong{font-weight:800}.speech-mode-switch small{font-size:11.5px;line-height:1.45;color:var(--muted);font-weight:500}.speech-rate-label{display:block;margin:18px 0 6px;font-size:12px;font-weight:800}.speech-dialog select{width:100%;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);padding:10px 12px;font:inherit}.speech-note{margin:16px 0 0;font-size:11.5px;line-height:1.5;color:var(--muted)}.speech-status{min-height:20px;margin-top:10px;color:var(--green);font-size:12px;font-weight:700}body.speech-hover-active .site-header a,body.speech-hover-active .site-header button,body.speech-hover-active #content [data-speech-target],body.speech-hover-active #content h1,body.speech-hover-active #content h2,body.speech-hover-active #content h3,body.speech-hover-active #content p,body.speech-hover-active #content li,body.speech-hover-active #content a,body.speech-hover-active #content button,body.speech-hover-active #content img[alt]:not([alt=""]),body.speech-hover-active .site-footer a,body.speech-hover-active .site-footer p,body.speech-hover-active .site-footer li{cursor:help}body.speech-target-active{--speech-outline:rgba(195,136,42,.48)}.speech-current-target{outline:3px solid var(--speech-outline,rgba(195,136,42,.48))!important;outline-offset:3px!important;border-radius:4px}
.search-page{padding-top:26px}.search-page-title{align-items:flex-end}.search-page-panel{padding:26px;min-height:0;overflow:auto}.search-page-form label{display:block;font-size:12px;font-weight:800;margin-bottom:7px}.search-page-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.search-page-input-row input{min-width:0;width:100%;border:1px solid var(--line);border-radius:9px;background:#fff;padding:11px 13px;font:inherit;font-size:16px;color:var(--ink);outline:none}.search-page-input-row input:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(195,136,42,.11)}.search-results-head{margin:20px 0 10px;padding-top:18px;border-top:1px solid var(--line);font-size:13px}.search-results-list{display:grid;gap:10px}.search-result-card{position:relative;display:block;padding:15px 48px 15px 16px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.search-result-card:hover,.search-result-card:focus-visible{background:#fff;border-color:#ccb894;outline:none}.search-result-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--gold);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.search-result-meta time{color:var(--muted);text-transform:none;letter-spacing:0}.search-result-card h2{font-family:Georgia,serif;font-size:20px;font-weight:600;margin:4px 0}.search-result-card p{margin:0;color:var(--muted);font-size:12.5px;line-height:1.5}.search-result-arrow{position:absolute;right:17px;top:50%;transform:translateY(-50%);font-size:20px;color:var(--green)}.search-page-empty{margin-top:22px;padding:28px;border:1px dashed #d7cdbf;border-radius:10px;text-align:center;color:var(--muted)}.search-page-empty strong{display:block;color:var(--green);font-family:Georgia,serif;font-size:22px;margin-bottom:6px}.search-page-empty p{margin:0;font-size:13px}
@media(max-width:1180px){.readaloud{display:none!important}.mobile-menu-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:10px}.mobile-menu-tools button{min-height:46px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--green);font-weight:800;text-align:left;padding:9px 12px;cursor:pointer}.mobile-menu-tools button span{display:inline-block;width:22px;color:var(--gold)}.site-search-modal,.speech-modal{padding-top:74px}.site-tool-dialog{max-height:calc(100vh - 94px)}}
@media(max-width:620px){.site-tool-dialog{padding:22px 18px;border-radius:14px}.site-tool-dialog h2{font-size:27px}.site-search-input-wrap{grid-template-columns:auto minmax(0,1fr);padding:8px 10px}.site-search-input-wrap .btn{grid-column:1 / -1;width:100%}.site-search-input-wrap input{font-size:16px}.mobile-menu-tools{grid-template-columns:1fr}.search-page-input-row{grid-template-columns:1fr}.search-page-input-row .btn{width:100%}.search-page-panel{padding:18px}.search-result-card{padding-right:38px}}
body.site-modal-open{overflow:hidden}

body.site-modal-open{overflow:hidden}
.site-tools{display:flex;align-items:center;gap:8px;flex:0 0 auto}.site-tools .search,.site-tools .readaloud{margin-left:0}@media(max-width:1180px){.site-tools{display:none!important}}
@media(min-width:1181px) and (max-width:1400px){.nav-shell{gap:18px}.brand{min-width:330px}.mainnav{gap:20px}.site-tools{gap:5px}}


/* =========================================================
   v74 – natürlichere Seitenwiedergabe & Leseposition
   ========================================================= */
.speech-settings-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(180px,.75fr);
  gap:12px;
  align-items:end;
  margin-top:16px;
}
.speech-settings-grid .speech-rate-label{margin:0 0 6px}
.speech-settings-grid select{min-height:46px}

/* Die Markierung verändert keine Abstände. Sie wandert blockweise mit dem
   vorgelesenen Inhalt und bleibt deshalb auch bei langen Seiten ruhig. */
.speech-page-current{
  position:relative;
  outline:3px solid rgba(195,136,42,.64)!important;
  outline-offset:5px!important;
  border-radius:5px;
  background-color:rgba(245,235,204,.34)!important;
  box-shadow:-6px 0 0 rgba(195,136,42,.92);
  transition:background-color .18s ease,outline-color .18s ease,box-shadow .18s ease;
  scroll-margin-block:120px;
}

@media(max-width:620px){
  .speech-settings-grid{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){
  .speech-page-current{transition:none}
}
