/* ============================================================
   Georg Recruiting – wiederverwendbarer Header für statische
   Unterseiten (Glas-Pill wie Startseite). Self-contained:
   eigene grsub-* Klassen + hardcoded Marken-Farben + Inter,
   damit es NICHT mit dem jeweiligen Seiten-Theme kollidiert.
   ============================================================ */
/* position:fixed + transparent: überschreibt evtl. sticky/weiße Theme-header-Regeln der Unterseite (kein weißer Balken) */
.grsub-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding-top: 0.9rem; font-family: Inter, system-ui, -apple-system, sans-serif; background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.grsub-header *, .grsub-scrim { box-sizing: border-box; }
/* exakt wie .container + .nav-pill der Startseite (main.css), damit die Pill seitenübergreifend identisch ist */
.grsub-container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1.1rem, 0.6rem + 2vw, 2rem); position: relative; }
.grsub-pill { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 60px; padding: 0 0.5rem 0 1.4rem; border-radius: 999px; background: rgba(255,255,255,0.72); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border: 1px solid rgba(255,255,255,0.6); box-shadow: 0 12px 32px -14px rgba(0,21,51,0.2), inset 0 1px 0 rgba(255,255,255,0.6); transition: box-shadow .3s, background .3s; }
.grsub-header.grsub-scrolled .grsub-pill { background: rgba(255,255,255,0.86); box-shadow: 0 16px 38px -14px rgba(0,21,51,0.26), inset 0 1px 0 rgba(255,255,255,0.6); }
.grsub-brand { display: flex; align-items: center; text-decoration: none; }
.grsub-brand img { width: 150px; height: auto; display: block; }
.grsub-actions { display: flex; align-items: center; gap: 0.5rem; }
.grsub-cta { display: inline-flex; align-items: center; justify-content: center; padding: 0.6rem 1.25rem; border-radius: 999px; background: #0062f4; color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none; transition: background .2s, box-shadow .2s; box-shadow: 0 2px 10px rgba(0,98,244,0.32); }
.grsub-cta:hover { background: #003b92; box-shadow: 0 6px 18px rgba(0,98,244,0.4); }
.grsub-toggle { display: inline-flex; width: 46px; height: 46px; border: 0; border-radius: 50%; align-items: center; justify-content: center; background: rgb(230 239 254); cursor: pointer; transition: background .2s; }
.grsub-toggle:hover { background: rgb(204 224 253); }
.grsub-toggle span { position: relative; width: 20px; height: 2px; background: rgb(0 21 51); border-radius: 2px; transition: background .2s; }
.grsub-toggle span::before, .grsub-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: rgb(0 21 51); border-radius: 2px; transition: transform .2s; }
.grsub-toggle span::before { top: -6px; }
.grsub-toggle span::after { top: 6px; }
body.grsub-open .grsub-toggle span { background: transparent; }
body.grsub-open .grsub-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.grsub-open .grsub-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.grsub-panel { position: absolute; z-index: 2; top: calc(100% + 0.6rem); right: 0; width: 340px; max-width: calc(100vw - 2rem); border-radius: 20px; background: rgba(255,255,255,0.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 26px 60px -18px rgba(0,21,51,0.35); border: 1px solid rgba(255,255,255,0.6); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease, visibility .22s; padding: 0.8rem; display: flex; flex-direction: column; gap: 0.1rem; max-height: calc(100vh - 6rem); overflow-y: auto; }
body.grsub-open .grsub-panel { opacity: 1; visibility: visible; transform: none; }
.grsub-link { display: block; padding: 0.8rem 1rem; border-radius: 12px; font-weight: 500; font-size: 1rem; color: rgb(37 43 55); text-decoration: none; transition: background .2s, color .2s; }
.grsub-link:hover { background: rgb(230 239 254); color: rgb(0 59 146); }
.grsub-group { padding: 0.3rem 0 0.2rem; }
.grsub-glabel { display: block; padding: 0.4rem 1rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgb(113 118 128); font-weight: 600; }
.grsub-sub { display: flex; flex-direction: column; padding: 0.55rem 1rem; border-radius: 12px; text-decoration: none; transition: background .2s; }
.grsub-sub:hover { background: rgb(230 239 254); }
.grsub-sub strong { color: rgb(0 21 51); font-weight: 600; font-size: 0.95rem; }
.grsub-sub span { font-size: 0.85rem; color: rgb(113 118 128); }
.grsub-panel-cta { margin-top: 0.6rem; }
.grsub-scrim { position: fixed; inset: 0; background: rgba(0,21,51,0.18); opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 1; }
body.grsub-open .grsub-scrim { opacity: 1; visibility: visible; }
@media (max-width: 860px) {
  .grsub-cta { display: none; }
  .grsub-panel { width: calc(100vw - 2rem); }
  .grsub-panel .grsub-panel-cta { display: inline-flex; }
}
