/* V156: gemeinsame PA-Kopfzeile. Fachliche Überschriften und Originalaktionen bleiben erhalten. */
body > .pa-masthead{box-sizing:border-box;position:relative;z-index:60;display:block;width:100%;max-width:none;min-height:80px;margin:0;padding:0;border:0;border-top:1px solid var(--gold,#d6aa54);border-bottom:1px solid rgba(226,187,106,.35);border-radius:0;background:var(--forest,#0b2118);color:#fffefa;text-align:left;font-family:Manrope,system-ui,sans-serif;box-shadow:none}
.pa-masthead .pa-masthead-inner{box-sizing:border-box;display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;width:min(1240px,calc(100% - 48px));min-height:80px;margin:0 auto;padding:12px 0}
.pa-masthead a.pa-masthead-brand{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:none;color:#fffefa;text-decoration:none;font:700 13px/1.3 Manrope,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}
.pa-masthead-brand > b{box-sizing:border-box;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--gold,#d6aa54);border-radius:12px;color:#e2bb6a;font:700 16px/1 Manrope,system-ui,sans-serif;letter-spacing:0}
.pa-masthead a.pa-masthead-home{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0 0 0 auto;padding:0 12px;border:1px solid rgba(226,187,106,.45);border-radius:12px;color:#e2bb6a;background:none;font:600 12px/1.3 Manrope,system-ui,sans-serif;letter-spacing:0;text-decoration:none;white-space:nowrap}
/* Startseite: kein redundanter Rückweg; Unterseiten behalten ihren Heimlink. */
body[data-pa-page="home"] .pa-masthead a.pa-masthead-home{display:none}
body[data-pa-page="home"] .pa-masthead .pa-masthead-actions{margin-left:auto}
.pa-masthead a:focus-visible,.pa-masthead button:focus-visible{outline:3px solid #e2bb6a;outline-offset:3px}
.pa-masthead .pa-masthead-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:0}
.pa-masthead .pa-masthead-actions:empty{display:none}
.pa-masthead .pa-intro-bar-actions,.pa-masthead .header-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:0}
.pa-masthead .pa-masthead-actions :is(button,a){box-sizing:border-box;min-width:44px;min-height:44px;border:1px solid rgba(226,187,106,.4);border-radius:12px;background:transparent;color:#fffefa;box-shadow:none;text-decoration:none}
.pa-masthead .pa-masthead-actions button[hidden],.pa-masthead .pa-masthead-actions [hidden]{display:none!important}
.pa-masthead .pa-masthead-actions .pa-chip{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;font-size:12px}
.pa-masthead .pa-install-anchor{position:relative;display:inline-flex}
.pa-masthead .install-pop{top:calc(100% + 12px);left:50%;right:auto;translate:-50% 0;transform:none;transform-origin:50% 0;max-width:min(260px,70vw);white-space:normal;z-index:70}
.pa-masthead .pa-install-anchor .install-pop::before{left:calc(50% - 4px);right:auto;width:8px;height:8px;transform:rotate(45deg)}
body:has(>.pa-masthead) header.top .pa-brand,body:has(>.pa-masthead) .brandbar>a:first-child,body:has(>.pa-masthead) .topbar>.brand{display:none}
body:has(>.pa-masthead) .pa-intro-bar>.pa-label,body:has(>.pa-masthead) .header>.brand{display:none}
[data-pa-masthead-empty]{display:none!important}
/* V157: Installationsangebote ausschließlich auf der Startseite, auch vor JS. */
body:not([data-pa-page="home"]) :is(#installAppBtn,#installPop,#installBanner,#installGuide,.pa-install-anchor){display:none!important}
body:has(>.pa-masthead) .pa-baseline{display:none}
body[data-pa-notes="error"]{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:0}
body[data-pa-notes="error"]>.pa-masthead+div{margin:auto;padding:36px 24px}
@media(max-width:680px){
 .pa-masthead .pa-masthead-inner{width:calc(100% - 24px);gap:8px 12px;min-height:80px}
 .pa-masthead a.pa-masthead-brand{gap:8px;font-size:11px;letter-spacing:.06em}
 .pa-masthead a.pa-masthead-home{font-size:11px;padding:0 8px}
 .pa-masthead .pa-masthead-actions{width:100%;justify-content:flex-end}
 .pa-masthead .pa-intro-bar-actions{width:100%;justify-content:flex-end}
}
@media print{body>.pa-masthead{display:none}}
