/* Footer: Spalten (Unternehmen und Kontakt, Seiten, Rechtliches, PageSpeed) und PageSpeed-Ringe.
   Geladen vom Shortcode [wpd_pagespeed] im Footer (inc/pagespeed.php), also auf jeder Seite.
   Farben der Ringe wie bei Google PageSpeed Insights. */
.wpd-psi { --psi-gut: #0CCE6B; --psi-mittel: #FFA400; --psi-schwach: #FF4E42; }
.wpd-psi__ringe { display: flex; flex-wrap: wrap; gap: 18px 12px; margin: 0; padding: 0; list-style: none; }
.wpd-psi__ring { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 64px; margin: 0; padding: 0; text-align: center; }
.wpd-psi__ring::before { content: none !important; }
.wpd-psi__kreis { position: relative; display: block; width: 52px; height: 52px; }
.wpd-psi__kreis svg { display: block; width: 52px; height: 52px; }
.wpd-psi__spur, .wpd-psi__wert { fill: none; stroke-width: 4; }
.wpd-psi__spur { stroke: rgba(255, 255, 255, .12); }
.wpd-psi__wert { stroke-linecap: round; }
.wpd-psi--gut .wpd-psi__wert { stroke: var(--psi-gut); }
.wpd-psi--mittel .wpd-psi__wert { stroke: var(--psi-mittel); }
.wpd-psi--schwach .wpd-psi__wert { stroke: var(--psi-schwach); }
.wpd-psi__zahl { position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; font-weight: 600; line-height: 1; color: #fff; }
.wpd-psi__name { font-size: 12px; line-height: 1.25; white-space: nowrap; color: rgba(255, 255, 255, .7); }
.wpd-psi__hinweis { margin: 14px 0 0 !important; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .7); }
.wpd-psi__hinweis a { color: inherit; }

/* Footer-Spalten: Tablet 2 x 2, Handy Kontakt und PageSpeed voll, Seiten und Rechtliches nebeneinander */
@media (max-width: 1023px) {
  .wp-block-columns.wpd-footer-spalten { flex-wrap: wrap !important; }
  .wp-block-columns.wpd-footer-spalten > .wp-block-column { flex-basis: calc(50% - 24px) !important; flex-grow: 0 !important; }
}
@media (max-width: 599px) {
  .wp-block-columns.wpd-footer-spalten > .wp-block-column:nth-child(1), .wp-block-columns.wpd-footer-spalten > .wp-block-column:nth-child(4) { flex-basis: 100% !important; }
}
.wpd-footer-links { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.wpd-footer-links li { margin: 0; padding: 0; }
.wpd-footer-links li::before { content: none !important; }
.wpd-footer-links a { color: inherit; text-decoration: none; }
.wpd-footer-links a:hover, .wpd-footer-links a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
