/* ===== Cookie Banner ===== */
.cc-banner,.cc-modal{font-family:inherit;color:#1a1a1a;box-sizing:border-box}
.cc-banner *,.cc-modal *{box-sizing:border-box}
.cc-banner{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.6);padding:1rem;display:none;align-items:center;justify-content:center;overflow-y:auto}
.cc-banner.cc-show{display:flex;animation:cc-fade .25s ease}
.cc-banner-inner{background:#fff;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.3);padding:1.75rem 2rem;max-width:560px;width:100%;animation:cc-up .3s ease}
@keyframes cc-fade{from{opacity:0}to{opacity:1}}
@keyframes cc-up{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
body.cc-lock{overflow:hidden}
.cc-banner h3{margin:0 0 .5rem;font-size:1.1rem;font-weight:700;color:#C41E1E}
.cc-banner p{margin:0 0 1rem;font-size:.9rem;line-height:1.5;color:#333}
.cc-banner p a{color:#C41E1E;text-decoration:underline}
.cc-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.cc-btn{flex:1 1 auto;min-width:140px;padding:.65rem 1rem;border:1px solid #C41E1E;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .15s,color .15s;background:#fff;color:#C41E1E;font-family:inherit}
.cc-btn:hover{background:#fdecec}
.cc-btn-primary{background:#C41E1E;color:#fff}
.cc-btn-primary:hover{background:#a11818}
.cc-btn-link{background:transparent;border-color:transparent;color:#555;text-decoration:underline;min-width:auto;flex:0 0 auto;padding:.65rem .5rem}
.cc-btn-link:hover{background:transparent;color:#C41E1E}
@media (max-width:540px){
  .cc-banner{padding:.5rem}
  .cc-banner-inner{padding:1.25rem}
  .cc-btn{flex:1 1 100%;min-width:0}
}
/* ===== Modal ===== */
.cc-modal{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.5);display:none;align-items:center;justify-content:center;padding:1rem}
.cc-modal.cc-show{display:flex}
.cc-modal-inner{background:#fff;border-radius:12px;max-width:560px;width:100%;max-height:90vh;overflow-y:auto;padding:1.75rem}
.cc-modal-inner h3{margin:0 0 1rem;font-size:1.25rem;color:#C41E1E}
.cc-modal-inner p.cc-lead{font-size:.9rem;line-height:1.5;color:#333;margin:0 0 1.25rem}
.cc-cat{border:1px solid #e5e5e5;border-radius:8px;padding:.9rem 1rem;margin-bottom:.75rem}
.cc-cat-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.cc-cat-head strong{font-size:.95rem}
.cc-cat p{margin:.4rem 0 0;font-size:.85rem;color:#555;line-height:1.4}
.cc-switch{position:relative;display:inline-block;width:44px;height:24px;flex-shrink:0}
.cc-switch input{opacity:0;width:0;height:0}
.cc-slider{position:absolute;inset:0;background:#ccc;border-radius:24px;cursor:pointer;transition:.2s}
.cc-slider:before{content:"";position:absolute;height:18px;width:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s}
.cc-switch input:checked + .cc-slider{background:#C41E1E}
.cc-switch input:checked + .cc-slider:before{transform:translateX(20px)}
.cc-switch input:disabled + .cc-slider{background:#9a9a9a;cursor:not-allowed}
.cc-modal-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
/* Settings-Trigger im Footer */
.cc-reopen{background:none;border:none;color:inherit;text-decoration:underline;cursor:pointer;font:inherit;padding:0}
.cc-reopen:hover{color:#C41E1E}
