/* Nord Fachkraft unified TR navigation; scoped to header only */
.nf-unified-header{position:fixed;inset:0 0 auto;z-index:1100;height:96px;background:rgba(255,255,255,.98);border-bottom:1px solid #e7ebf0;box-shadow:0 1px 3px rgba(16,25,45,.025)}
.nf-unified-header *{box-sizing:border-box}
.nf-unified-header .nf-bar{max-width:1240px;margin:0 auto;padding:0 24px;height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}
.nf-unified-header .nf-logo{display:flex;align-items:center;flex:0 0 auto;text-decoration:none}
.nf-unified-header .nf-logo img{display:block;width:190px;height:55px;object-fit:contain;object-position:left center}
.nf-unified-header .nf-right{display:flex;align-items:center;gap:16px;margin-left:auto}
.nf-unified-header .nf-links{display:flex;align-items:center;gap:clamp(10px,1.05vw,18px);list-style:none;padding:0;margin:0}
.nf-unified-header .nf-links a{font-family:'Poppins',sans-serif;display:block;color:#243047;font-size:13px;font-weight:500;text-decoration:none;white-space:nowrap;transition:color .2s}
.nf-unified-header .nf-links a:hover,.nf-unified-header .nf-links a[aria-current=page]{color:#b78b16}
.nf-unified-header .nf-links a[aria-current=page]{position:relative;font-weight:600}
.nf-unified-header .nf-links a[aria-current=page]:after{content:'';position:absolute;bottom:-17px;left:0;right:0;height:2px;background:#d4af37}
.nf-unified-header .nf-contact{display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:#10192d;color:#fff;text-decoration:none;padding:10px 19px;border-radius:9px;font-family:'Poppins',sans-serif;font-size:13px;font-weight:600;white-space:nowrap}
.nf-unified-header .nf-lang{display:flex;align-items:center;padding:4px;gap:3px;background:#f7f9fc;border:1px solid #e1e7ef;border-radius:12px;flex:0 0 auto}
.nf-unified-header .nf-lang a{font-family:'Poppins',sans-serif;font-size:12px;font-weight:600;text-decoration:none;color:#53637a;padding:9px 10px;border-radius:8px;line-height:1}
.nf-unified-header .nf-lang a[aria-current=page]{color:white;background:#10192d}
.nf-unified-header .nf-toggle{display:none;width:46px;height:46px;border:1px solid #e1e7ef;background:#f8fafc;border-radius:12px;align-items:center;justify-content:center;cursor:pointer;color:#10192d}
.nf-unified-header .nf-toggle svg{width:23px;height:23px}
.nf-unified-header .nf-overlay{display:none;position:fixed;inset:0;background:rgba(9,17,31,.55);z-index:1}
.nf-unified-header .nf-panel{display:none;position:fixed;right:0;top:0;bottom:0;width:min(390px,88vw);background:white;z-index:2;box-shadow:-15px 0 35px rgba(16,25,45,.12);transform:translateX(105%);transition:transform .24s ease;overflow-y:auto;padding:28px 22px 24px}
.nf-unified-header .nf-panel-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7ebf0;padding-bottom:20px;margin-bottom:20px}
.nf-unified-header .nf-panel-title{font-size:17px;font-weight:750;color:#10192d;font-family:'Plus Jakarta Sans','Poppins',sans-serif}
.nf-unified-header .nf-panel-title span{color:#d4af37}
.nf-unified-header .nf-close{height:44px;width:44px;display:grid;place-items:center;border:1px solid #e1e7ef;background:#f8fafc;border-radius:12px;cursor:pointer;color:#10192d;font-size:26px}
.nf-unified-header .nf-panel-links{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.nf-unified-header .nf-panel-links a{display:flex;align-items:center;gap:16px;min-height:58px;padding:0 16px;text-decoration:none;border-radius:12px;color:#243047;font-size:15px;font-family:'Poppins',sans-serif;font-weight:500}
.nf-unified-header .nf-panel-links a svg{width:20px;height:20px;color:#667d9c;flex:0 0 20px}
.nf-unified-header .nf-panel-links a[aria-current=page]{background:#f6f8fb;border:1px solid #e1e7ef;position:relative}
.nf-unified-header .nf-panel-links a[aria-current=page]:before{content:'';position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:4px;background:#d4af37}
.nf-unified-header .nf-panel-links a[aria-current=page] svg{color:#c99b20}
.nf-unified-header .nf-panel-contact{display:flex;align-items:center;justify-content:center;gap:12px;background:#10192d;color:white;border-radius:12px;min-height:58px;text-decoration:none;font-weight:600;margin-top:20px;font-size:15px;box-shadow:0 10px 25px rgba(16,25,45,.12)}
.nf-unified-header .nf-panel-contact svg{width:18px;height:18px;color:#d4af37}
.nf-unified-header .nf-panel-foot{font-size:12px;color:#94a3b8;text-align:center;margin-top:70px}
@media(max-width:1200px){.nf-unified-header .nf-links{gap:9px}.nf-unified-header .nf-links a{font-size:12px}.nf-unified-header .nf-logo img{width:170px}}
@media(max-width:1120px){.nf-unified-header{height:86px}.nf-unified-header .nf-links,.nf-unified-header .nf-contact{display:none}.nf-unified-header .nf-toggle{display:flex}.nf-unified-header .nf-logo img{width:180px;height:50px}.nf-unified-header .nf-panel{display:block}.nf-unified-header.is-open .nf-overlay{display:block}.nf-unified-header.is-open .nf-panel{transform:translateX(0)}.nf-unified-header .nf-right{gap:12px}}
@media(max-width:520px){.nf-unified-header .nf-bar{padding:0 20px}.nf-unified-header .nf-logo img{width:150px}.nf-unified-header .nf-right{gap:10px}.nf-unified-header .nf-lang a{padding:8px}.nf-unified-header .nf-panel{width:min(390px,88vw)}}
@media(prefers-reduced-motion:reduce){.nf-unified-header .nf-panel{transition:none}}


/* Nord Fachkraft | TR navigation hover refinement */
@media (hover: hover) and (pointer: fine) {
  @media (min-width: 1121px) {
    .nf-unified-header .nf-links a:not([aria-current="page"]):hover { color: #b78b16; }
    .nf-unified-header .nf-links a:not([aria-current="page"]) { position: relative; }
    .nf-unified-header .nf-links a:not([aria-current="page"])::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -17px;
      height: 2px; background: #d4af37; transform: scaleX(0);
      transform-origin: center; transition: transform .22s ease;
    }
    .nf-unified-header .nf-links a:not([aria-current="page"]):hover::after { transform: scaleX(1); }
  }
  @media (max-width: 1120px) {
    .nf-unified-header .nf-panel-links a:not([aria-current="page"]):hover {
      background: #f6f8fb; color: #b78b16;
    }
    .nf-unified-header .nf-panel-links a:not([aria-current="page"]):hover svg { color: #c49c24; }
  }
}
.nf-unified-header .nf-links a:focus-visible,
.nf-unified-header .nf-panel-links a:focus-visible { outline: 2px solid #d4af37; outline-offset: 4px; border-radius: 3px; }

/* Match DE logo dimensions; keep TR menu layout and mobile behavior */
@media (min-width: 1121px) {
  .nf-unified-header .nf-logo img { width: 220px; height: 64px; }
  .nf-unified-header .nf-bar { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 1121px) and (max-width: 1200px) {
  .nf-unified-header .nf-logo img { width: 190px; height: 56px; }
}
@media (max-width: 1120px) and (min-width: 521px) {
  .nf-unified-header .nf-logo img { width: 190px; height: 56px; }
}
@media (max-width: 520px) {
  .nf-unified-header .nf-logo img { width: 155px; height: 48px; }
}
@media (max-width: 370px) {
  .nf-unified-header .nf-logo img { width: 135px; height: 44px; }
}


/* Nord Fachkraft: social links in shared mobile drawer */
.nf-unified-header .nf-panel .nf-social-menu{margin:20px 0 0;padding:15px 0 0;border-top:1px solid #e1e7ef;text-align:center;}
.nf-unified-header .nf-social-menu p{margin:0 0 12px;color:#53637a;font:600 11px/1.5 Poppins,Arial,sans-serif;letter-spacing:.09em;}
.nf-unified-header .nf-social-grid{display:grid;grid-template-columns:repeat(6,minmax(44px,1fr));gap:6px;}
.nf-unified-header .nf-social-grid a{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #e1e7ef;border-radius:9px;background:#f7f9fc;color:#12223c;text-decoration:none;transition:color .18s,background .18s,border-color .18s;}
.nf-unified-header .nf-social-grid svg{width:21px;height:21px;flex:none;}
.nf-unified-header .nf-social-grid a:focus-visible{outline:2px solid #a57624;outline-offset:2px;}
.nf-unified-header .nf-social-grid a:active{background:#f5eddf;}
.nf-unified-header .nf-social-menu ~ .nf-panel-foot{margin-top:20px;}
@media(hover:hover) and (pointer:fine){.nf-unified-header .nf-social-grid a:hover{color:#805b19;background:#fff8e8;border-color:#b99048;}}
@media(max-width:450px){.nf-unified-header .nf-social-grid{grid-template-columns:repeat(3,minmax(44px,1fr));}}
@media(prefers-reduced-motion:reduce){.nf-unified-header .nf-social-grid a{transition:none;}}
