/* Cookie-Banner und Einstellungen (alle Seiten) */
.cc {
  position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 100;
  max-width: 480px; margin-left: auto; max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 22px 22px 20px; background: #24292c; color: #e3e6e7;
  border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .65);
  font: 400 14px/1.55 "Archivo", "Helvetica Neue", Arial, sans-serif;
}
.cc[hidden] { display: none; }
.cc h2 { margin: 0; font-size: 18px; font-weight: 700; color: #fff; }
.cc p { margin: 8px 0 0; color: #c9cdcf; }
.cc a { color: #fff; text-underline-offset: 3px; }
.cc :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.cc-actions button {
  height: 44px; padding: 0 14px; cursor: pointer;
  font: 600 14px/1 "Archivo", "Helvetica Neue", Arial, sans-serif;
  background: #fff; color: #383e42; border: 1px solid #fff; transition: background .15s, color .15s;
}
.cc-actions button:hover { background: transparent; color: #fff; }
.cc-actions .cc-more {
  grid-column: 1 / -1; height: auto; padding: 6px 0; background: none; border: 0;
  color: #c9cdcf; font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
}
.cc-actions .cc-more:hover { color: #fff; background: none; }
.cc-actions .cc-more.is-save {
  height: 44px; padding: 0 14px; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .45);
}
.cc-actions .cc-more.is-save:hover { border-color: #fff; }

.cc-cats { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .13); }
.cc-cats li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .13); }
.cc-cats b { color: #fff; font-weight: 600; }
.cc-cats small { grid-column: 1; color: #9ba2a6; font-size: 13px; line-height: 1.45; }
.cc-cats input { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 20px; height: 20px; accent-color: #fff; }

/* Footer-Link zum erneuten Öffnen */
.cc-link { padding: 0; background: none; border: 0; cursor: pointer; font: inherit; color: #cfd3d5; }
.cc-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 420px) {
  .cc { right: 8px; bottom: 8px; left: 8px; padding: 18px 16px 16px; }
  .cc-actions { grid-template-columns: 1fr; }
}
