Vorlage:Firma/styles.css

Aus Hist. Verein Herne / Wanne-Eickel
/* ===========================================================
   TemplateStyles für Vorlage:Firma
   Speichern unter:  Vorlage:Firma/styles.css
   Aufgerufen aus:   Vorlage:Firma
   =========================================================== */

.ibfir {
	float: right;
	clear: right;
	width: 360px;
	max-width: 100%;
	margin: 0 0 1.2em 1.2em;
	background: #ffffff;
	border: 1px solid #e0e0d8;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.06 );
	overflow: hidden;
	font-size: 15px;
	line-height: 1.55;
	font-family: sans-serif;
}

/* ---------- Kopfzeile in Anthrazit ---------- */
.ibfir__header {
	background: #4a5560;             /* Anthrazit – Markenfarbe für Firmen */
	color: #e0e6eb;
	font-weight: 500;
	text-align: center;
	padding: 11px 12px;
	font-size: 16px;
	letter-spacing: 0.02em;
}

/* ---------- Logo-Hero ---------- */
.ibfir__logo {
	background: #f6f4ec;
	padding: 18px;
	text-align: center;
	border-bottom: 1px solid #f1efe8;
}
.ibfir__logo a,
.ibfir__logo img {
	display: inline-block;
	max-width: 100%;
	height: auto;
}

/* ---------- Body ---------- */
.ibfir__body {
	padding: 14px 16px 12px;
}

/* ---------- Datenzeilen ---------- */
.ibfir__data {
	margin-top: 4px;
}
.ibfir__row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 7px 0;
	border-bottom: 1px solid #f7f5ee;
}
.ibfir__row:last-child {
	border-bottom: none;
}
.ibfir__icon {
	flex: 0 0 22px;
	font-size: 15px;
	line-height: 1.5;
	text-align: center;
	color: #888780;
	user-select: none;
}
.ibfir__field {
	flex: 1 1 auto;
	min-width: 0;
}
.ibfir__label {
	display: block;
	color: #888780;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 1px;
}
.ibfir__value {
	font-weight: 500;
	color: #2c2c2a;
	font-size: 15px;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* ---------- Karte ---------- */
.ibfir__map {
	margin: 14px 0 0;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #f1efe8;
}
.ibfir__map .maps-leaflet,
.ibfir__map .maps-googlemaps3 {
	border-radius: 8px;
}

/* ---------- Optionales Foto ---------- */
.ibfir__photo {
	margin: 14px 0 0;
	text-align: center;
}
.ibfir__photo img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}
.ibfir__photo-caption {
	margin-top: 6px;
	font-size: 12px;
	color: #6b6b66;
	font-style: italic;
}

/* ---------- Anmerkung ---------- */
.ibfir__note {
	margin: 14px 0 0;
	padding: 10px 12px;
	background: #faf8f1;
	border: 1px solid #f1efe8;
	border-radius: 8px;
	font-size: 13px;
	color: #5f5e5a;
	line-height: 1.5;
}

/* ---------- Footer ---------- */
.ibfir__footer {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
	padding-top: 8px;
	border-top: 1px solid #f1efe8;
	font-size: 12px;
	color: #aaa9a3;
}
.ibfir__footer a,
.ibfir__footer a:visited {
	color: #888780;
}
.ibfir__stand {
	color: #888780;
}

/* ---------- Responsive ---------- */
@media ( max-width: 720px ) {
	.ibfir {
		float: none;
		width: 100%;
		margin: 0 0 1em 0;
	}
}

/* ---------- Druckansicht ---------- */
@media print {
	.ibfir {
		box-shadow: none;
		border: 1px solid #ccc;
		break-inside: avoid;
	}
	.ibfir__map,
	.ibfir__footer {
		display: none;
	}
}

/* ---------- Dunkler Modus ---------- */
@media ( prefers-color-scheme: dark ) {
	.ibfir {
		background: #2c2c2a;
		border-color: #444441;
		box-shadow: none;
	}
	.ibfir__header { background: #2a3440; color: #e0e6eb; }
	.ibfir__logo { background: #1f1f1d; border-color: #444441; }
	.ibfir__value { color: #f1efe8; }
	.ibfir__label { color: #b4b2a9; }
	.ibfir__data,
	.ibfir__map,
	.ibfir__footer { border-color: #444441; }
	.ibfir__row { border-bottom-color: #38383640; }
	.ibfir__photo-caption,
	.ibfir__stand,
	.ibfir__note { color: #b4b2a9; }
	.ibfir__note { background: #232321; border-color: #444441; }
}