/* ═══════════════════════════════════════════════════════════════════
   SEOX Glassmorphism Floating Pill Nav
   External file — overrides inline nav CSS on all pages
   Uses html prefix for higher specificity over inline <style>
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Wrapper: centering + floating ─────────────────────────────── */
html .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 14px 20px 0;
  pointer-events: none;
  height: auto;
  background: transparent;
  border: none;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: padding 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
html .nav.scrolled {
  padding-top: 8px;
  background: transparent;
  border: none;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ─── Pill: the actual glass nav ────────────────────────────────── */
html .nav .nav-inner,
html .nav .nav-inner.container {
  max-width: none;
  margin: 0;
  padding: 0 8px 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  pointer-events: auto;
  position: relative;

  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Bottom light streak */
html .nav .nav-inner::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1.5px;
  background: radial-gradient(ellipse, rgba(212, 35, 138, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: width 0.4s ease;
}

/* Ambient glow */
html .nav .nav-inner::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(212, 35, 138, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}

/* Scroll state */
html .nav.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
html .nav.scrolled .nav-inner::after {
  width: 160px;
}

/* ─── Logo ──────────────────────────────────────────────────────── */
html .nav-logo {
  display: flex;
  align-items: center;
  margin-right: 8px;
  flex-shrink: 0;
}
html .nav-logo-full {
  height: 28px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
html .nav-logo:hover .nav-logo-full {
  opacity: 0.8;
}

/* ─── Divider ───────────────────────────────────────────────────── */
html .nav-divider {
  width: 1px;
  height: 24px;
  background: rgba(0, 0, 0, 0.1);
  margin: 0 6px;
  flex-shrink: 0;
}

/* ─── Nav Links ─────────────────────────────────────────────────── */
html .nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
html .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
html .nav-link:hover {
  color: var(--black);
  background: rgba(0, 0, 0, 0.05);
}
html .nav-link.active {
  color: var(--black);
  background: rgba(0, 0, 0, 0.06);
}
html .nav-link-icon {
  width: 16px;
  height: 16px;
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
html .nav-link:hover .nav-link-icon,
html .nav-link.active .nav-link-icon {
  opacity: 0.9;
}
html .nav-link-chevron {
  width: 10px;
  height: 10px;
  opacity: 0.5;
  transition: transform 0.25s, opacity 0.2s;
}
html .nav-link:hover .nav-link-chevron {
  opacity: 0.8;
}

/* ─── CTA ───────────────────────────────────────────────────────── */
html .nav-cta {
  margin-left: 6px;
  padding: 9px 20px;
  font-size: 13px;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(212, 35, 138, 0.35);
}
html .nav-cta:hover {
  box-shadow: 0 4px 20px rgba(212, 35, 138, 0.5);
}

/* ─── Mobile Toggle ─────────────────────────────────────────────── */
html .nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
  margin-left: 4px;
}
html .nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}
html .nav-toggle-bar {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gray-500);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
html .nav-toggle-bar::before,
html .nav-toggle-bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gray-500);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
html .nav-toggle-bar::before { transform: translateY(-6px); }
html .nav-toggle-bar::after  { transform: translateY(6px); }
html .nav-toggle.is-open .nav-toggle-bar { background: transparent; }
html .nav-toggle.is-open .nav-toggle-bar::before { transform: rotate(45deg); background: #fff; }
html .nav-toggle.is-open .nav-toggle-bar::after  { transform: rotate(-45deg); background: #fff; }

/* ─── Nav Pill — Dark when mobile menu open ──────────────────────── */
html .nav.mob-open .nav-inner {
  background: rgba(12, 10, 26, 0.95) !important;
  border-color: rgba(255,255,255,0.1) !important;
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
}
html .nav.mob-open .nav-logo-full { filter: brightness(0) invert(1); }
html .nav.mob-open .theme-toggle { background: rgba(255,255,255,0.1); }
html .nav.mob-open .theme-toggle:hover { background: rgba(255,255,255,0.18); }

/* ─── Mobile Menu — Fullscreen Dark ──────────────────────────────── */
html .nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(135deg, #0c0a1a 0%, #131025 50%, #1a0e30 100%);
  padding: 80px 0 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
  z-index: 998;
  display: flex;
  flex-direction: column;
}
html .nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ─── Mobile Menu Section Groups ─────────────────────────────────── */
html .nav-mob-section {
  padding: 16px 24px 8px;
}
html .nav-mob-section + .nav-mob-section {
  border-top: 1px solid rgba(255,255,255,0.06);
}
html .nav-mob-section-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
  padding: 0 0 8px;
  margin: 0;
}
html .nav-mobile a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: 10px;
  border: none;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
html .nav-mobile a:hover,
html .nav-mobile a:active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
html .nav-mob-arrow {
  margin-left: auto;
  color: rgba(255,255,255,0.2);
  font-size: 14px;
  transition: transform 0.2s, color 0.2s;
}
html .nav-mobile a:hover .nav-mob-arrow {
  transform: translateX(3px);
  color: #d4238a;
}
html .nav-mob-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(212,35,138,0.2);
  color: #e83da0;
  line-height: 1.3;
}

/* ─── Mobile Menu Main Links ─────────────────────────────────────── */
html .nav-mob-main {
  padding: 12px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
html .nav-mob-main a {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  padding: 14px 12px;
}

/* ─── Mobile Menu Promo Cards ────────────────────────────────────── */
html .nav-mob-promos {
  padding: 8px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
html .nav-mob-promo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
html .nav-mob-promo:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,35,138,0.3);
}
html .nav-mob-promo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
}
html .nav-mob-promo-text {
  flex: 1;
  min-width: 0;
}
html .nav-mob-promo-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
html .nav-mob-promo-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.3;
  margin-top: 2px;
}
html .nav-mob-promo-cta {
  font-size: 12px;
  font-weight: 600;
  margin-left: auto;
  flex-shrink: 0;
}

/* ─── Mobile Menu CTA ────────────────────────────────────────────── */
html .nav-mobile .nav-mob-cta-wrap {
  padding: 16px 24px 8px;
}
html .nav-mobile .btn {
  display: block;
  margin: 0;
  padding: 16px 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  background: linear-gradient(135deg, #d4238a, #e83da0);
  color: #fff;
  border: none;
  letter-spacing: 0.3px;
}
html .nav-mobile .btn:hover {
  background: linear-gradient(135deg, #e83da0, #d4238a);
}

/* ─── Mobile Menu Footer ─────────────────────────────────────────── */
html .nav-mob-footer {
  margin-top: auto;
  padding: 14px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
html .nav-mob-footer-text {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
html .nav-mob-footer-text strong {
  color: rgba(255,255,255,0.6);
}
html .nav-mob-footer-link {
  font-size: 12px;
  font-weight: 600;
  color: #d4238a;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ─── Body: no padding-top for floating nav ─────────────────────── */
html body {
  padding-top: 0;
}

/* ─── Breadcrumb — Classic bar under nav ────────────────────────── */
html .breadcrumb {
  margin-top: 84px;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-100, rgba(0,0,0,0.06));
  /* Reset — no pill, no glass */
  display: block;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  box-shadow: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
html .breadcrumb::before,
html .breadcrumb::after,
html .breadcrumb-list::before,
html .breadcrumb-list::after,
html .breadcrumb > a:first-of-type::before,
html .breadcrumb-list > a:first-of-type::before {
  content: none;
  display: none;
}
html .breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
html .breadcrumb a {
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
html .breadcrumb a:hover {
  color: var(--pink);
}
html .breadcrumb .breadcrumb-current {
  color: var(--gray-700, #3a3a3c);
  font-weight: 500;
}
html .breadcrumb > span,
html .breadcrumb-list > span {
  margin: 0 6px;
  color: var(--gray-300, #c5c5c7);
  pointer-events: none;
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 960px) {
  html .nav-links { display: none; }
  html .nav-cta {
    font-size: 12px;
    padding: 7px 14px;
    margin-left: auto;
  }
  html .nav-divider { display: none; }
  html .nav-toggle { display: flex; }
  html .nav .nav-inner { padding: 0 8px 0 18px; }
  html .breadcrumb { margin-top: 88px; font-size: 12px; }
}
@media (max-width: 380px) {
  html .nav-cta { font-size: 11px; padding: 6px 10px; }
}

/* ─── Footer Ressourcen-Cards + Trust-Badges (shared) ───────────── */
.footer-resources-section{margin:-30px 0 56px;padding-top:0;}
.footer-resources-label{font-size:11px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--gray-500);margin:0 0 16px;}
.footer-resource-list{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;}
.footer-resource{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:var(--white);border:1px solid var(--gray-200);text-decoration:none;color:inherit;transition:transform .2s,border-color .2s,box-shadow .2s,background .2s;min-width:0;}
.footer-resource:hover{transform:translateY(-2px);border-color:rgba(212,35,138,0.4);box-shadow:0 6px 18px rgba(212,35,138,0.10);}
.footer-resource:hover .footer-resource-arrow{transform:translateX(4px);color:var(--pink);}
.footer-resource:hover .footer-resource-icon{background:rgba(212,35,138,0.18);}
.footer-resource-icon{flex-shrink:0;width:36px;height:36px;border-radius:9px;background:var(--pink-pale,rgba(212,35,138,0.08));color:var(--pink);display:flex;align-items:center;justify-content:center;transition:background .2s;}
.footer-resource-content{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1;}
.footer-resource-title{font-family:var(--font-display);font-size:13.5px;font-weight:700;color:var(--black);letter-spacing:-0.01em;line-height:1.25;display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;}
.footer-resource-sub{font-size:11.5px;font-weight:500;color:var(--gray-500);letter-spacing:0.01em;line-height:1.3;}
.footer-resource-badge{font-size:9px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;padding:2px 6px;border-radius:4px;background:linear-gradient(135deg,#d4238a,#e85da1);color:#fff;line-height:1;}
.footer-resource-arrow{flex-shrink:0;color:var(--gray-400);font-size:14px;transition:transform .2s,color .2s;}
html[data-theme="dark"] .footer-resources-label{color:rgba(255,255,255,0.45);}
html[data-theme="dark"] .footer-resource{background:rgba(255,255,255,0.03);border-color:rgba(255,255,255,0.08);}
html[data-theme="dark"] .footer-resource:hover{background:rgba(255,255,255,0.06);border-color:rgba(212,35,138,0.45);box-shadow:0 6px 18px rgba(212,35,138,0.18);}
html[data-theme="dark"] .footer-resource-title{color:rgba(255,255,255,0.92);}
html[data-theme="dark"] .footer-resource-sub{color:rgba(255,255,255,0.5);}
html[data-theme="dark"] .footer-resource-icon{background:rgba(212,35,138,0.15);}
html[data-theme="dark"] .footer-resource-arrow{color:rgba(255,255,255,0.4);}
@media(max-width:1100px){.footer-resource-list{grid-template-columns:repeat(3,1fr);}}
@media(max-width:680px){.footer-resource-list{grid-template-columns:repeat(2,1fr);}}
@media(max-width:420px){.footer-resource-list{grid-template-columns:1fr;}}

.footer-badges{margin:48px 0 32px;padding:32px 0;border-top:1px solid rgba(0,0,0,0.08);}
.footer-badges-label{display:block;text-align:center;font-size:11px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--gray-500);margin-bottom:24px;}
.footer-badges-row{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;align-items:stretch;}
.footer-badge{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:10px;background:var(--white);border:1px solid var(--gray-200);text-decoration:none;color:inherit;transition:transform .25s,border-color .25s,box-shadow .25s;min-width:155px;}
a.footer-badge{cursor:pointer;}
a.footer-badge:hover{transform:translateY(-2px);border-color:rgba(212,35,138,0.4);box-shadow:0 6px 18px rgba(212,35,138,0.10);}
.footer-badge-mark{font-size:18px;line-height:1;flex-shrink:0;}
.footer-badge-content{display:flex;flex-direction:column;gap:1px;line-height:1.25;}
.footer-badge-title{font-family:var(--font-display);font-size:13px;font-weight:700;color:var(--black);letter-spacing:-0.01em;}
.footer-badge-sub{font-size:10.5px;font-weight:500;color:var(--gray-500);letter-spacing:0.02em;}
html[data-theme="dark"] .footer-badges{border-top-color:rgba(255,255,255,0.06);}
html[data-theme="dark"] .footer-badges-label{color:rgba(255,255,255,0.45);}
html[data-theme="dark"] .footer-badge{background:rgba(255,255,255,0.03);border-color:rgba(255,255,255,0.08);}
html[data-theme="dark"] .footer-badge-title{color:rgba(255,255,255,0.92);}
html[data-theme="dark"] .footer-badge-sub{color:rgba(255,255,255,0.5);}
html[data-theme="dark"] a.footer-badge:hover{background:rgba(255,255,255,0.06);border-color:rgba(212,35,138,0.45);box-shadow:0 6px 18px rgba(212,35,138,0.18);}
@media(max-width:600px){.footer-badge{min-width:calc(50% - 7px);padding:10px 12px;}.footer-badge-title{font-size:12px;}.footer-badge-sub{font-size:10px;}}
@media(max-width:380px){.footer-badge{min-width:100%;}}

/* ─── Footer Pressestimmen (Bekannt aus) ────────────────────────── */
.footer-press{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 28px;padding-bottom:28px;border-bottom:1px solid rgba(0,0,0,0.08);}
.footer-press-label{font-size:11px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--gray-500);}
.footer-press-links{display:flex;flex-wrap:wrap;gap:24px;}
.footer-press-link{display:inline-flex;align-items:center;gap:4px;font-family:var(--font-display);font-size:15px;font-weight:700;color:var(--gray-700);text-decoration:none;letter-spacing:-0.01em;transition:color .2s;}
.footer-press-link svg{opacity:0.55;transition:opacity .2s,transform .2s;}
.footer-press-link:hover{color:var(--pink);}
.footer-press-link:hover svg{opacity:1;transform:translate(2px,-2px);color:var(--pink);}
html[data-theme="dark"] .footer-press{border-bottom-color:rgba(255,255,255,0.06);}
html[data-theme="dark"] .footer-press-label{color:rgba(255,255,255,0.45);}
html[data-theme="dark"] .footer-press-link{color:rgba(255,255,255,0.78);}
html[data-theme="dark"] .footer-press-link:hover{color:var(--pink);}
@media(max-width:600px){.footer-press{gap:12px;}.footer-press-links{gap:16px;}.footer-press-link{font-size:14px;}}

/* ─── Above-the-fold Heroes: sofort beim Laden animieren (kein Scroll-Observer-Verzug) ─── */
@keyframes seoxHeroReveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero .reveal,
.lp-hero .reveal,
.page-hero .reveal,
.page-hero.reveal,
.article-header.reveal,
.article-header .reveal,
.article-featured-img.reveal {
  animation: seoxHeroReveal .65s cubic-bezier(.22,1,.36,1) both;
}
.hero .reveal-delay-1,.lp-hero .reveal-delay-1,.page-hero .reveal-delay-1,.article-header .reveal-delay-1{animation-delay:.08s;}
.hero .reveal-delay-2,.lp-hero .reveal-delay-2,.page-hero .reveal-delay-2,.article-header .reveal-delay-2,.article-featured-img.reveal-delay-1{animation-delay:.16s;}
.hero .reveal-delay-3,.lp-hero .reveal-delay-3,.page-hero .reveal-delay-3,.article-header .reveal-delay-3{animation-delay:.24s;}
.hero .reveal-delay-4,.lp-hero .reveal-delay-4,.page-hero .reveal-delay-4{animation-delay:.32s;}
.hero .reveal-delay-5,.lp-hero .reveal-delay-5,.page-hero .reveal-delay-5{animation-delay:.40s;}
@media (prefers-reduced-motion: reduce){
  .hero .reveal,.lp-hero .reveal,.page-hero .reveal,.page-hero.reveal,.article-header.reveal,.article-header .reveal,.article-featured-img.reveal{animation:none;opacity:1;transform:none;}
}

/* Case-study detail hero: clear the fixed nav so the breadcrumb isn't hidden behind it.
   Higher specificity (body .detail-hero) beats the inline `.detail-hero{padding:0 ...}`. */
body .detail-hero { padding-top: 56px; }

/* Case-study .cs-hero (used in referenzen/*) — same purpose: keep breadcrumb below the sticky nav. */
body .cs-hero { padding-top: 116px; }
@media (max-width: 768px) {
  body .cs-hero { padding-top: 96px; }
}

/* Glossar .gd-hero (used in glossar/*) — same purpose: keep breadcrumb below the sticky nav. */
body .gd-hero { padding-top: 116px; }
@media (max-width: 768px) {
  body .gd-hero { padding-top: 96px; }
}
