/* Cookie-Consent-Banner – DSGVO § 25 TDDDG
   ----------------------------------------------------------------
   Sticky am unteren Bildschirmrand, hohe Kontraste, beide Aktionen
   gleichwertig (Akzeptieren + Ablehnen) sichtbar – kein Dark Pattern. */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #062134; /* navy-dark */
  color: #fff;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  padding: 1rem 1.25rem;
  font-family: var(--font-body, "Roboto Condensed", "Arial Narrow", sans-serif);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.cookie-banner__text {
  flex: 1 1 460px;
  min-width: 0;
}

.cookie-banner__title {
  font-family: var(--font-heading, "Roboto Condensed", sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: #fff;
}

.cookie-banner__text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner__text a:hover {
  text-decoration: none;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  min-width: 130px;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Beide Buttons gleich gewichtet darstellen, damit Reject nicht visuell
   benachteiligt ist (TDDDG-konform / Dark-Pattern vermeiden) */
.cookie-banner__btn.btn--outline {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.cookie-banner__btn.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 720px) {
  .cookie-banner {
    padding: 0.6rem 0.9rem 0.7rem;
  }
  .cookie-banner__inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
  }
  .cookie-banner__text {
    flex: 1 1 0;
    min-width: 0;
  }
  .cookie-banner__title {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }
  .cookie-banner__text p {
    font-size: 0.78rem;
    line-height: 1.35;
  }
  .cookie-banner__actions {
    flex-direction: column;
    flex-shrink: 0;
    gap: 0.4rem;
  }
  .cookie-banner__btn {
    min-width: 90px;
    min-height: 44px !important;
    height: auto !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem;
    white-space: nowrap;
    box-sizing: border-box;
  }
}
