@charset "UTF-8";
:root {
  --bs-body-bg: #fff;
  --bs-offcanvas-width: 281px;
  --bs-border-width: 2px;
  --bs-light-rgb: 244, 245, 246;
  --bs-light: rgb(var(--bs-light-rgb));
  --jbp-hausfarbe: #014b85;
  --jbp-hausfarbe-80: rgb(1,75,133,.8);
  --jbp-hausfarbe-90: rgb(1,75,133,.9);
  --jbp-bg-service: rgb(255 255 255 / .8);
  --jbp-cw: calc(100vw - 2em);
  --jbp-hoehe-logo: 96px;
  --jbp-hoehe-kopf: calc(var(--jbp-hoehe-logo) + 14px);
  --jbp-startgalerie-bottom-offset: 50px;
  --jbp-nachoben: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-up-circle" viewBox="0 0 16 16"%3e%3cpath fill-rule="evenodd" d="M1 8a7 7 0 1 0 14 0A7 7 0 0 0 1 8m15 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-7.5 3.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707z"/%3e%3c/svg%3e');
  --jbp-close: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
}
@media (max-width: 1399px) {
  :root {
    --bs-offcanvas-width: 281px;
  }
}

.dropdown-menu {
  --bs-dropdown-border-width: 0;
  --bs-dropdown-bg: var(--bs-light);
}

@media (min-width: 576px) {
  :root {
    --jbp-cw: 540px;
  }
}
@media (min-width: 640px) {
  :root {
    --jbp-startgalerie-bottom-offset: 0px;
  }
}
@media (min-width: 768px) {
  :root {
    --jbp-cw: 720px;
  }
}
@media (min-width: 992px) {
  :root {
    --jbp-cw: 960px;
  }
}
@media (min-width: 1200px) {
  :root {
    --jbp-cw: 1140px;
  }
}
@media (min-width: 1400px) {
  :root {
    --jbp-cw: 1320px;
  }
}
/* Kopf */
body {
  overflow-x: hidden;
}

#logo, #service {
  display: block;
  position: fixed;
  right: 0;
  z-index: 2000;
  width: var(--bs-offcanvas-width);
  background: var(--bs-body-bg);
}

#logo {
  top: 0;
  background-color: #003265;
  text-align: right;
}

#kontakt {
  font-size: 0.9em;
}

#service {
  bottom: 0;
  padding: 1em 0.5em 1em 1em;
  background: var(--jbp-bg-service);
  font-size: 0.9em;
}
#navi.show ~ #service {
  box-shadow: unset !important;
}

#kontaktzeile {
  display: flex;
  align-items: center;
}
#kontaktzeile span:last-child {
  flex-grow: 1;
  text-align: right;
  padding-right: 0.5em;
}

.nav {
  --bs-nav-link-hover-color: #000;
}

.sticky-top .nav-link:not(.active):not(:hover) {
  background: #fff;
}

#navtoggle {
  position: fixed;
  right: 0;
  width: 40px;
  top: var(--jbp-hoehe-kopf);
  justify-content: end;
  padding: 10px;
  z-index: 2;
}
@media (max-width: 600px) {
  #navtoggle {
    right: auto;
    left: 10px;
    top: 0px;
    height: 96px;
    z-index: 3000;
    padding: 10px 0;
  }
  #navtoggle .navbar-toggler {
    background: white;
  }
}
@media (max-width: 332px) {
  #navtoggle {
    background: white;
  }
}

.navbar-toggler {
  --bs-navbar-toggler-padding-x: .25em;
  --bs-navbar-toggler-border-radius: 0;
  border: 2px solid #000;
  background: rgba(255, 255, 255, 0.8);
}
.navbar-toggler:hover {
  background: var(--bs-body-bg);
}

.nav-item {
  margin-bottom: 2px;
}

.nav-item:has(.active) > a.nav-link {
  color: white;
  background: var(--jbp-hausfarbe);
}

.nav-link {
  font-size: 1.2em;
  color: var(--bs-body-color);
}
.nav-link.dropdown-toggle::after {
  transform: rotate(-45deg);
  position: absolute;
  right: 13px;
  top: 32%;
  content: "";
  border-width: 0 !important;
  background: transparent var(--jbp-close) center/16px auto no-repeat;
  filter: invert(1);
  opacity: 0.7;
  width: 32px;
  height: 32px;
  padding: 8px;
  margin: -8px;
  transition-duration: 0.4s;
}
.nav-link.show {
  color: white;
  background: var(--jbp-hausfarbe);
}
.nav-link.show::after {
  transform: rotate(0);
}

.offcanvas {
  --bs-offcanvas-width: 281px;
  --bs-offcanvas-border-width: 0;
}
@media (max-width: 1399px) {
  .offcanvas {
    --bs-offcanvas-width: 281px;
  }
}

.offcanvas-header {
  margin-top: var(--jbp-hoehe-kopf);
  padding-right: 20px;
}

.dropdown-menu {
  width: 100%;
}

.dropdown-item {
  white-space: unset;
}

#nachoben {
  position: fixed;
  right: 0.5rem;
  bottom: 1rem;
  display: block;
  width: max-content;
  color: transparent;
  font-size: 0.9em;
  text-decoration: none;
  transition: opacity 0.3s, visibility 0.3s;
  opacity: 1;
  visibility: visible;
}
#nachoben.hidden {
  opacity: 0;
  visibility: hidden; /* Verhindert Klicks im unsichtbaren Zustand */
}
#nachoben::before {
  display: block;
  content: "";
  width: 42px;
  height: 42px;
  margin: 0 auto;
  background-image: var(--jbp-nachoben);
  background-size: contain;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}
#nachoben:hover {
  color: #000;
}
#nachoben:hover::before {
  background-color: #fff;
}

* {
  scroll-margin-top: 100px;
}

p, h1, h2, h3, h4, h5, h6, b, a, li, dt, dd {
  font-family: "Foundry Sans W04 Nrml", var(--bs-body-font-family), "Martel Sans", Akatab, "OpenSans", "Foundry Sans W01 Nrml" !important;
}

p:last-child {
  margin-bottom: 0;
}

h1 {
  margin-bottom: 0.8em !important;
  font-weight: bold;
}

h2 {
  font-weight: bold;
}

h3, h4 {
  margin-top: 1em;
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

@media (min-width: 601px) {
  #projekt h1 {
    position: fixed;
    top: 0;
    width: 100vw;
    background: var(--bs-body-bg);
    height: var(--jbp-hoehe-kopf);
    margin-bottom: 0;
    display: flex;
    flex-flow: column;
    justify-content: center;
    z-index: 1;
  }
  #projekt h1::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -1000px;
    width: 1000px;
    bottom: 0;
    background: var(--bs-body-bg);
  }
  #projekt h1 span {
    display: block;
    width: calc(var(--jbp-cw) - var(--bs-offcanvas-width) + (100vw - var(--jbp-cw)) / 2 - 3.5rem);
  }
}
@media (min-width: 601px) and (max-width: 767px) {
  #projekt h1 {
    font-size: calc(1.375rem + 0.5vw);
  }
}

#projektbild,
#hauptbild_rechts,
#hauptbild_links {
  background-position: 50% 60%;
}

#portfolio {
  padding-top: 110px !important;
}

#h1start {
  position: absolute;
  top: 50vh;
  left: 50vw;
  transform: translate(-50%, -60%);
  color: #fff;
  z-index: 2;
}
#h1start h1 {
  line-height: 1.3;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
  font-size: clamp(26px, 3vw, 50px);
}
#h1start h1 span {
  font-weight: normal;
  font-size: 0.8em;
}
#h1start .nav-item {
  padding: 10px;
}
#h1start .nav {
  margin: 0 -10px;
}
#h1start .nav-link {
  background: rgba(1, 75, 133, 0.5);
  border: 1px solid #fff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  font-size: 1.1em;
}
#h1start .nav-link:hover {
  background: var(--jbp-hausfarbe-90);
}
#h1start .nav-link:focus-visible {
  box-shadow: 0 0 0 0.25rem rgb(255, 255, 255);
}

#slide1 {
  height: 100vh;
  background-image: url("https://www.jbp-architekten.de/images/projekte/syke_ysy.jpg");
  background-size: cover;
}

#carouselStart {
  --jbp-carousel-gradient-h: 25em;
}
#carouselStart .carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
}
#carouselStart .carousel-item::before {
  display: block;
  content: "";
  height: var(--jbp-carousel-gradient-h);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  transform: translateY(calc(100vh - var(--jbp-carousel-gradient-h)));
  z-index: 9;
}
#carouselStart .carousel-indicators {
  margin-bottom: calc(5em + var(--jbp-startgalerie-bottom-offset));
}
#carouselStart .carousel-caption {
  margin-bottom: 6.5em;
  text-shadow: 0 0 4px black;
}

#carouselBanner .carousel-item {
  height: 30vh;
  background-size: cover;
  background-position: center 56%;
}

dl:last-child, ol:last-child, ul:last-child {
  margin-bottom: 0;
}

.text {
  margin-bottom: 2em;
}

#steckbrief {
  padding: 1em;
  background: var(--bs-light);
}

form {
  margin-top: 2em;
  padding: 1em;
  background: var(--bs-light);
}

#steck.schwelle {
  position: sticky;
}

.bottom > #steck {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

video {
  margin-bottom: 1em;
}

figure {
  --jbp-padding: 2px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--jbp-padding);
  padding: 3px 10px;
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.7), transparent);
  text-align: right;
}
figure figcaption a {
  color: white !important;
}
figure figcaption a::before {
  content: "→" " ";
}
figure.image {
  left: 1px;
}
figure.image {
  padding: 0 var(--jbp-padding) var(--jbp-padding) 0;
}
figure.image figcaption {
  margin-right: var(--jbp-padding);
}

.galerie-pur img {
  margin: 0 2px 2px 0;
}

section {
  margin-top: 2rem;
  scroll-margin-top: 150px;
}
section::before {
  display: table;
  content: "";
}
section + section {
  padding-top: 2rem;
  border-top: 1px solid #ccc;
}

.grid-item figure > a {
  display: block;
}

#blaettern {
  margin-bottom: 0.5em;
  line-height: 1.1em;
  font-size: 0.9em;
  display: none;
}

#gvor a::after {
  content: " " ">";
}

#gzur a::before {
  content: "<" " ";
}

.rahmen {
  padding-top: 150px;
}

@media (min-width: 340px) {
  .rahmen {
    padding-top: var(--jbp-hoehe-kopf);
  }
}
@media (min-width: 1920px) {
  .rahmen {
    padding-top: 110px;
  }
}
#carouselBanner {
  position: relative;
}

#carouselBanner + .rahmen {
  padding-top: 20px;
}

#carouselBanner::after {
  display: block;
  content: "";
  width: 100vw;
  height: 9vw;
  background-image: url(../images/devide_lower.png);
  background-position-y: top;
  background-size: 100%;
  position: absolute;
  z-index: 1;
  bottom: -1px;
}

h2, h3 {
  margin-bottom: 1rem;
}

* + h2, * + h3 {
  margin-top: 2rem !important;
}

form > div {
  margin-bottom: 0.5em;
}
form label {
  width: auto;
}

#carouselStart {
  position: relative;
}

#startscroll {
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  bottom: calc(30px + var(--jbp-startgalerie-bottom-offset));
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  border: 4px solid white;
  z-index: 2;
  border-width: 0 3px 3px 0;
  animation-name: pulsieren; /* Name der definierten @keyframes */
  animation-duration: 1.5s; /* Dauer eines vollständigen Zyklus */
  animation-timing-function: ease-in-out; /* Sanftes Beschleunigen/Abbremsen */
  animation-iteration-count: infinite; /* Läuft endlos weiter */
}
#startscroll:hover {
  border-width: 0 4px 4px 0;
}

@keyframes pulsieren {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}
#buerolinks {
  top: var(--jbp-hoehe-logo);
}
@media (min-width: 1280px) {
  #buerolinks {
    top: 10px;
  }
}
#buerolinks .row {
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border-radius: 13px;
  background-color: #fff;
}
#buerolinks a {
  width: 130px;
}
#buerolinks a:hover {
  color: #fff !important;
  text-decoration: none !important;
}

#hauptbild {
  --jbp-offset: 15px;
  position: relative;
  left: 0;
}
@media (max-width: 600px) {
  #hauptbild {
    left: 5%;
    width: 90%;
  }
}
#hauptbild.hauptbild_links {
  left: calc(100% + var(--jbp-offset));
  transition: left 0.8s ease-in-out;
}
@media (max-width: 600px) {
  #hauptbild.hauptbild_links {
    left: calc(95% + var(--jbp-offset));
  }
}
#hauptbild.hauptbild_rechts {
  left: calc(-100% - var(--jbp-offset));
  transition: left 0.8s ease-in-out;
}
@media (max-width: 600px) {
  #hauptbild.hauptbild_rechts {
    left: calc(-85% - var(--jbp-offset));
  }
}
#hauptbild p {
  aspect-ratio: 16/9;
  overflow-y: hidden;
  position: relative;
}
#hauptbild img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
#hauptbild .seitlich {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  left: calc(-1 * var(--jbp-offset) - 100%);
  top: 0;
  cursor: pointer;
  background-color: #567da3;
  background-size: cover;
  filter: blur(1px);
}
#hauptbild .seitlich:not(.aktiv) {
  opacity: 0.4;
}
#hauptbild .seitlich:hover {
  opacity: 1;
  filter: blur(0px);
  transition: opacity 0.2s ease-in-out;
}
#hauptbild .seitlich::after {
  content: "";
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, #759445, #59ccf0, #fbd9b8, #b0cdeb);
  position: absolute;
  display: block;
  left: calc(-1 * var(--jbp-offset) - 100%);
  opacity: 0.8;
  filter: saturate(70%);
}
#hauptbild #hauptbild_rechts.seitlich {
  left: calc(var(--jbp-offset) + 100%);
}
#hauptbild #hauptbild_rechts.seitlich::after {
  left: calc(var(--jbp-offset) + 100%);
}

#projekte figcaption a::after,
#portfolio figcaption a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  aspect-ratio: 1/2;
}

body.portfolio .lb-data .lb-caption {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5vw;
  display: block;
  background: rgba(0, 0, 0, 0.4);
  left: 50%;
  width: fit-content;
  transform: translateX(-50%);
  padding: 10px 10px;
  text-align: center;
  z-index: 20000;
}
body.portfolio .lb-data .lb-caption a {
  color: white !important;
  text-decoration: none;
}
body.portfolio .lb-data .lb-caption a::before {
  content: "Zum Projekt:" " ";
}
body.portfolio .lb-data .lb-caption a:hover {
  text-decoration: underline;
}

#rubrikheader > *:not(:last-child) {
  margin-right: 0.5em;
}
#rubrikheader a {
  opacity: 0.5;
  text-decoration: none;
}
#rubrikheader a:hover {
  opacity: 1;
}

footer strong {
  font-size: 1.1em;
}
footer h4 {
  margin-top: 0;
}
footer a {
  text-decoration: none;
  color: #94acea;
}
footer a:hover {
  color: white;
  text-decoration: underline;
}

.galerietext {
  font-size: 1.1em;
  margin: 1.5rem 0;
}

blockquote {
  font-size: 1.2em;
  font-style: italic;
}

.lb-outerContainer {
  background: gray !important;
}

.lb-dataContainer {
  height: 35px !important;
}

.lightbox {
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%);
}

#allesgut ~ * {
  display: none;
}

form div.o {
  display: none;
}

textarea {
  min-height: 120px !important;
}

/*# sourceMappingURL=styles.css.map */
