/* ============================================================
   footer.css — Site-Footer
   Passend zu Header (dark navy #08142c, Gold #f59e0b, Manrope)
   ============================================================ */

.site-footer {
  background: #08142c;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Manrope', -apple-system, sans-serif;
  padding: 2.25rem 1.5rem 1.25rem;
  margin-top: 0;
}

/* ---- Inner grid: 3 columns default, 4 columns when Bank shown ---- */
.bw-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bw-footer-brand {
  grid-column: 1;
  justify-self: start;
}

.bw-footer-col--contact {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}

.bw-footer-col--contact a {
  text-align: center;
}

.bw-footer-col--legal {
  grid-column: 3;
  justify-self: end;
  text-align: left;
}

.bw-footer-inner--with-bank {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

/* ---- Brand column ---- */
.bw-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  text-align: left;
}

.bw-footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  width: fit-content;
}

.bw-footer-icon {
  color: #f59e0b;
  flex-shrink: 0;
}

.bw-footer-name {
  display: flex;
  align-items: baseline;
  gap: 0.05em;
  line-height: 1;
}

.bw-footer-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
  font-style: italic;
}

.bw-footer-sans {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}


/* ---- Brand / neues Logo ---- */

.bw-footer-logo-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}

.bw-footer-logo-link:hover {
  text-decoration: none;
}

.bw-footer-logo {
  display: block;
  width: auto;
  height: 46px;
  max-width: 250px;
  object-fit: contain;
  background: transparent;
}

.bw-footer-tagline {
  align-self: flex-start;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
  text-align: left;
}

/* ---- Kontakt / Rechtliches columns ---- */
.bw-footer-col {}

.bw-footer-col-heading {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.30);
  margin: 0 0 0.85rem;
}

.bw-footer-col a {
  display: block;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  margin-bottom: 0.45rem;
  transition: color 0.15s ease;
}

.bw-footer-col a:hover {
  color: #f59e0b;
  text-decoration: none;
}

.bw-footer-col a i,
.bw-footer-col a svg {
  margin-right: 6px;
  opacity: 0.6;
  font-size: 12px;
}

/* ---- Bankverbindung ---- */
.bw-footer-col--bank .bw-footer-iban {
  display: block;
  font-family: 'JetBrains Mono', 'Menlo', ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  word-spacing: 0.05em;
}

/* ---- Bottom bar ---- */
.bw-footer-bottom {
  max-width: 1280px;
  margin: 1rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
}

/* ---- Mobile ---- */
@media (max-width: 900px) {
  .bw-footer-inner,
  .bw-footer-inner--with-bank {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    justify-items: center;
    text-align: center;
  }

  /* Logo und Tagline als gemeinsamer Block mittig,
     innerhalb des Blocks weiterhin linksbündig */
  .bw-footer-brand {
    grid-column: auto;
    width: fit-content;
    margin-inline: auto;
    align-items: flex-start;
    text-align: left;
  }

  .bw-footer-col--contact,
  .bw-footer-col--legal {
    grid-column: auto;
  }

  .bw-footer-col {
    width: 100%;
    text-align: center;
  }

  .bw-footer-col a {
    text-align: center;
  }

  .bw-footer-bottom {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .bw-footer-logo {
    height: 40px;
    max-width: 220px;
  }
}

@media (max-width: 540px) {
  .bw-footer-inner,
  .bw-footer-inner--with-bank {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bw-footer-brand {
    grid-column: auto;
  }

  .site-footer {
    padding: 2rem 1.25rem 1.15rem;
  }
}
