css
.logo-img {
    filter: grayscale(100%) brightness(200%); /* Macht das Bild weiß */
    background: transparent; /* Funktioniert nur bei freigestellten PNGs */
    max-width: 200px; /* Passe die Größe an */
    height: auto;
}
/* styles.css */
/*.course-list {
    display: block;
    width: 100%;
    clear: both;
} 

.course {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    clear: both;
}
*/
.course-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}





.aktivpass {
    font-size: 0.8em;
    float: right;
}

.category-row {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.course-details, .details {
    display: block;
    width: 100%;
}
.course-details.expanded-only .beschreibung {
    grid-column: 3 / 6;
    font-family: titling-gothic-fb, sans-serif;
    font-size: 1.1em;
    line-height: 1.5;
    color: #fff;
}

/* Ergebnis-Container */.results-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 25px;
    line-height: 1.5;
}
.grid-item.beschreibung {
    line-height: 1.5; /* Oder z. B. 1.8, 20px, je nach gewünschtem Abstand */
}
#ergebnis {
    margin: 40px auto;
    position: relative;
    height: auto;
}

#ergebnis h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #fff;
}


/* Grid-Layout für Kurse */
.course-list {
    margin-top: 20px;
    display: flex;
	 
  flex-direction: column;
  /*  flex-wrap: wrap;*/
    gap: 25px;
}

.category-group {
    --kurs-action-rail: 10px;
    --kurs-view-toggle-rail: 140px;
}

.course {
 /*   flex: 1 1 300px;*/
    display: flex;
    flex-direction: column;
    border: 1px solid #fff;
    width: 100%;
    padding: 15px;
    margin-bottom: 0;
    padding-bottom: 50px;
    position: relative;
}

.course-wrap {
    width: 100%;
    margin-bottom: 20px;
}

.kurs-menu-btn {
    position: absolute;
    top: 15px;
    right: var(--kurs-action-rail, 10px);
    width: 20px;
    min-width: 20px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.25em;
    line-height: 1;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 4;
    opacity: 0.85;
}

.kurs-menu-btn:hover {
    opacity: 1;
}

/* Erste course-info Ebene */
.course-info:nth-child(1) {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr ;
    gap: 25px;
    align-items: center;
    margin-bottom: 10px;
}

.course-info:nth-child(1) .name {
    grid-column: 1 / 3;
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: underline;
    text-decoration-color: hsla(129, 89%, 61%, 1);
    text-decoration-thickness: 2px;
    color: #fff;
}

.course-info:nth-child(1) .alterspanne {
    grid-column: 4 / 5;
    color: #fff;
    font-size: 12px;
}

.course-info:nth-child(1) .status {
    grid-column: 5 / 6;
    color: #fff;
    font-size: 12px;
}

.course-info:nth-child(1) .aktivpass {
    grid-column: 6 / 7;
    color: #AC0002;
    font-style: italic;
    text-shadow: 0 0 69px hsla(0, 0%, 100%, 1);
    font-size: 12px;
}

/* Zweite course-info Ebene */
.course-info:nth-child(2) {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr ;
    gap: 25px;
    align-items: center;
    margin-bottom: 10px;
}

.course-info:nth-child(2) .organisation {
    grid-column: 1 / 3;
    font-weight: normal;
    color: #fff;
    font-size: 12px;
}

.course-info:nth-child(2) .distance {
    grid-column: 3 / 4;
    color: #fff;
    font-size: 12px;
}

.course-info:nth-child(2) .zeit {
    grid-column: 4 / 5;
    color: #fff;
    font-size: 12px;
}

.course-info:nth-child(2) .kursdauer {
    grid-column: 5 / 6;
    color: #fff;
    font-size: 12px;
    white-space: normal;
}

.course-info:nth-child(2) .price {
    grid-column: 6 / 7;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
}

.course-info:nth-child(2) .price::after {
    content: '\A';
    white-space: pre;
}

/* course-details */
.course-details.expanded-only {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr ;
    gap: 25px;
    align-items: flex-start;
}

/* Logo */
.course-details.expanded-only img {
    grid-column: 1 / 2;
    max-width: 60px;
    height: auto;
    align-self: start;
}

/* Adresse */
.course-details.expanded-only .adresse {
    grid-column: 2 / 3;
    font-family: titling-gothic-fb, sans-serif;
    font-size: 1.0em;
    line-height: 1.4;
    color: #fff;
}



/* Details-Bereich */
.details {
    margin-top: 80px;
    padding: 10px;
    color: #fff;
}

.details p {
    line-height: 1.5em; /* Angepasster Zeilenabstand */
    margin-bottom: 8px;
}

.toggle-beschreibung {
    background: #27aec6;
    color: white;
    border: none;
    margin-left: 0px !important;
    padding-top: 5px;
    padding-bottom: 5px ;
    cursor: pointer;
    border-radius: 3px;
    align-self: flex-start;
    font-size: 1.05em;
}

.toggle-beschreibung:hover {
    background: #1e8fa3;
}

.kursbild-preview {
    cursor: zoom-in;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kursbild-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.kursbild-preview:focus-visible {
    outline: 2px solid #27aec6;
    outline-offset: 3px;
}

#global-kursbild-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100002;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.global-kursbild-frame {
    position: relative;
    display: inline-block;
    background: #fff;
    padding: 12px;
    line-height: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

#global-kursbild-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 88vw;
    max-height: 86vh;
    border-radius: 0;
}

#global-kursbild-close {
    position: absolute;
    top: 0;
    left: calc(100% + 14px);
    float: none;
    width: 42px;
    min-width: 0;
    max-width: 42px;
    height: 42px;
    min-height: 0;
    margin: 0;
    margin-left: 0;
    padding: 0;
    padding-top: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    text-align: center;
    vertical-align: top;
    cursor: pointer;
    box-sizing: border-box;
    z-index: 3;
}

#global-kursbild-close:hover {
    opacity: 0.8;
    background: none;
}

.category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    position: relative;
    padding-right: 10.5em;
}

.kurs-ansicht-hinweis {
    margin: 0 0 18px;
    padding: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.45;
}

/* Globales button { width:25%; min-width:200px; float:left; height:40px } zurücksetzen */
.kurs-ansicht-hinweis-aktion {
    display: inline !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    font: inherit !important;
    font-weight: 500 !important;
    color: #99ff46 !important;
    white-space: nowrap;
    text-align: left !important;
    text-decoration: underline !important;
    text-decoration-color: #99ff46 !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.12em;
    vertical-align: baseline;
    position: relative;
    z-index: 2;
    pointer-events: auto !important;
    box-sizing: content-box !important;
    cursor: pointer !important;
    transition: color 0.15s ease, text-decoration-thickness 0.15s ease, filter 0.15s ease;
}
.kurs-ansicht-hinweis-aktion:hover,
.kurs-ansicht-hinweis-aktion:focus-visible {
    color: #b8ff7a !important;
    text-decoration-thickness: 2px;
    filter: brightness(1.08);
    outline: none;
}

.view-toggle {
    position: absolute;
    right: var(--kurs-view-toggle-rail, 140px);
    top: 0;
    width: auto;
    text-align: right;
}

.view-toggle-btn,
.course-toggle-btn.view-toggle-btn {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    font-size: 16px;
    color: #99ff46;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    gap: 0.4em;
    line-height: 1.2;
    text-align: right;
    position: static;
    box-sizing: content-box;
    vertical-align: middle;
}

.view-toggle-icon {
    flex: 0 0 auto;
    width: auto;
    font-size: 1.05em;
    line-height: 1;
    text-align: left;
    color: #99ff46;
}

.view-toggle-label {
    font-size: 1.1em;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.15;
    white-space: nowrap;
    color: #99ff46;
    opacity: 1;
    transition: color 0.15s ease, filter 0.15s ease;
}
.view-toggle-btn:hover .view-toggle-label,
.view-toggle-btn:focus-visible .view-toggle-label {
    color: #b8ff7a;
    filter: brightness(1.08);
}
.view-toggle-btn:hover .view-toggle-icon,
.view-toggle-btn:focus-visible .view-toggle-icon {
    filter: brightness(1.12);
}

.course-toggle-btn:not(.view-toggle-btn) {
    font-size: 16px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    width: auto;
    min-width: 0;
    line-height: 1.2;
    text-align: left;
}

.course-list.expanded .reduced-only {
    display: none !important;
}

.course-list.collapsed .expanded-only,
.course-list.reduced .expanded-only,
.course-list:not(.expanded) .expanded-only {
    display: none !important;
}

.course-list.expanded .expanded-only {
    display: grid !important;
}

.course-list.collapsed .reduced-only,
.course-list.reduced .reduced-only {
    display: block !important;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
    .course-list {
        flex-direction: column;
    }

    .course-info:nth-child(1),
    .course-info:nth-child(2) {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .course-info:nth-child(1) .name,
    .course-info:nth-child(1) .alterspanne,
    .course-info:nth-child(1) .status,
    .course-info:nth-child(1) .aktivpass,
    .course-info:nth-child(2) .organisation,
    .course-info:nth-child(2) .distance,
    .course-info:nth-child(2) .zeit,
    .course-info:nth-child(2) .kursdauer,
    .course-info:nth-child(2) .price {
        grid-column: 1 / 2;
    }

    .course-details {
        grid-template-columns: 1fr;
    }

    .course-details img,
    .course-details .adresse,
    .course-details .beschreibung {
        grid-column: 1 / 2;
    }

    .category-row {
        padding-right: 9.5em;
    }

    .view-toggle-btn,
    .course-toggle-btn.view-toggle-btn {
        font-size: 14px;
    }

    .view-toggle-label {
        font-size: 1.1em;
    }
}
