/* CSS für piktogramme Modul */

/* Piktogramme Styling - zusammengeführt */
.piktogramme {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    list-style: none;
    padding: 25px 0;
    margin: 2rem 0;
    justify-content: space-around;
    background-color: inherit;
}

.piktogramm-item {
    flex: 0 0 calc(33.333% - 2.5rem);
    max-width: calc(33.333% - 2.5rem);
    text-align: center;
}

.piktogramm-link,
.piktogramm-no-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.piktogramm-image {
    width: 86px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.piktogramm-link:hover .piktogramm-image {
    transform: scale(1.1);
    /* filter: invert(19%) sepia(90%) saturate(279%) hue-rotate(3deg) brightness(100%) contrast(100%); */
}

.piktogramm-link:hover .piktogramm-text {
    color: #deba70;
}

.piktogramm-text {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    line-height: 1.2;
}

.piktogramm-text.piktogramm-link {
    display: block; /* kein Flex: iOS-Safari zeichnet Unterstreichung sonst nicht */
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: #8c8c8c;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    /* Safari-spezifische Anpassungen (Kurzschreibweise mit Staerke wird von iOS verworfen) */
    -webkit-text-decoration-line: underline;
    -webkit-text-decoration-style: dotted;
    -webkit-text-decoration-color: #8c8c8c;
    -webkit-text-underline-offset: 4px;
}

.piktogramme .piktogramm-link:hover .piktogramm-text {
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: #deba70;
    text-decoration-thickness: 1px;
    /* Safari-spezifische Anpassungen */
    -webkit-text-decoration-line: underline;
    -webkit-text-decoration-style: dotted;
    -webkit-text-decoration-color: #deba70;
}

@media (max-width: 768px) {
    .piktogramm-item {
        flex: 0 0 calc(50% - 2.5rem);
        max-width: calc(50% - 2.5rem);
    }
}

/*
@media (max-width: 480px) {
    .piktogramm-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
*/