/* KGS Tollitäten - Frontend Styles */

:root {
	--kgs-red: #D32F2F;
	--kgs-gold: #FFC107;
}

.kgs-toll-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
	margin: 24px 0;
}

.kgs-toll-card {
	display: block;
	text-decoration: none;
	color: inherit;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kgs-toll-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.kgs-toll-card-image {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eee;
}

.kgs-toll-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.kgs-toll-card-noimage {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--kgs-red), var(--kgs-gold));
}

.kgs-toll-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: var(--kgs-red);
	color: #fff;
	font-weight: 700;
	font-size: 0.8rem;
	padding: 4px 10px;
	border-radius: 999px;
	letter-spacing: 0.02em;
}

.kgs-toll-card-body {
	padding: 14px 16px 18px;
	border-top: 3px solid var(--kgs-gold);
}

.kgs-toll-card-name {
	margin: 0 0 4px;
	font-size: 1.1rem;
	color: #222;
}

.kgs-toll-card-type {
	font-size: 0.85rem;
	color: var(--kgs-red);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* Detailansicht */

.kgs-toll-detail {
	margin: 24px 0;
	max-width: 800px;
}

.kgs-toll-detail-image {
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 0;
	aspect-ratio: 16 / 9;
	position: relative;
	z-index: 1;
}

.kgs-toll-detail-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.kgs-toll-detail-header {
	position: relative;
	z-index: 2;
	margin: 0 0 20px;
	background: #fff;
	border-radius: 10px;
	padding: 16px 20px 14px;
	border-bottom: 3px solid var(--kgs-gold);
}

.kgs-toll-detail-header--overlap {
	margin: -35px 20px 20px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.kgs-toll-detail-header .kgs-toll-badge {
	position: static;
	display: inline-block;
	margin-bottom: 8px;
}

.kgs-toll-detail-name {
	margin: 0 0 4px;
	color: #222;
}

.kgs-toll-detail-type {
	font-size: 0.9rem;
	color: var(--kgs-red);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.kgs-toll-detail-section {
	margin-bottom: 24px;
}

.kgs-toll-detail-section h3 {
	color: var(--kgs-red);
	border-left: 4px solid var(--kgs-gold);
	padding-left: 10px;
	margin-bottom: 10px;
}

.kgs-toll-namelist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 6px 16px;
}

.kgs-toll-namelist li {
	padding: 6px 10px;
	background: #fafafa;
	border-left: 3px solid var(--kgs-red);
	border-radius: 4px;
}

.kgs-toll-empty {
	padding: 20px;
	text-align: center;
	color: #777;
}
