/* WL-REDESIGN-2026: Anpassungen bestehender Komponenten (Karriere, Kalender, Profile, News) */

/* ---------- Events & Kalender (calendar.css) ---------- */
.cal{border-radius:var(--r-lg,26px);padding:clamp(14px,2vw,28px);background:linear-gradient(180deg,var(--card2),var(--card));border-color:var(--bd2)}
.cal-top h3{font-family:var(--display);font-weight:800}
.cd{min-height:118px;border-radius:14px;background:rgba(255,255,255,.02)}
.cd.has{background:rgba(var(--brgb),.06)}
.cd.has:hover{background:rgba(var(--brgb),.12);box-shadow:0 14px 30px -18px rgba(var(--brgb),.8)}
.cal-filters button,.archive-toggle{transition:border-color .25s,background .25s,transform .3s var(--ease)}
.cal-filters button.active{background:var(--b);border-color:var(--b);color:#fff}
.events-list-head{justify-content:space-between;margin:48px 0 18px;padding-bottom:16px;border-bottom:1px solid var(--bd)}
.events-list-head .cl-h{font-family:var(--display);font-size:clamp(22px,2.4vw,30px);text-align:left}
.clist{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;justify-content:stretch}
.citem{border-radius:18px;background:linear-gradient(180deg,var(--card2),var(--card));display:flex;flex-direction:column;transition:transform .5s var(--ease),border-color .3s,box-shadow .5s var(--ease)}
.citem img{height:150px;transition:transform 1s var(--ease)}
.citem:hover img{transform:scale(1.06)}
.citem .ci{padding:16px 18px 18px}
.citem b{font-family:var(--display);font-weight:700;letter-spacing:-.01em}
.next-event{border-radius:var(--r-lg,26px)}
.next-event:not(:has(>img)){grid-template-columns:1fr}
.next-event h3{font-family:var(--display)}
.cbox{border-radius:24px}
.cb-in h3{font-family:var(--display)}
.cmodal.on .cbox{animation:wlPop .45s var(--ease) both}
@keyframes wlPop{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
@media (max-width:700px){.cd{min-height:58px}.events-list-head{justify-content:flex-start}}
@media (prefers-reduced-motion:reduce){.cmodal.on .cbox{animation:none}}

/* ---------- Karriere (careers.css) ---------- */
.cr-hero .cr-hero-in{display:grid}
.cr-hero h1{max-width:none;font-size:clamp(40px,5.6vw,80px)}
.cr-hero h1 b{color:var(--b2);font-weight:inherit}
.cr-hero-side{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(160deg,rgba(var(--brgb),.2),rgba(8,12,22,.72) 55%)}
.cr-hero-stats dd{font-family:var(--display);font-weight:800}
.wl-band{position:relative;overflow:hidden;border-radius:var(--r-lg,26px)}
.wl-chip{transition:transform .35s var(--ease),background .3s}
.wl-chip:hover{transform:translateY(-3px);background:rgba(var(--brgb),.3)}
@media (max-width:980px){.cr-hero .cr-hero-in{grid-template-columns:1fr}}
.wl-band{min-height:clamp(260px,32vw,420px);display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(28px,5vw,56px)!important;box-shadow:inset 0 -160px 120px -60px rgba(4,6,12,.85)}

/* ---------- Stellenseite ---------- */
nav.wl-crumbs:not(:has(>.wrap)){display:flex;gap:8px;align-items:center;min-height:42px;padding:0 max(20px,calc((100vw - var(--wrap,1240px))/2))}
.crj .crj-btn:not(.crj-btn-ghost){background:var(--cr-acc,var(--b));color:var(--crj-on,#fff);box-shadow:0 14px 34px -14px rgba(var(--cr-acc-rgb,var(--brgb)),.9)}
.crj .crj-btn:hover{transform:translateY(-2px);filter:brightness(1.08)}
.crj h1,.crj h2,.crj h3{font-family:var(--display)}

/* ---------- Teamprofil (team-profile.php) ---------- */
body .team-profile{padding:clamp(28px,4vw,56px) 0 clamp(70px,8vw,120px)}
body .team-profile .profile-header{position:relative;margin-bottom:36px}
body .team-profile .profile-banner{height:clamp(200px,26vw,340px);border-radius:var(--r-lg,26px);position:relative;box-shadow:inset 0 -140px 120px -40px rgba(4,6,12,.9);border:1px solid var(--bd2)}
body .team-profile .profile-banner.pb-fb{filter:blur(22px) saturate(1.25) brightness(.7);clip-path:inset(0 round 26px)}
body .team-profile .profile-identity{align-items:flex-end;gap:26px;margin-top:-84px;padding:0 clamp(16px,3vw,40px);position:relative;z-index:2}
body .team-profile .profile-avatar{width:150px;height:150px;border-radius:30px;border:4px solid var(--bg);box-shadow:0 0 0 1px rgba(var(--brgb),.5),0 24px 60px -16px rgba(0,0,0,.8);background:linear-gradient(135deg,var(--b),rgba(var(--brgb),.4))}
body .team-profile h1{font-size:clamp(36px,5vw,68px);margin:0 0 8px;line-height:1}
body .team-profile .role-badge{background:rgba(var(--brgb),.18);border-color:rgba(var(--brgb),.5);font-weight:600}
body .team-profile .profile-links .btn{--bh:40px;padding:0 16px;font-size:13.5px;background:rgba(255,255,255,.05);border:1px solid var(--bd2);border-radius:12px}
body .team-profile .profile-links .btn:hover{background:var(--b);border-color:var(--b)}
body .team-profile .profile-card{background:linear-gradient(180deg,var(--card2),var(--card));border-color:var(--bd);border-radius:var(--r,20px);padding:clamp(20px,2.6vw,30px);transition:border-color .3s}
body .team-profile .profile-card:hover{border-color:rgba(var(--brgb),.4)}
body .team-profile .profile-card h2{font-family:var(--display);font-size:clamp(20px,2vw,26px)}
@media (max-width:640px){body .team-profile .profile-identity{flex-direction:column;align-items:flex-start;margin-top:-64px}body .team-profile .profile-avatar{width:112px;height:112px;border-radius:24px}}

/* ---------- Impressum & Datenschutz (legal.php) ---------- */
#wl-imprint .wl-w,#wl-privacy .wl-w{opacity:1!important;transform:none!important;filter:none!important}
body #wl-imprint,body #wl-privacy{padding:clamp(48px,7vw,100px) clamp(18px,3.4vw,40px) clamp(60px,8vw,110px)}
body #wl-imprint .wl-inner,body #wl-privacy .wl-privacy-inner{max-width:1000px}
body #wl-imprint h1,body #wl-privacy h1{font-family:var(--display);font-size:clamp(40px,6vw,80px);line-height:1;letter-spacing:-.03em}
body #wl-imprint .wl-heading,body #wl-privacy .wl-privacy-heading{border-color:var(--bd)}
body #wl-imprint .wl-heading p{color:var(--tx2)}
body #wl-imprint .wl-contact,body #wl-privacy .wl-privacy-text{background:linear-gradient(180deg,var(--card2),var(--card));border-color:var(--bd);border-radius:var(--r,20px)}
body #wl-imprint h2{font-family:var(--display)}
body #wl-imprint dl,body #wl-imprint .wl-text{border-color:var(--bd)}
body #wl-imprint a{color:var(--b3,#8fc2ff)}
