.elementor-12416 .elementor-element.elementor-element-5458e89{margin-top:75px;margin-bottom:195px;padding:40px 40px 40px 40px;}.elementor-12416 .elementor-element.elementor-element-e7b6165{margin-top:16px;margin-bottom:28px;}/* Start custom CSS for html, class: .elementor-element-c958427 *//* Tabs wie zuvor: schlanke Textlinks mit Unterstreichung beim aktiven Tab */
.ehbs-tabs{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  align-items:center;
  margin:8px 0 6px;
}

/* alle Browser-Styles und evtl. Theme/Elementor-Styles neutralisieren */
.ehbs-tab{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:6px 0 !important;
  margin:0 !important;
  cursor:pointer;
  font-weight:600;
  color:#2F3A45;           /* normaler Tab-Text */
  position:relative;
  line-height:1.2;
}

/* dezenter Hover */
.ehbs-tab:hover{
  color:#232E6A;
}

/* aktive Markierung wie vorher: rote Linie unten, Text dunkler */
.ehbs-tab.active{
  color:#232E6A;
}
.ehbs-tab::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-6px;
  height:2px; 
  background:transparent;
  transition:background .2s ease;
}
.ehbs-tab.active::after{
  background:#B22222;     /* EHBS-Rot für Unterstreichung */
}

/* Suche & Trefferanzeige wie vorher unter den Tabs */
.ehbs-kurse-controls{
  display:flex;
  gap:12px;
  align-items:center;
  margin:10px 0 14px;
}
.ehbs-kurse-controls input{
  min-width:260px;
  padding:10px 12px;
  border:1px solid #E4E7EB;
  border-radius:8px;
}
/* === EHBS Kurskarten – visuelle Wiederherstellung === */

/* Kartenraster */
#ehbs-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 10px;
}

/* Einzelne Karte */
.ehbs-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 16px 20px 18px;
  transition: all 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hover-Effekt */
.ehbs-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Überschrift */
.ehbs-card h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}

/* Meta / Text */
.ehbs-meta {
  color: #444;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
/* === EHBS-Button-Design === */
.ehbs-btn {
  align-self: flex-start;
  background-color: #232e6a;   /* EHBS-Blau */
  color: #fff !important;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  text-decoration: none !important;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.ehbs-btn:hover,
.ehbs-btn:focus-visible {
  background-color: #ac1410;   /* EHBS-Rot beim Hover/Fokus */
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(172,20,16,0.25);
}

.ehbs-btn:focus-visible {
  outline: 2px solid #ac1410;
  outline-offset: 2px;
}/* End custom CSS */