/* Footer template alignment
   Backend-Spalten colPos 30/31/32 bleiben erhalten; Frontend-Markup/Abstände orientieren sich an den lokalen HTML-Templates.
*/

.footer .footer-content-col{ color:#000; }

.footer .footer-column-content,
.footer .footer-column-content .frame,
.footer .footer-column-content .frame-inner,
.footer .footer-column-content .ce-bodytext{
  margin:0;
  padding:0;
}

.footer .footer-column-content .frame{
  background:transparent;
  border:0;
}

.footer .footer-column-content .frame + .frame{ margin-top:22px; }

.footer .footer-column-content header,
.footer .footer-column-content .ce-headline{
  margin:0;
  padding:0;
}

.footer .footer-column-content h1,
.footer .footer-column-content h2,
.footer .footer-column-content h3,
.footer .footer-column-content h4,
.footer .footer-column-content .footer-title{
  margin:0 0 10px 0;
  font-size:clamp(1.45rem, 1.4vw, 1.9rem);
  line-height:1.08;
  font-weight:600;
  color:#000;
}

.footer .footer-column-content p,
.footer .footer-column-content li,
.footer .footer-column-content .footer-text,
.footer .footer-column-content a{
  font-size:1rem;
  line-height:1.25;
}

.footer .footer-column-content p{ margin:0 0 0.35rem 0; }
.footer .footer-column-content p:last-child{ margin-bottom:0; }

.footer .footer-column-content a{
  color:#000;
  text-decoration:underline;
}

.footer .footer-column-content ul,
.footer .footer-column-content ol,
.footer .footer-links{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.footer .footer-column-content li{
  margin:0;
  padding:0;
}

.footer .footer-column-content .btn,
.footer .footer-contact-button .btn{
  background:#fdc815;
  border-color:#fdc815;
  color:#000;
  border-radius:0;
  font-weight:500;
  padding:9px 22px;
  text-decoration:none;
}

.footer .footer-column-content .btn:hover,
.footer .footer-column-content .btn:focus,
.footer .footer-contact-button .btn:hover,
.footer .footer-contact-button .btn:focus{
  background:#000;
  border-color:#000;
  color:#fff;
}

.footer .footer-social{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:18px;
  margin-top:40px;
  flex-wrap:wrap;
}

.footer .footer-social a{
  color:#000;
  text-decoration:none;
  font-size:2rem;
  line-height:1;
}

/* Rechte Footer-Spalte: Linkliste in jedem Farbschema unterstrichen lassen. */
.footer .footer-links-col a:not(.btn):not(.button-link):not(.footer-button-link),
.footer .footer-links-col .footer-column-content a:not(.btn):not(.button-link):not(.footer-button-link){
  text-decoration:underline !important;
  text-underline-offset:0.12em;
}

.footer .footer-links-col a:not(.btn):not(.button-link):not(.footer-button-link):hover,
.footer .footer-links-col a:not(.btn):not(.button-link):not(.footer-button-link):focus{
  text-decoration:underline !important;
}

@media (min-width:992px){
  .footer .footer-logo-col{
    flex:0 0 auto !important;
    width:33.33333333% !important;
    max-width:33.33333333% !important;
  }
  .footer .footer-contact-col,
  .footer .footer-service-col,
  .footer .footer-links-col{
    flex:1 1 0 !important;
    width:auto !important;
    max-width:none !important;
  }
}

@media (min-width:768px) and (max-width:991.98px){
  .footer .footer-logo-col{ width:100%; flex:0 0 100%; max-width:100%; }
  .footer .footer-contact-col,
  .footer .footer-service-col,
  .footer .footer-links-col{ width:50%; flex:0 0 50%; max-width:50%; }
}

@media (max-width:767.98px){
  .footer .footer-column-content .frame + .frame{ margin-top:18px; }
}

html[data-theme="mono-dark"] .footer,
body.theme-mono-dark .footer{
  background:#000 !important;
  color:#fff !important;
}

html[data-theme="mono-dark"] .footer .footer-column-content,
html[data-theme="mono-dark"] .footer .footer-column-content h1,
html[data-theme="mono-dark"] .footer .footer-column-content h2,
html[data-theme="mono-dark"] .footer .footer-column-content h3,
html[data-theme="mono-dark"] .footer .footer-column-content h4,
html[data-theme="mono-dark"] .footer .footer-column-content p,
html[data-theme="mono-dark"] .footer .footer-column-content li,
html[data-theme="mono-dark"] .footer .footer-title,
html[data-theme="mono-dark"] .footer .footer-text,
html[data-theme="mono-dark"] .footer .footer-copyright,
html[data-theme="mono-dark"] .footer .footer-logo,
html[data-theme="mono-dark"] .footer .footer-social a,
body.theme-mono-dark .footer .footer-column-content,
body.theme-mono-dark .footer .footer-column-content h1,
body.theme-mono-dark .footer .footer-column-content h2,
body.theme-mono-dark .footer .footer-column-content h3,
body.theme-mono-dark .footer .footer-column-content h4,
body.theme-mono-dark .footer .footer-column-content p,
body.theme-mono-dark .footer .footer-column-content li,
body.theme-mono-dark .footer .footer-title,
body.theme-mono-dark .footer .footer-text,
body.theme-mono-dark .footer .footer-copyright,
body.theme-mono-dark .footer .footer-logo,
body.theme-mono-dark .footer .footer-social a{
  color:#fff !important;
}

html[data-theme="mono-dark"] .footer a:not(.btn):not(.button-link):not(.footer-button-link),
body.theme-mono-dark .footer a:not(.btn):not(.button-link):not(.footer-button-link){
  color:#fff !important;
}

html[data-theme="mono-dark"] .footer .footer-links-col a:not(.btn):not(.button-link):not(.footer-button-link),
body.theme-mono-dark .footer .footer-links-col a:not(.btn):not(.button-link):not(.footer-button-link){
  color:#fff !important;
  text-decoration:underline !important;
}

html[data-theme="mono-dark"] .footer .footer-column-content .btn,
html[data-theme="mono-dark"] .footer a.button-link,
html[data-theme="mono-dark"] .footer a.footer-button-link,
body.theme-mono-dark .footer .footer-column-content .btn,
body.theme-mono-dark .footer a.button-link,
body.theme-mono-dark .footer a.footer-button-link{
  background:#fff !important;
  border-color:#fff !important;
  color:#000 !important;
  text-decoration:none !important;
}

html[data-theme="mono-dark"] .footer .footer-column-content .btn:hover,
html[data-theme="mono-dark"] .footer .footer-column-content .btn:focus,
html[data-theme="mono-dark"] .footer a.button-link:hover,
html[data-theme="mono-dark"] .footer a.button-link:focus,
html[data-theme="mono-dark"] .footer a.footer-button-link:hover,
html[data-theme="mono-dark"] .footer a.footer-button-link:focus,
body.theme-mono-dark .footer .footer-column-content .btn:hover,
body.theme-mono-dark .footer .footer-column-content .btn:focus,
body.theme-mono-dark .footer a.button-link:hover,
body.theme-mono-dark .footer a.button-link:focus,
body.theme-mono-dark .footer a.footer-button-link:hover,
body.theme-mono-dark .footer a.footer-button-link:focus{
  background:#000 !important;
  border-color:#fff !important;
  color:#fff !important;
  text-decoration:none !important;
}

html[data-theme="mono-light"] .footer .footer-links-col a:not(.btn):not(.button-link):not(.footer-button-link),
body.theme-mono-light .footer .footer-links-col a:not(.btn):not(.button-link):not(.footer-button-link){
  color:#000 !important;
  text-decoration:underline !important;
}

/* Footer link for reopening Klaro consent settings */
.footer .footer-consent-settings{
  margin-top:0;
  text-decoration:underline;
}

.footer .footer-consent-link{
  display:inline;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#000;
  font:inherit;
  font-size:1rem;
  line-height:1.25;
  text-align:left;
  text-decoration:underline;
  text-underline-offset:0.12em;
  cursor:pointer;
  appearance:none;
}

.footer .footer-consent-link:hover,
.footer .footer-consent-link:focus{
  color:#000;
  text-decoration:underline;
}

.footer .footer-consent-link:focus-visible{
  outline:2px solid currentColor;
  outline-offset:3px;
}

html[data-theme="mono-dark"] .footer .footer-consent-link,
body.theme-mono-dark .footer .footer-consent-link{
  color:#fff !important;
}

html[data-theme="mono-light"] .footer .footer-consent-link,
body.theme-mono-light .footer .footer-consent-link{
  color:#000 !important;
}

/* Refinement: avoid double/thick underline on footer consent link */
.footer .footer-consent-settings{
  margin-top:0;
  text-decoration:none !important;
}

.footer .footer-consent-link,
.footer .footer-consent-link:hover,
.footer .footer-consent-link:focus{
  text-decoration-line:underline !important;
  text-decoration-style:solid !important;
  text-decoration-thickness:auto !important;
  text-underline-offset:0.12em;
}
