:root {
  --beige: #f5f0e6;
  --text: #1f2937;
  --text-light: #4b5563;
  --black: #000000;
  --muted: #6b7280; 
  --accent: #3b2813ca;
  --accent-2: #3b2813ca;
  --highlight: #20b2aa;
  --hr: #e6eefc;
  --shadow: 0 6px 20px rgba(15,111,191,0.08);
  --radius-lg: 14px;
  --radius: 8px;
  --container-max: 1100px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Base styling */
* { box-sizing: border-box; margin:0; padding:0; }
html, body { height:100%; }
body {
  font-family: var(--font-sans);
  background: var(--beige);
  color: var(--text);
  line-height: 1.55;
  font-size:16px;
}

/* Header (gedeeld door home & juridisch) */
header {
  background: var(--beige);
  border-bottom: 1px solid var(--hr);
  position: relative;
}

/* Professionele 3-koloms header – FAQ stijl */
.header-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
}

/* Logo links */
.logo {
  height: 90px;
  width: auto;
  border-radius: 13px;
  justify-self: start;
}

/* Titel exact gecentreerd */
/* .nav-title {
  font-size: 1.9rem;
  font-weight: 850;
  color: #000;
  text-align: center;
  justify-self: center;
  margin: 0;
  padding: 0;
  width: 100%;
} */

/* NAV – FAQ stijl */
nav {
  justify-self: end;
  z-index: 2;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;         
  list-style: none;
  padding-top: 20px;  
  margin: 0;
  font-family: 'Trebuchet MS', sans-serif;
  font-weight: bold;
  font-size: 18px;  
}

nav a {
  text-decoration: none;
  color: black;
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.16s;
}

nav a:hover {
  background: rgba(15,111,191,0.08);
  transform: translateY(-1px);
}

nav a.active {
  text-decoration: underline;

}

/* Taal switch rechtsboven */
.lang-switch {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 0.95rem;
  font-weight: bold;
  z-index: 10;
}

.lang-switch a {
  text-decoration: none;
  color: black;
  margin: 0 6px;
  transition: color 0.2s ease;
}

.lang-switch a:hover { color: var(--accent); }
.lang-switch .active { text-decoration: underline; }


/* Divider */
hr { border:none; height:3px; background: linear-gradient(90deg,transparent,var(--accent-2),transparent); margin:24px 0; border-radius:3px; }

/* Main content - voor homepagina */
main { padding:36px 20px 72px; }
.home-content {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Specifiek voor juridische pagina */
.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px 60px;
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border:1px solid rgba(11,79,145,0.08);
}
.legal-page h1 { font-size:2rem; margin-bottom:20px; text-align:center; color:var(--accent-2); border-bottom:2px solid var(--accent); padding-bottom:10px; }
.legal-page h2 { font-size:1.4rem; margin-top:28px; margin-bottom:14px; color: var(--accent); border-left:4px solid var(--accent-2); padding-left:10px; }
.legal-page h3 { font-size:1.2rem; margin-top:20px; color: darkblue; border-left:3px solid var(--accent); padding-left:8px; text-decoration:underline; }
.legal-page p, .legal-page li { color: var(--text-light); line-height:1.65; margin-bottom:14px; }
.legal-page ul, .legal-page ol { margin:0 0 16px 25px; }
.legal-page a { color: var(--accent-2); }

/* Footer (gedeeld door home & juridisch) */
.site-footer {
  background-color: var(--beige);
  color: var(--text);
  padding:0px 10px 10px 10px;
}
.footer-inner { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:30px; width:100%; margin:0 auto 30px; }
.footer-col h4 { margin-bottom:15px; font-size:1.2rem; color:black; text-decoration:underline; }
.footer-company-name { font-weight:700; margin-bottom:5px; text-decoration:underline; }
.footer-small { font-size:0.9rem; color:var(--text-light); margin-bottom:15px; }
.footer-small a { text-decoration:none; color: black; transition:0.16s; font-weight:bold; }
.footer-small a:hover {
  text-decoration: underline;
}
.footer-links ul, .footer-legal ul { list-style:none; font-weight:bold; margin-left:0; padding-left:0; }
.footer-links li, .footer-legal li { margin-bottom:8px; }
.footer-links a, .footer-legal a { color: black; text-decoration:none; transition:color 0.3s; }
.footer-links a:hover, .footer-legal a:hover { color: black; text-decoration: underline;}
.footer-bottom { border-top:1px solid rgba(0,0,0,0.2); text-align:center; }
.footer-bottom p { font-size:0.85rem; color: var(--accent-2); margin:3px 0 0 0; }

/* Language switch */
.lang-switch { position:absolute; top:15px; right:20px; font-size:0.95rem; font-weight:bold; z-index:10; }
.lang-switch a { text-decoration:none; color:var(--accent-2,#333); margin:0 6px; transition:color 0.2s ease; }
.lang-switch a:hover { color: var(--accent,#0066cc); }
.lang-switch .active { text-decoration:underline; color: var(--accent,#0066cc); }

/* Responsiveness */
@media (max-width:1000px){
  .header-container { display:block; }
  .logo { height:70px; }
  .nav-title { width:100%; display:flex; align-items:center; margin:0; justify-content:center; }
  nav ul { justify-content:center; gap:12px; padding:10px 0; }
  main {  padding:28px 16px 60px; }
  .legal-page {margin: 30px; padding:20px 16px 40px; }
}
@media (max-width:520px){
  .logo { height:60px; }
  .nav-title { font-size:1.6rem; display:flex; justify-content:center; }
  nav ul { gap:10px; }
  main { padding:20px 12px 40px; }
  .legal-page { padding:16px 12px 30px; }
  .footer-inner { grid-template-columns:1fr; gap:20px; }
  .footer-col h4 { font-size:1.1rem; }
  .footer-bottom p { font-size:0.8rem; }
}
