/* ==========================================================================
   wout IT&AV — stylesheet (mobile first)
   ========================================================================== */

:root {
  /* Merkkleuren (logo) */
  --ink: #2e2e2e;
  --it: #1babfe;
  --av: #ff751f;
  --pf: #22c55e;

  /* Donkere varianten voor tekst op wit (WCAG AA) */
  --it-ink: #0077b6;
  --av-ink: #c2410c;
  --pf-ink: #15803d;

  /* Zachte tinten voor achtergronden */
  --it-soft: #e9f7ff;
  --av-soft: #fff2ea;
  --pf-soft: #eafaf0;

  /* Neutraal */
  --muted: #5c5c5c;
  --line: #e7e7e4;
  --bg: #ffffff;
  --bg-soft: #f7f7f5;

  /* Accent per pagina (standaard neutraal) */
  --accent: var(--ink);
  --accent-ink: var(--ink);
  --accent-soft: var(--bg-soft);
  --accent-glow: rgba(46, 46, 46, 0.18);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px -12px rgba(0, 0, 0, 0.12);
  --maxw: 1120px;
  --gutter: 16px;
  --header-h: 64px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  color-scheme: light;
}

.theme-it { --accent: var(--it); --accent-ink: var(--it-ink); --accent-soft: var(--it-soft); --accent-glow: rgba(27, 171, 254, 0.35); }
.theme-av { --accent: var(--av); --accent-ink: var(--av-ink); --accent-soft: var(--av-soft); --accent-glow: rgba(255, 117, 31, 0.35); }
.theme-pf { --accent: var(--pf); --accent-ink: var(--pf-ink); --accent-soft: var(--pf-soft); --accent-glow: rgba(34, 197, 94, 0.35); }

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 1.4rem + 3.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px;
}
.skip:focus { left: 8px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Header & navigatie ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 16px;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 26px; width: auto; }
.brand--pf img { height: 40px; }

.nav-toggle {
  display: none;
  position: relative; width: 44px; height: 44px; margin-right: -8px;
  border: 0; background: transparent; border-radius: 12px; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.is-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.is-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.site-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 8px 0; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }
.dot--it { background: var(--it); }
.dot--av { background: var(--av); }
.dot--pf { background: var(--pf); }

/* Mobiel menu (enkel met JS; zonder JS blijft de nav gewoon zichtbaar) */
@media (max-width: 859px) {
  .js .nav-toggle { display: block; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.25);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .js .is-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .js .site-nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .js .site-nav a:last-child { border-bottom: 0; }
  .js .site-nav .nav-cta { margin-top: 12px; justify-content: center; }
}

@media (min-width: 860px) {
  :root { --header-h: 72px; }
  .brand img { height: 30px; }
  .brand--pf img { height: 46px; }
  .site-nav { flex-wrap: nowrap; align-items: center; gap: 28px; padding: 0; }
  .site-nav a[aria-current="page"] { text-underline-offset: 8px; }
}

/* ---------- Knoppen ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Merkkleur als vlak, donkere tekst (leesbaar contrast) */
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { box-shadow: 0 10px 24px -10px var(--accent-glow); }
.theme-home .btn--primary, .btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.nav-cta {
  background: var(--ink); color: #fff !important; padding: 10px 18px; border-radius: 999px;
}
.nav-cta[aria-current="page"] { text-decoration: none !important; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Secties ---------- */

.section { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section--accent { background: var(--accent-soft); }
.section.pt-0 { padding-top: 0; }
@media (min-width: 860px) { .section { padding: 88px 0; } }

.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 14px;
}
.eyebrow .dot { background: var(--accent); }

.lead { font-size: 1.125rem; color: var(--muted); max-width: 40em; }
@media (min-width: 860px) { .lead { font-size: 1.25rem; } }

/* ---------- Homepagina: keuze-bubbels ---------- */

.home-hero { position: relative; overflow: hidden; padding: 40px 0 56px; text-align: center; }
.home-hero h1 { margin-bottom: 12px; }
.home-hero .lead { margin-inline: auto; margin-bottom: 32px; }
@media (min-width: 860px) { .home-hero { padding: 72px 0 96px; } }

.choose {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  max-width: 680px; margin: 0 auto;
}
@media (min-width: 600px) { .choose { gap: 32px; } }

.bubble {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12%; text-align: center; text-decoration: none; color: var(--ink);
  background: radial-gradient(circle at 30% 25%, #fff 0%, var(--soft) 70%);
  border: 2px solid var(--c);
  box-shadow: 0 18px 40px -22px var(--glow);
  transition: transform 0.3s cubic-bezier(.2, .8, .2, 1), box-shadow 0.3s ease, background 0.3s ease;
  animation: float 7s ease-in-out infinite;
}
.bubble--it { --c: var(--it); --soft: var(--it-soft); --ink-c: var(--it-ink); --glow: rgba(27, 171, 254, 0.55); }
.bubble--av { --c: var(--av); --soft: var(--av-soft); --ink-c: var(--av-ink); --glow: rgba(255, 117, 31, 0.55); animation-delay: -3.5s; }

.bubble:hover, .bubble:focus-visible {
  background: var(--c); transform: scale(1.04);
  box-shadow: 0 26px 50px -20px var(--glow);
  animation-play-state: paused;
}
.bubble:focus-visible { outline-offset: 6px; outline-color: var(--c); border-radius: 50%; }

.bubble__icon {
  width: 22%; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 6%;
  color: var(--ink-c); transition: color 0.3s ease;
}
.bubble__icon svg { width: 100%; height: 100%; }
.bubble:hover .bubble__icon, .bubble:focus-visible .bubble__icon { color: var(--ink); }

.bubble__label { font-size: clamp(2rem, 10vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.bubble__sub { margin-top: 6%; font-weight: 600; font-size: clamp(0.8rem, 3.4vw, 1.05rem); line-height: 1.3; }
.bubble__more { display: none; margin-top: 4px; font-size: 0.9rem; color: var(--muted); line-height: 1.4; }
.bubble:hover .bubble__more, .bubble:focus-visible .bubble__more { color: var(--ink); }
@media (min-width: 600px) { .bubble__more { display: block; } }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.or {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  margin: 32px auto 18px; max-width: 420px; color: var(--muted); font-size: 0.875rem;
}
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.pill-link {
  display: flex; align-items: center; gap: 14px; max-width: 460px; margin: 0 auto;
  padding: 12px 18px 12px 12px; border-radius: 999px; text-align: left;
  background: var(--pf-soft); border: 2px solid var(--pf); color: var(--ink); text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.pill-link:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(34, 197, 94, 0.6); background: #fff; }
.pill-link__icon {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--pf); color: var(--ink);
}
.pill-link__icon svg { width: 24px; height: 24px; }
.pill-link__text { flex: 1; line-height: 1.3; }
.pill-link__text strong { display: block; font-size: 1.05rem; }
.pill-link__text span { font-size: 0.875rem; color: var(--muted); }
.pill-link__arrow { width: 20px; height: 20px; color: var(--pf-ink); flex-shrink: 0; }

/* Decoratieve bubbels op de achtergrond */
.deco { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; filter: blur(2px); }
.deco--1 { width: 340px; height: 340px; background: var(--it-soft); top: -120px; left: -140px; }
.deco--2 { width: 300px; height: 300px; background: var(--av-soft); bottom: -140px; right: -120px; }
.home-hero, .page-hero { isolation: isolate; }

/* ---------- Paginahero (IT / AV / Portfolio / ...) ---------- */

.page-hero { position: relative; overflow: hidden; padding: 44px 0 52px; }
.page-hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  width: 420px; height: 420px; right: -200px; top: -160px; background: var(--accent-soft);
}
.page-hero .lead { margin-bottom: 28px; }
@media (min-width: 860px) {
  .page-hero { padding: 88px 0 96px; }
  .page-hero::after { width: 640px; height: 640px; right: -180px; top: -260px; }
}

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none;
  color: var(--muted); font-size: 0.95rem;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--accent-ink); }

/* ---------- Kaarten & grids ---------- */

.grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: 20px; }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; }
.card--link { display: block; text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card--link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }

.icon-box {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 16px;
}
.icon-box svg { width: 22px; height: 22px; }

/* Op gsm: icoon naast de tekst, zodat kaarten compact blijven */
@media (max-width: 599px) {
  .grid > .card:not(.project) { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-content: start; }
  .grid > .card:not(.project) > * { grid-column: 2; }
  .grid > .card:not(.project) > .icon-box { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
  .grid > .card:not(.project) h3 { margin-top: 10px; }
}
.icon-box--it { background: var(--it-soft); color: var(--it-ink); }
.icon-box--av { background: var(--av-soft); color: var(--av-ink); }
.icon-box--pf { background: var(--pf-soft); color: var(--pf-ink); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--accent-ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card--link:hover .link-arrow svg { transform: translateX(3px); }

/* Split blok (tekst + kaart) */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr 1fr; gap: 56px; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--accent-ink); }

/* Callout */
.callout {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius); background: var(--accent-soft);
  border: 1px solid transparent;
}
.callout .icon-box { background: #fff; margin: 0; flex-shrink: 0; }
.callout h3 { margin-bottom: 4px; }
.callout p { margin: 0; color: var(--ink); }

/* ---------- Prijzen ---------- */

.pricing { display: grid; gap: 16px; }
@media (min-width: 720px) { .pricing { grid-template-columns: 1fr 1fr; gap: 20px; } }

.price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
}
.price-card--featured { border: 2px solid var(--accent); box-shadow: 0 24px 50px -30px var(--accent-glow); }
.price-card .badge { position: absolute; top: -12px; left: 24px; }
.price-card h3 { font-size: 1.05rem; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.price strong { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.price-card .note { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.price-card .check-list { margin-bottom: 22px; }
.price-card .btn { margin-top: auto; }
.fineprint { margin-top: 18px; color: var(--muted); font-size: 0.875rem; }

.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.badge--soft { background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- Stappen ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; margin-bottom: 14px;
  background: var(--accent); color: var(--ink); font-weight: 800;
}
@media (max-width: 719px) {
  .steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; padding: 18px; }
  .steps li::before { grid-row: 1 / span 2; margin: 0; }
  .steps li > * { grid-column: 2; }
  .steps h3 { margin-top: 6px; }
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Formulieren ---------- */

.form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow);
}
@media (min-width: 720px) { .form-wrap { padding: 36px; } }

.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field legend { font-weight: 600; font-size: 0.95rem; }
.req { color: var(--accent-ink); }
.hint { font-size: 0.85rem; color: var(--muted); }

.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #d6d6d2; border-radius: 12px;
  padding: 12px 14px; min-height: 50px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e2e2e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.input:hover, .select:hover, .textarea:hover { border-color: #b9b9b4; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 4px var(--accent-soft);
}
.input:user-invalid, .textarea:user-invalid, .select:user-invalid { border-color: #c62828; }

fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  border: 1.5px solid #d6d6d2; border-radius: 999px; background: #fff;
  font-size: 0.95rem; font-weight: 600; cursor: pointer; user-select: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.chip input:hover + span { border-color: #b9b9b4; }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent-ink); color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.925rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--accent-ink); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.4em; margin: 0; font-weight: 600; font-size: 0.95rem; }
.form-status.is-error { color: #c62828; }
.form-status.is-ok { color: var(--pf-ink); }

/* Melding boven het formulier na een verzending zonder JavaScript (?verzonden=1#verzonden of ?fout=1#fout).
   Zonder JS toont :target de melding; met JS bepaalt de klasse .is-visible het. */
.form-alert {
  display: none; margin-bottom: 18px; padding: 14px 16px; border-radius: 12px;
  font-weight: 600; scroll-margin-top: calc(var(--header-h) + 24px);
}
.form-alert:target { display: block; }
.js .form-alert { display: none; }
.js .form-alert.is-visible { display: block; }
.form-alert--ok { background: var(--pf-soft); color: var(--pf-ink); }
.form-alert--error { background: #fdecec; color: #b3261e; }
.form-alert a { color: inherit; }

/* ---------- Portfolio ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter {
  min-height: 40px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 600; font-size: 0.925rem; color: var(--ink);
}
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.project { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.project[hidden] { display: none; }
.project__media {
  aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--pf-ink);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.9) 0 18%, transparent 19%),
    linear-gradient(135deg, var(--pf-soft), #d3f5df);
}
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__media svg { width: 56px; height: 56px; }
.project__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.project__body p { margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
.tags li {
  font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: var(--bg-soft); color: var(--muted);
}

/* ---------- CTA-band ---------- */

.cta-band {
  border-radius: var(--radius-lg); padding: 32px 24px; text-align: center;
  background: var(--ink); color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfcfcf; max-width: 36em; margin-inline: auto; margin-bottom: 24px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.cta-band .btn--ghost:hover { border-color: #fff; }
.cta-band .btn--light { background: #fff; color: var(--ink); }
@media (min-width: 860px) { .cta-band { padding: 56px; } }

/* Prijsregel in een dienstkaart (home) */
.card .price-tag { margin-top: 14px; font-weight: 700; color: var(--ink); }

/* ---------- Over mij ---------- */

.avatar {
  width: 112px; height: 112px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.avatar img { width: 58%; height: auto; }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; }

.trio { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; padding: 0; list-style: none; }
.trio li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); font-weight: 600; font-size: 0.9rem; }

/* ---------- Contact ---------- */

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.contact-list a:hover { border-color: var(--ink); }
.contact-list .icon-box { margin: 0; }
.contact-list small { display: block; color: var(--muted); font-size: 0.85rem; }
.contact-list strong { display: block; word-break: break-word; }

/* ---------- Tekstpagina's (privacy / voorwaarden) ---------- */

.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #3d3d3d; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose .updated { color: var(--muted); font-size: 0.95rem; }

/* ---------- Simpele pagina's (bedankt / 404) ---------- */

.center-page { min-height: calc(100vh - var(--header-h) - 220px); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.center-page .lead { margin-inline: auto; }
.center-page .btn-row { justify-content: center; }
.big-icon {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center;
  background: var(--pf-soft); color: var(--pf-ink);
}
.big-icon svg { width: 40px; height: 40px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
.footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: auto; }
}
.footer-brand img { height: 26px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 28em; margin: 0; }
.site-footer h2 { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem;
}

/* ---------- Hulpklassen ---------- */

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--muted); }
.center { text-align: center; }
.stack-lg > * + * { margin-top: 40px; }
