/* === FOOTER (clean) === */
* {
  font-family: "Lora", serif;
}
.footer-section {
  background: #f8c7c2;
  color: #2b1012;
  padding: 3.5rem 1rem;
}
.footer-container {
  max-width: 1140px;
  margin: 0 auto;
}

/* Top: Branding + Spalten */
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr auto;
    gap: 3rem;
  }
}

.footer-brand .brand-title {
  font-family: "Playfair Display", serif;
  font: 300 1.75rem/1.2 inherit;
  letter-spacing: 0.18em;
  color: #1e0b0d;
  margin: 0 0 0.75rem;
}
.footer-brand .brand-text {
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 28rem;
  margin: 0;
  color: #2e1215;
}

/* Navigation */
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3.5rem;
  justify-items: start; /* Spalten links ausrichten */
}
.footer-col h4 {
  color: #1e0b0d;
  font-weight: 500;
  margin: 0 0 0.75rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem; /* <-- macht Items so breit wie der Text */
}
.footer-col li,
a {
  margin: 0;
  padding: 0;
  text-align: left;
} /* keine extr. Breite */
.footer-link {
  display: inline-block; /* Klickbereich = Textbreite */
  color: #1a0a0c;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #1a0a0c;
  opacity: 0.6;
  transition: width 0.25s;
}
.footer-link:hover {
  color: #000;
}
.footer-link:hover::after {
  width: 100%;
}
.footer-link:focus-visible {
  outline: 2px solid rgba(0,0,0,.28);
  outline-offset: 3px;
  border-radius: 4px;
  color: #fff;
}

/* Bottom */
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #231012;
}
.footer-bottom p {
  margin: 0;
}

/* Socials */
.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.footer-social {
  text-decoration: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #db7b74;
  border: 1px solid rgba(0,0,0,.2);
  transition: transform 0.12s, color 0.2s, background-color 0.2s,
    box-shadow 0.2s, border-color 0.2s;
}
.footer-social:hover {
  color: #fff;
  background: #b8615b;
  border-color: rgba(0,0,0,.28);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 17, 26, 0.25);
}

/* ===============================
   BREAKPOINTS
   =============================== */

/* === Smartphone: max-width: 767px === */
@media (max-width: 767px) {
  .footer-section { padding: 3rem .9rem; }
  .footer-top {
    gap: 1.75rem;
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* zentriert Branding & Navigation */
    text-align: center; /* Text in Branding mittig */
  }

  .footer-brand {
    max-width: 90%;
  }
  .footer-brand .brand-title { font-size: 1.5rem; }
  .footer-brand .brand-text { font-size: .95rem; }

  /* Cols nebeneinander und zentriert */
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 1rem 2rem;
    justify-content: center;
    text-align: center; /* Links im Grid mittig */
  }

  .footer-col h4 { font-size: 1rem; }
  .footer-col ul {
    align-items: center; /* UL-Inhalt zentriert */
  }
  .footer-link {
    font-size: .95rem;
    display: inline-block;
    text-align: center;
  }
  /* Bottom zentriert */
  .footer-bottom {
    font-size: .85rem;
    padding-top: 1.1rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: .75rem;
    flex-direction: column;
  }

  .footer-social { width: 36px; height: 36px; }
}

/* === Tablet: 768px–1023px === */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-section { padding: 3.5rem 1.25rem; }

  .footer-top {
    grid-template-columns: 1fr auto;  /* Branding + Spalten rechts */
    gap: 2.25rem;
    margin-bottom: 2rem;
  }

  .footer-brand .brand-title { font-size: 1.65rem; }
  .footer-brand .brand-text { font-size: .975rem; }

  /* 2 Spalten bleiben */
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 3rem;
  }

  /* Bottom ZENTRIERT (nicht space-between) */
  .footer-bottom {
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: .75rem;
    flex-direction: column;
  }

  .footer-social { width: 38px; height: 38px; }
}

/* === Desktop: min-width: 1024px === */
@media (min-width: 1024px) {
  .footer-section { padding: 4rem 1.5rem; }

  .footer-top {
    grid-template-columns: 1fr auto;
    gap: 3rem;
    margin-bottom: 2.5rem;
  }

  .footer-brand .brand-title { font-size: 1.75rem; }
  .footer-brand .brand-text { font-size: 1rem; }

  /* sauber zweispaltig */
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3.5rem;
  }

  /* Bottom ZENTRIERT (nicht space-between) */
  .footer-bottom {
    padding-top: 1.75rem;
    font-size: .9rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: .75rem;
    flex-direction: column;
  }

  .footer-social { width: 40px; height: 40px; }
}
