/* zeugnis-pruefen — Aktenrand, Stempel, φ-Papier */
.th-consent {
  position: fixed;
  z-index: 99999;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.15rem 1.25rem calc(1.2rem + env(safe-area-inset-bottom)) 1.55rem;
  background: #efe6db;
  color: #1a1410;
  border-top: 1px dashed #5c534c;
  border-left: 8px solid #1a1410;
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.5;
}
.th-consent[hidden] { display: none !important; }
.th-consent-inner {
  max-width: 42rem;
  display: grid;
  gap: 0.75rem;
}
.th-consent-inner::before {
  content: "Vermerk · Datei";
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5c534c;
}
.th-consent p { margin: 0; color: #5c534c; }
.th-consent a { color: #1a1410; }
.th-consent-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.th-consent button {
  appearance: none;
  border: 1px dashed #1a1410;
  border-radius: 0;
  padding: 0.55rem 0.9rem;
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.th-consent-accept { background: #1a1410; color: #f7f1ea; border-style: solid; }
.th-consent-reject { background: transparent; color: #1a1410; }
.th-consent-settings { background: #f7f1ea; color: #1a1410; border-style: solid; }
.th-consent-panel { display: grid; gap: 0.4rem; }
.th-consent-panel label {
  display: flex;
  gap: 0.5rem;
  color: #1a1410;
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
}
.th-consent-panel input { margin-top: 0.2rem; accent-color: #1a1410; }
.th-consent-essential { opacity: 0.7; font-size: 0.8rem; }
