/* Einheitlicher Waltmann-Footer für Startseite und Shopseiten.
   Schriftgrößen werden weiterhin ausschließlich in header.css verwaltet. */
body.minimal-page .wm-footer,
body .wm-footer {
  background: #242421;
  color: #f1eee8;
  border-top: 1px solid #48433c;
  padding: 58px 0 0;
}
body .wm-footer > .container-fluid {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
body .wm-footer .row:first-child {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  row-gap: 30px;
}
body .wm-footer .col-footer { margin-bottom: 14px; }
body .wm-footer .col-footer h3 {
  color: #f4ecdd !important;
  border: 0;
  margin: 0 0 22px;
  padding: 0;
  font-weight: 600;
  line-height: 1.35;
}
body .wm-footer #footer-logo { padding-top: 3px; }
body .wm-footer #footer-logo img { display: block; width: 86px; height: auto; max-width: 100%; }
body .wm-footer .footer-navigate-section {
  list-style: none;
  margin: 0;
  padding: 0;
}
body .wm-footer .footer-navigate-section li { margin: 0 0 12px; padding: 0; }
body .wm-footer a {
  color: #e3ddd3 !important;
  text-decoration: none !important;
  transition: color .18s ease;
}
body .wm-footer a:hover, body .wm-footer a:focus-visible { color: #d7b994 !important; }
body .wm-footer .footer-navigate-section a:not([href^="mailto:"]):not(.wm-footer-badge-link)::after {
  content: " ↗";
  color: #cbb69a;
}
body .wm-footer p, body .wm-footer td {
  color: #e3ddd3 !important;
  line-height: 1.75;
}
body .wm-footer #footer_adresse { border: 0; border-collapse: collapse; width: 100%; }
body .wm-footer #footer_adresse td { border: 0; padding: 0 14px 0 0; vertical-align: top; }
body .wm-footer #footer_adresse td.wm-footer-seal { padding-right: 0; text-align: right; }
body .wm-footer #footer_adresse img { width: 90px; height: auto; max-width: 100%; }
body .wm-footer .footer-copyright {
  border-top: 1px solid rgba(244,236,221,.17);
  margin-top: 32px;
  padding: 22px 0 27px;
  color: #c9c1b5;
  text-align: left;
}
@media (max-width: 991px) {
  body .wm-footer { padding-top: 42px; }
  body .wm-footer .col-footer { margin-bottom: 4px; }
}
@media (max-width: 767px) {
  body .wm-footer > .container-fluid { padding-left: 14px; padding-right: 14px; }
  body .wm-footer .row:first-child { row-gap: 18px; }
  body .wm-footer .col-footer h3 { margin-bottom: 14px; }
  body .wm-footer #footer_adresse td.wm-footer-seal { text-align: left; }
  body .wm-footer .footer-copyright { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body .wm-footer a { transition: none; }
}

/* EU-Siegel: kein Linkpfeil und kein eigener Hintergrund. */
body .wm-footer .wm-footer-badge-link::after { content: none !important; display: none !important; }
body .wm-footer .wm-footer-badge-link, body .wm-footer .wm-footer-badge-link img { background: transparent !important; border: 0; box-shadow: none; }
body .wm-footer .wm-footer-badge-link img { display: block; }

/* Bootstrap-unabhängiges Footer-Raster: auch auf index.html identisch. */
body .wm-footer > .container-fluid > .row:first-child {
  display: grid !important;
  grid-template-columns: 2fr 3fr 3fr 4fr;
  gap: 24px;
  margin: 0 !important;
  align-items: start;
}
body .wm-footer > .container-fluid > .row:first-child > .col-footer {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
}
body .wm-footer > .container-fluid > .row:last-child {
  margin: 0 !important;
}
body .wm-footer > .container-fluid > .row:last-child > div {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
}
@media (max-width: 991px) {
  body .wm-footer > .container-fluid > .row:first-child {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 30px 22px;
  }
}
@media (max-width: 600px) {
  body .wm-footer > .container-fluid > .row:first-child {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Identische Footer-Darstellung unabhängig vom Startseiten-Stylesheet. */
body.minimal-page footer.wm-footer, body footer.wm-footer { width:100%; box-sizing:border-box; font-family:'Josefin Sans','JosefinSans',Arial,sans-serif; }
body footer.wm-footer, body footer.wm-footer * { box-sizing:border-box; }
body footer.wm-footer .wm-footer-badge-link::after,
body footer.wm-footer #footer_adresse .wm-footer-badge-link::after { content:none !important; display:none !important; }
body footer.wm-footer .wm-footer-badge-link { display:inline-block; line-height:0; }
body footer.wm-footer .wm-footer-badge-link img { display:block; border-radius:50%; background:transparent; }
body footer.wm-footer h3 { text-align:left; letter-spacing:normal; }
body footer.wm-footer .footer-navigate-section a { text-align:left; }

/* Korrektur: eigener Footer-Grid-Container ohne Bootstrap-.row/.col-Interferenzen. */
body footer.wm-footer .wm-footer-columns {
 display: grid !important;
 grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 4fr) !important;
 column-gap: 24px !important;
 row-gap: 28px !important;
 width: 100% !important;
 margin: 0 !important;
 padding: 0 !important;
 align-items: start;
}
body footer.wm-footer .wm-footer-columns > .col-footer {
 display: block !important;
 float: none !important;
 position: static !important;
 width: auto !important;
 max-width: none !important;
 min-width: 0 !important;
 margin: 0 !important;
 padding: 0 !important;
 clear: none !important;
}
body footer.wm-footer .wm-footer-bottom { width: 100%; margin: 0; padding: 0; }
body footer.wm-footer #footer_adresse { width: 100%; table-layout: auto; }
body footer.wm-footer #footer_adresse td:first-child { width: auto; }
body footer.wm-footer #footer_adresse td.wm-footer-seal { width: 110px; min-width: 110px; vertical-align: top; }
body footer.wm-footer #footer_adresse td.wm-footer-seal img {
 display: block !important; width: 110px !important; height: 110px !important;
 max-width: none !important; object-fit: contain; border-radius: 50%;
}
body footer.wm-footer .wm-footer-badge-link::after,
body footer.wm-footer #footer_adresse .wm-footer-badge-link::after { content: none !important; display: none !important; }
@media (max-width: 1050px) {
 body footer.wm-footer .wm-footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 600px) {
 body footer.wm-footer .wm-footer-columns { grid-template-columns: minmax(0,1fr) !important; }
 body footer.wm-footer #footer_adresse td.wm-footer-seal { width: 90px; min-width: 90px; }
 body footer.wm-footer #footer_adresse td.wm-footer-seal img { width: 90px !important; height: 90px !important; }
}
