body{background:linear-gradient(155deg,#fff 0,#f6fcfb 54%,#f1faf9 100%) fixed;color:#151631}
header:has(.az-primary){background:#fbfefddc;border:0;backdrop-filter:blur(18px)}
header .top:has(.az-primary){display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:64px;gap:8px}
#screen-label{font-size:clamp(1.35rem,3vw,1.85rem);font-weight:760;letter-spacing:-.05em}
.top .brand{grid-column:2;justify-self:center;margin:0}.brand img{object-fit:contain;mix-blend-mode:multiply}
.top .person{grid-column:3;justify-self:end;padding:0;width:44px;height:44px;min-width:0;display:grid;place-items:center;background:none;border:0}
.person[hidden],#session-fab[hidden],.az-primary:empty{display:none!important}
.person strong,.person>img{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#e4f5f3;color:#265380;display:grid;place-items:center}
body:has(.az-primary){padding-bottom:calc(155px + env(safe-area-inset-bottom))}
.top .az-primary{position:fixed;top:auto;left:50%;right:auto;transform:translateX(-50%);bottom:calc(9px + env(safe-area-inset-bottom));width:min(calc(100% - 24px),520px);border:1px solid #ffffffcf;border-radius:32px;box-shadow:0 5px 24px #28264c26,inset 0 0 0 1px #d6eeeb;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;padding:5px;background:#f9fdfced;backdrop-filter:blur(16px);z-index:15}
body header:has(.az-primary){backdrop-filter:none;position:static}
.top .az-primary button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-height:46px;padding:4px 0;color:#4c4862;font-size:.76rem;border:0;border-radius:25px}
.top .az-primary button.active{background:linear-gradient(135deg,#dae8ff,#def2f0);color:#2a65a0}
.az-primary svg{width:21px;height:21px}
#session-fab{position:fixed;z-index:14;bottom:calc(83px + env(safe-area-inset-bottom));right:max(18px,env(safe-area-inset-right));border:1px solid #1775dc;border-radius:50%;background:linear-gradient(140deg,#279bff,#136ce4);color:white;width:60px;height:60px;display:grid;place-items:center;box-shadow:0 7px 22px #1e438547,inset 0 1px 3px #aee0ff}
#session-fab svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body:has(.studio) #session-fab{display:none}body:has(.studio) header{display:none}
.card,.az-card,.mod{border-color:#e0efed;border-radius:20px}
.btn.primary{background:#219285;border-color:#219285;color:white}
.daily-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px}
.daily-tile{min-width:0;display:flex;flex-direction:column;align-items:start;padding:10px clamp(12px,2vw,22px);border:1px solid #ecf8f6;border-radius:18px;background:linear-gradient(135deg,#f6fbfb,#e9f6f5);color:#172839;text-align:left;cursor:pointer}
.daily-tile .tile-photo{height:clamp(43px,7vw,80px);align-self:center;max-width:90%;object-fit:contain;mix-blend-mode:multiply}
.daily-tile b{font-size:clamp(1rem,2vw,1.25rem);letter-spacing:-.03em}.daily-tile>span{line-height:1.22;font-size:.93rem;margin:4px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.daily-tile small{margin-top:auto;display:flex;align-items:center;gap:6px;font-size:.72rem;color:#52506a;border-top:1px solid #d9d5e5;padding-top:6px;width:100%}.daily-tile small img{width:auto;max-width:65px;height:20px;object-fit:contain}
.campus-live{background:linear-gradient(90deg,#121d46 12%,#142043df 55%,transparent 86%),url('campus-live-photo.webp') right center/auto 100% no-repeat,#273451;border-radius:20px;min-height:165px;margin:0;color:white}
.campus-live h2{font-size:clamp(1.3rem,4vw,2.2rem);margin:.3rem 0}.campus-live .live-tutor{display:none}
#machine{background:transparent;border:0;box-shadow:none;padding:0;overflow:visible;margin:18px 0 22px;color:#14152e}
#machine h2{font-size:1.4rem;margin:0 0 9px;letter-spacing:-.04em;color:#161631}
#machine .console-body{position:relative;margin-right:28px;border:1px solid #c6c3d6;border-radius:18px;background:linear-gradient(164deg,#fff,#e4efee 55%,#fdfefe);box-shadow:inset 0 2px 2px white,inset 0 -2px 4px #cccada,0 5px 10px #1d344b19;padding:7px 7px 10px}
#machine .reel-deck{border:0;border-radius:11px;gap:1px;background:transparent;box-shadow:none;padding:0}
#machine .reel{border:0;border-radius:0;background:transparent;overflow:hidden}
#machine .reel-label{color:#39334e;font-size:clamp(.72rem,2vw,.9rem);padding:0 0 6px}
#machine .reel-window{padding:0;display:grid;grid-template-rows:1fr 1.4fr 1fr;border-radius:5px;border:1px solid #b8b4ca;background:linear-gradient(#b9b5ca,#fff 12%,#f2faf9 35%,#e2f4f2 38%,#cbebe7 60%,#e9f6f5 65%,#f9f9fd 78%,#cac7d3);box-shadow:inset 2px 1px 3px #54516440;min-height:105px}
#machine .reel-window button{background:none;min-height:30px;padding:2px 3px;color:#646075;font-size:clamp(.7rem,2vw,.92rem);line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#machine .reel-window .reel-choice{min-height:42px;color:#192e44;font-weight:730;font-size:clamp(.76rem,2.5vw,1.08rem);white-space:normal;overflow-wrap:anywhere;hyphens:auto}
#machine .lever{position:absolute;right:-29px;bottom:10%;margin:0;width:36px;height:85%;background:none;border:0;box-shadow:none}
#machine .pullrail{position:absolute;bottom:17%;left:5px;height:60%;width:7px;border-radius:4px;transform-origin:center bottom;transform:rotate(12deg);background:linear-gradient(90deg,#515464,#fff 40%,#71717c 80%);box-shadow:1px 2px 2px #27253866}
#machine .lever i{left:50%;top:-10px;width:22px;height:22px;border:0;border-radius:50%;transform:translate(-50%,calc(var(--travel,0px)*.55));background:radial-gradient(circle at 34% 22%,white,#a3a2b5 15%,#454959 33%,#1c1d28 66%,#a6a9b9);box-shadow:0 2px 3px #25243855}
#machine .lever i:before{display:none}
#machine .pullrail:after{content:'';position:absolute;bottom:-5px;left:-7px;width:17px;height:13px;border-radius:5px;background:linear-gradient(#70727b,#eeedf3,#747681)}
.topic-result{width:100%;background:#f5fbfa;border:0;border-radius:12px;display:grid;gap:3px;padding:12px;text-align:left;color:#203347;margin:5px 0;cursor:pointer}
.topic-result small{color:#57526d}#topic-hits{max-height:44vh;overflow:auto}
@media(min-width:800px){body:not(:has(.studio)) #main,header .top{max-width:1000px;margin-inline:auto}.daily-tile{display:grid;grid-template-columns:1fr auto}.daily-tile .tile-photo{grid-column:2;grid-row:1/4}.daily-tile>span,.daily-tile b,.daily-tile small{grid-column:1}.daily-tile .tile-photo{max-width:110px}.campus-live{min-height:200px}}
.campus-live::before,.campus-live::after{content:none}
.employer .business-hero{background-color:#21364b}.employer .btn.primary{background:#219285}
#main>.studio-ticket{width:100%;margin-block:12px}
@media(max-width:720px){header .top:has(.az-primary){grid-template-rows:auto;padding-block:8px;flex-wrap:nowrap}.top .person{grid-row:1}.top .az-primary{order:initial;overflow:visible}.daily-pair+.campus-live{padding:18px}.campus-live .live-label small{font-size:.71rem}}

/* Betriebsportal: Kopfzeile mit Abständen und neuem Logo */
.employer .top{display:flex;align-items:center;gap:clamp(8px,2vw,20px);flex-wrap:wrap;padding:10px clamp(16px,3vw,42px);max-width:1080px;margin:auto;box-sizing:border-box}
.employer .top .brand{grid-column:auto;justify-self:auto;margin-right:auto;align-items:center}
.employer .top>a{text-decoration:none;color:#20434f;font-weight:650;padding:8px 14px;border-radius:99px;border:1px solid #dae4e7;background:#fff}
.employer .top>a:hover{border-color:#219285;color:#219285}
.employer .brand img{width:40px;height:40px;object-fit:cover;border-radius:10px;mix-blend-mode:normal;background:none}
