/* ============================================================
   WatchGuide 2026 — Footer (Design-System / roter Faden)
   Server-rendered. Nutzt die globalen Tokens aus wg-2026-ds.css
   (--wg-bg, --wg-o, --wg-muted, --wg-line, --wg-radius, --wg-max ...).
   Klassen-Namespace: .wgf-*  (loest die alten .wg2-* / .wg-* ab)
   ============================================================ */
.wgf{
  position:relative;
  background:linear-gradient(180deg,var(--wg-bg) 0%,#050507 100%);
  color:var(--wg-txt);
  font-family:var(--wg-ui);
  padding-top:56px;
  clear:both;
}
/* feiner orange-Faden als Top-Divider (greift die Markenfarbe auf) */
.wgf::before{
  content:"";position:absolute;top:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,transparent,rgba(255,107,0,.55),transparent);
}
.wgf-inner{max-width:var(--wg-max);margin:0 auto;padding:0 24px}

/* ---- Top: Marken-Block + 4 Spalten ---- */
.wgf-top{
  display:grid;
  grid-template-columns:minmax(240px,1.5fr) repeat(4,minmax(0,1fr));
  gap:40px;
  padding-bottom:44px;
}

/* Marke */
.wgf-brand{max-width:340px}
.wgf-logo{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--wg-txt)}
.wgf-logo img{width:48px;height:48px;display:block;border-radius:10px;
  border:1px solid rgba(255,107,0,.35);background:#151515}
.wgf-logo b{font-size:1.18rem;font-weight:900;letter-spacing:-.01em}
.wgf-tag{margin:14px 0 18px;font-size:.9rem;line-height:1.55;color:var(--wg-muted)}
.wgf-social{display:flex;gap:10px}
.wgf-social a{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;
  border:1px solid var(--wg-line-2);background:rgba(255,255,255,.03);color:var(--wg-muted);
  transition:border-color .15s,color .15s,background .15s}
.wgf-social a:hover,.wgf-social a:focus-visible{
  border-color:rgba(255,107,0,.5);color:var(--wg-o-2);background:rgba(255,107,0,.08);outline:none}
.wgf-social svg{width:18px;height:18px;display:block}

/* Spalten */
.wgf-col{min-width:0}
.wgf-col-title{margin:0 0 16px;font:800 .68rem/1 var(--wg-num);letter-spacing:.14em;
  text-transform:uppercase;color:var(--wg-o-2)}
.wgf-links{display:flex;flex-direction:column;gap:10px}
.wgf-link{width:fit-content;color:var(--wg-muted);text-decoration:none;font-size:.9rem;line-height:1.4;
  transition:color .14s}
.wgf-link:hover{color:var(--wg-txt)}
.wgf-link:focus-visible{color:var(--wg-txt);outline:none;text-decoration:underline;text-underline-offset:3px}

/* ---- CTA-Band ---- */
.wgf-cta{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;
  padding:26px 28px;margin-bottom:34px;border-radius:var(--wg-radius);
  background:linear-gradient(135deg,rgba(255,107,0,.10),rgba(255,107,0,.02));
  border:1px solid rgba(255,107,0,.18);
}
.wgf-cta-txt{min-width:0}
.wgf-cta-title{margin:0 0 4px;font-size:1.12rem;font-weight:800;color:var(--wg-txt)}
.wgf-cta-sub{margin:0;font-size:.88rem;color:var(--wg-muted)}
.wgf-cta-btn{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;padding:13px 22px;
  border-radius:11px;font-weight:800;font-size:.95rem;text-decoration:none;
  background:linear-gradient(135deg,var(--wg-o-2),var(--wg-o));color:var(--wg-o-ink);
  transition:transform .15s,box-shadow .15s}
.wgf-cta-btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px -10px rgba(255,107,0,.6)}
.wgf-cta-btn:focus-visible{outline:2px solid var(--wg-o-2);outline-offset:3px}

/* ---- Bottom: Copyright + Rechtliches ---- */
.wgf-bottom{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;
  padding:22px 0;border-top:1px solid var(--wg-line);
}
.wgf-copy{margin:0;font-size:.82rem;color:var(--wg-dim)}
.wgf-copy a{color:var(--wg-muted);text-decoration:none}
.wgf-copy a:hover{color:var(--wg-o-2)}
.wgf-legal{display:flex;flex-wrap:wrap;gap:8px 20px}
.wgf-legal a{font-size:.82rem;color:var(--wg-dim);text-decoration:none}
.wgf-legal a:hover{color:var(--wg-o-2)}
.wgf-legal a:focus-visible{outline:none;color:var(--wg-txt);text-decoration:underline;text-underline-offset:3px}

/* ---- Responsive ---- */
@media (max-width:1024px){
  .wgf-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 28px}
  .wgf-brand{grid-column:1/-1;max-width:none}
}
@media (max-width:560px){
  .wgf-inner{padding:0 18px}
  .wgf{padding-top:40px}
  .wgf-top{grid-template-columns:1fr;gap:26px}
  .wgf-cta{flex-direction:column;align-items:flex-start;text-align:left}
  .wgf-cta-btn{width:100%;justify-content:center}
  .wgf-bottom{flex-direction:column;align-items:flex-start}
}
