/* Footer, ein Fragment für Start- und Unterseiten (sections/29-footer.html), seit 11.09.2026 nachmittags eine einzige Kaskade hier. Aufbau nach Linear/Coda (Mobbin): Marke links, vier Spalten rechts, Legal-Band unten; mobil zweispaltig. Alle Regeln mit body-Präfix, damit sie die Alt-Regeln in v3.css (Startseite) und v4.css (Unterseiten) überstimmen, die nicht angefasst werden. Schwarz statt Anthrazit seit 11.09.2026 (Laurence): Anthrazit gehört den Sektionen und CTA-Panels, Schwarz ist der Abschluss. Netzwerkkarte bleibt vollflächig (Laurence 11.09.). */
/* WebKit rundet Scrollpositionen auf ganze CSS-Pixel. Bei einer gebrochenen
   Seitenhoehe kann am Abschluss ein Geraetepixel des Canvas sichtbar bleiben.
   Der Canvas hinter dem weiterhin hellen Body folgt deshalb der Footer-Farbe. */
html { background-color: var(--fc-black); }

body .fc-footer {
  padding: 72px 0 32px;
  /* Karte bleibt (Laurence 11.09.). Die Textspalten liegen rechts, deshalb ein zweiter, waagerechter Verlauf: links unter der Marke bleibt die Karte sichtbar, unter den Spalten wird sie beruhigt. */
  background:
    linear-gradient(180deg, rgba(25,27,25,.85) 0%, rgba(25,27,25,.35) 45%, rgba(25,27,25,.75) 100%),
    linear-gradient(90deg, rgba(25,27,25,0) 0%, rgba(25,27,25,0) 26%, rgba(25,27,25,.7) 40%, rgba(25,27,25,.7) 100%),
    url("/assets/img/footer-netzwerk.webp") 50% 45% / 135% auto no-repeat var(--fc-black);
  color: var(--fc-white);
  border-top: 1px solid var(--fc-on-dark-line);
}
body .fc-footer a { text-decoration: none; }
body .fc-footer a:is(:hover, :focus-visible) { color: var(--fc-white); }
body .fc-footer a:focus-visible { outline-color: var(--fc-white); }

body .fc-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr .9fr;
  grid-template-areas: "brand produkte unternehmen netzwerk" "kontakt produkte unternehmen netzwerk";
  gap: 32px 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--fc-on-dark-line);
}
body .fc-footer__brand { grid-area: brand; }
body .fc-footer__col--produkte { grid-area: produkte; }
body .fc-footer__col--unternehmen { grid-area: unternehmen; }
body .fc-footer__col--netzwerk { grid-area: netzwerk; }
body .fc-footer__contact { grid-area: kontakt; display: grid; align-content: start; justify-items: start; gap: 6px; font-style: normal; }
body .fc-footer__contact a, body .fc-footer__contact-row { display: inline-flex; align-items: center; gap: 10px; min-height: 28px; color: rgba(255,255,255,.86); font-size: 14px; line-height: 1.5; }
body .fc-footer__contact a, body .fc-footer__contact-row { align-items: flex-start; }
body .fc-footer__contact svg { flex: none; margin-top: 3px; color: var(--fc-on-dark-soft); }
body .fc-footer__brand { display: grid; align-content: start; justify-items: start; gap: 16px; }
body .fc-footer__brand a { display: inline-flex; }
body .fc-footer__brand img { width: 176px; height: auto; }
body .fc-footer__brand p { margin: 0; max-width: 26ch; color: var(--fc-on-dark-soft); font-size: 14px; line-height: 1.5; }

body .fc-footer__col { display: grid; align-content: start; justify-items: start; gap: 10px; font-style: normal; }
body .fc-footer__col strong { margin-bottom: 8px; color: var(--fc-white); font-family: var(--fc-font-display); font-size: 20px; font-weight: 500; letter-spacing: .06em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
body .fc-footer__col a, body .fc-footer__col span { color: rgba(255,255,255,.86); font-size: 14px; line-height: 1.5; }

body .fc-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; padding-top: 24px; }
body .fc-footer__bottom p { margin: 0; }
body .fc-footer__bottom p, body .fc-footer__bottom a { color: var(--fc-on-dark-soft); font-size: 12px; line-height: 1.5; }
body .fc-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }

.fc-footer__sources { margin: 24px 0 0; color: var(--fc-on-dark-soft); }
.fc-footer__sources a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 991px) {
  body .fc-footer { padding-top: 56px; }
  body .fc-footer__main { grid-template-columns: 1fr 1fr; grid-template-areas: "brand brand" "produkte unternehmen" "netzwerk kontakt"; gap: 40px 32px; padding-bottom: 44px; }
  body .fc-footer__brand { display: flex; align-items: center; gap: 24px; }
  body .fc-footer__brand p { max-width: none; }
}

@media (max-width: 767px) {
  body .fc-footer {
    padding: 48px 0 28px;
    background:
      linear-gradient(180deg, rgba(25,27,25,.9) 0%, rgba(25,27,25,.7) 45%, rgba(25,27,25,.86) 100%),
      url("/assets/img/footer-netzwerk-1080.webp") 50% 45% / cover no-repeat var(--fc-black);
  }
  body .fc-footer__main { grid-template-columns: 1.25fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
  body .fc-footer__brand { display: grid; gap: 12px; }
  body .fc-footer__brand img { width: 150px; }
  body .fc-footer__col { gap: 0; }
  body .fc-footer__col strong { margin-bottom: 4px; }
  body .fc-footer__col a, body .fc-footer__col span { min-height: 36px; display: inline-flex; align-items: center; }
  body .fc-footer__legal a { min-height: 36px; display: inline-flex; align-items: center; }
  body .fc-footer__main { grid-template-areas: "brand brand" "produkte unternehmen" "produkte netzwerk" "kontakt kontakt"; }
  body .fc-footer__contact { gap: 0; padding-top: 20px; border-top: 1px solid var(--fc-on-dark-line); }
  body .fc-footer__contact a, body .fc-footer__contact-row { min-height: 36px; }
  body .fc-footer__bottom { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 16px; }
}

@media (max-width: 479px) {
  body .fc-footer__main { gap: 24px 16px; }
}
