/* Kinetic Cookie Banner
   Past bij het Kinetic design system: Inter, Warm Ink, Ivory Grey, Warm Teal accent.
   Voeg toe aan elke pagina: <link rel="stylesheet" href="cookie-banner.css">
*/

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: calc(100% - 48px);
  max-width: 680px;
  background: #FAF9F7;
  border: 1px solid #F1F0ED;
  border-radius: 6px;
  padding: 24px 28px;
  box-shadow: 0 4px 24px rgba(20, 20, 20, 0.06), 0 1px 4px rgba(20, 20, 20, 0.03);
  z-index: 9999;
  opacity: 0;
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: none;
}

.cookie-banner--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.cookie-banner--hiding {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  pointer-events: none;
}

.cookie-banner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

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

.cookie-banner__text strong {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #141414;
  margin-bottom: 4px;
}

.cookie-banner__text p {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: #6B6B66;
}

.cookie-banner__text a {
  color: #A6A39A;
  text-decoration: underline;
  font-size: 13px;
  transition: color 200ms ease;
}

.cookie-banner__text a:hover {
  color: #6B6B66;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 18px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}

.cookie-banner__btn--secondary {
  background: transparent;
  color: #6B6B66;
  border: 1px solid #A6A39A;
}

.cookie-banner__btn--secondary:hover {
  background: #F1F0ED;
  border-color: #6B6B66;
  color: #141414;
}

.cookie-banner__btn--primary {
  background: #2F6F6A;
  color: #FAF9F7;
  border: 1px solid transparent;
}

.cookie-banner__btn--primary:hover {
  background: #1F5A56;
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid #2F6F6A;
  outline-offset: 2px;
}

/* Mobiel: stack layout */
@media (max-width: 600px) {
  .cookie-banner {
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 20px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
  }
}
