/* ═══ Matingo Subpages — Confetti Corporate ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --coral: #E85D4E;
  --coral-hover: #D14A3C;
  --coral-light: #FDE8E5;
  --ink: #352A4A;
  --ink-light: #4A3D62;
  --ink-muted: #6B5F82;
  --butter: #F5C542;
  --butter-light: #FFF3D1;
  --sage: #7FA98A;
  --sage-light: #E8F2EB;
  --paper: #FFFFFF;
  --sand: #FAF3E7;
  --mist: #EDE4D3;
  --stone: #D4CCBC;
  --rose: #F9C4B9;
  --white: #FFFFFF;
  --font: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 100px;
  --shadow-sm: 0 1px 3px rgba(53,42,74,0.08);
  --shadow-md: 0 4px 12px rgba(53,42,74,0.10);
  --shadow-lg: 0 12px 32px rgba(53,42,74,0.14);
  --max-w: 1120px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); line-height: 1.65; overflow-x: hidden; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mist);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.logo-link { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-mark { flex-shrink: 0; }
.logo-wordmark { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.logo-wordmark .dot { color: var(--coral); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--ink-muted);
  text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.btn-nav {
  display: inline-flex; align-items: center; padding: 10px 22px;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  background: var(--coral); color: #fff;
  border-radius: var(--radius-pill); text-decoration: none;
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-nav:hover { background: var(--coral-hover); transform: translateY(-1px); }
.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--ink);
}

/* ── Page Hero Banner ── */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 56px 24px 48px;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent, transparent 22px,
      rgba(232,93,78,0.06) 22px, rgba(232,93,78,0.06) 24px
    );
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  position: relative;
}
.page-hero h1 .accent { color: var(--coral); }
.page-hero .page-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.5;
  position: relative;
}
/* Confetti decoration on hero */
.page-hero .confetti-piece {
  position: absolute;
  border-radius: 1px;
}

/* ── Content area ── */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.legal-content h2::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--coral);
  margin-right: 12px;
  border-radius: 2px;
  vertical-align: text-bottom;
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--ink-light);
}
.legal-content p {
  margin-bottom: 16px;
  color: var(--ink-light);
  line-height: 1.75;
}
.legal-content ul, .legal-content ol {
  margin: 0 0 16px 24px;
  color: var(--ink-light);
}
.legal-content li { margin-bottom: 8px; }
.legal-content li::marker { color: var(--coral); }
.legal-content a { color: var(--coral); text-decoration: none; font-weight: 500; }
.legal-content a:hover { text-decoration: underline; }

/* Placeholder boxes (eRecht24 / to-fill) */
.placeholder-box {
  background: var(--butter-light);
  border-left: 4px solid var(--butter);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--ink-muted);
}
.placeholder-box strong { color: var(--ink); }

/* ── FAQ ── */
.faq-grid { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); border-color: var(--stone); }
.faq-item.open { border-color: var(--coral); box-shadow: 0 2px 12px rgba(232,93,78,0.08); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  min-height: 60px;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  background: none; border: none; width: 100%;
  font-family: var(--font); color: var(--ink);
  text-align: left;
  margin: 0; line-height: 1.4;
  transition: color 0.15s;
}
.faq-item.open .faq-question { color: var(--coral); }
.faq-question svg {
  flex-shrink: 0; width: 18px; height: 18px;
  transition: transform 0.25s; color: var(--ink-muted);
}
.faq-item.open .faq-question svg { transform: rotate(180deg); color: var(--coral); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

.faq-categories {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.faq-cat-btn {
  padding: 8px 18px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  background: var(--white); color: var(--ink-muted);
  border: 1.5px solid var(--mist); border-radius: var(--radius-pill);
  cursor: pointer; transition: all 0.2s;
}
.faq-cat-btn:hover { border-color: var(--stone); color: var(--ink); }
.faq-cat-btn.active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.faq-category-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink-muted);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mist);
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-category-title::before {
  content: '◆';
  color: var(--coral);
  font-size: 8px;
}
.faq-category-title:first-of-type { margin-top: 0; }

/* Legal disclaimer */
.faq-disclaimer {
  margin: 16px 0 24px;
  padding: 14px 18px;
  background: var(--sand);
  border-left: 3px solid var(--butter);
  border-radius: 4px;
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.6;
}
.faq-disclaimer strong {
  color: var(--ink);
  font-weight: 600;
}

/* FAQ contact CTA */
.faq-cta {
  text-align: center;
  margin-top: 56px;
  padding: 44px 28px;
  background: var(--ink);
  border-radius: var(--radius);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.faq-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent, transparent 22px,
      rgba(232,93,78,0.08) 22px, rgba(232,93,78,0.08) 24px
    );
  pointer-events: none;
}
.faq-cta h2 {
  font-size: 1.4rem;
  margin: 0 0 8px;
  position: relative;
  color: var(--white);
}
.faq-cta h2::before { display: none; }
.faq-cta p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  position: relative;
}
.faq-cta .btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  background: var(--coral); color: #fff;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
}
.faq-cta .btn-cta:hover { background: var(--coral-hover); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232,93,78,0.3); }

/* ── Footer ── */
footer {
  text-align: center; padding: 32px 24px;
  font-size: 13px; color: var(--ink-muted);
  border-top: 1px solid var(--mist);
}
footer a { color: var(--ink-muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--sand); padding: 24px;
    border-bottom: 1px solid var(--mist);
    gap: 16px;
  }
  .mobile-menu-btn { display: block; }
  .legal-content { padding: 32px 20px 60px; }
  .page-hero { padding: 40px 20px 36px; }
}
