/* Back to Top – aus dem ehemaligen Code-Snippet #7 */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
  text-decoration: none;
  clip-path: var(--clip-path-cut);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg { width: 24px; height: 24px; }

/* SFS BACK TO TOP MOBILE CLEAN START */
@media (max-width: 768px) {
  .back-to-top {
    right: 14px !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 999 !important;
  }
}
/* SFS BACK TO TOP MOBILE CLEAN END */

/* SFS P0 HYGIENE 2026-11-11 */

/* Archive: kein unbeschriftetes "Modified + Published" direkt hintereinander. */
body.blog .entry-meta .posted-on .updated,
body.archive .entry-meta .posted-on .updated {
  display: none !important;
}

body.blog .entry-meta .posted-on .entry-date.published::before,
body.archive .entry-meta .posted-on .entry-date.published::before {
  content: "Veröffentlicht am ";
}

/* /SFS P0 HYGIENE 2026-11-11 */

/* SFS FOOTER V2 START */
.sfs-footer {
  margin-top: clamp(80px, 10vw, 120px);
  background: #17191a;
  color: #f5f6f2;
}

.sfs-footer__inner {
  width: min(calc(100% - 48px), 1200px);
  margin-inline: auto;
  padding: clamp(64px, 8vw, 92px) 0 28px;
}

.sfs-footer__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: clamp(42px, 5vw, 64px);
}

.sfs-footer__brandmark {
  display: inline-flex;
  align-items: baseline;
  gap: .18em;
  color: #f5f6f2;
  font-family: var(--font-sans);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.045em;
}

.sfs-footer__brandmark span {
  color: #e62183;
}

.sfs-footer__meta {
  margin: 18px 0 0;
  color: #aeb4b1;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sfs-footer__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 22px;
  background: var(--accent);
  color: #17191a !important;
  font-family: var(--font-mono);
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none !important;
  clip-path: var(--clip-path-cut);
  transition: transform .2s ease, box-shadow .2s ease;
}

.sfs-footer__cta:hover,
.sfs-footer__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(154,194,35,.18);
}

.sfs-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: clamp(40px, 7vw, 90px);
  padding: clamp(42px, 5vw, 58px) 0;
  border-top: 1px solid rgba(255,255,255,.13);
}

.sfs-footer__heading {
  margin: 0 0 18px;
  color: #f5f6f2;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.sfs-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.sfs-footer__links a {
  color: #b9bfbc;
  font-size: .98rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color .18s ease;
}

.sfs-footer__links a:hover,
.sfs-footer__links a:focus-visible {
  color: #fff;
}

.sfs-footer__contact a:first-child {
  color: #f5f6f2;
}

.sfs-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.13);
  color: #8f9693;
  font-size: .78rem;
  line-height: 1.5;
}

.sfs-footer__copy {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sfs-footer__status {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--accent);
}

.sfs-footer__legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.sfs-footer__legal a {
  color: #aeb4b1;
  text-decoration: none;
}

.sfs-footer__legal a:hover,
.sfs-footer__legal a:focus-visible {
  color: #fff;
}

body.page-id-139 .sfs-footer,
body.page-id-141 .sfs-footer {
  margin-top: 0;
}

@media (max-width: 759px) {
  .sfs-footer {
    margin-top: 64px;
  }

  .sfs-footer__inner {
    width: min(calc(100% - 40px), 1200px);
    padding: 46px 0 max(76px, calc(58px + env(safe-area-inset-bottom, 0px)));
  }

  .sfs-footer__top {
    display: block;
    padding-bottom: 36px;
  }

  .sfs-footer__brandmark {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .sfs-footer__meta {
    margin-top: 14px;
    font-size: .7rem;
  }

  .sfs-footer__cta {
    width: 100%;
    margin-top: 26px;
  }

  .sfs-footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,.13);
  }

  .sfs-footer__group {
    padding: 26px 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
  }

  .sfs-footer__heading {
    margin-bottom: 14px;
  }

  .sfs-footer__links {
    gap: 9px;
  }

  .sfs-footer__links a {
    font-size: .96rem;
  }

  .sfs-footer__bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 24px;
    border-top: 0;
    text-align: center;
  }

  .sfs-footer__copy {
    justify-content: center;
  }

  .sfs-footer__legal {
    justify-content: center;
    gap: 8px 18px;
  }
}
/* SFS FOOTER V2 END */
