.download-wrapper {
	position: relative;
	z-index: 1;
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px;
	font-family: sans-serif;
	color: #333;
}

.download-intro {
	text-align: center;
	margin-bottom: 40px;
	font-size: 1.1rem;
	line-height: 1.6;
	display: flex;
	justify-content: center;
}
.download-intro p {
	width: 90%;
}

.section-title {
	text-align: center;
	margin-bottom: 30px;
	padding-bottom: 10px;
	border-bottom: 2px solid #a33017;
	color: #333;
	display: inline-block;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	font-weight: 500;
}

/* Grid für die Download-Boxen (Exakt 3 Spalten auf Desktop) */
.tender-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 60px;
}

/* --- Media Queries für kleinere Bildschirme --- */
@media (max-width: 1024px) {
	.tender-grid {
		grid-template-columns: repeat(2, 1fr); /* 2 Boxen bei Tablets */
	}
}

@media (max-width: 650px) {
	.tender-grid {
		grid-template-columns: 1fr; /* 1 Box bei Handys */
	}
}

/* Der Rest Ihres CSS bleibt unverändert */
.tender-item {
	border: 1px solid #ddd;
	padding: 20px;
	border-radius: 8px;
	background: #fff;
	transition:
		transform 0.2s,
		box-shadow 0.2s;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.tender-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	border-color: #a33017;
}

.tender-item h4 {
	margin: 0 0 8px 0;
	font-size: 1rem;
	color: #444;
	line-height: 1.4;
}

.tender-links {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
}

.tender-links a {
	color: #333;
	text-decoration: none;
	font-weight: bold;
	display: flex;
	align-items: center;
	opacity: 0.75;
	transition: 150ms;
}
.tender-links a:hover {
	color: #a33017;
	opacity: 1;
}

/* Format Tags (PDF, DOCX, XLSX) */
.format-tag {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: bold;
	color: white;
	margin-left: 10px;
	letter-spacing: 0.5px;
}
.tag-pdf {
	background-color: #e2574c;
}
.tag-docx {
	background-color: #2b579a;
}
.tag-xlsx {
	background-color: #217346;
}
.shape-tag {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: bold;
	background-color: #f4f4f4;
	border: 1px solid #ddd;
	color: #666;
	margin-bottom: 15px; /* Abstand zu den Download-Links */
	letter-spacing: 0.5px;
}
