/* RT Architektur – Consent-Banner, Platzhalter für externe Medien, Rechtslinks */

.rt-cc {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  font-family: inherit;
}
.rt-cc[hidden] { display: none !important; }
.rt-cc__box {
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  padding: 24px;
  box-sizing: border-box;
}
.rt-cc__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
}
.rt-cc__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #222;
}
.rt-cc__text a { color: #111; text-decoration: underline; }
.rt-cc__prefs { margin: 0 0 16px; display: grid; gap: 8px; }
.rt-cc__prefs[hidden] { display: none; }
.rt-cc__opt {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  padding: 8px 0;
  border-top: 1px solid #e5e5e5;
  cursor: pointer;
}
.rt-cc__opt input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: #111; }
.rt-cc__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rt-cc__btn {
  flex: 1 1 160px;
  min-height: 44px;
  padding: 10px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #111;
  background: #111;
  color: #fff;
  cursor: pointer;
  border-radius: 0;
}
.rt-cc__btn--ghost { background: #fff; color: #111; }
.rt-cc__btn[hidden] { display: none; }
.rt-cc__btn:hover { background: #333; border-color: #333; color: #fff; }
.rt-cc__btn:focus-visible,
.rt-cc__opt input:focus-visible,
.rt-cc__text a:focus-visible,
.rt-embed__btn:focus-visible,
.rt-legal-links a:focus-visible {
  outline: 3px solid #0a58ca;
  outline-offset: 2px;
}

/* Platzhalter für Calendly / Personio */
.rt-embed {
  box-sizing: border-box;
  width: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  border: 1px solid #ddd;
  padding: 32px 24px;
  text-align: center;
}
.rt-embed--active { display: block; background: none; border: 0; padding: 0; min-height: 0; }
.rt-embed__inner { max-width: 560px; }
.rt-embed__title { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: #111; }
.rt-embed__text { font-size: 14px; line-height: 1.55; margin: 0 0 16px; color: #333; }
.rt-embed__text a { color: #111; text-decoration: underline; }
.rt-embed__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.rt-embed__btn {
  min-height: 44px;
  padding: 10px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #111;
  background: #111;
  color: #fff;
  cursor: pointer;
}
.rt-embed__btn--ghost { background: #fff; color: #111; }

/* Statische Karte statt OpenStreetMap/CARTO-Kacheln */
.rt-static-map { display: block; position: relative; }
.rt-static-map img { display: block; width: 100%; height: auto; }
.rt-static-map__credit { display: inline-block; margin-top: 4px; font-size: 11px; line-height: 1.4; color: #333; background: rgba(255, 255, 255, 0.9); padding: 2px 6px; }

/* Rechtslinks im Seitenfuß */
.rt-legal-links { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; }
.rt-legal-links a { color: inherit; text-decoration: none; text-transform: uppercase; }
.rt-legal-links a:hover { text-decoration: underline; }
.rt-legal-bar {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  background: #111;
  color: #fff;
}

@media (max-width: 600px) {
  .rt-cc { left: 8px; right: 8px; bottom: 8px; }
  .rt-cc__box { padding: 16px; }
  .rt-cc__btn { flex-basis: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .rt-cc__box { animation: rt-cc-in 0.2s ease-out; }
}
@keyframes rt-cc-in {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* Zwischenüberschriften in Impressum und Datenschutzerklärung */
.rt-legal-h { font-size: 1.25rem; line-height: 1.35; margin: 2rem 0 0.6rem; }

/* Rechtslinks im hellen Footer-Bereich: ausreichender Kontrast (WCAG AA) */
#page-footer .rt-legal-links a { color: #1a1a1a; font-size: 13px; letter-spacing: 0.04em; }
.rt-legal-bar .rt-legal-links a { color: #fff; }

/* Rechtstexte ohne Scroll-Animation: sofort vollständig sichtbar (Druck, Barrierefreiheit) */
.rt-legal-page .rt-reveal .rt-r,
.rt-reveal .rt-legal-page .rt-r,
.rt-legal-page .rt-r { opacity: 1 !important; transform: none !important; transition: none !important; }
