/* Einheitlicher, unaufdringlicher Projekt- und KI-Hinweis für Loquard.
   Gilt für Startseite, Programm, Kalenderübersicht und die Tagesgeschichten.
   Das <details>-Feld ist ohne JavaScript bedienbar. */
.loq-legal-footer {
  position: relative;
  z-index: 25;
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 16px;
  min-height: 36px;
  margin: 0;
  padding: 8px 15px 10px;
  border-top: 1px solid rgba(238, 199, 137, .22);
  background: rgba(6, 14, 24, .81);
  color: #e4d4bc;
  text-align: center;
  letter-spacing: 0;
  font: 400 12px/1.35 'Segoe UI', Arial, sans-serif;
}
.loq-legal-footer__greeting {color: #c9b99f;}
.loq-legal-footer .loq-project-note {position: static;}
.loq-legal-footer .loq-project-note > summary {
  display: inline-block;
  padding: 3px 4px;
  color: #ffdda6;
  font: 600 12px/1.3 'Segoe UI', Arial, sans-serif;
  text-decoration: underline;
  text-decoration-color: rgba(255,221,166,.55);
  text-underline-offset: 3px;
  cursor: pointer;
  list-style: none;
}
.loq-legal-footer .loq-project-note > summary::-webkit-details-marker {display: none;}
.loq-legal-footer .loq-project-note > summary::before {content: 'ⓘ'; padding-right: 7px;}
.loq-legal-footer .loq-project-note > summary:hover {color: #fff1d2;}
.loq-legal-footer .loq-project-note > summary:focus-visible {outline: 2px solid #ffdfa8; outline-offset: 4px; border-radius: 2px;}
.loq-legal-footer .loq-project-note__panel {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 100;
  transform: translateX(-50%);
  width: min(610px, calc(100vw - 26px));
  max-height: min(65vh, 390px);
  overflow: auto;
  padding: 20px 24px;
  border: 1px solid rgba(246, 213, 160, .55);
  border-radius: 16px;
  background: #101c2c;
  box-shadow: 0 10px 38px rgba(0,0,0,.65);
  color: #f4eddf;
  text-align: left;
  font: 400 15px/1.6 'Segoe UI', Arial, sans-serif;
  letter-spacing: normal;
  overscroll-behavior: contain;
}
.loq-legal-footer .loq-project-note__panel h2 {
  margin: 0 0 10px;
  color: #ffe1ad;
  font: 500 24px/1.2 Georgia, 'Times New Roman', serif;
}
.loq-legal-footer .loq-project-note__panel p {margin: 9px 0; color: #f0e5d3;}
.loq-legal-footer .loq-project-note__panel strong {color:#ffe1ad;}
@media (max-width: 600px) {
  .loq-legal-footer {font-size: 11px; gap: 2px 10px; padding: 8px 10px 12px;}
  .loq-legal-footer .loq-project-note > summary {font-size: 11px;}
  .loq-legal-footer .loq-project-note__panel {padding: 15px 17px; font-size: 14px;}
  .loq-legal-footer .loq-project-note__panel h2 {font-size: 21px;}
}
@media print {
  .loq-legal-footer {border-top: 1px solid #ccc; background: #fff; color:#333;}
  .loq-legal-footer .loq-project-note > summary {display:none;}
  .loq-legal-footer .loq-project-note__panel {
    position: static; transform:none; width:100%; max-height:none;
    overflow:visible; box-shadow:none; border:none; background:#fff;
    padding:5px 0; color:#333;
  }
  .loq-legal-footer .loq-project-note__panel h2,
  .loq-legal-footer .loq-project-note__panel p,
  .loq-legal-footer .loq-project-note__panel strong {color:#333;}
}
