﻿/* Footer + CTA + Trust-Bar â€“ ParitÃ¤t zu homepage/wohnen/index.html */

.wf-suche-site-footer {
  --wf-footer-green: #1F8A63;
  --wf-footer-bg: #1a3d32;
  --green: #1F8A63;
  --footer-bg: #1a3d32;
  background: var(--wf-footer-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 24px 24px 32px;
  font-size: 0.85rem;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
  margin-top: 0;
  margin-left: 0;
  max-width: none;
  text-align: left;
  border-top: none;
  overflow: visible;
}

/* Trust-Bar wie Landing (schwebt unter Content, CTA Ã¼berlappt) */
.wf-trust-bar[data-wf-suche-trust],
body.wf-suche-page .wf-trust-bar,
body.expose-page .wf-trust-bar {
  width: 100%;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 4vw, 56px);
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

body.wf-suche-page .wf-trust-bar__inner,
body.expose-page .wf-trust-bar__inner,
.wf-trust-bar[data-wf-suche-trust] .wf-trust-bar__inner {
  max-width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
}

body.wf-suche-page .wf-trust-bar__item,
body.expose-page .wf-trust-bar__item,
.wf-trust-bar[data-wf-suche-trust] .wf-trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}

body.wf-suche-page .wf-trust-bar__item svg,
body.expose-page .wf-trust-bar__item svg,
.wf-trust-bar[data-wf-suche-trust] .wf-trust-bar__item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #22c55e;
}

body.wf-suche-page .wf-trust-bar__item a,
body.expose-page .wf-trust-bar__item a,
.wf-trust-bar[data-wf-suche-trust] .wf-trust-bar__item a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.wf-suche-page .wf-trust-bar__item a:hover,
body.expose-page .wf-trust-bar__item a:hover,
.wf-trust-bar[data-wf-suche-trust] .wf-trust-bar__item a:hover {
  color: #14532d;
}

/* Content-Reserve wie Landing .page-main:has(> #faq) */
body.wf-suche-page .wf-app,
body.expose-page .wf-app {
  padding-bottom: 9rem;
}
@media (min-width: 768px) {
  body.wf-suche-page .wf-app,
  body.expose-page .wf-app {
    padding-bottom: 11rem;
  }
}

.wf-suche-site-footer .footer-cta {
  width: 80%;
  max-width: none;
  margin: -150px auto 52px;
  padding: 56px 32px 52px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  border-radius: 48px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(134, 239, 172, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(34, 197, 94, 0.18) 0%, transparent 50%),
    linear-gradient(165deg, #1a7a42 0%, var(--wf-footer-green) 42%, var(--wf-footer-bg) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

@media (min-width: 640px) {
  .wf-suche-site-footer .footer-cta {
    padding-left: 48px;
    padding-right: 48px;
  }
}

.wf-suche-site-footer .footer-cta__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 16px;
}

.wf-suche-site-footer .footer-cta__title {
  font-size: var(--fx-fs-h2, clamp(1.25rem, 2.4vw, 1.55rem));
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #fff !important;
}

.wf-suche-site-footer .footer-cta__text {
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40ch;
  margin: 0 auto 28px;
}

.wf-suche-site-footer .footer-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  align-self: center;
  padding: 16px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--wf-footer-green);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wf-suche-site-footer .footer-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  color: var(--wf-footer-green);
}

.wf-suche-site-footer .footer-cta__btn-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wf-footer-green);
  color: #fff;
  flex-shrink: 0;
}

.wf-suche-site-footer .footer-cta__btn-icon svg {
  width: 18px;
  height: 18px;
}

.wf-suche-site-footer .footer-inner,
.wf-suche-site-footer .container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.wf-suche-site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .wf-suche-site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .wf-suche-site-footer .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

.wf-suche-site-footer .footer-brand {
  max-width: 28rem;
}

.wf-suche-site-footer .footer-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 12px;
  display: block;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0, 0, 0, 0.15);
}

.wf-suche-site-footer .footer-brand__name {
  color: #fff;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 1.125rem;
  margin: 0 0 4px;
}

.wf-suche-site-footer .footer-brand__name .fix {
  color: #fff;
  font-weight: 700;
}

.wf-suche-site-footer .footer-brand__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.9);
}

.wf-suche-site-footer .footer-intro {
  margin: 12px 0 0;
  max-width: 100%;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(220, 252, 231, 0.88);
}

.wf-suche-site-footer .footer-grid h4 {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.wf-suche-site-footer .footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wf-suche-site-footer .footer-grid li {
  margin: 0 0 8px;
}

.wf-suche-site-footer .footer-grid a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  display: block;
  padding: 0;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.wf-suche-site-footer .footer-grid a:hover {
  color: #fff;
}

.wf-suche-site-footer .footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.wf-suche-site-footer .footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}

.wf-suche-site-footer .footer-bottom__links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.wf-suche-site-footer .footer-bottom__links a:hover {
  color: #fff;
}

.expose-back-bar {
  max-width: 1140px;
  margin: 8px auto 0;
  padding: 12px 24px 8px;
  font-size: 0.9rem;
}

.expose-back-bar .portal-footer__link-btn {
  background: none;
  border: none;
  color: #1F8A63;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.expose-back-bar .portal-footer__link-btn:hover {
  text-decoration: underline;
}

/* Mobile â€“ wie Landing (768px) */
@media (max-width: 768px) {
  body.wf-suche-page .wf-app,
  body.expose-page .wf-app {
    padding-bottom: 9rem;
  }

  .wf-suche-site-footer {
    padding: 20px 16px 28px;
  }

  .wf-suche-site-footer .footer-cta {
    width: 92%;
    padding: 44px 28px 40px;
    border-radius: 36px;
    margin-top: -96px;
    margin-bottom: 36px;
  }

  .wf-suche-site-footer .footer-cta__title {
    font-size: 1.5rem;
  }

  .wf-suche-site-footer .footer-cta__btn {
    justify-content: center;
    min-height: 52px;
    padding: 14px 24px;
    width: 100%;
    max-width: 320px;
  }

  .wf-suche-site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
