:root {
  --beige: #f5f0e6;
  --text: #1f2937;
  --text-light: #4b5563;
  --black: #000000;
  --muted: #6b7280; 
  --accent: #0f6fbf;
  --accent-2: #0b4f91;
  --highlight: #20b2aa; /* voor hover en links */
  --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 */
* { 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 */
header {
  position: relative;
  background: var(--beige);
  border-bottom: 1px solid var(--hr);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 15px 30px;
}

.logo {
  height: 90px;
  width: auto;
  border-radius: 13px;
}

.header-center { 
  flex: 1; 
  text-align: center; 

}

.nav-title {
  font-size: 2.6rem;
  font-weight: 850;
  color: #000;
  white-space: nowrap;
  margin-left: 20%; /* geen vaste marges */
}

nav ul {
  display: flex;
  gap: 14px;
  list-style: none;
  padding-top: 20px;
  font-family: 'Trebuchet MS', sans-serif;
  font-weight: bolder;
  font-size: 22px;
}
nav a { 
  text-decoration:none; 
  color: var(--accent-2); 
  padding:8px 12px; 
  border-radius:8px; 
  transition:0.16s; 
}
nav a:hover { 
  background: rgba(15,111,191,0.08); 
  color: var(--highlight); 
  transform: translateY(-1px); 
}

/* Headings & divider */
hr { 
  border: none; 
  height: 3px; 
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent); 
  margin: 24px 0; 
  border-radius: 3px;
}
main { padding: 36px 20px 72px; }

main section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-weight: 700;
}

main section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-2);
  margin: 10px auto 0;
  border-radius: 2px;
}

main section > p {
  text-align: center;
  max-width: 750px;
  margin: 16px auto 32px auto;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Services grid - responsive */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: auto 20px 20px;
}

/* Extra info blok */
.extra-info {
  margin: 20px 20px auto 20px;
  padding: 1.2rem 1.5rem;
  background-color: #f9f9f9;
  border-left: 4px solid #2c3e50;
  border-right: 4px solid #2c3e50; /* donkerblauwe accentlijn */
  border-radius: 6px;
  font-size: 0.95rem;
  color: black;
  line-height: 1.6;
}

.extra-info strong {
  color: red; /* benadrukt belangrijk woord */
}

.extra-info em {
  font-style: italic;
  color: green;

}


/* Tablet: 2 per rij */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 3 per rij */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  /* Laatste kaart netjes centreren als er eentje overblijft (bijv. 7 kaarten) */
  .services-grid > :last-child:nth-child(3n+1) {
    grid-column: 2; /* zet de laatste in het midden */
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,79,145,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.service-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--accent-2);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15,111,191,0.12);
}

/* Prijzen */
.price {
  display: inline-block;
  margin: 20px auto auto auto;
  font-size: 1.1rem;
  font-weight: 600;
  color: bisque;
  background: var(--accent-2);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: all 0.2s ease-in-out;
}

.price:hover {
  background: var(--accent);
  transform: scale(1.05);
}

.price-block {
  margin-top: auto;
}

.price {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent-2);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: transform 0.2s, background 0.2s;
}

.price:hover {
  background: var(--accent);
  transform: scale(1.08);
}

.price .btw {
  font-size: 0.8rem;
  font-weight: normal;
  margin-left: 4px;
}

.price-btw {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

/* Payment info block */
.payment-info {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  margin: 40px 20px auto 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,79,145,0.05);
}

.payment-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 16px;
  text-align: center;
}

.payment-info p {
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.payment-info ul {
  margin: 16px 0px;
  padding-left: 20px;
  padding-bottom: 20px;
}

.payment-info ul li {
  color: var(--text);
  margin-bottom: 8px;
  margin-left: 25%;
}

.payment-info .highlight {
  background: rgba(15,111,191,0.08);
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--accent-2);
  font-weight: 600;
}

/* Footer */
.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;
}

.opening {
  text-decoration: underline;
  margin-left: 40px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 10px;
  border-radius: 7px;
}

.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: var(--accent-2); 
  transition:0.16s; 
  font-weight: bold;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
  font-weight: bold;
  margin-left: 0px;
  padding-left: 0px;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-legal a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--accent);
}

.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 0px 0px 0px;
}

.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);
}

/*style voor 3 paginas voor juridische*/
/* Juridische pagina’s */
.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 {
  margin-bottom: 14px;
  color: var(--text-light);
  line-height: 1.65;
}

.legal-page ul, 
.legal-page ol {
  margin: 0 0 16px 25px;
}

.legal-page li {
  margin-bottom: 8px;
  color: var(--text);
}
.legal-page a {
  color: var(--accent-2);
}

/* Tablet & kleine laptops */
@media (max-width: 1000px) {
  .header-container {
    display: block;
  }

  .logo {
    height: 70px;
    margin-bottom: 10px;
  }

  .nav-title {
    width: 100%;
    align-items: center;
    display: flex;
  } 

  nav ul {
    justify-content: center;
    gap: 12px;
  }

  main {
    padding: 28px 16px 60px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .service-card {
    padding: 18px;
  }

  .payment-info,
  .extra-info {
    margin: 20px 16px;
  }
}

/* Mobiele telefoons */
@media (max-width: 520px) {
  .logo {
    height: 60px;
  }

  .nav-title{
    font-size: 1.6rem;
  }

  nav ul { 
    align-items: center;
    gap: 10px;
    
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 16px;
  }

  .price {
    font-size: 0.95rem;
    padding: 5px 10px;
  }

  .payment-info h2 {
    font-size: 1.4rem;
  }

  .payment-info p,
  .extra-info {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-col h4 {
    font-size: 1.1rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }
}

