#b24-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  padding: 12px;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1a1a1a;
  outline: none;
}

#b24-consent .b24c-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  max-height: 88vh;
  overflow-y: auto;
}

#b24-consent .b24c-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.3;
}

#b24-consent .b24c-text,
#b24-consent .b24c-desc {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

#b24-consent .b24c-desc {
  margin: 2px 0 0 28px;
  color: #444;
  font-size: 0.9rem;
}

#b24-consent .b24c-list {
  margin: 8px 0 14px;
}

#b24-consent .b24c-item {
  padding: 10px 0;
  border-top: 1px solid #e3e3e3;
}

#b24-consent .b24c-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
}

#b24-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Alle Schaltflaechen bewusst gleich gestaltet: Ablehnen ist gleichwertig zu Akzeptieren. */
#b24-consent .b24c-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#b24-consent .b24c-btn {
  flex: 1 1 160px;
  min-height: 44px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: #1f3a5f;
  border: 2px solid #1f3a5f;
  border-radius: 8px;
  cursor: pointer;
}

#b24-consent .b24c-btn:hover {
  background: #162a46;
  border-color: #162a46;
}

#b24-consent .b24c-btn:focus-visible,
.b24c-reopen:focus-visible,
#b24-consent a:focus-visible,
#b24-consent input:focus-visible {
  outline: 3px solid #f0a500;
  outline-offset: 2px;
}

#b24-consent .b24c-links {
  margin: 14px 0 0;
  font-size: 0.85rem;
}

#b24-consent .b24c-links a {
  color: #1f3a5f;
  text-decoration: underline;
}

.b24c-reopen {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 2147482000;
  padding: 8px 12px;
  font: 600 13px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #8a8a8a;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.b24c-reopen:hover {
  background: #f3f3f3;
}

@media (max-width: 520px) {
  #b24-consent {
    padding: 8px;
  }

  #b24-consent .b24c-box {
    padding: 16px;
  }

  #b24-consent .b24c-btn {
    flex-basis: 100%;
  }
}

/* 23.10.2026: Banner wie bei babis24.gr als kompakte Box rechts unten (statt volle Breite in der Mitte) */
#b24-consent {
  left: auto;
  right: 0;
  width: min(440px, 100%);
}

#b24-consent .b24c-box {
  max-width: none;
  margin: 0;
}

@media (max-width: 520px) {
  #b24-consent {
    right: 0;
    left: 0;
    width: auto;
  }
}
