/* Cookie-Einwilligung */
.wfo-cookie {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 99990;
  padding: 0.75rem 1rem 1rem;
  pointer-events: none;
}

.wfo-cookie:not([hidden]) {
  pointer-events: auto;
}

.wfo-cookie[hidden] {
  display: none !important;
}

.wfo-cookie__panel {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.1rem 1.25rem 1.2rem;
  background: var(--wfo-white);
  border: 1px solid var(--wfo-gray-100);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(13, 61, 107, 0.18);
}

.wfo-cookie__kicker {
  margin: 0 0 0.2rem;
  font-family: var(--wfo-font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wfo-gray-600);
}

.wfo-cookie__title {
  margin: 0 0 0.5rem;
  font-family: var(--wfo-font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--wfo-blue-dark);
  line-height: 1.25;
}

.wfo-cookie__text {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--wfo-gray-800);
}

.wfo-cookie__text a {
  color: var(--wfo-blue);
  font-weight: 600;
}

.wfo-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wfo-cookie__btn {
  flex: 1 1 auto;
  min-width: 9rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-family: var(--wfo-font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.wfo-cookie__btn--primary {
  color: var(--wfo-white);
  background: linear-gradient(135deg, var(--wfo-blue) 0%, var(--wfo-blue-dark) 100%);
  border-color: transparent;
}

.wfo-cookie__btn--primary:hover {
  filter: brightness(1.05);
}

.wfo-cookie__btn--secondary {
  color: var(--wfo-blue-dark);
  background: var(--wfo-white);
  border-color: var(--wfo-gray-100);
}

.wfo-cookie__btn--secondary:hover {
  background: var(--wfo-gray-50);
}

.wfo-footer__cookie-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.wfo-footer__cookie-link:hover {
  color: var(--wfo-blue);
}

@media (max-width: 520px) {
  .wfo-cookie__actions {
    flex-direction: column;
  }

  .wfo-cookie__btn {
    width: 100%;
    min-width: 0;
  }
}
