/* Mike Menu – Hover wie Dropdown */
/* Basis */
.mike-menu a {
  display: block;
  padding: 10px 16px;
  color: #212529;
  background-color: transparent;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover & Fokus – wie Dropdown */
.mike-menu a:hover,
.mike-menu a:focus {
  background-color: var(--bs-primary);
  color: #fff;
}

/* Aktiver Eintrag */
.mike-menu li.active > a,
.mike-menu a.active {
  background-color: var(--bs-primary);
  color: #fff;
}






/* Abstand bei Anker */
.anker {
    display: block;
    position: relative;
    top: -50px;
    visibility: hidden;
}


/* roter Balken vor Überschrift */
.mike-balken {
  position: relative;
  padding-left: 2px;        /* Abstand Text zum linken Balken */
  margin-bottom: 15px;       /* Abstand zur grauen Linie */
}

/* Roter Balken links */
.mike-balken::before {
  content: "";
  display: inline-block;
  position: relative;
  top: -0.1em;
  vertical-align: middle;
  height: calc(4px + .7em);
  margin-right: calc(5px + .2em);
  border-left: calc(5px + .1em) solid #e84133;
}
/* Graue Linie unter der Überschrift */
.mike-balken::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;             /* Abstand unter der Überschrift */
  width: 100%;               /* volle Breite */
  height: 1px;
  background-color: #adb5bd; /* hellgrau */
}


/* Modul allgemein */
.team-grid ul,
.team-grid .items,
.team-grid .blog-items {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Einzelne Beiträge */
.team-grid li,
.team-grid .item,
.team-grid .blog-item {
  width: 100% !important;
  float: none !important;
  background: #ffffff;
}

/* Tablet */
@media (max-width: 991px) {
  .team-grid ul,
  .team-grid .items,
  .team-grid .blog-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Smartphone */
@media (max-width: 575px) {
  .team-grid ul,
  .team-grid .items,
  .team-grid .blog-items {
    grid-template-columns: 1fr;
  }
}
/* 3-Spalten Blog-Modul */
.mod-blog-3cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mod-blog-3cols .item-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.mod-blog-3cols .item-title {
    font-size: 1.2rem;
    margin: 10px 0 8px;
}

.mod-blog-3cols .item-introtext {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.mod-blog-3cols .item-footer .btn {
    font-size: 0.85rem;
    padding: 5px 12px;
}

/* Tablet */
@media (max-width: 991px) {
    .mod-blog-3cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobil */
@media (max-width: 575px) {
    .mod-blog-3cols {
        grid-template-columns: 1fr;
    }
}
.mod-blog-3cols .item-title {
    position: relative;
    padding-bottom: 12px; /* Platz für den Strich */
    margin-bottom: 20px;
}

.mod-blog-3cols .item-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;             /* Länge des farbigen Balkens */
    height: 3px;             /* Höhe des farbigen Balkens */
    background-color: #d23f3f; /* Farbe des farbigen Balkens, bitte ggf. anpassen */
    border-radius: 2px 0 0 2px; /* Leicht abgerundete linke Ecken */
}

.mod-blog-3cols .item-title::after {
    content: "";
    position: absolute;
    bottom: 1px;              /* leicht versetzt zur Unterkante */
    left: 50px;               /* startet direkt nach dem farbigen Balken */
    right: 0;
    height: 1px;              /* dünne Linie */
    background-color: #ddd;   /* helle Linie */
}
/* neu */
.item-category {
    display: inline-block;
    padding: 3px 8px;       /* Innenabstand */
    border: 1px solid #333; /* Rahmenfarbe */
    border-radius: 4px;     /* Ecken abrunden */
    font-size: 0.85rem;     /* Schriftgröße etwas kleiner */
    background-color: #f5f5f5; /* optional: hellgrauer Hintergrund */
    margin-top: 5px;        /* Abstand zum Titel */
    margin-bottom: 10px;    /* Abstand zum Text darunter */
}
.item-category a {
    text-decoration: none;  /* Link ohne Unterstrich */
    color: #333;            /* Linkfarbe */
}
.item-category a:hover {
    text-decoration: underline;
}

