/* Immowelt Immobilien – dezentes Basis-Styling. Über Elementor (Zusätzliche CSS-Klassen / Individuelles CSS) beliebig überschreibbar. */

.iw-immo-liste {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0 0 24px;
}

.iw-immo-spalten-1 { grid-template-columns: repeat(1, 1fr); }
.iw-immo-spalten-2 { grid-template-columns: repeat(2, 1fr); }
.iw-immo-spalten-3 { grid-template-columns: repeat(3, 1fr); }
.iw-immo-spalten-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
	.iw-immo-liste { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
	.iw-immo-liste { grid-template-columns: 1fr; }
}

.iw-immo-karte {
	display: block;
	text-decoration: none;
	color: inherit;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.iw-immo-karte:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.iw-immo-karte-bild {
	aspect-ratio: 4 / 3;
	background: #f2f2f2;
	overflow: hidden;
}

.iw-immo-karte-bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.iw-immo-karte-inhalt {
	padding: 16px;
}

.iw-immo-karte-titel {
	margin: 0 0 6px;
	font-size: 1.05em;
}

.iw-immo-karte-kategorie {
	margin: 0 0 4px;
	font-size: 0.85em;
	opacity: 0.7;
}

.iw-immo-karte-ort {
	margin: 0 0 8px;
	font-size: 0.9em;
	opacity: 0.85;
}

.iw-immo-karte-preis {
	margin: 0 0 8px;
	font-size: 1.1em;
	font-weight: 700;
}

.iw-immo-karte-meta {
	display: flex;
	gap: 14px;
	font-weight: 600;
	opacity: 0.85;
	font-size: 0.9em;
}

.iw-immo-keine-treffer {
	opacity: 0.7;
}

.iw-immo-pagination {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin: 0 0 24px;
}

.iw-immo-pagination a {
	padding: 6px 12px;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	text-decoration: none;
}

.iw-immo-pagination a.iw-immo-page-aktiv {
	background: #111;
	color: #fff;
	border-color: #111;
}

.iw-immo-hinweis {
	font-size: 0.8em;
	opacity: 0.65;
	margin: 8px 0 0;
}

.iw-immo-galerie {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-bottom: 24px;
}

@media (max-width: 700px) {
	.iw-immo-galerie { grid-template-columns: repeat(2, 1fr); }
}

.iw-immo-galerie-bild {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
}

.iw-immo-galerie-bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.iw-immo-fakten {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
}

.iw-immo-fakten tr {
	border-bottom: 1px solid #eee;
}

.iw-immo-fakten th,
.iw-immo-fakten td {
	text-align: left;
	padding: 8px 12px 8px 0;
	vertical-align: top;
}

.iw-immo-fakten th {
	width: 40%;
	font-weight: 600;
	opacity: 0.8;
}

.iw-immo-beschreibung-block {
	margin-bottom: 20px;
}

.iw-immo-beschreibung-block h3 {
	margin-bottom: 6px;
}

.iw-immo-kontaktformular p {
	margin-bottom: 12px;
}

.iw-immo-kontaktformular label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

.iw-immo-kontaktformular input,
.iw-immo-kontaktformular textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.iw-immo-kontakt-status {
	margin-top: 10px;
	font-weight: 600;
}

.iw-immo-status-success { color: #1e7e34; }
.iw-immo-status-error { color: #b32d2e; }
