@charset "UTF-8";
/*!
 * JojoCookie 1.3.0 — styles. No framework needed.
 *
 * Adapt to a site by overriding the variables, e.g. in the site's CSS:
 *   :root { --jojo-primary: #b83b30; --jojo-primary-hover: #8f2d25; }
 *
 * IDs/classes start with "jojo-", never "cookie-": #cookie-banner and
 * #cookie-backdrop are hidden by the EasyList Cookie List (Brave, uBlock
 * Origin, Adblock Plus …), which left visitors without a banner. Checked
 * against the list of 2026-11-25. Don't rename them to cookie-*.
 */

:root {
  --jojo-primary: #1e5799;
  --jojo-primary-hover: #1a73c4;
  --jojo-on-primary: #fff;
  --jojo-text: #1f2937;
  --jojo-muted: #4b5563;
  --jojo-border: #d6dbe1;
  --jojo-surface: linear-gradient(145deg, #f6f7f9, #eceff3);
  --jojo-section: rgba(255, 255, 255, .6);
  --jojo-shadow: 0 20px 50px rgba(15, 23, 42, .25);
  --jojo-radius: .5rem;
  --jojo-font: inherit;
  /* Above typical preloaders (≈9998), below image lightboxes (≈20000). */
  --jojo-z: 10000;
}

.jojo-lock,
.jojo-lock body { overflow: hidden; }

.jojo-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ---------- Banner ---------- */

#jojo-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--jojo-z);
  background: rgba(15, 23, 42, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
#jojo-consent-backdrop.is-open { opacity: 1; visibility: visible; }

#jojo-consent {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: calc(var(--jojo-z) + 10);
  box-sizing: border-box;
  width: min(920px, calc(100% - 2rem));
  max-height: min(85vh, 720px);
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr minmax(210px, 300px);
  gap: 1.5rem 2.5rem;
  padding: 1.5rem;
  font-family: var(--jojo-font);
  color: var(--jojo-text);
  background: var(--jojo-surface);
  border: 1px solid var(--jojo-border);
  border-radius: var(--jojo-radius);
  box-shadow: var(--jojo-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-50% + 24px));
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
#jojo-consent.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.jojo-consent__heading {
  margin: 0 0 .75rem;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--jojo-text);
}
.jojo-consent__heading:focus { outline: none; }
.jojo-consent__heading:focus-visible { outline: 2px solid var(--jojo-primary); outline-offset: 2px; }

#jojo-consent p {
  margin: 0 0 .75rem;
  font-size: .9rem;
  line-height: 1.55;
}
#jojo-consent p:last-child { margin-bottom: 0; }

#jojo-consent a,
#jojo-consent-overlay a {
  color: var(--jojo-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
#jojo-consent a:hover,
#jojo-consent-overlay a:hover { color: var(--jojo-primary-hover); }

.jojo-consent__actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .6rem;
}

/* ---------- Buttons ---------- */
/* "Alle akzeptieren" and "Weiter ohne Einwilligung" deliberately look the
   same: refusing must be as easy and as visible as accepting. */

.jojo-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: .6rem 1rem;
  font: inherit;
  font-size: .95rem;
  line-height: 1.3;
  text-align: center;
  border-radius: 12px;
  border: 1px solid var(--jojo-primary);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .05s ease;
}
.jojo-btn:active { transform: translateY(1px); }
.jojo-btn:focus-visible { outline: 3px solid var(--jojo-primary); outline-offset: 2px; }

.jojo-btn--primary { background: var(--jojo-primary); color: var(--jojo-on-primary); }
.jojo-btn--primary:hover { background: var(--jojo-primary-hover); border-color: var(--jojo-primary-hover); }

.jojo-btn--outline { background: transparent; color: var(--jojo-primary); }
.jojo-btn--outline:hover { background: var(--jojo-primary-hover); border-color: var(--jojo-primary-hover); color: var(--jojo-on-primary); }

.jojo-logo {
  display: block;
  height: 12px;
  width: auto;
  margin: .4rem 0 0 auto;
  opacity: .55;
}

/* ---------- Settings dialog ---------- */

@keyframes jojoSlideIn  { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes jojoSlideOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(28px); } }

#jojo-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: calc(var(--jojo-z) + 20);
  overflow-y: auto;
  background: rgba(15, 23, 42, .55);
  font-family: var(--jojo-font);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
#jojo-consent-overlay.is-open { opacity: 1; visibility: visible; }
#jojo-consent-overlay.is-open .jojo-overlay__inner { animation: jojoSlideIn .3s ease forwards; }
#jojo-consent-overlay.is-closing .jojo-overlay__inner { animation: jojoSlideOut .22s ease forwards; }

.jojo-overlay__inner {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(920px, calc(100% - 2rem));
  max-height: min(88vh, 780px);
  margin: max(1rem, 5vh) auto;
  padding: 1.5rem;
  color: var(--jojo-text);
  background: var(--jojo-surface);
  border: 1px solid var(--jojo-border);
  border-radius: var(--jojo-radius);
  box-shadow: var(--jojo-shadow);
}

.jojo-overlay__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--jojo-muted);
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.jojo-overlay__close:hover { color: var(--jojo-text); background: rgba(0, 0, 0, .06); }
.jojo-overlay__close:focus-visible { outline: 3px solid var(--jojo-primary); }

.jojo-overlay__intro { margin: 0 0 1rem; font-size: .85rem; color: var(--jojo-muted); }

.jojo-overlay__scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: .25rem;
}

.jojo-section {
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--jojo-section);
  border: 1px solid var(--jojo-border);
  border-radius: 12px;
}
.jojo-section h3 { margin: 0 0 .4rem; font-size: .9rem; color: var(--jojo-text); }
.jojo-section p  { margin: 0 0 .75rem; font-size: .82rem; line-height: 1.5; color: var(--jojo-muted); }

.jojo-overlay__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}
.jojo-overlay__actions .jojo-btn { width: auto; min-width: 9rem; }

.jojo-record {
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--jojo-border);
  font-size: .75rem;
  line-height: 1.4;
  color: var(--jojo-text);
}
.jojo-record p { margin: 0 0 .2rem; }
.jojo-record__id { word-break: break-all; }

/* ---------- Switches ---------- */

.jojo-switch {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 0 0 .6rem;
  font-size: .82rem;
  line-height: 1.45;
  cursor: pointer;
}
.jojo-switch--locked { cursor: default; }

.jojo-switch input {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  position: relative;
  width: 2.3em;
  height: 1.3em;
  margin: .1em 0 0;
  border: 1px solid #8a94a3;
  border-radius: 1em;
  background: #fff;
  cursor: inherit;
  transition: background-color .15s ease, border-color .15s ease;
}
.jojo-switch input::before {
  content: "";
  position: absolute;
  top: 50%;
  left: .18em;
  width: .9em;
  height: .9em;
  border-radius: 50%;
  background: #8a94a3;
  transform: translateY(-50%);
  transition: transform .15s ease, background-color .15s ease;
}
.jojo-switch input:checked { background: var(--jojo-primary); border-color: var(--jojo-primary); }
.jojo-switch input:checked::before { background: #fff; transform: translate(1em, -50%); }
.jojo-switch input:disabled { opacity: .6; }
.jojo-switch input:focus-visible { outline: 3px solid var(--jojo-primary); outline-offset: 2px; }

/* ---------- Consent-gated embeds (jojo_embed) ---------- */

.jojo-embed {
  position: relative;
  width: 100%;
  min-height: 180px;
}
.jojo-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  transition: opacity .3s ease;
}
.jojo-embed.is-loading iframe { opacity: 0; }
.jojo-embed.is-granted .jojo-placeholder { display: none; }

.jojo-embed__spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid var(--jojo-border);
  border-top-color: var(--jojo-primary);
  border-radius: 50%;
  animation: jojoSpin 1s linear infinite;
  pointer-events: none;
}
.jojo-embed.is-loading .jojo-embed__spinner { display: block; }
@keyframes jojoSpin { to { transform: rotate(360deg); } }

.jojo-placeholder {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem 2rem;
  overflow: auto;
  color: #333;
  background: #e8e8e8;
  border: 1px solid #cacaca;
  border-radius: 8px;
}
.jojo-placeholder__icon { flex-shrink: 0; color: var(--jojo-primary); }
.jojo-placeholder__body { flex: 1; min-width: 0; }
.jojo-placeholder__title { margin: 0 0 .35rem; font-weight: 600; font-size: .9rem; }
.jojo-placeholder__text  { margin: 0 0 .6rem; font-size: .8rem; line-height: 1.45; color: #4a4a4a; }
.jojo-placeholder a { color: var(--jojo-primary); text-decoration: underline; }
.jojo-placeholder__logo {
  position: absolute;
  right: 1rem;
  bottom: .7rem;
  height: 11px;
  width: auto;
  opacity: .4;
}

/* ---------- Settings link (jojo_settings_button) ---------- */

.jojo-settings-link {
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ---------- Small screens ---------- */

@media (max-width: 767px) {
  #jojo-consent { grid-template-columns: 1fr; gap: 1rem; padding: 1.1rem; }
  .jojo-consent__heading { font-size: 1rem; }
  #jojo-consent p { font-size: .82rem; }
}

@media (max-width: 575px) {
  .jojo-overlay__inner { padding: 1rem; margin: .5rem auto; max-height: calc(100vh - 1rem); }
  .jojo-section { padding: .75rem; margin-bottom: .7rem; }
  .jojo-overlay__actions .jojo-btn { flex: 1 1 auto; }
  .jojo-placeholder { gap: .75rem; padding: 1rem 1rem 1.8rem; }
  .jojo-placeholder__icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #jojo-consent, #jojo-consent-backdrop, #jojo-consent-overlay { transition: none; }
  #jojo-consent-overlay.is-open .jojo-overlay__inner,
  #jojo-consent-overlay.is-closing .jojo-overlay__inner { animation: none; }
  .jojo-embed__spinner { animation-duration: 3s; }
}
