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

a {
    text-decoration: underline;
}

header a, a.btn {
    text-decoration: none !important;
}
.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%
  );
}

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

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

.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;
  }
}
*/

.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;
  }
}



.preis-tabelle .table td.col-title, .preis-tabelle .table th.col-title {
        white-space: normal;
    }

th.col-preis-1, th.col-preis-2, td.col-preis-1, td.col-preis-2 {
     white-space: nowrap;
}

@media (min-width: 576px) {

    .preis-tabelle .table td, .preis-tabelle .table th {
        white-space: nowrap;
    }
}


/*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;
}