/* oneStop-IT — kleuren uit het logo (brand-assets/oneStop-IT) */
:root {
  --teal-300: #57DFC7;
  --teal-400: #1FC7BE;
  --teal-500: #13A99B;
  --teal-600: #0E8F86;
  --teal-700: #0B7C72;
  --teal-900: #06322F;
  --mint:     #37D6A0;
  --ink:      #0C2E2B;   /* "-IT" in het logo */
  --muted:    #4E6B66;   /* tagline in het logo */
  --line:     #D7EAE6;
  --tint:     #EEF8F6;
  --white:    #FFFFFF;
  --radius:   14px;
  --header-h: 72px;  /* exacte hoogte van de sticky header (geen rand die meetelt) */
  --shadow:   0 10px 30px rgba(14, 143, 134, .12);
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-600); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--teal-500);
  margin-bottom: .8em;
}

/* Knoppen */
.btn {
  display: inline-block;
  padding: .8em 1.5em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-700));
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(14,143,134,.3); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: var(--teal-300); box-shadow: none; }
.btn-small { padding: .45em 1.1em; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);  /* lijn zonder extra hoogte */
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--teal-600); }
.site-nav .btn { color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Schermvullende onderdelen: elk onderdeel vult precies het zichtbare deel onder de header */
.hero, .section {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}

/* Hero */
.hero {
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(31,199,190,.28), transparent 60%),
    linear-gradient(160deg, #0A4A45 0%, var(--teal-900) 70%);
  color: #EAF6F3;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero .eyebrow { color: var(--teal-300); }
.hero .lead { font-size: 1.2rem; color: #BFD9D4; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-visual { display: flex; justify-content: center; }
/* De hexagon staat stil; spaken en nodes draaien langzaam rond de hub (120,124) */
.hex { width: min(340px, 100%); filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.hex .spin { animation: spin 30s linear infinite; transform-origin: 120px 124px; transform-box: view-box; }
.hex .nodes circle { animation: pulse 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.hex .nodes circle:nth-child(2) { animation-delay: .5s; }
.hex .nodes circle:nth-child(3) { animation-delay: 1s; }
.hex .nodes circle:nth-child(4) { animation-delay: 1.5s; }
.hex .nodes circle:nth-child(5) { animation-delay: 2s; }
.hex .nodes circle:nth-child(6) { animation-delay: 2.5s; }
@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .hex .spin, .hex .nodes circle { animation: none; } html { scroll-behavior: auto; } }

/* Secties */
.section { padding: 56px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); }

/* Diensten */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-300); }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--teal-400), var(--teal-600));
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Werkwijze */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.steps li { position: relative; background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
.step-num {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; margin-bottom: 14px;
  background: var(--teal-900); color: var(--mint); font-weight: 800;
  box-shadow: 0 0 0 4px rgba(55,214,160,.18);
}

/* Over ons */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-text p { color: var(--muted); }
.group-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.group-list li {
  display: flex; flex-direction: column;
  padding: 16px 20px; border-radius: 12px;
  border-left: 4px solid var(--mint);
  background: var(--tint);
}
.group-list span { color: var(--muted); font-size: .95rem; }
.list-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--muted); margin: 0 0 10px; }
.group-list + .list-title { margin-top: 26px; }

/* Contact */
.section-dark { background: var(--teal-900); color: #EAF6F3; }
.section-dark .eyebrow { color: var(--teal-300); }
.section-dark p { color: #BFD9D4; }
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li {
  display: flex; flex-direction: column;
  padding: 16px 20px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(87,223,199,.2);
}
.contact-list .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal-300); }
.contact-list a { color: #FFFFFF; text-decoration: none; font-weight: 600; }

/* Actieve pagina in het menu */
.site-nav a[aria-current="page"] { color: var(--teal-600); font-weight: 600; }

/* Downloadpagina */
.page-hero {
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(31,199,190,.28), transparent 60%),
    linear-gradient(160deg, #0A4A45 0%, var(--teal-900) 70%);
  color: #EAF6F3;
  padding: 64px 0 56px;
}
.page-hero .eyebrow { color: var(--teal-300); }
.page-hero .lead { font-size: 1.15rem; color: #BFD9D4; max-width: 40em; margin: 0; }
.section-downloads { align-items: flex-start; min-height: 0; padding-bottom: 72px; }

.download-list { display: grid; gap: 18px; }
.download-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--mint);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.download-card:hover { box-shadow: var(--shadow); border-color: var(--teal-300); border-left-color: var(--mint); }
.download-main { min-width: 0; flex: 1; }
.download-card h2 { font-size: 1.35rem; margin: 0 0 .35em; }
.download-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tag { font-size: .8rem; font-weight: 600; padding: .15em .7em; border-radius: 999px; background: var(--tint); color: var(--teal-700); }
.download-desc { color: var(--muted); margin: 0 0 12px; }
.download-facts { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0 0 8px; font-size: .9rem; }
.download-facts dt { display: inline; color: var(--muted); }
.download-facts dt::after { content: ": "; }
.download-facts dd { display: inline; margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.download-hash { font-size: .85rem; color: var(--muted); }
.download-hash summary { cursor: pointer; width: max-content; }
.download-hash code { display: block; margin-top: 6px; padding: 8px 10px; background: var(--tint); border-radius: 8px; font-size: .8rem; overflow-wrap: anywhere; color: var(--ink); }
.download-btn { flex-shrink: 0; }

.downloads-empty {
  text-align: center; padding: 56px 24px;
  border: 2px dashed var(--line); border-radius: var(--radius);
  color: var(--muted);
}
.downloads-empty p { margin: 0 0 .4em; }
.downloads-empty strong { color: var(--ink); font-size: 1.1rem; }

.hash-help { margin-top: 32px; color: var(--muted); font-size: .95rem; }
.hash-help summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.hash-help pre { background: var(--teal-900); color: #EAF6F3; padding: 12px 16px; border-radius: 10px; overflow-x: auto; }

/* Nog in te vullen gegevens: opvallend gemarkeerd */
.todo { background: #FFF3C4; color: #6B4E00 !important; padding: 0 .35em; border-radius: 4px; font-weight: 600; }

/* Footer */
.site-footer { background: #041F1D; color: #7F9C97; padding: 32px 0; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner img { height: 40px; width: auto; }
.footer-inner p { margin: 0; }
.site-footer a { color: var(--teal-300); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Responsief */
@media (max-width: 1000px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .brand img { height: 40px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; gap: 32px; }
  .hero-visual { order: -1; }
  .hex { width: 160px; }
  .cards, .steps, .about, .contact { grid-template-columns: 1fr; }
  .about, .contact { gap: 32px; }
  .page-hero { padding: 40px 0 36px; }
  .download-card { flex-direction: column; align-items: stretch; padding: 20px; }
  .download-btn { text-align: center; }
}
