/*Custom-Styles*/
html {
  scroll-padding-top: 80px; /* Passe die Höhe an die deiner Navigation an */
}

.h-70px {
  height: 70px !important;
}
.h-80px {
  height: 80px !important;
}
.h-100px {
  height: 100px !important;
}
.h-150px {
  height: 150px !important;
}
.h-200px {
  height: 200px !important;
}

.h-315px {
  height: 315px !important;
}

.h-350px {
  height: 350px !important;
}

.h-450px {
  height: 450px !important;
}

.w-350px {
  width: 350px !important;
}
.w-25-rem {
  width: 25rem;
}
.w-10-rem {
  width: 10rem;
}

.info-dropdown {
  width: 18rem;
  left: -2rem !important;
}

@media (min-width: 576px) {
  .info-dropdown {
    width: 25rem;
    left: initial !important;
    right: 0 !important;
  }
}

.pt-7-5 {
  padding-top: 6rem !important;
}

.pt-10 {
  padding-top: 13rem !important;
}
.bg-linear-overlay-v2 {
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0%, rgba(0, 0, 0, 0.5)),
    color-stop(0%, rgba(0, 0, 0, 0)),
    to(rgb(0, 0, 0))
  );
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 100%
  );
}

.gradient-overlay{
  background: linear-gradient(to bottom, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 20%);
}

.header-sticky.header-absolute.header-sticky-on .header-info,
.header-sticky.header-absolute.header-sticky-on .topButtons {
  display: none;
}


.header-sticky.header-absolute.header-sticky-on .logo-normal {
    display: none;
}
.header-sticky.header-absolute.header-sticky-on .logo-sticky {
    display: block!important;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.text-shadow-strong {
    text-shadow: 3px 3px 8px rgba(0,0,0,0.6);
}

.text-shadow-glow {
    text-shadow: 0 0 6px rgba(255,255,255,0.7);
}

.text-shadow-soft {
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.text-shadow-soft-lg {
    text-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.text-shadow-smooth {
    text-shadow:
        0 1px 2px rgba(0,0,0,0.25),
        0 4px 12px rgba(0,0,0,0.15);
}


#contentstart {
  scroll-margin-top: 200px;
  scroll-behavior: smooth;
}


/* Footer */
.footer-nav-item {
    display: inline-flex;
    align-items: center;
}

.footer-nav-item + .footer-nav-item::before {
    content: "|";
    margin-right: .75rem;
    margin-left: .25rem;
    opacity: .5;
}

/*
.accordion.accordion-bg-white .accordion-item {
  border: none;
  background-color: transparent;
}
.accordion.accordion-bg-white .accordion-button {
  background-color: #ffffff !important;
  color: var(--bs-gray-900) !important;
}
.accordion.accordion-bg-white .accordion-button:not(.collapsed) {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.accordion.accordion-icon .accordion-header .accordion-button:after {
  content: "\F286";
  font-family: "bootstrap-icons";
  font-size: 1rem;
  background: none !important;
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  top: 35%;
  right: 20px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: rotateZ(0deg);
  transform: rotateZ(0deg);
  z-index: 9;
}
.accordion.accordion-icon .accordion-header .accordion-button:before {
  content: "\F286";
  font-family: "bootstrap-icons";
  background: none !important;
  width: initial;
  height: initial;
  display: none;
  position: absolute;
  top: 47%;
  right: 20px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: rotateZ(0deg);
  transform: rotateZ(0deg);
  z-index: 9;
}

.accordion.accordion-icon
  .accordion-header
  .accordion-button[aria-expanded="false"]:after {
  -webkit-transform: rotateZ(180deg);
  transform: rotateZ(180deg);
}
.accordion.accordion-icon
  .accordion-header
  .accordion-button[aria-expanded="true"]:before {
  -webkit-transform: rotateZ(0deg);
  transform: rotateZ(0deg);
}

*/

/*NEws */
.card-image-news-teaser {
  border-bottom-right-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

/*Quick Contact */
.quick-contact {
  cursor: pointer;
  position: fixed !important;
  bottom: 180px;
  right: 0px;
  display: block;
  z-index: 100;

  opacity: 1;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background: var(--bs-primary);
  color: #fff;
  /*border-radius: 10%;*/
  border-top-left-radius: 0.5em;
  border-bottom-left-radius: 0.5em;
  width: 80px;
  height: auto;
  /*line-height: 52px;*/
  text-align: center;
  padding-top: 1em;
}
/*
.quick-contact:before {
  content: "\f500";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
*/
.quick-contact:hover {
  background: var(--bs-link-hover-color);
  color: #fff;
}
.quick-contact.back-top-show {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
}

.hover-shadow {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.hover-shadow:hover {
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
  -webkit-box-shadow: 0px 10px 30px rgba(29, 58, 83, 0.15);
  box-shadow: 0px 10px 30px rgba(29, 58, 83, 0.15);
}

.hover-bg:hover {
  background-color: var(--bs-info) !important;
  background: var(--bs-info) !important;
}
/*Formular */
.input,
.captcha {
  margin-bottom: 0.75rem !important;
}
.form-label {
  margin-bottom: 0.25rem !important;
}

.input.checkbox .form-text,
.input.checkbox .form-check {
  padding-left: 0em;
}

hr.ce-div {
  margin: 2rem 0;
}

/*Barrierefreiheit */

/* Entferne den Fokusrahmen standardmäßig bei Maus/Touch */
/*
a:focus {
  outline: none !important;
  box-shadow: none !important;
}

.nav-link:focus {
  outline: none !important;
  box-shadow: none !important;
}
  */
/* Zeige den Fokusrahmen bei Tastaturnavigation */
/*
a:focus-visible {
  outline: 2px solid #0d6efd !important; 
  outline-offset: 2px;
  box-shadow: none;
}
*/
/*
.nav-link:focus-visible {
  outline: 2px solid #ff3300 !important;
}
*/
/* Fallback für ältere Browser, die :focus-visible nicht unterstützen */
/*
@supports not (selector(:focus-visible)) {
  a:focus {
    outline: 2px solid #0d6efd !important; 
    outline-offset: 2px;
  }
}
*/

.navbar {
    --bs-navbar-brand-padding-y: 20px;
    padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);
}

.dropdown-menu .dropdown-item::before {
  content: "\F138";
  font-family: "bootstrap-icons";
  display: inline-block;
  margin-right: 8px;
  font-size: 1rem;
  transform: translateY(2px);
}

.display-4 {
  font-size: 3.5rem;
}

@media (min-width: 1200px) {
  .display-4 {
    font-size: 4rem;
  }
}

@media (min-width: 1400px) {
  .display-4 {
    font-size: 4.5rem;
  }
}

/* Default: Navbar über dem Mainvisual */
.header-sticky .nav-link {
  color: #fff;
  font-weight: 600; 
}

/* Zustand beim Scrollen */
.header-sticky.header-sticky-on {
  background: #fff;
       
}

/* Links im Sticky Zustand */
.header-sticky.header-sticky-on .nav-link {
  color: #666;
    font-weight: 600; 
}

/*
@media (max-width: 991px) {

  .navbar-collapse {
    background: #fff;
  }

  .navbar-collapse .nav-link {
    color: #666;
  }

}
*/

@media (max-width: 1199.98px) {

  .header-sticky .navbar-collapse {
    background: #fff;
  }

  .header-sticky .navbar-collapse .nav-link {
    color: #666 !important;
  }

  .header-sticky .navbar-collapse .nav-link.active,
  .header-sticky .navbar-collapse .nav-link.show {
    color: var(--bs-primary) !important;
  }

}

.header-sticky.header-sticky-on .navbar {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}


/*Header Slider */
/* Section soll keine "pt-5" Luft oben erzeugen */
.mainvisual-fullscreen {
  padding-top: 0 !important;
}

/* Swiper + Wrapper + Slides auf volle Höhe */
.mainvisual-swiper,
.mainvisual-swiper .swiper-wrapper,
.mainvisual-swiper .swiper-slide {
  height: 100svh;     /* moderne Mobile-Viewport-Einheit */
  min-height: 100vh;  /* Fallback */
}

/* Dein "Card"-Ersatz: echtes Fullscreen Background-Element */
.mainvisual-slide {
  height: 100%;
  width: 100%;
  position: relative;
}

/* Overlay-Schicht für Text über dem Bild */
.mainvisual-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Falls dein .bg-overlay nicht absolut positioniert ist */
.mainvisual-slide .bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.mainvisual-swiper .card {
  overflow: hidden;
}

.mainvisual-swiper .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center left;
  transform: scale(1);
  transition: transform 6s ease;
  z-index: 0;
}

.mainvisual-swiper .swiper-slide-active .card::before {
  transform: scale(1.1);
}



/*Slider Leistungen*/
.teaser-slide-leistungen .swiper-slide {
    height: auto;
}

.teaser-slide-leistungen .swiper-slide .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.teaser-slide-leistungen .swiper-slide .card-body {
    flex-grow: 1;
}

/*Modal*/
.modal-image {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.modal-content .btn-close {
    
}




/* Barrierefrei: sichtbarer Tastaturfokus in der Hauptnavigation */
.navbar .nav-link:focus,
.navbar .nav-link:focus-visible,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:focus-visible {
  outline: none !important;
  box-shadow: inset 0 0 0 2px currentColor !important;
  border-radius: 0.25rem;
}

/* =========================================================
   Barrierefreiheit: sichtbarer Fokus für alle Elemente
   ========================================================= */

/* -------------------------
   Links & Navigation
   ------------------------- */
a:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible {
  outline: none !important;
  box-shadow: inset 0 0 0 2px #ff3300 !important;
  border-radius: 0.25rem;
  background-color: transparent !important;
  color: inherit !important;
}

/* -------------------------
   Buttons & Formulare
   ------------------------- */
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.accordion-button:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 2px #ff3300 !important;
}

/* -------------------------
   Spezielle Bootstrap-Fälle
   ------------------------- */
.navbar .nav-link:focus-visible {
  color: inherit !important;
}

.dropdown-item:focus-visible {
  color: var(--bs-dropdown-link-color) !important;
}



/* -------------------------
   Fallback für ältere Browser
   ------------------------- */
@supports not selector(:focus-visible) {

  a:focus,
  .nav-link:focus,
  .dropdown-item:focus {
    outline: none !important;
    box-shadow: inset 0 0 0 2px #ff3300 !important;
    border-radius: 0.25rem;
    background-color: transparent !important;
    color: inherit !important;
  }

  button:focus,
  .btn:focus,
  input:focus,
  select:focus,
  textarea:focus,
  .accordion-button:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px #ff3300 !important;
  }
}

/* =========================================================
   Skip-Link
   Ganz ans Ende der custom.css setzen
   ========================================================= */

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10000;
  display: inline-block;
  padding: 0.75rem 1rem;
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000;
  border-radius: 0.25rem;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0) !important;
  outline: none !important;
  box-shadow:
    0 0 0 3px #ff3300,
    0 4px 12px rgba(0, 0, 0, 0.15) !important;
  background: #ffffff !important;
  color: #000000 !important;
}