/* 20-cookie-banner.css — Cookie-Banner (DSGVO)
   Teil von css/living-canvas (aufgeteilt). Ladereihenfolge = Dateiname.
   Siehe docs/components/ fuer die Zuordnung Sektion -> Datei. */
/* ==========================================================================
   COOKIE BANNER (DSGVO)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 400px;
  background: rgba(247, 251, 248, 0.85);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(185, 216, 214, 0.6);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(16, 43, 60, 0.12);
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.6s var(--ease-spring);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner-inner {
  padding: 24px;
}
.cookie-content h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
}
.cookie-content p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.6;
  margin: 0 0 20px;
}
.cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-actions .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 13px;
}

[data-theme='dark'] .cookie-banner {
  background: rgba(21, 37, 48, 0.85);
  border-color: rgba(30, 48, 64, 0.6);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
[data-theme='dark'] .cookie-content h4 {
  color: #fff;
}

/* Mobil als Bottom-Sheet ueber die volle Breite statt fixer 400px-Karte */
@media (max-width: 600px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    border-radius: 24px;
  }
  .cookie-banner-inner {
    padding: 20px;
  }
  .cookie-content p {
    margin-bottom: 16px;
  }
  .cookie-actions .btn {
    min-height: 44px;
  }
}
