.teamseite {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
}

.team-intro {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.team-intro h1,
.team-intro h2 {
    margin: 0;
	margin-bottom: 20px;
}

.team-account {
text-align: center;
}

.team-account img {
    display: block;
	margin: 0 auto;
	max-width: 100%;
    height: auto;
    filter: grayscale(70%);
}

.team-character {
	min-width: 0;
    text-align: center;
}

.team-character p {
    margin: 0;
    line-height: 1.3;
}

.team-character-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.team-polaroid {
    display: block;
    background: var(--palecolor4);
    padding: 7px 7px 10px;
    border: 1px solid #ddd;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    text-decoration: none;
	margin-bottom: 15px;
}

.team-polaroid:hover {
    transform: rotate(0deg) scale(1.02);
}

.team-polaroid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    filter: grayscale(70%);
    display: block;
}

.team-polaroid .caption {
    display: block;
    margin-top: 6px;
    font-weight: bold;
    font-size: 1em;
    line-height: 1.3;
    color: var(--body);
}

.team-members {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    min-width: 0;
}

.team-member-head {
    text-align: center;
    margin-bottom: 20px;
}

.team-member-head h2 {
    margin: 5px 0 0;
}

.team-member-emoji {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin: 0 auto 10px;
}

.team-member-text {
    text-align: center;
}

.team-member-text p {
    margin: 0;
    line-height: 1.5;
}

.team-member-characters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.team-mini-polaroid {
    display: block;
    width: 55px;
    background: var(--palecolor4);
    padding: 4px;
    border: 1px solid #ddd;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.15);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.team-mini-polaroid:nth-child(even) {
    transform: rotate(2deg);
}

.team-mini-polaroid:hover {
    transform: rotate(0deg) scale(1.05);
}

.team-mini-polaroid img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    filter: grayscale(70%);
}

@media (max-width: 700px) {
    .teamseite {
        padding: 15px;
    }

    .team-intro {
        grid-template-columns: 1fr;
    }
}