.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(44, 85, 48, 0.8);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  border-top: 3px solid #c4a243;
}

.cookie-consent-banner.show {
  transform: translateY(0);
}

.cookie-consent-banner.hide {
  transform: translateY(100%);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-consent-text h4 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ecf0f1;
  max-width: 600px;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-btn {
  background: #c4a243;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cookie-btn:hover {
  background: #cd9c17;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

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

.cookie-link {
  color: #bdc3c7;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.cookie-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 16px;
  }
  
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .cookie-consent-text {
    order: 1;
  }
  
  .cookie-consent-actions {
    order: 2;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .cookie-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .cookie-consent-text p {
    max-width: none;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .cookie-consent-banner {
    padding: 12px;
  }
  
  .cookie-consent-text h4 {
    font-size: 1rem;
  }
  
  .cookie-consent-text p {
    font-size: 0.85rem;
  }
  
  .cookie-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Animation für bessere UX */
@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* Zusätzliche Styles für Dark Mode Unterstützung */
@media (prefers-color-scheme: dark) {
  .cookie-consent-banner {
    background: rgba(30, 30, 30, 0.98);
    border-top-color: #c4a243;
  }
}

/* Accessibility Verbesserungen */
.cookie-btn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.cookie-link:focus {
  outline: 1px solid #ffffff;
  outline-offset: 2px;
}

/* Sicherstellen, dass das Banner über allem anderen liegt */
.cookie-consent-banner {
  position: fixed !important;
  z-index: 999999 !important;
}
