body {
    background: #f4f4f4;
}


/*
|--------------------------------------------------------------------------
| Wrapper
|--------------------------------------------------------------------------
*/

.sm-wrapper {

    max-width: 1280px;

    margin: 60px auto;

    padding: 0 20px;
}


/*
|--------------------------------------------------------------------------
| Filterbereich
|--------------------------------------------------------------------------
*/

.sm-filter-form {

    background: white;

    border-radius: 18px;

    padding: 24px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.06);

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    align-items: center;

    margin-bottom: 40px;
}

.sm-filter-form input,
.sm-filter-form select {

    flex: 1;

    min-width: 220px;

    padding: 16px 18px;

    border-radius: 12px;

    border: 1px solid #ddd;

    background: #fafafa;

    font-size: 16px;

    transition: all 0.2s ease;
}

.sm-filter-form input:focus,
.sm-filter-form select:focus {

    outline: none;

    border-color: #c40019;

    background: white;

    box-shadow:
        0 0 0 4px rgba(196,0,25,0.08);
}


/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.sm-filter-form button,
.sm-button {

    background: linear-gradient(
        135deg,
        #c40019,
        #8f0012
    );

    color: white;

    border: none;

    border-radius: 12px;

    padding: 15px 24px;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    text-decoration: none;

    transition: all 0.25s ease;

    display: inline-flex;

    align-items: center;

    justify-content: center;
}

.sm-filter-form button:hover,
.sm-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 24px rgba(196,0,25,0.25);

    color: white;
}


/*
|--------------------------------------------------------------------------
| Grid
|--------------------------------------------------------------------------
*/

.sm-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: 24px;
}


/*
|--------------------------------------------------------------------------
| Seminar Cards
|--------------------------------------------------------------------------
*/

.sm-card {

    background: white;

    border-radius: 18px;

    padding: 28px;

    position: relative;

    overflow: hidden;

    box-shadow:
        0 6px 24px rgba(0,0,0,0.06);

    transition: all 0.25s ease;

    border-top: 5px solid #c40019;
}

.sm-card:hover {

    transform: translateY(-6px);

    box-shadow:
        0 16px 40px rgba(0,0,0,0.12);
}


/*
|--------------------------------------------------------------------------
| Titel
|--------------------------------------------------------------------------
*/

.sm-card h3 {

    margin-top: 0;

    margin-bottom: 18px;

    color: #1f1f1f;

    font-size: 25px;

    line-height: 1.3;
}


/*
|--------------------------------------------------------------------------
| Texte
|--------------------------------------------------------------------------
*/

.sm-card p {

    margin-bottom: 12px;

    color: #555;

    line-height: 1.6;

    font-size: 15px;
}

.sm-card strong {

    color: #111;
}


/*
|--------------------------------------------------------------------------
| Kategorie Badges
|--------------------------------------------------------------------------
*/

.sm-category {

    display: inline-block;

    background: rgba(196,0,25,0.08);

    color: #c40019;

    padding: 7px 13px;

    border-radius: 999px;

    font-size: 13px;

    font-weight: 700;

    margin-right: 8px;

    margin-top: 8px;
}


/*
|--------------------------------------------------------------------------
| Button Abstand
|--------------------------------------------------------------------------
*/

.sm-button {

    margin-top: 22px;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .sm-filter-form {

        flex-direction: column;
    }

    .sm-filter-form input,
    .sm-filter-form select,
    .sm-filter-form button {

        width: 100%;
    }

    .sm-card {

        padding: 22px;
    }

    .sm-card h3 {

        font-size: 22px;
    }
}
.sm-card {
    cursor: pointer;
}

.sm-card-content {
    display: none;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eee;
}

.sm-card.active .sm-card-content {
    display: block;
}

.sm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sm-toggle-btn {
    font-size: 13px;
    font-weight: 700;
    color: #c40019;
    background: rgba(196,0,25,0.08);
    padding: 6px 10px;
    border-radius: 999px;
}