@import url("https://fonts.verwaltungsportal.de/import/?family=Nunito:300,400,500,600,700,300i,400i,500i,600i,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Open+Sans:300,400,500,600,700,300i,400i,500i,600i,700i");

html {
  max-width: 1930px;
  margin-left: auto;
  margin-right: auto;
  background: #fcfbfe;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  scrollbar-color: #7b5bc4 #ffffff;
  scrollbar-width: thin;
}

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  color: #5d5d5d;
  background: #ffffff;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.5;
}

a {
  color: #7b5bc4;
}

a:is(:hover, :focus) {
  color: #7b5bc4;
  text-decoration: underline;
}

b,
strong {
  font-weight: 700;
}

:is(main, footer) a {
  text-decoration: underline;
}

#overflow {
  overflow: clip;
  position: relative;
}

hr {
  height: 2px;
  opacity: 0.2;
  background: #7b5bc4;
}

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
  display: inline-block;
  background: #ffffff;
  padding: 37px 27px 27px 27px;
  border-radius: 0 0 60px 60px;
  box-shadow: 0px 2px 8px 0px rgba(123, 91, 196, 0.3);
  -webkit-box-shadow: 0px 2px 8px 0px rgba(123, 91, 196, 0.3);
  -moz-box-shadow: 0px 2px 8px 0px rgba(123, 91, 196, 0.3);
}

#logo img {
  display: block;
}

@media (max-width: 991px) {
  #logo img {
    max-width: calc(100vw - 120px);
    width: 100%;
  }

  #logo .row {
    margin-left: -15px;
    margin-right: -15px;
  }
}

@media (min-width: 992px) {
  #logo {
    transition: margin 300ms linear, padding 300ms linear;
  }

  .is-sticky #logo {
    margin-bottom: -100px;
    padding-top: 14px;
    padding-bottom: 20px;
  }

  #logo img {
    max-height: 136px;
  }

  .is-sticky #logo img {
    max-height: 90px;
  }
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

/* #region ------------------------------------ navigation -------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
  nav.horizontally {
    position: static !important;
  }

  #burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 50px;
    width: 60px;
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #7b5bc4;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 10px;
    transition: transform 200ms linear, opacity 200ms linear;
  }

  #burgerButton[aria-expanded="true"] #burgerButtonInner {
    transform: rotate(-45deg) translate(-6px, 6px);
  }

  #burgerButton[aria-expanded="true"]::before {
    opacity: 0;
  }

  #burgerButton[aria-expanded="true"]:after {
    transform: rotate(45deg) translate(-4px, -6px);
  }

  #burgerButtonInner {
    top: 16px;
  }

  #burgerButton::before {
    top: 24px;
    content: "";
  }

  #burgerButton::after {
    top: 32px;
    content: "";
  }

  .navbar-nav {
    padding: 20px 10px;
  }

  .navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 0;
    background: #ffffff;
    position: fixed;
    left: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
    box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
  }

  .navbar-collapse:is([aria-expanded="true"], .in) {
    left: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
  }

  .navbar-header {
    position: fixed;
    top: 30px;
    right: 15px;
    z-index: 101;
    transition: top 300ms linear;
  }

  .is-sticky .navbar-header {
    top: 15px;
  }

  .dropdown-toggle-button-wrapper {
    top: 9px;
    right: 5px;
  }

  .dropdown-toggle-button-wrapper2 {
    top: 8px;
    right: 0;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    transition: background 300ms linear, box-shadow 300ms linear;
  }

  .is-sticky nav.horizontally {
    background: #fff;
    box-shadow: 0 20px 40px 0 rgba(82, 71, 47, 0.2);
  }

  nav.horizontally .navbar-nav {
    margin: 10px 0 54px 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    transition: margin 300ms linear;
    flex-wrap: wrap;
  }

  .is-sticky nav.horizontally .navbar-nav {
    margin: 20px 0;
  }

  nav.horizontally li[class*="toplevel"] {
    flex-grow: 1;
  }

  nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) > ul {
    display: block !important;
  }

  nav.horizontally [class*="secondlevel"] > ul {
    pointer-events: auto !important;
    visibility: visible;
  }

  nav.horizontally .navbar-nav li[class*="toplevel"] > ul {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms linear, border 200ms linear;
  }

  nav.horizontally .navbar-nav li:is(.open:focus-within, :hover) > ul {
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible;
    top: 100%;
  }

  nav.horizontally .navbar-nav li:is(:hover, :focus-within) > ul {
    z-index: 1003;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #5d5d5d;
  font-weight: 300;
  text-align: left;
  padding: 14px 15px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Nunito", sans-serif;
}

@media (max-width: 991px) {
  nav.horizontally li[class*="toplevel"] + li {
    margin-top: 2px;
  }

  nav.horizontally a[class*="toplevel"].dropdown-toggle {
    padding-right: 35px;
  }
}

@media (min-width: 992px) {
  nav.horizontally li[class*="toplevel"] + li {
    margin-left: 2px;
  }

  nav.horizontally a[class*="toplevel"] {
    padding: 12px clamp(10px, 1.3vw, 15px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
  }
}

nav.horizontally a[class*="toplevel"]::after,
nav.horizontally a[class*="toplevel"].dropdown-toggle::before {
  content: "";
  display: block;
  position: absolute;
}

nav.horizontally a[class*="toplevel"]::after {
  z-index: -1;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #7b5bc4;
  transition: width 300ms linear;
}

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"].dropdown-toggle::before {
    z-index: 1004;
    pointer-events: none;
    opacity: 0;
    bottom: -15px;
    left: calc(50% - 17px);
    width: 34px;
    height: 20px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: #fff;
    transition: opacity 300ms linear;
  }
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open > a,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"] > a,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus) {
  color: #ffffff;
  background: #7b5bc4;
}

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::after,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open > a::after,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::after {
  width: 100%;
}

@media (min-width: 992px) {
  nav.horizontally li[class*="toplevel"]:hover > a.dropdown-toggle::before,
  nav.horizontally li[class*="toplevel"].open > a.dropdown-toggle::before,
  nav.horizontally li[class*="toplevel"].open > a.dropdown-toggle:is(:hover, :focus)::before {
    opacity: 1;
  }
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] > ul {
  background: #ffffff;
  padding: 10px 0;
  border-bottom: 4px solid #b09ddc;
}

nav.horizontally [class*="secondlevel"] > ul {
  padding-left: 30px;
}

@media (min-width: 992px) {
  nav.horizontally [class*="toplevel"] ul {
    min-width: 200px;
  }

  nav.horizontally [class*="secondlevel"] > ul {
    padding-left: 60px;
  }

  nav.horizontally [class*="toplevel"] > ul {
    column-count: 3;
    column-gap: 30px;
    padding: 40px 30px;
    left: 0;
    right: 0;
    box-shadow: 0 20px 40px 0 rgba(82, 71, 47, 0.2);
  }

  nav.horizontally li[class*="toplevel"]:is(:hover, .open) > ul {
    border-bottom-width: 20px;
  }

  nav.horizontally [class*="toplevel"] > ul::before {
    content: "";
    position: absolute;
    display: block;
    height: 17px;
    left: 0;
    right: 0;
    top: -17px;
  }

  nav.horizontally li[class*="secondlevel"] {
    display: table;
    width: 100%;
    margin-bottom: 15px;
  }

  nav.horizontally li[class*="secondlevel"] > ul {
    margin-top: -8px;
  }
}

/* secondlevel + thirdlevel */

nav.horizontally a[class*="secondlevel"] {
  font-weight: 500;
  padding: 13px 15px 13px 45px;
}

@media (min-width: 992px) {
  nav.horizontally a[class*="secondlevel"] {
    padding-left: 60px;
  }
}

nav.horizontally a[class*="thirdlevel"] {
  font-weight: 300;
  padding: 6px 15px 6px 15px;
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #5d5d5d;
  text-align: left;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  position: relative;
  font-weight: 300;
  font-family: "Open Sans", sans-serif;
}

@media (max-width: 991px) {
  nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
    padding-right: 35px;
  }
}

nav.horizontally a[class*="secondlevel"]::after,
nav.horizontally a[class*="secondlevel"]::before,
nav.horizontally a[class*="thirdlevel"]::after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

nav.horizontally a[class*="secondlevel"]::after,
nav.horizontally a[class*="secondlevel"]::before {
  width: 35px;
  height: 35px;
  left: 0;
  top: calc(50% - 17px);
}

@media (min-width: 992px) {
  nav.horizontally a[class*="secondlevel"]::after,
  nav.horizontally a[class*="secondlevel"]::before {
    width: 45px;
    height: 45px;
    top: calc(50% - 22px);
  }
}

nav.horizontally a[class*="secondlevel"]::after {
  background: url("../img/logo-purple.png") center no-repeat;
  transition: filter 300ms;
}

nav.horizontally a[class*="secondlevel"]::before {
  background: rgba(123, 91, 196, 0.2);
  transition: background 300ms;
}

nav.horizontally a[class*="thirdlevel"]::after {
  width: 7px;
  height: 7px;
  background: #7b5bc4;
  left: 0;
  top: 12px;
  opacity: 0;
  transition: opacity 300ms;
}

/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within) > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a:is(:hover, :focus) {
  color: #554b70;
}

nav.horizontally li[class*="secondlevel"]:is(:hover, :focus-within) > a::after,
nav.horizontally li[class*="secondlevel"] > a:is(:hover, :focus)::after,
nav.horizontally li[class*="secondlevel"].open > a::after,
nav.horizontally li[class*="secondlevel"].open > a:is(:hover, :focus)::after,
nav.horizontally li[class*="secondlevel"][class*="_over"] > a::after,
nav.horizontally li[class*="secondlevel"][class*="_over"] > a:is(:hover, :focus)::after {
  filter: brightness(300%) saturate(0);
}

nav.horizontally li[class*="secondlevel"]:is(:hover, :focus-within) > a::before,
nav.horizontally li[class*="secondlevel"] > a:is(:hover, :focus)::before,
nav.horizontally li[class*="secondlevel"].open > a::before,
nav.horizontally li[class*="secondlevel"].open > a:is(:hover, :focus)::before,
nav.horizontally li[class*="secondlevel"][class*="_over"] > a::before,
nav.horizontally li[class*="secondlevel"][class*="_over"] > a:is(:hover, :focus)::before {
  background-color: #7b5bc4;
}

nav.horizontally li[class*="thirdlevel"]:is(:hover, :focus-within) > a::after,
nav.horizontally li[class*="thirdlevel"] > a:is(:hover, :focus)::after,
nav.horizontally li[class*="thirdlevel"].open > a::after,
nav.horizontally li[class*="thirdlevel"].open > a:is(:hover, :focus)::after,
nav.horizontally li[class*="thirdlevel"][class*="_over"] > a::after,
nav.horizontally li[class*="thirdlevel"][class*="_over"] > a:is(:hover, :focus)::after {
  opacity: 1;
}

/* #endregion -------------------------------- navigation --------------------------------------- */

/* #region ------------------------------------- resp-gaps -------------------------------------- */

:is(#headerpic, #footer) .row {
  row-gap: 30px;
}

#footer-2 > .row {
  row-gap: 20px;
}

/* #endregion ---------------------------------- resp-gaps -------------------------------------- */

/* #region -------------------------------------- header ---------------------------------------- */

header {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1921px' height='741px'%3E%3Cpath fill-rule='evenodd' opacity='0.12' fill='rgb(231, 223, 245)' d='M0.001,0.000 L1920.999,0.000 L1920.999,420.1000 C1601.038,420.1000 1281.077,740.1000 961.116,740.1000 C640.744,740.1000 320.373,420.1000 0.001,420.1000 C0.001,140.1000 0.001,280.000 0.001,0.000 Z'/%3E%3Cpath fill-rule='evenodd' opacity='0.2' fill='rgb(176, 149, 222)' d='M1920.000,679.008 C1849.689,714.086 1770.385,733.823 1686.469,733.823 C1397.177,733.823 1162.660,499.306 1162.660,210.014 C1162.660,135.327 1178.292,64.292 1206.461,-0.000 L1920.000,-0.000 L1920.000,679.008 Z'/%3E%3C/svg%3E") center top / 100% auto no-repeat;
}

@media (min-width: 1200px) {
  body:not(.index) header {
    background-position-y: -270px;
  }
}

#headerpic {
  margin-top: -12px;
}

/* header text */

#header-text {
  padding-top: clamp(30px, 8vw, 45px);
  padding-bottom: clamp(30px, 8vw, 65px);
}

#header-text :is(b, strong) {
  font-size: clamp(1.125rem, 6vw, 1.5rem);
}

body:not(.index) #header-text p {
  display: none;
}

/* header button */

#header-button {
  padding: 10px;
  position: absolute;
  z-index: 31;
  top: -20px;
  right: 25px;
  background: #7b5bc4 url("../img/logo-wasserzeichen.png") bottom right no-repeat;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1.2;
  min-width: 125px;
  max-width: 200px;
  min-height: 125px;
  max-height: 250px;
  overflow: hidden;
  transition: background 300ms linear, transform 300ms linear;
  font-family: "Nunito", sans-serif;
}

@media (min-width: 576px) and (max-width: 991px) {
  body:not(.index) #header-button {
    top: -40px;
  }
}

@media (min-width: 992px) {
  #header-button {
    top: 30px;
    right: 55px;
  }
}

.index #header-button {
  animation: bounceAni 2s infinite 2s;
}

#header-button:is(:hover, :focus-within) {
  background-color: #664ca3;
  transform: scale(1.2);
  animation-play-state: paused;
}

@keyframes bounceAni {
  0%,
  100%,
  20%,
  50%,
  80% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.2);
  }

  60% {
    transform: scale(1.1);
  }
}

#header-button,
#header-button :is(h1, h2, h3, h4, h5, h6, a) {
  color: #ffffff;
}

#header-button a,
#header-button :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.125rem, 23vw, 1.4583vw);
}

#header-button a {
  font-weight: 400;
  text-decoration: none;
  padding: 10px;
  display: block;
}

/* contact */

#contact-tab {
  position: relative;
  z-index: 30;
  background: #ffffff;
  box-shadow: 0 20px 40px 0 rgba(82, 71, 47, 0.2);
  padding: 18px 26px 18px 20px;
}

@media (min-width: 576px) {
  #contact-tab {
    position: absolute;
    bottom: 65px;
    right: 0;
  }
}

@media (min-width: 992px) {
  #contact-tab {
    right: -15px;
  }
}

#contact-tab :is(h1, h2, h3, h4, h5, h6) {
  font-size: 2.125rem;
  margin-bottom: 5px;
}

#phone-tab,
#mail-tab {
  position: relative;
  padding: 9px 0 9px 60px;
  min-height: 45px;
}

:is(#phone-tab, #mail-tab)::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: calc(50% - 22px);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #7b5bc4 center / 32px auto no-repeat;
}

#phone-tab {
  font-weight: 700;
  font-size: clamp(1.125rem, 6vw, 1.375rem);
}

#phone-tab::before {
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M38.55 22.75q-.5-5.75-4.525-9.775T24.3 8.55V7q3.15.15 5.95 1.45 2.8 1.3 4.9 3.425 2.1 2.125 3.4 4.925 1.3 2.8 1.5 5.95Zm-8.25 0q-.45-2.3-2.075-3.95-1.625-1.65-3.925-2.05V15.2q2.95.4 5 2.5t2.55 5.05Zm7.45 17q-5.05 0-10.325-2.725-5.275-2.725-9.575-7-4.3-4.275-7.025-9.525Q8.1 15.25 8.1 10.15q0-.9.6-1.525Q9.3 8 10.25 8h4.4q.85 0 1.475.525.625.525.775 1.375l1.05 4.45q.15.8-.025 1.425T17.25 16.8l-4.4 4.15q2.95 4.95 6.475 8.425Q22.85 32.85 27.6 35.45L31.9 31q.5-.55 1.075-.775.575-.225 1.275-.075L38 31q.9.15 1.4.8.5.65.5 1.55v4.25q0 .95-.6 1.55-.6.6-1.55.6ZM12.05 19.6l4.2-3.9q.15-.15.2-.425.05-.275 0-.525l-1-4.6q-.05-.3-.275-.45-.225-.15-.525-.15h-4.5q-.25 0-.4.15-.15.15-.15.4-.05 1.95.6 4.35.65 2.4 1.85 5.15Zm17 16.55q2.05 1.05 4.525 1.575 2.475.525 4.275.525.25 0 .4-.15.15-.15.15-.35v-4.5q0-.3-.15-.5t-.5-.25l-3.9-.8q-.25-.05-.425 0t-.325.2Zm-17-16.55Zm17 16.55Z' fill='%23fff'/%3E%3C/svg%3E");
}

#mail-tab::before {
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 42q-3.8 0-7.075-1.4-3.275-1.4-5.7-3.825Q8.8 34.35 7.4 31.075 6 27.8 6 24q0-3.8 1.4-7.075 1.4-3.275 3.825-5.7Q13.65 8.8 16.925 7.4 20.2 6 24 6q3.8 0 7.075 1.4 3.275 1.4 5.7 3.825 2.425 2.425 3.825 5.7Q42 20.2 42 24v1.85q0 2.5-1.7 4.175-1.7 1.675-4.2 1.675-2 0-3.4-1.025t-2-2.825q-1.1 1.75-2.65 2.8Q26.5 31.7 24 31.7q-3.2 0-5.45-2.25T16.3 24q0-3.25 2.25-5.475Q20.8 16.3 24 16.3t5.45 2.225Q31.7 20.75 31.7 24v1.85q0 1.75 1.275 3.025T36.1 30.15q1.8 0 3.075-1.275Q40.45 27.6 40.45 25.85V24q0-6.8-4.825-11.625T24 7.55q-6.8 0-11.625 4.825T7.55 24q0 6.8 4.825 11.625T24 40.45h10.3V42Zm0-11.85q2.55 0 4.35-1.8 1.8-1.8 1.8-4.35 0-2.6-1.8-4.375T24 17.85q-2.55 0-4.35 1.775-1.8 1.775-1.8 4.375 0 2.55 1.8 4.35 1.8 1.8 4.35 1.8Z' fill='%23fff'/%3E%3C/svg%3E");
}

#mail-tab a {
  color: #7b5bc4;
  text-decoration: underline;
}

#phone-tab + #mail-tab {
  margin-top: 6px;
}

/* #endregion ----------------------------------- header ---------------------------------------- */

/* #region -------------------------------------- banner ---------------------------------------- */

#slider {
  height: 100vw;
  max-height: 300px;
  position: relative;
}

body.index #slider {
  max-height: 688px;
}

@media (min-width: 992px) {
  #slider {
    max-height: 400px;
  }

  #headerpic a.nivo-prevNav {
    left: 30px;
  }

  #headerpic a.nivo-nextNav {
    right: 30px;
  }
}

#slider {
  animation: initBoxShadow 1s forwards;
}

@keyframes initBoxShadow {
  0% {
    box-shadow: 0 0 rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: -30px -30px rgba(176, 149, 222, 0.6);
  }
}

.slider-wrapper {
  position: relative;
  z-index: 1;
  height: auto !important;
}

@media (min-width: 576px) {
  .slider-wrapper {
    margin: 0 30px 30px 30px;
  }
}

@media (min-width: 992px) {
  .slider-wrapper {
    margin-left: 70px;
  }
}

.slider-wrapper::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 30px;
  left: 30px;
  right: 0;
  bottom: 0;
  border: 2px solid #7b5bc4;
  animation: initBorderRight 1s forwards;
}

@keyframes initBorderRight {
  0% {
    right: 0;
    bottom: 0;
  }

  100% {
    right: -30px;
    bottom: -30px;
  }
}

#slider,
.slider-wrapper::after {
  border-radius: 300px 300px 0 0;
}

.slider-mask {
  display: none;
}

#headerpic .nivo-main-image {
  min-height: 100% !important;
}

/* #endregion ------------------------------------ banner --------------------------------------- */

/* ---------------------------------------------- content --------------------------------------- */

#content-area {
  text-align: left;
  padding: clamp(40px, 6vw, 60px) 0 clamp(40px, 10vw, 90px) 0;
}

/* #region -------------------------------------- service --------------------------------------- */

#service {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(60px, 10vw, 100px);
}

#service .service-headline :is(h1, h2, h3, h4, h5, h6) {
  color: #7b5bc4;
  font-weight: 300;
}

.service-content {
  padding-left: 95px;
}

@media (max-width: 767px) {
  .service-content {
    margin-top: 60px;
  }
}

@media (min-width: 992px) {
  .service-content {
    padding-bottom: 40px;
  }
}

#service ul {
  margin: 0 0 0 -110px;
}

#service ul li {
  background: transparent;
  padding: clamp(20px, 2vw, 28px) clamp(20px, 2vw, 30px) clamp(20px, 2vw, 35px) 110px;
  transition: background 300ms linear, box-shadow 300ms linear;
}

#service ul li:is(:hover, :focus-within) {
  z-index: 2;
  background: #ffffff;
  box-shadow: 0 20px 40px 0 rgba(82, 71, 47, 0.2);
}

#service ul li::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 0;
  width: 110px;
  height: 48px;
  background: url("../img/yoga-icon.png") center no-repeat;
}

/* #endregion ----------------------------------- service --------------------------------------- */

/* #region --------------------------------------- news ----------------------------------------- */

#termin {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(70px, 10vw, 170px);
}

@media (max-width: 767px) {
  .news-content {
    margin-bottom: 60px;
  }
}

@media (min-width: 992px) {
  .news-content {
    padding-bottom: clamp(40px, 10vw, 90px);
  }
  #termin > .row::before {
    content: "";
    position: absolute;
    background: url("../img/mandala.png") no-repeat;
    width: 569px;
    height: 753px;
    top: -200px;
    z-index: 0;
    pointer-events: none;
    right: -360px;
    display: block;
  }
}

#termin .tab_link_entries {
  display: grid;
  column-gap: 30px;
  margin-bottom: clamp(20px, 2vw, 32px);
}

@media (min-width: 576px) {
  #termin .tab_link_entries {
    grid-template-columns: 1fr 1fr;
  }
}

#termin .tab_link_entry {
  position: relative;
  z-index: 1;
  font-weight: 500;
  padding: clamp(20px, 2vw, 28px) 0;
}

#termin .tab_link_entry::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 0;
  right: -35px;
  bottom: 0;
  left: -35px;
  background: #ffffff;
  box-shadow: 0 20px 40px 0 rgba(82, 71, 47, 0.2);
  transition: opacity 300ms linear;
  opacity: 0;
}

#termin .tab_link_entry:is(:hover, :focus-within) {
  z-index: 2;
}

#termin .tab_link_entry:is(:hover, :focus-within)::after {
  opacity: 1;
}

#termin .tab_link_title a {
  display: inline-block;
  padding-bottom: 10px;
  line-height: 1.4;
  font-size: 1.25rem;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
}

#termin .tab_link_title a:not(:hover):not(:focus) {
  text-decoration: none;
}

#termin .tab_link_mandat a {
  color: #5d5d5d;
  font-weight: 300;
  font-style: italic;
  text-decoration: none;
}

#termin .tab_link_date {
  font-size: 1.125rem;
  font-weight: 300;
}
#termin .tab_link_mandat a:is(:hover, :focus) {
  text-decoration: underline;
}


#termin .tabTermminContent {
  color: #5d5d5d;
  font-size: 1.125rem;
  margin-bottom: 60px;
}
/* #endregion ------------------------------------ news ----------------------------------------- */

/* #region -------------------------------- service + news banner ------------------------------- */

:is(#service, #termin) .banner {
  position: relative;
  z-index: 1;
  min-height: 400px;
  max-height: 800px;
  height: 100%;
}

@media (max-width: 767px) {
  :is(#service, #termin) .banner {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #service .banner {
    margin-right: 40px;
  }

  #termin .banner {
    margin-left: 40px;
  }
}

:is(#service, #termin) .banner::after,
:is(#service, #termin) .banner::before {
  content: "";
  display: block;
  position: absolute;
}

:is(#service, #termin) .banner::after {
  z-index: -1;
  top: 50%;
  border: 2px solid #7b5bc4;
  bottom: -30px;
}

#service .banner::after {
  left: 30px;
  right: -30px;
}

#termin .banner::after {
  left: -30px;
  right: 30px;
}

:is(#service) .banner::before {
  z-index: 1;
  pointer-events: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.35;
  transition: all 300ms linear;
}
:is(#termin) .banner::before {
  z-index: 1;
  pointer-events: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.25;
  transition: all 300ms linear;
}

#service .banner::before {
  background: #7b5bc4;
}

#termin .banner::before {
  background: #7b5bc4;
}

#service .banner,
#service .banner img,
#service .banner::after,
#service .banner::before {
  border-bottom-right-radius: 205px;
}

:is(#service, #termin) .banner:hover::before {
  opacity: 0;
  top: 50%;
  left: 50%;
  right: 50%;
  bottom: 50%;
}

#termin .banner,
#termin .banner img,
#termin .banner::after,
#termin .banner::before {
  border-bottom-left-radius: 205px;
}

:is(#service, #termin) .banner img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* #endregion ----------------------------- service + news banner ------------------------------- */

/* #region -------------------------------------- offer ----------------------------------------- */

#offer {
  position: relative;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1921px' height='380px'%3E%3Cpath fill-rule='evenodd' opacity='0.06' fill='rgb(123, 91, 196)' d='M0.001,380.0000 L1920.999,380.0000 L1920.999,249.1000 C1601.038,249.1000 1281.077,-0.000 961.116,-0.000 C640.744,-0.000 320.373,249.1000 0.001,249.1000 C0.001,529.1000 0.001,99.1000 0.001,380.0000 Z'/%3E%3C/svg%3E") center bottom / 100% auto no-repeat;
}

#offer-tab {
  position: relative;
  padding: clamp(40px, 8vw, 80px) 30px clamp(50px, 8vw, 90px) 30px;
  background: #7b5bc4 url("../img/yoga-graphik.png") top -105px left -180px no-repeat;
  margin-top: clamp(15px, 8vw, 50px);
}

#offer-tab::before {
  content: "";
  display: block;
  position: absolute;
  top: clamp(15px, 2vw, 30px);
  right: clamp(15px, 2vw, 30px);
  bottom: clamp(15px, 2vw, 30px);
  left: clamp(15px, 2vw, 30px);
  border: 2px solid #5d4693;
  pointer-events: none;
  transition: all 300ms linear;
}

#offer-tab:is(:hover, :focus-within)::before {
  opacity: 1;
  top: -30px;
  right: -30px;
  bottom: -30px;
  left: -30px;
}

#offer-tab,
#offer-tab :is(h1, h2, h3, h4, h5, h6, a) {
  color: #ffffff;
}

/* #endregion ----------------------------------- offer ----------------------------------------- */

/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a:not(.has-image),
#termin .tab_link_mehr a {
  display: inline-block;
  line-height: 1.2;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 400;
  background: #7b5bc4;
  padding: 12px clamp(24px, 3vw, 30px);
  position: relative;
  z-index: 1;
  text-decoration: none;
  overflow: hidden;
  font-family: "Nunito", sans-serif;
}

#service .button-design a:not(.has-image) {
  padding: 12px clamp(24px, 3vw, 37px);
}

.button-design a:not(.has-image):is(:hover, :focus),
#termin .tab_link_mehr a:is(:hover, :focus) {
  background: #5d4693;
}

.button-design a:not(.has-image)::after,
#termin .tab_link_mehr a::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  left: 0;
  width: 0;
  top: 0;
  bottom: 0;
  background: #5d4693;
  transition: width 300ms linear;
}

.button-design.button-design-2 a:not(.has-image) {
  background: #ffffff;
  color: #7b5bc4 !important;
}
#offer .button-design.button-design-2 a:not(.has-image) {
  padding: 12px clamp(24px, 3vw, 50px);
}

.button-design.button-design-2 a:not(.has-image):is(:hover, :focus),
.button-design.button-design-2 a:not(.has-image)::after {
  background: #5d4693;
  color: #fff !important;
}

.button-design a:not(.has-image):is(:hover, :focus)::after,
#termin .tab_link_mehr a:is(:hover, :focus)::after {
  width: 100%;
}

#header-text.button-design a:not(.has-image) {
  margin-top: 3px;
}

#termin .tab_link_mehr {
  font-size: 0;
  text-align: left !important;
}

#termin .tab_link_mehr a {
  font-size: 1rem;
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #7b5bc4;
  font-weight: 300;
  line-height: 1.2;
  font-family: "Nunito", sans-serif;
  margin-bottom: 15px;
}

#header-text :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: clamp(20px, 4vw, 40px);
}

:is(#header-text, .tab-headline, .offer-headline) :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
}

.tab-headline :is(h1, h2, h3, h4, h5, h6) {
  color: #7b5bc4;
  margin: 0;
}

.tab-headline :is(h1, h2)::after {
  content: "";
  display: block;
  margin: 18px auto clamp(20px, 8vw, 80px) auto;
  height: 2px;
  width: 150px;
  background: #7b5bc4;
}

:is(.offer-headline) :is(h1, h2, h3, h4, h5, h6) {
  font-weight: 300;
}

:is(.offer-headline) :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
  color: #7b5bc4;
  font-weight: 700;
  font-style: normal;
  font-size: inherit;
}
:is(#header-text) :is(h1, h2, h3, h4, h5, h6) {
  font-weight: 300;
  color: #5d5d5d;
}

:is(#header-text) :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
  color: #7b5bc4;
  font-weight: 300;
  font-style: normal;
  font-size: inherit;
}

#offer-tab :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 20px;
}

h1,
.h1,
.legacy_h1,
:is(.news-content) :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(2.125rem, 6vw, 2.8125rem);
}

:is(#offer-tab) :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(2.125rem, 6vw, 2.5rem);
}

:is(.service-content) :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.75rem, 6vw, 2.125rem);
  margin-bottom: 10px;
}

h1,
.h1,
.legacy_h1 {
  margin-bottom: clamp(2.5rem, 4vw, 2.8125rem);
}

h2,
.h2,
.legacy_h2 {
  font-size: clamp(2.1875rem, 5.5vw, 2.5rem);
}

h3,
.h3,
.legacy_h3 {
  font-size: clamp(1.75rem, 5vw, 2rem);
}

h4,
.h4,
.legacy_h4 {
  font-size: clamp(1.5625rem, 4.5vw, 1.75rem);
}

h5,
.h5,
.legacy_h5 {
  font-size: 1.5rem;
}

h6,
.h6,
.legacy_h6 {
  font-size: 1.25rem;
}

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */

/* #region --------------------------------------- footer --------------------------------------- */

footer {
  background: rgba(123, 91, 196, 0.06);
  padding-top: clamp(60px, 10vw, 75px);
  position: relative;
}

@media (min-width: 1200px) {
  .index footer::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 316px;
    left: -400px;
    width: 1048px;
    height: 1048px;
    background: #7b5bc4;
    opacity: 0.09;
    border-radius: 50%;
  }
}

footer :is(h1, h2, h3, h4, h5, h6, a) {
  color: #7b5bc4;
}

#footer {
  font-size: 1rem;
}

#footer hr {
  margin: clamp(10px, 6vw, 60px) 0 25px 0;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: clamp(15px, 2vw, 25px);
}

#footer :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
  font-weight: 300;
}

#footer a:not([href*="mailto"]) {
  text-decoration: none;
  color: #5d5d5d;
  line-height: 2;
}
#footer a:is([href*="mailto"]) {
  color: #7b5bc4;
  text-decoration: underline;
}
#footer a:not([href*="mailto"]):is(:hover, :focus) {
  text-decoration: underline;
  color: #7b5bc4;
}

#footer-2 {
  font-size: 0.875rem;
  padding-bottom: 25px;
}

@media (min-width: 992px) {
  #footer-2 {
    background: url("../img/logo-footer.png") center top calc(50% - 15px) no-repeat;
  }
}

#footer ul {
  padding: 0;
  line-height: 1.9;
  margin: -4px 0 0 0;
}

#scroll-top-btn {
  color: #5d5d5d;
  padding: 5px 45px 5px 0;
  background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M22.85 39.25V13.1l-12.5 12.5-1.6-1.6L24 8.75 39.25 24l-1.6 1.6-12.5-12.5v26.15Z' fill='%23383120'/%3E%3C/svg%3E") center right -3px / 26px auto no-repeat;
}
#scroll-top-btn a {
  color: #5d5d5d;
  text-decoration: none;
}

#scroll-top-btn:not(:hover):not(:focus) {
  text-decoration: none;
}

/* #endregion ------------------------------------ footer --------------------------------------- */

/* #region -------------------------------------- vernetzt -------------------------------------- */

#vernetzt {
  gap: 15px;
  text-align: left;
  color: inherit;
  line-height: 1.5;
  text-decoration: none;
}

#vernetzt span {
  display: block;
}

/* #endregion -------------------------------- vernetzt ----------------------------------------- */

/* #region ------------------------------------ deco words -------------------------------------- */

@media (min-width: 992px) {
  :is(#service, #offer)::after {
    color: #7b5bc4;
    opacity: 0.1;
    position: absolute;
    z-index: -1;
    line-height: 0;
    font-size: 300px;
    font-weight: 300;
    white-space: nowrap;
    display: block;
    font-family: "Nunito", sans-serif;
  }

  #service::after {
    content: "Yoga";
    top: 165px;
    left: -30px;
  }
}

/* #endregion --------------------------------- deco words -------------------------------------- */
