wagtail-userbar {
  display: none !important;
}
html,
body {
  font-size: 16px;
  height: 100%;
  margin: 0;
  padding: 0;
  color: #000000;
  -webkit-text-size-adjust: 100%;
}
a {
  text-decoration: none;
}
#wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
}
.hyphenated {
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}
header .right-container {
  display: flex;
  align-items: center;
  gap: 5rem;
}
header .right-container form {
  z-index: 500;
  position: relative;
  width: 350px;
}
header .right-container form .search_wrap {
  display: flex;
  position: relative;
}
header .right-container form .search_input {
  border-color: transparent;
  border-radius: 6px 0 0 6px;
  width: 100%;
  border-radius: 5px;
  padding: 10px;
  height: 100%;
  background-color: #cccccc;
  font-family: 'Roboto Condensed';
  font-size: 1.2rem;
  padding: 2px 10px;
}
header .right-container form .search_input:focus-visible {
  outline: none;
}
header .right-container .logo img {
  height: 60px;
}
header .icon-lupe {
  --icon-color: #782182;
  height: 20px;
}
header .search-icon {
  border: none;
  background: none !important;
  position: absolute;
  right: -0.9rem;
  width: 40px;
  height: 40px;
  z-index: 800;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  outline: none;
  cursor: pointer;
}
header .search-icon img {
  height: 20px;
}
#topline {
  position: relative;
}
.logo {
  z-index: 500;
}
.language_code {
  text-transform: uppercase;
  color: #ffffff;
  position: absolute;
  top: 43px;
  right: 50px;
  z-index: 300;
}
#content {
  flex: 1 0 auto;
}
.button {
  background: #782182 !important;
  z-index: 900;
  border-radius: 5px;
}
.scroll-to-top {
  position: fixed;
  bottom: 50px;
  right: 50px;
  padding: 12px;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-to-top svg {
  display: block;
  transition: transform 0.3s ease;
}
.scroll-to-top:hover svg {
  transform: scale(1.25);
}
.mobile {
  opacity: 0;
}
#dark-background {
  width: 0;
  height: 100vh;
  position: absolute;
  background: #000;
  opacity: 0;
  transition: opacity 0.5s linear;
}
#dark-background.visible {
  z-index: 990;
  opacity: 0.6;
  width: 100vw;
}
@media (max-width: 840px) {
  #search_form {
    opacity: 0;
    width: 0;
  }
  #search_form.visible {
    opacity: 1 !important;
    width: 250px !important;
    position: absolute;
    z-index: 999;
    left: 50%;
    transform: translateX(-50%);
  }
  #search_form.visible .search_input {
    padding: 10px;
  }
  .mobile {
    opacity: 1;
    width: 50px;
    left: 8rem;
  }
  .mobile .icon-lupe {
    --icon-color: #fff;
    height: 30px;
  }
  .results-container a {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* smartphones (575px and down) */
@media (max-width: 575px) {
  header .right-container {
    gap: 0;
  }
  header .mobile {
    left: 6.25rem;
  }
  .hyphenated {
    max-width: 300px;
  }
}
/* --- dein Menu-Layout (gekürzt/angepasst) --- */
.menu ul {
  padding: 0;
  padding-left: 50px;
  max-width: 500px;
}
.menu li {
  list-style: none;
  text-transform: uppercase;
}
.menu li.firstlevel {
  border-bottom: 1px solid #979797;
}
.menu li > .hassub > a::before,
.menu li.hassub > span::before {
  position: absolute;
  content: "";
  width: 17px;
  height: 17px;
  border-right: 2px solid #979797;
  border-top: 2px solid #979797;
  transform: rotate(135deg);
  transform-origin: 65% 7px;
  margin-left: 455px;
  margin-top: 12px;
  transition: transform 0.3s linear;
}
.menu li span.open::before {
  transform: rotate(-45deg);
}
.menu a,
.menu span {
  color: #ffffff;
  display: block;
  text-decoration: none;
  padding: 15px;
  cursor: pointer;
}
.menu .firstlevel span,
.menu .firstlevel a {
  font-size: 30px;
  font-weight: bold;
}
#menuoverlay {
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  width: 700px;
  min-height: 100%;
  background: #782182;
}
#menucontainer {
  z-index: 600;
  width: 700px;
  max-width: 100%;
  min-height: 100%;
  position: fixed;
  top: 0;
  height: 0;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s linear;
  overflow-y: auto;
}
#menucontainer.visible {
  visibility: visible;
  opacity: 1;
  padding-top: 100px;
}
#menucontainer.visible #menuoverlay {
  visibility: visible;
  opacity: 0.975;
}
#product_menu {
  z-index: 20;
  position: relative;
}
#product_menu .secondlevel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  margin-left: 0;
  padding-left: 0;
  padding-bottom: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding-bottom 0.4s ease;
}
#product_menu .secondlevel.active {
  opacity: 1;
  pointer-events: auto;
  padding-bottom: 25px;
}
#product_menu .secondlevel li {
  display: block;
  margin-bottom: 0;
}
#product_menu .secondlevel a,
#product_menu .secondlevel span {
  display: block;
  text-transform: none;
  padding-left: 50px;
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
  transition: color 0.2s ease;
}
#product_menu .secondlevel a:hover,
#product_menu .secondlevel span:hover {
  color: #ffffff;
}
#main_menu {
  position: relative;
  z-index: 20;
  padding-bottom: 150px;
}
#main_menu a {
  font-weight: 300;
}
/* smartphones (575px and down) */
@media (max-width: 575px) {
  header {
    padding: 20px 25px;
  }
  .menu ul {
    max-width: 350px;
    padding-left: 30px;
  }
  .menu li > .hassub > a::before,
  .menu li.hassub > span::before {
    margin-left: 308px;
  }
}
/* small smartphones (max 400px) */
@media (max-width: 400px) {
  header {
    padding: 20px 20px;
  }
  .menu ul {
    padding-left: 10px;
  }
}
