/* TG-Photography — Consent-Banner (Google Analytics 4)
   Weltunabhängig: dunkle Leiste unten, passt in alle drei Vorschläge. */

.tc-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 22px 14px 22px;
  background: #171410;
  color: #f3eee3;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  line-height: 1.45;
  border-top: 1px solid #000;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.tc-bar.tc-in { opacity: 1; transform: none; }
.tc-bar p { margin: 0; max-width: 68ch; }
.tc-bar .tc-more { color: #ffd9a0; text-underline-offset: 3px; }
.tc-actions { display: flex; gap: 10px; align-items: center; flex: 0 0 auto; }
.tc-btn {
  appearance: none;
  border: 1px solid rgba(243, 238, 227, 0.45);
  background: transparent;
  color: #f3eee3;
  font: inherit;
  font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
}
.tc-btn:hover { border-color: #f3eee3; }
.tc-btn.tc-allow { background: #f3eee3; color: #171410; border-color: #f3eee3; }
.tc-btn.tc-allow:hover { background: #fff; }
.tc-btn:focus-visible,
.tc-bar .tc-more:focus-visible,
.tc-pill:focus-visible {
  outline: 2px solid #ffd9a0;
  outline-offset: 2px;
}

/* Kleine persistente Einstellungen-Pille nach einer Entscheidung */
.tc-pill {
  position: fixed;
  left: 16px;
  bottom: 12px;
  z-index: 200;
  appearance: none;
  border: 1px solid rgba(23, 20, 16, 0.35);
  background: rgba(23, 20, 16, 0.82);
  color: #f3eee3;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.tc-pill:hover { border-color: rgba(243, 238, 227, 0.6); }

@media (max-width: 640px) {
  .tc-bar { padding: 12px 16px; }
  .tc-actions { width: 100%; justify-content: flex-end; }
  .tc-pill { left: 12px; bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .tc-bar { transition: none; }
}
