/* =========================================================
   23 – Events
   ========================================================= */

.wf-element-23 {
    position: relative;
    width: 100%;
}

.wf-element-23::before {
    position: absolute;
    z-index: 0;
    top: clamp(180px, 12vw, 240px);
    right: 0;
    bottom: 0;
    left: 0;
    content: "";    
	background-color: rgba(0, 0, 0, 0.02);	
    pointer-events: none;
}

.wf-element-23 > .wf-container-xxl {
    position: relative;
    z-index: 1;
}



.wf-events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(40px, 6vw, 110px);
    row-gap: clamp(70px, 9vw, 150px);
}

.wf-event-item {
    min-width: 0;
}

.wf-event-item:nth-child(even) {
    margin-top: clamp(30px, 4vw, 65px);
}

/* =========================================================
   Bild / Parallax
   ========================================================= */

.wf-event-image-wrapper {
    position: relative;
    width: 100%;
}

.wf-event-image-wrapper .wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 850;
    overflow: hidden;
}

.wf-event-image {
    position: absolute;
    top: 0;
    left: -6%;
    display: block;
    width: 112%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   Inhalt
   ========================================================= */
.wf-event-content {
    padding-top: clamp(24px, 2.5vw, 38px);
}

.wf-event-date {
    margin: 0 0 12px;
    color: #d5b297;
    font-family: "Noto Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.wf-event-title {
    margin: 0 0 8px;
    color: inherit;
    font-size: clamp(2rem, 2vw, 2.4rem);
    font-weight: 400;
    line-height: 1.08;
}

.wf-event-location {
    margin: 0 0 18px;
    color: #8a7564;
    font-family: "Noto Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}



.wf-event-text {
    max-width: 680px;
    color: inherit;
    font-size: 1rem;
    line-height: 1.75;
}

.wf-event-text > *:first-child {
    margin-top: 0;
}

.wf-event-text > *:last-child {
    margin-bottom: 0;
}


/* =========================================================
   Link
   ========================================================= */

.wf-event-link {
    display: inline-block;
    margin-top: 24px;
    color: inherit;
    font-family: "Noto Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.wf-event-link:hover {
    color: #d5b297;
    border-color: #d5b297;
}

.wf-event-link:focus-visible {
    color: inherit;
    outline: 3px solid #e1ac3b;
    outline-offset: 5px;
}


/* =========================================================
   Tablet Portrait
   ========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .wf-events-grid {
        column-gap: 35px;
        row-gap: 80px;
    }

    .wf-event-item:nth-child(even) {
        margin-top: 35px;
    }

    .wf-event-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

}


/* =========================================================
   Smartphone
   ========================================================= */

@media (max-width: 767px) {

    .wf-events-grid {
        grid-template-columns: 1fr;
        row-gap: 65px;
    }

	.wf-element-23::before {
		top: 130px;
	}


    .wf-event-item:nth-child(even) {
        margin-top: 0;
    }

    .wf-event-image-wrapper .wrapper {
        aspect-ratio: 4 / 3;
    }

    .wf-event-content {
        padding-top: 22px;
    }

    .wf-event-date {
        margin-bottom: 10px;
        font-size: 0.82rem;
    }

    .wf-event-title {
        margin-bottom: 15px;
        font-size: clamp(1.8rem, 9vw, 2.6rem);
    }

    .wf-event-text {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .wf-event-link {
        margin-top: 20px;
    }

}


/* =========================================================
   Reduzierte Bewegung
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .wf-event-image {
        left: 0;
        width: 100%;
        transform: none !important;
    }

    .wf-event-link {
        transition: none;
    }

}