/* ===========================================
   SEOlogical - Komponenten CSS
   Zentralisiert aus inline Styles
   =========================================== */

/* 1. Utility Classes */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 2. Author/Name Styles */
.ap2-name {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ap2-name::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f46e5, #6366f1, #0ea5e9);
  opacity: .9;
}
.ap2-role {
  font-weight: 500;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
  color: #6b7280;
}
.ap2-sub {
  margin-top: 2px;
  font-family: "Manrope", -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(4px);
}

/* 3. Gradient Text */
.al-title-em,
.al-section-title .text-gradient-indigo {
  background: linear-gradient(90deg, #4f46e5, #6366f1, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 4. LogicalIntelligence CTA */
.li-cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, .25);
  border-color: rgba(168, 85, 247, .5);
}
.li-cta-link:active {
  transform: translateY(0);
}

/* 5. Logo Strip */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  align-items: center;
  justify-items: center;
  padding: 10px 12px;
  margin: 8px 0 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(2, 6, 23, .06);
}
.logo-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
}
.logo-strip img {
  max-width: 120px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(100%) !important;
  opacity: .7 !important;
  transition: opacity .15s ease, filter .15s ease;
}
.logo-strip a:hover img,
.logo-strip a:focus img {
  filter: none !important;
  opacity: 1 !important;
}

/* 6. Fine Print Hint (Dark Mode) */
@media (prefers-color-scheme: dark) {
  .fine-print--hint {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .04));
    border-color: rgba(255, 255, 255, .12);
    border-left-color: rgba(34, 197, 94, .45);
    color: #cbd5e1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  }
  .fine-print--hint svg {
    stroke: #4ade80;
  }
}

/* 7. Brand Marquee Styles */
.brand-marquee-stack {
  display: grid;
  gap: 12px;
}
.brand-marquee {
  --dur: 28s;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.brand-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  will-change: transform;
  animation: marqueeX var(--dur) linear infinite;
}
.brand-track.brand-row--offset {
  animation-delay: calc(-1 * var(--dur) / 2); /* startet mittig versetzt */
}
.brand-seq {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

@keyframes marqueeX {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 60px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fafcff);
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(2, 6, 23, .06);
  user-select: none;
  pointer-events: none;
  cursor: default;
}
.brand-chip img {
  display: block;
  width: auto;
  max-height: 22px;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  opacity: .98;
  transition: transform .2s ease, opacity .2s ease;
}
.brand-chip:hover img {
  transform: translateY(-1px) scale(1.02);
  opacity: 1;
}

@media (max-width: 768px) {
  .brand-chip {
    min-width: 120px;
    height: 56px;
  }
  .brand-chip img {
    max-height: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-track {
    animation: none;
  }
}

