/* FOOTER STYLES */
:root{
  --bw-blue: #05B9F2;
  --bw-volt: #B9DB1B;
}

/* Grundlayout */
.site-footer {
  position: relative;
  z-index: 20;

  background: #111;
  color: #f3f7fa;
  text-align: center;
  padding: 38px 0 22px 0;              /* kein Extra-Bottom mehr nötig */
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.05rem;

  border-top: 1px solid rgba(255,255,255,.12);
  backdrop-filter: saturate(140%) blur(6px);
}

/* Links im Footer: NIE unterstrichen (override gegen global) */
.site-footer a{
  color: inherit;
  text-decoration: none !important;
  border-bottom: none !important;
}
.site-footer a:hover{
  text-decoration: none !important;
}

/* Kontakt */
.site-footer .footer-contact a {
  color: var(--bw-blue);
  font-weight: 600;
}

/* Navigation */
.site-footer .footer-nav {
  margin: 15px 0 12px 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.site-footer .footer-nav a {
  color: #f3f7fa;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.15s;
}
.site-footer .footer-nav a:hover { color: #FFD600; }

/* CPX – immer mittig; Umschaltung über Theme */
.footer-cpx{
  margin: 8px 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.footer-cpx img{ height: 34px; }
.footer-cpx .cpx-dark{  display: inline-block; }   /* Default (Future) */
.footer-cpx .cpx-light{ display: none; }
html[data-design="classic"] .footer-cpx .cpx-dark{  display: none; }
html[data-design="classic"] .footer-cpx .cpx-light{ display: inline-block; }

/* Siegel */
.footer-seals{
  display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.footer-seals img{
  margin: 0 7px;
  vertical-align: middle;
  border-radius: 10px;
}

/* Bottom-Zeile: Button links, Copyright mittig (gleiche Linie) */
/* --- Footer-Bottom: Button links, Copyright exakt mittig --- */
.footer-bottom{
  margin-top: 10px;
  padding: 0 16px;

  /* Grid sorgt für echte Mitte, unabhängig von der linken Breite */
  display: grid;
  grid-template-columns: 1fr auto 1fr;  /* links – mitte – rechts */
  align-items: center;
  gap: 12px;
}

/* Button in die linke Spalte; keine Auto-Margins mehr nötig */
.footer-actions{
  display: flex;
  align-items: center;
  justify-self: start;   /* links am Rand */
  margin: 0;             /* alte auto-Margins entfernen */
}

/* Copyright wirklich mittig */
.footer-copyright{
  grid-column: 2;        /* mittlere Spalte */
  justify-self: center;
  text-align: center;
  opacity: .85;
}

/* Mobile: untereinander zentrieren wie zuvor */
@media (max-width: 700px){
  .footer-bottom{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .footer-actions{
    justify-self: center;
  }
}

.footer-consent-btn{
  appearance: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  border: 1px solid var(--bw-blue);
  background: var(--bw-blue);
  color: #071018;
  box-shadow: 0 6px 18px rgba(5,185,242,.25);
}
.footer-consent-btn:hover{ filter: brightness(1.08); }

/* Copyright */
.footer-copyright{ opacity: .85; }

/* ===== Classic-Design (hell) ===== */
html[data-design="classic"] .site-footer{
  background: #ffffff;
  color: #0b1220;
  border-top: 1px solid #e6ebf2;
  backdrop-filter: none;
}
html[data-design="classic"] .site-footer .footer-nav a{ color: var(--bw-blue); }
html[data-design="classic"] .site-footer .footer-nav a:hover{ color: #0b1220; }
html[data-design="classic"] .site-footer .footer-contact a{ color: var(--bw-blue); }
html[data-design="classic"] .footer-consent-btn{
  background: var(--bw-blue);
  color: #071018;
  border-color: var(--bw-blue);
  box-shadow: none;
}

/* ===== Responsive ===== */
@media (max-width: 700px){
  .site-footer { padding: 28px 0 18px 0; }

  /* Bottom-Zeile stapeln: Button wieder mittig darunter */
  .footer-bottom{
    flex-direction: column;
    gap: 10px;
  }
  .footer-actions{ margin-right: 0; }
}
