.ausbildungen-container {
    margin: 0 auto;
    padding: 20px;
}

body .ausbildungen-title {
    font-size: 2.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #030712;
	text-align: left;
    margin: 0 0 1.5rem;
}

body .ausbildungen-filter {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem; 
}

body button.filter-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
    font-style: Medium;
    font-size: 1rem; 
    line-height: 1;
    letter-spacing: -0.5%;
    border: 1px solid var(--gray-200, #E5E7EB);
    border-radius: 12px;
    background: transparent;
    color: #364153;
    padding: 9px 14px;
    text-transform: none;
    min-width: 60px;
    text-align: center;
	box-shadow: none;
}

body button.filter-btn:hover, body button.filter-btn.active {
	border-color: #42416C;
    color: #42416C;
	background: transparent;
	box-shadow: none;
	border-radius: 12px;
}

 
body .ausbildungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}
body .ausbildung-card {
    background: white;
    border-radius: 8px;
    overflow: hidden; 
	padding: 16px;
    transition: all 0.3s ease;
    position: relative; 
	display: flex;
	flex-direction: column;
}

body .ausbildung-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

body .ausbildung-card-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin-bottom: 1.25rem;
	flex: none
}
body .ausbildung-preis-current {
	font-weight: 500; 
	font-size: 0.875rem; 
	line-height: 1.4;  
    background-color: white;
    color: #030712;
    padding: 2px 6px;
    border-radius: 80px;
}
.ausbildung-types {
    display: flex;
  gap: 10px;
}
body .ausbildung-preis-old {
	font-weight: 500; 
	font-size: 0.875rem; 
	line-height: 1.4;  
    background-color: gray;
    color: #030712;
    padding: 2px 6px;
    border-radius: 80px;
    text-decoration: line-through;
}
body .ausbildung-typ {
	font-weight: 500; 
	font-size: 0.7rem; 
	line-height: 1.4;  
	color: white;
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}
.ausbildung-preis-inactive {
    display: none;
}
body .ausbildung-typ:before{
	content: '';
	position: relative;
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: white;
}

body h3.ausbildung-card-title {
	font-weight: 500; 
	font-size: 1.75rem; 
	line-height: 1.2; 
	color: white;
	margin: 0 0 0.5rem;
}

body .ausbildung-beschreibung {
	font-weight: 400; 
	font-size: 1rem; 
	line-height: 1.5; 
	color: white;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ausbildung-content{
	margin-bottom: 2rem;
	flex: 1;
}

body a.ausbildung-button {
    display: block;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    line-height: 2;
    background: white;
    text-transform: none;
    border: 1px solid white;
    color: #030712;
    width: 100%;
    padding: 9px;
	flex: none
}
body a.ausbildung-button:hover {
    background-color: #42416C;  
	border-color: #42416C;
    color: white; 
}

.ausbildung-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ausbildung-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ausbildung-card:hover .ausbildung-image img {
    transform: scale(1.05);
}

.no-courses {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin: 2rem 0;
    padding: 3rem;
    background-color: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #dee2e6;
}

.ausbildungen-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

.ausbildungen-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 1200px) {
    .ausbildungen-container {
        max-width: 100%;
        padding: 15px;
    }
    
    .ausbildungen-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .ausbildungen-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    } 
}

@media (max-width: 480px) {
 
    body .ausbildungen-title {
        font-size: 1.5rem;
    } 
	body h3.ausbildung-card-title{
		font-size: 1.25rem;
		
	}
}

.elementor-widget-ausbildungen_grid .ausbildungen-container {
    width: 100%;
}

.ausbildung-card {
    animation: fadeInUp 0.6s ease forwards;
}

.ausbildung-card:nth-child(1) { animation-delay: 0.1s; }
.ausbildung-card:nth-child(2) { animation-delay: 0.2s; }
.ausbildung-card:nth-child(3) { animation-delay: 0.3s; }
.ausbildung-card:nth-child(4) { animation-delay: 0.4s; }
.ausbildung-card:nth-child(5) { animation-delay: 0.5s; }
.ausbildung-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.single-ausbildung .entry-header {
    text-align: center;
    margin-bottom: 2rem;
}

.single-ausbildung .ausbildung-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.single-ausbildung .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.category-basis .ausbildung-card {
    border-left: 4px solid #28a745;
}

.category-spezialisierungen .ausbildung-card {
    border-left: 4px solid #007cba;
}

.category-weiterbildungen .ausbildung-card {
    border-left: 4px solid #6f42c1;
}

.category-workshops .ausbildung-card {
    border-left: 4px solid #fd7e14;
}

.category-basis .ausbildung-card:hover {
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.2);
}

.category-spezialisierungen .ausbildung-card:hover {
    box-shadow: 0 15px 35px rgba(0, 124, 186, 0.2);
}

.category-weiterbildungen .ausbildung-card:hover {
    box-shadow: 0 15px 35px rgba(111, 66, 193, 0.2);
}

.category-workshops .ausbildung-card:hover {
    box-shadow: 0 15px 35px rgba(253, 126, 20, 0.2);
}