/* CSS Document */
body {
  font-size: 18px;
  font-family: var(--font-fliesstext, "futura-pt", sans-serif); /*Für Fließtext immer die Futura PT nehmen*/
  font-weight: 400;
  font-style: normal;
  color: var(--color-text);
  background: var(--background-content, #EEEEEE);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ueberschriften);
  font-weight: 500;
  font-style: normal;
  text-transform: none;
  color: var(--color-ueberschriften);
}
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-style: normal;
  text-transform: none;
  color: var(--color-ueberschriften);
  font-family: "adobe-caslon-pro", serif;
  font-weight: 400;
}
.h1 {
  font-size: 3.5rem;
}
@media(max-width:992px){
.h1 {
  font-size: 2.5rem;
    }}

.h2 {
  font-size: 3rem;
}
@media(max-width:992px){
.h2 {
  font-size: 2rem;
    }}
.subline {
  color: var(--color-subline);
}
a {
  color: var(--color-links);
  text-decoration: none;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
a:hover {
  color: var(--color-links-hover);
}
.nowrap {
  white-space: nowrap;
}
img {
  filter: var(--img-filter);
}
img[src$=".svg"], img[src$=".icon.svg"] {
  filter: none;
}
.call2action {
  background: var(--bg-call2action);
  padding: 1.2em 1em;
  text-align: center;
  box-shadow: 0px 0px 12px 6px rgba(0, 0, 0, 0.20);
  font-weight: bold;
  display: inline-block;
}
.call2action p {
  margin: 0;
}
.hero-fallback-image {
  display: none;
  width: 100%;
  height: 80vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.no-js .hero-fallback-image {
  display: block;
}

.no-js #heroVideo {
  display: none;
}


.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: visible;
  z-index: 1;
}
.hero-unterseite {
  height: 60vh!important;
}
.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 99vw;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* leichter Schleier für Lesbarkeit */
  z-index: 1;
}
.hero-unterseite .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* leichter Schleier für Lesbarkeit */
  z-index: 1;
}
.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  color: #333;
}
.content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.content p {
  font-size: 2rem;
  color: #DACBB2;
}
.card-container {
  position: absolute;
  bottom: -18vh; /* leicht ins Video hinein */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
  z-index: 3;
  width: 90%;
  max-width: 100vw;
  justify-content: center;
}
.hero .card {
  background: var(--background-hero-card);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  width: 100%;
  max-width: 35vw;
  text-align: center;
  text-decoration: none;
  color: #000;
  transition: transform 0.3s ease;
  height: 400px;
}
.hero .card:hover {
  transform: translateY(-5px);
}
.hero .card img {
  height: 140px;
  margin: auto;
}
.hero .card h2 {
  margin-top: 1rem;
  color: var(--color-akzent);
  text-align: center;
  padding: 1em 1em 0em 1em;
  font-size: 1.6em;
}
.card-container a p {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--color-text);
}
.content .u1 {
  font-size: 4em;
  color: #E7D9C2;
  font-family: "adobe-caslon-pro", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1em;
}
.leistungen {
  padding-top: 20vh;
}
@media(max-width:1000px){
.leistungen {
  padding-top: 50vh;
    }}
.ueber-uns {
  padding-top: 150px;
}
.hover-card {
  height: 350px;
  cursor: pointer;
  position: relative;
}
.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  opacity: 0;
    background-color: var(--color-akzent);
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.hover-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 1.5rem;
  color: var(--color-akzent);
  z-index: 2;
  transition: transform 0.3s ease;
  background-color: var(--bg-call2action);
  border-radius: 100%;
  width: 45px;
  height: 45px;
}
.card-overlay .h5{
    font-family: var(--font-ueberschriften);
    font-weight: 500;
    font-style: normal;
    text-transform: none;
    color: var(--color-ueberschriften);
    font-size: 1.25rem;
}
/* Hover-Effekt für Desktop */
.hover-card:hover .card-overlay, .hover-card:focus-within .card-overlay {
  opacity: 1;
  pointer-events: auto;
}
.hover-card:hover .card-bg {
  transform: scale(1.05);
}
.hover-card:hover .hover-hint {
  transform: translateX(5px);
}
@media (hover: none), (pointer: coarse)  {
  .card-overlay {
    opacity: 0.7 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none !important;
  }
}
@media (hover: none), (pointer: coarse)  {
  .hover-hint {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: visible;
    z-index: 1;
  }
    .hero-fallback-image {
  display: none;
  width: 100%;
  height: 50vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
  .content {
    position: absolute;
    top: 20%;
    left: 5%;
    transform: translate(-0%, -0%);
    text-align: center;
    z-index: 2;
    color: #333;
  }
  .card-container {
    flex-direction: column;
    bottom: -15vh;
  }
  .card-container {
    position: relative;
    bottom: -68%; /* leicht ins Video hinein */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    z-index: 3;
    width: 90%;
    max-width: 100vw;
    justify-content: center;
  }
  .hero .card {
    background: var(--background-content);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    width: 100%;
    max-width: 98%;
    text-align: center;
    text-decoration: none;
    color: #000;
    transition: transform 0.3s ease;
    height: 270px;
  }
  .hero .card h2 {
    font-size: 1.2rem;
  }
  .hero .card img {
    width: 180px;
    text-align: center;
    margin: auto;
  }
  .content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  .content p {
    font-size: 1.2rem;
  }
  .content .u1 {
  font-size: 2em;
  color: #E7D9C2;
  font-family: "adobe-caslon-pro", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1em;
}
}
.responsive-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Verhältnis */
  height: 0;
  overflow: hidden;
  background-color: white; /* für hellen Hintergrund */
  border-radius: 0.75rem; /* optional, wenn du `.rounded-3` nutzt */
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .card-bg, .card-overlay, .hover-hint, .hover-card {
    transition: none !important;
    animation: none !important;
  }
  .card-bg {
    transform: none !important;
  }
  .hover-card:hover .hover-hint {
    transform: none !important;
  }
}
.title{
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}
/* -------------------- Hintergrundbilder BEGINN -------------------- */
.bg-content-front {
  background-image: url("../images/teaser/content_front_image.svg");
  background-size: cover;
}
.bg-content {
  background: var(--background-content, #EEEEEE);
  background-size: cover;
}
.bg-review {
  background: var(--background-review-slider, #DDD);
  background-size: cover;
  background-position: center;
}
.bg-kontaktformular {
  background: var(--background-kontaktformular);
  background-color: var(--background-content, #EEEEEE);
  background-size: cover;
  background-repeat: no-repeat;
}
@media(max-width:992px){
.bg-kontaktformular {
  background: var(--background-kontaktformular-992);
  background-color: var(--background-content, #EEEEEE);
  background-size: cover;
  background-repeat: no-repeat;
    }}
.bg-footer {
  background: var(--background-footer, #193A8F);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}
.bg-glas {
  background: var(--glas-background);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  border: 1px solid var(--glas-border);
}
.bg-title{
    background-color: var(--color-light);
}
/* -------------------- Hintergrundbilder ENDE -------------------- */
/* -------------------- Navbar-Brand ANFANG -------------------- */
@media (max-width: 992px) {
  nav .navbar-brand {
display: none;  }  }

@media (max-width: 1500px) {
  .navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  nav .navbar-brand {
    opacity: 1 !important;
  }
  nav .navbar-brand img {
    position: absolute;
    max-width: 400px;
    width: 320px;
    top: 0px;
  }
}
@media (min-width: 1500px) {
  .navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  nav .navbar-brand img {
    position: absolute;
    max-width: 500px;
    width: 400px;
    top: 0px;
  }
  nav .navbar-brand {
    opacity: 1;
    padding: 0px;
    z-index: 9;
  }
}
@media (min-width: 1700px) {
  .navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  nav .navbar-brand img {
    position: absolute;
    max-width: 600px;
    width: 500px;
    top: -6px;
    left: 3%;
  }
  nav .navbar-brand {
    opacity: 1;
    padding: 0px;
    z-index: 9;
  }
}
/* Logo Navbar Handling*/
/* Desktop: initial unsichtbar */
@media (min-width: 992px) {
	#logo {
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s ease;
	}
	#logo.logo-visible {
		opacity: 1;
		visibility: visible;
	}
}
/* Mobile: immer sichtbar */
@media (max-width: 991px) {
	#logo {
		opacity: 1;
		visibility: visible;
	}
}
@media (prefers-reduced-motion: reduce) {
	#logo {
		transition: none;
	}
}
/* -------------------- Navbar-Brand ENDE -------------------- */
/* -------------------- Navigation Anfang -------------------- */
#mainNav.navbar {
  background: var(--background-navi);
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0px 15px 10px -15px #000;
  z-index: 99;
}
#mainNav .nav-link {
  font-family: var(--font-navigation);
  transition: none;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: normal;
  padding: 0rem 1rem;
  color: var(--color-navigation);
}
@media (max-width: 1470px) {
  #mainNav .nav-link {
    transition: none;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: normal;
    padding: 0rem 1rem;
    color: var(--color-navigation);
  }
}
@media (max-width: 992px) {
  #mainNav .nav-link {
    transition: none;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: normal;
    padding: 0.5rem 1rem;
    color: var(--color-navigation);
  }
}
#mainNav .nav-link:hover, #mainNav .nav-link:focus, #mainNav .nav-link:hover .svg, #mainNav .nav-link:focus .svg, #mainNav .nav-item.active .nav-link {
  background-color: var(--color-akzent);
  transform: scale(1);
  border-radius: 3px;
  color: var(--color-navigation-hover);
}
.sticky-top {
  position: static;
}
@media (min-width: 992px) {
  .sticky-top {
    position: sticky;
    top: 0;
    width: 100%;
  }
}
/*Effekt*/
.from-center:before {
  top: 0;
  left: 50%;
  height: 100%;
  width: 0;
  border: 1px solid var(--color-akzent);
  border-left: 0;
  border-right: 0;
}
.from-center:after {
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  background: var(--color-akzent);
}
.from-center:hover:before {
  left: 0;
  width: 100%;
}
.from-center:hover:after {
  top: 0;
  height: 100%;
}
/* -------------------- Navbar Toggler BEGINN -------------------- */
.navbar-toggler {
  border: 1px solid transparent !important;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler .navbar-toggler-icon {
  width: 30px;
  height: 30px;
  position: relative;
  background-image: none !important;
  border: 1px solid transparent !important;
}
.line {
  position: absolute;
  left: 0px;
  height: 3px;
  width: 100%;
  background-color: var(--color-navigation);
  border-radius: 8px;
  transition: all cubic-bezier(0.26, 0.1, 0.27, 1.55) 0.45s;
}
.top {
  top: 18%;
}
.middle {
  top: 48%;
}
.bottom {
  top: 78%;
}
.navbar-toggler-icon.close .top {
  transform: rotate(45deg);
  top: 48%;
}
.navbar-toggler-icon.close .middle, .navbar-toggler-icon.close .bottom {
  transform: rotate(-45deg);
  top: 48%;
}
/* -------------------- Navbar Toggler ENDE -------------------- */
/* -------------------- Dropdown Animation Fade BEGINN -------------------- */
@media (min-width: 992px) {
  .dropdown-menu-end {
    position: absolute;
    margin-top: 0rem;
    left: auto;
    right: 0;
  }
  .dropdown-menu-start {
    position: absolute;
    margin-top: 0rem;
    left: auto;
    right: 0;
  }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translate(0, 50px);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translate(0, 50px);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
/* -------------------- Dropdown Animation Fade ENDE -------------------- */
/* -------------------- Dropdown BEGINN -------------------- */
.dropdown-menu {
  border: none;
  border-radius: 0px;
  background-image: none;
  box-shadow: inset 1px 1px rgb(255 255 255 / 20%), inset -1px -1px rgb(255 255 255 / 10%), 1px 3px 24px -1px rgb(0 0 0 / 15%);
  background-color: var(--dropdown-menu-mobile);
  min-width: 14rem;
  padding: 0;
}
.dropdown-menu a {
  color: var(--color-dropdown-navigation);
  font-size: 1rem;
  position: relative;
  padding: 1rem 2rem;
  font-weight: normal;
  text-align: left;
}
@media(min-width:992px) {
  .dropdown-menu {
    border: none;
    border-radius: 0px;
    background-image: none;
    box-shadow: inset 1px 1px rgb(255 255 255 / 20%), inset -1px -1px rgb(255 255 255 / 10%), 1px 3px 24px -1px rgb(0 0 0 / 15%);
    background-color: var(--dropdown-menu);
    min-width: 16rem;
    padding: 0;
  }
  .dropdown-menu a {
    color: var(--color-dropdown-navigation);
    font-size: 1rem;
    position: relative;
    padding: 0.5rem;
    font-weight: normal;
    text-align: left;
  }
}
.dropdown-menu > li:not(:last-child) {
  border-bottom: 1px dotted rgba(255, 255, 255, 0.50);
}
.dropdown-menu a:hover, .dropdown-menu a:focus {
  color: var(--color-navigation-hover);
  background-color: var(--color-akzent) !important;
}
/*Dropdown Hover muss im Media min 992px stehen, damit sich die Navigation auf mobil durch klicken wieder schließen lässt!*/
@media (min-width: 200px) {
  li.dropdown:hover .dropdown-menu, li.dropdown:focus .dropdown-menu {
    opacity: 1;
  }
  li.dropdown:hover .dropdown-menu:not(.megasubmenu), li.dropdown:focus .dropdown-menu:not(.megasubmenu) {
    display: block;
    -webkit-animation: fadeIn 0.5s;
    animation: fadeIn 0.5s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
  }
}
#mainNav.fixed-top {
  animation: smoothScroll 1s forwards;
}
@keyframes smoothScroll {
  0% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(0px);
  }
}
/* -------------------- Dropdown ENDE -------------------- */
/* -------------------- Megamenu BEGINN -------------------- */
.megasubmenu > a {
  color: var(--color-05);
  font-size: 1.2rem;
  position: relative;
  padding: 1rem 2rem;
  font-weight: normal;
}
@media all and (min-width: 992px) {
  .dropdown-menu .dropdown-toggle::after {
    border-top: .3em solid transparent;
    border-right: 0;
    border-bottom: .3em solid transparent;
    border-left: .3em solid;
  }
  /*Wird benötigt wenn das dropdown-menu Fenster rechtsbündig ist*/
  .dropdown-menu.dropdown-menu-end .dropdown-toggle::after {
    position: absolute;
    left: 15px;
    top: 22px;
    border-top: .3em solid transparent;
    border-right: .3em solid;
    border-bottom: .3em solid transparent;
    border-left: 0;
  }
  .megasubmenu {
    left: 100%;
    top: 0;
    min-height: 100%;
    min-width: 13rem;
  }
  .megasubmenu-end {
    right: 100%;
    left: auto;
    text-align: right !important;
  }
  .dropdown-menu > li:hover .megasubmenu {
    display: block;
    -webkit-animation: fadeIn 0.5s;
    animation: fadeIn 0.5s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
  }
  .megasubmenu a:not(:last-child) {
    border-bottom: 1px dotted rgba(255, 255, 255, 0.50);
  }
}
/* -------------------- Megamenu ENDE -------------------- */
/* -------------------- Theme Switch ANFANG -------------------- */
.checkbox {
  opacity: 0;
  position: absolute;
}
#colorMode.switch {
  background: #212529;
  width: 70px;
  height: 40px;
  border: solid 2px var(--color-navigation, #000);
  border-radius: 50px;
  position: relative;
  padding: 9px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#language_switch.switch {
  background: var(--background-navi, #fff);
  width: 75px;
  height: 40px;
  border: solid 2px var(--color-navigation, #000);
  border-radius: 50px;
  position: relative;
  padding: 7px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fa-moon {
  color: #f1c40f;
}
.fa-sun {
  color: #f39c12;
}
.switch .ball {
  background: rgba(255, 255, 255, 0.8);
  width: 30px;
  height: 30px;
  position: absolute;
  left: 2px;
  top: 3px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}
#language_switch.switch .ball {
  background: rgba(255, 255, 255, 0.8);
  width: 33px;
  height: 33px;
  position: absolute;
  left: 2px;
  top: 1px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}
.checkbox:checked + .switch .ball {
  transform: translateX(30px);
}
.checkbox:checked + #language_switch.switch .ball {
  transform: translateX(33px);
}
/* -------------------- Theme Switch ENDE -------------------- */
/* -------------------- Navigation ENDE -------------------- */

/* -------------------- Scroll Top BEGINN -------------------- */
.scroll-top {
  display: none !important;
  color: #fff;
  font-weight: bold;
  background-color: rgba(43, 43, 43, 0.60);
  right: 140px;
  bottom: 4.5%;
  position: fixed;
  transition: all .35s;
  box-shadow: 1px 0px 2px #333;
  font-size: 0.7rem;
  z-index: 9;
  border-radius: 0.5em;
}
.scroll-top:hover {
  color: #fff;
  text-decoration: none;
  background-color: var(--color-akzent);
}
@media (min-width: 992px) {
  .scroll-top {
    display: block !important;
  }
}
/* -------------------- Scroll Top ENDE -------------------- */

/* -------------------- Footer BEGINN -------------------- */
.footer-title {
  text-align: center;
  color: var(--color-footer-text);
  padding: 2.5rem 0 0;
}
.copyright {
  color: var(--color-footer-text);
  font-style: italic;
  text-align: center;
  margin: auto;
  display: block;
}
.justify-content-space-around {
  justify-content: space-around;
}
.logo-footer {
  height: 110px;
  display: block;
}
.slogan {
  text-align: center;
  color: #E7D9C2;
  font-size: 1.6em;
  font-family: "adobe-caslon-pro", serif;
  font-weight: 400;
}
@media(max-width:992px){
.slogan {
  text-align: center;
  color: #E7D9C2;
  font-size: 1.3em;
  font-family: "adobe-caslon-pro", serif;
  font-weight: 400;
  padding: 0.5em 0em;
    margin: 0;
    }
    
.copyright {
color: var(--color-footer-text);
font-size: 0.9em;
}
.logo-footer {
  height: 90px;
  display: block;
}}

.footer-icon {
  width: 14px !important;
  height: 14px !important;
  border: 3px solid var(--color-akzent);
  border-radius: 50%;
  padding: 0.6rem;
  color: var(--footer-icon-color);
}
.footer-list-1 a:hover .footer-icon {
  border: 3px solid var(--color--links-hover);
  color: var(--color-links-hover);
}
.footer-list-1 {
  color: var(--color-footer-text);
  list-style-type: none;
  padding: 1rem 0 0;
  text-align: center;
  font-size: 0.9em;
}
.footer-list-1 a {
  color: var(--color-footer-link);
  text-decoration: none;
}
.footer-list-1 p {
  color: var(--color-footer-link);
  padding: 0 0.5rem;
  text-decoration: none;
}
.footer-list-1 a:hover {
  color: var(--color-links-hover);
}
.footer-list-1 ul {
  list-style: none;
}
.footer-end {
  text-align: center;
}
.footer-end a {
  color: var(--color-footer-links);
  text-decoration: none;
}
.footer-end a:hover {
  color: var(--color-links-hover);
}
.footer-position {
  position: fixed;
  bottom: 0;
}

.accordion-content {
  display: none;
}

.accordion-toggle {
  background: none;
  border: none;
  width: 100%;
  padding: 0.5rem 0;
  font-size: 1.25rem;
  font-weight: normal;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color:antiquewhite;
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.accordion-toggle.active .toggle-icon {
  transform: rotate(180deg);
}

/* Beim Öffnen */
.accordion-open {
  display: block;
}

/* In der Desktop-Ansicht: Inhalte offen, Toggles deaktiviert */
@media (min-width: 768px) {
  .accordion-content {
    display: block !important;
  }

  .accordion-toggle {
    pointer-events: none;
    cursor: default;
  }

  .accordion-toggle .toggle-icon {
    display: none;
  }
}


/* -------------------- Footer ENDE -------------------- */

/* -------------------- Öffnungszeiten Tabelle BEGINN -------------------- */
.table {
  border-color: #9b9b9b;
}
.table .table {
  background-color: transparent;
  color: #fff;
}
.table-success, .table-success > th, .table-success > td {
  background-color: var(--color-akzent) !important;
  color: var(--color-table) !important;
  font-weight: 400;
}
.table-sm > :not(caption) > * > * {
  padding: 0.25rem 1rem;
  padding: .4rem .4rem;
  color: var(--color-text);
  background-color: transparent;
}
@media(max-width:992px){
.table-sm td {
    font-size: 0.9em;
    }}
.table td > div:not(:last-child) {
  margin-bottom: 0.25rem;
}
/* -------------------- Öffnungszeiten Tabelle ENDE -------------------- */
/* -------------------- Datenschutz Button BEGINN -------------------- */
.btn-success {
  color: var(--color-text);
  background-color: var(--color-hauptfarbe);
  border-color: var(--color-text);
}
.btn-success:hover, .btn-success:focus {
  color: var(--color-text);
  background-color: var(--color-akzent);
  border-color: var(--color-text);
}
.btn-check:active + .btn-success, .btn-check:checked + .btn-success, .btn-success.active, .btn-success:active, .show > .btn-success.dropdown-toggle {
  color: var(--color-text);
  background-color: #999;
  border-color: #ddd;
}
.btn-check:active + .btn-success:focus, .btn-check:checked + .btn-success:focus, .btn-success.active:focus, .btn-success:active:focus, .show > .btn-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 .25rem rgba(176, 158, 128, 0.50);
}
.btn-success.disabled, .btn-success:disabled {
  color: var(--color-text);
  background-color: #999;
  border-color: #ddd;
}
/* -------------------- Datenschutz Button ENDE -------------------- */

/* --------------------- Custom Spacer Padding u. Magrin ANFANG --------------------- */
/* Custom Padding spacing utilities */
.cp-4 {
  padding-top: 4em !important;
  padding-bottom: 4em !important;
  padding-left: 4em !important;
  padding-right: 4em !important;
}
.cpt-4 {
  padding-top: 4em !important;
}
.cpb-4 {
  padding-bottom: 4em !important;
}
.cps-4 {
  padding-left: 4em !important;
}
.cpe-4 {
  padding-right: 4em !important;
}
.cpx-4 {
  padding-left: 4em !important;
  padding-right: 4em !important;
}
.cpy-4 {
  padding-top: 4em !important;
  padding-bottom: 4em !important;
}
.cp-5 {
  padding-top: 5em !important;
  padding-bottom: 5em !important;
  padding-left: 5em !important;
  padding-right: 5em !important;
}
.cpt-5 {
  padding-top: 5em !important;
}
.cpb-5 {
  padding-bottom: 5em !important;
}
.cps-5 {
  padding-left: 5em !important;
}
.cpe-5 {
  padding-right: 5em !important;
}
.cpx-5 {
  padding-left: 5em !important;
  padding-right: 5em !important;
}
.cpy-5 {
  padding-top: 5em !important;
  padding-bottom: 5em !important;
}
.cp-6 {
  padding-top: 6em !important;
  padding-bottom: 6em !important;
  padding-left: 6em !important;
  padding-right: 6em !important;
}
.cpt-6 {
  padding-top: 6em !important;
}
.cpb-6 {
  padding-bottom: 6em !important;
}
.cps-6 {
  padding-left: 6em !important;
}
.cpe-6 {
  padding-right: 6em !important;
}
.cpx-6 {
  padding-left: 6em !important;
  padding-right: 6em !important;
}
.cpy-6 {
  padding-top: 6em !important;
  padding-bottom: 6em !important;
}
.cp-7 {
  padding-top: 7em !important;
  padding-bottom: 7em !important;
  padding-left: 7em !important;
  padding-right: 7em !important;
}
.cpt-7 {
  padding-top: 7em !important;
}
.cpb-7 {
  padding-bottom: 7em !important;
}
.cps-7 {
  padding-left: 7em !important;
}
.cpe-7 {
  padding-right: 7em !important;
}
.cpx-7 {
  padding-left: 7em !important;
  padding-right: 7em !important;
}
.cpy-7 {
  padding-top: 7em !important;
  padding-bottom: 7em !important;
}
.cp-8 {
  padding-top: 8em !important;
  padding-bottom: 8em !important;
  padding-left: 8em !important;
  padding-right: 8em !important;
}
@media(min-width:992px){
.cpt-8 {
  padding-top: 8em !important;
    }}
.cpb-8 {
  padding-bottom: 8em !important;
}
.cps-8 {
  padding-left: 8em !important;
}
.cpe-8 {
  padding-right: 8em !important;
}
.cpx-8 {
  padding-left: 8em !important;
  padding-right: 8em !important;
}
.cpy-8 {
  padding-top: 8em !important;
  padding-bottom: 8em !important;
}
.cp-9 {
  padding-top: 9em !important;
  padding-bottom: 9em !important;
  padding-left: 9em !important;
  padding-right: 9em !important;
}
.cpt-9 {
  padding-top: 9em !important;
}
.cpb-9 {
  padding-bottom: 9em !important;
}
.cps-9 {
  padding-left: 9em !important;
}
.cpe-9 {
  padding-right: 9em !important;
}
.cpx-9 {
  padding-left: 9em !important;
  padding-right: 9em !important;
}
.cpy-9 {
  padding-top: 9em !important;
  padding-bottom: 9em !important;
}
/* Custom Margin spacing utilities */
.cm-4 {
  margin-top: 4em !important;
  margin-bottom: 4em !important;
  margin-left: 4em !important;
  margin-right: 4em !important;
}
.cmt-4 {
  margin-top: 4em !important;
}
.cmb-4 {
  margin-bottom: 4em !important;
}
.cms-4 {
  margin-left: 4em !important;
}
.cme-4 {
  margin-right: 4em !important;
}
.cmx-4 {
  margin-left: 4em !important;
  margin-right: 4em !important;
}
.cmy-4 {
  margin-top: 4em !important;
  margin-bottom: 4em !important;
}
.cm-5 {
  margin-top: 5em !important;
  margin-bottom: 5em !important;
  margin-left: 5em !important;
  margin-right: 5em !important;
}
.cmt-5 {
  margin-top: 5em !important;
}
.cmb-5 {
  margin-bottom: 5em !important;
}
.cms-5 {
  margin-left: 5em !important;
}
.cme-5 {
  margin-right: 5em !important;
}
.cmx-5 {
  margin-left: 5em !important;
  margin-right: 5em !important;
}
.cmy-5 {
  margin-top: 5em !important;
  margin-bottom: 5em !important;
}
.cm-6 {
  margin-top: 6em !important;
  margin-bottom: 6em !important;
  margin-left: 6em !important;
  margin-right: 6em !important;
}
.cmt-6 {
  margin-top: 6em !important;
}
.cmb-6 {
  margin-bottom: 6em !important;
}
.cmb-8 {
  margin-bottom: 8em !important;
}
.cms-6 {
  margin-left: 6em !important;
}
.cme-6 {
  margin-right: 6em !important;
}
.cmx-6 {
  margin-left: 6em !important;
  margin-right: 6em !important;
}
.cmy-6 {
  margin-top: 6em !important;
  margin-bottom: 6em !important;
}
.cm-7 {
  margin-top: 7em !important;
  margin-bottom: 7em !important;
  margin-left: 7em !important;
  margin-right: 7em !important;
}
.cmt-7 {
  margin-top: 7em !important;
}
.cmb-7 {
  margin-bottom: 7em !important;
}
.cms-7 {
  margin-left: 7em !important;
}
.cme-7 {
  margin-right: 7em !important;
}
.cmx-7 {
  margin-left: 7em !important;
  margin-right: 7em !important;
}
.cmy-7 {
  margin-top: 7em !important;
  margin-bottom: 7em !important;
}
.cm-8 {
  margin-top: 8em !important;
  margin-bottom: 8em !important;
  margin-left: 8em !important;
  margin-right: 8em !important;
}
.cmt-8  {
  margin-top: 8em !important;
}
.cmt-8 {
  margin-top: 8em !important;
}
.cmb-8 {
  margin-bottom: 8em !important;
}
.cms-8 {
  margin-left: 8em !important;
}
.cme-8 {
  margin-right: 8em !important;
}
.cmx-8 {
  margin-left: 8em !important;
  margin-right: 8em !important;
}
.cmy-8 {
  margin-top: 8em !important;
  margin-bottom: 8em !important;
}
.cm-9 {
  margin-top: 9em !important;
  margin-bottom: 9em !important;
  margin-left: 9em !important;
  margin-right: 9em !important;
}
.cmt-9 {
  margin-top: 9em !important;
}
.cmb-9 {
  margin-bottom: 9em !important;
}
.cms-9 {
  margin-left: 9em !important;
}
.cme-9 {
  margin-right: 9em !important;
}
.cmx-9 {
  margin-left: 9em !important;
  margin-right: 9em !important;
}
.cmy-9 {
  margin-top: 9em !important;
  margin-bottom: 9em !important;
}
/* ---------------------- Custom Spacer Padding u. Magrin ENDE ---------------------- */
/* -------------------- Custom CSS ANFANG -------------------- */
.mapsiframe {
  border: none;
  width: 100%;
  filter: var(--mapsiframe-filter);
}
.flex-control-nav {
  bottom: -30px;
}
.title-review {
  color: var(--title-review);
}
.tooltip-highlighter {
  border-bottom: 1px dotted #b1b1b1;
  cursor: help;
}
.carousel-caption {
  color: var(--color-top-info-text);
  bottom: 3.5rem;
}
#indicator-bars {
  height: 8px;
}
/* -------------------- Custom CSS Ende -------------------- */
/* -------------------- Leistung Carousel Cards ANFANG -------------------- */
.carousel-playback-controls button {
  margin-top: 60px;
  background: var(--background-content, #fff);
  color: var(--color-text);
}

/* Stile für die Navigationspfeile */
#leistung-cards .carousel-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
  position: relative;
}
#leistung-cards .carousel-inner {
  overflow: hidden;
}
#leistung-cards .carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.6s ease-in-out;
}
#leistung-cards .carousel-item.active {
  position: relative;
  z-index: 1;
}
#leistung-cards .carousel-item {
  visibility: hidden;
}
#leistung-cards .carousel-item.active {
  visibility: visible;
}
#leistung-cards .card {
  border: none;
  background: transparent;
}
#leistung-cards .card-body {
  margin: -2em 1em 0em 1em;
  background: var(--background-content, #fff);
  color: var(--color-text);
  text-align: center;
  min-height: 300px;
}
#leistung-cards .carousel-control-prev, #leistung-cards .carousel-control-next {
  /*background-color: rgba(0, 0, 0, 0.7); */ /* Hintergrundfarbe */
  border-radius: 50%;
  width: 50px; /* Größe der Buttons */
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#leistung-cards .carousel-control-prev {
  left: 35%;
  top: 50%;
}
#leistung-cards .carousel-control-next {
  right: 35%;
  top: 50%;
}
#leistung-cards .custom-icon {
  font-size: 20px; /* Symbolgröße */
  color: white; /* Symbolfarbe */
}
/* Stile für den Zähler */
#leistung-cards .carousel-counter {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  color: #A5A5A5;
}
@media(max-width:1200px) {
  .carousel-playback-controls button {
    margin-top: 0px;
    background: var(--background-content, #fff);
  }
  #leistung-cards .carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 0%;
    position: absolute;
    margin-bottom: 100px;
    width: 95%;
  }
  #leistung-cards .carousel-control-prev {
    left: 2.5%;
    top: 50%;
  }
  #leistung-cards .carousel-control-next {
    right: 2.5%;
    top: 50%;
  }
}
.carousel-item .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.carousel-item .card .btn {
  position: absolute;
  bottom: 8em;
  left: 15%;
  width: 70%;
  outline: var(--color-akzent) 2px solid;
    color: var(--color-text);
}
#modalImageCarouselInner .carousel-item {
  text-align: center;
}
#modalImageCarouselInner .carousel-item img {
  max-height: 70vh;
  width: auto;
  display: inline-block;
  object-fit: contain;
  margin: auto;
}
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5); /* dunkler halbtransparenter Hintergrund */
  border-radius: 50%;
  padding: 1rem;
}
/* Optional: Farbe ändern (heller) */
.carousel-control-prev-icon, .carousel-control-next-icon {
  background-image: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}
/* Mit Icon über Font Awesome */
.carousel-control-prev::after, .carousel-control-next::after {
  content: '';
}
.carousel-control-prev i, .carousel-control-next i {
  font-size: 1.5rem;
  color: white;
}
.open-modal:hover{
    background-color: var(--color-akzent);
    color: #fff;
}
/*-----------------  Unterseite Holzhausbau  -----------------------------*/
#halbkreis-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  max-width: 1700px;
  margin: auto;
}

#halbkreis-cards .row {
  display: flex;
  gap: 20px;
}

#halbkreis-cards .row.three-cards .card {
  flex: 1;
}

#halbkreis-cards .middle {
  display: flex;
  gap: 20px;
}

#halbkreis-cards .middle .card-left {
  flex: 1;
}

#halbkreis-cards .middle .image-right {
  flex: 2.15;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 300px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-weight: 300;
}

#halbkreis-cards .middle .image-right img {
  max-width: 105%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#halbkreis-cards .card {
  background: var(--background-content);
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-weight: 300;
  color: var(--color-text)
}
#halbkreis-cards .card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 300px;
  padding: 20px 50px;
}

/* Überschrift oben rechts */
#halbkreis-cards .card h2 {
  position: relative;
  top: 10px;
  left: 0px;
  margin: 0;
  font-size: 1.4em;
}

/* Text unten ausrichten */
#halbkreis-cards .card p, #halbkreis-cards .card ul {
  margin-top: 1em;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.4;
}
@media (max-width: 768px) {
  #halbkreis-cards .row,
  #halbkreis-cards .middle {
    flex-direction: column;
  }

  #halbkreis-cards .middle .card-left,
  #halbkreis-cards .middle .image-right {
    flex: unset;
    width: 100%;
  }
}
.faq-accordion details {
  border-bottom: 1px solid #ccc;
  padding: 1rem 0;
}
.faq-accordion summary {
  cursor: pointer;
  font-size: 1.1rem;
}
.faq-accordion details[open] summary{
    padding-bottom: 1em
}
.faq-accordion summary::marker {
  content: "▶ ";
}
.faq-accordion details[open] summary::marker {
  content: "▼ ";
}

.teaser-image {
  height: 50vh;
  object-fit: cover;
  object-position: center;
}

.teaser-text {
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .teaser-image,
  .teaser-text {
    height: 700px;
  }
}

#holzhaus_warum_neu .mini-card {
  background-color: var(--background-content, #f8f8f8);
  border-left: 4px solid var(--color-akzent, #8B5E3C);
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

#holzhaus_warum_neu .mini-card h2 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  font-weight: 600;
}

#holzhaus_warum_neu .mini-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--color-text);
}
.cta-holzhausbau {
  background: var(--gradient-cta);
  border-top: 4px solid var(--color-akzent, #8B5E3C);
  border-bottom: 4px solid var(--color-akzent, #8B5E3C);
}

.cta-holzhausbau h2 {
  color: var(--color-akzent, #8B5E3C);
  font-weight: 700;
}

.cta-holzhausbau .btn-primary {
  background-color: var(--color-akzent, #8B5E3C);
  border: none;
  transition: background-color 0.3s ease;
}

.cta-holzhausbau .btn-primary:hover {
  background-color: #a37048;
}

/* -------------------- Control Center Barrierefreiheit ANFANG -------------------- */
.button-control-center {
  position: fixed;
  bottom: 1.2em;
  left: 1.2em;
  cursor: pointer;
  z-index: 1998;
}
@media (max-width: 991px) {
	.button-control-center {
		bottom: 0.8em;
		left: 0.8em;
	}
}
.button-control-center svg {
	border: 3px solid #fff;
	border-radius: 2em;
	width: 1.5em;
	height: 1.5em;
	background: #fff;
	color: var(--color-akzent);
	outline: 3px solid #000;
	margin: 3px;
}
.access-panel {
	position: fixed;
	bottom: 5.6em;
	left: 1.2em;
	width: 350px;
	background: var(--bg-access-panel);
	border-radius: 0.2em;
	box-shadow: var(--access-panel-bs);
	z-index: 9980;
}
.access-panel-headline {
	background: #3b3b3b;
	border-radius: 0.2em 0.2em 0em 0em;
}
.panel-button {
	background: var(--bg-panel-button);
	border-radius: 0.2em;
	/*cursor: pointer;*/
	padding: 1em 0em;
	width: 100%;
	border: none;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.panel-button:hover {
	background: #c7c7c7;
}
.access-panel-close-button {
	background: #fff;
	color: #0c1520;
	border-radius: 0.2em;
	padding: 0.2em 0.5em;
}
.access-panel-close-button:hover {
	background: #E4E4E4;
	color: #0c1520;
}
.access-panel-auswahl span {
	font-size: 0.8em;
	color: var(--color-text);
}
.access-panel-auswahl svg {
	width: 1.4em;
	height: 1.4em;
	color: var(--color-text);
}
.icon-active {
  display: none;
}

/* Start Style Bedienhilfen */
.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9990;
  backdrop-filter: none;
}
body.font-large {
	font-size: 1.3em !important;
}
body.line-spacing {
	line-height: 1.8 !important;
}
body.underline-links a {
	text-decoration: underline !important;
}
/* Standard-Cursor für alle Elemente */
body.cursor-big * {
  cursor: var(--cursor-color) 10 0, auto;
}
body.cursor-big *[style*="position:fixed"],
body.cursor-big *[style*="position: fixed"],
body.cursor-big .fixed {
  cursor: var(--cursor-color) 10 0, auto;
}
/* Cursor für klickbare Elemente */
body.cursor-big a,
body.cursor-big a *,

body.cursor-big button,
body.cursor-big button *,

body.cursor-big [role="button"],
body.cursor-big [role="button"] *,

body.cursor-big label,
body.cursor-big label * {
  cursor: var(--cursor-pointer) 20 0, pointer;
}
body.no-images img {
	opacity: 0 !important;
}
body.no-images video {
	opacity: 0 !important;
}
body.no-images * {
    background-image: none !important;
}
@media (max-width: 991px) {
	body.no-images img {
		display: none;
	}
}
#readline {
  position: fixed;
  top: 0;
  height: 2px;
  width: 100vw;
  background: var(--color-readline);
  z-index: 999999;
  pointer-events: none;
  transition: top 0.1s linear;
  display: none;
}
body.readline #readline {
	display: block;
}
/* Tooltip für Icon */
.accessicon-tooltip {
	visibility: hidden;
	position: absolute;
	top: 50%;
	left: 100%;
	transform: translateY(-50%);
	background-color: var(--access-icon-tooltip-color);
	color: var(--access-icon-tooltip-text);
	text-align: center;
	border-radius: 5px;
	padding: 0.6em 1.2em;
	opacity: 0;
	transition: opacity 0.3s;
	z-index: 2000;
	margin-left: 1em;
	font-size: 0.88em;
	width: 180px;
}
.accessicon-tooltip::before {
	content: '';
	position: absolute;
	top: 50%;
	right: 100%;
	border-width: 8px;
	border-style: solid;
	border-color: transparent var(--access-icon-tooltip-color) transparent transparent;
	transform: translateY(-50%);
}
.button-control-center:hover .accessicon-tooltip {
	visibility: visible;
	opacity: 1;
}
/* Ende Style Bedienhilfen */
/* --------------------- Control Center Barrierefreiheit ENDE --------------------- */