#luk-footer,
#luk-footer * {
  box-sizing: border-box;
}

#luk-footer {
  --footer-font: "Inter Variable", "Inter", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --footer-font-arabic: "Noto Sans Arabic", "Noto Sans", Arial, sans-serif;

  --footer-card: linear-gradient(135deg, #ffffff 0%, #ffffff 65%, #f4faf6 100%);
  --footer-soft: #f4faf6;
  --footer-panel: rgba(238, 249, 242, 0.78);
  --footer-title: #123d2f;
  --footer-text: #53635b;
  --footer-muted: #6f7c75;
  --footer-link: #6f7c75;
  --footer-link-hover: #123d2f;
  --footer-green: #0f6b50;
  --footer-line: rgba(18, 61, 47, 0.10);
  --footer-line-soft: rgba(18, 61, 47, 0.08);

  width: 100%;
  margin: 0;
  padding: 20px 10px 105px;
  font-family: var(--footer-font);
  color: var(--footer-text);
  text-align: start;
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#luk-footer * {
  font-family: inherit;
}

#luk-footer :is(h2, p) {
  text-align: start;
}

#luk-footer svg {
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#luk-footer a:focus-visible {
  outline: 2px solid var(--footer-green);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Karte */
#luk-footer .luk-footer-card {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px;
  overflow: hidden;
  background: var(--footer-card);
  border: 1px solid var(--footer-line);
  border-radius: 28px;
  box-shadow: 0 10px 24px rgba(16, 41, 31, 0.05), 0 22px 48px rgba(16, 41, 31, 0.08);
}

#luk-footer .luk-footer-card::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -130px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 230, 191, 0.30) 0%, transparent 72%);
  pointer-events: none;
}

/* Kopf (Logo-Link) */
#luk-footer .luk-footer-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

#luk-footer .luk-footer-head:hover .luk-footer-brand strong {
  color: var(--footer-green);
}

#luk-footer .luk-footer-icon {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, #dff6e7, #bdecca);
  color: #173b2d;
  box-shadow: 0 6px 16px rgba(15, 107, 80, 0.10);
}

#luk-footer .luk-footer-icon svg {
  width: 28px;
  height: 28px;
}

#luk-footer .luk-footer-brand {
  display: block;
  min-width: 0;
}

#luk-footer .luk-footer-brand strong {
  display: block;
  margin: 0;
  color: var(--footer-title);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -0.035em;
  transition: color 0.2s ease;
}

#luk-footer .luk-footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

/* Hauptbereich */
#luk-footer .luk-footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
  gap: 34px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--footer-line);
}

#luk-footer .luk-footer-title {
  margin: 0;
  color: var(--footer-title) !important;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: -0.04em;
}

#luk-footer .luk-footer-text {
  max-width: 720px;
  margin: 13px 0 0;
  color: var(--footer-text) !important;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 520;
}

#luk-footer .luk-footer-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: max-content;
  margin: 18px 0 0;
  padding: 11px 13px;
  background: var(--footer-soft);
  border: 1px solid var(--footer-line-soft);
  border-radius: 13px;
  color: var(--footer-muted);
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 650;
}

#luk-footer :is(.luk-footer-address, .luk-footer-security-title, .luk-footer-security-list) svg {
  stroke: var(--footer-green);
}

#luk-footer :is(.luk-footer-address, .luk-footer-security-title) svg {
  width: 19px;
  height: 19px;
}

#luk-footer .luk-footer-address svg {
  margin-top: 1px;
}

/* Sicherheit */
#luk-footer .luk-footer-security {
  padding: 18px;
  background: var(--footer-panel);
  border: 1px solid var(--footer-line-soft);
  border-radius: 18px;
}

#luk-footer .luk-footer-security-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--footer-title);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
}

#luk-footer .luk-footer-security-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#luk-footer .luk-footer-security-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--footer-muted);
  font-size: 12.75px;
  line-height: 1.45;
  font-weight: 520;
}

#luk-footer .luk-footer-security-list svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  stroke-width: 2.2;
}

/* Fußzeile */
#luk-footer .luk-footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

#luk-footer .luk-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

#luk-footer .luk-footer-links a {
  color: var(--footer-link);
  font-weight: 650;
  text-decoration: none;
}

#luk-footer .luk-footer-links a:hover {
  color: var(--footer-link-hover);
}

#luk-footer .luk-footer-dot {
  color: #b9c3bd;
}

/* Dark Mode */
html.luk-dark #luk-footer {
  --footer-card: #10231c;
  --footer-soft: #183028;
  --footer-panel: #173027;
  --footer-title: #f7fbf9;
  --footer-text: #dce9e2;
  --footer-muted: #c4d8ce;
  --footer-link: #6fe0a8;
  --footer-link-hover: #ffffff;
  --footer-green: #a7efcb;
  --footer-line: #ffffff14;
  --footer-line-soft: #ffffff14;
}

html.luk-dark #luk-footer .luk-footer-card {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24), 0 24px 50px rgba(0, 0, 0, 0.30);
}

html.luk-dark #luk-footer .luk-footer-icon {
  background: #173027;
  color: #6fe0a8;
  box-shadow: none;
}

/* Arabische Schriften & RTL */
html:is([lang="ar"], [lang="fa"], [lang="ps"], [lang="ur"]) #luk-footer {
  font-family: var(--footer-font-arabic);
}

html:is([lang="ar"], [lang="fa"], [lang="ps"], [lang="ur"]) #luk-footer * {
  letter-spacing: 0;
}

html[dir="rtl"] #luk-footer {
  direction: rtl;
}

/* Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  #luk-footer * {
    transition: none !important;
  }
}

/* Tablet */
@media (max-width: 760px) {
  #luk-footer {
    padding: 16px 8px 102px;
  }

  #luk-footer .luk-footer-card {
    padding: 24px;
    border-radius: 24px;
  }

  #luk-footer .luk-footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* Smartphone */
@media (max-width: 480px) {
  #luk-footer {
    padding: 12px 8px 98px;
  }

  #luk-footer .luk-footer-card {
    padding: 19px;
    border-radius: 21px;
  }

  #luk-footer .luk-footer-head {
    gap: 11px;
  }

  #luk-footer .luk-footer-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  #luk-footer .luk-footer-icon svg {
    width: 24px;
    height: 24px;
  }

  #luk-footer .luk-footer-brand strong {
    font-size: 20px;
  }

  #luk-footer .luk-footer-brand span {
    font-size: 12px;
  }

  #luk-footer .luk-footer-main {
    margin-top: 20px;
    padding-top: 20px;
  }

  #luk-footer .luk-footer-title {
    font-size: 23px;
  }

  #luk-footer .luk-footer-text {
    font-size: 13.75px;
    line-height: 1.6;
  }

  #luk-footer .luk-footer-address {
    max-width: 100%;
    padding: 10px 11px;
    font-size: 12.75px;
  }

  #luk-footer .luk-footer-security {
    padding: 15px;
    border-radius: 16px;
  }

  #luk-footer .luk-footer-security-list li {
    font-size: 12.25px;
  }

  #luk-footer .luk-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
  }
}
