:root {
  --accent: #48A7ED;
  --accent-rgb: 72, 167, 237;
  --accent-text: #000000;
  --bg: #111116;
  --text: #FAF8F5;
}

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

::selection { background: rgba(72, 167, 237, 0.2); color: #FAF8F5; }
::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }

img { transition: opacity 0.4s ease; }

/* FAQ Accordion Arrow */
details[open] > summary svg { transform: rotate(180deg); }
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }

/* ═══ AMBIENT ANIMATIONS — always running, no scroll needed ═══ */

/* CTA Button Pulse — subtle glow breathing */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(72, 167, 237, 0.4); }
  50% { box-shadow: 0 0 20px 4px rgba(72, 167, 237, 0.15); }
}
.cta-pulse {
  animation: ctaPulse 3s ease-in-out infinite;
}
.cta-pulse:hover {
  animation: none;
  box-shadow: 0 0 30px 8px rgba(72, 167, 237, 0.25);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Floating element — gentle up-down hover */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-slow { animation: float 6s ease-in-out infinite; }
.animate-float-delay { animation: float 4s ease-in-out 1s infinite; }

/* Card Shimmer — light sweep on hover */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.card-shimmer {
  position: relative;
  overflow: hidden;
}
.card-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(72, 167, 237, 0.04) 50%, transparent 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card-shimmer:hover::after {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

/* Gradient Background Shift — slow ambient color movement */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.gradient-shift {
  background-size: 200% 200%;
  animation: gradientShift 8s ease-in-out infinite;
}

/* Border Glow — subtle accent border pulse */
@keyframes borderGlow {
  0%, 100% { border-color: rgba(72, 167, 237, 0.08); }
  50% { border-color: rgba(72, 167, 237, 0.25); }
}
.border-glow {
  animation: borderGlow 4s ease-in-out infinite;
}

/* Accent Dot Pulse — for status indicators */
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.dot-pulse {
  animation: dotPulse 2s ease-in-out infinite;
}

/* Subtle Rotate — for decorative elements */
@keyframes subtleRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.animate-spin-slow { animation: subtleRotate 20s linear infinite; }

/* Scale Breathe — for featured cards or icons */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.animate-breathe { animation: breathe 4s ease-in-out infinite; }

/* ═══ CSS REVEAL SYSTEM — bulletproof scroll animations ═══ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ DECORATIVE SECTION BACKGROUNDS ═══ */

/* Radial accent glow — large soft circle in corner */
.bg-glow-tl { position: relative; }
.bg-glow-tl::before {
  content: ''; position: absolute; top: -20%; left: -10%; width: 50%; height: 60%;
  background: radial-gradient(ellipse, rgba(72, 167, 237, 0.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.bg-glow-br { position: relative; }
.bg-glow-br::before {
  content: ''; position: absolute; bottom: -20%; right: -10%; width: 50%; height: 60%;
  background: radial-gradient(ellipse, rgba(72, 167, 237, 0.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

/* Diagonal section divider */
.section-divider-top { position: relative; }
.section-divider-top::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom right, var(--bg) 49.5%, transparent 50.5%);
  pointer-events: none; z-index: 1;
}

/* Subtle grid pattern overlay */
.bg-grid { position: relative; }
.bg-grid::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(72, 167, 237, 0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(72, 167, 237, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0;
}

/* Dot pattern overlay */
.bg-dots { position: relative; }
.bg-dots::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(72, 167, 237, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none; z-index: 0;
}

/* Large watermark text */
.watermark { position: relative; overflow: hidden; }
.watermark::before {
  content: attr(data-watermark);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg);
  font-size: clamp(6rem, 15vw, 14rem); font-weight: 900; white-space: nowrap;
  color: rgba(72, 167, 237, 0.025);
  pointer-events: none; z-index: 0; line-height: 1;
  font-family: Cormorant Garamond, system-ui, sans-serif;
}

/* Gradient fade top/bottom on sections */
.gradient-fade-top { position: relative; }
.gradient-fade-top::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, rgba(72, 167, 237, 0.03), transparent);
  pointer-events: none; z-index: 0;
}

/* Accent line accent at top of section */
.accent-line-top { position: relative; }
.accent-line-top::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(72, 167, 237, 0.3), transparent);
  pointer-events: none; z-index: 1;
}

/* ═══ PROCESS CARD HOVER EFFECTS ═══ */

/* Base hover for all process cards */
.process-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}
.process-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 0 1px rgba(72, 167, 237, 0.2);
}

/* Variant 1: Color intensification on hover */
.process-card-glow:hover {
  background: linear-gradient(135deg, rgba(72, 167, 237, 0.12) 0%, rgba(72, 167, 237, 0.04) 100%) !important;
  border-color: rgba(72, 167, 237, 0.4) !important;
}

/* Variant 2: Accent left-border reveal */
.process-card-accent:hover {
  border-left: 3px solid var(--accent) !important;
  padding-left: calc(1.5rem - 3px);
}

/* Variant 3: Lift + glow ring */
.process-card-ring:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 0 0 2px rgba(72, 167, 237, 0.3), 0 0 30px rgba(72, 167, 237, 0.1);
}

/* Variant 4: Background slide-in */
@keyframes bgSlideIn {
  0% { background-position: -100% 0; }
  100% { background-position: 0% 0; }
}
.process-card-slide {
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, transparent 50%, rgba(72, 167, 237, 0.08) 50%);
  background-position: -100% 0;
}
.process-card-slide:hover {
  animation: bgSlideIn 0.4s ease forwards;
}

/* Variant 5: Number highlight — makes step number pop on hover */
.process-card:hover .step-number {
  color: var(--accent) !important;
  opacity: 0.15 !important;
  transform: scale(1.1);
  transition: all 0.4s ease;
}

/* All process cards: smooth number transition */
.process-card .step-number {
  transition: all 0.4s ease;
}


/* === Gemini CSS === */
/* --- CORE ANIMATIONS --- */
@keyframes pulse-accent {
  0% { box-shadow: 0 0 0 0 rgba(72, 167, 237, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(72, 167, 237, 0); }
  100% { box-shadow: 0 0 0 0 rgba(72, 167, 237, 0); }
}

.cta-pulse {
  animation: pulse-accent 2.5s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float-slow {
  animation: float 6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-breathe {
  animation: breathe 3s ease-in-out infinite;
}

@keyframes dotPulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
  100% { opacity: 1; transform: scale(1); }
}

.dot-pulse {
  animation: dotPulse 2s infinite ease-in-out;
}

/* --- CARD SHIMMER EFFECT --- */
.card-shimmer {
  position: relative;
}
.card-shimmer::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.03), transparent);
  transform: skewX(-20deg);
  transition: all 0.7s ease;
  z-index: 1;
  pointer-events: none;
}
.card-shimmer:hover::before {
  left: 150%;
}

/* --- PROCESS CARD HOVER VARIANTS --- */
.process-card {
  transition: all 0.4s ease;
}
.process-card:hover .step-number {
  color: rgba(72, 167, 237, 0.1);
  transform: scale(1.1) translate(-10px, 10px);
}

.process-card-glow:hover {
  background: radial-gradient(circle at top right, rgba(72, 167, 237, 0.15), #1a1a20 60%);
  border-color: rgba(72, 167, 237, 0.3);
}

.process-card-ring::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 0.4s ease; pointer-events: none;
}
.process-card-ring:hover::after {
  box-shadow: inset 0 0 0 1px rgba(72, 167, 237, 0.5);
}

.process-card-accent::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: #48A7ED; transform: scaleY(0); transition: transform 0.4s ease; transform-origin: top;
}
.process-card-accent:hover::before {
  transform: scaleY(1);
}

.process-card-slide {
  z-index: 1;
}
.process-card-slide::before {
  content: ''; position: absolute; inset: 0; background: rgba(72, 167, 237, 0.05);
  transform: translateY(100%); transition: transform 0.4s ease; z-index: -1;
}
.process-card-slide:hover::before {
  transform: translateY(0);
}

/* --- REVEAL SYSTEM --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}
.reveal.is-visible, .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- DECORATIVE BACKGROUNDS --- */
.bg-glow-tl::before {
  content: ''; position: absolute; top: -20%; left: -10%; width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(72,167,237,0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none; z-index: 0;
}
.bg-glow-br::after {
  content: ''; position: absolute; bottom: -20%; right: -10%; width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(72,167,237,0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none; z-index: 0;
}

.bg-dots {
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.watermark::before {
  content: attr(data-watermark);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: 'Lato', sans-serif; font-weight: 900; font-size: 15vw;
  color: rgba(255,255,255,0.02); white-space: nowrap; pointer-events: none; z-index: 0;
  letter-spacing: 0.1em;
}

.gradient-fade-top::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 150px;
  background: linear-gradient(to bottom, rgba(72,167,237,0.03), transparent); pointer-events: none; z-index: 0;
}

.accent-line-top::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 2px; background: #48A7ED; opacity: 0.5;
}

/* --- DETAILS/SUMMARY NATIVE ACCORDION --- */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* ═══ PROSE STYLING — for Blog/Ratgeber/Content pages ═══ */
.prose-custom h2 {
  font-family: 'Cormorant Garamond', system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #FAF8F5;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  line-height: 1.2;
}
.prose-custom h3 {
  font-family: 'Cormorant Garamond', system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #FAF8F5;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.prose-custom p {
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 1.125rem;
  color: #c0c0cc;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.prose-custom a {
  color: #48A7ED;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(72,167,237,0.4);
  transition: all 0.2s;
}
.prose-custom a:hover {
  color: #6dbcf5;
  text-decoration-color: #6dbcf5;
}
.prose-custom ul, .prose-custom ol {
  color: #c0c0cc;
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 1.125rem;
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}
.prose-custom li {
  margin-bottom: 0.625rem;
  line-height: 1.75;
}
.prose-custom ul li::marker {
  color: #48A7ED;
}
.prose-custom ol li::marker {
  color: #48A7ED;
  font-weight: 700;
}
.prose-custom blockquote {
  border-left: 3px solid #48A7ED;
  padding-left: 1.75rem;
  margin: 2.5rem 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.625rem;
  color: #FAF8F5;
  line-height: 1.4;
}
.prose-custom img {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.05);
  margin: 2.5rem 0;
  width: 100%;
}
.prose-custom figcaption {
  text-align: center;
  color: #A0A0B0;
  font-size: 0.9375rem;
  margin-top: -1.5rem;
  margin-bottom: 2rem;
}
.prose-custom table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
  font-size: 1.0625rem;
}
.prose-custom th {
  font-family: 'Cormorant Garamond', system-ui, sans-serif;
  color: #FAF8F5;
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 1.1875rem;
  font-weight: 700;
}
.prose-custom td {
  color: #c0c0cc;
  font-family: 'Lato', system-ui, sans-serif;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.prose-custom tr:hover td {
  background: rgba(72, 167, 237, 0.04);
}
.prose-custom strong {
  color: #FAF8F5;
  font-weight: 700;
}