
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #bf2b2e;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #bf2b2e;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #434343;
  padding: 10px 0;
  font-size: 14px;
}

#topbar .contact-info i {
  font-style: normal;
  color: #ffffff;
}

#topbar .contact-info i a,
#topbar .contact-info i span {
  padding-left: 5px;
  color: #fff;
}

#topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

#topbar .contact-info i a:hover {
  color: #bababa;
}

#topbar .social-links a {
  color: #bababa;
  line-height: 0;
  transition: 0.3s;
  margin-left: 10px;
}

#topbar .social-links a:hover {
  color: white;
}
/*--------------------------------------------------------------
# Top Bar Warning
--------------------------------------------------------------*/
#topbarWarning {
  background: #f32727;
  padding: 10px 0;
  font-size: 14px;
}

#topbarWarning .contact-info i {
  font-style: normal;
  color: #ffffff;
}

#topbarWarning .contact-info i a,
#topbarWarning .contact-info i span {
  padding-left: 5px;
  color: #fff;
}

#topbarWarning .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

#topbarWarning .contact-info i a:hover {
  color: #bababa;
}

#topbarWarning .social-links a {
  color: #bababa;
  line-height: 0;
  transition: 0.3s;
  margin-left: 10px;
}

#topbarWarning .social-links a:hover {
  color: white;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 70px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  background: #fff;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
  font-size: 26px;
  padding: 0 0 0 8px;
  margin: 11px 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  border-left: 8px solid #bf2b2e;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #545454;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 50px;
}

.scrolled-offset {
  margin-top: 70px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
  
}

/* Ihre zusätzlichen Stile beginnen hier */

/* Mobile Navigation */
/* ... */

/* Weitere Stile, die Sie angegeben haben */


.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #545454;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 16px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #bf2b2e;
}

.navbar .getstarted,
.navbar .getstarted:focus {
  background: #bf2b2e;
  padding: 8px 20px;
  margin-left: 30px;
  border-radius: 4px;
  color: #fff;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  color: #fff;
  background: #bf2b2e;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 24px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  color: #545454;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #bf2b2e;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #545454;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .moderne-ausbildung {
    font-size: 18px; 
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(59, 59, 59, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #545454;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #bf2b2e;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #bf2b2e;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}
/**
* Mobile Ferienkurse
*/

.mobile-padding {
  padding-top: 70px;
  padding-bottom: 70px;
  padding-right: 50px;
  padding-left: 50px;
}

@media screen and (max-width: 768px) {
  .mobile-padding {
    padding-right: 10px;
    padding-left: 10px;
  }
}
.accordion-button::after {
  color: rgb(255, 255, 255); /* Hier können Sie die gewünschte Pfeilfarbe einstellen */
}

  /* Verbergen des Logos mit Beschriftung zu Beginn */
  .logo-with-text {
    display: none;
}

/* Stil für das Anzeigen des Logos mit Beschriftung beim Scrollen */
.header-scrolled .logo-with-text {
    display: block;
    height: 300px; /* Höhe hier ändern, z.B. 100px */
}

/* Stil für das Ausblenden des Logos ohne Beschriftung beim Scrollen */
.header-scrolled .logo-without-text {
    display: none;
}
.bg-custom {
  background-color: rgb(191, 43, 46);
}
.hover-effect {
  transition: transform ease-in-out 0.2s;
}

.hover-effect:hover {
  transform: translateY(var(--offset, 0));
}
.accordion-button:not(.collapsed)::before {
  /* ändern Sie die Pfeilfarbe, wenn das Accordion geöffnet ist */
  color: #ffffff; /* Rot */
}

.accordion-button.collapsed::before {
  /* ändern Sie die Pfeilfarbe, wenn das Accordion geschlossen ist */
  color: #00ff00; /* Grün */
}
/**
* Umbruch Lange Wörter
*/
.break-word {
  word-break: break-word;
}
.no-padding-margin {
  padding: 0;
  margin: 0;
}
.no-border {
  border: none !important;
}

.no-border:hover {
  background-color: rgb(161, 13, 16);
}
.btn-outline-light {
  border: 2px solid #fff; /* Increase border thickness */
  border-radius: 0; /* Set the border radius to 0 for square corners */
  padding: 0.5rem 1rem; /* Adjusts the spacing between the text and the border */
  transition: all 0.3s ease; /* Adds a smooth transition effect on hover or focus */
}

.btn-outline-light:hover, .btn-outline-light:focus {
  background-color: #fff; /* Changes the background color on hover or focus */
  color:rgb(161, 13, 16); /* Changes the font color on hover or focus */
}
