/* BrainShock Cookie Consent
   Datei: assets/css/cookie-consent.css
*/

.cookie-consent {
  position: fixed;
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 9999;
  display: none;
  max-width: 920px;
  margin-inline: auto;
  border: 1px solid rgba(255, 122, 0, .52);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 122, 0, .22), transparent 42%),
    linear-gradient(180deg, rgba(16, 16, 16, .98), rgba(0, 0, 0, .97));
  box-shadow:
    0 0 34px rgba(255, 122, 0, .20),
    0 22px 60px rgba(0, 0, 0, .72);
  color: #f4f4f4;
  overflow: hidden;
}

.cookie-consent.is-visible {
  display: block;
}

.cookie-consent__inner {
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.cookie-consent__eyebrow {
  margin: 0 0 8px;
  color: #ff7a00;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 900;
}

.cookie-consent h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cookie-consent p {
  margin: 0;
  color: #d6d6d6;
  line-height: 1.55;
  font-size: .95rem;
}

.cookie-consent a {
  color: #ff9a1f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: grid;
  gap: 10px;
  min-width: 190px;
}

.cookie-btn {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 122, 0, .58);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  background: rgba(0, 0, 0, .46);
  color: #f4f4f4;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.cookie-btn:hover,
.cookie-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(255, 122, 0, .32);
}

.cookie-btn--accept {
  background: linear-gradient(180deg, rgba(255, 122, 0, .95), rgba(150, 55, 0, .95));
  color: #111;
}

.cookie-btn--decline {
  border-color: rgba(245, 245, 245, .35);
}

.cookie-settings-btn {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 9998;
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 122, 0, .45);
  border-radius: 999px;
  background: rgba(0, 0, 0, .75);
  color: #ff7a00;
  box-shadow: 0 0 18px rgba(255, 122, 0, .20);
  cursor: pointer;
}

.cookie-settings-btn.is-visible {
  display: grid;
  place-items: center;
}

@media (max-width: 760px) {
  .cookie-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 18px;
  }

  .cookie-consent__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .cookie-consent__actions {
    min-width: 0;
  }

  .cookie-btn {
    width: 100%;
  }
}
