/* ================================================================
   KS Hausbau — modern footer
   Framework-independent (no Bootstrap classes), mobile-first.
   ================================================================ */

.ks-footer {
  background-color: #f1f1f1;
  color: #666;
  padding: 48px 0 0;
}
.ks-footer-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.ks-footer-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 28px;
}
.ks-footer-col p {
  margin: 0 0 14px;
  line-height: 1.6;
}
.ks-footer-heading {
  color: #666;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 18px;
}

.ks-footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ks-footer-address a,
.ks-footer-address span {
  color: #666;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ks-footer-address a:hover,
.ks-footer-address a:focus {
  color: #0063af;
}
.ks-footer-address i {
  width: 16px;
  text-align: center;
}

.ks-footer-newsletter-form {
  display: flex;
  max-width: 420px;
}
.ks-footer-newsletter-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #fff;
  background: #fff;
  color: #666;
  border-radius: 0;
  font-size: 14px;
}
.ks-footer-newsletter-input:focus {
  outline: none;
  border-color: #0063af;
}
.ks-footer-newsletter-submit {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: none;
  background-color: #0063af;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ks-footer-newsletter-submit:hover,
.ks-footer-newsletter-submit:focus {
  background-color: #f39207;
}

.ks-footer-legal {
  font-size: 12px;
  line-height: 1.7;
  color: #888;
  padding: 20px 0 24px;
  border-top: 1px solid #e2e2e2;
}
.ks-footer-legal p {
  margin: 0 0 10px;
}
.ks-footer-legal a {
  color: #888;
}
.ks-footer-legal a:hover {
  color: #0063af;
}

.ks-footer-bottom {
  border-top: 1px solid #222;
}
.ks-footer-bottom-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 20px 15px;
}
.ks-footer-bottom p {
  margin: 0;
  color: #666;
  font-size: 13px;
}
.ks-footer-bottom a {
  color: #0063af;
  text-decoration: none;
}
.ks-footer-bottom a:hover,
.ks-footer-bottom a:focus {
  color: #666;
}

@media (min-width: 768px) {
  .ks-footer-grid {
    flex-direction: row;
    justify-content: space-between;
    gap: 48px;
  }
  .ks-footer-col {
    flex: 1;
  }
}
