/* === BASIS === */
body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  background-color: #fff;
  color: #222;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1, h2, h3, h4 {
  margin-top: 0;
  font-weight: 600;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1em; }

/* === HEADER === */
.site-header {
  background: #0F1A2C;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo img {
  height: 45px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #1E6FB8;
}

.btn-login {
  background: #1E6FB8;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.btn-login:hover {
  background: #155B96;
}

/* === HERO === */
.hero {
  background: linear-gradient(rgba(15,26,44,0.7), rgba(15,26,44,0.7)), url('/img/hero-bg.png') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 140px 20px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero .subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* === KNOPPEN === */
.btn-primary {
  background: #1E6FB8;
  color: #fff;
  border: none;
  padding: 14px 34px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #155B96;
  transform: translateY(-2px);
}

/* === SECTIES === */
.section {
  padding: 80px 20px;
}

.section.light {
  background: #F7FAFD;
}

.section.dark {
  background: #0F1A2C;
  color: #fff;
}

.section.contact {
  background: #F0F6FB;
}

/* === GRID === */
.grid-3, .grid-2 {
  display: grid;
  gap: 30px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* === FORMULIER === */
.filter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.filter-form input,
.filter-form textarea {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.2s;
}

.filter-form input:focus,
.filter-form textarea:focus {
  outline: none;
  border-color: #1E6FB8;
}

.form-msg {
  font-size: 0.95rem;
  color: #1E6FB8;
  text-align: center;
  margin-top: 10px;
}

/* === FOOTER === */
.site-footer {
  background: #0F1A2C;
  color: #ccc;
  padding: 60px 20px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 10px;
}

.site-footer a {
  color: #1E6FB8;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 10px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    background: rgba(15,26,44,0.95);
    position: absolute;
    right: 0;
    top: 60px;
    width: 200px;
    padding: 20px;
    display: none;
  }
  .main-nav ul.show {
    display: flex;
  }
  .main-nav a {
    padding: 10px 0;
  }
}

.section.dark .card {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.section.dark .card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
}

.section.dark h2 {
  color: #fff;
}

.section.dark p {
  color: #e0e0e0;
}

#doelgroepen .card {
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s;
}

#doelgroepen .card:hover {
  border-color: #1E6FB8;
  box-shadow: 0 6px 15px rgba(30,111,184,0.15);
  transform: translateY(-5px);
}

#doelgroepen h2 {
  color: #0F1A2C;
}

#doelgroepen p {
  color: #333;
}

#referenties .card {
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-align: left;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}

#referenties .card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
}

#referenties .case-logo {
  max-width: 160px;
  max-height: 60px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

#referenties h3 {
  color: #fff;
  margin-bottom: 10px;
}

#referenties p {
  color: #e0e0e0;
  line-height: 1.5;
}

#referenties .case-link {
  display: inline-block;
  margin-top: 10px;
  color: #1E9AFF;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

#referenties .case-link:hover {
  color: #66C2FF;
  text-decoration: underline;
}

#partners .grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.partner-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(30,111,184,0.15);
  border-color: #1E6FB8;
}

.partner-card img {
  max-width: 120px;
  max-height: 50px;
  margin-bottom: 15px;
  object-fit: contain;
}

.partner-card h4 {
  color: #0F1A2C;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.partner-card p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* === FAQ === */
#faq .faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  text-align: left;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(255,255,255,0.12);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px;
  background: rgba(0,0,0,0.15);
}

.faq-answer p {
  margin: 15px 0;
  color: #e0e0e0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 15px 20px;
}

.faq-item.active .faq-question {
  background: rgba(255,255,255,0.12);
}

/* --- CTA-knoppen in header --- */
.btn-cta {
  background: #1E6FB8;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-cta:hover {
  background: #155B96;
}

/* Zorg dat .btn-login visueel onderscheidend blijft */
.btn-login {
  background: transparent;
  border: 1px solid #1E6FB8;
  color: #1E6FB8;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: #1E6FB8;
  color: #fff;
}

/* === DOWNLOADS === */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.button-container {
  text-align: center;
}

.fixedbutton {
  background: #1E6FB8;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
  max-width: 300px;
}

.fixedbutton:hover {
  background: #155B96;
  transform: translateY(-2px);
}

.wboservice-button {
  background: #155B96;
}

.wboservice-button:hover {
  background: #1E6FB8;
}

.download-note {
  margin-top: 30px;
  font-size: 0.95rem;
  color: #444;
  text-align: center;
  background: #F0F6FB;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

/* === AFSPRAAK PAGINA === */
.afspraak-container {
  max-width: 700px;
  min-width: 700px;
  height: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  text-align: center;
}

#afspraak h2 {
  margin-bottom: 10px;
  text-align: center;
}

#afspraak p {
  max-width: 700px;
  margin: 0 auto 20px auto;
}

#afspraak .calendly-inline-widget {
  width: 100%;
  height: 750px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
}

#afspraak .note {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #444;
}
