/* Premium Cookie-Consent für watzlaw.ai
   — Centered Card unten rechts, Glasmorphism, Newsreader-Italic-Headline,
     Mint-Dot-Akzent passend zu den Section-Eyebrows */

.cookie-banner {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  left: auto;
  max-width: 440px;
  z-index: 10000;
  font-family: 'Work Sans', sans-serif;
  animation: cookieSlideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

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

.cookie-banner.closing {
  animation: cookieSlideOut 0.45s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes cookieSlideIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes cookieSlideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(24px);
  }
}

.cookie-card {
  background:
    linear-gradient(135deg, rgba(28, 28, 30, 0.94) 0%, rgba(20, 20, 22, 0.92) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  color: #efe9e9;
  padding: 1.9rem 1.85rem 1.7rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(222, 111, 66, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Subtiler Orange-Glow oben links als Premium-Akzent */
.cookie-card::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(222, 111, 66, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cookie-card-inner {
  position: relative;
  z-index: 1;
}

.cookie-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #de6f42;
  margin-bottom: 0.75rem;
}

.cookie-eyebrow::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: #a6a663;
  border-radius: 50%;
  margin-right: 0.7rem;
  box-shadow: 0 0 8px rgba(166, 166, 99, 0.4);
}

.cookie-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.22;
  margin: 0 0 0.95rem 0;
  color: #efe9e9;
  letter-spacing: -0.005em;
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.62;
  opacity: 0.78;
  margin: 0 0 1.5rem 0;
  font-weight: 400;
}

.cookie-text a {
  color: #de6f42;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.25s ease;
}

.cookie-text a:hover {
  color: #efe9e9;
}

.cookie-actions {
  display: flex;
  gap: 0.7rem;
}

.cookie-btn {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.78rem 1.4rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex: 1;
  letter-spacing: 0.2px;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #de6f42 0%, #c95d34 100%);
  color: #efe9e9;
  box-shadow:
    0 4px 14px rgba(222, 111, 66, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cookie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(222, 111, 66, 0.5),
    0 0 0 1px rgba(222, 111, 66, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cookie-btn-primary:active {
  transform: translateY(0);
}

.cookie-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #efe9e9;
  opacity: 0.82;
}

.cookie-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.32);
  opacity: 1;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: none;
  }
  .cookie-card {
    border-radius: 18px 18px 0 0;
    padding: 1.6rem 1.3rem 1.4rem;
  }
  .cookie-headline {
    font-size: 1.25rem;
  }
  .cookie-text {
    font-size: 0.84rem;
  }
  .cookie-actions {
    flex-direction: row;
  }
}
