:root{
  --bsw-orange:#ef7900;
  --bsw-orange-dark:#d96500;
  --bsw-magenta:#c4144c;
  --bsw-burgundy:#7b1748;
  --bsw-black:#111111;
  --bsw-text:#171717;
  --bsw-muted:#626262;
  --bsw-line:#d9d9d9;
  --bsw-soft:#edf3f5;
  --bsw-white:#ffffff;
  --bsw-gradient:linear-gradient(100deg,#7b1748 0%,#c4144c 38%,#e64722 70%,#ef7900 100%);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--bsw-text);background:var(--bsw-white);font-size:16px;line-height:1.45}
a{color:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--bsw-orange);outline-offset:3px}
.site-header{background:var(--bsw-white);color:var(--bsw-black)}
.nav-wrap{max-width:1400px;min-height:92px;margin:auto;padding:12px 24px;display:flex;justify-content:space-between;align-items:center;gap:30px}
.brand{display:flex;align-items:center;gap:13px;color:var(--bsw-black);text-decoration:none;font-size:11px;line-height:1.15;font-weight:700}
.logo{position:relative;display:inline-block;color:var(--bsw-black);font-size:36px;line-height:.85;font-weight:900;letter-spacing:-.075em;padding:0 2px 7px 0}
.logo::after{content:"";position:absolute;left:0;right:1px;bottom:0;height:5px;background:var(--bsw-orange)}
.brand strong{font-weight:800}
.nav-wrap nav{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.nav-wrap nav a{position:relative;color:var(--bsw-black);text-decoration:none;font-size:13px;font-weight:800;padding:12px 0}
.nav-wrap nav a::after{content:"";position:absolute;left:0;right:100%;bottom:6px;height:3px;background:var(--bsw-orange);transition:right .18s ease}
.nav-wrap nav a:hover::after,.nav-wrap nav a:focus-visible::after,.nav-wrap nav a[aria-current="page"]::after{right:0}
.hero{max-width:none;margin:0;padding:56px max(5vw,calc((100vw - 1400px)/2 + 24px)) 60px;background:var(--bsw-gradient);color:var(--bsw-white)}
.eyebrow{margin:0;font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.hero h1{font-size:clamp(38px,5.2vw,66px);line-height:1.02;letter-spacing:-.045em;margin:14px 0 16px;max-width:1400px;font-weight:900}
.hero>p:last-child{font-size:18px;line-height:1.45;max-width:1400px}
.hero .hero-subline{font-size:clamp(10px,1.35vw,18px);line-height:1.45;max-width:none;white-space:nowrap;letter-spacing:-.01em;margin-bottom:0}
.subpage-header{background:var(--bsw-gradient);color:#fff}
.subpage-header .subpage-inner{max-width:1400px;margin:auto;padding:42px 24px}
.subpage-header p{margin:0 0 7px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.subpage-header h1{margin:0;font-size:clamp(36px,5vw,56px);line-height:1.04;letter-spacing:-.04em}
main{max-width:1400px;margin:auto;padding:54px 24px 78px}
.toolbar{display:grid;grid-template-columns:1fr 240px;gap:14px;background:var(--bsw-white);padding:0 0 28px;border-bottom:2px solid var(--bsw-black);margin-bottom:34px}
input,select{width:100%;padding:14px 15px;border:1px solid #a8a8a8;border-radius:0;background:#fff;color:var(--bsw-black);font-size:15px;font-family:inherit}
.visually-hidden-select{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}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:24px}
.section-heading h2{font-size:31px;line-height:1.1;letter-spacing:-.025em;margin:0;font-weight:900}
.section-heading p{margin:0;color:var(--bsw-muted);font-size:14px}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px}
.card{background:#fff;overflow:hidden;border-top:5px solid var(--bsw-orange);border-bottom:1px solid var(--bsw-line)}
.card:nth-child(3n+2){border-top-color:var(--bsw-magenta)}
.card:nth-child(3n+3){border-top-color:var(--bsw-burgundy)}
.preview-wrap{aspect-ratio:3/4;background:#ececec;display:grid;place-items:center;overflow:hidden;border:1px solid #e2e2e2;border-top:0}
.preview-wrap canvas{width:100%;height:100%;object-fit:cover;background:#fff}
.preview-error,.empty-state{padding:34px;text-align:center;color:var(--bsw-muted);background:var(--bsw-soft)}
.card-body{padding:17px 0 20px}
.meta{font-size:12px;font-weight:700;color:var(--bsw-muted);margin-bottom:8px;text-transform:uppercase;letter-spacing:.025em}
.card h3{font-size:19px;line-height:1.24;letter-spacing:-.015em;margin:0 0 17px;font-weight:800}
.actions{display:flex;gap:10px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;padding:10px 13px;border-radius:0;font-size:13px;transition:background .15s ease,color .15s ease}
.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;padding:10px 13px;border-radius:0;font-size:13px;transition:background .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease}
.btn.primary{background:var(--bsw-orange);color:#fff;border:1px solid var(--bsw-orange)}
.btn.primary:hover,.btn.primary:focus-visible,.btn.primary:active{background:var(--bsw-magenta);border-color:var(--bsw-magenta)}
.btn.secondary{border:1px solid var(--bsw-black);color:var(--bsw-black);background:#fff}
.btn.secondary:hover,.btn.secondary:focus-visible,.btn.secondary:active{background:#fff;color:var(--bsw-black);border-color:var(--bsw-orange);box-shadow:none}
.pagination{display:flex;justify-content:center;gap:8px;margin-top:45px;flex-wrap:wrap}
.pagination button{min-width:39px;height:39px;border-radius:0;border:1px solid var(--bsw-black);background:#fff;font-weight:800;cursor:pointer;color:var(--bsw-black)}
.pagination button:hover,.pagination button:focus-visible,.pagination button.active{background:#fff;color:var(--bsw-black);border-color:var(--bsw-orange)}
footer{position:relative;background:var(--bsw-gradient);color:#fff;padding:48px 24px 25px;margin-top:38px}
footer::before{content:"";position:absolute;top:-10px;left:21%;width:58%;height:10px;background:linear-gradient(90deg,#da6d91,#ffb33c)}
.footer-grid{max-width:1400px;margin:auto;display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:42px}
footer h2{font-size:20px;line-height:1.1;margin:0 0 15px;font-weight:900}
footer p{font-size:13px;max-width:330px}
footer a,footer a:link,footer a:visited,footer a:hover,footer a:focus,footer a:active{color:#fff;text-decoration:none}
footer ul{list-style:none;padding:0;margin:0;display:grid;gap:8px;font-size:13px;font-weight:700}
.legal{max-width:1400px;margin:34px auto 0;padding-top:20px;border-top:1px solid rgba(255,255,255,.45);color:#fff;font-size:12px}
.content-page{max-width:1400px;margin:0 auto;padding:45px 24px 76px}
.content-page h1{font-size:48px;line-height:1.05;letter-spacing:-.04em;margin-top:0;font-weight:900}
.content-page h2{margin-top:36px;font-size:27px;line-height:1.15}
.content-page p,.content-page li{line-height:1.65}
.content-page a,.content-page a:link,.content-page a:visited,.content-page a:hover,.content-page a:focus,.content-page a:active{color:inherit;text-decoration:none}
.content-page a:hover,.content-page a:focus-visible{color:inherit}
.back-link{display:inline-flex;align-items:center;font-weight:800;font-size:13px;margin-bottom:24px}
.notice{border-left:6px solid var(--bsw-orange);padding:18px 20px;background:var(--bsw-soft)}
.content-page.wide{max-width:1400px}
.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;margin:30px 0}
.editor-card{display:grid;grid-template-columns:145px 1fr;gap:20px;background:#fff;padding:0 0 22px;border-top:5px solid var(--bsw-magenta);border-bottom:1px solid var(--bsw-line)}
.editor-card:nth-child(even){border-top-color:var(--bsw-orange)}
.editor-card img{width:100%;aspect-ratio:4/5;object-fit:cover;background:#e9eef0}
.editor-card h2{margin:15px 0 5px;font-size:24px}
.editor-title{font-weight:800;color:var(--bsw-burgundy);margin-top:0}
.content-page code{background:var(--bsw-soft);padding:.15em .4em;border-radius:0}
@media(max-width:980px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.editor-grid{grid-template-columns:1fr}.hero{padding-left:24px;padding-right:24px}}
@media(max-width:620px){.grid{grid-template-columns:1fr}.nav-wrap{align-items:flex-start;flex-direction:column;padding-top:17px;padding-bottom:17px}.nav-wrap nav{gap:16px}.hero h1{font-size:42px}.hero .hero-subline{font-size:clamp(7px,2.25vw,12px);white-space:nowrap;letter-spacing:-.03em}.content-page h1{font-size:38px}.editor-card{grid-template-columns:110px 1fr}.footer-grid{grid-template-columns:1fr;gap:26px}}
@media(max-width:440px){.nav-wrap nav{display:grid;grid-template-columns:1fr 1fr}.hero .hero-subline{font-size:10px}.editor-card{grid-template-columns:1fr}.editor-card img{max-width:220px}}


/* Vorlesefunktion für markierten Text */
.read-selection-button {
  position: fixed;
  z-index: 100000;
  display: none;
  border: 0;
  background: #b51657;
  color: #fff;
  padding: .55rem .8rem;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  box-shadow: 0 .25rem 1rem rgba(0,0,0,.24);
  cursor: pointer;
}
.read-selection-button.is-visible {
  display: block;
}
.read-selection-status {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 100001;
  background: #111;
  color: #fff;
  padding: .65rem .85rem;
  font-size: .85rem;
  max-width: min(30rem, calc(100vw - 2rem));
}
.read-selection-status[hidden] {
  display: none;
}


/* Impressum und rechtliche Inhaltsseiten */
.legal-content {
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.legal-content section + section {
  margin-top: 2.5rem;
}
.legal-content h2 {
  margin: 0 0 .85rem;
}
.legal-content h3 {
  margin: 1.2rem 0 .55rem;
}
.legal-content p,
.legal-content address,
.legal-content li {
  line-height: 1.65;
}
.legal-content address {
  font-style: normal;
}
.legal-link-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}
.legal-link-list li + li {
  margin-top: .4rem;
}
.legal-content a,
.legal-content a:link,
.legal-content a:visited,
.legal-content a:hover,
.legal-content a:focus,
.legal-content a:active {
  color: inherit;
  text-decoration: none;
}


/* Hinweis zur Vorlesefunktion */
.audio-notice{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:start;
  margin:0 0 28px;
  padding:20px 22px;
  background:var(--bsw-soft);
  border-left:6px solid var(--bsw-orange);
}
.audio-notice__icon{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  background:#fff;
  color:var(--bsw-black);
  border:1px solid var(--bsw-black);
  font-size:22px;
  line-height:1;
}
.audio-notice h2{
  margin:0 0 6px;
  font-size:20px;
  line-height:1.2;
  font-weight:900;
}
.audio-notice p{
  margin:0;
  color:var(--bsw-text);
  line-height:1.55;
}
@media(max-width:620px){
  .audio-notice{
    grid-template-columns:1fr;
    gap:12px;
    padding:18px;
  }
}

/* Fortlaufendes Nachladen der Pressemitteilungen */
.load-more-button{
  width:auto;
  min-width:260px;
  height:auto;
  padding:14px 22px;
  border:0;
  border-radius:0;
  background:var(--bsw-orange);
  color:#fff;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
.load-more-button:hover,
.load-more-button:focus-visible{
  background:var(--bsw-magenta);
}
.all-loaded-status{
  margin:0;
  color:var(--bsw-muted);
  font-weight:700;
}


/* Hero-Einleitung auf 1.400 Pixel anpassen */
.hero p,
.hero-intro,
.hero__intro {
  width: 100%;
  max-width: none;
  margin-right: 0;
  font-size: clamp(15px, 1.22vw, 20px);
  line-height: 1.45;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .hero p,
  .hero-intro,
  .hero__intro {
    white-space: normal;
    font-size: clamp(16px, 2vw, 20px);
  }
}


/* PDF-Vorschau öffnet das Originaldokument in einem neuen Fenster */
.preview-wrap {
  cursor: pointer;
  position: relative;
}
.preview-wrap::after {
  content: "PDF in neuem Fenster öffnen";
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  background: rgba(0,0,0,.78);
  color: #fff;
  padding: .45rem .65rem;
  font-size: .78rem;
  line-height: 1;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.preview-wrap:hover::after,
.preview-wrap:focus::after {
  opacity: 1;
}


/* Korrektur: Einleitung nutzt maximal 1.400 Pixel und bricht erst unterhalb dieser Breite um. */
.hero .hero-subline,
.hero p.hero-subline{
  display:block;
  width:100%;
  max-width:1400px;
  margin-right:0;
  font-size:clamp(14px,1.08vw,17px);
  line-height:1.45;
  letter-spacing:-.012em;
  white-space:nowrap;
}
@media(max-width:1400px){
  .hero .hero-subline,
  .hero p.hero-subline{
    white-space:normal;
    font-size:clamp(15px,1.45vw,17px);
  }
}
.preview-wrap::after{content:"PDF barrierearm öffnen";}


/* Browsernative PDF-Erstseitenvorschau */
.pdf-preview-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  background: #fff;
  pointer-events: none;
}
.pdf-preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
}
.pagination-status {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-weight: 700;
}


/* Angepasste PDF-Erstseitenvorschau ohne Scrollleisten */
.pdf-preview-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center top;
  background:#fff;
}

/* Vorleseschaltfläche stets zentriert im sichtbaren Bildschirm */
.read-selection-button,
.read-selection-button.is-visible{
  position:fixed;
  left:50%;
  top:50%;
  right:auto;
  bottom:auto;
  transform:translate(-50%,-50%);
  margin:0;
}

/* Paginierungsstatus und Nachladefunktion mittig ausrichten */
.pagination{
  width:100%;
  align-items:center;
  justify-content:center;
}
.pagination-status{
  width:100%;
  justify-content:center;
  text-align:center;
}
.load-more-button{
  display:flex;
  margin-left:auto;
  margin-right:auto;
}
.all-loaded-status{
  display:none !important;
}

/* Einheitliche Typografie auf allen Unterseiten */
.content-page{
  font-size:18px;
  line-height:1.65;
}
.content-page > h1{
  margin:0 0 30px;
  font-size:clamp(44px,4.8vw,68px);
  line-height:1.02;
  letter-spacing:-.045em;
  font-weight:900;
}
.content-page h2{
  margin-top:42px;
  margin-bottom:14px;
  font-size:clamp(28px,2.4vw,36px);
  line-height:1.12;
  letter-spacing:-.025em;
  font-weight:900;
}
.content-page h3{
  margin-top:28px;
  margin-bottom:10px;
  font-size:clamp(21px,1.8vw,27px);
  line-height:1.2;
  font-weight:800;
}
.content-page p,
.content-page li,
.content-page address{
  font-size:18px;
  line-height:1.7;
}
.subpage-header .subpage-inner{
  padding-top:50px;
  padding-bottom:50px;
}
.subpage-header h1{
  font-size:clamp(44px,5.4vw,68px);
}


/* Seitennummern und fortlaufendes Nachladen */
.pagination{flex-direction:column;align-items:center}
.pagination-pages{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;width:100%}
.pagination-page{min-width:39px;height:39px}
.pagination-status{width:auto;justify-content:center;text-align:center}
@media print{.site-header,.subpage-header,footer,.audio-notice,.toolbar,.pagination,.actions,.viewer-toolbar{display:none!important}}


/* Vorlesesteuerung im Kopfbereich */
.speech-toggle{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--bsw-black);background:#fff;color:var(--bsw-black);cursor:pointer;padding:0;font-size:19px}
.speech-toggle-icon{display:grid;place-items:center;width:22px;height:22px}
.speech-icon-svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.audio-notice__icon .speech-icon-svg{width:24px;height:24px}
.speech-toggle:hover,.speech-toggle:focus-visible,.speech-toggle:active{background:#fff;color:var(--bsw-black);border-color:var(--bsw-orange)}
.speech-toggle[aria-pressed="false"]{opacity:.72}
.speech-toggle.is-muted .speech-icon-svg{opacity:.58}

/* Seitennavigation nach jedem Block von neun Dokumenten */
.batch-pagination{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;padding:8px 0 26px;margin:0 0 8px;border-bottom:1px solid var(--bsw-line)}
.batch-page-status{display:block;width:100%;text-align:center;font-weight:800}
.batch-page-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;width:100%}
.batch-page-links button{min-width:39px;height:39px;border-radius:0;border:1px solid var(--bsw-black);background:#fff;font-weight:800;cursor:pointer;color:var(--bsw-black)}
.batch-page-links button:hover,.batch-page-links button:focus-visible,.batch-page-links button.active{background:#fff;color:var(--bsw-black);border-color:var(--bsw-orange)}


/* Header-Logo des BSW Kreisverbandes Herne */
.brand{
  gap:16px;
}
.brand-logo{
  display:block;
  width:auto;
  height:52px;
  max-width:100%;
}
.brand-text{
  display:inline-block;
  color:var(--bsw-black);
  text-decoration:none;
  font-size:14px;
  line-height:1.1;
  font-weight:800;
}
@media (max-width: 720px){
  .brand-logo{
    height:44px;
  }
  .brand-text{
    font-size:13px;
  }
}


/* Unterseiten: keine kursiven Anschriften oder sonstigen Schrägschriften */
.content-page address,
.content-page em,
.content-page i,
.content-page cite,
.legal-content address,
address{
  font-style:normal;
}




/* Mobile Navigation, einheitliche Pulldown-Menüs und mobile Deaktivierung der benutzerdefinierten Vorlesefunktion */
.desktop-nav-links{
  display:flex;
  align-items:center;
  gap:24px;
}
.custom-dropdown{
  position:relative;
  width:100%;
}
.custom-dropdown-label{
  display:block;
  margin:0 0 5px;
  font-size:12px;
  font-weight:800;
}
.custom-dropdown-shell{
  position:relative;
  width:100%;
}
.custom-dropdown-shell summary{
  list-style:none;
}
.custom-dropdown-shell summary::-webkit-details-marker{
  display:none;
}
.custom-dropdown-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  min-height:56px;
  padding:13px 18px;
  border:1px solid rgba(17,17,17,.82);
  border-radius:0;
  background:#fff;
  color:var(--bsw-black);
  font-size:17px;
  font-weight:700;
  line-height:1.2;
  cursor:pointer;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.custom-dropdown-shell[open] > .custom-dropdown-summary{
  border-color:rgba(239,121,0,.9);
  box-shadow:none;
}
.custom-dropdown-current{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.custom-dropdown-caret{
  width:18px;
  height:18px;
  flex:0 0 18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.custom-dropdown-panel,
.share-options{
  position:absolute;
  z-index:1000;
  min-width:250px;
  max-width:min(340px,calc(100vw - 28px));
  padding:10px 0;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,247,249,.94) 0%,rgba(255,238,227,.92) 100%);
  border:1px solid rgba(255,255,255,.72);
  border-radius:32px;
  box-shadow:0 18px 40px rgba(121,30,64,.18);
  backdrop-filter:blur(18px) saturate(180%);
  -webkit-backdrop-filter:blur(18px) saturate(180%);
}
.custom-dropdown-panel{
  top:calc(100% + 12px);
  right:0;
}
.custom-dropdown-panel button,
.share-options button{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:54px;
  padding:12px 22px;
  border:0;
  border-top:1px solid rgba(255,255,255,.55);
  border-radius:0;
  background:transparent;
  color:var(--bsw-black);
  font:inherit;
  font-size:17px;
  font-weight:500;
  line-height:1.2;
  text-align:left;
  white-space:nowrap;
  cursor:pointer;
}
.custom-dropdown-panel button:first-child,
.share-options button:first-child{
  border-top:0;
}
.custom-dropdown-panel button:hover,
.custom-dropdown-panel button:focus-visible,
.custom-dropdown-panel button.is-selected,
.share-options button:hover,
.share-options button:focus-visible{
  background:rgba(255,255,255,.34);
  color:var(--bsw-burgundy);
}
.custom-dropdown-panel button.is-selected::before{
  content:'✓';
  margin-right:2px;
  font-weight:800;
}
.mobile-nav-select{
  display:none;
}
.mobile-nav-select .custom-dropdown-panel{
  min-width:100%;
}
.custom-speech-disabled .speech-toggle,
.custom-speech-disabled .audio-notice,
.custom-speech-disabled .read-selection-button,
.custom-speech-disabled .read-selection-status{
  display:none !important;
}

@media (max-width: 760px){
  .nav-wrap{
    min-height:auto;
    flex-direction:row;
    align-items:flex-start;
    justify-content:space-between;
    padding-top:18px;
    padding-bottom:18px;
    gap:18px;
  }
  .brand{
    flex:0 0 128px;
    flex-direction:column;
    align-items:flex-start;
    gap:7px;
  }
  .brand-logo{
    height:40px;
  }
  .brand-text{
    display:block;
    font-size:13px;
    line-height:1.12;
  }
  .nav-wrap nav{
    display:flex;
    flex:1 1 auto;
    align-items:flex-start;
    justify-content:flex-end;
    gap:10px;
    min-width:0;
    margin-left:0;
  }
  .desktop-nav-links{
    display:none;
  }
  .mobile-nav-select{
    display:block;
    width:100%;
    max-width:360px;
  }
  .mobile-nav-select .custom-dropdown-summary{
    width:100%;
    min-width:0;
    font-size:16px;
  }
  .speech-toggle{
    flex:0 0 38px;
  }
  .custom-dropdown-panel,
  .share-options,
  .viewer-share-menu .share-options{
    min-width:235px;
    max-width:calc(100vw - 24px);
    border-radius:28px;
  }
  .custom-dropdown-panel button,
  .share-options button{
    min-height:52px;
    padding:12px 20px;
    font-size:16px;
  }
}

@media (max-width: 430px){
  .nav-wrap{
    gap:14px;
    padding-left:18px;
    padding-right:18px;
  }
  .brand{
    flex-basis:116px;
  }
  .brand-logo{
    height:38px;
  }
  .mobile-nav-select .custom-dropdown-summary,
  .toolbar-sort-dropdown .custom-dropdown-summary{
    font-size:15px;
  }
}

/* Teilen-Menü für PDF-Vorschauen und PDF-Großansichten */
.share-menu{
  position:relative;
  display:inline-block;
}
.share-menu summary{
  list-style:none;
}
.share-menu summary::-webkit-details-marker{
  display:none;
}
.share-trigger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  cursor:pointer;
  user-select:none;
}
.share-menu[open] > .share-trigger.btn.secondary{
  background:#fff;
  color:var(--bsw-black);
  border-color:var(--bsw-orange);
  box-shadow:none;
}
.share-icon{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 auto;
}
.share-options{
  left:0;
  right:auto;
  bottom:calc(100% + 14px);
  top:auto;
  transform:none;
}
.share-options::after{
  content:none;
}
.share-service-icon{
  width:20px;
  height:20px;
  flex:0 0 20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.share-options button span{
  min-width:0;
}
.viewer-share-menu .share-options{
  left:auto;
  right:0;
  top:calc(100% + 14px);
  bottom:auto;
  transform:none;
}
@media(max-width:760px){
  .share-options{
    left:0;
    right:auto;
    bottom:calc(100% + 12px);
    top:auto;
    transform:none;
  }
  .viewer-share-menu .share-options{
    left:0;
    right:auto;
    top:calc(100% + 12px);
    bottom:auto;
    transform:none;
  }
}
@media print{
  .share-menu{display:none!important}
}

/* Presseverteiler */
.press-distribution-page section + section{
  margin-top:48px;
}
.press-distribution-form{
  display:grid;
  gap:18px;
  width:100%;
  max-width:1400px;
  margin-top:22px;
  padding:26px;
  border-top:5px solid var(--bsw-magenta);
  background:var(--bsw-soft);
}
.press-distribution-form.compact{
  width:100%;
  max-width:1400px;
  border-top-color:var(--bsw-orange);
}
.press-distribution-form label{
  display:block;
  margin-bottom:7px;
  font-weight:800;
}
.press-distribution-form input[type="text"],
.press-distribution-form input[type="email"]{
  background:#fff;
}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.checkbox-row{
  display:flex!important;
  align-items:flex-start;
  gap:11px;
  font-weight:400!important;
}
.checkbox-row input{
  width:20px;
  height:20px;
  margin-top:2px;
  flex:0 0 20px;
}
.checkbox-row a{
  text-decoration:underline!important;
}
.form-honeypot{
  position:absolute!important;
  left:-10000px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}
.form-message{
  width:100%;
  max-width:1400px;
  margin:0 0 30px;
  padding:18px 20px;
  border-left:6px solid var(--bsw-magenta);
  background:var(--bsw-soft);
  font-weight:700;
}
.form-message.error{
  border-left-color:var(--bsw-orange);
}
@media(max-width:620px){
  .form-grid{grid-template-columns:1fr}
  .press-distribution-form{padding:20px}
}


/* Presseverteiler: Checkbox und Pflichtfeldhinweis */
.press-distribution-form .checkbox-row{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr);
  align-items:start;
  column-gap:11px;
  margin:0;
}
.press-distribution-form .checkbox-row input[type="checkbox"]{
  display:block;
  width:20px!important;
  min-width:20px;
  height:20px;
  margin:2px 0 0!important;
  padding:0;
  justify-self:start;
}
.press-distribution-form .checkbox-row span{
  display:block;
  min-width:0;
}
.required-fields-note{
  margin-top:10px;
  font-size:14px;
}


/* Startseite: dezenter CI-konformer Motion-Effekt im Hero */
.motion-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:420px;
  display:flex;
  align-items:center;
}
.motion-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(circle at 78% 34%,rgba(255,182,65,.18),transparent 31%),
    linear-gradient(90deg,rgba(50,0,32,.22),transparent 48%,rgba(255,117,0,.08));
}
.hero-motion-canvas{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  pointer-events:none;
}
.hero-content{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1400px;
}
.motion-hero .hero-subline{
  position:relative;
  z-index:1;
}
@media (max-width:980px){
  .motion-hero{min-height:440px}
}
@media (max-width:620px){
  .motion-hero{
    min-height:0;
    display:block;
  }
  .motion-hero::after{
    background:
      radial-gradient(circle at 78% 35%,rgba(255,182,65,.15),transparent 35%),
      linear-gradient(90deg,rgba(50,0,32,.18),transparent 54%,rgba(255,117,0,.06));
  }
}
@media (prefers-reduced-motion: reduce){
  .hero-motion-canvas{display:none}
}


/* PDF-Aktionsschaltflächen: einheitliche Reihenfolge, Symbole und mobile Kompaktansicht */
.pdf-actions{align-items:center}
.pdf-action-button{gap:8px;white-space:nowrap}
.action-icon{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 18px;
}
@media (max-width:1366px) and (pointer:coarse){
  .pdf-action-button{
    width:44px;
    min-width:44px;
    height:44px;
    padding:0;
  }
  .pdf-action-button .action-label{display:none}
  .pdf-action-button .action-icon{width:21px;height:21px;flex-basis:21px}
}
@media (max-width:760px){
  .pdf-actions{gap:8px}
  .pdf-action-button{
    width:44px;
    min-width:44px;
    height:44px;
    padding:0;
  }
  .pdf-action-button .action-label{display:none}
  .pdf-action-button .action-icon{width:21px;height:21px;flex-basis:21px}
}


/* Einheitliches Seitenende: Weißer Ausgleichsraum ausschließlich vor dem Footer. */
html{
  min-height:100%;
  background:#fff;
}
body:not(.pdf-viewer-page){
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  background:#fff;
  padding-bottom:0;
  margin-bottom:0;
}
body:not(.pdf-viewer-page) > main{
  flex:1 0 auto;
  width:100%;
}
body:not(.pdf-viewer-page) > footer{
  flex:0 0 auto;
  width:100%;
  margin-bottom:0;
}


/* Mobile Browser: Der Footer bildet ohne Zusatzfläche das tatsächliche Seitenende. */
@media (max-width:760px){
  html{
    min-height:100%;
    height:auto;
    margin:0;
    padding:0;
    background:#fff;
    overflow-x:hidden;
    overscroll-behavior-y:none;
  }
  body:not(.pdf-viewer-page){
    min-height:100vh;
    min-height:100svh;
    height:auto;
    margin:0!important;
    padding:0!important;
    background:#fff;
    overflow-x:hidden;
    overscroll-behavior-y:none;
  }
  body:not(.pdf-viewer-page) > main{
    flex:1 0 auto;
    min-height:0;
  }
  body:not(.pdf-viewer-page) > footer{
    flex:0 0 auto;
    width:100%;
    margin:38px 0 0!important;
    padding-bottom:25px;
  }
  body:not(.pdf-viewer-page) > footer:last-of-type{
    margin-bottom:0!important;
  }
}


/* Robuste PDF-Erstseitenvorschau: PDF.js im Browser, Thumbnail als Rückfall */
.pdf-preview-canvas{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center top;
  background:#fff;
}
.pdf-preview-image.is-pdfjs-replaced{
  display:none;
}

/* Lokale PDF-Darstellung ohne externe CDN-Verbindung */
.pdf-preview-frame{display:block;width:100%;height:100%;border:0;background:#fff;pointer-events:none}
.native-pdf-frame{display:block;width:100%;min-height:78vh;border:0;background:#fff}
@media(max-width:760px){.native-pdf-frame{min-height:72vh}}
