/*  Fußzeile aller Seiten (_tools/seitenbau/fusszeile.py).
 *  Dunkles Petrol aus der Markenfarbe, gelbe Akzente, Logo auf weißer Fläche.
 */

.cl-footer {
  --f-grund: #163a38;
  --f-text: rgba(255, 255, 255, .78);
  --f-leise: rgba(255, 255, 255, .55);
  --f-linie: rgba(255, 255, 255, .14);
  --f-gelb: var(--primary, #ffdb51);
  position: relative;
  margin-top: 120px;
  padding: 0 0 36px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 219, 81, .12) 0, rgba(255, 219, 81, 0) 35%),
    var(--f-grund);
  color: var(--f-text);
  font-family: Epilogue, sans-serif;
}

/* Webflow stylt ul/li global (Verlaufstext, 20 px, Spalten) – hier mit
   Klassen-Spezifität zurücksetzen, :where() reicht gegen "li { … }" nicht */
.cl-footer ul,
.cl-footer li {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin: 0;
  padding: 0;
  list-style: none;
  background: none;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}
.cl-footer p,
.cl-footer address { margin: 0; font-style: normal; color: inherit; font-size: inherit; line-height: inherit; }
.cl-footer a { color: inherit; font-size: inherit; line-height: inherit; text-decoration: none; transition: color .2s ease; }
.cl-footer a:hover { color: var(--f-gelb); }

.cl-footer .cl-footer-innen { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Kasten oben, ragt in den Abschnitt darüber */
.cl-footer .cl-footer-cta {
  position: relative;
  top: -64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: -16px;
  padding: 34px 40px;
  border-radius: 24px;
  background: var(--f-gelb);
  box-shadow: 0 24px 60px rgba(20, 20, 20, .18);
  color: #141414;
}
.cl-footer .cl-footer-cta-titel { color: #141414; font-size: 30px; font-weight: 800; line-height: 1.2em; }
.cl-footer .cl-footer-cta-text { margin-top: 6px; color: #141414; font-size: 18px; line-height: 1.5em; }
.cl-footer .cl-footer-cta-knoepfe { display: flex; flex: none; align-items: center; gap: 22px; }
.cl-footer .cl-footer-knopf {
  padding: 16px 28px;
  border-radius: 10px;
  background: #141414;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}
.cl-footer .cl-footer-knopf:hover { background: #2b2b2b; color: #fff; }
.cl-footer .cl-footer-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 800;
  color: #141414;
  white-space: nowrap;
}
.cl-footer .cl-footer-tel:hover { color: #141414; text-decoration: underline; }

/* Raster */
.cl-footer .cl-footer-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--f-linie);
}

.cl-footer .cl-footer-logo {
  display: inline-block;
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
}
.cl-footer .cl-footer-logo img { display: block; width: 170px; height: auto; }

.cl-footer .cl-footer-claim { margin-bottom: 18px !important; font-size: 16px; line-height: 1.55em; color: #fff; }
.cl-footer .cl-footer-adresse { margin-bottom: 14px !important; font-size: 15px; line-height: 1.6em; }
.cl-footer .cl-footer-kontakt { display: grid; gap: 4px; margin-bottom: 14px !important; font-size: 15px; font-weight: 600; color: #fff; }
.cl-footer .cl-footer-zeiten { font-size: 14px; color: var(--f-leise); }

.cl-footer .cl-footer-titel {
  margin-bottom: 16px !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--f-gelb);
}
.cl-footer .cl-footer-spalte ul { display: grid; gap: 11px; }
.cl-footer .cl-footer-spalte a { font-size: 15px; line-height: 1.4em; }

/* Unterste Zeile */
.cl-footer .cl-footer-unten {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 28px;
  font-size: 14px;
  color: var(--f-leise);
}
.cl-footer .cl-footer-recht { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
.cl-footer .cl-footer-geprueft { margin-left: auto !important; }
.cl-footer .cl-footer-credit { color: var(--f-leise); }

@media (max-width: 991px) {
  .cl-footer .cl-footer-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-footer .cl-footer-marke { grid-column: 1 / -1; }
  .cl-footer .cl-footer-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .cl-footer { margin-top: 96px; }
  .cl-footer .cl-footer-cta { padding: 28px 24px; top: -48px; }
  .cl-footer .cl-footer-cta-titel { font-size: 25px; }
  .cl-footer .cl-footer-cta-knoepfe { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
  .cl-footer .cl-footer-knopf { width: 100%; text-align: center; }
  .cl-footer .cl-footer-raster { gap: 32px 24px; }
  .cl-footer .cl-footer-geprueft { margin-left: 0 !important; }
}

@media (max-width: 479px) {
  .cl-footer .cl-footer-raster { grid-template-columns: 1fr 1fr; }
}
