/* EINWILLIGUNGSLEISTE (consent.js) FUER SEITEN OHNE luxe.css.
   Die Landeseite, die Stellenseiten und die Check-Seiten laden consent.js, aber nicht luxe.css, wo diese Regeln
   stehen; dort lagen Leiste und Einstellungen ungestaltet unter dem Fuss und blieben nach dem Speichern sichtbar
   (29.10.2026). Dies ist derselbe Block wie in luxe.css (Zeilen .cc-banner bis .cc-footer-link), mit den
   Gestaltungswerten als Fallback, weil diese Seiten die --lx-Variablen nicht kennen. Aenderungen an beiden Orten. */
.cc-banner, .cc-overlay, .cc-settings, .cc-inline {
  --lx-ease: cubic-bezier(0.22, 0.61, 0.36, 1); --lx-gold-deep: #7c6222; --lx-gold-rich: #4a7de0;
  --lx-hair: rgba(28,26,20,0.15); --lx-hair-soft: rgba(28,26,20,0.08); --lx-ink: #1c1a14;
  --lx-ink-45: rgba(28,26,20,0.46); --lx-ink-60: rgba(28,26,20,0.60); --lx-mint: #eaf3ec;
  --lx-sans: "Inter", system-ui, -apple-system, sans-serif; --lx-serif: "Manrope", "Inter", system-ui, sans-serif;
}
.cc-banner {
  position: fixed; z-index: 500;
  left: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px);
  width: min(400px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--lx-hair-soft); border-radius: 24px;
  padding: 26px 26px 22px;
  box-shadow: 0 30px 70px rgba(9,16,28,0.22);
  font-family: var(--lx-sans);
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.98);
  transition: opacity 0.4s var(--lx-ease), transform 0.4s var(--lx-ease), visibility 0.4s;
}
.cc-banner.is-open { opacity: 1; visibility: visible; transform: none; }
.cc-eyebrow { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lx-gold-deep); }
.cc-title { font-family: var(--lx-serif); font-weight: 700; font-size: 1.28rem; line-height: 1.25; color: var(--lx-ink); margin: 8px 0 10px; }
.cc-text { font-size: 0.88rem; line-height: 1.6; color: var(--lx-ink-60); }
.cc-link-wrap { margin: 10px 0 0; }
.cc-more { font-size: 0.82rem; font-weight: 600; color: var(--lx-gold-deep); text-decoration: none; border-bottom: 1px solid rgba(124,98,34,0.3); padding-bottom: 1px; transition: border-color 0.25s; }
.cc-more:hover { border-bottom-color: var(--lx-gold-deep); }
.cc-actions { display: flex; gap: 10px; margin-top: 20px; }
.cc-btn {
  flex: 1; min-height: 48px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font-family: var(--lx-sans); font-weight: 700; font-size: 0.9rem; line-height: 1.2;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.cc-btn:hover { transform: translateY(-1px); }
.cc-btn-primary { border: none; color: #ffffff; background: linear-gradient(135deg, #4575d6, #4a7de0); }
.cc-btn-primary:hover { background: linear-gradient(135deg, #4575d6, #4a7de0); }
.cc-btn-ghost { border: 1px solid var(--lx-hair); background: #fff; color: var(--lx-ink); }
.cc-btn-ghost:hover { border-color: var(--lx-gold-rich); background: #fbf8f1; }
.cc-settings { display: block; width: 100%; margin-top: 12px; border: none; background: none; cursor: pointer; font-family: var(--lx-sans); font-size: 0.82rem; font-weight: 600; color: var(--lx-ink-45); text-decoration: underline; text-underline-offset: 3px; }
.cc-settings:hover { color: var(--lx-ink); }
.cc-btn:focus-visible, .cc-settings:focus-visible, .cc-close:focus-visible, .cc-more:focus-visible { outline: 2px solid var(--lx-gold-rich); outline-offset: 3px; }

/* ---- Preference centre ---- */
html.cc-lock, html.cc-lock body { overflow: hidden; }
.cc-overlay {
  position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; padding: 20px;
  background: rgba(9,16,28,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.cc-overlay.is-open { opacity: 1; visibility: visible; }
.cc-modal {
  position: relative; width: min(540px, 100%); max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 24px; padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 40px 90px rgba(9,16,28,0.35); font-family: var(--lx-sans);
  transform: translateY(16px) scale(0.98); transition: transform 0.35s var(--lx-ease);
}
.cc-overlay.is-open .cc-modal { transform: none; }
.cc-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--lx-hair); background: #fff; color: var(--lx-ink); display: grid; place-items: center; cursor: pointer; }
.cc-close svg { width: 18px; height: 18px; }
.cc-close:hover { border-color: var(--lx-gold-rich); }
.cc-modal-title { font-family: var(--lx-serif); font-weight: 700; font-size: 1.5rem; color: var(--lx-ink); margin: 8px 0 10px; }
.cc-modal-lead { font-size: 0.88rem; line-height: 1.6; color: var(--lx-ink-60); }
.cc-cat { border: 1px solid var(--lx-hair-soft); border-radius: 16px; padding: 16px 18px; margin-top: 14px; background: #fdfdfc; }
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cc-cat-head h3 { font-family: var(--lx-sans); font-weight: 700; font-size: 0.98rem; color: var(--lx-ink); }
.cc-cat p { margin-top: 7px; font-size: 0.83rem; line-height: 1.6; color: var(--lx-ink-60); }
.cc-pill { flex: none; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #3d8f66; background: var(--lx-mint); border-radius: 999px; padding: 6px 12px; }
.cc-switch { flex: none; display: inline-flex; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-track { width: 52px; height: 30px; border-radius: 999px; background: var(--lx-hair); display: block; padding: 3px; transition: background 0.25s var(--lx-ease); }
.cc-knob { display: block; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(9,16,28,0.24); transition: transform 0.25s var(--lx-ease); }
.cc-switch input:checked + .cc-track { background: linear-gradient(135deg, #4575d6, #4a7de0); }
.cc-switch input:checked + .cc-track .cc-knob { transform: translateX(22px); }
.cc-switch input:focus-visible + .cc-track { outline: 2px solid var(--lx-gold-rich); outline-offset: 3px; }
.cc-modal .cc-actions { margin-top: 22px; }

/* ---- Footer link ---- */
.cc-footer-link { cursor: pointer; }

@media (max-width: 560px) {
  .cc-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 22px 20px 18px; border-radius: 20px; }
  .cc-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-banner, .cc-overlay, .cc-modal, .cc-btn, .cc-track, .cc-knob { transition: none; }
}
.cc-inline { border: none; background: none; padding: 0; cursor: pointer; font: inherit; color: var(--lx-gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cc-inline:hover { color: var(--lx-ink); }
