/* ═══════════════════════════════════════════════════════════════
   DOERTER Site-Footer — Single Source of Truth
   Eingebunden auf allen Standard-Seiten via /assets/css/footer.css
   Rollout: 2026-05-12
   ═══════════════════════════════════════════════════════════════ */

.site-footer {
  background: #2a2a2a; color: rgba(255,255,255,0.85);
  position: relative; overflow: hidden; z-index: 2;
}
.site-footer__texture {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42'%3E%3Cline x1='0' y1='42' x2='42' y2='0' stroke='%23ffffff' stroke-width='0.3' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 30px 30px;
}
.site-footer__inner {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.site-footer__top {
  display: flex; flex-wrap: wrap; gap: 48px; padding-top: 72px; padding-bottom: 48px;
}
.site-footer__brand { flex: 1 1 280px; min-width: 240px; }
.site-footer__brand .header-logo--footer img {
  height: 40px; width: auto; display: block;
}
.site-footer__claim {
  font-size: 0.92rem; color: rgba(255,255,255,0.5); line-height: 1.7;
  margin-top: 24px; max-width: 280px; font-weight: 400;
}
.site-footer__social { display: flex; gap: 16px; margin-top: 28px; list-style: none; padding: 0; }
.site-footer__social-link {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); text-decoration: none; transition: all 0.25s ease;
}
.site-footer__social-link:hover {
  border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.06);
}
.site-footer__social-link svg {
  width: 16px; height: 16px; stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.site-footer__columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; flex: 1 1 400px; }
.site-footer__col-title {
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.4); margin-bottom: 20px;
}
.site-footer__col-links { list-style: none; padding: 0; margin: 0; }
.site-footer__col-links li { margin-bottom: 12px; }
.site-footer__col-links a {
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  text-decoration: none; transition: color 0.2s; font-weight: 400;
}
.site-footer__col-links a:hover { color: rgba(255,255,255,0.95); }

/* SEO-Sitelinks (vollständige URL-Übersicht für Crawling) */
.site-footer__sitelinks {
  padding: 36px 0 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.site-footer__sitelinks-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px;
}
.site-footer__sitelinks-col h5 {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.35); margin-bottom: 16px;
}
.site-footer__sitelinks-col h5:not(:first-child) { margin-top: 22px; }
.site-footer__sitelinks-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__sitelinks-col li { margin-bottom: 8px; }
.site-footer__sitelinks-col a {
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s; line-height: 1.5;
}
.site-footer__sitelinks-col a:hover { color: rgba(255,255,255,0.9); }

.site-footer__divider { height: 1px; background: rgba(255,255,255,0.08); }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0 32px; flex-wrap: wrap; gap: 16px;
}
.site-footer__copyright { font-size: 0.78rem; color: rgba(255,255,255,0.3); font-weight: 400; }
.site-footer__legal { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; }
.site-footer__legal a {
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
  text-decoration: none; transition: color 0.2s;
}
.site-footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* Responsive */
@media (max-width: 900px) {
  .site-footer__sitelinks-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 768px) {
  .site-footer__top { gap: 32px; }
  .site-footer__columns { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .site-footer__columns { grid-template-columns: 1fr; }
  .site-footer__sitelinks-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}
