html * {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Animation Sticky Navbar */
.navbar-collapse,
.navbar .navbar-brand,
.navbar .navbar-brand img {
  transition:0.25s ease-out;
}
/* End ASN */



/* Sticky Footer */
html, body {
    height: 100%;
}
.body-bg {
    position: relative;
    min-height: 100%;
}
#page-content {
    padding-bottom: 506px;
}
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}
/* End SF */



header.navbar {
   background-color: rgba(255, 255, 255, 0.94) !important; /* 50% transparentes Weiß */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border: none !important;      /* Rahmen entfernen */
  z-index: 9999;
    
}

.nav-link-text {
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1rem !important;
}

.navbar-brand.navbar-brand-image img {
  max-height: unset;
  height: 180%;
}
.navbar-transition .navbar-brand.navbar-brand-image img {
  height: 130%;
}


.carousel-text-inner {
  background-color: #000b;
  border-radius: 0.5rem;
  padding: 2px 0;
}


.cont-link {
  width: 100%;
  margin-left: 1rem;
  margin-right: 1rem;
}
.cont-link + .cont-link {
  margin-top: 0.5rem;
}
.cont-link a {
  color: #e44;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  transition: all 0.25s;
}
.cont-link a:hover {
  
  text-decoration: none;
  color: #b11;
}
.cont-link > i {
  margin-right: 0.5rem;
}
.cont-stripe {
  background-color: #323a3e;
  font-size: 1.25rem;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.cont-stripe a {
  display: block;
  text-align: center;
}


.fa {
  margin-right: 0.3rem;
}


footer ul {
  list-style: none;
  padding-left: 0;
}
footer .footer-section-meta .frame {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 12px;
    color: #ccc;
}


.main-section .frame-type-header h2 span {
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: solid 6px #c20524;
  border-radius: 6px;
}
.main-section h3 span {
  font-weight:400;
}
.main-section h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #283a69;
}
h4.accordion-title {
  font-size: 1.2rem;
  font-weight: 400;
}
.main-section h5 {
  font-size: 1.25rem;
  font-weight: 600;
}



/* #p401 : Team-Seite */
#p401 .textpic-text {
  width: 70%;
}
#p401 .textpic-gallery {
  width: 30%;
}



/* #p403 : Impressum */
#p403 h4 {
  border-bottom: dotted 2px #0002;
  padding-bottom: 0.5rem;
}



@media (min-width: 576px) {
  #p399 .carousel .item {
    height: 375px;
  }
  .cont-stripe .cont-link {
    width: auto;
    margin-top: 0;
  }
  /* Sticky Footer */
  #page-content {
    padding-bottom: 282px
  }
  /* End SF */
}

@media (min-width: 768px) {
  #p399 .carousel .item {
    height: 540px;
  }
  /* Sticky Footer */
  #page-content {
    padding-bottom: 298px
  }
  /* End SF */
}

@media (min-width: 992px) {
  #p399 .carousel .item {
    height: 330px;
  }
  /* Sticky Footer */
  #page-content {
    padding-bottom: 290px
  }
  /* End SF */
}

@media (min-width: 1200px) {
  #p399 .carousel .item {
    height: 400px;
  }
}



.accordion-button, .accordion h4 {
  color: var(--bs-primary);
}
.accordion-item:first-of-type .accordion-button,
.accordion-item:first-of-type,
.accordion-item:last-of-type {
    border-radius: 0;
}
.accordion-item:not(:first-of-type) {
  border-top: 1px solid rgba(0,0,0,0.125);
}
.accordion-button {
  transition: border-color 0s;
}
.accordion-button:focus {
    box-shadow: inherit;
    border-bottom: 1px solid rgba(0,0,0,0.125);
}
.accordion-button:focus.collapsed {
   border-bottom: inherit;
}
.accordion-button:not(.collapsed) {
  color: inherit;
  background-color: inherit;
}

.accordion-item + .accordion-item {
  margin-top: 0.5em;
}

.navbar li.nav-item:first-child > a.nav-link::before {
  opacity: 0;
}
.navbar li.nav-item:first-child:hover > a.nav-link::before {
  opacity: 0.25;
}

body#p915 {
  .btn-custom { 
 bottom: 10rem;
  right: 10rem;
  position: fixed;
  margin-top: 0rem;}
 background-image: 
   
   url("../img/HG_test.jpg");
   background-repeat: no-repeat;      /* Bild nicht wiederholen */
  background-position: center top;   /* Position des Bildes */
        /* optional: Bild bleibt beim Scrollen stehen */
  background-size: cover;            /* Bild füllt den Container, ohne es zu wiederholen */
}

.btn-custom {
  bottom: 10rem;
  right: 10rem;
  position: fixed;
  margin-top: 0rem;
  display: inline-block;       /* Damit Padding und Breite wirken */
  padding: 10px 20px;          /* Innenabstand */
  background-color: var(--bs-primary);   /* Farbe des Buttons */
  color: #ffffff;              /* Textfarbe */
  text-decoration: none;       /* Unterstreichung entfernen */
  border-radius: 30px;          /* abgerundete Ecken */
  font-weight: regular;           /* Text etwas fetter */
  transition: background 0.3s; /* sanfte Hover-Animation */
  position: fixed;
  z-index: 99;
  font-size: 1.4rem !important;  
}

.btn-custom:hover {
  background-color: #ffffff;   /* dunkleres Rot beim Hover */
  color: var(--bs-primary) !important;
   text-decoration: none !important; 
}
.main-section .frame-type-header h4 span {
  margin-top: 500px; !important;
  font-size: 3.2rem;                       /* Schriftgröße */
  font-weight: 600;                       /* Schriftgewicht (halbfett) */
  text-transform: uppercase;              /* alles Großbuchstaben */
  color: #283a69 !important;
   
}
.main-section .frame-type-header h2 span {
  margin-top: 500px; !important;
  font-size:2.5rem; !important                      /* Schriftgröße */
  font-weight: 100;                       /* Schriftgewicht (halbfett) */
  text-transform: uppercase;              /* alles Großbuchstaben */
  color: var(--bs-primary) !important;
  text-shadow: 2px 2px 7px rgba(255, 255,255, 0.2);
  text-decoration: none;
  border-bottom: 0;

}

.main-section h5 {
    font-size: 2.0rem;
    font-weight: 500;
  color: var(--bs-primary) !important;
}

.well {
  display: inline-block;
  background-color: var(--bs-primary);
  border-radius: 20px;
  padding: 1.25rem 2rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.00);
   max-width: 400px; /* maximal 600px breit */
  width: 60%;  
}

.navbar-mainnavigation .navbar-nav > li > .nav-link::before {
  display: none;
}

.navbar-mainnavigation .navbar-nav > li > .nav-link.active,
.navbar-mainnavigation .navbar-nav > li > .nav-link:hover {
  color: var(--bs-primary); /* deine Wunschfarbe */
}

.navbar-mainnavigation .navbar-nav > li.active > .nav-link .nav-link-text {
  color: var(--bs-primary) !important;
  font-weight: 500; 
}
@media (min-width: 992px) {
    .navbar-mainnavigation>.navbar-nav:last-child, .navbar-mainnavigation>.container>.collapse>.navbar-nav:last-child, .navbar-mainnavigation>.container-fluid>.collapse>.navbar-nav:last-child, .navbar-mainnavigation>.container-sm>.collapse>.navbar-nav:last-child, .navbar-mainnavigation>.container-md>.collapse>.navbar-nav:last-child, .navbar-mainnavigation>.container-lg>.collapse>.navbar-nav:last-child, .navbar-mainnavigation>.container-xl>.collapse>.navbar-nav:last-child {
        margin-left: auto;
        margin-right: auto;
    }


}

.textmedia, .textpic {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}
@media (min-width: 768px) {
    .textmedia-right .textmedia-item, .textmedia-right .textpic-item, .textmedia-left .textmedia-item, .textmedia-left .textpic-item, .textpic-right .textmedia-item, .textpic-right .textpic-item, .textpic-left .textmedia-item, .textpic-left .textpic-item {
        width: calc(50% - (60px / 2));
    }
}
.textmedia-right .textmedia-gallery img,
.textpic-right .textpic-gallery img {
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  max-width: 100%;
  height: auto;
}
.footer-section-content {
    background-color: #212121 ;
    --frame-color: #fff;
    --frame-background: #fff;
    --frame-link-color: var(--bs-primary);
    --frame-link-hover-color: #fff;
   box-shadow: 4px 0px 6px rgba(0,0,0,0.1);
}



h6, .h6 {
    font-size: 1.5rem;
  color: var(--bs-primary);
}

.main-section h3 {
   
    font-weight: 600;
     
}
.carousel .carousel-control-icon {
    background-color: #ffffff;
    border-radius: 50%;
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel .carousel-control-icon:before {
    content: '';
    width: 0.5em;
    height: 0.5em;
    display: block;
    border-top: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
    transform: rotate(45deg);
}


.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    padding: 0 2rem; /* Abstand vom Rand */
}
.accordion-button, .accordion h4 {
    color: var(--bs-primary);
}

.accordion-item,
.accordion-item .accordion-button {
    border-radius: 1.0rem !important;
    overflow: hidden; /* wichtig, damit Inhalte nicht über die abgerundeten Ecken hinausragen */
     
}
.main-section h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #283a69 !important;
}
.frame a[class=""], .frame a:not([class]) {
    color:var(--bs-primary) !important;
}
@media (max-width: 576px) {
   .btn-custom {
  
    bottom: 4rem!important;
    
   
   
    font-size: 1rem !important;
    white-space: nowrap;
    left: 2rem !important;
     right: 6rem !important;
     margin-right: 6rem !important!;
    
  }
}

@media (max-width: 576px) {
  .main-section .frame-type-header h4 span {
    margin-top: 2rem !important;      /* statt 500px */
    font-size: 1.9rem !important;     /* kleiner Schriftgrad */
    font-weight: 600;
    text-transform: uppercase;
    color: #283a69; !important;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.4);
  }
  .main-section h5 {
    font-size: 1.4rem;
    font-weight: 400;
}
  
}
@media (max-width: 576px) {
   ul {
  list-style: none;
  padding-left: 0;
  font-size: 1rem!important;
  font-weight: 500;
  line-height: 2.3rem;
}
}
@media (max-width: 576px) {
  body#p915 {
    background-image: none;  /* Bild entfernen */
  }
}
ul.navbar-nav{
  font-size: 2.8rem;
  
}
ul {
  list-style: none;
  padding-left: 0;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.3rem;
}

.frame-group-container li::before {
  content: "✓";
  color: #4CAF50;
  margin-right: 10px;
  font-weight: bold;
}