/*
 * Zoho Desk Help Center – Footer-CSS
 * Gehört zu footer-zoho-fragment.html. Einbinden: Zoho > Customize > CSS-Tab einfügen
 * oder als externe Datei verlinken, sofern Zoho das unterstützt.
 * Alle Regeln sind unter #dn-footer-root für hohe Spezifität; !important überschreibt Zohos Theme.
 *
 * Tailwind-Farbwerte (tailwind.config.js / Footer.jsx):
 *   bg-footer, fill footer     → #0D1637
 *   footer-light               → #1a2d5c
 *   text-gray-100, hover       → #f7fafc
 *   text-gray-300 (Footer)     → #e2e8f0
 *   text-gray-400 (Bottom)     → #cbd5e0
 *   border-gray-800            → #2d3748
 *   dn-yellow-400 (Telefon)    → #F9CD5D
 *   text-red-600 (Herz-Icon)   → #e53e3e
 *   white                      → #fff
 */

/* Zentrale Farbwerte aus Tailwind (tailwind.config.js) */
#dn-footer-root {
  --dn-footer-bg: #0D1637;
  --dn-footer-bg-light: #1a2d5c;
  --dn-footer-text: #e2e8f0;      /* gray-300 */
  --dn-footer-text-muted: #cbd5e0; /* gray-400 */
  --dn-footer-border: #2d3748;    /* gray-800 */
  --dn-footer-link-hover: #f7fafc; /* gray-100 */
  --dn-footer-phone: #F9CD5D;      /* dn-yellow-400 */
  --dn-footer-heart: #e53e3e;     /* red-600 */
  --dn-footer-white: #fff;
}

/* Footer-Basis (ehemals inline am <footer>) */
#dn-footer-root .dn-footer {
  font-family: 'Open Sans', Helvetica Neue, Helvetica, Arial, sans-serif !important;
  background-color: var(--dn-footer-bg) !important;
  color: var(--dn-footer-text) !important;
}

/* Welle SVG */
#dn-footer-root .dn-footer-wave {
  display: block !important;
  margin-bottom: -0.25rem !important;
  vertical-align: middle !important;
}
#dn-footer-root .dn-footer-wave path {
  fill: var(--dn-footer-bg) !important;
}

/* Innerer Container */
#dn-footer-root .dn-footer-inner {
  position: relative !important;
  background-color: var(--dn-footer-bg) !important;
  padding: 5rem 2.5rem 0 !important;
}
#dn-footer-root .dn-footer-content {
  position: relative !important;
  z-index: 10 !important;
}
#dn-footer-root .dn-footer-container {
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  max-width: 72rem !important;
}

/* Brand-Spalte (Logo + Adresse + Telefon + Social) */
#dn-footer-root .dn-footer-brand {
  grid-column: span 3 !important;
  margin-bottom: 0.25rem !important;
}

/* Links (Logo, Adresse, E-Mail, Listen-Links) */
#dn-footer-root .dn-footer-link {
  color: inherit !important;
  text-decoration: none !important;
}
#dn-footer-root .dn-footer-logo {
  width: 10rem !important;
  max-width: 100% !important;
}
#dn-footer-root .dn-footer-logo path,
#dn-footer-root .dn-footer-logo rect {
  fill: var(--dn-footer-white) !important;
}

/* Adresse / Telefon / E-Mail Blöcke */
#dn-footer-root .dn-footer-address {
  margin-bottom: 0.5rem !important;
  margin-top: 0.75rem !important;
  font-size: 0.875rem !important;
}
#dn-footer-root .dn-footer-phone-wrap,
#dn-footer-root .dn-footer-email-wrap {
  display: block !important;
  font-size: 0.875rem !important;
}
#dn-footer-root .dn-footer-email-wrap {
  margin: 0.5rem 0 !important;
}
#dn-footer-root .dn-footer-phone {
  color: var(--dn-footer-phone) !important;
  text-decoration: none !important;
}

/* Social-Icons */
#dn-footer-root .dn-footer-social {
  display: flex !important;
  list-style: none !important;
  margin: 1rem 0 0 !important;
  padding: 0 !important;
  color: var(--dn-footer-text) !important;
}
#dn-footer-root .dn-footer-social li {
  margin-right: 0.75rem !important;
}
#dn-footer-root .dn-footer-social svg {
  height: 1.25rem !important;
  width: 1.25rem !important;
  fill: currentColor !important;
}

/* Spalten Dienstleistungen / Firma */
#dn-footer-root .dn-footer-col {
  grid-column: span 2 !important;
  margin-bottom: 0.25rem !important;
  margin-right: 0.25rem !important;
}
#dn-footer-root .dn-footer-col:last-of-type {
  margin-right: 0 !important;
}
#dn-footer-root .dn-footer h4,
#dn-footer-root .dn-footer-heading {
  font-family: 'Ubuntu', sans-serif !important;
  font-weight: 600 !important;
  margin-bottom: 1.25rem !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
}
#dn-footer-root .dn-footer-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#dn-footer-root .dn-footer-list li {
  margin-bottom: 0.5rem !important;
  font-size: 0.875rem !important;
}

/* Bottom-Zeile (Copyright) */
#dn-footer-root .dn-footer-bottom-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 5rem !important;
  width: 100% !important;
  max-width: 72rem !important;
  border-top: 1px solid var(--dn-footer-border) !important;
  padding-bottom: 5rem !important;
  padding-top: 1.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  color: var(--dn-footer-text-muted) !important;
}
#dn-footer-root .dn-footer-bottom-text {
  grid-column: span 7 !important;
}
#dn-footer-root .dn-footer-credit {
  margin-bottom: 0.5rem !important;
  display: inline-block !important;
}
#dn-footer-root .dn-footer-icon {
  margin-left: 0.5rem !important;
  vertical-align: middle !important;
  height: 1rem !important;
  width: 1rem !important;
  fill: currentColor !important;
}
#dn-footer-root .dn-footer-heart-icon {
  vertical-align: middle !important;
  height: 1rem !important;
  width: 1rem !important;
  fill: var(--dn-footer-heart) !important;
}


#dn-footer-root .dn-footer a:hover {
  color: var(--dn-footer-link-hover) !important;
}

#dn-footer-root .dn-footer a.dn-footer-phone:hover {
  color: var(--dn-footer-phone) !important;
}

#dn-footer-root .dn-footer-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

#dn-footer-root .dn-footer-grid > * {
  margin-bottom: 0.25rem !important;
}

#dn-footer-root .dn-footer-grid > *:last-child {
  margin-bottom: 0 !important;
}

@media (min-width: 768px) {
  #dn-footer-root .dn-footer-grid {
    grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
  }

  #dn-footer-root .dn-footer-grid > * {
    margin-bottom: 0 !important;
    margin-right: 0.25rem !important;
  }

  #dn-footer-root .dn-footer-grid > *:last-child {
    margin-right: 0 !important;
  }

  #dn-footer-root .dn-footer-bottom-grid {
    grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
  }
}
