/* sw-cookie-consent (Sander)
   Styling nach dem Vorbild des Referenzprojekts, aus SCSS zu Plain-CSS geflacht
   und auf die Sander-Akzentfarbe #bd9540 umgefärbt.
   Alle Selektoren sind bewusst auf das Banner (.sw-popup / .swcookie-banner)
   beschränkt, damit keine globalen Seiten-Styles beeinflusst werden. */

/* Kleines Einwilligungs-Banner am unteren Rand */
.swcookie-banner {
  border: none;
  background: #bd9540;
  color: #fff;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  text-align: center;
  padding: 20px 10px;
  z-index: 999999;
  visibility: hidden;
  opacity: 0;
}
.swcookie-banner .swcookie-banner--confirmation span {
  cursor: pointer;
  padding: 10px;
  display: inline-block;
  text-decoration: underline;
  font-size: 18px;
}
.swcookie-banner.in { visibility: visible; opacity: 1; }
.swcookie-banner-content--container { max-width: 800px; margin: 0 auto; }
.swcookie-banner-content--container p { font-size: 16px; }

/* Detail-Popup */
.sw-popup {
  visibility: hidden;
  opacity: 0;
  z-index: 99999999;
  -ms-overflow-style: none;
}
.sw-popup .overlay {
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  z-index: 9999999;
  opacity: 0.8;
}
.sw-popup .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}
.sw-popup .switch input { opacity: 0; width: 0; height: 0; }
.sw-popup .swslider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.sw-popup .swslider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 2px;
  background-color: #fff;
  -webkit-transition: .4s;
  transition: .4s;
}
.sw-popup input:checked + .swslider { background-color: #bd9540; }
.sw-popup input:checked + .swslider:before {
  -webkit-transform: translateX(14px);
  -ms-transform: translateX(14px);
  transform: translateX(14px);
}
.sw-popup input:disabled + .swslider { background-color: #bd9540; opacity: 0.5; }
.sw-popup input:focus + .swslider { box-shadow: 0 0 1px #fcbf00; }
.sw-popup .swslider.round { border-radius: 34px; }
.sw-popup .swslider.round:before { border-radius: 50%; }
.sw-popup::-webkit-scrollbar { width: 0; }
.sw-popup .sw-popup--body::-webkit-scrollbar { width: 10px; }
.sw-popup .sw-popup--body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.3);
  -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}
.sw-popup .sw-popup--body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.9);
  -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.9);
  background-color: #011f40;
}
.sw-popup.in { visibility: visible; opacity: 1; }

.sw-popup--content {
  background-color: #fff;
  width: 75%;
  max-width: 600px;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, .2);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  opacity: 1;
  z-index: 99999999;
}
.sw-popup--header {
  background-color: #bd9540;
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.sw-popup--header .title {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  padding-right: 10px;
  text-transform: uppercase;
}
.sw-popup--header .close { background: none; border: none; font-size: 20px; cursor: pointer; }
.sw-popup--header .close span { color: #fff; }
.sw-popup--body { padding: 20px; height: 440px; overflow-y: scroll; -webkit-overflow-scrolling: touch; }
.sw-popup--footer { background-color: #bd9540; padding: 20px; display: flex; justify-content: center; }

#swTabtab-nav { display: flex; justify-content: space-between; }
#swTabtab-nav div.swtabnav {
  display: inline-block;
  padding: 10px 10px 20px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
#swTabtab-nav span {
  display: block;
  margin: 5px auto;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
}
#swTabtab-nav div .underline {
  height: 3px;
  background-color: transparent;
  width: 0%;
  transition: width 0.2s, background-color 0.5s;
  margin: 0 auto;
}
#swTabtab-nav div.active .underline {
  height: 3px;
  background-color: #bd9540;
  width: 100%;
  transition: width 0.2s, background-color 0.5s;
}

#swTabtab-contents div.tabcontainer { display: none; }
#swTabtab-contents div.active { display: block; }
#swTabtab-contents div.active h5 { font-size: 14px; font-weight: bold; margin: 1.4rem 0 1rem; color: #000; }
#swTabtab-contents div.active a { font-size: 12px; color: #bd9540; }
#swTabtab-contents div.active a:hover { font-size: 12px; color: #bd9540; }
#swTabtab-contents .tabcontainer p { font-size: 12px; margin: 0 0 10px; }
#swTabtab-contents .tabcontainer .description { margin: 1.4rem 0 1rem; }

.swaccordion {
  color: #000;
  cursor: pointer;
  font-weight: bold;
  padding: 18px 0;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  background: none;
  line-height: 1.5;
}
.swaccordion:before { content: '\002B'; color: #000; font-weight: bold; margin-right: 8px; }
.swaccordion.active:before { content: "\2212"; }
.swpanel {
  padding: 0 18px;
  background-color: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.swaccordion-input--container { display: flex; justify-content: space-between; align-items: center; }
.swcookie-information h5 { font-size: 14px; margin: 15px 0 10px; }
.cookie-line { border-top: 2px solid #bd9540; margin: 0; }
.swcookie-information--container { padding: 8px; margin-bottom: 1px; }
.swcookie-information--container .info { display: flex; }
.swcookie-information--container .info label {
  font-size: 10px;
  flex-basis: 30%;
  text-transform: uppercase;
  color: #0a0a0a;
}
.swcookie-information--container .info span { font-size: 10px; flex-basis: 70%; }

.sw-cookieconsent-popup-link {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 40px;
  cursor: pointer;
  z-index: 999999;
}
.sw-cookieconsent-popup-link img {
  -webkit-transition: -webkit-transform .8s ease-in-out;
  transition: transform .8s ease-in-out;
  width: 40px;
}
.sw-cookieconsent-popup-link img:hover { -webkit-transform: rotate(360deg); transform: rotate(360deg); }

#swcookieConfirmation {
  background-color: #bd9540;
  padding: 10px 30px;
  font-size: 16px;
  cursor: pointer;
  color: #fff;
  text-transform: uppercase;
  border: none;
}
#swcookieConfirmation:hover { background-color: #bd9540; text-decoration: underline; }

@media screen and (max-width: 768px) {
  .sw-popup .sw-popup--content { width: 98%; }
  .sw-popup .sw-popup--body { padding: 10px; }
  #swTabtab-nav div.swtabnav { font-size: 14px; }
  #swTabtab-nav span { font-size: 14px; }
  .swcookie-banner-content--container p { font-size: 14px; }
  .swcookie-banner .swcookie-banner--confirmation span { font-size: 14px; }
  #swTabtab-contents .tabcontainer .description { margin: 1rem 0 0.7rem; }
  #swTabtab-contents div.active h5 { margin: 1rem 0 0.7rem; }
}
@media screen and (max-width: 492px) {
  #swTabtab-nav span { font-size: 10px; }
  .sw-popup--header .title { font-size: 12px; }
}
