header {
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 100;
  background: #c5e0f6;
  background: linear-gradient(
    191deg,
    rgba(197, 224, 246, 1) 0%,
    rgba(205, 217, 241, 1) 100%
  );
}

/* 1. Standard (Mobile): Gilt von 0px bis unendlich */
main {
  margin-top: 185px; /* Ein kleinerer Wert für Handys */
  z-index: 0;
}

html {
  scroll-padding-top: 220px; /* Die exakte Höhe deines Headers */
  scroll-behavior: smooth; /* Macht das Scrollen schön weich (falls nicht schon aktiv) */
}

@media (min-width: 576px) {
  main {
    margin-top: 215px;
  }
}

@media (min-width: 768px) {
  main {
    margin-top: 225px;
  }
}

@media (min-width: 992px) {
  main {
    margin-top: 205px;
  }
}

@media (min-width: 1200px) {
  main {
    margin-top: 223px;
  }
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.siegel {
  position: fixed;
  top: 0px;
  right: 0px;
  z-index: 1000;
}

.btn-danger a {
  color: #fff;
}

.bg-slider {
  background-color: #fffaee;
  border-radius: 4px;
  margin-top: 15px;
  padding: 0px;
}

.previous {
  margin-right: 10px;
}

.tp-bgimg {
  border-radius: 4px;
}

.footer-links {
  margin-top: 15px;
}
.footer-links p {
  margin: 0px;
}

.fb-bg {
  background-color: #f6f7f9;
}

@media (max-width: 992px) {
  .claim {
    padding: 30px 35px 40px 35px;
    text-align: center;
  }

  .claim h1 {
    font-size: 25px;
    color: #a99178;
  }

  .claim h2 {
    font-size: 50px;
    color: #a99178;
  }
}

h1,
.h1,
.convertforms .cf-headline,
.convertforms h1,
h2.team {
  font-weight: 500;
  font-style: italic;
  font-family: "neo-sans", sans-serif, Georgia, "Times New Roman", Times, serif;
}

h2,
.h2,
h2 .cf-kerse {
  padding-bottom: 0.3rem;
  padding-top: 0.5rem;
  font-family: "neo-sans", sans-serif, Georgia, "Times New Roman", Times, serif;
}

ul.leistungen li {
  display: inline;
}

@media (min-width: 993px) {
  .claim {
    padding: 60px 35px 85px 35px;
    text-align: center;
  }

  .claim h1 {
    font-size: 30px;
    color: #a99178;
  }

  .claim h2 {
    font-size: 80px;
    color: #a99178;
  }
}

.item-page,
.blog,
.blog-featured {
  padding: 10px;
}

.blog .item-content {
  margin-bottom: 5px;
}

.card,
.blog-item {
}

.item-content {
  padding-bottom: 15px;
}

.teaser-body .teaser-icon-circle a:link,
.teaser-body .teaser-icon-circle a:visited {
  color: #fff;
}

.teaser-body .teaser-icon-circle a:hover,
.teaser-headline a:hover {
  color: #e4ab00;
}

@media (max-width: 992px) {
  .fab-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    user-select: none;
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: transparent;
    z-index: 1000;
  }
}

@media (min-width: 993px) {
  .fab-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    user-select: none;
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: transparent;
    z-index: 1000;
  }
}

.fab-container:hover {
  height: 100%;
}
.fab-container:hover .sub-button:nth-child(2) {
  transform: translateY(80px);
}
.fab-container:hover .sub-button:nth-child(3) {
  transform: translateY(140px);
}
.fab-container:hover .sub-button:nth-child(4) {
  transform: translateY(200px);
}
.fab-container:hover .sub-button:nth-child(5) {
  transform: translateY(260px);
}
.fab-container:hover .sub-button:nth-child(6) {
  transform: translateY(320px);
}
.fab-container:focus {
  transform: none;
}
.fab-container .fab {
  position: relative;
  height: 70px;
  width: 70px;
  background-color: #911e49;
  border-radius: 50%;
  z-index: 2;
}
.fab-container .fab::before {
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  height: 35px;
  width: 35px;
  background-color: inherit;
  border-radius: 0 0 10px 0;
  z-index: -1;
}
.fab-container .fab .fab-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  border-radius: 50%;
}
.fab-container .fab .fab-content .fas {
  color: white;
  font-size: 45px;
}
.fab-container .sub-button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 10px;
  right: 10px;
  height: 50px;
  width: 50px;
  background-color: #911e49;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.fab-container .sub-button:hover {
  cursor: pointer;
}
.fab-container .sub-button .fas {
  color: white;
  padding-top: 5px;
  font-size: 22px;
}

.fab-container .sub-button span {
  right: 20px;
  left: auto;
  margin: 10px 55px 5px 0;
}

.fab-container .sub-button span {
  visibility: hidden;
}

.fab-container .sub-button:hover span {
  transition: transform 1s;
  visibility: visible;
  animation: fabscaleup 0.4s ease-out 0s 1 normal forwards;
}

.fab-container .sub-button .tooltip-dark {
  background-color: rgba(0, 0, 0, 0.9);
  color: #ddd;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fab-container .sub-button span {
  position: absolute;
  right: 20px;
  line-height: 20px;
  margin: 10px 55px 5px 0;
  white-space: nowrap;
  display: block;
  padding: 5px 10px;
  font-size: 14px;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  transition: margin 700ms;
  border-radius: 4px;
}

.bg-verlauf {
  background-image: linear-gradient(to bottom, #fee6b8 0%, #fed585 100%);
  background-repeat: repeat-x;
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 1px 5px rgba(0, 0, 0, 0.075);
  margin-top: 15px;
  padding: 15px 0px;
}

.com-content-category-blog__item a.btn {
  background-color: none;
}

.header-icon {
  min-height: 50px;
  min-width: 50px;
}

.img-fluid {
  border-radius: 6px;
}

#mod-custom126 {
  padding: 25px 0;
}

.bg-gelb {
  background: rgb(255, 255, 255);
  background: -moz-radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8533788515406162) 0%,
    rgba(255, 255, 255, 0.6965161064425771) 100%
  );
  background: -webkit-radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8533788515406162) 0%,
    rgba(255, 255, 255, 0.6965161064425771) 100%
  );
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8533788515406162) 0%,
    rgba(255, 255, 255, 0.6965161064425771) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
  border-radius: 4px;
  margin-top: 15px;
  padding: 15px 0px;
}

.bg-galerie {
  background-color: #fffaee;
  border-radius: 4px;
  margin-top: 15px;
  padding: 15px;
}

.btn-secondary {
  background-color: transparent;
  color: #6d1737;
  transition: background-color 1s ease-out;
}

.btn-secondary:hover {
  background-color: rgb(145, 30, 73);
  color: #fff;
  border: 1px solid rgb(145, 30, 73);
}

.footer-end-wrapper {
  background: rgb(145, 30, 73);
  background: -moz-radial-gradient(
    circle,
    rgba(145, 207, 241, 1) 54%,
    rgba(81, 192, 238, 1) 100%
  );
  background: -webkit-radial-gradient(
    circle,
    rgba(145, 207, 241, 1) 54%,
    rgba(81, 192, 238, 1) 100%
  );
  background: radial-gradient(
    circle,
    rgba(145, 207, 241, 1) 54%,
    rgba(81, 192, 238, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#91cff1",endColorstr="#51c0ee",GradientType=1);
  width: 100%;
  margin-top: 15px;
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 970px) {
  .footer-end-wrapper h3 {
    font-weight: 500;
    font-style: italic;
    font-size: 1.4rem;
  }
}

@media (min-width: 971px) {
  .footer-end-wrapper h3 {
    font-weight: 500;
    font-style: italic;
    font-size: 1.8rem;
  }
}

.footer-curve {
  position: absolute;
  height: 100px;
  width: 100%;
  top: 0;
}

.footer-curve::before {
  background-color: rgb(255, 255, 255);
  border-bottom-left-radius: 61% 56%;
  border-bottom-right-radius: 24% 7%;
  border-top-left-radius: 0% 24%;
  border-top-right-radius: 10% 0%;
  box-sizing: border-box;
  content: "";
  display: block;
  height: 100px;
  position: absolute;
  transform: matrix(1, 0, 0, 1, -171.268753, -40);
  width: 1712.6875px;
}

.footer-curve::before {
  content: "";
  display: block;
  position: absolute;
  border-radius: 0% 10% 24% 61%/24% 0% 7% 56%;
  width: 110%;
  height: 100%;
  background-color: #fff;
  transform: translate(-10%, -40%);
}

.elastic-video {
  position: relative;
  padding-bottom: 55%;
  padding-top: 15px;
  height: 0;
  overflow: hidden;
}
.elastic-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

ul.pagenav li a {
  display: inline;
  float: left;
  margin-right: 20px;
}

@media (min-width: 993px) {
  .icons {
    margin-top: 70px;
    margin-bottom: 90px;
  }
  .icons h2 {
    font-weight: 500;
    font-style: italic;
    font-size: 2.6rem;
  }
}

@media (max-width: 992px) {
  .icons {
    margin-top: 50px;
    margin-bottom: 60px;
  }
  .icons h2 {
    font-weight: 500;
    font-style: italic;
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 0.45rem 1rem;
  }
}

@media (min-width: 993px) {
  .navbar {
    padding: 0.25rem 1rem;
  }
}

.navbar-light {
  background: rgb(246, 246, 246);
  background: -moz-linear-gradient(
    0deg,
    rgba(246, 246, 246, 0.5032387955182073) 0%,
    rgba(255, 255, 255, 0.7021183473389356) 75%
  );
  background: -webkit-linear-gradient(
    0deg,
    rgba(246, 246, 246, 0.5032387955182073) 0%,
    rgba(255, 255, 255, 0.7021183473389356) 75%
  );
  background: linear-gradient(
    0deg,
    rgba(246, 246, 246, 0.5032387955182073) 0%,
    rgba(255, 255, 255, 0.7021183473389356) 75%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f6f6f6",endColorstr="#ffffff",GradientType=1);
  border-radius: 4px;
  -webkit-box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 5px rgba(0, 0, 0, 0.075);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 5px rgba(0, 0, 0, 0.075);
}

.navbar-light .navbar-nav .active .nav-link {
  color: #911e49;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .active > a {
  background-image: none;
  box-shadow: none;
}

.moduletable-links ul {
  list-style: none;
  padding: 30px 0;
}

.moduletable-links .mod-menu li {
  padding: 14px 15px;
  margin-top: 3px;
  position: relative;
  color: #302f26;
  background: rgb(202, 224, 245);
  background: -moz-linear-gradient(
    143deg,
    rgba(202, 224, 245, 1) 0%,
    rgba(210, 220, 240, 1) 51%,
    rgba(255, 243, 234, 1) 100%
  );
  background: -webkit-linear-gradient(
    143deg,
    rgba(202, 224, 245, 1) 0%,
    rgba(210, 220, 240, 1) 51%,
    rgba(255, 243, 234, 1) 100%
  );
  background: linear-gradient(
    143deg,
    rgba(202, 224, 245, 1) 0%,
    rgba(210, 220, 240, 1) 51%,
    rgba(255, 243, 234, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cae0f5",endColorstr="#fff3ea",GradientType=1);
  display: block;
  width: 100%;
  transition: background 1s ease-out;
}

.moduletable-links .mod-menu li:hover {
  background: #d2dcf0;
  color: #000;
}

.moduletable-links .mod-menu > li.active {
  background: #d2dcf0;
  color: #000;
}

/* ###############  Footer Menu Anfang * ########################### */

.footer,
.rights {
  padding-top: 5px;
  padding-bottom: 10px;
}

@media (min-width: 971px) {
  .rights .rechte {
    padding-top: 18px;
    padding-left: 0px;
    text-decoration: none;
    font-family: "gesta", sans-serif, "Lato", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    color: #fff;
  }
}

.datenschutz {
  padding-top: 20px;
  padding-left: 0px;
  padding-bottom: 20px;
  text-decoration: none;
  font-family: "gesta", sans-serif, "Lato", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: normal;
  color: #fff;
}

@media (max-width: 970px) {
  .rights .rechte {
    padding-top: 0px;
    padding-left: 0px;
    padding-bottom: 15px;
    text-decoration: none;
    font-family: "gesta", sans-serif, "Lato", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    color: #fff;
  }
}

pre {
  white-space: pre-wrap;
}

.footer-end-wrapper p {
  color: #fff;
}

.footer-end-wrapper ul.nav.menu.footermenu {
  list-style: none;
  padding-top: 10px;
}

.footer-end-wrapper ul.nav li {
  margin: 0px !important;
  padding: 0px !important;
  background-color: none;
  display: inline;
  white-space: nowrap;
  float: left;
}
.footer-end-wrapper ul.nav li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  font-family: "gesta", sans-serif, Helvetica, Arial, sans-serif;
  color: #fff;
  padding-right: 15px;
  padding-left: 0px;
  background: none;
  display: inline;
  float: left;
}

.footer-end-wrapper ul.nav li a:hover,
.footer-end-wrapper ul.nav li a:active,
.footer-end-wrapper ul.nav li a:focus {
  text-decoration: none;
  color: #933700;
  font-family: "gesta", sans-serif, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding-right: 15px;
  background: none;
}
.footer-end-wrapper ul.nav li.active a {
  text-decoration: none;
  color: #933700;
  font-family: "gesta", sans-serif, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: none;
  padding-right: 15px;
}

.footer a:link,
.footer a:visited {
  text-decoration: none;
  color: #fff7e5;
  font-family: "gesta", sans-serif, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: normal;
}

.footer a:hover,
.footer a:active,
.footer a:focus {
  color: #41ff89;
}

/* ###############  Footer Menu Ende * ########################### */

/* ++++++++++++++  Maps  ++++++++++++++++++ */

.jmg-googlemaps-dsgvo-notification .notification {
  font-family: Arial;
  font-size: 14px;
  line-height: 18px;
  color: #222222;
  height: auto;
  padding: 15px;
  background-color: #fff;
}

.jmg-googlemaps-dsgvo-notification.position_4 .buttongroup {
  position: absolute;
  bottom: 90px;
  left: 0;
  width: 100%;
  box-sizing: border-box;
}

.moduletable-map {
  margin-bottom: 40px;
}

.ccctwoclickcontainer-111 .contentbefore-111,
.ccctwoclickcontainer-121 .contentbefore-121,
.ccctwoclickcontainer-114 .contentbefore-114,
.ccctwoclickcontainer-115 .contentbefore-115,
.ccctwoclickcontainer-116 .contentbefore-116 {
  padding: 20px 0;
  color: #5d5d5d;
}
.ccctwoclickcontainer-111 .disablecontent,
.ccctwoclickcontainer-121 .disablecontent,
.ccctwoclickcontainer-114 .disablecontent,
.ccctwoclickcontainer-115 .disablecontent,
.ccctwoclickcontainer-116 .disablecontent {
  margin-top: 25px;
}

.ccctwoclickreveal-111,
.ccctwoclickreveal-121,
.ccctwoclickreveal-114,
.ccctwoclickreveal-115,
.ccctwoclickreveal-116 {
  width: 100%;
}

.shadow {
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.5);
}

.ccctwoclick-111,
.ccctwoclick-121,
.ccctwoclick-114,
.ccctwoclick-115,
.ccctwoclick-116 {
  background-position: center;
}

/* Grundlayout */
.accordion-button {
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  font-weight: 500;
}

/* Hover Effekt */
.accordion-button:hover {
  background-color: #f8f9fa; /* helles Grau */
  color: #911e49; /* Bootstrap Primary */
}

/* Pfeil Animation */
.accordion-button::after {
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* Pfeil reagiert beim Hover */
.accordion-button:hover::after {
  filter: brightness(0.6);
}

/* Aktiver Zustand (aufgeklappt) */
.accordion-button:not(.collapsed) {
  background-color: #eef4ff;
  color: #911e49;
}

.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  transition:
    box-shadow 0.3s ease,
    transform 0.2s ease;
}

.accordion-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.artikel-voll {
  width: 100%;
}

ul.mod-articles-items.artikel-voll {
  margin: 0 !important;
  padding-left: 0 !important;
}

ul.mod-articles-items.artikel-voll li {
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}

.artikel-voll .mod-articles-item {
  width: 100%;
}

.mod-articles-items.artikel-voll .accordion-body li {
  margin-bottom: 0.25rem;
  list-style: disc !important;
}

/* Teaser Leistungen */

.custom-teaser {
  background: #fff;
  border-radius: 0; /* Wie im Bild eher kantig oder dezent */
  margin-bottom: 30px;
}

.teaser-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.teaser-image-wrapper img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.teaser-body {
  position: relative;
  padding: 50px 20px 30px 20px; /* Oben mehr Platz für das Icon */
}

/* Das runde Icon-Element */
.teaser-icon-circle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%); /* Zentriert es genau auf der Kante */
  width: 100px;
  height: 100px;
  background-color: #911e49; /* Deine Türkis-Farbe */
  border: 8px solid #fff; /* Der weiße Rand aus dem Bild */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.5rem;
  z-index: 10;
}

/* 1. Standard-Styles (gelten immer und überall) */
.teaser-headline {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin-top: 10px;
  margin-bottom: 15px;

  /* Standardgröße für große Bildschirme (ab 971px) */
  font-size: calc(1.2955rem + 0.546vw);
}

@media (min-width: 763px) and (max-width: 970px) {
  .teaser-headline {
    font-size: calc(0.9rem + 0.546vw);
  }
}

@media (max-width: 762px) {
  .teaser-headline {
    font-size: calc(1.35rem + 0.546vw);
  }
}

.teaser-link {
  color: #911e49; /* Blau-Ton für den Link */
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.teaser-link:hover {
  color: #00b5ad;
}

/* Pfeil-Animation bei Collapse */
.teaser-link[aria-expanded="true"] i {
  transform: rotate(90deg);
}
.teaser-link i {
  transition: transform 0.3s;
}

.teaser-list-container {
  text-align: center;
  font-size: 1.1rem;
  padding-bottom: 5px;
  color: #666;
}

/* Screenreader */

@media (max-width: 769px) {
  div#accessibility-links.bottomleft #text_plugin {
    position: fixed;
    bottom: 25px;
    left: 80px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    z-index: 999999;
    box-shadow:
      0px 3px 5px -1px rgba(0, 0, 0, 0.2),
      0px 6px 10px rgba(0, 0, 0, 0.14),
      0px 1px 18px rgba(0, 0, 0, 0.12);
  }
  div#accessibility-links span {
    height: 10px;
  }
  div.scbasebin.screenreader.text {
    background-size: 20px 20px; /* Hier kannst du die Wunschgröße anpassen */
  }
}

@media (min-width: 770px) {
  div#accessibility-links.bottomleft #text_plugin {
    position: fixed;
    bottom: 39px;
    left: 130px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    z-index: 999999;
    box-shadow:
      0px 3px 5px -1px rgba(0, 0, 0, 0.2),
      0px 6px 10px rgba(0, 0, 0, 0.14),
      0px 1px 18px rgba(0, 0, 0, 0.12);
  }
  .bottomleft {
    bottom: 120px;
    left: 0;
  }
}

div#accessibility-links.screenreader-open #text_plugin {
  opacity: 1;
}

#dmrWrapper #dmrBtnOnlineReception {
  border-color: #0e7394 !important;
  background-color: #0e7394 !important;
}

.youtube-facade {
  position: relative;
  cursor: pointer;
  background-color: #000;
}
.youtube-facade img.facade-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.youtube-facade .play-button {
  width: 68px;
  height: 48px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(40, 40, 40, 0.8);
  border-radius: 12px;
  transition: background-color 0.2s ease;
}
.youtube-facade:hover .play-button {
  background-color: #ff0000;
}
.youtube-facade .play-button::before {
  content: "";
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
}
