/* Ergänzungen für die statische Version (ersetzt Slider Revolution, PDF Embedder, Contact Form 7) */

/* Startseiten-Slider (Überblendung wie bisher) */
.bh-slider { position: absolute; inset: 0; overflow: hidden; background: #000; }
.bh-slider .bh-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center center; background-repeat: no-repeat;
  opacity: 0; transition: opacity .6s ease;
}
.bh-slider .bh-slide.aktiv { opacity: 1; }

/* Projekt "Städtebauliche Planungen": Vollbild-Slider mit Beschriftungen (ersetzt Slider Revolution) */
.portfolio-full .bh-rs ~ .portfolio-description, .portfolio-full .portfolio-description:has(+ .bh-rs) { display: none; }
.bh-rs { position: absolute; left: 0; right: 0; bottom: 0; top: 100px; overflow: hidden; background: #000; }
.bh-rs-slide { position: absolute; inset: 0; background-size: cover; background-position: center center; opacity: 0; transition: opacity .6s ease; z-index: 1; }
.bh-rs-slide.aktiv { opacity: 1; z-index: 2; }
.bh-rs-cap { position: absolute; text-align: center; font-family: Raleway, sans-serif; font-weight: 400; opacity: 0; transition: opacity .3s ease; }
.bh-rs-slide.aktiv .bh-rs-cap { opacity: 1; transition-delay: .65s; }
.bh-rs-pfeil { position: absolute; top: 50%; margin-top: -25px; width: 50px; height: 50px; z-index: 5; color: #fff; text-align: center;
  font: normal 40px/50px FontAwesome; text-decoration: none; opacity: 0; transition: opacity .2s; text-shadow: 0 0 6px rgba(0,0,0,.35); }
.bh-rs-pfeil:hover, .bh-rs-pfeil:focus { color: #fff; text-decoration: none; }
.bh-rs .bh-rs-pfeil.links { left: 40px; } .bh-rs .bh-rs-pfeil.links:before { content: "\f104"; }
.bh-rs .bh-rs-pfeil.rechts { right: 40px; } .bh-rs .bh-rs-pfeil.rechts:before { content: "\f105"; }
.bh-rs-pfeil:hover:before { opacity: .75; }
.bh-rs-punkte { position: absolute; left: 0; right: 0; bottom: 50px; z-index: 5; text-align: center; font-size: 0; opacity: 0; transition: opacity .2s; }
.bh-rs-punkte button { display: inline-block; width: 12px; height: 12px; margin: 0 4px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; box-shadow: inset 0 0 0 2px #fff; cursor: pointer; transition: background .3s; }
.bh-rs-punkte button:hover { background: rgba(0,0,0,.21); }
.bh-rs-punkte button.aktiv { background: #fff; }
.bh-rs:hover .bh-rs-pfeil, .bh-rs:hover .bh-rs-punkte, .bh-rs.beruehrt .bh-rs-pfeil, .bh-rs.beruehrt .bh-rs-punkte { opacity: 1; }
@media (max-width: 599px) { .bh-rs-punkte { display: none; } }

/* PDF-Kacheln */
a.bh-pdf { display: block; margin: 0 0 30px; border: 1px solid #202020; background: #fff; cursor: zoom-in; line-height: 0; }
a.bh-pdf img { width: 100%; height: auto; display: block; }
a.bh-pdf:hover img { opacity: .85; }

/* PDF-Anzeige im Vollbild */
.bh-pdfbox { position: fixed; inset: 0; z-index: 100000; background: rgba(32,32,32,.94); display: none; }
.bh-pdfbox.offen { display: block; }
.bh-pdfbox .bh-seiten { position: absolute; inset: 0; overflow: auto; padding: 60px 16px 40px; text-align: center; -webkit-overflow-scrolling: touch; }
.bh-pdfbox canvas { display: block; margin: 0 auto 16px; max-width: 100%; height: auto !important; background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,.4); }
.bh-pdfbox .bh-zu { position: absolute; top: 10px; right: 18px; z-index: 2; background: none; border: 0; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; opacity: .8; }
.bh-pdfbox .bh-zu:hover { opacity: 1; }
.bh-pdfbox .bh-lade { color: #ccc; font-size: 15px; padding-top: 30vh; }
body.bh-pdf-an { overflow: hidden; }

/* Kontaktformular */
.bh-honig { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.bh-meldung { margin: 20px 0 0; padding: 10px 14px; border: 2px solid #00a3cc; display: none; }
.bh-meldung.fehler { border-color: #f7e700; }
.bh-meldung.sichtbar { display: block; }
