.match-card {
	background: #fff;
	border-radius: 14px;
	padding: 10px 15px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 420px;
	margin: 20px auto;
	font-family: system-ui, sans-serif;
}

.match-header,
.match-footer {
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
	color: #666;
}

.match-group {
	font-weight: 600;
	color: #0078d4;
}

.match-teams {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 10px;
}

.team {
	display: flex;
	flex-direction: column;
	gap: 8px;
	border: 1px solid gray;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
	padding: 5px;
}
.team_name{
	display: flex;
	justify-content: space-around;
}

.team.home {
	justify-content: flex-end;
}
.team.gast {
	justify-content: flex-start;
}
/*Sieg farblich hervorheben*/
.team.win .team-name {
	color: #0a8a00;
}
.team.los .team-name {
	color: #b30000;
}

.team-name {
	font-size: 1.05rem;
	font-weight: 600;
}

.match-score {
	font-size: 1.6rem;
	font-weight: 700;
	color: #222;
}

.score.open {
	color: #999;
	font-weight: 500;
}

.match-footer {
	font-size: 0.85rem;
	color: #777;
}


/* RESPONSIV START */

@media (max-width: 750px) {
	.match-card {
		padding: 05px;
		margin: 05px auto;
	}

	.team-name {
		font-size: 0.95rem;
	}

	.match-score {
		font-size: 1.4rem;
	}
}
/* RESPONSIV ENDE */

/* LIVE SPIEL */
.match-card.live {
	border-left: 5px solid #e60000;
}

.match-card.live .match-header::after {
	content: "LIVE";
	color: #e60000;
	font-weight: 700;
	margin-left: auto;
}