.verein-history {
    position: relative;
    overflow: hidden;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border-radius: 28px;
    border: 1px solid rgba(45, 27, 105, 0.08);
    box-shadow: 0 16px 36px rgba(45, 27, 105, 0.10);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.60), rgba(255, 255, 255, 0.18)),
        radial-gradient(circle at 18% 22%, rgba(255, 99, 132, 0.28) 0 11%, transparent 12%),
        radial-gradient(circle at 78% 18%, rgba(255, 206, 86, 0.24) 0 10%, transparent 11%),
        radial-gradient(circle at 28% 82%, rgba(54, 162, 235, 0.24) 0 12%, transparent 13%),
        radial-gradient(circle at 88% 72%, rgba(75, 192, 192, 0.24) 0 12%, transparent 13%),
        conic-gradient(
            from 220deg at 50% 50%,
            rgba(255, 107, 157, 0.18),
            rgba(255, 196, 0, 0.18),
            rgba(120, 100, 255, 0.18),
            rgba(78, 205, 196, 0.18),
            rgba(255, 107, 157, 0.18)
        ),
        linear-gradient(135deg, #fff9fc, #f5fffe);
    isolation: isolate;
}

.verein-history::before,
.verein-history::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.95;
}

.verein-history::before {
    width: 260px;
    height: 260px;
    top: -70px;
    right: -60px;
    background:
        conic-gradient(
            from 35deg,
            rgba(255, 0, 128, 0.28),
            rgba(255, 140, 0, 0.24),
            rgba(255, 230, 0, 0.22),
            rgba(0, 200, 255, 0.22),
            rgba(123, 97, 255, 0.26),
            rgba(255, 0, 128, 0.28)
        );
    clip-path: polygon(50% 0%, 70% 12%, 95% 18%, 82% 42%, 100% 62%, 74% 72%, 82% 95%, 56% 84%, 50% 100%, 34% 84%, 8% 92%, 18% 66%, 0% 46%, 18% 22%);
    transform: rotate(18deg);
    filter: blur(0.5px);
}

.verein-history::after {
    width: 300px;
    height: 300px;
    bottom: -95px;
    left: -85px;
    background:
        conic-gradient(
            from 130deg,
            rgba(0, 255, 213, 0.24),
            rgba(0, 153, 255, 0.22),
            rgba(140, 82, 255, 0.26),
            rgba(255, 99, 132, 0.24),
            rgba(255, 205, 86, 0.24),
            rgba(0, 255, 213, 0.24)
        );
    clip-path: polygon(50% 0%, 64% 14%, 86% 8%, 78% 34%, 100% 50%, 82% 66%, 90% 92%, 62% 82%, 50% 100%, 36% 84%, 8% 92%, 18% 64%, 0% 50%, 18% 28%, 10% 8%, 38% 16%);
    transform: rotate(-20deg);
    filter: blur(0.5px);
}

.verein-history > * {
    position: relative;
    z-index: 1;
}

.verein-history h1,
.verein-history p {
    position: relative;
    z-index: 1;
}

.verein-history h1 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 2.5rem;
    color: var(--color-text-main);
}

.verein-history p {
    margin: 0 0 1rem;
    max-width: 850px;
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.vorstand-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.member {
    background: var(--color-white);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(45, 27, 105, 0.08);
    border: 1px solid rgba(45, 27, 105, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.member:nth-child(1) {
  border-top: 6px solid #cba6dfbf;
}

.member:nth-child(2) {
    border-top: 6px solid #dd9cd0;
}

.member:nth-child(3) {
    border-top: 6px solid #8bacc4;
}

.member:nth-child(4) {
    border-top: 6px solid #d07272;
}

.member:nth-child(5) {
    border-top: 6px solid #a0d2d2;
}

.member:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(45, 27, 105, 0.12);
}

.member img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.member:hover img {
    transform: scale(1.04);
}

.member h3 {
    margin: 1.25rem 1.25rem 0.5rem;
    color: var(--color-text-main);
    font-size: 1.25rem;
}

.member p {
    margin: 0 1.25rem 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

main > h1[data-i18n="page.satzung.title"] {
    font-size: 2.2rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

#satzung-text {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    padding: 2rem;
    border: 1px solid rgba(45, 27, 105, 0.08);
    box-shadow: 0 12px 28px rgba(45, 27, 105, 0.06);
    color: var(--color-text-secondary);
    line-height: 1.85;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .vorstand-members {
        grid-template-columns: repeat(2, 1fr);
    }

    .verein-history {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .verein-history {
        padding: 2rem 1rem;
        border-radius: 22px;
        margin-bottom: 2rem;
    }

    .verein-history h1 {
        font-size: 1.95rem;
    }

    .verein-history p {
        font-size: 1rem;
    }

    .vorstand-members {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .member {
        border-radius: 18px;
    }

    .member img {
        height: 220px;
    }

    main > h1[data-i18n="page.satzung.title"] {
        font-size: 1.8rem;
    }

    #satzung-text {
        padding: 1.25rem;
        border-radius: 18px;
    }
}
