/* EASYFITNESS — Consent-Banner/-Einstellungen (siehe consent.js).
   Portiert aus dem GymEdge-Projekt, Design-Tokens auf das EASYFITNESS CI umgestellt. */
.gc-root {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}
.gc-root * { box-sizing: border-box; }

/* 'hidden'-Attribut muss die display-Regeln oben zuverlässig überschreiben,
   sonst bleibt der Banner nach Klick auf die Buttons sichtbar. */
.gc-root[hidden],
.gc-cats[hidden],
.gc-btn[hidden] { display: none !important; }

.gc-panel {
  width: 100%;
  max-width: 880px;
  background-color: var(--ef-anthracite, #272726);
  color: var(--ef-white, #fff);
  border: 1px solid var(--ef-green, #AFCA0B);
  border-top: 5px solid var(--ef-green, #AFCA0B);
  border-radius: 6px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  font-family: var(--font-body);
  font-weight: 300;
  outline: none;
}

.gc-title {
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}
.gc-desc {
  font-size: 0.9rem;
  line-height: 1.55em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.1rem;
}
.gc-desc a { color: var(--ef-green, #AFCA0B); text-decoration: underline; }

.gc-cats {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0 0 1.1rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.gc-cat { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.gc-cat input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0.15rem 0 0;
  accent-color: var(--ef-green, #AFCA0B);
  cursor: pointer;
}
.gc-cat input:disabled { cursor: default; opacity: 0.7; }
.gc-cat-text { display: flex; flex-direction: column; gap: 0.15rem; }
.gc-cat-label {
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.gc-cat-desc { font-size: 0.8rem; line-height: 1.45em; color: rgba(255, 255, 255, 0.8); }

.gc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.gc-btn {
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0.65em 1.35em;
  cursor: pointer;
  transition: filter 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.gc-btn-primary { background-color: var(--ef-green, #AFCA0B); color: var(--ef-anthracite, #272726); }
.gc-btn-primary:hover { filter: brightness(0.92); }
.gc-btn-secondary { background-color: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.gc-btn-secondary:hover { border-color: #fff; }
.gc-btn-lead { margin-right: auto; }

@media (max-width: 599px) {
  .gc-root { padding: 0.5rem; }
  .gc-panel { padding: 1.1rem; }
  .gc-btn { flex: 1 1 auto; text-align: center; }
  .gc-btn-lead { flex: 0 0 100%; margin: 0 0 0.35rem; }
}
