/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Base */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
}

.container { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo svg {
  height: 32px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .logo svg { height: 24px; }
}
.logo {
  display: inline-block;
  width: 120px;
  height: 30px;
  background: url(BDSD.svg) no-repeat center;
  background-size: contain;
}
nav a { margin-left: 1.5rem; text-decoration: none; color: #444; }
nav a:hover { color: #000; }

/* Hero */
.hero { padding: 4rem 0; text-align: center; }
.hero h1 { font-size: 2rem; margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; color: #555; max-width: 500px; margin: 0 auto 2rem; }

.btn {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
}
.btn:hover { background: #333; }

/* Sections */
section { padding: 3rem 0; }
section h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }

.diensten { list-style: none; display: grid; gap: 2rem; }
.diensten h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.diensten p { color: #555; }

/* Footer */
footer {
  border-top: 1px solid #e5e5e5;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: #777;
}
footer .container {
  display: flex;
  justify-content: space-between;
}
footer a { color: #777; text-decoration: none; }

/* Mobile */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.5rem; }
  nav { display: none; } /* of: hamburger, maar voor 3 links is dit prima */
}
.over-afbeelding {
  float: right;
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  margin: 0 0 1rem 1.5rem;
}

@media (max-width: 600px) {
  .over-afbeelding {
    float: none;
    display: block;
    margin: 0 auto 1.5rem;
  }
}

#splash {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  transition: background 0.6s;
}

#splash img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-width: 800px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#splash.hide {
  background: transparent;
  pointer-events: none;
}

#splash.hide img {
  top: 1rem;
  left: calc(50% - 400px + 1.5rem);
  transform: translate(0, 0);
  width: 120px;
}

@media (max-width: 800px) {
  #splash.hide img {
    left: 1.5rem;
  }
}

.logo {
  opacity: 0;
  transition: opacity 0.3s;
}
.logo.visible {
  opacity: 1;
}
