.au-projekte__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.au-projekte__filter {
    border: 0px solid currentColor;
    background: transparent;
    padding: 0.45rem 0.75rem;
    cursor: pointer;
}

.au-projekte__filter.is-active {
    font-weight: 600;
}

.au-projekte__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    margin: 60px auto;
    gap: 44px 0;
}

.au-projekte__card {
    grid-column: span 12;
    min-height: 600px;
    border-radius: 20px;
    overflow: hidden;
}

.au-projekte__cardLink {
    width: 100%;
    height: 100%;
    display: inline-block;
    position: relative;
}

.au-projekte__mandatsname {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    border-radius: 10px;
    background: var(--Coral-Bleached, #fde8e7);
    font-size: 18px;
    font-weight: 400;
    color: var(--e-global-color-c9ba4d3, #742b3b);
    z-index: 10;
}

.au-projekte__title_box {
    position: absolute;
    background: linear-gradient(
        180deg,
        rgba(235, 92, 95, 0) 0%,
        rgba(235, 92, 95, 1) 100%
    );
    height: 205px;
    padding: 64px 16px 32px 16px;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.au-projekte__title_content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateY(40px);
    transition: transform 0.4s ease;
}

.au-projekte__card:hover .au-projekte__title_content {
    transform: translateY(0);
}

.au-projekte__arrow {
    width: 69px;
    height: 32px;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.au-projekte__card:hover .au-projekte__arrow {
    opacity: 1;
}

@media (min-width: 768px) {
    .au-projekte__grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 65px;
        width: calc(100% - 240px);
        margin: 60px auto;
    }

    .au-projekte__card {
        grid-column: span 6;
    }

    .au-projekte__grid {
        margin-top: 120px;
    }

    .au-projekte__card:nth-child(2n + 1) {
        margin-top: -60px;
        margin-bottom: 60px;
    }

    .au-projekte__card:nth-child(2n) {
        margin-top: 60px;
        margin-bottom: -60px;
    }
}
@media (min-width: 1024px) {
    .au-projekte__card {
        grid-column: span 6;
    }
}

.au-projekte__thumb {
    display: contents;
}

.au-projekte__thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    height: 100%;
    transition: transform 0.4s ease;
}

.au-projekte__card:hover .au-projekte__thumb img {
    transform: scale(1.05);
}

.au-projekte__subtitle {
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    color: #fde8e7;
}

.au-projekte__title {
    margin: 0.75rem 0 0.25rem;
}

h3.au-projekte__title {
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    color: #fde8e7;
    margin: 0;
}

.au-projekte__actions {
    margin-top: 1rem;
    text-align: center;
}

.au-projekte__more {
    border-radius: 144px;
    border: 1px solid #742b3b;
    background: transparent;
    padding: 0.6rem 1rem;
    cursor: pointer;
    padding: 10px 28px;
    justify-content: center;
    align-items: center;
    margin-top: 64px;
    font-weight: 600;
    color: #742b3b;
}

.au-projekte__more:hover {
    background-color: #eb5c5f !important;
    border: 1px solid #eb5c5f !important;
}

/* AU Projekte Filter – Look wie Screenshot */
.au-projekte__filters {
    color: var(--e-global-color-c9ba4d3);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.25rem;
    margin: 0;
    padding: 0.75rem 0;
    font-size: 18px;
}

.au-projekte__filters--primary {
    border-bottom: 1px solid var(--e-global-color-c9ba4d3);
    padding-bottom: 0.9rem;
    margin-bottom: 0.75rem;
}

.au-projekte__filters--secondary {
    gap: 1.75rem;
    padding-top: 0;
}

/* Buttons wie Textlinks */
.au-projekte__filter {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;

    font: inherit;
    color: inherit;
    line-height: 1.2;
    opacity: 0.9;
}

.au-projekte__filter:hover,
.au-projekte__filter:active,
.au-projekte__filter:focus {
    opacity: 1;
    color: var(--e-global-color-feab5a3);
    background-color: transparent;
}

.au-projekte__filter.is-active {
    font-weight: 700;
    opacity: 1;
}

/* Mobile Select Dropdowns */
.au-projekte__select-wrapper {
    display: none;
    margin-bottom: 1rem;
}

.au-projekte__select-wrapper--primary {
    margin-bottom: 16px;
}

.au-projekte__select {
    width: 262px;
    padding: 10px 24px 12px 24px;
    font-size: 16.8px;
    font-style: normal;
    font-weight: 600;
    border: 1px solid var(--e-global-color-c9ba4d3, #742b3b);
    border-radius: 25px;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='11' viewBox='0 0 17 11' fill='none'%3E%3Cpath d='M15.536 1.20001L8.36801 8.81601L1.20001 1.20001' stroke='%23742B3B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 17px 11px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: var(--e-global-color-c9ba4d3, #742b3b);
    cursor: pointer;
}

.au-projekte__select:focus {
    outline: none;
    border-color: var(--e-global-color-feab5a3, #742b3b);
}

/* Mobile: weniger Abstand */
@media (max-width: 767px) {
    .au-projekte__filters {
        gap: 1rem;
    }
    .au-projekte__filters--primary {
        margin-bottom: 0.5rem;
    }

    /* Mobile: Buttons verstecken, Selects anzeigen */
    .au-projekte__filters--desktop {
        display: none !important;
    }

    .au-projekte__select-wrapper {
        display: block;
    }
}

/* PDF Download Links */
.projekt-pdf-link {
    display: flex;
    align-items: center;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.projekt-pdf-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46.08px;
    height: 46.08px;
    border: 1px solid var(--Black-Forest, #2d4c50);
    border-radius: 23.04px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: #2d4c50;
}

.projekt-links a {
    color: #2d4c50;
    text-decoration: none !important;
}

.projekt-pdf-icon svg {
    width: 22px;
    height: 20px;
}

.projekt-pdf-text {
    flex: 1;
}

.projekt-pdf-link:hover .projekt-pdf-icon {
    background-color: #348580;
    border-color: #348580;
    color: #fff;
}

.projekt-pdfs {
    margin-bottom: 40px;
}

.projekt-links li a:hover {
    text-decoration: none;
}

.single-projekt h2 {
    font-size: 32px;
    margin-top: 80px;
    margin-bottom: 40px;
}

.single-projekt h3,
.single-post h3 {
    font-size: 20px;
}
