/* 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: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: flex-start;
  gap: 2.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;
}

.footer-col .shipping-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.footer-col--shipping {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-col--shipping .shipping-icons {
  justify-content: flex-start;
}

.footer-col--shipping .scroll-to-top {
  margin-top: 0;
}

.shipping-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid transparent;
  color: #0f1115;
  background: #f7f7f7;
}

.shipping-icon i {
  font-size: 20px;
}

.shipping-icon--dhl {
  background: linear-gradient(135deg, #ffe066, #ffcc00);
  color: #a40d2b;
}

.shipping-icon--dhl i {
  font-size: 28px;
}

.shipping-icon--dpd {
  background: linear-gradient(135deg, #ffffff, #f6f7fb);
  color: #c41230;
  border-color: rgba(196, 18, 48, 0.25);
}

.shipping-icon--ups {
  background: linear-gradient(135deg, #4b2a1a, #351c15);
  color: #f3d19c;
  border-color: rgba(243, 209, 156, 0.55);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 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;
}
