/* Minimaler Cookie-Consent (DSGVO): Banner + Settings Modal */

.cc-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: none;
  z-index: 9998;
}
.cc-overlay.is-open{ display:block; }

.cc-banner{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #fff;
  border: 1px solid rgba(2,6,23,.10);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  padding: 14px 14px 12px;
  z-index: 9999;
  max-width: 960px;
  margin: 0 auto;
}

.cc-title{ font-size: 1rem; font-weight: 700; color:#0f172a; margin:0 0 6px; }
.cc-text{ font-size: .92rem; line-height: 1.35; color:#334155; margin:0 0 12px; }

.cc-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  justify-content: flex-end;
}

.cc-actions .cc-link{
  margin-right: auto;
  font-size: .92rem;
  color:#2563eb;
  text-decoration: none;
}
.cc-actions .cc-link:hover{ text-decoration: underline; }

.cc-btn{
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
  font-size: .92rem;
}

.cc-btn.cc-secondary{
  background: #f1f5f9;
  color: #0f172a;
}
.cc-btn.cc-primary{
  background: var(--logo-blue, #2563eb);
  color: #fff;
}

/* Settings modal */
.cc-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
}
.cc-modal.is-open{ display:flex; }

.cc-modal-card{
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  border: 1px solid rgba(2,6,23,.10);
  overflow: hidden;
}

.cc-modal-head{
  padding: 14px 16px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(2,6,23,.08);
  display:flex;
  align-items:center;
  justify-content: space-between;
}

.cc-modal-head h3{ margin:0; font-size: 1rem; color:#0f172a; }

.cc-close{
  border:0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color:#0f172a;
  padding: 6px 8px;
  border-radius: 10px;
}
.cc-close:hover{ background:#e2e8f0; }

.cc-modal-body{ padding: 14px 16px; }

.cc-row{
  display:flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid rgba(2,6,23,.06);
}
.cc-row:first-child{ border-top: 0; }

.cc-row strong{ display:block; color:#0f172a; }
.cc-row small{ display:block; color:#475569; margin-top:4px; line-height:1.35; }

.cc-toggle{
  margin-top: 2px;
  width: 18px;
  height: 18px;
}

.cc-modal-actions{
  padding: 12px 16px 16px;
  display:flex;
  gap:10px;
  justify-content: flex-end;
}

@media (max-width: 520px){
  .cc-actions{ justify-content: stretch; }
  .cc-actions .cc-link{ width: 100%; margin-right:0; }
  .cc-btn{ width: 100%; }
}
