/* Einheitliche Fusszeile (footer.tpf) fuer alle oeffentlichen Seiten.
   Eigenstaendig: nutzt die Farben der Seite (--bg, --bg2, --ink, --ink2, --ink3, --line, --accent), faellt sonst auf eigene Werte zurueck.
   Erzeugt von tools/fuss.mjs. Die aktuelle Seite ist mit aria-current="page" markiert. */
footer.tpf{
  position:relative;margin:72px 0 0;padding:52px 0 34px;clear:both;
  border-top:1px solid var(--line,#dce5df);
  background:var(--bg2,#f1f5f2);
  color:var(--ink2,#4a5d56);font:14px/1.55 var(--font-sans,"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif);
  text-align:left;
}
footer.tpf::before{display:none}
footer.tpf .tpf-wrap{max-width:1060px;margin:0 auto;padding:0 22px}
footer.tpf .tpf-cols{
  display:grid;grid-template-columns:1.4fr repeat(3,minmax(0,1fr));gap:36px;
  padding-bottom:30px;margin-bottom:22px;border-bottom:1px solid var(--line,#dce5df);
}
footer.tpf .tpf-logo{display:inline-flex;align-items:center;gap:10px;color:var(--ink,#1a2824);font-weight:760;font-size:18px;text-decoration:none;letter-spacing:-.01em}
footer.tpf .tpf-logo svg{width:28px;height:28px;flex:none}
footer.tpf .tpf-brand p{margin:12px 0 0;max-width:34ch;font-size:14.5px;line-height:1.6;color:var(--ink2,#4a5d56)}
footer.tpf h3,footer.tpf h4{margin:0 0 13px;font-size:12px;font-weight:720;letter-spacing:.09em;text-transform:uppercase;color:#52645d}
footer.tpf ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
footer.tpf .tpf-col a{
  display:inline-block;padding:6px 0;font-size:14.5px;color:var(--ink2,#4a5d56);text-decoration:none;
  transition:color .15s ease,transform .15s ease;
}
footer.tpf a:hover{color:var(--accent,#3b7261)}
footer.tpf .tpf-col a:hover{transform:translateX(2px)}
footer.tpf a:focus-visible{outline:2px solid var(--accent,#3b7261);outline-offset:3px;border-radius:4px}

/* Markierung: auf welcher Seite man gerade ist */
footer.tpf a[aria-current="page"]{
  color:var(--accent,#3b7261);font-weight:700;position:relative;
}
footer.tpf .tpf-col a[aria-current="page"]{
  padding-left:15px;
}
footer.tpf .tpf-col a[aria-current="page"]::before{
  content:"";position:absolute;left:0;top:50%;width:8px;height:8px;margin-top:-4px;border-radius:50%;
  background:var(--accent,#3b7261);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent,#3b7261) 18%,transparent);
}
footer.tpf .tpf-bar a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}

footer.tpf .tpf-bar{display:flex;justify-content:space-between;align-items:center;gap:14px 22px;flex-wrap:wrap;font-size:13.5px;color:#52645d}
footer.tpf .tpf-bar nav{display:flex;gap:6px 20px;flex-wrap:wrap}
footer.tpf .tpf-bar a{color:var(--ink2,#4a5d56);text-decoration:none}
footer.tpf .tpf-bar a:hover{text-decoration:underline}

.tpf-langs{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;margin:0 0 16px;font-size:13.5px}
footer.tpf .tpf-langs span{font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#52645d}
footer.tpf .tpf-langs a{color:var(--ink2,#4a5d56);text-decoration:none;padding:2px 0}
footer.tpf .tpf-langs a:hover{text-decoration:underline}
footer.tpf .tpf-langs a[aria-current]{color:var(--accent,#3b7261);font-weight:700;text-decoration:underline;text-underline-offset:5px}

@media (max-width:860px){footer.tpf .tpf-cols{grid-template-columns:1fr 1fr;gap:28px}footer.tpf .tpf-brand{grid-column:1/-1}}
@media (max-width:640px){
  footer.tpf{padding:28px 0 20px}
  footer.tpf .tpf-wrap{padding:0 12px}
  footer.tpf .tpf-cols{grid-template-columns:1fr 1fr;gap:18px 14px}
  footer.tpf .tpf-brand p{font-size:13px;margin-top:8px}
  footer.tpf h3,footer.tpf h4{margin-bottom:8px;font-size:11px}
  footer.tpf .tpf-col a{font-size:13px}
  footer.tpf .tpf-bar{gap:10px 14px;font-size:12.5px}
}
@media print{footer.tpf{display:none}}
