/* EHEMOMENTE Kopfbereich der Hauptseite (früher Elementor-Vorlage 13) */

/* ===== Leiste ===== */
.ehm-kopf {
	--ehm-k-tinte: #1d1d1d;
	--ehm-k-beere: #aa3c66;
	--ehm-k-beere-d: #92003b;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 150;
	height: 44px;
	padding: 0 5px;
	box-sizing: border-box;
	font-family: "Montserrat", system-ui, sans-serif;
	color: var(--ehm-k-tinte);
	/* oben leicht hinterlegt, läuft nach unten aus (wie bisher) */
	background: linear-gradient(187deg, rgba(246, 248, 251, .87) 61%, rgba(255, 255, 255, 0) 68%);
	transition: background-color .3s, box-shadow .3s;
}
.ehm-kopf *, .ehm-kopf *::before, .ehm-kopf *::after { box-sizing: border-box; }
/* Nach dem Scrollen: helle Fläche mit Schatten */
.ehm-kopf.ist-gescrollt { background: rgba(250, 250, 250, .99); box-shadow: 0 0 10px rgba(0, 0, 0, .5); }
body.admin-bar .ehm-kopf { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ehm-kopf { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .ehm-kopf { top: var(--ehm-k-adminbar, 46px); } }

.ehm-kopf__in { display: flex; align-items: center; height: 100%; max-width: 1280px; margin: 0 auto; }

/* Logo: hängt etwas unter die Leiste, nach dem Scrollen kleiner und mittig */
.ehm-kopf__logo { position: relative; display: flex; align-items: flex-end; align-self: flex-start; flex: none; margin-top: 14px; text-decoration: none !important; transition: margin-top .3s; }
.ehm-kopf__logo img { display: block; width: auto; height: 32px; max-width: none; transition: height .3s, filter .2s; }
.ehm-kopf__logo:hover img { filter: contrast(1.5); }
.ehm-kopf.ist-gescrollt .ehm-kopf__logo { margin-top: 9px; }
.ehm-kopf.ist-gescrollt .ehm-kopf__logo img { height: 26px; }
.ehm-kopf__de { display: none; margin: 0 0 1px 1px; font-size: 12px; font-weight: 500; line-height: 1; color: #999; }

/* Hauptmenü */
.ehm-kopf__nav { margin-left: auto; height: 100%; }
.ehm-kopf__nav ul { display: flex; align-items: stretch; height: 100%; margin: 0; padding: 0; list-style: none; }
.ehm-kopf__nav li { position: relative; display: flex; margin: 0 1px; padding: 0; }
.ehm-kopf__link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 11px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 20px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--ehm-k-tinte) !important;
	text-decoration: none !important;
	white-space: nowrap;
	background: none !important;
}
.ehm-kopf__link svg { width: 13px; height: 13px; transition: transform .18s; }
.ehm-kopf__link[aria-expanded="true"] svg { transform: rotate(180deg); }
/* Linie unter dem Menüpunkt: aktuelle Seite, beim Überfahren und beim offenen Aufklappmenü */
.ehm-kopf__link::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 0; height: 2px; background: rgba(29, 29, 29, .77); transform: scaleX(0); transition: transform .25s ease; }
.ehm-kopf__link.ist-hier::after, .ehm-kopf__link:hover::after, .ehm-kopf__link:focus-visible::after, .ehm-kopf__link[aria-expanded="true"]::after { transform: scaleX(1); }
/* Beim Überfahren eines anderen Punkts (oder offenem Menü) nur dieser unterstrichen */
.ehm-kopf__nav:hover .ehm-kopf__link.ist-hier:not(:hover)::after, .ehm-kopf__nav.hat-offen .ehm-kopf__link.ist-hier:not([aria-expanded="true"])::after { transform: scaleX(0); }
.ehm-kopf__nav.hat-offen .ehm-kopf__link:not([aria-expanded="true"]):hover::after { transform: scaleX(1); }
.ehm-kopf__haus i { display: inline-block; width: 1.2em; height: 1.2em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8M5 9.5V20h5v-6h4v6h5V9.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8M5 9.5V20h5v-6h4v6h5V9.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.ehm-kopf__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Knöpfe rechts */
.ehm-kopf__knoepfe { display: flex; align-items: center; gap: 10px; margin-left: 10px; flex: none; }
.ehm-kopf__knoepfe a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px !important; border-radius: 2px !important; font-size: 13px !important; line-height: 1 !important; text-decoration: none !important; white-space: nowrap; transition: color .2s, background-color .2s, transform .2s; }
.ehm-kopf__knoepfe svg { width: 16px; height: 16px; flex: none; }
.ehm-kopf__login { margin-right: -10px; font-weight: 600 !important; color: var(--ehm-k-tinte) !important; background: transparent !important; }
.ehm-kopf__login:hover, .ehm-kopf__login:focus-visible { color: #b74573 !important; }
.ehm-kopf__start { gap: 12px !important; padding: 10px 15px 10px 20px !important; font-weight: 500 !important; color: #fff !important; background: var(--ehm-k-beere) !important; }
.ehm-kopf__start svg { width: 15px; height: 15px; }
.ehm-kopf__start:hover, .ehm-kopf__start:focus-visible { background: var(--ehm-k-beere-d) !important; color: #fff !important; transform: skewX(-8deg); }
.ehm-kopf__konto { font-weight: 500 !important; color: #fff !important; background: var(--ehm-k-beere) !important; }
.ehm-kopf__konto:hover, .ehm-kopf__konto:focus-visible { background: var(--ehm-k-beere-d) !important; color: #fff !important; }
.ehm-kopf__ab { font-weight: 500 !important; color: var(--ehm-k-tinte) !important; background: transparent !important; }
.ehm-kopf__ab:hover, .ehm-kopf__ab:focus-visible { color: #575757 !important; }

/* Burger (Tablet und Handy) */
.ehm-kopf__burger { display: none; position: relative; top: 2px; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 40px; height: 44px; margin: 0 0 0 6px; padding: 0 !important; border: 0 !important; border-radius: 6px; background: none !important; box-shadow: none !important; outline: 0 !important; color: #1f2a27 !important; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; font: inherit; }
.ehm-kopf__burger:hover, .ehm-kopf__burger:focus, .ehm-kopf__burger:active { background: none !important; color: #1f2a27 !important; }
.ehm-kopf__burger::before { content: ""; position: absolute; top: -8px; bottom: -8px; left: -8px; right: 0; }
.ehm-kopf__burger span { position: relative; display: block; width: 23px; height: 17px; }
.ehm-kopf__burger span i { position: absolute; left: 0; width: 23px; height: 3.5px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s, top .2s; }
.ehm-kopf__burger span i:nth-child(1) { top: 0; }
.ehm-kopf__burger span i:nth-child(2) { top: 6.75px; }
.ehm-kopf__burger span i:nth-child(3) { top: 13.5px; }
.ehm-kopf__burger[aria-expanded="true"] span i:nth-child(1) { top: 6.75px; transform: rotate(45deg); }
.ehm-kopf__burger[aria-expanded="true"] span i:nth-child(2) { opacity: 0; }
.ehm-kopf__burger[aria-expanded="true"] span i:nth-child(3) { top: 6.75px; transform: rotate(-45deg); }
.ehm-kopf__burger small { font-size: 9px; font-weight: 400; line-height: 1.1; letter-spacing: 0; text-transform: uppercase; }
/* grüner Punkt auf dem obersten Strich */
.ehm-kopf__burger span::after { content: ""; position: absolute; top: -5px; right: -4px; width: 6px; height: 6px; border-radius: 50%; background: #00ff00; border: 2px solid #f6f8fa; box-sizing: content-box; }
.ehm-kopf__burger[aria-expanded="true"] span::after { display: none; }
.ehm-kopf__burger:focus-visible { outline: 2px solid #117a65 !important; outline-offset: 2px; }

/* Tablet: Menü hinter dem Burger, Knöpfe bleiben */
@media (max-width: 1024px) {
	.ehm-kopf__nav { display: none; }
	.ehm-kopf__knoepfe { margin-left: auto; }
	.ehm-kopf__burger { display: inline-flex; }
	.ehm-kopf__logo { margin-left: 10px; }
}
/* Handy */
@media (max-width: 767px) {
	.ehm-kopf { height: 50px; padding: 3px; }
	.ehm-kopf__logo { margin: 9px 0 0 5px; }
	.ehm-kopf__logo img { height: 23px; }
	.ehm-kopf.ist-gescrollt .ehm-kopf__logo { margin-top: 9px; }
	.ehm-kopf.ist-gescrollt .ehm-kopf__logo img { height: 23px; }
	.ehm-kopf__de { display: block; }
	.ehm-kopf__knoepfe { gap: 0; }
	.ehm-kopf__knoepfe a { padding: 10px 12px !important; font-size: 12px !important; }
	.ehm-kopf__login { margin-right: 0; }
	.ehm-kopf__start, .ehm-kopf__ab { display: none !important; }
	.ehm-kopf__konto { margin-right: 4px; }
	.ehm-kopf__burger { margin-left: 2px; margin-right: 4px; }
}
@media (max-width: 359px) {
	.ehm-kopf__logo img { height: 19px; }
	.ehm-kopf__knoepfe a span { display: none; }
}

/* ===== Aufklappmenüs „Funktionen“ und „Demos“ ===== */
.emp-mm{--ink:#2F3437;--line:#E6ECEA;font-family:"Montserrat",system-ui,sans-serif;color:var(--ink);box-sizing:border-box;text-align:left;line-height:1.3;text-transform:none;letter-spacing:0}
.emp-mm *{box-sizing:border-box}
.emp-mm a{text-decoration:none!important;text-transform:none!important;letter-spacing:0!important}
.emp-mm-grid{display:grid;grid-template-columns:repeat(3,minmax(250px,auto));gap:0}
.emp-mm--float .emp-mm-col a{white-space:nowrap}
.emp-mm-col{--c:#117A65;--t:#EAF6F2;--h:#DCEFE9;padding:0 12px}
.emp-mm-col+.emp-mm-col{border-left:1px solid var(--line)}
.emp-mm-col--g{--c:#3A55A8;--t:#EEF1FB;--h:#E3E8F8}
.emp-mm-col--f{--c:#AA3C66;--t:#FBF0F4;--h:#F7E3EB}
.emp-mm-col--a{--c:#2F3437;--t:#EEF1F0;--h:#E3E8E6}
.emp-mm-col a{display:flex;align-items:center;gap:12px;padding:9px 12px!important;border-radius:10px;font-size:14.5px!important;font-weight:500!important;color:var(--ink)!important;background:none;transition:background .15s}
.emp-mm-col a:hover,.emp-mm-col a:focus-visible{background:var(--h)!important;color:var(--ink)!important}
.emp-mm-col a.emp-mm-head{margin-bottom:10px;padding:10px 12px 14px!important;border-bottom:1px solid var(--line);border-radius:10px 10px 0 0}
.emp-mm-pill{flex:none;margin-left:auto;padding:3px 8px;border-radius:999px;background:var(--t);color:var(--c);font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.03em;line-height:1.3;white-space:nowrap;transition:background .15s}
.emp-mm-col a:hover .emp-mm-pill,.emp-mm-col a:focus-visible .emp-mm-pill,.emp-mm-col a[aria-current] .emp-mm-pill{background:#fff}
.emp-mm-col a[aria-current]{background:var(--t)!important;font-weight:600!important}
.emp-mm-col a.emp-mm-head[aria-current]{background:none!important}
.emp-mm-head[aria-current] i{background:var(--c);color:#fff}
.emp-mm-head[aria-current] b{color:var(--c)}
.emp-mm-foot a[aria-current]{text-decoration:underline!important;text-underline-offset:4px}
.emp-mm-col a.emp-mm-more{margin-top:6px;padding-left:54px!important;font-size:13px!important;font-weight:600!important;color:var(--c)!important}
.emp-mm--inline .emp-mm-col a.emp-mm-more{padding-left:50px!important}
.emp-mm-ic{flex:none;width:30px;display:flex;justify-content:center;color:var(--c)}
.emp-mm-ic svg{width:16px;height:16px}
.emp-mm-head i{flex:none;width:36px;height:36px;border-radius:50%;background:var(--t);color:var(--c);display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s}
.emp-mm-head svg{width:17px;height:17px}
.emp-mm-head:hover i,.emp-mm-head:focus-visible i{background:var(--c);color:#fff}
.emp-mm-head span{display:flex;flex-direction:column;gap:2px}
.emp-mm-head b{font-size:16px;font-weight:600;line-height:1.25;color:var(--ink)}
.emp-mm-head small{font-size:12.5px;font-weight:400;color:#6B7471}
.emp-mm-foot{display:flex;justify-content:center;gap:34px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.emp-mm-foot a{font-size:14px!important;font-weight:600!important;color:#0D5E4E!important;padding:0!important;background:none!important}
.emp-mm-foot a:hover{text-decoration:underline!important;text-underline-offset:4px}
/* Desktop: schwebende Fläche unter der Menüleiste */
.emp-mm--float{position:fixed;z-index:99999;max-width:calc(100vw - 32px);padding:14px 4px;background:#fff;border-radius:16px;box-shadow:0 18px 44px rgba(31,42,39,.16);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s,transform .18s,visibility .18s}
.emp-mm--float.emp-mm-open{opacity:1;visibility:visible;transform:none}
/* Seite hinter dem offenen Menü weichzeichnen; liegt knapp unter dem Kopfbereich (150) */
.emp-mm-dim{position:fixed;left:0;right:0;bottom:0;top:0;z-index:149;background:rgba(246,248,247,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s,visibility .25s}
.emp-mm-dim.emp-mm-open{opacity:1;visibility:visible}
/* Mobil: klappt im Menü auf */
.emp-mm--inline{display:none;width:100%;padding:4px 0 12px;white-space:normal}
.emp-mm--inline.emp-mm-open{display:block}
.emp-mm--inline .emp-mm-grid{grid-template-columns:1fr;gap:6px}
.emp-mm--inline .emp-mm-col{padding:0;border-left:0!important}
.emp-mm--inline .emp-mm-col a{padding:7px 8px!important}
.emp-mm--inline .emp-mm-col a.emp-mm-head{padding:8px 8px 10px!important;margin-bottom:4px}
.emp-mm--inline .emp-mm-head i{width:30px;height:30px}
.emp-mm--inline .emp-mm-foot{flex-direction:column;gap:12px;margin-top:12px;padding:12px 10px 0}

/* Demos: nummeriert, der Foto-Upload mit Kamera statt Nummer */
.emp-mm--float.emp-mm--demos{padding:10px}
.ehm-mm-demos{display:grid;grid-template-columns:1fr;gap:2px}
.ehm-mm-demos a{position:relative;display:flex;flex-direction:column;gap:2px;padding:13px 16px 13px 58px!important;border-radius:10px;background:none;color:var(--ink)!important;transition:background .15s}
.ehm-mm-demos a:hover,.ehm-mm-demos a:focus-visible{background:#DCEFE9!important}
.ehm-mm-demos b{font-size:15px;font-weight:600;line-height:1.25;color:var(--ink)}
.ehm-mm-demos small{font-size:12.5px;font-weight:400;color:#6B7471}
.ehm-mm-demos em{position:absolute;left:14px;top:50%;display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin-top:-15px;border-radius:50%;background:#EAF6F2;color:#117A65;font-style:normal;font-size:14px;font-weight:700;line-height:1;transition:background .15s,color .15s}
.ehm-mm-demos em svg{width:16px;height:16px}
.ehm-mm-demos a:hover em,.ehm-mm-demos a:focus-visible em{background:#117A65;color:#fff}
/* Foto-Upload in Beere, durch einen Abstand von den Demos getrennt */
.ehm-mm-demos a.ehm-mm-demos__extra{margin-top:6px}
.ehm-mm-demos a.ehm-mm-demos__extra em{background:#FBF0F4;color:#AA3C66}
.ehm-mm-demos a.ehm-mm-demos__extra:hover,.ehm-mm-demos a.ehm-mm-demos__extra:focus-visible{background:#F7E3EB!important}
.ehm-mm-demos a.ehm-mm-demos__extra:hover em,.ehm-mm-demos a.ehm-mm-demos__extra:focus-visible em{background:#AA3C66;color:#fff}
.emp-mm--inline .ehm-mm-demos a{padding:13px 12px 13px 46px!important}
.emp-mm--inline .ehm-mm-demos em{left:8px}
/* feine Linie zwischen den Einträgen, ab dem Text; rund um die überfahrene Zeile ausgeblendet */
.ehm-mm-demos a+a::after{content:"";position:absolute;left:58px;right:14px;top:-1px;height:1px;background:var(--line);transition:opacity .15s}
.ehm-mm-demos a.ehm-mm-demos__extra::after{top:-4px}
.emp-mm--inline .ehm-mm-demos a+a::after{left:46px;right:12px}
.ehm-mm-demos a:hover::after,.ehm-mm-demos a:focus-visible::after,.ehm-mm-demos a:hover+a::after,.ehm-mm-demos a:focus-visible+a::after{opacity:0}

/* ===== Mobiles Menü (Fläche unter dem Kopf) ===== */
.emp-mm-mp{position:fixed;left:0;right:0;bottom:0;top:0;z-index:99990;background:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;display:none;flex-direction:column;padding:6px 20px 24px;font-family:"Montserrat",system-ui,sans-serif}
.emp-mm-mp.emp-mm-open{display:flex}
.emp-mm-mp *{box-sizing:border-box}
.emp-mm-mi{display:flex;align-items:center;gap:14px;flex:none;width:100%;min-height:76px;margin:0;padding:15px 2px!important;border:0!important;border-bottom:1px solid #E6ECEA!important;border-radius:0!important;background:none!important;box-shadow:none!important;outline:0!important;font-family:inherit;letter-spacing:0!important;text-transform:none!important;text-align:left;text-decoration:none!important;color:#1F2A27!important;cursor:pointer;-webkit-tap-highlight-color:transparent}
.emp-mm-mi:hover,.emp-mm-mi:focus,.emp-mm-mi:active{background:none!important;box-shadow:none!important;outline:0!important;border-radius:0!important}
.emp-mm-mi:focus-visible{outline:2px solid #117A65!important;outline-offset:-2px}
.emp-mm-mi span{flex:1;display:flex;flex-direction:column;gap:2px}
.emp-mm-mi b{font-family:"Cormorant Garamond",Georgia,serif;font-size:27px;font-weight:600;line-height:1.1;color:inherit}
.emp-mm-mi small{font-size:12.5px;font-weight:400;line-height:1.3;color:#6B7471}
.emp-mm-mi[aria-current],.emp-mm-mi[aria-expanded="true"]{color:#117A65!important}
.emp-mm-mi[aria-expanded="true"]{border-bottom-color:transparent!important}
.emp-mm-mi svg{flex:none;box-sizing:content-box;width:16px;height:16px;padding:8px;border-radius:50%;background:#EAF6F2;color:#117A65;transition:transform .2s,background .2s,color .2s}
.emp-mm-mi[aria-expanded="true"] svg{transform:rotate(180deg);background:#117A65;color:#fff}
.emp-mm-mp .emp-mm-col a.emp-mm-head{cursor:pointer;margin-bottom:0;border-bottom:0!important}
.emp-mm-mp .emp-mm-col:not(.emp-mm-zu) a.emp-mm-head{margin-bottom:4px;border-bottom:1px solid var(--line)!important}
.emp-mm-mp .emp-mm-col a.emp-mm-head:hover,.emp-mm-mp .emp-mm-col a.emp-mm-head:focus{background:none!important}
.emp-mm-mp .emp-mm-head:hover i,.emp-mm-mp .emp-mm-head:focus i{background:var(--t);color:var(--c)}
.emp-mm-mp .emp-mm-head>svg{flex:none;width:16px;height:16px;margin-left:auto;color:#9AA5A1;transition:transform .2s}
.emp-mm-mp .emp-mm-col:not(.emp-mm-zu) .emp-mm-head>svg{transform:rotate(180deg);color:var(--c)}
.emp-mm-mp .emp-mm-col--a .emp-mm-head>svg{transform:none}
.emp-mm-mp .emp-mm-col.emp-mm-zu a:not(.emp-mm-head){display:none}
.emp-mm-mp .emp-mm-col:not(.emp-mm-zu){padding-bottom:8px!important}
.emp-mm-mkont{flex:none;display:flex;gap:8px;margin:10px 0 0}
.emp-mm-mkont a{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px!important;border:1px solid #DCE4E1;border-radius:999px;background:#fff;font-size:13px!important;font-weight:600!important;color:#2F3437!important;text-decoration:none!important}
.emp-mm-mkont svg{width:16px;height:16px;color:#117A65}
.emp-mm-mwert{flex:none;margin:14px 0 0;text-align:center;font-size:12px;line-height:1.4;color:#6B7471}
.emp-mm-mwert b{color:#2F3437;font-weight:600}
.emp-mm-mwert i{font-style:normal;color:#E0A100;letter-spacing:1px}
.emp-mm-mp .emp-mm--inline{flex:none;border-bottom:1px solid #EEF1F0;padding:0 0 14px}
.emp-mm-mluft{flex:none;height:26px}
.emp-mm-mcta{display:block;flex:none;margin:auto 0 0;padding:12px 20px!important;border-radius:999px;background:#AA3C66;color:#fff!important;font-size:14.5px!important;font-weight:600!important;text-align:center;text-decoration:none!important}
html.emp-mm-fest,html.emp-mm-fest body{overflow:hidden!important}
@media (prefers-reduced-motion:reduce){.emp-mm--float,.emp-mm-col a,.ehm-kopf,.ehm-kopf__logo,.ehm-kopf__logo img{transition:none}}
