/* ==========================================================================
   Laptoprepareren theme — main stylesheet
   Design tokens 1-op-1 overgenomen uit de originele Tailwind/shadcn config.
   ========================================================================== */

:root {
  --background: 210 40% 98%;
  --foreground: 222 47% 11%;

  --primary: 221 83% 53%;
  --primary-foreground: 210 40% 98%;

  --secondary: 215 25% 27%;
  --secondary-foreground: 210 40% 98%;

  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 47%;

  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;

  --border: 214 32% 91%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;

  --radius: 0.75rem;

  --dark-bg: 222 47% 6%;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  overflow-x: clip;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.25rem; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 1024px; margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-card { background-color: hsl(var(--card)); }
.border-b { border-bottom: 1px solid hsl(var(--border)); }
.border-t { border-top: 1px solid hsl(var(--border)); }
.text-center { text-align: center; }
.text-muted { color: hsl(var(--muted-foreground)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3.25rem;
  padding: 0 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
.btn:hover { opacity: 0.92; }
.btn-sm { height: 2.5rem; padding: 0 1.25rem; font-size: 0.875rem; }
.btn-outline {
  background-color: transparent;
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-outline-dark {
  background-color: transparent;
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.btn-outline-dark:hover { background-color: rgba(255,255,255,0.1); }
.btn-secondary { background-color: #fff; color: hsl(var(--primary)); }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-group.center { justify-content: center; }

/* ---------- Badge / notice ---------- */
.badge-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsl(var(--destructive) / 0.92);
  color: hsl(var(--destructive-foreground));
  border-radius: 9999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.badge-notice-soft {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  background-color: hsl(var(--destructive) / 0.1);
  border: 1px solid hsl(var(--destructive) / 0.2);
  color: hsl(var(--destructive));
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border));
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.site-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.15rem; color: hsl(var(--foreground)); }
.site-logo svg { color: hsl(var(--primary)); }
.site-logo img { max-height: 2.75rem; width: auto; display: block; }
.site-logo a { display: flex; align-items: center; }
.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.8);
}
.main-nav a:hover, .main-nav a.is-active { color: hsl(var(--primary)); font-weight: 600; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
}
.mobile-nav a { padding: 0.65rem 0; font-size: 1.05rem; font-weight: 500; }
.mobile-nav.is-open { display: flex; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero / cover ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: hsl(var(--dark-bg));
  padding: 7rem 0;
  color: #fff;
}
.hero.hero-tall { min-height: 88vh; display: flex; align-items: center; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; mix-blend-mode: overlay; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--dark-bg)) 0%, hsl(var(--dark-bg) / 0.8) 45%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 4rem); color: #fff; max-width: 46rem; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.4rem); color: #cbd5e1; max-width: 40rem; margin-bottom: 2.25rem; }
.hero-center { text-align: center; }
.hero-center .hero-content { max-width: 48rem; margin: 0 auto; }

/* ---------- Grid / columns ---------- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-align-center { align-items: center; }
@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease;
}
.card:hover { box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08); }
.card-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }

/* ---------- Stats ---------- */
.stats-band { background-color: hsl(var(--primary)); color: #fff; padding: 4rem 0; }
.stat { text-align: center; }
.stat .num { font-size: clamp(1.8rem, 4vw, 2.75rem); font-weight: 800; }
.stat .label { font-size: 0.95rem; opacity: 0.9; }

/* ---------- Accordion (FAQ) ---------- */
.faq { max-width: 48rem; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid hsl(var(--border));
  padding: 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0.25rem;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: hsl(var(--primary));
  margin-left: 1rem;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { padding: 0 0.25rem 1.25rem; color: hsl(var(--muted-foreground)); }
.faq-wrap { background-color: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 1rem; padding: 0.5rem 1.5rem; }

/* ---------- CTA ---------- */
.cta-box {
  background-color: hsl(var(--primary));
  color: #fff;
  border-radius: 2rem;
  padding: 4rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box h2 { color: #fff; }
.cta-box p { color: rgba(255,255,255,0.9); max-width: 40rem; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-top: 2.5rem; font-size: 0.95rem; color: rgba(255,255,255,0.85); }

/* ---------- Contact ---------- */
.contact-info-item { display: flex; gap: 1.1rem; margin-bottom: 1.75rem; }
.contact-info-item .icon {
  flex-shrink: 0;
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background-color: hsl(var(--primary) / 0.1); color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item h4 { margin-bottom: 0.2rem; font-size: 1rem; }
.contact-info-item p, .contact-info-item a { color: hsl(var(--muted-foreground)); font-weight: 500; }

.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: hsl(var(--card));
  color: hsl(var(--foreground));
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-notice { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-weight: 500; }
.form-notice.success { background-color: #dcfce7; color: #166534; }
.form-notice.error { background-color: hsl(var(--destructive) / 0.1); color: hsl(var(--destructive)); }

/* ---------- Footer ---------- */
.site-footer { background-color: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); }
.site-footer .container { padding-top: 4.5rem; padding-bottom: 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.7fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 1rem; margin-bottom: 1.1rem; color: #fff; }
.site-footer .brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.15rem; margin-bottom: 1rem; }
.site-footer p { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.footer-links a:hover { color: #fff; }
.footer-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem 1.5rem; }
.footer-locations { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; margin-bottom: 2rem; }
.footer-locations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1.5rem; }
@media (min-width: 640px) { .footer-locations-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .footer-locations-grid { grid-template-columns: repeat(5, 1fr); } }
.footer-locations-grid a { font-size: 0.78rem; color: rgba(255,255,255,0.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
}
.footer-bottom .legal-links { display: flex; gap: 1.5rem; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; }
.error-page .code { font-size: 4.5rem; font-weight: 800; color: hsl(var(--primary)); }

/* ---------- Utilities ---------- */
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
