.btn.disabled, .btn:disabled {
	background-color: #b29433;
}
.btn-primary {
	background-color: #b29433;
	border: none;
	border-radius: 0;
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
}

.btn-primary:hover {
	background-color: #000;
	border: none;
	color: #fff;
}

.btn-secondary {
	background-color: #000;
	border: none;
	border-radius: 0;
	color: #fff;
	text-transform: uppercase;
}

.btn-secondary:hover {
	background-color: #b29433;
	border: none;
	color: #fff;
}
.search-container {
	max-width: 800px;
	margin: 40px auto;
	padding: 30px;
	background-color: #f8f9fa;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.form-title {
	text-align: center;
	margin-bottom: 25px;
	color: #333;
}
.error-message {
	color: red;
	font-size: 0.875rem;
	margin-top: 5px;
}

 .hover-bg-custom:hover {
	 background-color: #f0f0f0 !important;
	 transition: background-color 0.2s ease;
 }

.list-group-item {
	display: block;
}

@media print {
	body * {
		visibility: hidden; /* Zuerst alles ausblenden */
	}

	#detail, #detail * {
		visibility: visible; /* Dann die Detailansicht und ihre Kinder wieder einblenden */
	}

	#detail {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		margin: 0;
		padding: 15px; /* Etwas Rand für den Druck */
		box-shadow: none; /* Schatten entfernen */
		margin-bottom: 0px !important;
		padding-bottom: 0px !important;
	}

	/* Elemente, die im Druck definitiv nicht erscheinen sollen */
	.weitere,
	.search-container,
	#ergebnis,
	#loader,
	#back-to-results, /* "Zurück zur Übersicht" Button */
	#printDetailButton, /* Der Druck-Button selbst (ID wird in Schritt 2 vergeben) */
	.no-print /* Eine generische Klasse für Elemente, die nicht gedruckt werden sollen */
	{
		display: none !important;
		visibility: hidden !important;
	}

	/* Bootstrap-Komponenten für den Druck anpassen */
	#detail .card {
		border: 1px solid #ccc !important; /* Leichterer Rand für Karten */
		box-shadow: none !important;
		page-break-inside: avoid; /* Verhindern, dass Karten umgebrochen werden */
	}

	#detail h2, #detail h5, #detail h6 {
		page-break-after: avoid; /* Verhindern, dass direkt nach Überschriften umgebrochen wird */
	}

	#detail iframe[title="friedhof-map"] {
		width: 100% !important;
		height: 100vh !important; /* Höhe anpassen, 762px ist oft zu viel für eine Seite */
		border: 1px solid #ddd !important; /* Optional: Leichter Rand für die Karte */
		page-break-inside: avoid;
	}

	/* Links im Druck anpassen */
	#detail a {
		text-decoration: none !important;
		color: #000 !important;
	}
	/* Telefonnummern und URLs ggf. ausschreiben (optional) */
	#detail a[href^="tel:"]::after {
		content: "";
	}

	.mb-5 { margin-bottom: 0px !important; }
}