/* aqotec Megamenü – Kacheln (gleiches Erscheinungsbild wie die bisherigen Elementor-Kacheln) */
.aqm-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1em;
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.aqm-grid .aqm-tile {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1em;
	min-width: 0;
	min-height: 10em;
	margin: 0;
	padding: 0 0 .9em;
	background: #fff;
	border: 1px solid #CDCDD2;
	border-radius: 0;
	color: #7A7A7A;
	text-decoration: none;
	box-sizing: border-box;
	transition: border-color .2s ease, color .2s ease;
}
.aqm-grid .aqm-tile:hover,
.aqm-grid .aqm-tile:focus-visible {
	border-color: #CC081E;
	color: #CB091F;
	text-decoration: none;
}
.aqm-grid .aqm-tile:focus-visible { outline: 2px solid #CC081E; outline-offset: 2px; }
.aqm-grid .aqm-tile__img {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 10em;
	overflow: hidden;
}
.aqm-grid .aqm-tile__img img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
.aqm-grid .aqm-tile__label {
	display: block;
	padding: 0 .6em;
	font-size: .9em;
	line-height: 1.2;
	text-align: center;
	color: inherit;
	hyphens: auto;
	-webkit-hyphens: auto;
	overflow-wrap: break-word;
}
.aqm-empty { margin: 0; padding: .5em 0; color: #7A7A7A; font-size: .9em; }

@media (max-width: 1024px) {
	.aqm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.aqm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6em; }
	.aqm-grid .aqm-tile { min-height: 0; gap: .5em; padding-bottom: .7em; }
	.aqm-grid .aqm-tile__img { height: 6.5em; }
}
