/* Cookie-Banner – nutzt die Farb-Variablen der Seite */
.cc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000;
  background: var(--panel, #fff); color: var(--ink, #1c1d1f);
  border-top: 1px solid var(--line, #e3e0da);
  box-shadow: 0 -6px 30px rgba(0,0,0,.18);
  max-height: 88vh; overflow-y: auto;
  font: 15px/1.5 "IBM Plex Sans", system-ui, sans-serif;
}
.cc:focus { outline: none; }
.cc-in { max-width: 1240px; margin: 0 auto; padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; }
.cc h2 { font-size: 17px; margin: 0 0 6px; }
.cc p { margin: 0 0 14px; color: var(--muted, #6b6d72); max-width: 85ch; }
.cc a { color: var(--accent, #0f6b5c); }
.cc-toggles { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.cc-sw { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; position: relative; }
.cc-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-sw i { width: 46px; height: 26px; border-radius: 999px; background: var(--closed, #9a9ca1); position: relative; transition: background .15s; flex: none; }
.cc-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.cc-sw input:checked + i { background: var(--accent, #0f6b5c); }
.cc-sw input:checked + i::after { transform: translateX(20px); }
.cc-sw input:disabled + i { opacity: .55; }
.cc-sw input:disabled ~ * { cursor: not-allowed; }
.cc-sw input:focus-visible + i { outline: 2px solid var(--accent, #0f6b5c); outline-offset: 2px; }
.cc-more { font: inherit; font-weight: 600; background: none; border: 0; color: var(--accent, #0f6b5c); cursor: pointer; padding: 4px 0; }
.cc-more::after { content: " ›"; }
.cc-details { margin-top: 16px; display: grid; gap: 14px; }
.cc-details[hidden] { display: none; }
.cc-cat { border: 1px solid var(--line, #e3e0da); border-radius: 10px; padding: 12px 14px; }
.cc-cat h3 { margin: 0 0 4px; font-size: 15px; }
.cc-cat h3 small { font-weight: 500; color: var(--cheap, #1a8a4a); font-size: 12px; margin-left: 6px; }
.cc-cat p { margin: 0 0 8px; font-size: 14px; }
.cc-cat p.cc-none { margin: 0; font-style: italic; }
.cc table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cc th, .cc td { text-align: left; padding: 6px 8px; border-top: 1px solid var(--line, #e3e0da); vertical-align: top; }
.cc th { color: var(--muted, #6b6d72); font-weight: 600; }
.cc-btns { display: grid; gap: 10px; }
.cc-b { font: inherit; font-weight: 600; cursor: pointer; padding: 12px 16px; border-radius: 8px; border: 2px solid var(--accent, #0f6b5c); background: transparent; color: var(--ink, #1c1d1f); }
.cc-b.cc-solid { background: var(--accent, #0f6b5c); color: var(--accent-ink, #fff); }
.cc-b:hover { filter: brightness(1.08); }
.cc-b:focus-visible, .cc-more:focus-visible { outline: 2px solid var(--ink, #1c1d1f); outline-offset: 2px; }
.cookie-link { font: inherit; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 860px) {
  .cc-in { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; }
  .cc-toggles { gap: 10px 18px; }
  .cc table, .cc thead, .cc tbody, .cc tr, .cc td { display: block; }
  .cc thead { display: none; }
  .cc tr { border-top: 1px solid var(--line, #e3e0da); padding: 6px 0; }
  .cc td { border: 0; padding: 1px 0; }
  .cc td:first-child { font-weight: 600; }
  .cc td:not(:first-child)::before { content: attr(data-l) ": "; color: var(--muted, #6b6d72); }
}
@media (prefers-reduced-motion: reduce) { .cc-sw i, .cc-sw i::after { transition: none; } }
.cc-ext { font: inherit; font-weight: 600; cursor: pointer; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line, #e3e0da); background: transparent; color: var(--ink, #1c1d1f); }
