/* Thomas Krause — Cookie-Consent Banner (2026-07-12)
   Unten links, Navy-Design passend zum Theme. */

.tk-consent {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 99999;
  width: 360px;
  max-width: calc(100vw - 40px);
  background: #14233b;              /* Navy wie Theme */
  color: #f4f5f7;
  padding: 20px 22px;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(10, 20, 40, .35);
  font-family: inherit;
}
.tk-consent[hidden] { display: none; }

.tk-consent-text {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #dfe4ec;
}
.tk-consent-more {
  color: #e0a300;                  /* Orange-Akzent wie Theme */
  text-decoration: underline;
  white-space: nowrap;
}
.tk-consent-more:hover { color: #f0b71f; }

.tk-consent-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.tk-consent-btn {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 10px 18px;
  border-radius: 7px;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .12s ease, color .2s ease;
}
.tk-consent-btn:active { transform: translateY(1px); }

.tk-consent-reject {
  background: transparent;
  color: #cdd5e0;
  border: 1px solid rgba(255,255,255,.28);
}
.tk-consent-reject:hover { background: rgba(255,255,255,.08); color: #fff; }

.tk-consent-accept {
  background: #e0a300;             /* Orange CTA */
  color: #14233b;
}
.tk-consent-accept:hover { background: #f0b71f; }

/* Widerruf-Button (kleines Zahnrad) unten links, wenn Wahl getroffen */
.tk-consent-revoke {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 99998;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #14233b;
  color: #f4f5f7;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(10, 20, 40, .3);
  opacity: .7;
  transition: opacity .2s ease, transform .2s ease;
}
.tk-consent-revoke[hidden] { display: none; }
.tk-consent-revoke:hover { opacity: 1; transform: scale(1.06); }

@media (max-width: 640px) {
  .tk-consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px 18px; }
  .tk-consent-revoke { left: 12px; bottom: 12px; }
}

/* OSM-Karten-Platzhalter (ohne Consent) */
.tk-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: #eef1f5;
  color: #14233b;
  text-align: center;
  padding: 24px;
  box-sizing: border-box;
}
.tk-map-placeholder p { margin: 0; font-size: 14px; line-height: 1.5; max-width: 420px; color: #445; }
.tk-map-placeholder button {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 22px;
  border: 0;
  border-radius: 7px;
  background: #e0a300;
  color: #14233b;
  cursor: pointer;
  transition: background .2s ease;
}
.tk-map-placeholder button:hover { background: #f0b71f; }
