/* NICHT IRGENDWANN – Cookie Manager 1.4.0. Isolated from Enfold. */
.ni-cm, .ni-cm *, .ni-cm *::before, .ni-cm *::after,
.ni-cm-embed, .ni-cm-embed * { box-sizing: border-box; }
#ni-cm-root [hidden] { display: none !important; }
/* Keep the dialog above Enfold's header and all its stacking contexts. */
body > #ni-cm-root {
  position: relative !important;
  z-index: 2147482900 !important;
  isolation: isolate;
}

.ni-cm {
  --ni-cm-black: #020202;
  --ni-cm-red: #89252d;
  --ni-cm-white: #fff;
  --ni-cm-muted: #e4e4e4;
  --ni-cm-body: 'Roboto Slab', Georgia, serif;
  --ni-cm-heading: 'Nachmittage Display', Impact, sans-serif;
  font-family: var(--ni-cm-body);
  line-height: 1.55;
}
/* Unabhängiger Hintergrund: Enfold und das mobile Menü bleiben unberührt. */
.ni-cm__backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147482990 !important;
  background: rgba(0, 0, 0, .76) !important;
  cursor: default;
}
html.ni-cm-banner-open, html.ni-cm-dialog-open {
  overflow: hidden !important;
}
.ni-cm__banner {
  position: fixed !important;
  z-index: 2147483000 !important;
  left: 50% !important;
  top: 50% !important;
  bottom: auto !important;
  right: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(535px, calc(100vw - 48px)) !important;
  max-height: min(88vh, 760px);
  max-height: min(88dvh, 760px);
  overflow-y: auto;
  background: var(--ni-cm-black) !important;
  color: var(--ni-cm-white) !important;
  border: 0 !important;
  border-top: 5px solid var(--ni-cm-red) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.36);
  border-radius: 0 !important;
  padding: 25px 25px 21px !important;
  -webkit-overflow-scrolling: touch;
}
.ni-cm__eyebrow {
  color: #d6a5a9 !important;
  font: 700 11px/1.4 var(--ni-cm-body) !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
#top .ni-cm__banner-title, .ni-cm__banner-title,
#top .ni-cm__dialog h2, .ni-cm__dialog h2 {
  font-family: var(--ni-cm-heading) !important;
  font-size: clamp(26px, 2.8vw, 36px) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: .005em;
  margin: 0 0 14px !important;
  padding: 0 !important;
  text-transform: uppercase !important;
}
#top .ni-cm__banner-title, .ni-cm__banner-title { color: #fff !important; }
#top .ni-cm__banner p, .ni-cm__banner p {
  font: 400 13px/1.65 var(--ni-cm-body) !important;
  color: var(--ni-cm-muted) !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  hyphens: auto;
}
#top .ni-cm .ni-cm__policy { font-size: 11px !important; }
#top .ni-cm .ni-cm__policy a, .ni-cm .ni-cm__policy a {
  color: inherit !important;
  text-decoration: underline !important;
  text-decoration-color: var(--ni-cm-red) !important;
  text-underline-offset: 3px;
}
.ni-cm__banner-actions { display: grid; gap: 9px; margin-top: 19px; }
#top .ni-cm .ni-cm__button, .ni-cm .ni-cm__button {
  appearance: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  width: 100% !important;
  min-height: 48px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none !important;
  cursor: pointer;
  font: 700 12px/1.3 var(--ni-cm-body) !important;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: normal;
  opacity: 1 !important;
  visibility: visible !important;
  transition: background-color 120ms ease, color 120ms ease;
}
/* Gleichwertige Optionen: Zustimmung und Ablehnung optisch identisch. */
#top .ni-cm .ni-cm__button--choice, .ni-cm .ni-cm__button--choice {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #020202 !important;
}
#top .ni-cm .ni-cm__button--choice:hover,
.ni-cm .ni-cm__button--choice:hover {
  background: #f1e7e8 !important;
  border-color: #f1e7e8 !important;
  color: #020202 !important;
}
#top .ni-cm .ni-cm__button--primary, .ni-cm .ni-cm__button--primary {
  background: var(--ni-cm-red) !important;
  border-color: var(--ni-cm-red) !important;
  color: #fff !important;
}
#top .ni-cm .ni-cm__button--outline, .ni-cm .ni-cm__button--outline {
  background: transparent !important;
  border-color: #fff !important;
  color: #fff !important;
}
#top .ni-cm .ni-cm__button--text, .ni-cm .ni-cm__button--text {
  background: transparent !important;
  color: #fff !important;
  min-height: 42px !important;
  text-decoration: underline !important;
  text-decoration-color: var(--ni-cm-red) !important;
}
#top .ni-cm .ni-cm__button--outline-dark, .ni-cm .ni-cm__button--outline-dark {
  background: #fff !important;
  color: #020202 !important;
  border-color: #020202 !important;
}
#top .ni-cm button:focus-visible, #top .ni-cm a:focus-visible,
.ni-cm button:focus-visible, .ni-cm a:focus-visible,
.ni-cm-settings-link:focus-visible, .ni-cm-embed button:focus-visible {
  outline: 3px solid #89252d !important;
  outline-offset: 3px !important;
}
.ni-cm__reopen {
  position: fixed !important;
  left: 12px !important;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  top: auto !important;
  right: auto !important;
  z-index: 2147482000 !important;
  background: #020202 !important;
  color: #fff !important;
  border: 2px solid #89252d !important;
  border-radius: 0 !important;
  padding: 9px 12px !important;
  font: 700 10px/1.2 var(--ni-cm-body) !important;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 2px 12px #0003;
}
.ni-cm__overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483100 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  background: rgba(0,0,0,.77) !important;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.ni-cm__dialog {
  width: min(680px, 100%);
  max-width: 100%;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  color: #020202 !important;
  background: #fff !important;
  border-top: 5px solid #89252d !important;
  border-radius: 0 !important;
  box-shadow: 0 20px 70px #0007;
}
.ni-cm__dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 23px 24px 8px;
  flex-shrink: 0;
}
#top .ni-cm__dialog h2, .ni-cm__dialog h2 {
  color: #020202 !important;
  font-size: clamp(26px, 4vw, 36px) !important;
  margin-bottom: 0 !important;
}
.ni-cm__dialog-header .ni-cm__eyebrow { color: #89252d !important; margin-bottom: 7px; }
.ni-cm__close {
  appearance: none !important;
  border: 1px solid #ccc !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #020202 !important;
  font: 400 26px/1 Arial, sans-serif !important;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}
.ni-cm__dialog-body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 12px 24px 15px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
#top .ni-cm__dialog-body > p, .ni-cm__dialog-body > p {
  color: #282828 !important;
  font: 400 13px/1.65 var(--ni-cm-body) !important;
  margin: 0 0 14px !important;
}
.ni-cm__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid #e1e1e1;
  cursor: pointer;
}
.ni-cm__category-copy { min-width: 0; flex: 1; display: block; }
#top .ni-cm__category h3, .ni-cm__category h3,
.ni-cm__category-name {
  display: block;
  color: #020202 !important;
  font: 700 13px/1.35 var(--ni-cm-body) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin: 0 0 5px !important;
}
#top .ni-cm__category p, .ni-cm__category p,
.ni-cm__category-desc {
  display: block;
  color: #555 !important;
  font: 400 12px/1.55 var(--ni-cm-body) !important;
  margin: 0 !important;
}
.ni-cm__service-details {
  display: block;
  margin-top: 7px;
  font: 400 11px/1.55 var(--ni-cm-body) !important;
  color: #444 !important;
  white-space: normal;
}
.ni-cm__required { flex-shrink: 0; color: #89252d; font: 700 10px/1.4 var(--ni-cm-body); text-align: right; }
.ni-cm__category input[type="checkbox"] {
  appearance: auto !important;
  width: 23px !important;
  height: 23px !important;
  flex: 0 0 23px;
  accent-color: #89252d !important;
  margin: 0 !important;
  cursor: pointer;
}
.ni-cm__dialog-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 15px 24px max(20px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #ddd;
  flex-shrink: 0;
  background: #f5f5f5;
}
.ni-cm-settings-link {
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.ni-cm-embed {
  display: grid;
  align-items: center;
  min-height: 250px;
  width: 100%;
  background: #f5f5f5;
  color: #020202;
  border-left: 4px solid #89252d;
  font-family: 'Roboto Slab', Georgia, serif;
}
.ni-cm-embed__placeholder { padding: 25px; text-align: center; }
.ni-cm-embed__placeholder p { margin: 10px auto 16px; max-width: 420px; font-size: 13px; line-height: 1.6; }
.ni-cm-embed__button { background: #89252d; color: #fff; border: 0; border-radius: 0; padding: 14px 18px; font: 700 12px/1.3 'Roboto Slab', Georgia, serif; cursor: pointer; }
.ni-cm-embed iframe { width: 100%; min-height: inherit; height: 100%; aspect-ratio: 16/9; border: 0; display: block; }
@media (max-width: 700px) {
  .ni-cm__banner {
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom, 0px)) !important;
    transform: none !important;
    width: calc(100% - 24px) !important;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 19px 18px 18px !important;
  }
  .ni-cm__banner-title { font-size: 28px !important; }
  .ni-cm__overlay { padding: 10px; padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)); align-items: center; }
  .ni-cm__dialog { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .ni-cm__dialog-header { padding: 17px 15px 9px; }
  .ni-cm__dialog-body { padding: 9px 15px 12px; }
  .ni-cm__dialog-footer { grid-template-columns: 1fr; gap: 8px; padding: 10px 15px max(14px, env(safe-area-inset-bottom, 0px)); }
  .ni-cm__dialog-footer .ni-cm__button { min-height: 46px !important; }
  .ni-cm__category { padding: 12px 0; }
  .ni-cm__service-details {
  display: block;
  margin-top: 7px;
  font: 400 11px/1.55 var(--ni-cm-body) !important;
  color: #444 !important;
  white-space: normal;
}
.ni-cm__required { max-width: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .ni-cm * { transition: none !important; }
}

/* Explicit legal navigation: visible in the mobile banner and in the modal. */
#ni-cm-root .ni-cm__legal-links {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px 18px !important;
  width: 100% !important;
  font: 700 11px/1.5 'Roboto Slab', Georgia, serif !important;
  letter-spacing: .025em !important;
  text-transform: uppercase !important;
}
#ni-cm-root .ni-cm__legal-links--banner {
  margin-top: 17px !important;
  padding-top: 13px !important;
  border-top: 1px solid rgba(255,255,255,.3) !important;
}
#ni-cm-root .ni-cm__legal-links--dialog {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 10px 24px !important;
  border-top: 1px solid #ddd !important;
  background: #fff !important;
}
#ni-cm-root .ni-cm__legal-links a,
#top #ni-cm-root .ni-cm__legal-links a {
  display: inline-flex !important;
  align-items: center;
  padding: 4px 0 !important;
  font: inherit !important;
  text-decoration: underline !important;
  text-decoration-color: #89252d !important;
  text-underline-offset: 3px !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#ni-cm-root .ni-cm__legal-links--banner a { color: #fff !important; }
#ni-cm-root .ni-cm__legal-links--dialog a { color: #020202 !important; }
#ni-cm-root .ni-cm__new-tab { margin-left: 4px; font-size: 14px; }
@media (max-width: 700px) {
  #ni-cm-root .ni-cm__legal-links--dialog { padding: 9px 15px !important; }
  #ni-cm-root .ni-cm__legal-links { font-size: 10px !important; gap: 7px 15px !important; }
}
