/* Navigation Effekte */
.nav-link svg {
  filter: grayscale(100%);
  transition: filter 0.3s, color 0.3s;
}
.nav-link:hover svg,
.nav-link.active-link svg {
  filter: grayscale(0%);
  color: #dc2626;
}
.nav-link.active-link {
  background-color: #fef2f2;
  color: #dc2626;
}

/* Sanftes Scrollen */
html {
  scroll-behavior: smooth;
}

/* Navbar Scroll-Effekt */
.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   Ansprechpartner (Section + Cards) – passend zum Rest (Tailwind-Look)
   ========================================================= */

/* Section spacing optional (falls du Bootstrap-Klassen nutzt) */
#ansprechpartner {
  background: #ffffff;
}

/* Falls du im Ansprechpartner-Block noch .container / .row / .col-* nutzt (Bootstrap-like),
   aber kein Bootstrap geladen ist, geben wir eine kleine Basis. */
#ansprechpartner .container {
  max-width: 72rem;           /* ähnlich max-w-6xl */
  margin: 0 auto;
  padding-left: 1.5rem;       /* px-6 */
  padding-right: 1.5rem;
}

#ansprechpartner .row {
  display: grid;
  gap: 1.5rem;                /* g-4 */
}

/* Responsive Grid ähnlich wie deine Seite */
@media (min-width: 768px) {
  #ansprechpartner .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  #ansprechpartner .row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#ansprechpartner .mb-4 { margin-bottom: 1.5rem; }
#ansprechpartner .mb-5 { margin-bottom: 3rem; }

/* Titel-Styles (falls du die Bootstrap Klassen im Block nutzt) */
#ansprechpartner h2 {
  font-size: 1.875rem;        /* text-3xl */
  line-height: 2.25rem;
  font-weight: 700;
  color: #111827;             /* gray-900 */
}

#ansprechpartner .text-secondary {
  color: #6b7280;             /* gray-500 */
  font-size: 1.125rem;        /* text-lg */
}

/* =========================================================
   Card Look – wie deine anderen Karten (border + hover shadow + scale)
   ========================================================= */

#ansprechpartner .card {
  height: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;  /* gray-200 */
  border-radius: 0.75rem;     /* rounded-lg */
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  overflow: hidden;
}

#ansprechpartner .card-body {
  padding: 1.5rem;            /* p-6 */
}

/* Hover wie in Leistungen/Über uns */
#ansprechpartner .hover-card:hover,
#ansprechpartner .card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  border-color: rgba(220, 38, 38, 0.25); /* red-600 mit Alpha */
}

/* Badge im Tailwind-Stil statt Bootstrap */
#ansprechpartner .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;       /* pill */
  background: #fee2e2;         /* red-100 */
  color: #dc2626;              /* red-600 */
  font-weight: 600;
  font-size: 0.75rem;          /* text-xs */
  letter-spacing: 0.01em;
}

/* Name */
#ansprechpartner h6 {
  margin-top: 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;              /* gray-900 */
}

/* Text + Links */
#ansprechpartner p.small {
  margin: 0.35rem 0;
  font-size: 0.95rem;
  color: #374151;              /* gray-700 */
  line-height: 1.4;
}

#ansprechpartner a.link-dark,
#ansprechpartner a {
  color: #111827;              /* gray-900 */
  text-decoration: none;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

#ansprechpartner a:hover {
  color: #dc2626;              /* red-600 */
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(220, 38, 38, 0.35);
}

/* Icons (Bootstrap Icons sind in deinem Code, aber nicht eingebunden).
   Falls du sie einbindest, passt das hier. Wenn nicht, stört es nicht. */
#ansprechpartner i.bi {
  color: #dc2626;              /* red-600 */
  opacity: 0.9;
}

/* Kleine Linien/Divider (dein roter Balken im Titel) */
#ansprechpartner .bg-danger {
  background: #dc2626 !important; /* red-600 */
}

/* Optional: bessere Lesbarkeit auf sehr kleinen Screens */
@media (max-width: 420px) {
  #ansprechpartner .card-body { padding: 1.1rem; }
  #ansprechpartner h2 { font-size: 1.6rem; }
}