/*
 * Theme Name: Uncode Child
 * Description: Child theme for Uncode theme
 * Author: Undsgn
 * Author URI: http://www.undsgn.com
 * Template: uncode
 * Version: 1.0.0
 * Text Domain: uncode
 * */
#menu-hauptmenue > li > a {
	font-size: 17px;
}

/* === Modal Overlay === */
.leistungs-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.65);
	align-items: center;
	justify-content: center;
}
.leistungs-modal-overlay.is-active {
	display: flex;
}
.leistungs-modal-box {
	background: #e8e2d6;
	border-radius: 6px;
	max-width: 680px;
	width: 90%;
	max-height: 85vh;
	overflow-y: auto;
	padding: 40px 48px;
	position: relative;
	box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}
.leistungs-modal-box img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	margin-bottom: 24px;
}
.leistungs-modal-box h3 {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 1.5em;
}
.leistungs-modal-box p {
	line-height: 1.7;
	color: #444;
}
.leistungs-modal-close {
	position: absolute;
	top: 16px;
	right: 20px;
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	line-height: 1;
	color: #333;
}
.leistungs-modal-close:hover {
	color: #000;
}

/* === Kacheln: Cursor auf der Column, aber kein visueller Effekt === */
.modal-trigger {
	cursor: pointer;
}

/* === Hover-Effekt NUR auf die innere Border-Box (uncell) === */
.modal-trigger .uncell {
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.modal-trigger:hover .uncell {
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
	transform: translateY(-3px);
}
