/* Fusszeile (scripts/footer-rebuild.py).
   Drei Ebenen: Abschluss-CTA, Verweise, Rechtszeile. Bewusst dunkel wie der
   Rest der Seite, nur durch feine Linien getrennt -- ein zweiter Farbblock
   wuerde am Seitenende mit dem Kontaktabschnitt darueber konkurrieren. */
.sfx-foot {
  background: #1a1a1a;
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.4rem, 6vw, 6rem) clamp(1.6rem, 3vw, 2.4rem);
  font-family: "Space Grotesk", sans-serif;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.sfx-foot a { color: inherit; text-decoration: none; }

.sfx-foot-cta {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
  padding-bottom: clamp(2.4rem, 4vw, 3.4rem);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.sfx-foot-cta h2 {
  margin: 0 0 .9rem; font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 300;
  line-height: 1.08; letter-spacing: -.02em; color: #fff;
}
.sfx-foot-cta p {
  margin: 0 0 1.8rem; max-width: 34rem; font-size: 1rem; line-height: 1.65;
  color: rgba(255, 255, 255, .72);
}
.sfx-foot-cta-buttons { display: flex; flex-wrap: wrap; gap: .8rem; }
.sfx-foot-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: .6rem; font-size: .95rem; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, .28); color: #fff;
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease;
}
.sfx-foot-btn span { transition: transform 240ms ease; }
.sfx-foot-btn:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .5); }
.sfx-foot-btn:hover span { transform: translateX(.25rem); }
.sfx-foot-btn.is-primary { background: #FF8585; border-color: #FF8585; color: #1F1F1F; }
.sfx-foot-btn.is-primary:hover { background: #ffa0a0; border-color: #ffa0a0; color: #1F1F1F; }

.sfx-foot-direkt { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.sfx-foot-direkt li { display: grid; gap: .2rem; }
.sfx-foot-direkt span {
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.sfx-foot-direkt a {
  font-size: 1.05rem; line-height: 1.4; color: #fff;
  border-bottom: 1px solid transparent; justify-self: start;
  transition: border-color 220ms ease, color 220ms ease;
}
.sfx-foot-direkt a:hover { color: #FF8585; border-color: rgba(255, 133, 133, .6); }

.sfx-foot-nav {
  display: grid; grid-template-columns: minmax(0, 2.1fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3.5vw, 3rem);
  padding: clamp(2.2rem, 4vw, 3.2rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.sfx-foot-titel {
  margin: 0 0 1.1rem; font-size: .72rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: #FF8585;
}
.sfx-foot-spalte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.sfx-foot-spalte li a {
  font-size: .92rem; line-height: 1.45; color: rgba(255, 255, 255, .74);
  transition: color 200ms ease;
}
.sfx-foot-spalte li a:hover { color: #fff; }

.sfx-foot-insight a {
  display: flex; align-items: flex-start; gap: .7rem; font-size: .92rem;
}
.sfx-foot-insight-img {
  flex-shrink: 0; width: 4.6rem; aspect-ratio: 16 / 11; border-radius: .45rem;
  overflow: hidden; background: #14161c; margin-top: .1rem;
}
.sfx-foot-insight-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(85%) brightness(.85); transition: filter 220ms ease, transform 220ms ease;
}
.sfx-foot-insight a:hover .sfx-foot-insight-img img { filter: none; transform: scale(1.04); }
.sfx-foot-insight-title { line-height: 1.4; padding-top: .05rem; }
/* Mehrspaltiger Textfluss statt Raster: die vier Gruppen sind unterschiedlich
   lang, in einem Raster liesse die laengste Gruppe unter der kuerzesten eine
   grosse Luecke stehen. */
.sfx-foot-gruppen { columns: 2; column-gap: 1.8rem; }
.sfx-foot-gruppe { break-inside: avoid; margin-bottom: 1.4rem; }
.sfx-foot-gruppe p {
  margin: 0 0 .55rem; font-size: .78rem; font-weight: 500;
  color: rgba(255, 255, 255, .5);
}
.sfx-foot-mehr { color: #fff !important; font-weight: 500; }
.sfx-foot-mehr span { display: inline-block; transition: transform 220ms ease; }
.sfx-foot-mehr:hover span { transform: translateX(.25rem); }

.sfx-foot-profile { display: flex; gap: .6rem; margin-bottom: 1.2rem; }
.sfx-foot-profile a {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .8);
  transition: border-color 220ms ease, color 220ms ease, background-color 220ms ease;
}
.sfx-foot-profile a:hover { color: #1F1F1F; background: #fff; border-color: #fff; }
.sfx-foot-profile svg { width: 1.05rem; height: 1.05rem; }
.sfx-foot-claim {
  margin: 0; font-size: .84rem; line-height: 1.6; color: rgba(255, 255, 255, .5);
}

.sfx-foot-unten {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .8rem 1.6rem; padding-top: 1.4rem;
  font-size: .82rem; color: rgba(255, 255, 255, .5);
}
.sfx-foot-unten p { margin: 0; }
.sfx-foot-unten ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0; padding: 0; }
.sfx-foot-unten a { transition: color 200ms ease; }
.sfx-foot-unten a:hover { color: #fff; }

@media (max-width: 1000px) {
  .sfx-foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sfx-foot-spalte.is-solutions { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .sfx-foot-cta { grid-template-columns: 1fr; }
  .sfx-foot-nav { grid-template-columns: 1fr; gap: 2rem; }
  .sfx-foot-gruppen { columns: 2; column-gap: 1.2rem; }
  .sfx-foot-unten { flex-direction: column; align-items: flex-start; }
}
