:root {
      --bg: #0b0b0c;
      --bg-elevated: #121214;
      --bg-soft: #1a1a1e;
      --line: #2a2a2e;
      --text: #f5f5f5;
      --muted: #b8b8bc;
      --accent: #ff8c00;
      --accent-soft: #ffb347;
      --accent-dim: rgba(255, 140, 0, 0.14);
      --radius: 4px;
      --max: 1120px;
      --header-h: 72px;
      --font-display: "Unbounded", "Arial Black", sans-serif;
      --font-body: "Sora", "Segoe UI", sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      font-weight: 400;
      letter-spacing: -0.01em;
      -webkit-font-smoothing: antialiased;
    }

    img { max-width: 100%; display: block; }

    a { color: inherit; text-decoration: none; }

    .wrap {
      width: min(100% - 2.5rem, var(--max));
      margin-inline: auto;
    }

    /* Header */
    .site-header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 100;
      height: var(--header-h);
      display: flex;
      align-items: center;
      background: rgba(11, 11, 12, 0.82);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid transparent;
      transition: border-color 0.25s, background 0.25s;
    }

    .site-header.is-scrolled {
      border-bottom-color: var(--line);
      background: rgba(11, 11, 12, 0.94);
    }

    .site-header .wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      min-width: 0;
    }

    .brand-logo {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
      min-width: 0;
    }

    .brand-name {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 0.95rem;
      letter-spacing: -0.03em;
      line-height: 1.1;
    }

    .brand-tag {
      font-family: var(--font-body);
      font-size: 0.62rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent);
      font-weight: 600;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 1.75rem;
    }

    .nav a {
      font-family: var(--font-body);
      font-size: 0.88rem;
      font-weight: 500;
      letter-spacing: 0.02em;
      color: var(--muted);
      padding: 0.35rem 0;
      border-bottom: 2px solid transparent;
      text-decoration: none;
      transition: color 0.2s, border-color 0.2s;
    }

    .nav a:hover,
    .nav a:focus-visible {
      color: var(--text);
      outline: none;
    }

    .nav a.is-active {
      color: var(--text);
      border-bottom-color: var(--accent);
    }

    .nav-cta {
      background: var(--accent) !important;
      color: #111 !important;
      padding: 0.55rem 1rem !important;
      border-radius: var(--radius);
      border-bottom: none !important;
      font-weight: 600 !important;
    }

    .nav-cta:hover { background: var(--accent-soft) !important; color: #111 !important; }

    .menu-toggle {
      display: none;
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      background: transparent;
      border-radius: var(--radius);
      cursor: pointer;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
    }

    .menu-toggle span {
      display: block;
      width: 18px;
      height: 2px;
      background: var(--text);
    }

    /* Hero */
    .hero {
      position: relative;
      min-height: 100svh;
      display: grid;
      align-items: end;
      padding: calc(var(--header-h) + 3rem) 0 4.5rem;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      --hero-image: url("/images/hero.jpg");
      background:
        linear-gradient(180deg, rgba(11,11,12,0.62) 0%, rgba(11,11,12,0.28) 42%, rgba(11,11,12,0.94) 100%),
        linear-gradient(90deg, rgba(11,11,12,0.78) 0%, rgba(11,11,12,0.25) 55%, rgba(11,11,12,0.55) 100%),
        var(--hero-image) center/cover no-repeat;
      transform: scale(1.02);
      animation: heroDrift 22s ease-in-out infinite alternate;
    }

    @keyframes heroDrift {
      from { transform: scale(1.02) translate3d(0, 0, 0); }
      to { transform: scale(1.06) translate3d(-1.5%, -1%, 0); }
    }

    .hero-glow {
      position: absolute;
      width: 50vmax;
      height: 50vmax;
      right: -10%;
      bottom: -20%;
      background: radial-gradient(circle, rgba(232,163,23,0.18), transparent 65%);
      pointer-events: none;
      animation: pulseGlow 6s ease-in-out infinite alternate;
    }

    @keyframes pulseGlow {
      from { opacity: 0.55; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1.05); }
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 640px;
    }

    .eyebrow {
      display: inline-block;
      font-family: var(--font-body);
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent);
      font-weight: 600;
      margin-bottom: 1.1rem;
    }

    h1, h2, h3 {
      font-family: var(--font-display);
      line-height: 1.02;
      font-weight: 700;
      letter-spacing: -0.035em;
    }

    h1 {
      font-size: clamp(2.35rem, 5.8vw, 4.25rem);
      font-weight: 800;
      letter-spacing: -0.045em;
      margin-bottom: 1.1rem;
      max-width: 12ch;
    }

    .hero-lead {
      font-family: var(--font-body);
      font-size: clamp(1.02rem, 2vw, 1.18rem);
      font-weight: 400;
      color: var(--muted);
      max-width: 34rem;
      margin-bottom: 1.85rem;
      line-height: 1.55;
    }

    .btn-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      min-height: 50px;
      padding: 0.8rem 1.35rem;
      border-radius: var(--radius);
      font-family: var(--font-body);
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      border: 1px solid transparent;
      cursor: pointer;
      transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
    }

    .btn:hover { transform: translateY(-1px); }

    .btn-primary {
      background: var(--accent);
      color: #111;
    }

    .btn-primary:hover { background: var(--accent-soft); }

    .btn-ghost {
      background: transparent;
      border-color: rgba(245,245,245,0.28);
      color: var(--text);
    }

    .btn-ghost:hover {
      border-color: var(--text);
      background: rgba(255,255,255,0.04);
    }

    /* Sections */
    section {
      padding: 5.5rem 0;
      position: relative;
    }

    .section-head {
      max-width: 560px;
      margin-bottom: 2.5rem;
    }

    .section-head h2 {
      font-size: clamp(1.75rem, 3.6vw, 2.55rem);
      margin-bottom: 0.85rem;
    }

    .section-head p {
      font-family: var(--font-body);
      color: var(--muted);
      font-size: 1.02rem;
      line-height: 1.55;
    }

    /* Diensten */
    #diensten { background: var(--bg-elevated); }

    .services {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.25rem;
    }

    .service {
      background: var(--bg);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      transition: border-color 0.25s, transform 0.25s;
    }

    .service:hover {
      border-color: rgba(232,163,23,0.45);
      transform: translateY(-3px);
    }

    .service-img {
      aspect-ratio: 4/3;
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .service-img::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 40%, rgba(11,11,12,0.85));
    }

    .service-body { padding: 1.15rem 1.2rem 1.35rem; }

    .service h3 {
      font-size: 1.15rem;
      font-weight: 600;
      letter-spacing: -0.03em;
      margin-bottom: 0.5rem;
    }

    .service p {
      font-family: var(--font-body);
      color: var(--muted);
      font-size: 0.94rem;
    }

    /* Projecten */
    .projects {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.85rem;
    }

    .project {
      position: relative;
      aspect-ratio: 4/5;
      overflow: hidden;
      border-radius: var(--radius);
      background: var(--bg-soft);
    }

    .project:nth-child(2),
    .project:nth-child(5) {
      aspect-ratio: 4/3;
    }

    .project img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s ease;
    }

    .project:hover img { transform: scale(1.06); }

    .project-label {
      position: absolute;
      left: 0.9rem;
      bottom: 0.9rem;
      right: 0.9rem;
      font-size: 0.85rem;
      font-weight: 500;
      text-shadow: 0 2px 12px rgba(0,0,0,0.8);
    }

    .projects-cta {
      margin-top: 1.75rem;
    }

    /* Hoe het werkt */
    #hoe-het-werkt { background: var(--bg-elevated); }

    .steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      counter-reset: step;
    }

    .step {
      position: relative;
      padding: 1.75rem 1.4rem;
      border: 1px solid var(--line);
      background: var(--bg);
      border-radius: var(--radius);
    }

    .step::before {
      counter-increment: step;
      content: "0" counter(step);
      display: block;
      font-family: var(--font-display);
      font-size: 1.85rem;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 0.9rem;
      letter-spacing: -0.04em;
    }

    .step h3 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 0.55rem;
    }

    .step p {
      font-family: var(--font-body);
      color: var(--muted);
      font-size: 0.94rem;
    }

    .steps-cta {
      margin-top: 2rem;
    }

    /* Vertrouwen */
    .trust-grid {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 1.5rem;
      align-items: stretch;
    }

    .trust-copy {
      padding: 2rem;
      background: var(--accent-dim);
      border: 1px solid rgba(232,163,23,0.25);
      border-radius: var(--radius);
    }

    .trust-copy h2 {
      font-size: clamp(1.8rem, 3vw, 2.3rem);
      margin-bottom: 0.85rem;
    }

    .trust-copy p {
      color: var(--muted);
      margin-bottom: 1.25rem;
    }

    .kvk {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--accent-soft);
    }

    .quotes {
      display: grid;
      gap: 1rem;
    }

    .quote {
      padding: 1.4rem 1.35rem;
      background: var(--bg-elevated);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .quote p {
      font-size: 1.02rem;
      margin-bottom: 0.75rem;
    }

    .quote cite {
      font-style: normal;
      color: var(--muted);
      font-size: 0.88rem;
    }

    /* Contact */
    #contact {
      background:
        radial-gradient(ellipse at 20% 0%, rgba(232,163,23,0.08), transparent 50%),
        var(--bg);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 1.5rem;
    }

    .form-card,
    .contact-card {
      background: var(--bg-elevated);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 1.75rem;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }

    .field { display: flex; flex-direction: column; gap: 0.4rem; }

    .field.full { grid-column: 1 / -1; }

    label {
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--muted);
    }

    input, select, textarea {
      width: 100%;
      background: var(--bg);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      color: var(--text);
      font: inherit;
      padding: 0.75rem 0.85rem;
      outline: none;
      transition: border-color 0.2s;
    }

    input:focus, select:focus, textarea:focus {
      border-color: rgba(232,163,23,0.65);
    }

    textarea { min-height: 120px; resize: vertical; }

    select {
      appearance: none;
      background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
      background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
      background-size: 6px 6px, 6px 6px;
      background-repeat: no-repeat;
    }

    .form-note {
      margin-top: 0.85rem;
      font-size: 0.8rem;
      color: var(--muted);
    }

    .toast-root {
      position: fixed;
      z-index: 10000;
      right: 1rem;
      bottom: 1rem;
      left: 1rem;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 0.65rem;
      pointer-events: none;
    }

    .toast {
      max-width: min(26rem, 100%);
      padding: 0.85rem 1.05rem;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: rgba(18, 18, 20, 0.96);
      color: var(--text);
      font-size: 0.92rem;
      line-height: 1.4;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .toast.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .toast-success {
      border-color: rgba(74, 182, 120, 0.45);
    }

    .toast-error {
      border-color: rgba(220, 90, 90, 0.55);
    }

    .contact-card h3 {
      font-size: 1.25rem;
      margin-bottom: 1.25rem;
    }

    .contact-list {
      list-style: none;
      display: grid;
      gap: 1.1rem;
    }

    .contact-list li {
      display: grid;
      gap: 0.2rem;
    }

    .contact-list span {
      font-size: 0.78rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .contact-list a:hover { color: var(--accent); }

    .call-mobile {
      display: none;
      margin-top: 1.25rem;
      width: 100%;
    }

    /* Footer */
    .site-footer {
      border-top: 1px solid var(--line);
      padding: 2.5rem 0 2rem;
      background: #080809;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      gap: 2rem;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }

    .footer-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 1.25rem;
    }

    .footer-nav a {
      color: var(--muted);
      font-size: 0.92rem;
    }

    .footer-nav a:hover { color: var(--text); }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
      padding-top: 1.25rem;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 0.85rem;
    }

    /* Mobile nav */
    @media (max-width: 900px) {
      .services { grid-template-columns: 1fr 1fr; }
      .projects { grid-template-columns: 1fr 1fr; }
      .project, .project:nth-child(2), .project:nth-child(5) { aspect-ratio: 1; }
      .steps { grid-template-columns: 1fr; }
      .trust-grid, .contact-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 720px) {
      .menu-toggle { display: inline-flex; }

      .nav {
        position: fixed;
        inset: var(--header-h) 0 auto;
        background: rgba(11,11,12,0.97);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem 1.25rem;
        gap: 0.25rem;
        display: none;
      }

      .nav.is-open { display: flex; }

      .nav a {
        padding: 0.85rem 0.5rem;
        border-bottom: 1px solid var(--line);
      }

      .nav a.is-active {
        border-bottom-color: var(--line);
        box-shadow: inset 3px 0 0 var(--accent);
      }

      .nav-cta {
        margin-top: 0.5rem;
        text-align: center;
        border-bottom: none !important;
        box-shadow: none !important;
      }

      .services { grid-template-columns: 1fr; }
      .projects { grid-template-columns: 1fr; }
      .form-grid { grid-template-columns: 1fr; }
      .btn-row .btn { width: 100%; }
      .call-mobile { display: inline-flex; }

      .hero {
        align-items: center;
        padding-bottom: 3.5rem;
      }

      section { padding: 4rem 0; }
    }
  
/* Extra pagina's */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255,140,0,0.12), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero.has-photo {
  background:
    linear-gradient(180deg, rgba(11,11,12,0.72) 0%, rgba(11,11,12,0.88) 100%),
    var(--page-hero-image, none) center/cover no-repeat;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; margin-bottom: 0.75rem; }
.page-hero p { color: var(--muted); max-width: 36rem; }
.page-hero.has-photo p { color: rgba(245,245,245,0.86); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.project-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  transition: border-color 0.25s, transform 0.25s;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.project-card:hover { border-color: rgba(255,140,0,0.45); transform: translateY(-2px); }
/* Shorter than 4/5 so title + link target stay on-screen on mobile */
.project-card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-card-media img { transform: scale(1.05); }
.project-card-body { padding: 1rem 1.1rem 1.2rem; }
.project-card-meta {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.project-card h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.project-card p { color: var(--muted); font-size: 0.92rem; }

.detail-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.5rem; }
.detail-gallery { display: grid; gap: 0.75rem; }
.detail-gallery img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.detail-video {
  margin: 0;
  display: grid;
  place-items: center;
  width: 100%;
  max-height: min(70vh, 720px);
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.detail-gallery video {
  display: block;
  width: 100%;
  max-height: min(70vh, 720px);
  height: auto;
  object-fit: contain;
  background: #000;
}
.detail-gallery video:fullscreen,
.detail-gallery video:-webkit-full-screen {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: #000;
}
.detail-side {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: fit-content;
}
.detail-side dl { display: grid; gap: 1rem; }
.detail-side dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-side dd { font-weight: 600; margin: 0.2rem 0 0; }

.prose { max-width: 720px; }
.prose h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.prose p, .prose li { color: var(--muted); margin-bottom: 0.85rem; }
.prose ul,
.prose ol { padding-left: 1.2rem; margin-bottom: 0.85rem; }
.prose ol { list-style: decimal; }
.prose ul { list-style: disc; }
.prose ol > li > ul { margin-top: 0.5rem; margin-bottom: 0.35rem; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 0.15em; }
.prose .terms-note { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

.empty-state { color: var(--muted); padding: 2rem 0; }
.loading { color: var(--muted); padding: 1rem 0; }

@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .project-grid { grid-template-columns: 1fr; }
}

/* Admin */
.admin-body { background: #0b0b0c; color: #f5f5f5; font-family: "Sora", "Segoe UI", sans-serif; }
.admin-shell { max-width: 980px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.admin-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
.admin-top h1 { font-family: "Unbounded", sans-serif; font-size: 1.4rem; }
.admin-card {
  background: #121214;
  border: 1px solid #2a2a2e;
  border-radius: 4px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.admin-login { max-width: 420px; margin: 10vh auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 0.75rem 0.5rem; border-bottom: 1px solid #2a2a2e; vertical-align: middle; }
.admin-table th { color: #b8b8bc; font-size: 0.8rem; font-weight: 500; }
.admin-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.admin-thumb { width: 56px; height: 70px; object-fit: cover; border-radius: 3px; background: #1a1a1e; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-form-grid .full { grid-column: 1 / -1; }
.admin-gallery-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.admin-gallery-item { position: relative; width: 88px; }
.admin-gallery-item img { width: 88px; height: 88px; object-fit: cover; border-radius: 3px; border: 1px solid #2a2a2e; }
.admin-gallery-item button {
  position: absolute; top: 4px; right: 4px;
  background: rgba(0,0,0,0.75); color: #fff; border: 0; border-radius: 3px;
  width: 22px; height: 22px; cursor: pointer; font-size: 12px;
}
.badge { display: inline-block; padding: 0.15rem 0.45rem; border-radius: 3px; font-size: 0.75rem; }
.badge-on { background: rgba(255,140,0,0.18); color: #ffb347; }
.badge-off { background: #1a1a1e; color: #b8b8bc; }
.admin-error { color: #ff6b6b; margin-top: 0.75rem; }
.admin-ok { color: #7dcea0; margin-top: 0.75rem; }
.hidden { display: none !important; }
@media (max-width: 720px) {
  .admin-form-grid { grid-template-columns: 1fr; }
}
