/* =========================================
   SASP Footer
   Datei: css/footer.css
   ========================================= */

:root{
  --footer-max: 1520px;
  --footer-gutter: 22px;

  --footer-surface: #ffffff;
  --footer-surface-2: #f6f8fb;
  --footer-text: #0f172a;
  --footer-muted: #475569;
  --footer-border: #d6dbe3;

  --footer-navy: #0b2b55;
  --footer-link: #0b5cab;
  --footer-focus: #f59e0b;

  --footer-radius: 16px;
  --footer-shadow: 0 12px 28px rgba(2, 6, 23, 0.10);
}

.sasp-footer, .sasp-footer *{ box-sizing: border-box; }

.sasp-footer{
  background: var(--footer-surface);
  border-top: 1px solid var(--footer-border);
  color: var(--footer-text);
}

.footer-wrap{
  max-width: var(--footer-max);
  margin: 0 auto;
  padding: 22px var(--footer-gutter) 18px;
}

/* GRID: Brand + 3 Spalten nebeneinander */
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--footer-border);
}

/* Brand */
.footer-brand{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--footer-border);
  border-radius: var(--footer-radius);
  background: #fff;
  box-shadow: var(--footer-shadow);
}

.footer-brand__logo{
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.footer-logo-placeholder{
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.62rem;
  text-align: center;
  padding: 6px;
}

.footer-brand__name{
  font-weight: 950;
  letter-spacing: 0.2px;
}

.footer-brand__sub{
  margin-top: 4px;
  color: var(--footer-muted);
  font-size: 0.95rem;
}

/* Cols */
.footer-col{
  padding: 14px;
  border: 1px solid var(--footer-border);
  border-radius: var(--footer-radius);
  background: #fff;
  box-shadow: var(--footer-shadow);
  min-height: 108px;
}

.footer-col__head{
  font-weight: 950;
  color: var(--footer-navy);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.footer-col__body{
  color: var(--footer-muted);
  font-size: 0.97rem;
}

/* key-value */
.footer-kv{
  display: grid;
  gap: 6px;
}
.footer-kv__k{
  font-weight: 800;
  color: var(--footer-text);
}
.footer-kv__v{
  color: var(--footer-muted);
}

/* Links */
.footer-links{
  display: grid;
  gap: 10px;
}

.footer-links--compact{
  gap: 8px;
}

.footer-link{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: var(--footer-link);
  font-weight: 900;
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid #e7edf6;
  background: #fbfdff;
}

.footer-link:hover{
  text-decoration: none;
  border-color: #c9d6ea;
  background: #f5f9ff;
}

.footer-link__hint{
  color: var(--footer-muted);
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Disclaimer */
.footer-disclaimer{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--footer-border);
  background: var(--footer-surface-2);
  color: var(--footer-muted);
  line-height: 1.45;
}

/* Bottom bar */
.footer-bottom{
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--footer-border);
  color: var(--footer-muted);
}

.footer-bottom__left{
  font-weight: 800;
}

.footer-pill{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--footer-border);
  background: #fff;
  color: var(--footer-muted);
  font-weight: 900;
}

/* Focus */
.footer-link:focus-visible{
  outline: 3px solid var(--footer-focus);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 1100px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px){
  .footer-grid{
    grid-template-columns: 1fr;
  }
  .footer-link{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-link__hint{
    white-space: normal;
  }
}
