a.underline:hover {
    text-decoration: underline;
}
.et_pb_button {
    font-size: var(--font-size-body) !important;
}
/* Events Overview Slider Styles */
.events-overview-container {
    width: 100%;
    margin: 20px 0;
}

.events-overview-slider {
    width: 100%;
}

.event-slide {
    padding: 0 15px;
    box-sizing: border-box;
}

/* Klickbare Card Links */
.event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.event-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.event-card {
    background: #F4EEE5;
    border: 1px solid #F4EEE5;
    border-radius: 0;
    padding: 35px;
    margin: 10px 0;
    box-shadow: none;
    transition: all 0.3s ease;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    min-height: 400px;
}


/* Event Header */
.event-header {
    margin-bottom: 30px;
}

.event-title {
    font-weight: 700;
   
    text-transform: uppercase;
    font-size: var(--font-size-body);
  }

.event-date-time {
    display: flex;
    align-items: baseline;
    gap: 30px;
    margin-bottom: 20px;
    justify-content: space-between;
}

.event-date {
    font-size: var(--font-size-h2);
    font-weight: 900;
}

.event-time {
    font-size: var(--font-size-h2);
    font-weight: 900;
}

/* Event Description */
.event-description {
    flex-grow: 1;
    margin-bottom: 30px;
    order: 2;
}

.event-description p {
    margin: 0;
    max-height: 140px;
    overflow: clip;
    transition: max-height 0.3s ease;
  }

  .event-description p:hover {
    transition: max-height 0.3s ease;
    max-height: 1000px;
   }


/* Event Location */
.event-location {
    margin-bottom: 30px;
    order: 3;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.event-venue {
    font-weight: 700;
   
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-address {
    color: #333;
}


/* Slick Slider Custom Styles */
.events-overview-slider .slick-dots {
    bottom: 0;
    text-align: center;
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }

/* Verstecke Dots wenn nur ein Dot vorhanden ist */
.events-overview-slider .slick-dots li:only-child {
    display: none !important;
}

/* Verstecke komplette Dots-Container wenn nicht nötig */
.events-overview-slider .slick-dots:has(li:only-child) {
    display: none !important;
}

.events-overview-slider .slick-dots li {
    display: inline-block;
    margin: 0 8px;
    width: auto;
    height: auto;
}

.events-overview-slider .slick-dots li button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #666;
  border: 2px solid #666;
    cursor: pointer;
    font-size: 0;
    text-indent: -9999px;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.events-overview-slider .slick-dots li.slick-active button {
    background: #333;
    border-color: #333;
    transform: scale(1.2);
}

.events-overview-slider .slick-dots li button:hover {
    background: #000;
    border-color: #000;
    transform: scale(1.1);
}

/* Custom Arrow Styles */
.events-overview-container {
    position: relative;
}

.events-slider-prev,
.events-slider-next {
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.events-slider-prev:hover,
.events-slider-next:hover {
    transform: translateY(-50%) scale(1.15);
}

.events-slider-prev:before,
.events-slider-next:before {
    font-family: inherit;
}

.events-slider-prev {
    left: -30px;
}

.events-slider-next {
    right: -30px;
}

.events-slider-prev span,
.events-slider-next span {
    display: block;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 1280px) {
    .event-card {
        height: auto;
        padding: 30px;
    }
    
    .event-date,
    .event-time {
        font-size: var(--font-size-h2);
    }
}

@media (max-width: 1024px) {
    .event-card {
        height: auto;
        padding: 25px;
    }
    
    
    .event-date,
    .event-time {
        font-size: var(--font-size-h2);
    }
}

@media (max-width: 768px) {
    .events-overview-slider {
        padding: 0 20px;
    }
    
    .event-slide {
        padding: 0 5px;
    }
    
    .event-card {
        height: auto;
        min-height: 350px;
        padding: 20px;
    }
    
    .event-title {
        font-size: 1.2rem;
    }
    

    .events-slider-prev,
    .events-slider-next {
        display: none;
    }
        
}

@media (max-width: 600px) {
    .events-overview-slider {
        padding: 0 5px;
    }

    .event-slide {
        padding: 0 5px;
    }
    
    .event-card {
        padding: 20px;
        margin: 10px;
    }
    
    
    .event-date-time {
        gap: 15px;
    }
    
    .events-slider-prev,
    .events-slider-next {
        display: none;
    }
    
    .events-overview-slider .slick-dots {
        bottom: -30px;
    }
    .slick-arrow {
        display: none !important;
      }
}

/* Additional Layout Improvements */
.events-overview-container .slick-slider {
    margin-bottom: 60px;
}

.events-overview-container .slick-track {
    display: flex;
    align-items: stretch;
}

.events-overview-container .slick-slide {
    height: auto;
    display: flex;
}

.events-overview-container .slick-slide > div {
    width: 100%;
}

/* Loading State */
.events-overview-slider.slick-loading {
    opacity: 0.5;
}

.events-overview-slider.slick-initialized {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Event Details Styles */
.event-details-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
}

/* Event Navigation */
.event-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0 -80px;
}

.event-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    pointer-events: all;
    position: relative;
  }

.event-nav-arrow:hover {
    transform: scale(1.3);
    text-decoration: none;
}

.event-nav-prev {
    margin-left: -80px;
}

.event-nav-next {
    margin-right: -80px;
}

.event-nav-disabled {
    opacity: 0;
    pointer-events: none;
}

.event-nav-arrow span {
    line-height: 1;
    display: block;
}

.event-details-card {
    background: white;
    border-radius: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-top: 150px;  
}

.event-details-image {
    width: 50%;
    height: 300px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
      margin-bottom: auto;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-50%);
    background: white;
    padding: 15px;
    margin-bottom: -150px;
  }

  .event-details-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

.event-details-content {
    padding: 40px;
}

.event-description-full p {
    margin-bottom: 40px;
}

.event-description-full p:last-child {
    margin-bottom: 0;
}

.event-description-full h2,
.event-description-full h3,
.event-description-full h4 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.event-description-full ul,
.event-description-full ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.event-description-full li {
    margin-bottom: 8px;
}



@media (max-width: 1024px) {
    .event-nav-prev {
        margin-left: -20px;
    }
    
    .event-nav-next {
        margin-right: -20px;
    }
    
    .event-nav-arrow {
        font-size: 1.4rem;
    }
}

/* Past Events Overview Styles */
.past-events-overview-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(333px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.past-event-item {
    background: white;
    border: 1px solid #33333361;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 5px 5px 10px #66666660;
  }

.past-event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.past-event-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.past-event-date {
    text-align: right;
  }

.past-event-link:hover {
    text-decoration: none;
    color: inherit;
}

.past-event-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.past-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    padding: 25px;
}

.past-event-item:hover .past-event-image img {
    transform: scale(1.05);
}

.past-event-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1rem;
}

.past-event-content {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 120px;
}

.past-event-header {
    flex: 1;
    padding-right: 20px;
}

.past-event-item:hover .past-event-arrow {
    background: #000;
    transform: scale(1.1);
}

.past-event-arrow span {
    line-height: 1;
    display: block;
}

/* Event Lightbox Styles */
.event-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.event-lightbox.active {
    opacity: 1;
    visibility: visible;
}
.event-card-link:hover {
    transform: scale(1.01);
    transition: all ease-in-out .2s;
  }

  .event-card-link{
    transform: scale(1.0);
    transition: all ease-in-out .2s;
  }

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
    box-sizing: border-box;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: transparent;    
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev.disabled,
.lightbox-next.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.lightbox-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-image.loaded {
    opacity: 1;
}

.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-loader.active {
    opacity: 1;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lightbox-info {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
}

.lightbox-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
    opacity: 0.9;
}

.lightbox-counter {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Body lock when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-container {
        padding: 40px 15px 15px;
    }
    
    .lightbox-content {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .lightbox-close {
        top: -35px;
        right: -5px;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .lightbox-prev {
        left: -60px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .lightbox-next {
        right: -60px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .lightbox-image {
        max-height: 70vh;
    }
    
    .lightbox-info {
        bottom: -50px;
    }
    
    .lightbox-title {
        font-size: 1rem;
    }
    
    .lightbox-counter {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .lightbox-prev {
        left: -50px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-next {
        right: -50px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-container {
        padding: 30px 10px 10px;
    }
}

/* Event Gallery Styles */
.event-gallery {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.event-gallery-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.event-gallery-grid {
    columns: 2;
    column-gap: 15px;
    column-fill: balance;
}

.event-gallery-item {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    break-inside: avoid;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid #fff;
}

.event-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.event-gallery-trigger {
    display: block;
    width: 100%;
    position: relative;
    text-decoration: none;
}

.event-gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    vertical-align: top;
}

.event-gallery-item:hover img {
    transform: scale(1.02);
}

.event-gallery-overlay {
    display: none;
}

/* Responsive für Gallery */
@media (max-width: 768px) {
    .event-gallery {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .event-gallery-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .event-gallery-grid {
        columns: 2;
        column-gap: 12px;
    }
    
    .event-gallery-item {
        margin-bottom: 12px;
    }
}

@media (max-width: 600px) {
    .event-gallery-grid {
        columns: 2;
        column-gap: 10px;
    }
    
    .event-gallery-item {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .event-gallery-grid {
        columns: 1;
        column-gap: 0;
    }

}

/* Responsive für Past Events */
@media (max-width: 768px) {
    .past-events-overview-container {
        margin: 20px auto;
        padding: 0px;
    }
    
    .past-events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .past-event-content {
        padding: 20px;
        min-height: 100px;
    }
    
    .past-event-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .past-event-image {
        height: 180px;
    }
}

@media (max-width: 600px) {
    .past-event-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .past-event-header {
        padding-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .past-event-arrow {
        align-self: flex-end;
    }
}

/* Responsive für Event Details */
@media (max-width: 768px) {
    .event-details-card{
        margin-top: 0;
    }
    .event-details-container {
        margin: 0;
        padding: 0;
    }
    
    .event-details-content {
        padding: 25px;
    }
    
    .event-details-image {
        height: auto;
        width: 100%;
        box-shadow: none;
        margin-bottom: 20px;
        transform: none;
    }
    
    /* Navigation auf Mobile anpassen */
    .event-navigation {
        position: static;
        transform: none;
        margin-bottom: 20px;
        padding: 0 20px;
    }
    
    .event-nav-prev {
        margin-left: 0;
    }
    
    .event-nav-next {
        margin-right: 0;
    }
    
    .event-nav-arrow {
        font-size: 1.3rem;
    }
}

.info-card {
    max-width: 800px;
    background: white;
    box-shadow: 0 5px 15px #666;
    margin: 80px auto;
    padding: 35px;
    position: relative;
  }
  .info-card-link {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    position: relative;
  }
  .info-card-image {
    width: 30%;
  }.info-card-content {
    width: 70%;
  }
  .info-card::after {
    content: '';
    width: 100%;
    height: 100%;
    border: 1px solid #999;
    position: absolute;
    top: -20px;
    left: 20px;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  .info-card:hover::after {
    content: '';
    width: 100%;
    height: 100%;
    border: 1px solid #000;
    position: absolute;
    top: -24px;
    left: 24px;
    transition: all 0.3s ease;
  }
  .info-card:hover {
    cursor: pointer;
  }
  a.info-card-link:hover {
    text-decoration: none;
  }
  .info-card:hover {
    cursor: pointer;
  }
  .info-card-date {
    font-size: 0.8em;
    text-align: right;
    margin-top: 30px;
    color: #999;
  }
  .info-card:hover img {
    transform: scale(1.07);
    transition: all ease-in-out .2s;
  }
  .info-card img {
    transform: scale(1);
    transition: all ease-in-out .2s;
  }

/* ===== INFO DETAILS STYLES ===== */
/* Info Details Styles (kopiert von Event Details) */
.info-details-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
}

/* Info Navigation */
.info-navigation {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0 -80px;
}

.info-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    pointer-events: all;
    position: relative;
  }

.info-nav-arrow:hover {
    transform: scale(1.3);
    text-decoration: none;
}

.info-nav-prev {
    margin-left: -80px;
}

.info-nav-next {
    margin-right: -80px;
}

.info-nav-disabled {
    opacity: 0;
    pointer-events: none;
}

.info-nav-arrow span {
    line-height: 1;
    display: block;
}

.info-details-card {
    background: white;
    border-radius: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-top: 150px;  
}

.info-details-image {
    width: fit-content;
    height: 300px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
      margin-bottom: auto;
    margin-bottom: auto;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-50%);
    background: white;
    padding: 0;
    margin-bottom: -150px;
  }

  .info-details-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

.info-details-content {
    padding: 40px;
}

.info-description-full p {
    margin-bottom: 40px;
}

.info-description-full p:last-child {
    margin-bottom: 0;
}

.info-description-full h2,
.info-description-full h3,
.info-description-full h4 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-description-full ul,
.info-description-full ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.info-description-full li {
    margin-bottom: 8px;
}

/* Responsive für Info Details */
@media (max-width: 768px) {
    .info-details-card{
        margin-top: 0;
    }
    .info-details-container {
        margin: 0;
        padding: 0;
    }
    
    .info-details-content {
        padding: 25px;
    }
    
    .info-details-image {
        height: auto;
        width: 100%;
        box-shadow: none;
        margin-bottom: 20px;
        transform: none;
    }
    
    /* Navigation auf Mobile anpassen */
    .info-navigation {
        position: static;
        transform: none;
        margin-bottom: 20px;
        padding: 0 20px;
    }
    
    .info-nav-prev {
        margin-left: 0;
    }
    
    .info-nav-next {
        margin-right: 0;
    }
    
    .info-nav-arrow {
        font-size: 1.3rem;
    }
}

/* ===== MITGLIEDER OVERVIEW ===== */
.mitglieder-overview-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Filter-Bereich */
.mitglieder-filter {
    margin-bottom: 40px;
    text-align: center;
}

.filter-title {
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Dropdown für größere Bildschirme (ab 800px) */
.filter-dropdown-container {
    display: none;
    margin-bottom: 20px;
    text-align: left;
}

.filter-dropdown-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.filter-dropdown {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #333;
    background: #fff;
    color: #333;
    font-size: var(--font-size-body);
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-dropdown:hover,
.filter-dropdown:focus {
    background: #6EC4EA;
    border-color: #6EC4EA;
    color: #fff;
    outline: none;
}

/* Button-Layout für kleinere Bildschirme */
.filter-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.filter-btn {
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #333;
    color: #333;
    text-transform: uppercase;
    cursor: pointer;
    font-size: var(--font-size-body);
}

.filter-btn.active {
    background: #6EC4EA;
    border-color: #6EC4EA;
    color: #fff;
    font-weight: 700;
  }

.mitglieder-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.mitglied-card {
    background: #fff;
    border: 1px solid #333;
    padding: 30px;
    margin-top: 125px;
    box-shadow: 5px 5px 10px #66666630;
}

.mitglied-logo {
    width: 250px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #333;
    margin: auto;
      margin-bottom: auto;
    transform: translateY(-125px);
    margin-bottom: -95px;
    box-shadow: 5px 5px 10px #66666630;
  }

.mitglied-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mitglied-logo-placeholder {
    width: 60px;
    height: 60px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #666;
}

.mitglied-name {
    text-align: left;
    padding-bottom: 15px;
  }

.mitglied-name h3 {
    color: #333;
    margin: 0;
    text-transform: uppercase;
}

.mitglied-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}



.accordion-item:last-child {
    border-top: none;
    border-bottom: none;
}
.accordion-item:first-child {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
.accordion-header {
    width: 100%;
    padding: 15px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #333;
}

.accordion-icon {
    line-height: 1;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
}

.accordion-content.open {
    max-height: 500px;
    padding: 0 0 20px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 15px;
  }
.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 100%;
    height: 100%;
    fill: #666;
}

.info-text {
    flex: 1;
    line-height: 1.4;
    color: #555;
}

.info-text a {
    color: #333;
    text-decoration: none;
}

.angebot-content {
    line-height: 1.6;
}

.angebot-content p {
    margin-bottom: 15px;
}

.angebot-content p:last-child {
    margin-bottom: 0;
}

.no-mitglieder-found {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 40px 20px;
}

/* Media Queries für responsive Filter */
@media (min-width: 800px) {
    .filter-dropdown-container {
        display: none;
    }
    
    .filter-buttons {
        display: grid;
    }
}

@media (max-width: 799px) {
    .filter-dropdown-container {
        display: block;
    }
    
    .filter-buttons {
        display: none;
    }
}

/* Responsive für Mitglieder Overview */
@media (max-width: 568px) {

    .filter-title {
        margin-bottom: 25px;
    }
    
    .filter-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 400px;
    }
    
    .filter-btn {
        padding: 10px 15px;
    }
    
    .mitglieder-overview-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 20px;
        display: block;
    }
    
    .mitglied-card {
        padding: 25px;
    }
    
    
    .accordion-header {
        padding: 12px 0;
    }
    
    .info-item {
        gap: 10px;
        padding: 8px;
    }
    
    .info-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .filter-title {
        margin-bottom: 20px;
    }
    
    .filter-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 300px;
    }
    
    .filter-btn {
        padding: 8px 12px;
    }
    
    .mitglied-card {
        padding: 20px;
    }
    
    .mitglied-logo {
        width: 180px;
        height: 125px;
    }
    
    .accordion-header {
        padding: 10px 0;
    }
}

.mitglieder-overview-container span{
    font-size: var(--font-size-body);
}

/* ===== LOAD MORE BUTTON ===== */
.load-more-container {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
}

.load-more-btn {
    padding: 15px 30px;
    background: #fff;
    border: 1px solid #333;
    color: #333;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #6EC4EA;
    border-color: #6EC4EA;
    color: #fff;
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more-btn.loading {
    opacity: 0.7;
}

.load-more-btn.loading::after {
    content: "...";
    animation: loading 1s infinite;
}

@keyframes loading {
    0%, 33% { content: "."; }
    34%, 66% { content: ".."; }
    67%, 100% { content: "..."; }
}

.details-footer {
    display: flex;
    justify-content: space-between;
    max-width: 760px;
    margin: auto;
  }

  .benefits_sec {
    display: flex;
    max-width: 1080px;
    margin: auto;
    width: 90%;
    gap: 50px 5%;
    flex-wrap: wrap;
  }
  .benefits_row {
    background: #a8d9ee;
    padding: 35px !important;
    height: 450px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px #66666661;
    width: 46%;
    position: relative;
  }
  .benefits_row .et_pb_column {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 100%;
  }
  .benefits_row:last-of-type .et_pb_module:first-of-type{
    height: max-content;
    margin-top: auto;
  }


@media (max-width: 600px) {
    .benefits_row {
        width: 100%;
        padding: 40px !important;
        height: 100%;
      }
      .benefits_sec {
 
        gap: 45px;}
}

.benefits_row::before {
    content: '';
    width: 100%;
    height: 100%;
    border: 1px solid #999;
    position: absolute;
    top: -20px;
    left: 20px;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .ziele_row {
    background: #6EC4EA;
    padding: 75px !important;
    border: 1px solid #707070;
    box-shadow: 0 5px 15px #66666680;
    overflow: visible !important;
  }
.ziele_row:before {
    content: '';
    width: 100%;
    height: 100%;
    border: 1px solid #999;
    position: absolute;
    top: -20px;
    left: 20px;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  .team_sec .et_pb_row {
    max-width: 800px;
  }
.team-member {
  display: flex;
  flex-wrap: nowrap;
  transform: translateX(-75px);
  width: 100%;
  justify-content: flex-start;
  gap: 35px;
  margin: 75px 0;
  align-items: center;
}
  .team-img{
    width: 25%;
  }
  .team-desc {
    width: 75%;
  }
  .team-text {
    margin: 75px !important;
  }
  .team-member a {
    font-weight: 500;
  }
  .footer_row .et_pb_column {
    display: flex;
    justify-content: center;
    gap: 35px;
    font-size: var(--font-size-body) !important;
  }
  @media (max-width: 600px) {
    .footer_row .et_pb_column {
        display: block;
      }
  }

  .contact_row{
    box-shadow: 5px 5px 10px #66666661;
  }

  .contact_row:before {
    content: '';
    width: 100%;
    height: 100%;
    border: 1px solid #999;
    position: absolute;
    top: -20px;
    left: 20px;
    transition: all 0.3s ease;
    pointer-events: none;   
  } 
  .offset-border{
    padding: 75px !important;
    box-shadow: 5px 5px 10px #66666661;
    max-width: 800px;
    background: #D7E9F3;

  }
  .offset-border:before {
    content: '';
    width: 100%;
    height: 100%;
    border: 1px solid #999;
    position: absolute;
    top: -20px;
    left: 20px;
    transition: all 0.3s ease;
    pointer-events: none;   
  } 
  hr {
    border-top: 1px #333 !important;
  }
  #post-3028 .load-more-container {
    display: none;
  }
  @media (max-width: 767px) {
    .offset-border{
        padding: 30px !important;}

    .offset-border:before, .info-card::after, .benefits_row::before, .ziele_row::before{
        top: -10px;
        left: 10px;}

    .info-card-link {
        flex-wrap: wrap;
        }
        .info-card-image {
            width: 100%;
        }
        .info-card-content {
            width: 100%;
        }
        .info-card {
            width: 90%;
            margin: 40px auto;
          }
          .ziele_row{
            padding: 40px !important;
            width: 90% !important;
          }
          .team-member {
            display: flex;
            flex-wrap: wrap;
            width: 100%;
            justify-content: center;
            gap: 15px;
            transform: translateX(0);
          }
          .team-img {
            width: 50%;
          }
          .team-text {
            margin: 40px !important;
          }
          .team-desc {
            width: 80%;
          }
          .team_sec .et_pb_row {
            max-width: 800px;
            width: 90%;
          }
          .team_sec .et_pb_code {
            margin: 55px 0;
          }
          .footer_row .et_pb_module {
            margin: 0;
            text-align: center;
          }
          .info-item {
            display: flex;
            align-items: center;
            gap: 17px;
            margin-bottom: 0px;
          }
          .contact_row::before {
            top: -10px;
            left: 10px;
          }
          .contact_row{
            padding: 30px !important;
          }
          .contact_row h1{
            display: none;
          }

    }

    .team-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-wrap: wrap;
}