/* Startseite: Glas-Kopfleiste, Sprungmarken, Schnellstart, Nach oben */
#hgNav, #hgTop { display: none; }

/* Kopfleiste schwebt als Glasfenster über der Seite */
body.creator-home-open > header { position: fixed !important; top: 0; left: 0; right: 0; z-index: 80 !important; height: 72px !important; display: flex !important; align-items: center; gap: 18px; padding: 0 22px !important; box-sizing: border-box; background: rgba(250, 249, 245, .58) !important; -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); border-bottom: 1px solid rgba(255, 255, 255, .65) !important; box-shadow: 0 1px 0 rgba(20, 50, 58, .06) !important; transition: background .25s, box-shadow .25s; }
body.creator-home-open.hg-scrolled > header { background: rgba(255, 255, 255, .8) !important; box-shadow: 0 12px 32px rgba(20, 50, 58, .10) !important; }
body.creator-home-open > header .actions { display: none !important; }
body.creator-home-open .creator-top { display: none !important; }
body.creator-home-open #creatorHome { position: fixed !important; inset: 0 !important; height: auto !important; max-height: none !important; overflow-y: auto !important; z-index: 10; scroll-padding-top: 90px; }
body.creator-home-open #creatorHome .hs-shell { padding-top: 88px !important; }

/* Sprungmarken */
body.creator-home-open #hgNav { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; font-family: Manrope, "Segoe UI", system-ui, sans-serif; }
.hg-links { position: relative; display: flex; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .75); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 18px rgba(20, 50, 58, .07); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.hg-links::-webkit-scrollbar { display: none; }
.hg-links a { position: relative; z-index: 1; flex: none; padding: 8px 15px; border-radius: 999px; font: 600 13.5px/1 Manrope, "Segoe UI", system-ui, sans-serif; letter-spacing: -.005em; color: #3b5258; text-decoration: none; white-space: nowrap; transition: color .25s; }
.hg-links a:hover { color: #14323a; }
.hg-links a.on { color: #fff; }
.hg-links a:focus-visible { outline: 2px solid #c99a5b; outline-offset: 2px; }
.hg-ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: linear-gradient(120deg, #2f7a6d, #1d5c55 45%, #14323a); box-shadow: 0 6px 16px rgba(20, 50, 58, .28); transition: transform .38s cubic-bezier(.2, .8, .2, 1), width .38s cubic-bezier(.2, .8, .2, 1); }
.hg-actions { display: flex; gap: 6px; align-items: center; flex: none; }
.hg-actions button { cursor: pointer; margin: 0 !important; min-height: 0 !important; font-family: Manrope, "Segoe UI", system-ui, sans-serif !important; }
.hg-icon { width: 38px; height: 38px; padding: 0 !important; border-radius: 12px !important; border: 1px solid rgba(255, 255, 255, .8) !important; background: rgba(255, 255, 255, .55) !important; color: #14323a !important; font-weight: 700 !important; font-size: 14px !important; box-shadow: 0 2px 8px rgba(20, 50, 58, .06) !important; transition: background .2s, transform .2s; }
.hg-icon:hover { background: #fff !important; transform: translateY(-1px); }
.hg-cta { height: 40px; padding: 0 16px !important; border-radius: 12px !important; border: 0 !important; background: linear-gradient(120deg, #2f7a6d, #1d5c55 45%, #14323a) !important; color: #fff !important; font-weight: 700 !important; font-size: 13.5px !important; white-space: nowrap; box-shadow: 0 8px 20px rgba(20, 50, 58, .25) !important; transition: transform .2s, box-shadow .2s; }
.hg-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(20, 50, 58, .3) !important; }

/* Einheitliche Schrift auf der Startseite */
body.creator-home-open #creatorHome :is(h1, h2, h3) { font-family: Manrope, "Segoe UI", system-ui, sans-serif !important; letter-spacing: -.02em; }
body.creator-home-open #creatorHome :is(.hs-eyebrow, .hs-kicker, .sp-sub, .hs-section-heading p) { font-family: Manrope, "Segoe UI", system-ui, sans-serif !important; }

/* Schnellstart über den Projekten */
.hg-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 6px 0 22px; }
.hg-quick button { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid #e2e8e5; background: linear-gradient(150deg, #fff, #f5f7f3); color: #14323a; text-align: left; cursor: pointer; font-family: Manrope, "Segoe UI", system-ui, sans-serif; transition: transform .18s, box-shadow .18s, border-color .18s; }
.hg-quick button:hover { transform: translateY(-3px); border-color: #9fbdb2; box-shadow: 0 14px 30px rgba(20, 50, 58, .12); }
.hg-quick i { font-style: normal; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(140deg, #2f7a6d, #14323a); color: #f1d6a8; font-size: 17px; box-shadow: 0 6px 14px rgba(20, 50, 58, .2); }
.hg-quick b { display: block; font-size: 14.5px; font-weight: 700; }
.hg-quick small { display: block; margin-top: 3px; font-size: 12px; color: #66777d; }
.hg-quick em { font-style: normal; color: #a27a4e; font-weight: 700; transition: transform .18s; }
.hg-quick button:hover em { transform: translateX(3px); }

/* Nach oben */
body.creator-home-open #hgTop { display: grid; position: fixed; right: 22px; bottom: 22px; z-index: 85; width: 46px; height: 46px; place-items: center; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #14323a; font: 700 18px Manrope, system-ui, sans-serif; cursor: pointer; box-shadow: 0 10px 26px rgba(20, 50, 58, .16); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; }
body.creator-home-open #hgTop.show { opacity: 1; transform: none; pointer-events: auto; }

/* Dunkle Ansicht */
body.dark.creator-home-open > header { background: rgba(20, 40, 46, .62) !important; border-bottom-color: rgba(255, 255, 255, .08) !important; }
body.dark .hg-links { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
body.dark .hg-links a { color: #cfe0dc; }
body.dark .hg-icon { background: rgba(255, 255, 255, .08) !important; border-color: rgba(255, 255, 255, .14) !important; color: #f0f4e9 !important; }

/* Kleinere Bildschirme */
@media (max-width: 1360px) and (min-width: 1181px) { .hg-links a { padding: 8px 11px; font-size: 13px; } header .brand.hwc-brand .hwc-tag { display: none !important; } }
@media (max-width: 1100px) { .hg-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1180px) {
  body.creator-home-open > header { height: auto !important; flex-wrap: wrap; row-gap: 8px; padding: 10px 14px !important; }
  body.creator-home-open #hgNav { display: contents; }
  .hg-actions { margin-left: auto; }
  .hg-links { order: 3; flex: 1 1 100%; margin: 0; }
  body.creator-home-open #creatorHome .hs-shell { padding-top: 132px !important; }
}
@media (max-width: 600px) {
  .hg-actions [data-hg-proxy="creatorViewButton"], .hg-actions [data-hg-proxy="creatorHelpButton"] { display: none; }
  .hg-cta { font-size: 0 !important; width: 40px; padding: 0 !important; }
  .hg-cta::before { content: "＋"; font-size: 18px; }
  .hg-quick { grid-template-columns: 1fr; }
  body.creator-home-open > header { gap: 8px !important; column-gap: 8px !important; }
  body.creator-home-open header .brand.hwc-brand { gap: 9px !important; }
  body.creator-home-open header .brand.hwc-brand .hwc-name { font-size: 15px !important; }
  .hg-actions { gap: 5px; }
  .hg-icon, .hg-cta { width: 36px !important; height: 36px !important; }
  body.creator-home-open #creatorHome .hs-shell { padding-top: 124px !important; }
  body.creator-home-open #hgTop { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hg-ink, .hg-quick button, .hg-cta, .hg-icon, #hgTop { transition: none; } }
