/* === Cookie Banner Grundlayout === */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 700px;
  width: 90%;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 16px 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #000;
  box-sizing: border-box;
}

/* Animation oben, volle Breite, weißer Hintergrund */
.cookie-banner-image {
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
}

.cookie-banner-image svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Inhalt unter der Animation */
.cookie-banner-content {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

/* Headline */
.cookie-banner-headline {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 700;
}

/* Text */
.cookie-banner-text {
  color: #000;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* Button-Row */
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

/* Basis für Buttons */
.cookie-btn {
  border: none;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  margin: 0rem auto;

}

/* Primary: Allow cookies – grün und prominent */
.cookie-accept {
  background: #2ecc71;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.cookie-accept:hover {
  background: #136b37;

}

/* Dezent: Continue without cookies */
.cookie-deny {
  background: transparent;
  color: #111111;
  padding-inline: 0;
  border-radius: 0;
  box-shadow: none;
}

.cookie-deny:hover {
  text-decoration: underline;
  /* keine Hintergrundfarbe  bei selection */ 
    background: white;
    color: black;
}

/* kleines Check-Icon im Allow-Button */
.cookie-btn-icon {
  font-size: 16px;
}

/* Linkszeile unten: Impressum / Privacy */
.cookie-banner-links {
  margin-top: 14px;
  font-size: 12px;
  color: #555;
}

.cookie-banner-links a {
  color: #555;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-links-separator {
  margin: 0 6px;
}

/* Toggle-Button (floating Cookie-Icon) */
#cookie-toggle {
  position: fixed;
  bottom: 20px;
  left: 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #000000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 9999;
  color: #fff;
  text-align: center;
  line-height: 44px;
}

/* Cookies verschwinden sanft, wenn Eduard sie frisst */
.cookie.eaten {
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

/* Kleine Optimierung für schmale Bildschirme */
@media (max-width: 480px) {
  .cookie-banner-headline {
    font-size: 18px;
  }

  .cookie-banner-text {
    font-size: 14px;
  }

  .cookie-banner-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* === Touch Controls für Cookie-Game === */
#cookie-touch-controls {
  display: flex;
  flex-direction: row;       /* 👉 nebeneinander */
  justify-content: center;   /* zentriert innerhalb des Banners */
  align-items: center;
  gap: 0.5rem;               /* Abstand zwischen Buttons */
  margin-top: 0.75rem;
  user-select: none;
}

.touch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.6rem;
  background: #fff;
  font-size: 1.25rem;
  line-height: 1;
  touch-action: none;
  margin: 0;
}
