@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

html { scroll-behavior: smooth; }
body { background-color: #0F172A; font-family: 'Inter', sans-serif; }
.font-display { font-family: 'Space Grotesk', sans-serif; }

::selection { background: rgba(59,130,246,0.35); }
:focus-visible { outline: 2px solid #60a5fa; outline-offset: 3px; border-radius: 6px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0F172A; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 10px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal-in { opacity: 1; transform: translateY(0); }
.reveal-hero { animation: fadeSlideIn .7s ease both; }

@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseSlow { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
.animate-pulse-slow { animation: pulseSlow 6s ease-in-out infinite; }

@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.toast-in { animation: toastIn .25s ease both; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-hero, .animate-pulse-slow, .toast-in { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Admin panel table helpers */
.admin-card { background: rgba(30,41,59,.5); border: 1px solid rgba(51,65,85,.6); border-radius: 16px; }

/* Blog-Artikel (Lesetypografie) */
.sp-prose { color: #cbd5e1; font-size: 1.0625rem; line-height: 1.8; }
.sp-prose p { margin: 0 0 1.15em; }
.sp-prose h2 { color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 700; line-height: 1.3; margin: 2.2em 0 .7em; scroll-margin-top: 90px; }
.sp-prose h3 { color: #e2e8f0; font-size: 1.2rem; font-weight: 600; margin: 1.6em 0 .5em; }
.sp-prose ul, .sp-prose ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.sp-prose ul { list-style: none; padding-left: 0; }
.sp-prose ul li { position: relative; padding-left: 1.6em; margin: .45em 0; }
.sp-prose ul li::before { content: ''; position: absolute; left: .2em; top: .7em; width: .55em; height: .55em; border-radius: 999px; background: linear-gradient(135deg, #60a5fa, #22d3ee); }
.sp-prose ol { list-style: decimal; }
.sp-prose ol li { margin: .45em 0; padding-left: .3em; }
.sp-prose ol li::marker { color: #60a5fa; font-weight: 700; }
.sp-prose strong { color: #fff; font-weight: 600; }
.sp-prose a { color: #60a5fa; text-decoration: underline; text-underline-offset: 3px; }
.sp-prose a:hover { color: #93c5fd; }
.sp-prose .sp-tip { display: flex; gap: .8em; align-items: flex-start; margin: 1.6em 0; padding: 1.1em 1.25em; border-radius: 16px; background: linear-gradient(135deg, rgba(37,99,235,.14), rgba(34,211,238,.10)); border: 1px solid rgba(96,165,250,.3); }
.sp-prose .sp-tip p { margin: 0; color: #e2e8f0; }
.sp-prose .sp-tip-icon { font-size: 1.3em; line-height: 1.5; }
