/* =====================================================================
   Glichekom · Public-Site · Cookie-Info-Banner
   v20260524-cookies-1
   ---------------------------------------------------------------------
   Schlanker Info-Hinweis statt nerviger Consent-Dialog. Wir nutzen keine
   Tracking-Cookies — nur technisch notwendige. Banner verschwindet nach
   "Verstanden" und kommt fuer 365 Tage nicht wieder (localStorage).
   ===================================================================== */

.gk-cookies {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9000;
  width: min(720px, calc(100vw - 32px));
  padding: 18px 22px 16px;
  border-radius: 18px;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(255,122,0,0.12) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(18,21,28,0.96) 0%, rgba(12,14,20,0.98) 100%);
  border: 1px solid rgba(255,122,0,0.25);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.55),
    0 12px 30px rgba(255,122,0,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.025);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: #ecf2f8;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.55s cubic-bezier(.22,.61,.36,1),
    transform 0.55s cubic-bezier(.22,.61,.36,1);
}
.gk-cookies.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Soft Glow am oberen Rand — passt zum Rest der Site */
.gk-cookies::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,122,0,0.55) 50%,
    transparent 100%);
  pointer-events: none;
}

.gk-cookies__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.gk-cookies__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255,122,0,0.18), rgba(255,154,61,0.08));
  border: 1px solid rgba(255,122,0,0.30);
  color: #ff9a3d;
  flex-shrink: 0;
}
.gk-cookies__icon svg {
  width: 22px;
  height: 22px;
}

.gk-cookies__text {
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #d3dbe5;
}
.gk-cookies__text strong {
  color: #fff;
  font-weight: 700;
}
.gk-cookies__text a {
  color: #ff9a3d;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,154,61,0.30);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.gk-cookies__text a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.gk-cookies__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.gk-cookies__btn {
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #ff9a3d 0%, #ff7a00 100%);
  color: #1a0f04;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.25s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.25s ease,
    filter 0.25s ease;
  box-shadow: 0 8px 22px rgba(255,122,0,0.30);
  white-space: nowrap;
}
.gk-cookies__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(255,122,0,0.45);
}
.gk-cookies__btn:active {
  transform: translateY(0);
}
.gk-cookies__btn:focus-visible {
  outline: 2px solid rgba(255,154,61,0.6);
  outline-offset: 3px;
}

/* Mobile-Optimierung */
@media (max-width: 640px) {
  .gk-cookies {
    bottom: 12px;
    padding: 14px 16px 14px;
    border-radius: 16px;
    width: calc(100vw - 24px);
  }
  .gk-cookies__inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 10px 14px;
  }
  .gk-cookies__icon {
    width: 36px;
    height: 36px;
  }
  .gk-cookies__icon svg {
    width: 18px;
    height: 18px;
  }
  .gk-cookies__text {
    font-size: 0.86rem;
    line-height: 1.45;
  }
  .gk-cookies__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
  .gk-cookies__btn {
    padding: 10px 18px;
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gk-cookies {
    transition: opacity 0.2s ease;
    transform: translateX(-50%) translateY(0);
  }
}
