/* ============================================================
   chester · footer.css: Footer-Redesign (2026-Update)
   Dunkler Brand-Footer: Hero-Ink, Gradient-Hairline, Wordmark.
   Bewusste Abweichung vom 1:1-Design-Export, siehe AGENTS.md.
   Ersetzt die alten footer-grid/footer-col/footer-bottom-Regeln
   aus site.css (die bleiben dort unangetastet, werden aber von
   keiner Komponente mehr benutzt).
   ============================================================ */

.ft {
  position: relative;
  overflow: hidden;
  background: var(--hero-ink);
  color: #fff;
  margin-top: 0;
}

/* Signatur: Brand-Gradient als Hairline an der Oberkante */
.ft::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-cyan) 0%, var(--brand-violet) 48%, var(--brand-pink) 100%);
}

/* Sanfter violetter Glow, damit die Fläche nicht tot wirkt */
.ft-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 12% 0%, hsl(var(--h-gradient-purple) / 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 92% 8%, hsl(var(--h-gradient-cyan) / 0.07) 0%, transparent 60%);
}

.ft-inner { position: relative; z-index: 1; padding-top: 80px; }

/* ---------- Oberer Bereich: Brand + Linkspalten ---------- */
.ft-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
}

.ft-logo { height: 30px; width: auto; display: block; margin-bottom: 20px; }

.ft-tagline {
  font-size: 15px;
  line-height: 1.6;
  color: #C9C4D9;
  max-width: 300px;
  margin: 0 0 28px;
}

.ft-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ft-cta { padding: 10px 20px; font-size: 13.5px; }

.ft-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #C9C4D9;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.ft-mail:hover { color: #fff; }

.ft-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-300);
  margin: 6px 0 18px;
}

.ft-col a {
  display: block;
  width: fit-content;
  color: #B8B3C9;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 11px;
  text-decoration: none;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.ft-col a:hover { color: #fff; transform: translateX(2px); }

/* "Alle …"-Link am Spaltenende: führt zur jeweiligen Übersichtsseite */
.ft-col a.ft-col-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--violet-300);
}
.ft-col a.ft-col-all:hover { color: #fff; transform: none; gap: 8px; }
.ft-col-all { transition: color .2s var(--ease), gap .2s var(--ease); }

.ft a:focus-visible,
.ft .btn:focus-visible {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Untere Leiste ---------- */
.ft-bottom {
  margin-top: 64px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ft-copy { font-size: 13px; color: #A59FBA; }

.ft-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.ft-legal a {
  font-size: 13px;
  color: #A59FBA;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.ft-legal a:hover { color: #fff; }

.ft-badges { display: flex; flex-wrap: wrap; gap: 10px; }

.ft-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 600;
  color: #D6D2E4;
  white-space: nowrap;
}

.ft-dot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.ft-dot-cyan   { background: var(--brand-cyan); }
.ft-dot-violet { background: var(--primary-light); }
.ft-dot-pink   { background: var(--brand-pink); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .ft-top { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .ft-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .ft-inner { padding-top: 56px; }
  .ft-top { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; margin-top: 48px; }
}

/* ---------- Social ---------- */
.ft-reach { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Der Link auf die LinkedIn-Unternehmensseite, in der Aktionszeile neben
   Mailadresse und CTA. Runder Rahmen statt Textlink, damit die Zeile nicht
   dritten Fließtext bekommt. */
.ft-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #D6D2E4;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.ft-social:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.09);
}
