/* Remery ICT
   Palet:  ink #14213d (navy) · accent #b23a10 (warm rust) · sand #f5f1ea (surface) · wit
   Geen frameworks, geen webfonts, geen JavaScript, geen gradients,
   geen decoratieve schaduwen. Alles links uitgelijnd op dezelfde kantlijn;
   kaders alleen voor de twee kaartenreeksen (diensten + werk). */

:root {
  --ink: #14213d;
  --ink-soft: #47536e;          /* rustige, leesbare secundaire tekst */
  --accent: #b23a10;
  --accent-strong: #94300d;     /* hover */
  --accent-tint: #f7e7df;       /* zachte chip-achtergrond */
  --sand: #f5f1ea;
  --white: #ffffff;
  --light: #d7ddea;             /* tekst op navy */
  --light-soft: #aab4c8;        /* rustige tekst op navy */
  --line: rgba(20, 33, 61, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);

  --wrap: 60rem;
  --radius: 12px;
  --nav-h: 3.75rem;

  --shadow-sm: 0 1px 2px rgba(20, 33, 61, .05), 0 4px 14px rgba(20, 33, 61, .06);
  --shadow-md: 0 8px 20px rgba(20, 33, 61, .10), 0 18px 44px rgba(20, 33, 61, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
               Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

/* ---------- Links & knoppen ---------- */
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-strong); }
.btn:active { transform: translateY(1px); }
.actions { margin: 1.75rem 0 0; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 10;
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* ---------- Vaste navigatiebalk ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.25rem;
  padding-block: .7rem;
  min-height: var(--nav-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}
.site-nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.15rem; }
.site-nav nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  padding: .3rem 0;
}
.site-nav nav a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: .45rem 1rem !important;
  border-radius: 8px;
}
.nav-cta:hover { background: var(--accent-strong); }

/* ---------- Banden (full-bleed) + één container ---------- */
.band { padding-block: clamp(2.75rem, 7vw, 4.75rem); }
.band--sand { background: var(--sand); }
.band--navy { background: var(--ink); color: #fff; }
.band--navy a { color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------- Beloftestrook (onder de hero) ---------- */
.belofte { padding-block: 1.5rem; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem 1.75rem; }
.promises li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.promises .tick { flex: none; width: 1.35rem; height: 1.35rem; margin-top: 0; color: var(--accent); }

/* ---------- 404 ---------- */
.error-band { min-height: 70vh; display: flex; align-items: center; }

/* ---------- FAQ (dropdowns) ---------- */
.faq { max-width: 48rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 700;
  font-size: 1.08rem;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "";
  flex: none;
  width: .62rem;
  height: .62rem;
  margin-right: .3rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] > summary::after { transform: rotate(-135deg); }
.faq-a { padding: 0 0 1.35rem; }
.faq-a p { margin: 0; color: var(--ink-soft); max-width: 62ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: faq-open .25s ease both; }
}
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Eyebrow + koppen (altijd links) ---------- */
.eyebrow {
  margin: 0 0 .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { color: #f2b8a4; }

h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 1rem + 2vw, 2.05rem); margin: 0 0 1.5rem; }
h2, .hero, #contact { scroll-margin-top: 6.5rem; }
@media (min-width: 34rem) { h2, .hero, #contact { scroll-margin-top: 5rem; } }
h3 { font-size: 1.12rem; margin: 0 0 .35rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 48ch; }
.lead--light { color: var(--light); }

/* ---------- Hero ---------- */
.hero-grid { display: grid; gap: 2.25rem; align-items: center; }
.hero-media img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 1.2rem + 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -.02em;
  max-width: 20ch;
}
.hero-meta {
  margin: 1.75rem 0 0;
  font-size: .95rem;
  color: var(--light-soft);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
}

/* ---------- Kaartroosters (het enige gebruik van kaders) ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.work:hover, .services .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(178, 58, 16, .35);
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .work:hover, .services .card:hover { transform: none; }
}

/* Diensten */
.services .card p { color: var(--ink-soft); margin: 0; }
.chip {
  display: inline-flex;
  width: 3rem; height: 3rem;
  align-items: center; justify-content: center;
  background: var(--accent-tint);
  color: var(--accent);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.chip svg { width: 1.6rem; height: 1.6rem; }

/* ---------- Waarom Remery ---------- */
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.reasons li { display: flex; gap: .9rem; align-items: flex-start; }
.reasons h3 { margin: 0 0 .2rem; }
.reasons p { margin: 0; color: var(--ink-soft); }
.tick { flex: none; width: 1.6rem; height: 1.6rem; color: var(--accent); margin-top: .15rem; }

/* ---------- Prijzen (geen kader, gewoon links uitgelijnd) ---------- */
.pricelist { list-style: none; margin: 0; padding: 0; max-width: 34rem; }
.pricelist li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: .25rem 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.pricelist li:first-child { padding-top: 0; }
.pricelist span { font-size: 1.1rem; }
.pricelist strong { font-size: 1.25rem; color: var(--accent); }
.pricenote { margin: 1.25rem 0 0; color: var(--ink-soft); font-size: .98rem; max-width: 58ch; }

/* ---------- Portfolio ---------- */
.work { padding: 0; overflow: hidden; }
.work-shot { display: block; }
/* Browservenster-balk boven elke screenshot */
.chrome {
  display: flex;
  align-items: center;
  gap: .45rem;
  height: 1.9rem;
  padding-inline: .85rem;
  background: var(--ink);
}
.chrome i { width: .6rem; height: .6rem; border-radius: 50%; background: #5b6785; }
.chrome i:first-child { background: var(--accent); }
.work-shot img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 10; object-fit: cover;
}
.work-body { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--line); }
.work-body h3 { margin: 0 0 .1rem; }
.work-body h3 a { text-decoration: none; }
.work-body h3 a:hover { text-decoration: underline; }
.work-body p { margin: 0; color: var(--ink-soft); }
.work-place { color: var(--accent) !important; font-weight: 600; margin: 0 0 .5rem !important; }

/* ---------- Over mij ---------- */
.about { display: grid; gap: 2.75rem; }
.about-photo {
  position: relative;
  width: 200px;
  margin: 0;
  isolation: isolate;
}
.about-photo img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  position: relative; z-index: 1;
}
/* navy vlak, verspringend achter de foto (rechtsonder) */
.about-photo::before {
  content: "";
  position: absolute; z-index: 0;
  inset: 20px -20px -20px 20px;
  background: var(--ink);
  border-radius: var(--radius);
}
/* rust ring die linksboven achter de foto uitpiept */
.about-photo::after {
  content: "";
  position: absolute; z-index: 0;
  left: -18px; top: -18px;
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  border: .55rem solid var(--accent);
}
.about-text p { color: var(--ink-soft); }
.about-text p:first-child { color: var(--ink); }

/* ---------- Contact ---------- */
.contact { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .6rem; }
.contact li { color: var(--light); }
.contact-label { display: inline-block; min-width: 6rem; font-weight: 700; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 1.75rem; border-top: 1px solid var(--line-light); }
.site-footer p { margin: 0; font-size: .95rem; color: var(--light-soft); }
.site-footer a { color: #fff; }

/* ---------- Desktop ---------- */
@media (min-width: 40rem) {
  .services, .portfolio { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .reasons { grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; }
  .promises { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 220px 1fr; gap: 3rem; align-items: center; }
  .about-photo { width: 220px; }
}

@media (min-width: 52rem) {
  .promises { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

@media (min-width: 52rem) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
  .hero-media { justify-self: end; }
  .hero-media img { max-width: 100%; }
}

/* ---------- Hoe het werkt ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent);
  font-weight: 800; margin-bottom: .85rem;
}
.step h3 { margin: 0 0 .25rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* ---------- Klantquotes ---------- */
.quote-card::before {
  content: "\201C";
  display: block; font-size: 3.25rem; line-height: .7;
  color: var(--accent); font-weight: 800; margin-bottom: .4rem;
}
.quote { margin: 0 0 1rem; font-size: 1.12rem; line-height: 1.5; }
.quote-by { margin: 0; font-weight: 700; color: var(--ink); font-size: .95rem; }

/* ---------- Portfolio: hover-overlay + zoom ---------- */
.work-shot { position: relative; }
.work-shot img { transition: transform .35s ease; }
.work-shot::after {
  content: "Bekijk de site \2192";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 33, 61, .5); color: #fff; font-weight: 700;
  opacity: 0; transition: opacity .25s ease;
}
.work:hover .work-shot img { transform: scale(1.05); }
.work:hover .work-shot::after { opacity: 1; }

/* ---------- Beweging ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes reveal-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise .6s both; }
  .hero-text > *:nth-child(2) { animation-delay: .1s; }
  .hero-text > *:nth-child(3) { animation-delay: .2s; }
  .hero-text > *:nth-child(4) { animation-delay: .3s; }
  .hero-media { animation: pop .7s .18s both; }
  .hero-media img { animation: floaty 6s 1.2s ease-in-out infinite alternate; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .band:not(.hero) .wrap > .eyebrow,
    .band:not(.hero) .wrap > h2,
    .band:not(.hero) .wrap > .lead,
    .band:not(.hero) .wrap > .pricelist,
    .band:not(.hero) .wrap > .pricenote,
    .reasons li, .step, .about, .faq-item,
    .services .card, .portfolio .work, .quote-card {
      animation: reveal-up both;
      animation-timeline: view();
      animation-range: entry 0% cover 20%;
    }
    /* kaarten met hover-lift: alleen faden, zodat de hover-transform vrij blijft */
    .services .card, .portfolio .work { animation-name: reveal-fade; }
  }
}

/* ---------- Stappen & quotes op grotere schermen ---------- */
@media (min-width: 40rem) {
  .steps { position: relative; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .steps::before {
    content: ""; position: absolute; top: 1.3rem; left: 14%; right: 14%;
    border-top: 2px dashed rgba(178, 58, 16, .35);
  }
  .step { position: relative; }
}
@media (min-width: 48rem) {
  .quotes { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
