/* Shared site foundation: tokens, ambient background, utilities and global toolbar. */

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(18px,-14px,0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

:root {
  --bg: #050816;
  --bg-soft: #0c1328;
  --card: rgba(255,255,255,0.07);
  --card-border: rgba(255,255,255,0.12);
  --text: #f7f9fc;
  --muted: #b3c0d8;
  --primary: #fe2c55;
  --secondary: #25f4ee;
  --tertiary: #8b5cf6;
  --accent: #21c97a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --max: 1220px;
}

html { scroll-behavior: smooth; }

body.page-template-page-einfach-mehr,
body {
  --mx: 50%;
  --my: 50%;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(37,244,238,0.16), transparent 24%),
    radial-gradient(circle at calc(var(--mx) + 2%) calc(var(--my) + 1%), rgba(139,92,246,0.10), transparent 28%),
    radial-gradient(circle at top left, rgba(254,44,85,0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(37,244,238,0.14), transparent 24%),
    radial-gradient(circle at 70% 35%, rgba(139,92,246,0.14), transparent 20%),
    linear-gradient(180deg, #060914 0%, #050816 100%);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

#einfach-mehr-app * { box-sizing: border-box; }
#einfach-mehr-app a { color: inherit; text-decoration: none; }
#einfach-mehr-app img { max-width: 100%; display: block; }

#einfach-mehr-app section .container,
#einfach-mehr-app .hero .container,
#einfach-mehr-app .legal-footer-section .container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

#einfach-mehr-app .glass {
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

#einfach-mehr-app .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

#einfach-mehr-app .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#einfach-mehr-app .shine {
  position: relative;
  overflow: hidden;
}
#einfach-mehr-app .shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.07) 45%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
  pointer-events: none;
}

#einfach-mehr-app section {
  position: relative;
  padding: 44px 0;
}
/* ===================================== */
/* Global Toolbar System */
/* ===================================== */

.top-toolbar-wrap {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 120;
  padding-top: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
  overflow: visible;
}

.top-toolbar-wrap .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: visible;
}

.top-toolbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 18px 10px 72px;
  border-radius: 999px;
  background: rgba(10, 18, 34, 0.62);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 48px rgba(0,0,0,0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: auto;
  overflow: visible;
}

.top-toolbar-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #eef4ff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.top-toolbar-link:hover,
.top-toolbar-link:focus-visible {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  outline: none;
  text-decoration: none;
}

.top-toolbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 16px rgba(37,244,238,0.38);
  flex: 0 0 auto;
}

.top-toolbar {
  isolation: isolate;
}

.top-toolbar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 92px;
  border-radius: 999px 0 0 999px;
  background:
    linear-gradient(
      90deg,
      rgba(6, 12, 24, 0.96) 0%,
      rgba(6, 12, 24, 0.88) 58%,
      rgba(6, 12, 24, 0) 100%
    );
  pointer-events: none;
  z-index: 1;
}

.top-toolbar-home {
  z-index: 3;
}

.top-toolbar-link,
.top-toolbar-dot {
  position: relative;
  z-index: 2;
}
.top-toolbar-home {
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  padding: 0;
  margin: 0;
  border-radius: 18px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
  transition: transform .22s ease;
}

.top-toolbar-home img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  display: block;
  transition: transform .22s ease, filter .22s ease;
}

.top-toolbar-home:hover,
.top-toolbar-home:focus-visible {
  transform: translateY(-50%) scale(1.02);
  outline: none;
}

.top-toolbar-home:hover img,
.top-toolbar-home:focus-visible img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 10px rgba(92, 225, 230, 0.16))
          drop-shadow(0 0 14px rgba(179, 136, 255, 0.14));
}

.top-toolbar-home::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: rgba(10, 18, 34, 0.62);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.32);
  z-index: -1;
}

.top-toolbar-wrap.is-collapsed {
  transform: translateY(calc(-100% - 18px));
  opacity: 0;
}

#einfach-mehr-app {
  --toolbar-offset: 110px;
}

#einfach-mehr-app .hero {
  padding-top: calc(88px + var(--toolbar-offset));
}

#einfach-mehr-app .top-toolbar-wrap .container {
  width: auto;
  max-width: 1200px;
}

body.page-template-page-legal #legal-page .legal-page-section {
  padding-top: 180px;
}

body.page-template-page-legal .site-header,
body.page-template-page-legal .ast-mobile-header-wrap,
body.page-template-page-legal .ast-primary-header-bar,
body.page-template-page-legal .main-header-bar {
  display: none !important;
}

@media (max-width: 920px) {
  body.page-template-page-legal #legal-page .legal-page-section {
    padding-top: 146px;
  }
}

/* ===================================== */
/* About Us Subpage */
/* ===================================== */

body.page-template-page-about-us .site-header,
body.page-template-page-about-us .ast-mobile-header-wrap,
body.page-template-page-about-us .ast-primary-header-bar,
body.page-template-page-about-us .main-header-bar {
  display: none !important;
}

#about-us-page {
  position: relative;
  min-height: 100vh;
  padding-top: 142px;
  background:
    radial-gradient(circle at top left, rgba(37,244,238,0.12), transparent 38%),
    radial-gradient(circle at top right, rgba(255,0,122,0.11), transparent 34%),
    linear-gradient(180deg, #07111f 0%, #091526 52%, #07111f 100%);
  color: #f7f9fc;
  overflow: clip;
}

#about-us-page::before,
#about-us-page::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.6;
}

#about-us-page::before {
  top: 140px;
  left: -120px;
  width: 260px;
  height: 260px;
  background: rgba(37,244,238,0.18);
}

#about-us-page::after {
  top: 320px;
  right: -120px;
  width: 300px;
  height: 300px;
  background: rgba(255,92,138,0.14);
}

#about-us-page .container {
  position: relative;
  z-index: 1;
}

#about-us-page .legal-footer-section {
  padding: 28px 0 72px;
}

#about-us-page .legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 32px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: rgba(9, 18, 36, 0.62);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

#about-us-page .legal-footer-copy {
  flex: 0 1 460px;
  min-width: 320px;
}

#about-us-page .legal-footer-copy h3 {
  margin: 14px 0 10px;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #f7f9fc;
  max-width: 14ch;
}

#about-us-page .legal-footer-copy p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 34ch;
}

#about-us-page .legal-footer-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
}

#about-us-page .legal-footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #eef4ff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

#about-us-page .legal-footer-link:hover,
#about-us-page .legal-footer-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  outline: none;
}

#about-us-page .app-subpage-hero {
  padding: 22px 0 38px;
}

#about-us-page .app-subpage-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 30px;
  align-items: center;
}

#about-us-page .app-subpage-hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

#about-us-page .app-subpage-lead {
  max-width: 64ch;
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.72;
  color: rgba(255,255,255,0.8);
}

#about-us-page .app-subpage-metrics {
  margin-top: 26px;
}

#about-us-page .app-subpage-hero-side {
  position: relative;
}

#about-us-page .app-subpage-hero-panel {
  padding: 28px;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

#about-us-page .app-subpage-hero-panel h3 {
  margin: 16px 0 12px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: -0.04em;
  color: #f7f9fc;
}

#about-us-page .app-subpage-hero-panel p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
}

#about-us-page .app-subpage-mini-points {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

#about-us-page .app-subpage-mini-point {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

#about-us-page .app-subpage-mini-point strong {
  display: block;
  margin-bottom: 6px;
  color: #f8fbff;
  font-size: 1rem;
}

#about-us-page .app-subpage-mini-point span {
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  font-size: 0.96rem;
}

#about-us-page .app-subpage-section {
  padding: 24px 0 24px;
}

#about-us-page .section-head {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}

#about-us-page .section-head.section-head-left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

#about-us-page .section-head p {
  color: rgba(255,255,255,0.74);
}

#about-us-page .app-subpage-person-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

#about-us-page .app-person-card {
  padding: 28px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

#about-us-page .app-person-card-head h3 {
  margin: 16px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #f7f9fc;
}

#about-us-page .app-person-role {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.64);
  font-weight: 600;
  line-height: 1.55;
}

#about-us-page .app-person-card > p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.76;
}

#about-us-page .app-person-focus + .app-person-focus {
  margin-top: 18px;
}

#about-us-page .app-person-focus strong {
  display: inline-block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1rem;
}

#about-us-page .app-person-focus ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.76);
  line-height: 1.75;
}

#about-us-page .app-person-company {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

#about-us-page .app-person-company p {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.7;
}

#about-us-page .app-subpage-content {
  padding: 28px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

#about-us-page .app-subpage-content p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.78;
}

#about-us-page .app-subpage-content p + p {
  margin-top: 16px;
}

#about-us-page .grid-2.app-subpage-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

#about-us-page .cta-panel {
  padding: 28px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

#about-us-page .cta-panel h3 {
  margin: 16px 0 12px;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  letter-spacing: -0.04em;
  color: #f7f9fc;
}

#about-us-page .cta-panel p {
  margin: 0 0 20px;
  color: rgba(255,255,255,0.74);
  line-height: 1.7;
}

@media (max-width: 960px) {
  #about-us-page {
    padding-top: 132px;
  }

  #about-us-page .app-subpage-hero-grid,
  #about-us-page .app-subpage-person-grid,
  #about-us-page .grid-2.app-subpage-cta-grid,
  #about-us-page .legal-footer {
    grid-template-columns: 1fr;
  }

  #about-us-page .app-subpage-hero-panel,
  #about-us-page .app-person-card,
  #about-us-page .app-subpage-content,
  #about-us-page .cta-panel,
  #about-us-page .legal-footer {
    border-radius: 26px;
  }

  #about-us-page .legal-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  #about-us-page .legal-footer-copy {
    min-width: 0;
  }

  #about-us-page .legal-footer-links {
    justify-content: flex-start;
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  #about-us-page {
    padding-top: 122px;
  }

  #about-us-page .app-subpage-hero {
    padding-top: 10px;
  }

  #about-us-page .app-subpage-hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  #about-us-page .app-subpage-hero-panel,
  #about-us-page .app-person-card,
  #about-us-page .app-subpage-content,
  #about-us-page .cta-panel,
  #about-us-page .legal-footer {
    padding: 22px;
    border-radius: 24px;
  }

  #about-us-page .app-subpage-section {
    padding: 18px 0;
  }

  #about-us-page .app-person-focus ul {
    padding-left: 16px;
  }

  #about-us-page .legal-footer {
    padding: 22px;
    border-radius: 24px;
  }

  #about-us-page .legal-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  #about-us-page .legal-footer-link {
    width: auto;
    justify-content: center;
  }
}
/* About Us – gleiche Seitenränder wie Landingpage */

#about-us-page .container,
#kunden-page .container,
#partner-page .container,
#contact-page .container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ======================================================================
   10A. SUBPAGES – SEITENHINTERGRÜNDE / FARBSTIMMUNG
   ====================================================================== */
#partner-page,
#kunden-page,
#contact-page {
  position: relative;
  min-height: 100vh;
  color: #f7f9fc;
}

#partner-page .container,
#kunden-page .container,
#contact-page .container {
  position: relative;
  z-index: 1;
}

#partner-page {
  background:
    radial-gradient(circle at top left, rgba(37,244,238,0.11), transparent 36%),
    radial-gradient(circle at top right, rgba(179,136,255,0.12), transparent 34%),
    radial-gradient(circle at 78% 22%, rgba(255,92,138,0.10), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #091526 52%, #07111f 100%);
}

#partner-page::before,
#partner-page::after,
#kunden-page::before,
#kunden-page::after,
#contact-page::before,
#contact-page::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.55;
}

#partner-page::before {
  top: 140px;
  left: -110px;
  width: 260px;
  height: 260px;
  background: rgba(37,244,238,0.16);
}

#partner-page::after {
  top: 320px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: rgba(179,136,255,0.16);
}

#kunden-page {
  background:
    radial-gradient(circle at top left, rgba(37,244,238,0.10), transparent 38%),
    radial-gradient(circle at top right, rgba(93,173,255,0.12), transparent 34%),
    radial-gradient(circle at 74% 24%, rgba(37,244,238,0.08), transparent 22%),
    linear-gradient(180deg, #07111f 0%, #0a1628 52%, #07111f 100%);
}

#kunden-page::before {
  top: 130px;
  left: -110px;
  width: 250px;
  height: 250px;
  background: rgba(37,244,238,0.14);
}

#kunden-page::after {
  top: 310px;
  right: -120px;
  width: 300px;
  height: 300px;
  background: rgba(93,173,255,0.16);
}

#contact-page {
  background:
    radial-gradient(circle at top left, rgba(139,92,246,0.12), transparent 36%),
    radial-gradient(circle at top right, rgba(37,244,238,0.10), transparent 34%),
    radial-gradient(circle at 76% 26%, rgba(120,119,255,0.10), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #091526 52%, #07111f 100%);
}

#contact-page::before {
  top: 140px;
  left: -120px;
  width: 260px;
  height: 260px;
  background: rgba(139,92,246,0.16);
}

#contact-page::after {
  top: 320px;
  right: -120px;
  width: 300px;
  height: 300px;
  background: rgba(37,244,238,0.14);
}
/* ===============================
PARTNER – EARNINGS MODEL
=============================== */

.partner-earnings-switch {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.partner-earnings-tab {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s ease;
}

.partner-earnings-tab:hover {
  background: rgba(255,255,255,0.12);
}

.partner-earnings-tab.is-active {
  background: linear-gradient(135deg,#5ce1e6,#b388ff);
  border-color: transparent;
  color: #000;
}

.partner-earnings-panel {
  padding: 36px;
  margin-bottom: 40px;
}

.partner-earnings-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 35px;
}

.partner-earnings-panel-head h3 {
  font-size: 26px;
  margin: 10px 0;
}

.partner-earnings-rate {
  text-align: right;
}

.partner-earnings-rate span {
  font-size: 13px;
  opacity: .7;
}

.partner-earnings-rate strong {
  display: block;
  font-size: 28px;
  margin-top: 4px;
}

.partner-earnings-scale {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

.partner-earnings-card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  transition: all .25s ease;
}

.partner-earnings-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
}

.partner-earnings-customers {
  display: block;
  font-size: 14px;
  opacity: .8;
  margin-bottom: 10px;
}

.partner-earnings-amount {
  display: block;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 6px;
}

.partner-earnings-caption {
  font-size: 13px;
  opacity: .6;
}

.partner-earnings-note {
  padding: 20px;
  margin-top: 30px;
  font-size: 14px;
  opacity: .8;
}

.partner-earnings-note strong {
  display: block;
  margin-bottom: 6px;
}

/* ===============================
PARTNER – GROWTH SCALE
=============================== */

.partner-growth-scale {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  margin: 8px 0 24px;
  padding: 8px 6px 0;
}

.partner-growth-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 20px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(92,225,230,0.45), rgba(179,136,255,0.75));
  box-shadow: 0 0 24px rgba(179,136,255,0.18);
}

.partner-growth-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.partner-growth-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #bffcff 18%, #5ce1e6 52%, #8f70ff 100%);
  box-shadow:
    0 0 0 6px rgba(92,225,230,0.08),
    0 0 24px rgba(143,112,255,0.35);
}

.partner-growth-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}

.partner-earnings-card {
  position: relative;
  overflow: hidden;
}

.partner-earnings-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
  opacity: 0.85;
}

.partner-earnings-card-1 {
  transform: translateY(0);
}

.partner-earnings-card-2 {
  transform: translateY(-6px);
}

.partner-earnings-card-3 {
  transform: translateY(-12px);
}

.partner-earnings-card-4 {
  transform: translateY(-18px);
}

.partner-earnings-card-1 .partner-earnings-amount {
  opacity: 0.88;
}

.partner-earnings-card-2 .partner-earnings-amount {
  opacity: 0.92;
}

.partner-earnings-card-3 .partner-earnings-amount,
.partner-earnings-card-4 .partner-earnings-amount {
  opacity: 1;
}

.partner-earnings-card-4 {
  border-color: rgba(179,136,255,0.26);
  box-shadow:
    0 18px 48px rgba(0,0,0,0.22),
    0 0 30px rgba(179,136,255,0.10);
}

.partner-earnings-card:hover {
  transform: translateY(-6px);
}

.partner-earnings-card-2:hover {
  transform: translateY(-10px);
}

.partner-earnings-card-3:hover {
  transform: translateY(-16px);
}

.partner-earnings-card-4:hover {
  transform: translateY(-22px);
}

/* ===============================
RESPONSIVE
=============================== */

@media (max-width: 900px) {
  .partner-growth-scale {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 18px;
  }

  .partner-growth-line {
    left: 10%;
    right: 10%;
  }

  .partner-growth-label {
    font-size: 11px;
  }

  .partner-earnings-card-1,
  .partner-earnings-card-2,
  .partner-earnings-card-3,
  .partner-earnings-card-4 {
    transform: none;
  }
}

@media (max-width: 600px) {
  .partner-growth-scale {
    display: none;
  }
}
/* ===================================== */
/* Contact Subpage */
/* ===================================== */

#contact-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

#contact-page .app-contact-card {
  position: relative;
  overflow: hidden;
}

#contact-page .app-contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  opacity: 0.9;
}

#contact-page .app-contact-method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}

#contact-page .app-contact-method {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

#contact-page .app-contact-method:hover,
#contact-page .app-contact-method:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  outline: none;
}

#contact-page .app-contact-method-label {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.54);
}

#contact-page .app-contact-method strong {
  font-size: 1rem;
  line-height: 1.45;
  color: #f8fbff;
  word-break: break-word;
}

#contact-page .app-contact-schedule-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  padding: 16px 22px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 700;
  color: #04111f;
  background: linear-gradient(135deg, #5ce1e6 0%, #b388ff 100%);
  box-shadow: 0 16px 36px rgba(92,225,230,0.16), 0 18px 40px rgba(179,136,255,0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

#contact-page .app-contact-schedule-btn:hover,
#contact-page .app-contact-schedule-btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 20px 42px rgba(92,225,230,0.18), 0 22px 46px rgba(179,136,255,0.16);
  outline: none;
}

#contact-page .app-contact-cta {
  text-align: left;
}

#contact-page .app-contact-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 760px) {
  #contact-page .app-contact-cta-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  #contact-page .app-contact-schedule-btn {
    min-height: 54px;
  }
}

/* ===============================
Toolbar Link Color Fix
=============================== */

.top-toolbar-link,
.top-toolbar-link:visited,
.top-toolbar-link:active {
  color: #ffffff !important;
}

.top-toolbar-link:hover,
.top-toolbar-link:focus {
  color: #ffffff;
}

.top-toolbar-link.current-menu-item,
.top-toolbar-link.current_page_item,
.top-toolbar-link.current_page_parent,
.top-toolbar-link.current-menu-parent {
  color: #ffffff;
}

.top-toolbar-link[aria-current="page"],
.top-toolbar-link[href*="/partner"] {
  background: linear-gradient(135deg, rgba(124,231,255,0.14), rgba(179,136,255,0.14));
  border: 1px solid rgba(124,231,255,0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 0 1px rgba(124,231,255,0.08),
    0 16px 34px rgba(6, 12, 24, 0.18);
}

.top-toolbar-link[aria-current="page"] .top-toolbar-dot,
.top-toolbar-link[href*="/partner"] .top-toolbar-dot {
  box-shadow: 0 0 18px rgba(37,244,238,0.5);
}

.top-toolbar-link[aria-current="page"]:hover,
.top-toolbar-link[aria-current="page"]:focus-visible,
.top-toolbar-link[href*="/partner"]:hover,
.top-toolbar-link[href*="/partner"]:focus-visible {
  background: linear-gradient(135deg, rgba(124,231,255,0.18), rgba(179,136,255,0.18));
  border-color: rgba(124,231,255,0.34);
}

/* =====================================
GLOBAL MOBILE TOOLBAR – FINAL
===================================== */

@media (max-width: 768px) {

  .top-toolbar-wrap {
    top: 40px;
    overflow: visible !important;
  }

  .top-toolbar-wrap .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow: visible !important;
  }

  .top-toolbar {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: 8px 20px 8px 76px !important;
  overflow: visible !important;
  border-radius: 999px;
}

.top-toolbar-nav {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.top-toolbar-nav::-webkit-scrollbar {
  display: none;
}

  .top-toolbar-home {
    position: absolute !important;
    left: -10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    width: 72px !important;
    height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    isolation: isolate;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .top-toolbar-home img {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .top-toolbar-home::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: rgba(10, 18, 34, 0.62);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.32);
    z-index: -1;
  }

  .top-toolbar-link {
    flex: 0 0 auto !important;
    min-width: fit-content !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    line-height: 1 !important;
    padding: 10px 10px !important;
  }

  .top-toolbar-dot {
    display: none !important;
  }
}


/* =====================================
   Shared scroll to top button
   Übernimmt bewusst das Frontpage-Design auch auf den Unterseiten
   ===================================== */

.ast-scroll-top-icon,
#ast-scroll-top,
.scroll-up,
a[href="#top"].scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(10, 18, 34, 0.62) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow:
    0 16px 40px rgba(0,0,0,0.28),
    0 0 24px rgba(37, 244, 238, 0.10),
    0 0 32px rgba(179, 136, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #eef4ff !important;
  line-height: 1 !important;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  z-index: 999;
}

.ast-scroll-top-icon:hover,
#ast-scroll-top:hover,
.scroll-up:hover,
a[href="#top"].scroll-top:hover,
.ast-scroll-top-icon:focus-visible,
#ast-scroll-top:focus-visible,
.scroll-up:focus-visible,
a[href="#top"].scroll-top:focus-visible {
  transform: translateY(-2px);
  background: rgba(15, 24, 42, 0.82) !important;
  border-color: rgba(92, 225, 230, 0.34) !important;
  box-shadow:
    0 20px 44px rgba(0,0,0,0.34),
    0 0 28px rgba(37, 244, 238, 0.18),
    0 0 36px rgba(179, 136, 255, 0.12);
  color: #ffffff !important;
  outline: none;
}

.ast-scroll-top-icon svg,
.ast-scroll-top-icon i,
#ast-scroll-top svg,
#ast-scroll-top i,
.scroll-up svg,
.scroll-up i,
a[href="#top"].scroll-top svg,
a[href="#top"].scroll-top i {
  width: 18px !important;
  height: 18px !important;
  font-size: 18px !important;
  line-height: 1 !important;
  display: block !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: rotate(180deg) !important;
}

.ast-scroll-top-icon span,
#ast-scroll-top span,
.scroll-up span,
a[href="#top"].scroll-top span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100%;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 768px) {
  .ast-scroll-top-icon,
  #ast-scroll-top,
  .scroll-up,
  a[href="#top"].scroll-top {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }
}
