
/* V29.6 – responsive Portalnavigation */
.portal-header{background:#fff;border-bottom:1px solid #dce5ef;padding:12px max(16px,calc((100vw - 1200px)/2));box-shadow:0 2px 12px rgba(30,58,95,.06)}
.portal-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.portal-brand{display:flex;gap:10px;align-items:center;color:#102a43;text-decoration:none;font-weight:800;font-size:1.04rem}
.portal-brand small{display:block;color:#64748b;font-weight:500;font-size:.73rem}
.portal-brand-icon{display:grid;place-items:center;background:#1d4ed8;color:#fff;width:37px;height:37px;border-radius:11px}
.portal-menu{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.portal-menu-link{display:flex;align-items:center;gap:7px;padding:10px 12px;border-radius:10px;color:#334155!important;text-decoration:none!important;font-size:.9rem;font-weight:650}
.portal-menu-link:hover,.portal-menu-link.is-active{background:#dbeafe;color:#1d4ed8!important}
.portal-menu-icon{font-size:1.12rem;line-height:1}
.portal-logout{margin-left:auto;color:#b91c1c!important}
.portal-menu-button{display:none;border:1px solid #cbd5e1;background:#fff;color:#1d4ed8;padding:10px 14px;border-radius:10px;font-weight:750}
@media(max-width:950px){
.portal-header{padding:12px 16px}
.portal-header-row{margin-bottom:0}
.portal-menu-button{display:block;min-height:44px}
.portal-menu{display:none;flex-direction:column;align-items:stretch;gap:5px;padding-top:14px}
.portal-menu.is-open{display:flex}
.portal-menu-link{min-height:46px;padding:12px 14px}
.portal-logout{margin-left:0;border-top:1px solid #e2e8f0}
}

/* V29.6.1: Einheitliche Kopfzeile auf allen Portalseiten */
@media (min-width:951px){
 .portal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:nowrap}
 .portal-header-row{margin-bottom:0;flex:0 0 auto}
 .portal-menu{display:flex;flex:1 1 auto;justify-content:flex-end;min-width:0}
 .portal-brand{white-space:nowrap}
 .portal-menu-link{white-space:nowrap;padding:9px 10px}
}
@media (max-width:950px){
 .portal-header{display:flex;flex-direction:column;align-items:stretch}
 .portal-header-row{width:100%}
 .portal-menu{width:100%}
}
