/* Fonts */

@font-face {
  font-family: 'Ubuntu';
  src: url(../fonts/ubuntu-v15-latin-300.woff2);
  font-display: swap;
}

@font-face {
  font-family: 'PT_Sans';
  src: url(../fonts/pt-sans-narrow-v12-latin-regular.woff2);
  font-display: swap;
}

body{
  font-family: Ubuntu !important;
}

h1, h2, h3, h4, h5{
  font-family: PT_Sans !important;
}

@media (min-width: 0px) {
  p{
    text-align: justify; /* Blocksatz */
    hyphens: auto; /* Zeichentrennung */
  }

  .btn{
    display: block !important; 
    text-align: center;
  }
}

@media (min-width: 768px) { 
  p{
    text-align: left ;
    hyphens: none; /* Zeichentrennung */
  }

  .btn{
    display: inline-block !important; 
    text-align: center;
  }
}




/* menu */

.carousel-inner > .item > a > img, .carousel-inner > .item > img, .img-responsive, .thumbnail a > img, .thumbnail > img{
  display: inline-block;
  margin-bottom: 2vw;
}

/* Backgroundcolor collapse Navbar */
    .collapse:not(.show).navbar-collapse
    {   
      border-radius: 0;
      margin-top: 0;
      margin-bottom: 0;
      background-color: #212529;
    }
    .collapse.navbar-collapse
    {   
      border-radius: .25rem;
      margin-top: .5rem;
      margin-bottom: .5rem;
    }

    .navbar-collapse .navbar-nav{
      padding-left: 10px;
    }

.divider{
    border: 1px solid #fff;
    }

.navbar-dark .navbar-nav .nav-link {
      color: rgb(255, 255, 255) !important;
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover{
    color: rgba(255, 255, 255, 0.5) !important ;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #fff !important;
    font-weight: bold;
}

.dropdown-item.active{
  background-color: rgba(255,255,255,.15) !important
}

.dropdown-item-ueberschrift{
  color: #bb2d3b !important;
}

.dropdown-item-ueberschrift.active{
  color:#dee2e6 !important;
  background-color: #bb2d3b !important;
}

.brand-text{
  color: #fff;
  height: 100%;

}

.brand-text p{
  display: table-cell;
  vertical-align: middle;
}

.hotline{
  text-decoration: none !important;
}

/* Inhaltsverzeichnis */

@media (min-width: 768px) {
  #inhaltsverzeichnis {
    display: block;
    height: auto !important;
    visibility: visible;
  }
}

/* content */

.main {
  padding-top: 60px;
  padding-bottom: 100px;
}

.main_top {
  padding-top: 60px;
  padding-bottom: 30px;
}

.main_center {
  padding-top: 15px;
  padding-bottom: 15px;
}

.main_buttom {
  padding-top: 15px;
  padding-bottom: 30px;
  margin-bottom: 100px;
}

.main img, .main_top img, .main_center img, .main_buttom img {
  max-width: 100%;
}

/* Colors */

.grey{
  background-color: #f8f8f8;
}

.opacity {
  background: rgba(0,0,0,.3);
  position: relative;
}

.img_grey{
  filter: grayscale(100%);
}

/* Orange Aufzählungspunkte in eckig */
.orange-bullets-square {
  list-style-type: square; /* Eckige Aufzählungspunkte */
}

.orange-bullets-square li::marker {
  color: orange; /* Farbe der Aufzählungspunkte */
}

/* für index */

@media (min-width: 1400px) { 
  .index_p{
    font-size: larger;
  }
}

.inline { display: none }


/* große Bilder mit Text in der mitte */

.image-container {
  position: relative;
  width: 100%;
  height: 80vh; /* Höhe ist 80% der Ansichtshöhe */
  overflow: hidden; /* Verhindert Überlauf des Bildes */
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Bild füllt den Container und behält das Seitenverhältnis bei */
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff; /* Optional: Textfarbe anpassen */
  width: 100%;
}

.overlay-text h1,
.overlay-text h2 {
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #979797,
        0 0 15px #979797,
        0 0 20px #979797,
        0 0 30px #979797,
        0 0 40px #979797;
        text-align: center;
}

@media (min-width: 1px) {
  .overlay-text h1{
    font-size: 11vw;
  }
  .overlay-text h2 {
    font-size: 8vw;
  }
}

@media (min-width: 2000px) {
  .overlay-text h1{
    font-size: 11em;
  }
  .overlay-text h2 {
    font-size: 10em;
  }
}

/* Seitliches Scrollen wegen AOS deaktiviert */

html, body {
  overflow-x: hidden;
}