/* ═══════════════════════════════════════════
   PSTUDIO — Referenzseite Styles
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Nunito+Sans:wght@300;400;600;700&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --bg: #0A0A0F;
  --bg-alt: #111118;
  --surface: #16161E;
  --accent: #FB6C0D;
  --text: #F5F5F0;
  --text-sec: #8A8A9A;
  --text-muted: #55555F;
  --border: rgba(255,255,255,0.04);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.font-heading { font-family: 'Nunito', system-ui, sans-serif; }
.font-body { font-family: 'Nunito Sans', system-ui, sans-serif; }
.font-drama { font-family: 'Lora', Georgia, serif; }

::selection { background: rgba(251, 108, 13, 0.15); color: #F5F5F0; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }


/* ═══ LOGO TICKER SCROLL ═══ */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.animate-scroll {
  animation: scroll 40s linear infinite;
}
.logo-scroll:hover .animate-scroll {
  animation-play-state: paused;
}


/* ═══ CTA PULSE ═══ */
.cta-pulse {
  position: relative;
  z-index: 1;
}
.cta-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--accent);
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  animation: pulse-glow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.04); }
}
.cta-pulse:hover::after {
  animation: none;
  opacity: 0.4;
  filter: blur(16px);
  transform: scale(1.06);
  transition: all 0.3s ease;
}
.cta-pulse:hover {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}


/* ═══ FLOAT ANIMATION ═══ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 5s ease-in-out infinite; }


/* ═══ DOT PULSE ═══ */
@keyframes dot-p {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 108, 13, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(251, 108, 13, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 108, 13, 0); }
}
.dot-pulse {
  animation: dot-p 2s infinite;
}


/* ═══ CARD SHIMMER ═══ */
.card-shimmer {
  position: relative;
  overflow: hidden;
}
.card-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card-shimmer:hover::before {
  opacity: 1;
  animation: shimmer-slide 1.2s ease-out;
}
@keyframes shimmer-slide {
  0% { left: -100%; }
  100% { left: 200%; }
}


/* ═══ SCROLL REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ═══ BG DOTS PATTERN ═══ */
.bg-dots {
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
}


/* ═══ SMOOTH IMAGE LOADING ═══ */
img {
  transition: opacity 0.4s ease;
}
