/* footer/footer.css */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

.footer {
  /* Standard: zentriert, dunkler Hintergrund */
  background: #10182F;
  width: 100%;
  /* Falls du statt position:absolute die Standard-Footer-Position nutzen willst, 
     entferne folgende Zeilen oder passe sie an
  */
  margin-top: 40px;
}

.footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3.5rem;
  padding: 40px;
}

.footer-row .footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
}

.footer-col .links {
  margin-top: 20px;
}

.footer-col .links li {
  list-style: none;
  margin-bottom: 10px;
}

.footer-col .links li a {
  text-decoration: none;
  color: #bfbfbf;
}

.footer-col .links li a:hover {
  color: #fff;
}

.footer-col p {
  margin: 20px 0;
  color: #bfbfbf;
  max-width: 300px;
}

.footer-col form {
  display: flex;
  gap: 5px;
}

.footer-col input {
  height: 40px;
  border-radius: 6px;
  background: none;
  width: 100%;
  outline: none;
  border: 1px solid #7489C6;
  caret-color: #fff;
  color: #fff;
  padding-left: 10px;
}

.footer-col input::placeholder {
  color: #ccc;
}

.footer-col form button {
  background: #fff;
  outline: none;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s ease;
}

.footer-col form button:hover {
  background: #cecccc;
}

.footer-col .icons {
  display: flex;
  margin-top: 30px;
  gap: 30px;
  cursor: pointer;
}

.footer-col .icons i {
  color: #afb6c7;
}

.footer-col .icons i:hover  {
  color: #fff;
}

/* Darkmode-Anpassung */
body.darkmode .footer {
  background: #1f1f1f; /* etwas heller als #10182F, damit man Text gut lesen kann */
  color: #ccc;
}

body.darkmode .footer-row .footer-col h4 {
  color: #e0e0e0;
}

body.darkmode .footer-col .links li a {
  color: #ccc;
}

body.darkmode .footer-col .links li a:hover {
  color: #fff;
}

body.darkmode .footer-col p {
  color: #bbb;
}

body.darkmode .footer-col input {
  border: 1px solid #555;
  color: #e0e0e0;
  background: #333;
}

body.darkmode .footer-col input::placeholder {
  color: #aaa;
}

@media (max-width: 768px) {
  .footer .footer-row {
    padding: 20px;
    gap: 1rem;
  }

  .footer-col form {
    display: block;
  }

  .footer-col form :where(input, button) {
    width: 100%;
  }

  .footer-col form button {
    margin: 10px 0 0 0;
  }
}
/* footer/footer.css */

/* ... dein bisheriger Footer-Code ... */

/* Button zum Seitenanfang */
.footer-col .scroll-to-top {
  margin-top: 30px;
}

.footer-col .scroll-to-top button {
  background: #fff;
  outline: none;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s ease;
}

.footer-col .scroll-to-top button:hover {
  background: #cecccc;
}

/* Darkmode-Anpassung für den Button */
body.darkmode .footer-col .scroll-to-top button {
  background: #333;
  color: #fff;
}

body.darkmode .footer-col .scroll-to-top button:hover {
  background: #555;
}
