/* Cookie Banner Anpassungen */
#klaro .cookie-notice {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  padding-bottom: 0px;
  height: 100%;
  max-height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
#klaro .cookie-notice .cn-body {
  max-width: 1200px;
  height: auto;
  padding: 30px;
  margin: 0px;
  font-size: 20px;
  line-height: 30px;
}
@media (max-width: 1024px) {
  #klaro .cookie-notice .cn-body {
      font-size: 14px;
      line-height: 22px;
  }
}
#klaro .cookie-notice .cn-body p {
  color: #000;
  margin-top: 0px !important;
  margin-bottom: 30px;
}
#klaro .cookie-notice .cn-body p a {
  color: #cd0022;
  font-weight: normal;
}
#klaro .cookie-notice .cn-body p a:hover {
  opacity: 1;
}
#klaro .cookie-notice .cn-body .cn-ok .cm-link.cn-learn-more {
  margin-left: 0px;
  padding-left: 25px !important;
  color: #cd0022 !important;
  background-color: #fff !important;
  border: 1px solid #cd0022 !important;
}
#klaro .cookie-notice .cn-body .cn-ok .cm-link.cn-learn-more:hover {
  color: #fff !important;
  background-color: #cd0022 !important;
  opacity: 1 !important;
}
#klaro .cookie-notice .cn-body .cn-ok .cm-link.cn-learn-more:hover::before {
  content: url("../Icons/CookieConsent/icon-pen_white.svg") !important;
}
#klaro .cookie-notice .cn-body .cn-ok .cm-link.cn-learn-more::before {
  height: 30px !important;
  margin-top: 5px;
  content: url("../Icons/CookieConsent/icon-pen_red.svg") !important;
}
@media (max-width: 1024px) {
  #klaro .cookie-notice .cn-body .cn-ok .cm-link.cn-learn-more::before {
      margin-top: 0px;
  }
}
#klaro .cookie-notice .cn-body .cn-ok .cn-buttons {
  max-width: 100% !important;
}
#klaro .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-danger.cn-decline {
  padding-left: 25px;
  color: #cd0022 !important;
  background-color: #fff !important;
  border: 1px solid #cd0022 !important;
}
@media (min-width: 768px) {
  #klaro .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-danger.cn-decline {
    max-width: calc(33.33333% - 20px);
    margin-left: calc(33.33333% + 30px);
    width: calc(50% - 40px);
  }
}
#klaro .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-danger.cn-decline:hover {
  color: #fff !important;
  background-color: #cd0022 !important;
  opacity: 1;
}
#klaro .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-danger.cn-decline:hover::before {
  content: url("../Icons/CookieConsent/icon-close_white.svg");
}
#klaro .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-danger.cn-decline::before {
  height: 30px !important;
  margin-top: 5px;
  content: url("../Icons/CookieConsent/icon-close_red.svg");
}
@media (max-width: 1024px) {
  #klaro .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-danger.cn-decline::before {
      margin-top: 0px;
  }
}
#klaro .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-success {
  padding-left: 25px;
  color: #fff !important;
  border: 1px solid #cd0022 !important;
  background-color: #cd0022 !important;
}
#klaro .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-success:hover {
  color: #cd0022 !important;
  background-color: #fff !important;
  opacity: 1;
}
#klaro .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-success:hover::before {
  content: url("../Icons/CookieConsent/icon-check_red.svg") !important;
}
#klaro .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-success::before {
  height: 30px !important;
  margin-top: 5px;
  content: url("../Icons/CookieConsent/icon-check_white.svg") !important;
}
@media (max-width: 1024px) {
  #klaro .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-success::before {
      margin-top: 0px;
  }
}
#klaro .klaro.we_cookie_consent .cookie-modal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
#klaro .klaro.we_cookie_consent .cookie-modal h1 {
  color: #000;
  font-size: 24px !important;
  line-height: 32px !important;
  font-weight: 600;
}
@media (max-width: 1024px) {
  #klaro .klaro.we_cookie_consent .cookie-modal h1 {
      font-size: 18px !important;
      line-height: 26px !important;
  }
}
#klaro .klaro.we_cookie_consent .cookie-modal p,
#klaro .klaro.we_cookie_consent .cookie-modal span {
  color: #000;
  font-size: 18px !important;
  line-height: 26px !important;
}
@media (max-width: 1024px) {
  #klaro .klaro.we_cookie_consent .cookie-modal p,
  #klaro .klaro.we_cookie_consent .cookie-modal span {
      font-size: 14px !important;
      line-height: 22px !important;
  }
}
#klaro .klaro.we_cookie_consent .cookie-modal p a,
#klaro .klaro.we_cookie_consent .cookie-modal span a {
  color: #cd0022;
  font-weight: normal;
}
#klaro .klaro.we_cookie_consent .cookie-modal p a:hover,
#klaro .klaro.we_cookie_consent .cookie-modal span a:hover {
  opacity: 1;
}
#klaro .klaro.we_cookie_consent .cookie-modal .cm-modal.cm-klaro {
  max-width: 1200px;
  background: #fff;
  bottom: 0;
  margin: auto auto 0px auto;
  margin: auto 30px 0px 30px;
  position: relative;
  overflow-y: hidden;
}
#klaro .klaro.we_cookie_consent .cookie-modal .cm-bg {
  background-color: rgba(0, 0, 0, 0.4) !important;
}
@media (max-width: 768px) {
  #klaro .cn-body p {
      height: calc(100vh - 400px);
      overflow-y: scroll;
      max-height: 330px;
  }
}
@media (max-width: 568px) {
  #klaro .cn-body p {
      height: calc(100vh - 400px);
      overflow-y: scroll;
      max-height: 330px;
  }
}
#klaro .cm-body {
  overflow-y: scroll;
  height: calc(100vh - 400px);
    padding: 0 30px 0 30px;
}
#klaro .cm-header {
    padding: 20px 30px 0 30px;
}
@media (max-width: 768px) {
  #klaro .cm-body {
      height: calc(100vh - 450px);
  }
}
@media (max-width: 568px) {
  #klaro .cm-body {
      height: calc(100vh - 600px);
  }
}
#klaro .cm-body span + a {
  margin-left: 3px;
}
#klaro .cm-body .cm-services {
  margin-top: 0;
}
#klaro .cm-body button.hide {
  display: none !important;
}
#klaro .cm-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  max-width: 1200px;
  margin-bottom: 99px;
  height: auto;
}
@media (max-width: 1024px) {
  #klaro .cm-footer {
      margin-bottom: 3px;
  }
}
@media (max-width: 768px) {
  #klaro .cm-footer {
      margin-bottom: -27px;
  }
}
#klaro .cm-footer .cm-footer-buttons {
  width: 100%;
  max-width: 1160px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-height: 66px;
}
@media (max-width: 768px) {
  #klaro .cm-footer .cm-footer-buttons {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
      margin-bottom: 30px;
      height: auto;
  }
}
#klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-decline.cm-btn-danger.cn-decline {
  width: calc(33.3333% - 20px);
  padding-left: 45px;
  color: #cd0022 !important;
  background-color: #fff !important;
  border: 1px solid #cd0022 !important;
  font-size: 18px;
  line-height: 26px;
}
@media (max-width: 1024px) {
  #klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-decline.cm-btn-danger.cn-decline {
      font-size: 14px;
      line-height: 22px !important;
	  padding-left: 30px;
	  padding-right: 5px;
  }
}
@media (max-width: 768px) {
  #klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-decline.cm-btn-danger.cn-decline {
      margin: 7px 0px;
      width: 100%;
	  padding-left: 20px;
  }
}
#klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-decline.cm-btn-danger.cn-decline:hover {
  color: #fff !important;
  background-color: #cd0022 !important;
  opacity: 1;
}
#klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-decline.cm-btn-danger.cn-decline:hover::before {
  content: url("../Icons/CookieConsent/icon-close_white.svg");
}
#klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-decline.cm-btn-danger.cn-decline::before {
  height: 30px !important;
  margin-top: 5px !important;
  content: url("../Icons/CookieConsent/icon-close_red.svg");
}
@media (max-width: 1024px) {
  #klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-decline.cm-btn-danger.cn-decline::before {
      margin-top: 0px !important;
  }
}
#klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-info.cm-btn-accept {
  width: calc(33.3333% - 20px);
  max-height: 64px;
  padding-left: 45px;
  color: #cd0022 !important;
  background-color: #fff !important;
  border: 1px solid #cd0022 !important;
  font-size: 18px;
  line-height: 26px;
}
@media (max-width: 1024px) {
  #klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-info.cm-btn-accept {
      font-size: 14px;
	  line-height: 22px;
	  padding-right: 10px;
	  padding-left: 35px;
  }
}
@media (max-width: 768px) {
  #klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-info.cm-btn-accept {
      margin: 7px 0px;
      width: 100%;
  }
}
#klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-info.cm-btn-accept:hover {
  color: #fff !important;
  background-color: #cd0022 !important;
  opacity: 1;
}
#klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-info.cm-btn-accept:hover::before {
  content: url("../Icons/CookieConsent/icon-save_white.svg") !important;
}
#klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-info.cm-btn-accept::before {
  height: 30px !important;
  margin-top: 5px !important;
  content: url("../Icons/CookieConsent/icon-save_red.svg") !important;
  contain: content;
  margin-left: -28px;
  position: absolute;
  width: 20px;
}
@media (max-width: 1024px) {
  #klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-info.cm-btn-accept::before {
      margin-top: 0px !important;
  }
}
#klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-accept-all {
  width: calc(33.3333% - 20px);
  max-height: 64px;
  padding-left: 45px;
  color: #fff !important;
  border: 1px solid #cd0022 !important;
  background-color: #cd0022 !important;
  font-size: 18px;
  line-height: 26px;
}
@media (max-width: 1024px) {
  #klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-accept-all {
      font-size: 14px;
      line-height: 22px;
      padding-left: 30px;
  }
}
@media (max-width: 768px) {
  #klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-accept-all {
      margin: 7px 0px;
      width: 100%;
  }
}
#klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-accept-all:hover {
  color: #cd0022 !important;
  background-color: #fff !important;
  opacity: 1;
}
#klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-accept-all:hover::before {
  content: url("../Icons/CookieConsent/icon-check_red.svg") !important;
}
#klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-accept-all::before {
  height: 30px !important;
  margin-top: 5px !important;
  content: url("../Icons/CookieConsent/icon-check_white.svg") !important;
}
@media (max-width: 1024px) {
  #klaro .cm-footer .cm-footer-buttons .cm-btn.cm-btn-success.cm-btn-accept-all::before {
      margin-top: 0px !important;
  }
}
#klaro .cm-footer .cm-powered-by {
  display: none !important;
}
#klaro .klaro.we_cookie_consent .cookie-modal .cm-service > div > .cm-list-label .slider::before {
  background-color: #ccc;
}
#klaro .klaro.we_cookie_consent .cookie-modal .cm-service > div > .cm-list-input:checked + .cm-list-label .slider::before {
  background-color: #cd0022;
}
#klaro .purposes {
  display: none;
}


/* Preserve the reference appearance without fixed-height empty space or clipped mobile text. */
#klaro { font-family: inherit; }
#klaro .cookie-notice:not(.cookie-modal-notice) { width:100%; padding:0; border-radius:0; }
#klaro .cookie-notice .cn-body { box-sizing:border-box; max-height:100vh; max-height:100dvh; overflow:auto; }
#klaro .cookie-notice .cn-body p { height:auto; max-height:calc(100vh - 190px); max-height:calc(100dvh - 190px); overflow:auto; }
#klaro .cm-body { height:auto; max-height:55vh; max-height:55dvh; overflow:auto; }
#klaro .cm-footer { margin-bottom:0; }
#klaro .klaro.we_cookie_consent .cookie-modal .cm-modal.cm-klaro { height:auto; flex:0 1 1200px; margin:0 16px !important; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); }
#klaro button:focus-visible, #klaro a:focus-visible { outline:2px solid #cd0022; outline-offset:3px; }
@media (max-width:768px) {
  #klaro .cookie-notice .cn-body { padding:20px; }
  #klaro .cookie-notice .cn-body .cn-ok .cm-btn, #klaro .cookie-notice .cn-body .cn-ok .cm-link { min-height:48px; height:auto; white-space:normal; }
  #klaro .cm-footer .cm-footer-buttons { margin-bottom:0; }
  #klaro .cm-body { max-height:50vh; max-height:50dvh; }
}

#klaro .klaro.we_cookie_consent .cookie-modal { align-items:flex-end; }

#klaro .cm-footer { padding:20px 30px 30px; flex-shrink:0; }
#klaro .cm-footer .cm-footer-buttons { position:static; inset:auto; }
#klaro .cm-footer .cm-footer-buttons .cm-btn { position:relative; inset:auto; }
#klaro .klaro.we_cookie_consent .cookie-modal .cm-modal.cm-klaro { display:flex; flex-direction:column; }
#klaro .cm-header { flex-shrink:0; }
#klaro .cm-body { flex:0 1 auto; min-height:0; }

/* Keep each icon in the same layout flow as its label at every breakpoint. */
#klaro .klaro.we_cookie_consent .cookie-notice .cn-body .cn-ok .cm-link.cn-learn-more,
#klaro .klaro.we_cookie_consent .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn,
#klaro .klaro.we_cookie_consent .cm-footer .cm-footer-buttons .cm-btn {
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding-left:12px !important;
  padding-right:12px !important;
}
#klaro .klaro.we_cookie_consent .cookie-notice .cn-body .cn-ok .cm-link.cn-learn-more::before,
#klaro .klaro.we_cookie_consent .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn::before,
#klaro .klaro.we_cookie_consent .cm-footer .cm-footer-buttons .cm-btn::before {
  position:static !important;
  inset:auto !important;
  transform:none !important;
  margin:0 !important;
  display:block;
  width:20px !important;
  height:20px !important;
  flex:0 0 20px;
  align-self:center;
  object-fit:contain;
}

/* Render SVGs as contained backgrounds, independent of the text line box. */
#klaro .klaro.we_cookie_consent .cookie-notice .cn-body .cn-ok .cm-link.cn-learn-more::before,
#klaro .klaro.we_cookie_consent .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn::before,
#klaro .klaro.we_cookie_consent .cm-footer .cm-footer-buttons .cm-btn::before {
  content:"" !important;
  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;
  line-height:0;
  font-size:0;
  contain:none;
  overflow:visible;
}
#klaro .klaro.we_cookie_consent .cookie-notice .cn-body .cn-ok .cm-link.cn-learn-more::before { background-image:url("../Icons/CookieConsent/icon-pen_red.svg"); }
#klaro .klaro.we_cookie_consent .cookie-notice .cn-body .cn-ok .cm-link.cn-learn-more:hover::before { background-image:url("../Icons/CookieConsent/icon-pen_white.svg"); }
#klaro .klaro.we_cookie_consent .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-danger::before { background-image:url("../Icons/CookieConsent/icon-close_red.svg"); }
#klaro .klaro.we_cookie_consent .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-danger:hover::before { background-image:url("../Icons/CookieConsent/icon-close_white.svg"); }
#klaro .klaro.we_cookie_consent .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-success::before { background-image:url("../Icons/CookieConsent/icon-check_white.svg"); }
#klaro .klaro.we_cookie_consent .cookie-notice .cn-body .cn-ok .cn-buttons .cm-btn.cm-btn-success:hover::before { background-image:url("../Icons/CookieConsent/icon-check_red.svg"); }
#klaro .klaro.we_cookie_consent .cm-footer .cm-footer-buttons .cm-btn.cm-btn-decline::before { background-image:url("../Icons/CookieConsent/icon-close_red.svg"); }
#klaro .klaro.we_cookie_consent .cm-footer .cm-footer-buttons .cm-btn.cm-btn-decline:hover::before { background-image:url("../Icons/CookieConsent/icon-close_white.svg"); }
#klaro .klaro.we_cookie_consent .cm-footer .cm-footer-buttons .cm-btn.cm-btn-accept::before { background-image:url("../Icons/CookieConsent/icon-save_red.svg"); }
#klaro .klaro.we_cookie_consent .cm-footer .cm-footer-buttons .cm-btn.cm-btn-accept:hover::before { background-image:url("../Icons/CookieConsent/icon-save_white.svg"); }
#klaro .klaro.we_cookie_consent .cm-footer .cm-footer-buttons .cm-btn.cm-btn-accept-all::before { background-image:url("../Icons/CookieConsent/icon-check_white.svg"); }
#klaro .klaro.we_cookie_consent .cm-footer .cm-footer-buttons .cm-btn.cm-btn-accept-all:hover::before { background-image:url("../Icons/CookieConsent/icon-check_red.svg"); }

/* One shared grid row lets wrapped labels determine the height of all three buttons. */
@media (min-width:768px) {
  #klaro .klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-ok {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    align-items:stretch;
  }
  #klaro .klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-ok .cn-buttons {
    display:contents !important;
  }
  #klaro .klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-ok .cm-link.cn-learn-more,
  #klaro .klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-ok .cn-buttons .cm-btn {
    box-sizing:border-box;
    position:static !important;
    width:auto !important;
    max-width:none !important;
    height:auto !important;
    min-height:72px;
    margin:0 !important;
    padding:16px 12px !important;
    line-height:1.4;
    white-space:normal;
    align-self:stretch;
    order:0;
  }
}

/* Consent services must not inherit the site's decorative list bullets. */
#klaro .klaro.we_cookie_consent .cm-services > .cm-service {
  background-image:none;
  list-style:none;
}
@media (min-width:768px) {
  #klaro .klaro.we_cookie_consent .cm-footer .cm-footer-buttons {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    align-items:stretch;
  }
  #klaro .klaro.we_cookie_consent .cm-footer .cm-footer-buttons .cm-btn {
    box-sizing:border-box;
    width:auto !important;
    max-width:none !important;
    justify-self:stretch;
    height:auto !important;
    max-height:none !important;
    min-height:72px;
    margin:0 !important;
    padding:16px 12px !important;
    line-height:1.4;
    align-self:stretch;
  }
  #klaro .klaro.we_cookie_consent .cm-footer .cm-footer-buttons .cm-btn:only-child {
    grid-column:2;
  }
}

@media (min-width:768px) {
#klaro .klaro.we_cookie_consent .cm-footer .cm-footer-buttons:not(:has(.cm-btn-decline)) .cm-btn { grid-column:2; }
}
