.groupwrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0;
    overflow: hidden;
}

.groupwrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--dark-background);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

.groupwrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 1;
}

.groupcard {
	position: relative;
	z-index: 2;
	height: 140px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.groupcard::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--group-color);
    opacity: .25; /* wichtig: niedrig halten */
    z-index: 1;
}

.groupcard i {
    position: absolute;
    font-size: 5rem;
    color: rgba(255,255,255,.08);
    z-index: 2;
}

.groupcard:last-child {
    border-right: none;
}

.groupicon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.groupicon i {
    font-size: 10rem;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,.12);
    opacity: .5;
}

.groupcontent {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.groupcount,
.groupname {
    position: relative;
    z-index: 3;
    color: #fff;
}

.groupcount {
    font-size: 40px;
    font-family: var(--font-title);
}

.groupname {
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.olympier {
    --group-color: #3E5C76;
}

.protogenoi {
    --group-color: #2A6F6B;
}

.titanen {
    --group-color: #dda15e;
}

.vergoettlichte {
    --group-color: #6D597A;
}

.heroen {
    --group-color: #a24343;
}

.nands {
    --group-color: #9C9074;
}

.monster {
    --group-color: #606c38;
}

.daimones {
    --group-color: #7D8597;
}