/* Tresor Core – Cookie-Einwilligung. Farben über Variablen anpassbar, Werte des Tresor-Themes als Standard. */
.tc-banner, .tc-backdrop {
  --tc-ink: #15191D; --tc-ink-hover: #2B3036; --tc-text: #5A5E62; --tc-line: #E2E0DB; --tc-hair: #E8E6E1;
  --tc-surf: #F5F4F1; --tc-accent: #D42E10; --tc-radius: 14px;
  font-family: Mulish, system-ui, sans-serif; color: var(--tc-ink); -webkit-font-smoothing: antialiased;
}
.tc-banner[hidden], .tc-view[hidden], .tc-backdrop[hidden] { display: none !important; }
.tc-banner {
  position: fixed; z-index: 2147483000; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 1120px;
  background: #fff; border-radius: var(--tc-radius); box-sizing: border-box;
  box-shadow: 0 0 0 1px var(--tc-line), 0 20px 50px rgba(21, 25, 29, .22);
  animation: tc-in .28s cubic-bezier(.2, .7, .2, 1);
}
.tc-banner.is-prefs { max-width: 720px; }
.tc-banner.is-morphing { overflow: hidden; }
@keyframes tc-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tc-banner { animation: none; } }
.tc-intro { display: grid; gap: 18px; padding: 22px 24px; }
@media (min-width: 1025px) {
  .tc-intro { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 24px 28px; }
}
.tc-backdrop { position: fixed; inset: 0; z-index: 2147482999; background: rgba(21, 25, 29, .45); opacity: 0; transition: opacity .25s ease; }
.tc-backdrop.is-on { opacity: 1; }
.tc-prefs { display: flex; flex-direction: column; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
.tc-prefs__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 6px; }
.tc-prefs__head .tc-title { font-size: 20px; outline: none; }
.tc-prefs__body { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 24px 4px; }
.tc-prefs__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 24px 20px; border-top: 1px solid var(--tc-hair); }
.tc-prefs__actions .tc-btn { flex: 1 1 160px; }
@media (min-width: 640px) { .tc-prefs__head { padding: 26px 32px 6px; } .tc-prefs__body { padding: 0 32px 4px; } .tc-prefs__actions { padding: 18px 32px 24px; } }
.tc-title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--tc-ink); }
.tc-copy { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--tc-text); max-width: 78ch; }
.tc-links { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.tc-links a, .tc-banner a { color: var(--tc-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.tc-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 639px) { .tc-banner__actions > .tc-btn--solid { flex: 1 1 140px; } .tc-banner { left: 8px; right: 8px; bottom: 8px; } .tc-intro { padding: 18px; } .tc-prefs { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); } }
.tc-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px;
  font: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.tc-btn:focus-visible, .tc-close:focus-visible, .tc-switch input:focus-visible + .tc-switch__ui, .tc-cat summary:focus-visible { outline: 2px solid var(--tc-ink); outline-offset: 2px; }
.tc-btn--solid { background: var(--tc-ink); color: #fff; }
.tc-btn--solid:hover { background: var(--tc-ink-hover); }
.tc-btn--ghost { background: transparent; color: var(--tc-ink); box-shadow: inset 0 0 0 1px var(--tc-line); }
.tc-btn--ghost:hover { background: var(--tc-surf); }

.tc-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--tc-surf); color: var(--tc-ink); cursor: pointer; }
.tc-close:hover { background: var(--tc-line); }
.tc-cats { margin: 16px 0 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--tc-line); }
.tc-cat + .tc-cat { border-top: 1px solid var(--tc-hair); }
.tc-cat summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; list-style: none; cursor: pointer; border-radius: 12px; transition: background-color .2s ease; }
.tc-cat summary::-webkit-details-marker { display: none; }
.tc-cat summary:hover { background: #FBFAF8; }
.tc-cat__label { display: flex; flex-direction: column; gap: 3px; font-size: 15px; font-weight: 600; }
.tc-cat__text { font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--tc-text); }
.tc-services { margin: 0; padding: 0 18px 16px; list-style: none; display: grid; gap: 10px; }
.tc-services li { padding: 12px 14px; border-radius: 10px; background: var(--tc-surf); }
.tc-services__name { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.tc-services dl { margin: 0; display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 3px 12px; font-size: 13px; line-height: 1.5; }
@media (max-width: 479px) { .tc-services dl { grid-template-columns: minmax(0, 1fr); gap: 0; } .tc-services dd { margin-bottom: 6px; } }
.tc-services dd { overflow-wrap: anywhere; }
.tc-services dt { color: var(--tc-text); }
.tc-services dd { margin: 0; }
.tc-switch { position: relative; flex: none; display: inline-flex; cursor: pointer; }
.tc-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tc-switch__ui { width: 44px; height: 26px; border-radius: 999px; background: var(--tc-line); transition: background-color .2s ease; position: relative; }
.tc-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s ease; }
.tc-switch input:checked + .tc-switch__ui { background: var(--tc-ink); }
.tc-switch input:checked + .tc-switch__ui::after { transform: translateX(18px); }
.tc-switch input:disabled + .tc-switch__ui { opacity: .45; cursor: not-allowed; }
.tc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cookie-Liste (Shortcode [tresor_cookie_liste]) */
.tc-list .tc-services--page { padding: 0; margin: 12px 0 28px; }
.tc-list .tc-services--page li { margin: 0; padding: 14px 16px; list-style: none; }
.tc-list .tc-services--page li::before { content: none; }
.tc-list .tc-services__name { font-size: 15px; }
.tc-list .tc-services dl { font-size: 14px; }
.tc-list .tc-services dd, .tc-list .tc-services dt { margin: 0; padding: 0; }
