/* Hinweisleiste zur Besucherstatistik – Gestaltung wie die uebrige Seite. */
#analytics-hinweis {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: #121418;
  border-top: 1px solid var(--line-2, #343940);
  transform: translateY(100%);
  transition: transform .25s ease;
}
#analytics-hinweis.sichtbar { transform: translateY(0); }

#analytics-hinweis .ah-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px var(--gutter, 24px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

#analytics-hinweis .ah-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2, #A9ADB3);
}
#analytics-hinweis .ah-text a { color: var(--text, #EDEBE6); text-underline-offset: 3px; }
#analytics-hinweis .ah-text p { margin: 0 0 6px; }
#analytics-hinweis .ah-text p:last-child { margin-bottom: 0; }
#analytics-hinweis { max-height: 75vh; overflow-y: auto; }
#analytics-status { font-size: 13px; }

#analytics-hinweis .ah-aktionen { display: flex; gap: 10px; flex-wrap: wrap; }

#analytics-hinweis .ah-btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font: inherit;
  font-size: 14.5px;
  cursor: pointer;
  border: 1px solid var(--line-2, #343940);
  background: transparent;
  color: var(--text-2, #A9ADB3);
}
#analytics-hinweis .ah-btn:hover { color: var(--text, #EDEBE6); border-color: var(--text-3, #8A8F96); }
#analytics-hinweis .ah-btn.ah-ja,
#analytics-hinweis .ah-btn.ah-nein {
  background: var(--text, #EDEBE6);
  border-color: var(--text, #EDEBE6);
  color: var(--bg, #0B0C0E);
  font-weight: 600;
}
#analytics-hinweis .ah-btn.ah-ja:hover,
#analytics-hinweis .ah-btn.ah-nein:hover {
  background: var(--accent, #62C6DE);
  border-color: var(--accent, #62C6DE);
  color: var(--bg, #0B0C0E);
}

.ah-bestaetigung { display: block; margin-top: 8px; font-size: 14px; color: var(--accent, #62C6DE); }

#analytics-widerruf {
  min-height: 44px;
  padding: 0 18px;
  margin-top: 6px;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid var(--line-2, #343940);
  background: transparent;
  color: var(--text, #EDEBE6);
}
#analytics-widerruf:disabled { opacity: .55; cursor: default; }

.ah-settings {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-2, #A9ADB3);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.ah-settings:hover { color: var(--text, #EDEBE6); }
.ah-settings[hidden] { display: none; }
.ah-rueckmeldung { flex-basis: 100%; color: var(--text-2, #A9ADB3); font-size: 13px; }
.ah-rueckmeldung:empty { display: none; }
.ah-settings:focus-visible, #analytics-hinweis .ah-btn:focus-visible {
  outline: 2px solid var(--accent, #62C6DE);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  #analytics-hinweis { transition: none; }
}
