/* Kleurenpalet en variabelen */
:root {
  --deep: #31546A;
  --sea: #3A7CA4;
  --sky: #459FD8;
  --powder: #D8E9F6;
  --rose: #EAB9B7;
  --sand: #E7D5BA;
  --cream: #F9F4EC;
  --taupe: #898176;
  --text: #31546A;
  --text-muted: #898176;
  --card-shadow: rgba(58, 124, 164, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Lato', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color: var(--deep);
  line-height: 1.3;
  margin-top: 0;
}

p {
  margin: 0 0 0.8em;
  color: var(--text-muted);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 32px);
}

/* Header */
.top-bar {
  background: var(--deep);
  color: #fff;
  font-size: 0.92em;
  padding: 6px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.top-bar p {
  color: #fefefe;
  margin: 0;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-contact {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
}

.top-bar-contact a {
  color: var(--sand);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.site-header {
  background-color: var(--cream);
  border-bottom: 1px solid rgba(137, 129, 118, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.logo {
  font-size: 1.5em;
  font-weight: 700;
  text-decoration: none;
  color: var(--deep);
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: clamp(120px, 18vw, 180px);
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: var(--powder);
  color: var(--sea);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.nav-toggle:hover {
  background-color: rgba(49, 84, 106, 0.08);
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--deep);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.header-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky), var(--sea));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 20px rgba(69, 159, 216, 0.2);
}

.header-cta:hover {
  transform: translateY(-2px);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(232, 217, 198, 0.65), rgba(216, 233, 246, 0.5));
  padding: 70px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-content {
  padding-right: 10px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background-color: #fff;
  color: var(--sea);
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(137, 129, 118, 0.15);
}

.hero-tag span {
  width: 6px;
  height: 6px;
  background-color: var(--rose);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.05em;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(49, 84, 106, 0.08);
}

.hero-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--sky);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.hero .button {
  min-width: 200px;
  text-align: center;
}

.hero-figure {
  position: relative;
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 15px -15px -15px 15px;
  border-radius: 20px;
  border: 2px solid rgba(58, 124, 164, 0.2);
  z-index: -1;
}

.hero-figure img {
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(49, 84, 106, 0.25);
}

.trust-strip {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.95em;
  color: var(--text-muted);
}

.trust-strip strong {
  color: var(--deep);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  background: linear-gradient(135deg, var(--sky), var(--sea));
  color: #fff;
  box-shadow: 0 15px 30px rgba(58, 124, 164, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px rgba(49, 84, 106, 0.25);
}

.button.secundair {
  background: transparent;
  color: var(--sea);
  border: 1px solid var(--sea);
  box-shadow: none;
}

.button.secundair:hover {
  background-color: var(--powder);
}

.button.light {
  background: #fff;
  color: var(--sea);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.6);
}

/* Secties */
.section {
  padding: 60px 0;
}

.section-light {
  background-color: #fff;
}

.section-soft {
  background-color: var(--powder);
}

.section-accent {
  background: linear-gradient(135deg, var(--rose), var(--sand));
  color: var(--deep);
}

.section-accent p,
.section-accent h2,
.section-accent li {
  color: var(--deep);
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 1.05em;
  color: var(--text-muted);
  max-width: 720px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-header p {
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 20px 40px var(--card-shadow);
  border: 1px solid rgba(49, 84, 106, 0.08);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: var(--powder);
  color: var(--sea);
  font-weight: 600;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.highlight-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(49, 84, 106, 0.08);
}

.highlight-card strong {
  display: block;
  color: var(--deep);
  margin-bottom: 6px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 25px;
}

.step {
  background-color: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(49, 84, 106, 0.08);
}

.step-number {
  font-weight: 700;
  font-size: 1.2em;
  color: var(--sea);
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.image-box img {
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(49, 84, 106, 0.25);
}

.image-box .quote-card {
  margin-top: 18px;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 18px 0 0;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.checklist li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background-color: var(--sea);
  position: absolute;
  left: 0;
  top: 6px;
}

.section-accent .checklist li::before {
  background-color: var(--deep);
}

.center {
  text-align: center;
  margin-top: 28px;
}

.cta-panel {
  background: #fff;
  border-radius: 28px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 25px 50px rgba(49, 84, 106, 0.18);
}

.cta-panel p {
  margin: 0;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bq,
section blockquote,
.quote-card {
  background: #fff;
  border-left: 4px solid var(--rose);
  border-radius: 18px;
  padding: 20px;
  font-style: italic;
  color: var(--text);
  box-shadow: 0 20px 40px rgba(49, 84, 106, 0.08);
}

.quote-card span {
  display: block;
  font-style: normal;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--powder), #fff);
  padding: 60px 0;
  border-bottom: 1px solid rgba(49, 84, 106, 0.08);
}

.page-hero p {
  max-width: 720px;
}

/* Forms */
form {
  background: #fff;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(49, 84, 106, 0.1);
  box-shadow: 0 20px 40px rgba(49, 84, 106, 0.08);
}

form label {
  display: block;
  font-weight: 600;
  color: var(--deep);
}

form input,
form textarea {
  width: 100%;
  border: 1px solid rgba(49, 84, 106, 0.2);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 1em;
  margin-top: 6px;
  margin-bottom: 16px;
}

form textarea {
  resize: vertical;
  min-height: 140px;
}

form button {
  border: none;
}

.note {
  font-size: 0.9em;
  color: var(--text-muted);
}

/* Footer */
footer {
  background-color: var(--deep);
  color: #fff;
  padding: 35px 0;
  text-align: center;
}

footer a {
  color: var(--sand);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .top-bar {
    font-size: 0.9em;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand toggle"
      "menu menu";
    gap: 12px;
    padding: 12px 0;
    align-items: center;
    width: 100%;
  }

  .logo {
    grid-area: brand;
    justify-self: center;
    text-align: center;
  }

  .logo img {
    margin: 0 auto;
  }

  .nav-toggle {
    grid-area: toggle;
    display: inline-flex;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    grid-area: menu;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(49, 84, 106, 0.12);
    box-shadow: 0 20px 45px rgba(49, 84, 106, 0.12);
    overflow: hidden;
    max-height: 0;
    padding: 0;
    opacity: 0;
    transition: max-height 0.35s ease, padding 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  .site-header.nav-open .main-nav {
    max-height: 520px;
    padding: 18px;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    width: 100%;
  }

  .hero {
    padding: 55px 0;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .section {
    padding: 55px 0;
  }

  .cta-panel {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 6vw, 2.3rem);
  }

  .hero-tag {
    justify-content: center;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-figure {
    max-width: 420px;
    margin: 0 auto;
  }

  .card-grid,
  .highlight-grid,
  .steps,
  .split {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 45px 0;
  }

  .cta-panel {
    padding: 24px;
  }

  .cta-buttons {
    width: 100%;
  }

  .cta-buttons .button {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .top-bar {
    text-align: center;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .top-bar-contact {
    width: 100%;
    flex-direction: column;
    gap: 4px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand toggle"
      "menu menu";
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 42px 0 50px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.1rem);
  }

  .hero-list {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    gap: 16px;
  }

  .card,
  .quote-card,
  form {
    padding: 18px;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .hero {
    padding: 36px 0 44px;
  }

  .hero-tag {
    padding: 4px 12px;
    font-size: 0.9em;
  }

  .pill {
    font-size: 0.9em;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .cta-panel {
    padding: 18px;
  }
}
