/* Nunito wird bereits über Avadas style.css geladen – hier keine eigene
   @font-face-Deklaration nötig, font-family wird unten direkt verwendet. */

/* ==========================================================================
   Trigger (Hamburger-Icon)
   ========================================================================== */
.cmm-trigger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 34px;
	height: 34px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}
.cmm-trigger-bar {
	display: block;
	width: 26px;
	height: 2px;
	background-color: currentColor;
}

/* ==========================================================================
   Overlay
   ========================================================================== */
.cmm-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--cmm-duration, 300ms) ease;
	z-index: 9998;
	cursor: pointer; /* Fallback, falls im Backend kein eigenes Cursor-Bild hinterlegt ist */
}
.cmm-overlay.cmm-open {
	opacity: 1;
	visibility: visible;
}

/* ==========================================================================
   Panel
   ========================================================================== */
.cmm-panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: var(--cmm-width, 340px);
	max-width: 90vw;
	display: flex;
	flex-direction: column;

	background: -webkit-linear-gradient(bottom left, rgb(103, 35, 109) 0%, rgb(158, 0, 93) 100%);
	background: -o-linear-gradient(bottom left, rgb(103, 35, 109) 0%, rgb(158, 0, 93) 100%);
	background: linear-gradient(to top right, rgb(103, 35, 109) 0%, rgb(158, 0, 93) 100%);

	font-family: 'Nunito', sans-serif;
	color: #ffffff;

	transform: translateX(100%);
	transition: transform var(--cmm-duration, 300ms) ease;
	z-index: 9999;
	overflow-x: hidden;
	overflow-y: auto;
}
.cmm-panel.cmm-open {
	transform: translateX(0);
}

.cmm-close {
	align-self: flex-end;
	background: transparent;
	border: 0;
	color: #ffffff;
	font-size: 28px;
	line-height: 1;
	padding: 16px 20px;
	cursor: pointer;
}

body.cmm-noscroll {
	overflow: hidden;
}

/* ==========================================================================
   Menü-Ebenen (Drill-down)
   ========================================================================== */
.cmm-levels {
	position: relative;
}

.cmm-level::after{
	display:block;
	height:2px;
	width:90%;
	background:white;
	margin:0 auto;
	content:'';
}

.cmm-level {
	display: none;
}
.cmm-level.cmm-active {
	display: block;
}

.cmm-level-heading {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 60px 24px 10px;
}
.cmm-heading-line {
	flex: 1 1 auto;
	height: 2px;
	background-color: rgba(255, 255, 255, 1);
}
.cmm-heading-text {
	flex: 0 0 auto;
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	font-size: 30px;
	white-space: nowrap;
	color: #ffffff;
}

.cmm-list {
	list-style: none;
	margin: 0;
	padding: 6px 24px 20px;
}

.cmm-item a,
.cmm-back-link {
	display: block;
	color: #ffffff;
	text-decoration: none;
	font-size: 22px;
	font-family: 'Nunito', sans-serif;
	text-align:center;
}

.cmm-item{
	margin-bottom:14px;
}

.cmm-item.cmm-has-sub > a{
	padding-left:12.3px;
}

.cmm-item.cmm-has-sub > a::after {
	content: '+';
	float: right;
	font-weight: 700;
	color:white;
}

.cmm-back-item {
	background:white;
	border-radius:30px;
	padding:8px 40px;
	width:60%;
	margin: 0 auto;
	margin-bottom:30px;
}
.cmm-back-link {
	font-weight: 700;
	border-bottom: none;
	padding-top: 0px;
	color:#6b246f;
	font-size: 20px !important;
}
.cmm-back-icon {
	display: inline-block;
	font-weight: 700;
	vertical-align: middle;
	margin-right: 0px;
}
.cmm-back-icon--image {
	vertical-align: middle;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}
.cmm-back-icon--svg {
	vertical-align: middle;
	line-height: 0;
}
.cmm-back-icon--svg svg {
	display: block;
	fill: currentColor;
	position: relative;
	top: -2px;
}

.cmm-item-highlight > a {
	font-weight: 700;
	color: #ffffff;
	position: relative;
}
/*.cmm-item-highlight > a::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffffff;
	margin-right: 10px;
	vertical-align: middle;
}*/

/* ==========================================================================
   Unterer Bereich: Bild + Text
   ========================================================================== */
.cmm-bottom {
	flex: 0 0 auto;
	padding: 60px 24px 60px;
}
.cmm-bottom-image {
	max-width: 340px;
	height: auto;
	display: block;
	margin-bottom: 10px;
	border-radius: 4px;
	margin-left:auto;
	margin-right:auto;
	width:50%;
}
.cmm-bottom-text {
	font-family: 'Nunito', sans-serif;
	font-size: 20px;
	color: #ffffff;
	opacity: 0.9;
	text-align:center;
	margin-top:20px;
}

.cmm-bottom-text a,
.cmm-bottom-text a:hover{
	color:white;
	text-decoration:underline;
}
.cmm-bottom-image--white {
	filter: brightness(0) invert(1);
}
.cmm-bottom-image--black {
	filter: brightness(0);
}
