.cn-cookie-banner {
  display: none; /* Wird durch cookiebanner.js eingeblendet */
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1000px;
  width: calc(100% - 40px);
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ddd;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
  z-index: 1000;
  box-sizing: border-box;
}
.cn-cookie-banner p strong {
  display: block;
  text-align: center;
  font-size: 27px;
  font-weight: bold;
  margin-bottom: 10px;
}

.cn-cookie-banner p {
  margin: 0 0 10px;
  padding: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.cn-cookie-banner a {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.cn-cookie-banner a:hover {
  text-decoration: underline;
}

.cn-cookie-banner button {
  padding: 8px 16px;
  font-size: 14px;
  background-color: #808080;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.cn-cookie-banner button:hover {
  background-color: #585858;
}
/* --------------------------------------------------------------------------
   Modus "consent": zwei gleichwertige Schaltflaechen.
   Beide erben die Gestaltung der bestehenden .cn-cookie-banner button-Regel –
   das ist Absicht und keine Nachlaessigkeit: Waere einer auffaelliger als der
   andere, waere die Einwilligung nicht freiwillig. Hier kommt nur das Layout
   dazu. Im Modus "hinweis" greift nichts davon, da .cn-cookie-actions fehlt.
   -------------------------------------------------------------------------- */
.cn-cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cn-cookie-actions button {
  flex: 0 1 200px;
}

/* Fokus-Indikator nie ersatzlos entfernen – der Banner ist auf jeder Seite
   das erste, was per Tastatur erreicht wird. */
.cn-cookie-banner button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@media screen and (max-width: 479px) {
  .cn-cookie-actions button { flex: 1 1 100%; }
}
