/* =====================================================================
   Einwilligungsbanner — gehört zu consent.js
   Bewusst keine Vollbild-Sperre: Impressum und Datenschutzerklärung
   müssen jederzeit erreichbar bleiben.
   ===================================================================== */

.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  background: #fff;
  border-top: 3px solid #00ACF0;
  box-shadow: 0 -18px 48px -24px rgba(0, 0, 0, .5);
  font-family: 'Maven Pro', system-ui, sans-serif;
  animation: cc-in .32s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes cc-in {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .cc-banner { animation: none; }
}

.cc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  box-sizing: border-box;
}

.cc-text { flex: 1; min-width: 0; }

/* !important: die Seiten setzen mobil global h2 { font-size: 26px !important } */
.cc-banner .cc-title {
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1C1C21;
  margin: 0 0 8px;
}

.cc-text p {
  font-size: 14px;
  line-height: 1.65;
  color: #4d4d56;
  margin: 0;
}

.cc-text a,
.cc-link {
  color: #0089c0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cc-link {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.cc-links { margin-top: 10px !important; font-size: 13px !important; }

.cc-choices {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.cc-choices[hidden] { display: none; }

.cc-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #4d4d56;
  cursor: pointer;
}
.cc-choice input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: #00ACF0;
}

.cc-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Beide Optionen gleich groß UND gleich prominent: Ablehnen muss genauso
   einfach und genauso sichtbar sein wie Zustimmen (DSK-Orientierungshilfe). */
.cc-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0 20px;
  min-height: 48px;
  width: 210px;
  border-radius: 4px;
  border: 1px solid transparent;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}

.cc-btn--decline { background: #1C1C21; }
.cc-btn--decline:hover { background: #000; }

.cc-btn--accept { background: #0089c0; }
.cc-btn--accept:hover { background: #006f9c; }

.cc-btn:focus-visible,
.cc-link:focus-visible {
  outline: 3px solid #00ACF0;
  outline-offset: 3px;
}

/* Widerruf-Schalter in der Datenschutzerklärung */
.cc-revoke {
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 22px;
  min-height: 44px;
  margin-top: 4px;
  background: #1C1C21;
  color: #fff;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.cc-revoke:hover { background: #0089c0; }

@media (max-width: 820px) {
  .cc-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    max-height: 72vh;
    overflow-y: auto;
  }
  .cc-text p { font-size: 13px; line-height: 1.55; }
  .cc-actions { gap: 8px; }
  .cc-btn { min-height: 44px; }
  .cc-actions { flex-direction: column-reverse; }
  .cc-btn { width: 100%; }
}
