/* ============================================================
   Ingentive Networks – style.css
   Standalone CSS (kein Tailwind, kein Node.js)
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Brand */
  --primary:        #10B981;
  --primary-dark:   #059669;
  --primary-light:  #D1FAE5;

  /* Neutrals */
  --bg:             #FAFAF8;
  --bg-muted:       #F3F4F0;
  --card:           #FFFFFF;
  --border:         #D1FAE5;
  --border-neutral: #E5E7EB;

  /* Text */
  --text:           #0F1923;
  --text-muted:     #6B7280;
  --text-light:     #9CA3AF;

  /* Misc */
  --radius:         0.5rem;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:      0 8px 24px rgba(0,0,0,0.10);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section  { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}
.navbar-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.navbar-logo-text { display: none; }
@media (min-width: 640px) { .navbar-logo-text { display: block; } }

.navbar-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
@media (min-width: 1024px) { .navbar-nav { display: flex; } }

.navbar-nav a {
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}
.navbar-nav a:hover { color: var(--primary); }
.navbar-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.navbar-actions { display: flex; align-items: center; gap: 0.75rem; }

.navbar-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border: none;
  background: transparent;
  color: var(--text);
  border-radius: var(--radius);
  transition: background 0.15s;
}
.navbar-hamburger:hover { background: var(--bg-muted); }
@media (min-width: 1024px) { .navbar-hamburger { display: none; } }

/* Mobile menu */
.navbar-mobile {
  display: none;
  border-top: 1px solid var(--border-neutral);
  background: white;
}
.navbar-mobile.open { display: block; }
.navbar-mobile nav {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.navbar-mobile a {
  display: block;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.15s;
}
.navbar-mobile a:hover { background: var(--bg-muted); }
.navbar-mobile a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.navbar-mobile-cta {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-neutral);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  background: var(--primary);
  color: white;
  border: none;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  cursor: pointer;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); color: white; }
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  text-decoration: none;
  transition: background 0.15s;
  cursor: pointer;
}
.btn-outline:hover { background: var(--primary-light); color: var(--primary); }

.btn-sm { padding: 0.375rem 0.875rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 80vh;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 4rem; /* navbar height */
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,25,35,0.85) 0%, rgba(15,25,35,0.5) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.homepage-hero-container {
  width: 100%;
  /* Der Hero hat inklusive Navigationsabstand die ursprüngliche Höhe von 520px. */
  min-height: calc(520px - 4rem);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.homepage-hero-content {
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
.homepage-intro { max-width: 75rem; }
.homepage-section { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(16,185,129,0.2);
  color: #6EE7B7;
  border: 1px solid rgba(16,185,129,0.3);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ── Kursfilter und Schulungs-FAQ ─────────────────────────── */
.course-filter-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}
.course-filter-controls { display: flex; min-width: 0; flex-wrap: nowrap; gap: 0.75rem; align-items: center; overflow-x: auto; scrollbar-width: thin; }
.course-filter-controls > div { flex-wrap: nowrap !important; }
.course-filter-controls button { white-space: nowrap; }
.course-filter-divider { width: 1px; height: 1.5rem; background: var(--border-neutral); align-self: center; }
.course-faq-button { justify-self: end; white-space: nowrap; }
.workshop-intro { max-width: 1200px; }
.faq-list { display: flex; flex-direction: column; gap: 2.25rem; }
.faq-item { background: white; border: 1px solid var(--border-neutral); border-radius: 0.75rem; padding: 1.5rem; }
.faq-question { color: var(--text); font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 700; line-height: 1.35; margin: 0 0 1.25rem; }
.faq-answer { color: var(--text-muted); line-height: 1.75; padding-top: 0.25rem; }
.faq-answer p + p { margin-top: 1rem; }

@media (max-width: 900px) {
  .course-filter-toolbar { grid-template-columns: 1fr; row-gap: 0.75rem; }
  .course-filter-controls { flex-wrap: wrap; overflow-x: visible; }
  .course-filter-controls > div { flex-wrap: wrap !important; }
  .course-faq-button { justify-self: end; }
}
@media (max-width: 640px) {
  .homepage-hero-container { min-height: calc(420px - 4rem); }
  .course-filter-divider { display: none; }
  .course-faq-button { width: auto; justify-content: flex-start; }
}

/* Page hero (sub-pages) */
.page-hero {
  position: relative;
  padding: 6rem 0 3rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,25,35,0.8) 0%, rgba(15,25,35,0.6) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: white; font-size: clamp(1.75rem, 4vw, 2.75rem); }
.page-hero .badge-green { margin-bottom: 0.75rem; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border-radius: calc(var(--radius) * 2);
  border: 1px solid var(--border-neutral);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.card-body { padding: 1.5rem; }
.card-img { width: 100%; height: 200px; object-fit: cover; }

/* ── Badges ───────────────────────────────────────────────── */
.badge-green {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.badge-gray {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--bg-muted);
  color: var(--text-muted);
}
.badge-blue {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: #EFF6FF;
  color: #1D4ED8;
}

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}
.form-label .required { color: #EF4444; margin-left: 0.25rem; }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--border-neutral);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--text);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-error { font-size: 0.8125rem; color: #EF4444; margin-top: 0.375rem; }
.form-success {
  padding: 1rem 1.25rem;
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: 1rem;
}
.form-alert-error {
  padding: 1rem 1.25rem;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius);
  color: #991B1B;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Checkbox */
.form-check { display: flex; align-items: flex-start; gap: 0.625rem; }
.form-check input[type="checkbox"] {
  width: 1rem; height: 1rem;
  margin-top: 0.2rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: white;
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.footer-brand p { font-size: 0.875rem; color: #9CA3AF; line-height: 1.7; margin-top: 1rem; }
.footer h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: #9CA3AF; transition: color 0.15s; }
.footer-links a:hover { color: white; }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: #9CA3AF; }
.footer-contact-item a { color: #9CA3AF; transition: color 0.15s; }
.footer-contact-item a:hover { color: white; }
.footer-contact-icon { color: var(--primary); flex-shrink: 0; margin-top: 0.1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #6B7280;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom a { color: #6B7280; transition: color 0.15s; }
.footer-bottom a:hover { color: white; }
.footer-bottom-links { display: flex; gap: 1rem; }

/* ── Prose (Artikel) ──────────────────────────────────────── */
.prose-ingentive h1 { font-size: 1.5rem; font-weight: 800; margin: 2rem 0 1rem; color: var(--text); }
.prose-ingentive h2 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem; color: var(--text); }
.prose-ingentive h3 { font-size: 1.125rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--text); }
.prose-ingentive p  { margin-bottom: 1rem; line-height: 1.75; color: var(--text); }
.prose-ingentive ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose-ingentive ol { list-style: decimal; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose-ingentive li { line-height: 1.75; color: var(--text); margin-bottom: 0.25rem; }
.prose-ingentive a  { color: var(--primary); text-decoration: underline; }
.prose-ingentive strong { font-weight: 700; color: var(--text); }
.prose-ingentive em { font-style: italic; }
.prose-ingentive blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 1.5rem 0;
}
.prose-ingentive pre {
  background: #1a2332;
  color: #6EE7B7;
  padding: 1rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.875rem;
}
.prose-ingentive .cli-terminal {
  background: #1a2332;
  border-radius: 4px;
  padding: 14px 18px;
  margin: 12px 0;
  overflow-x: auto;
  white-space: pre;
  font-family: Consolas, 'Courier New', monospace;
  font-size: 0.92em;
  line-height: 1.7;
}
.prose-ingentive .cli-prompt,
.prose-ingentive .cli-output { color: #ccc; }
.prose-ingentive .cli-input { color: #4dd0e1; }
.prose-ingentive code:not(pre code) {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-family: 'Space Mono', monospace;
}
.prose-ingentive hr { border: none; border-top: 1px solid var(--border-neutral); margin: 2rem 0; }
.prose-ingentive img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose-ingentive table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.875rem; }
.prose-ingentive th { padding: 0.5rem 0.75rem; text-align: left; font-weight: 600; background: var(--bg-muted); border: 1px solid var(--border-neutral); color: var(--text); }
.prose-ingentive td { padding: 0.5rem 0.75rem; border: 1px solid var(--border-neutral); color: var(--text); }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.4s cubic-bezier(0.23, 1, 0.32, 1) both; }
.animate-delay-100  { animation-delay: 0.1s; }
.animate-delay-200  { animation-delay: 0.2s; }
.animate-delay-300  { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) { .animate-fade-in-up { animation: none; } }

/* ── Utilities ────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-white  { color: white; }
.text-sm     { font-size: 0.875rem; }
.text-xs     { font-size: 0.75rem; }
.text-lg     { font-size: 1.125rem; }
.text-xl     { font-size: 1.25rem; }
.text-2xl    { font-size: 1.5rem; }
.text-3xl    { font-size: 1.875rem; }
.font-bold   { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }

.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: calc(var(--radius) * 2); }
.rounded-full { border-radius: 9999px; }

.bg-white { background: white; }
.bg-muted  { background: var(--bg-muted); }
.bg-primary { background: var(--primary); }
.bg-primary-light { background: var(--primary-light); }

.border { border: 1px solid var(--border-neutral); }
.border-top { border-top: 1px solid var(--border-neutral); }

.shadow { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }

/* ── Section Header ───────────────────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
.section-header p { font-size: 1.0625rem; color: var(--text-muted); max-width: 600px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin-left: auto; margin-right: auto; }

/* ── Divider ──────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border-neutral); margin: 2rem 0; }

/* ── Alert / Notice ───────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}
.alert-success { background: var(--primary-light); color: var(--primary-dark); border: 1px solid var(--primary); }
.alert-error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5; }
.alert-info    { background: #EFF6FF; color: #1D4ED8; border: 1px solid #93C5FD; }

/* ── Table ────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  background: var(--bg-muted);
  border-bottom: 2px solid var(--border-neutral);
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.data-table td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--border-neutral); color: var(--text); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-muted); }

/* ── Pagination ───────────────────────────────────────────── */
.pagination { display: flex; gap: 0.5rem; align-items: center; justify-content: center; margin-top: 2rem; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border-neutral);
  transition: all 0.15s;
}
.pagination a:hover { background: var(--bg-muted); color: var(--text); }
.pagination .active { background: var(--primary); color: white; border-color: var(--primary); }

/* ── Spinner ──────────────────────────────────────────────── */
.spinner {
  width: 1.5rem; height: 1.5rem;
  border: 2px solid var(--border-neutral);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive helpers ───────────────────────────────────── */
@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
  .section { padding: 2.5rem 0; }
  .hero { min-height: 60vh; }
}
@media (min-width: 641px) {
  .show-mobile { display: none !important; }
}
