@charset "UTF-8";

/* General Code*/
/*------------------------------------*/
.bg-banholzer {
  --bs-bg-opacity: 1;
  background-color: #102694 !important;
  /*rgba(16, 38, 148, 0.25);*/
}

.border-banholzer {
  border-color: #102694 !important;
}

.bg-white-banholzer {
  background-color: rgba(255, 255, 255, 0.6) !important;
}

@font-face {
  font-family: "Stencil";
  src: url("../assets/fonts/stencil/StagStencil-Bold-Web.c76a0241d50d.woff2") format("woff2"),
    url("../assets/fonts/stencil/StagStencil-Bold-Web.24ccc77e43f2.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

.StagStencil-Bold-Web {
  font-family: "Stencil";
  font-weight: 700;
  font-style: normal;
}

.hero-banholzer {
  align-items: center;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.navbar-banholzer {
  --bs-navbar-color: #ffffff !important;
  --bs-navbar-hover-color: #ffe600 !important;
}

::-moz-selection {
  color: #102694 !important;
  background: #ffe600 !important;
}

::selection {
  color: #102694 !important;
  background: #ffe600 !important;
}

.bg-gradient-banholzer {
  background-color: #102694 !important;
  /*background-image: linear-gradient(135deg, #102694 0%, rgba(85, 5, 160, 0.8) 100%) !important;*/
  background-image: linear-gradient(135deg,
      #102694 0%,
      #102694 100%) !important;
}

.bg-gradient-banholzer-blue {
  background-color: #102694 !important;
  /*background-image: linear-gradient(135deg, #102694 0%, rgba(85, 5, 160, 0.8) 100%) !important;*/
  background-image: linear-gradient(135deg,
      #102694 0%,
      #0061f2 100%) !important;
}

.footer-text-banholzer {
  color: #ffe600 !important;
  font-family: Stencil;
  font-size: 1.5rem !important;
  font-weight: normal !important;
  letter-spacing: 1px;
}

.footer-text-banholzer-secnd {
  color: #ffffff !important;
  opacity: 0.95;
  font-weight: bold;
}

.text-primary-banholzer {
  color: #363d47 !important;
}

.footer-image-banholzer {
  width: 30% !important;
}

.py-10-ban {
  padding-top: 6rem !important;
}

.text-color-banholzer {
  color: #102694 !important;
}

.text-banholzer-logo {
  color: #ffe600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.text-banholzer-yellow {
  color: #ffe600 !important;
  font-family: Stencil;
  letter-spacing: 1px;
}

.page-header-ui-ban {
  position: relative;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.page-headline-ban {
  font-family: Stencil !important;
  color: black !important;
  font-size: clamp(1rem, 6vw, 3rem);
  text-align: center;
  border-color: #ffe600 !important;
}

.h1-add-ban {
  font-size: calc(1.5rem + 0.3vw) !important;
}

.icon-link-banholzer {
  color: #102694 !important;
}

.icon-link-banholzer:hover {
  color: #000000 !important;
}

@media screen and (max-width: 768px) {
  body {
    background-image: url("../assets/images/background.9ca915c64106.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
  }

  .footer-image-banholzer {
    display: none;
  }

  .footer-banholzer {
    padding-top: 2.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  #cards-banholzer {
    padding-top: 2.5rem !important;
  }

  .navbar-banholzer {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  .navbar-toggler-banholzer {
    padding-top: 1rem !important;
    padding-bottom: 0rem !important;
  }

  .px-10-ban {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .team-foto {
    height: 30vh;
  }
  
}

/* Navbar */
@media screen and (max-width: 990px) {
  .dropdown-item {
    color: white !important;
  }
}

/* Ab dem Aufklapp-Breakpoint (navbar-expand-lg) steht der Pfeil in der Textzeile
   statt als Float. Das Theme setzt float:right, wodurch der Pfeil nicht zur
   Mindestbreite des Links zählt und bei knappem Platz unter das Label fällt. */
@media screen and (min-width: 992px) {
  .navbar-banholzer .navbar-nav .dropdown-toggle::after {
    float: none;
    display: inline-block;
    margin-left: 0.375rem;
    line-height: 1;
    vertical-align: middle;
  }

  /* Der Pfeil zählt jetzt zur Breite mit — das Padding wird von 1rem auf
     0.75rem reduziert, damit die Menüpunkte nicht gestaucht werden. */
  .navbar-banholzer .navbar-nav .nav-item .nav-link {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    white-space: nowrap;
  }
}

@media screen and (min-width: 769px) {
  body {
    background-image: url("../assets/images/background.9ca915c64106.jpg");
    background-position: center;
    background-attachment: fixed;
    background-size: contain;
  }

  .footer-image-grid-banholzer {
    display: grid !important;
    justify-items: end;
  }

  .carousel-banholzer {
    padding-right: 2.5rem !important;
    padding-left: 2.5rem !important;
    container-type: normal;
  }

  .container-banholzer {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
  }

  .footer-banholzer {
    padding-top: 2rem !important;
    padding-bottom: 0.5rem !important;
  }

  .footer-slogan-banholzer {
    padding-top: 30px;
  }

  .px-10-ban {
    padding-left: 6rem !important;
    padding-right: 6rem !important;
  }

  #cards-banholzer {
    padding-top: 3rem !important;
  }

  .team-foto {
    height: 50vh;
  }

}

/* Büroarbeiter Code */
/*------------------------------------*/

.card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Horizontale Zentrierung */
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  /* Abstand zwischen den Zeilen */
}

.contact-item:last-child {
  margin-bottom: 0;
  /* Entfernen Sie den unteren Rand des letzten Elements */
}

.contact-item .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-team-name {
  margin-left: 0.5rem;
  /* Abstand zwischen Icon und Text */
}

/* News Carousel Code*/
/*------------------------------------*/
@media (max-width: 768px) {
  .carousel-inner .carousel-item>div {
    display: none;
  }

  .carousel-inner .carousel-item>div:first-child {
    display: block;
  }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
  display: flex;
}

/* Timeline Code*/
/*------------------------------------*/

/* Vertikaler Zeitstrahl: auf dem Handy Linie links, ab Tablet Linie in der Mitte
   und die Karten abwechselnd links / rechts */
.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  width: 2px;
  background-color: rgba(16, 38, 148, 0.2);
}

.timeline__item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 3rem;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  position: absolute;
  top: 1.5rem;
  left: calc(1rem - 8px);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #ffe600;
  border: 4px solid #102694;
  box-shadow: 0 0 0 4px rgba(16, 38, 148, 0.12);
}

/* Jahreszahl unten links auf dem Foto, lesbar dank .news-hero-scrim */
.timeline__year {
  font-family: Stencil;
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

@media screen and (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline__item {
    width: 50%;
    padding-left: 0;
    padding-right: 3rem;
  }

  .timeline__item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 3rem;
  }

  /* Versatz, damit die Karten ineinandergreifen */
  .timeline__item:nth-child(n+2) {
    margin-top: -5rem;
  }

  .timeline__dot {
    left: auto;
    right: -9px;
  }

  .timeline__item:nth-child(even) .timeline__dot {
    right: auto;
    left: -9px;
  }
}

/* News / Blog Code */
/*------------------------------------*/

/* Feste 16:9-Bildfläche: zeigt 16:9-Fotos vollständig an,
   abweichende Formate werden mittig zugeschnitten */
.news-media-16x9 {
  display: block;
  aspect-ratio: 16 / 9;
}

/* Abdunklung am unteren Bildrand, damit der Titel auf dem Foto lesbar bleibt */
.news-hero-scrim {
  height: 70%;
  pointer-events: none;
  background-image: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.8) 100%);
}

/* Seitenbild der zweispaltigen News-Karten braucht auf dem Handy eine eigene Höhe,
   da es als Hintergrundbild ohne Inhalt gesetzt ist */
.news-card-media {
  min-height: 14rem;
}

@media screen and (min-width: 768px) {
  .news-card-media {
    min-height: 0;
  }

  /* Weisse Schrift erst ab Tablet, wo der Text über dem Foto liegt */
  .text-md-white-stable {
    color: #ffffff !important;
  }
}

/* Impressum / Datenschutz Code */
/*------------------------------------*/

/* Der Text kommt als CKEditor-Block aus dem CMS – Abstände und Trennlinien
   werden hier gesetzt, damit im Editor nur Überschriften und Absätze nötig sind */
.legal-text h1 + p {
  font-size: 1.25rem;
  font-weight: 500;
}

.legal-text hr {
  margin: 2rem 0;
}

.legal-text a {
  color: inherit;
}

.legal-text h2 {
  margin-top: 2rem;
  padding-top: 2rem;
  margin-bottom: 1rem;
  border-top: 1px solid var(--bs-border-color);
}

/* Baustellen Avatar Sizing */
/*------------------------------------*/

@media screen and (max-width: 1400px) {
  .avatar-banholzer {
    height: 10rem !important;
    width: 10rem !important;
  }
}

@media screen and (max-width: 990px) {
  .avatar-banholzer {
    height: 16rem !important;
    width: 16rem !important;
  }
}

@media screen and (min-width: 1400px) {
  .avatar-banholzer {
    height: 16rem !important;
    width: 16rem !important;
  }
}
/* PhotoBanner Karussell Code*/
/*------------------------------------*/
.hero-photobanner {
  position: relative;
}

.hero-photobanner-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.hero-photobanner-bg .carousel-inner,
.hero-photobanner-bg .carousel-item {
  height: 100%;
}

.hero-photobanner-bg .carousel-item>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1 0 100%;
}

.hero-photobanner-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.385) 0%,
      rgba(0, 0, 0, 0.245) 45%,
      rgba(0, 0, 0, 0) 80%);
}

@media (max-width: 991.98px) {
  .hero-photobanner-scrim {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.275) 100%);
  }
}

.hero-photobanner-content {
  position: relative;
  z-index: 2;
  flex: 1 1 100%;
  width: 100%;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
