/* Gentics Cookie Consent — schlankes Banner im Brand-Stil */
.gc-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: 420px;
  background: #efefef;
  color: #404040;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 1.25rem 1.25rem 1rem;
  font-family: 'TWKEverett-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
  z-index: 2147483000;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gc-consent[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

.gc-consent__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #404040;
}

.gc-consent__text {
  margin: 0 0 1rem;
}

.gc-consent__text a {
  color: #404040;
  text-decoration: underline;
}

.gc-consent__buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gc-consent__btn {
  flex: 1 1 auto;
  min-width: 7rem;
  padding: 0.55rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.gc-consent__btn--accept {
  background: #8ec760;
  color: #ffffff;
}

.gc-consent__btn--accept:hover,
.gc-consent__btn--accept:focus-visible {
  background: #7ab752;
  outline: none;
}

.gc-consent__btn--decline {
  background: transparent;
  color: #404040;
  border-color: #404040;
}

.gc-consent__btn--decline:hover,
.gc-consent__btn--decline:focus-visible {
  background: #404040;
  color: #ffffff;
  outline: none;
}

@media (max-width: 480px) {
  .gc-consent {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}

@media (prefers-color-scheme: dark) {
  .gc-consent {
    background: #2a2a2a;
    color: #e6e6e6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  }
  .gc-consent__title { color: #ffffff; }
  .gc-consent__text a { color: #e6e6e6; }
  .gc-consent__btn--decline {
    color: #e6e6e6;
    border-color: #e6e6e6;
  }
  .gc-consent__btn--decline:hover,
  .gc-consent__btn--decline:focus-visible {
    background: #e6e6e6;
    color: #2a2a2a;
  }
}
