@font-face {
  font-family: 'Bitcount';
  src: url('/assets/fonts/BitcountGridSingle-VariableFont_CRSV,ELSH,ELXP,slnt,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --orange: #ea7216;
  --dark: #0e1621;
  --light: #ddd;
  --overlay: rgba(14, 22, 33, 0.75);
}

/* === Grundlayout === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: var(--overlay);
  color: var(--light);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.6);
  border-top: 2px solid var(--orange);
  animation: fadeIn 0.6s ease;
  font-family: 'Bitcount', system-ui, sans-serif;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}

.cookie-content h2 {
  font-size: 1.8rem;
  color: var(--orange);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 15px rgba(234, 114, 22, 0.7);
}

.cookie-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #eaeaea;
  margin-bottom: 1rem;
}

.cookie-content a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}
.cookie-content a:hover {
  text-decoration: underline;
}

/* === Checkboxen === */
.cookie-content label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  margin: 0.3rem 0;
  cursor: pointer;
  color: #ccc;
}

.cookie-content input[type="checkbox"] {
  accent-color: var(--orange);
  width: 18px;
  height: 18px;
}

/* === Buttons === */
.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.cookie-buttons button {
  background: var(--orange);
  border: none;
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: 0.25s ease;
  box-shadow: 0 0 15px rgba(234, 114, 22, 0.4);
}

.cookie-buttons button:hover {
  background: #ff8b3a;
  box-shadow: 0 0 25px rgba(234, 114, 22, 0.7);
  transform: translateY(-2px);
}

/* === Floating Button === */
.cookie-settings-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--orange);
  color: white;
  border: none;
  padding: 0.65rem 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Bitcount', sans-serif;
  font-weight: 700;
  z-index: 1001;
  box-shadow: 0 0 20px rgba(234,114,22,0.4);
  transition: all 0.25s ease;
}

.cookie-settings-btn:hover {
  background: #ff8b3a;
  box-shadow: 0 0 25px rgba(234,114,22,0.7);
  transform: translateY(-2px);
}

/* === Animation === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Mobile Anpassung === */
@media (max-width: 600px) {
  .cookie-content {
    padding: 1.5rem 1rem;
  }
  .cookie-content h2 {
    font-size: 1.4rem;
  }
  .cookie-content p {
    font-size: 0.9rem;
  }
}
