/* Cookie / Consent Banner — Parität zu apl3 */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 16px;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.cookie-consent-banner[hidden] {
  display: none !important;
}

.cookie-consent-card {
  width: min(1100px, calc(100vw - 24px));
  background: #ffffff;
  border-radius: 12px;
  border-top: 3px solid #e5322d;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.cookie-consent-text {
  flex: 1 1 auto;
  min-width: 240px;
}

.cookie-consent-title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 15px;
}

.cookie-consent-subtitle {
  color: #444;
  line-height: 1.35;
}

.cookie-consent-links {
  margin-top: 8px;
}

.cookie-consent-links a,
.cookie-consent-links button {
  color: #e5322d;
  text-decoration: none;
  font-weight: 600;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.cookie-consent-links a:hover,
.cookie-consent-links button:hover {
  text-decoration: underline;
}

.cookie-consent-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-consent-btn {
  appearance: none;
  border-radius: 10px;
  padding: 10px 14px;
  min-height: 42px;
  font-family: var(--font);
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  color: #212529;
}

.cookie-consent-btn--accept {
  background: #e5322d;
  border-color: #e5322d;
  color: #fff;
}

.cookie-consent-btn:hover {
  filter: brightness(0.97);
}

@media (max-width: 720px) {
  .cookie-consent-card {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions {
    justify-content: stretch;
  }

  .cookie-consent-btn {
    flex: 1 1 auto;
  }
}
