/* EEE-Akademie – Nachbau der GoodBarber-Webapp. Farben/Schriften/Maße aus app.eee-akademie.de */
@font-face{font-family:"Roboto";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/roboto-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Roboto";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/roboto-latin-500-normal.woff2) format("woff2")}

:root{
	--orange:#EC693D; --orange-head:#FF5A08; --dark:#1D1B20; --text:#4F4E4B; --nav:#F9EFE6; --line:#4F4E4B;
	--sans:"Liberation Sans",Arial,Helvetica,sans-serif; --roboto:Roboto,Arial,sans-serif;
	--nav-h:64px; --gap:12px; --r:12px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--nav);color:var(--text);font-family:var(--sans);font-size:16px;line-height:1.2;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--orange)}
h1,h2,h3,h4{margin:0;font-weight:400}
.ee-bg{position:fixed;inset:0;z-index:-1;background:linear-gradient(#FFEEEE,#DDEFBB)}
[hidden]{display:none!important}
.ee-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.ee-icon{display:inline-block;width:24px;height:24px;background:currentColor;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat;flex:none}

/* ---------- Kopfleiste ---------- */
.ee-nav{position:fixed;top:0;left:0;right:0;z-index:50;height:var(--nav-h);background:var(--nav);display:flex;align-items:center;justify-content:center}
.ee-nav__logo img{height:50px;width:auto}
.ee-nav__burger{position:absolute;left:6px;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;background:none;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.ee-nav__burger span,.ee-nav__burger span::before,.ee-nav__burger span::after{display:block;width:20px;height:2.5px;background:var(--orange);border-radius:1px;position:relative}
.ee-nav__burger span::before,.ee-nav__burger span::after{content:"";position:absolute;left:0}
.ee-nav__burger span::before{top:-6.5px}.ee-nav__burger span::after{top:6.5px}
.ee-main{padding:var(--nav-h) 0 var(--gap);min-height:100vh}
.admin-bar .ee-nav,.admin-bar .ee-menu{top:32px}
@media (max-width:782px){.admin-bar .ee-nav,.admin-bar .ee-menu{top:46px}}

/* ---------- Seitenmenü (schmale Leiste) ---------- */
.ee-menu{position:fixed;top:0;bottom:0;left:0;z-index:70;width:110px;background:var(--dark);transform:translateX(-100%);transition:transform .25s ease;overflow-y:auto;scrollbar-width:none}
.ee-menu.is-open{transform:none}
.ee-menu__konto{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:105px;color:#918F8A;text-decoration:none;font-size:12px}
.ee-menu__konto .ee-icon{width:48px;height:48px}
.ee-menu ul{list-style:none;margin:0;padding:0}
.ee-menu li a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:84px;padding:0 6px;color:#DDDDDD;text-decoration:none;font-size:13px;text-align:center}
.ee-menu li a span:last-child{max-width:98px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ee-menu li.is-active a,.ee-menu li a:hover{color:#fff}
.ee-menu__overlay{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.35)}
body.ee-menu-open{overflow:hidden}

/* ---------- Karten ---------- */
.ee-card{background:#fff;border-radius:var(--r);margin:var(--gap) var(--gap) 0;padding:20px}
.ee-card--dark{background:var(--dark);color:#fff}
.ee-text{text-align:center}
.ee-text h2{font-size:28px;line-height:34px;color:var(--text);margin-bottom:20px}
.ee-text--title h2{color:#000;margin:0}
.ee-text p{margin:0 0 16px;font-size:15px;line-height:1.3;color:var(--text)}
.ee-btn{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 16px;border-radius:999px;background:var(--orange);color:#fff;font-family:var(--roboto);font-size:18px;text-transform:uppercase;text-decoration:none;border:0;cursor:pointer;margin-top:4px}
.ee-btn:hover{filter:brightness(1.06)}
.ee-btn--dark{background:var(--dark)}

/* Community-Raster auf der Startseite */
.ee-cgrid{display:grid;grid-template-columns:repeat(2,minmax(0,380px));justify-content:center;padding:12px 0 0}
.ee-cgrid__cell{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;aspect-ratio:380/387;padding:0 28px;color:#fff;text-decoration:none;gap:10px}
.ee-cgrid__cell img{width:48px;height:48px;margin-bottom:8px;border-radius:6px}
.ee-cgrid__cell h3{font-size:30px;line-height:36px}
.ee-cgrid__cell p{margin:0;font-size:18px}
.ee-cgrid__cell:nth-child(odd)::after{content:"";position:absolute;right:0;top:0;bottom:0;border-right:1px solid var(--line)}
.ee-cgrid__cell:nth-child(n+3)::before{content:"";position:absolute;top:0;left:15%;right:15%;border-top:1px solid var(--line)}
.ee-cgrid__cell:hover h3{color:var(--orange)}
.ee-sep{border:0;border-top:1px solid #000;margin:var(--gap) var(--gap) 0}
.ee-links{display:flex;justify-content:center;align-items:center;padding:20px;min-height:65px}
.ee-links a{color:#fff;text-decoration:none;font-size:15px;padding:0 13px}
.ee-links a+a{border-left:1px solid var(--line)}
.ee-links--big a{font-size:18px}
.ee-links a:hover{text-decoration:underline}

/* Kurs Kalender */
.ee-kalender{padding:0;overflow:hidden;background:transparent}
.ee-kalender__head{display:block;background:var(--orange-head);color:#fff;text-align:center;padding:14px;font-size:18px;text-decoration:none;border-radius:var(--r) var(--r) 0 0}
.ee-kurse{display:flex;gap:var(--gap)}
.ee-kurse--row{overflow-x:auto;padding:var(--gap) 0;scroll-snap-type:x mandatory;scrollbar-width:none}
.ee-kurse--list{flex-direction:column;padding:0 var(--gap);max-width:760px;margin:0 auto}
.ee-kurse--list .ee-kurs{margin-top:var(--gap)}
.ee-kurs{flex:0 0 300px;background:#fff;border-radius:var(--r);overflow:hidden;text-decoration:none;color:var(--text);display:flex;flex-direction:column;scroll-snap-align:start}
.ee-kurse--list .ee-kurs{flex:none;flex-direction:row}
.ee-kurs__img{position:relative;height:160px;background:#4F4E4B center/cover no-repeat}
.ee-kurse--list .ee-kurs__img{width:220px;height:auto;min-height:150px;flex:none}
.ee-kurs__date{position:absolute;left:12px;top:12px;width:52px;height:52px;border-radius:50%;background:var(--dark);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;text-transform:uppercase}
.ee-kurs__date b{font-size:18px;line-height:1}
.ee-kurs__body{padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.ee-kurs__t{font-size:18px;color:var(--dark)}
.ee-kurs__m{font-size:13px;color:var(--orange)}
.ee-kurs__s{font-size:14px;line-height:1.35}
.ee-empty{text-align:center;color:var(--text);margin:40px 0;font-size:15px}

/* ---------- Community-Kacheln ---------- */
.ee-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap);padding:var(--gap)}
.ee-tile{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;border-radius:var(--r);overflow:hidden;background:#555 center/cover no-repeat;text-decoration:none}
.ee-tile::before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.05),rgba(0,0,0,.45))}
.ee-tile span{position:relative;color:#fff;font-size:30px;line-height:1.2;text-align:center;padding:0 16px;text-shadow:0 1px 4px rgba(0,0,0,.35)}
.ee-tiles>.ee-tile:only-child{grid-column:1/-1;aspect-ratio:auto;height:min(56vw,540px)}
.ee-tile__lock{position:absolute;right:12px;top:12px;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.55)}
.ee-tile__lock::before{content:"";position:absolute;left:9px;top:13px;width:10px;height:8px;background:#fff;border-radius:1px}
.ee-tile__lock::after{content:"";position:absolute;left:10.5px;top:7px;width:7px;height:7px;border:2px solid #fff;border-bottom:0;border-radius:5px 5px 0 0}

/* ---------- Login-Hinweis (wie GoodBarber) ---------- */
.ee-gate{grid-column:1/-1;min-height:calc(100vh - var(--nav-h) - 40px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}
.ee-gate__title{font-size:44px;line-height:1.2;color:var(--dark);margin-bottom:28px}
.ee-gate p{max-width:440px;font-size:16px;line-height:1.4;margin:0 0 18px}
.ee-gate .ee-btn{min-width:358px;max-width:100%;font-size:15px;height:44px}
.ee-login{width:100%;max-width:400px;background:#fff;border-radius:var(--r);padding:24px;text-align:left;display:flex;flex-direction:column;gap:14px}
.ee-login label{display:flex;flex-direction:column;gap:6px;font-size:13px}
.ee-login input[type=text],.ee-login input[type=password]{height:44px;border:1px solid #ccc;border-radius:22px;padding:0 16px;font:inherit;font-size:15px}
.ee-login .ee-btn{min-width:0;width:100%}
.ee-login__links{font-size:13px;margin:0;text-align:center}
.ee-check{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:8px!important;font-size:14px;line-height:1.35;cursor:pointer;margin:0 0 10px}
.ee-check input{margin-top:2px;accent-color:var(--orange);width:16px;height:16px;flex:none}
.ee-alert{background:#fdecea;color:#a12622;padding:10px 14px;border-radius:8px;font-size:14px}
.ee-alert--info{background:#fff4e8;color:#8a4a12}

/* ---------- Profil ---------- */
.ee-profil{max-width:600px;margin:40px auto 0;text-align:center;padding:32px 24px}
.ee-profil__avatar{display:inline-flex;width:72px;height:72px;border-radius:50%;background:var(--nav);color:#918F8A;align-items:center;justify-content:center;margin-bottom:12px}
.ee-profil__avatar .ee-icon{width:48px;height:48px}
.ee-profil__mail{color:#918F8A;margin:8px 0 20px}
.ee-profil__h{font-size:18px;margin:10px 0}
.ee-profil__list{list-style:none;padding:0;margin:0 0 24px;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.ee-profil__list a{display:block;padding:8px 14px;border-radius:999px;background:var(--dark);color:#fff;text-decoration:none;font-size:14px}
.ee-profil__actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.ee-profil__actions .ee-btn{font-size:15px;height:44px}

/* ---------- Textseiten ---------- */
.ee-title{font-size:28px;line-height:1.2;color:var(--dark);margin-bottom:20px}
.ee-title--center{text-align:center}
.ee-page{max-width:860px;margin:var(--gap) auto 0;padding:24px 28px 32px}
@media (max-width:884px){.ee-page{margin:var(--gap) var(--gap) 0}}
.ee-page__img{height:260px;border-radius:8px;background:#ddd center/cover;margin:-4px -8px 20px}
.ee-txt{font-size:15px;line-height:1.5;color:var(--text)}
.ee-txt p{margin:0 0 1em}
.ee-txt h2{font-size:17px;font-weight:700;color:var(--dark);margin:1.4em 0 .5em}
.ee-txt ul{padding-left:1.3em;margin:0 0 1em}
.ee-txt a{word-break:break-word}

.ee-settings{max-width:560px;margin:40px auto 0;background:#fff}
.ee-settings__group{margin:0;padding:14px 18px 8px;color:var(--orange);font-size:14px;border-bottom:1px solid #ddd}
.ee-settings__row{display:block;font-size:14px;padding:14px 18px;border-bottom:1px solid #ddd;color:var(--text);text-decoration:none}
.ee-settings .ee-txt{padding:18px;font-size:14px;border-bottom:1px solid #ddd}
.ee-settings__link:hover{color:var(--orange)}

/* ---------- Formular ---------- */
.ee-form{max-width:600px;margin:var(--gap) auto 0;padding:24px 26px 32px}
@media (max-width:624px){.ee-form{margin:var(--gap) var(--gap) 0}}
.ee-form .ee-title{font-size:28px}
.ee-form__intro{margin-bottom:36px;font-size:14px}
.ee-form__ok p{font-size:16px;line-height:1.5}
.ee-f{margin-bottom:18px;flex:1;min-width:0}
.ee-f label,.ee-f__label{display:block;font-size:12px;margin:0 0 6px;color:var(--text)}
.ee-f__label{font-size:15px;margin-bottom:10px}
.ee-f__wrap{position:relative}
.ee-f input[type=text],.ee-f input[type=email],.ee-f input[type=tel],.ee-f select{width:100%;height:44px;border:1px solid #ccc;border-radius:22px;padding:0 16px;font:inherit;font-size:15px;color:var(--text);background:#fff;-webkit-appearance:none;appearance:none}
.ee-f input:focus,.ee-f select:focus,.ee-login input:focus{outline:none;border-color:var(--orange)}
.ee-f__wrap.has-pin input{padding-right:40px}
.ee-pin{position:absolute;right:16px;top:50%;width:12px;height:12px;margin-top:-8px;background:#000;border-radius:50% 50% 50% 0;transform:rotate(-45deg)}
.ee-pin::after{content:"";position:absolute;left:3.5px;top:3.5px;width:5px;height:5px;border-radius:50%;background:#fff}
.ee-f__wrap.is-select::after{content:"";position:absolute;right:18px;top:50%;width:7px;height:7px;margin-top:-6px;border-right:1.5px solid #666;border-bottom:1.5px solid #666;transform:rotate(45deg);pointer-events:none}
.ee-f__help{font-size:12px;line-height:1.35;margin:6px 0 0}
.ee-f__err{display:block;color:#c0392b;font-size:12px;margin-top:4px}
.ee-f.is-error input,.ee-f.is-error select{border-color:#c0392b}
.ee-f__row{display:flex;gap:10px}
.ee-addr{border:0;margin:0 0 18px;padding:0}
.ee-addr legend{font-size:14px;padding:0;margin:0 0 10px}
.ee-form .ee-btn{min-width:181px}

/* ---------- Mobil ---------- */
@media (max-width:700px){
	.ee-text h2{font-size:22px;line-height:27px}
	.ee-cgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.ee-cgrid__cell{padding:0 8px}
	.ee-cgrid__cell h3{font-size:22px;line-height:26px}
	.ee-cgrid__cell p{font-size:14px}
	.ee-cgrid__cell img{width:40px;height:40px}
	.ee-tile span{font-size:22px}
	.ee-gate__title{font-size:33px}
	.ee-gate .ee-btn{min-width:260px}
	.ee-f__row{flex-direction:column;gap:0}
	.ee-kurse--list .ee-kurs{flex-direction:column}
	.ee-kurse--list .ee-kurs__img{width:auto;height:160px}
	.ee-links a{font-size:13px}
}
@media (max-width:420px){.ee-tiles{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
