/* ============================================================
   DSGVO/TTDSG Cookie-Consent-Banner — die-morgenlage.de
   ============================================================ */

#ml-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a1a1a;
  color: #f0f0f0;
  border-top: 3px solid #e8720c;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  padding: 0;

  /* slide-up animation */
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease;
}

#ml-consent-banner.ml-consent-visible {
  transform: translateY(0);
  opacity: 1;
}

#ml-consent-banner.ml-consent-hidden {
  transform: translateY(100%);
  opacity: 0;
}

.ml-consent-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ml-consent-text {
  flex: 1 1 300px;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  color: #d0d0d0;
}

.ml-consent-link {
  color: #e8720c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ml-consent-link:hover {
  color: #ff8c2f;
}

.ml-consent-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Base button */
.ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              transform 0.1s ease;
  line-height: 1;
}

.ml-btn:active {
  transform: scale(0.97);
}

/* Primary — orange */
.ml-btn-primary {
  background: #c44e1a;
  color: #fff;
  border-color: #c44e1a;
}

.ml-btn-primary:hover {
  background: #d4640a;
  border-color: #d4640a;
}

/* Outline / secondary */
.ml-btn-outline {
  background: transparent;
  color: #d0d0d0;
  border-color: #555;
}

.ml-btn-outline:hover {
  border-color: #e8720c;
  color: #e8720c;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .ml-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 16px;
  }

  .ml-consent-buttons {
    justify-content: stretch;
    gap: 8px;
  }

  .ml-btn {
    flex: 1;
    padding: 11px 12px;
  }
}
