/* ==========================================================================
   Sas Belasting & Administratie — sasba.nl
   Eén stylesheet, geen framework, mobiel eerst.
   Kleuren komen uit het logo: #ed1364 magenta, #4d4a45 warmgrijs.
   ========================================================================== */

/* --- Custom properties -------------------------------------------------- */

:root {
  --ink: #2e2b28;
  --ink-soft: #5f5a54;
  --ink-faint: #746d66;   /* 5.1:1 op wit, 4.8:1 op warm - haalt AA */

  --accent: #ed1364;        /* decoratief: de punt, lijntjes, accenten     */
  --accent-ink: #b30b4c;    /* tekst en knopvlakken: haalt 4.5:1 op wit    */
  --accent-wash: #fdf0f5;

  --bg: #ffffff;
  --bg-warm: #faf7f4;
  --line: #e7e1db;

  --radius: 10px;
  --radius-lg: 16px;

  --container: 68rem;
  --prose: 40rem;

  --shadow: 0 1px 2px rgb(46 43 40 / 6%), 0 8px 24px -12px rgb(46 43 40 / 18%);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* --- Reset -------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

address { font-style: normal; }

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 1.35rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .35em; }

p, li { text-wrap: pretty; }

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

strong { font-weight: 650; }

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

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

/* --- Layout helpers ----------------------------------------------------- */

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

/* .prose beperkt de REGELLENGTE, niet de breedte van de container zelf.
   Anders zweeft een .container.prose midden op de pagina en lijnt hij niet
   uit met de secties eromheen. */
.prose > * { max-width: var(--prose); }

.section { padding-block: clamp(2.75rem, 1.5rem + 5vw, 5rem); }
.section--warm { background: var(--bg-warm); }
.section--tight { padding-block: clamp(2rem, 1.2rem + 3vw, 3.25rem); }

.section__head { max-width: var(--prose); margin-bottom: 2rem; }
.section__head p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

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

/* --- Header ------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
  flex-wrap: wrap;
  padding-block: .75rem;
}

.site-header__logo { display: inline-flex; flex: 0 0 auto; }
.site-header__logo img { width: auto; height: 54px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, .3rem + 1.6vw, 1.6rem);
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-size: .975rem;
  padding-block: .25rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:not(.btn):hover { border-bottom-color: var(--accent); }
.site-nav a:not(.btn)[aria-current="page"] { border-bottom-color: var(--accent); }

@media (max-width: 27rem) {
  .site-header__inner { min-height: 0; }
  .site-nav { width: 100%; margin-left: 0; gap: 1rem; }
  .site-header__logo img { height: 46px; }
}

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer;
}

.btn--primary { background: var(--accent-ink); color: #fff; border-color: var(--accent-ink); }
.btn--primary:hover { background: #980a40; border-color: #980a40; }

.btn--ghost { background: transparent; color: var(--accent-ink); border-color: currentColor; }
.btn--ghost:hover { background: var(--accent-wash); }

.btn--on-dark { background: #fff; color: var(--ink); border-color: #fff; }
.btn--on-dark:hover { background: #f0ebe6; border-color: #f0ebe6; }

.btn--ghost-on-dark { background: transparent; color: #fff; border-color: rgb(255 255 255 / 55%); }
.btn--ghost-on-dark:hover { background: rgb(255 255 255 / 12%); border-color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.1em;
}

/* --- Hero --------------------------------------------------------------- */

.hero { background: var(--bg-warm); border-bottom: 1px solid var(--line); }

.hero__inner {
  display: grid;
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  padding-block: clamp(2.25rem, 1.25rem + 4.5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 52rem) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; }
}

.hero__text h1 { margin-bottom: .6em; }
.hero__text > p:last-child { margin-bottom: 0; }

.hero__lead { font-size: 1.125rem; color: var(--ink-soft); }

.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Beschikbaarheid — het belangrijkste zinnetje op de site */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--accent-wash);
  color: var(--accent-ink);
  border: 1px solid #f5c3d6;
  border-radius: 999px;
  padding: .4rem .95rem .4rem .8rem;
  font-weight: 650;
  font-size: .95rem;
  margin-bottom: 1.1rem;
}
.badge::before {
  content: "";
  width: .6rem; height: .6rem;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

/* --- Page header (subpagina's) ------------------------------------------ */

.page-head {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2rem, 1.25rem + 3vw, 3.5rem);
}
.page-head h1 { margin-bottom: .35em; }
.page-head p { font-size: 1.125rem; color: var(--ink-soft); max-width: var(--prose); margin-bottom: 0; }

.breadcrumb { font-size: .9rem; margin-bottom: 1rem; color: var(--ink-faint); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: var(--ink-faint); }
.breadcrumb a { color: var(--ink-soft); }

/* --- Kaarten (diensten) -------------------------------------------------- */

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (min-width: 40rem) { .cards { grid-template-columns: 1fr 1fr; } }

/* Onder ~352px is er naast de thumbnail te weinig ruimte voor woorden als
   "vennootschapsbelasting": dan zetten we de kaart onder elkaar. */
@media (max-width: 22rem) {
  .card { flex-direction: column; gap: .85rem; }
  .card__thumb { width: 72px; height: 72px; }
}

.card {
  display: flex;
  gap: 1.1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 0;
}

.section--warm .card { background: #fff; }

.card__thumb {
  flex: 0 0 auto;
  width: 84px; height: 84px;
  border-radius: var(--radius);
  object-fit: cover;
}

.card__body { min-width: 0; overflow-wrap: break-word; }
.card__body h2,
.card__body h3 { font-size: 1.15rem; margin-bottom: .3em; }
.card__body p { margin-bottom: .6em; color: var(--ink-soft); font-size: 1rem; }
.card__body p:last-child { margin-bottom: 0; }

.card a { font-weight: 600; text-decoration: none; }
.card a:hover { text-decoration: underline; }
.card a::after { content: " →"; }

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

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }

.steps li { counter-increment: step; margin: 0; }
.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--accent-ink);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .65rem;
}
.steps h3 { margin-bottom: .25em; }
.steps p { color: var(--ink-soft); margin-bottom: 0; }

/* --- Lijst met vinkjes --------------------------------------------------- */

.ticks { list-style: none; padding: 0; }
.ticks li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .6em;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: .15rem; top: .55em;
  width: .7rem; height: .38rem;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* --- Testimonials -------------------------------------------------------- */

.quotes { display: grid; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 46rem) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.quote blockquote {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--ink);
}
.quote blockquote p { margin: 0; }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after  { content: "\201D"; }

.quote figcaption {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
}
.quote img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.quote cite { font-style: normal; font-weight: 650; display: block; }
.quote span { font-size: .9rem; color: var(--ink-faint); }

/* --- Logostroken --------------------------------------------------------- */

.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, .6rem + 2.5vw, 2.25rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.logos li { margin: 0; }
/* Vaste doos per logo, niet alleen een vaste hoogte: anders wordt een breed
   logo (pe cosmetics is 8:1) tien keer zo groot als een vierkant logo. */
.logos img {
  height: clamp(38px, 32px + 1.2vw, 48px);
  width: clamp(104px, 86px + 4vw, 132px);
  object-fit: contain;
}

/* De pakketlogo's staan onder een links uitgelijnde kop, dus links uitlijnen.
   De klantlogo's staan als losse band over de volle breedte: die centreren. */
.logos--pakketten { justify-content: flex-start; }

.logos--pakketten img {
  height: clamp(32px, 27px + 1vw, 40px);
  width: clamp(112px, 92px + 4.5vw, 144px);
}

/* --- Portret + tekst ----------------------------------------------------- */

.split {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: start;
}
@media (min-width: 52rem) {
  .split { grid-template-columns: 22rem 1fr; }
  .split--flip { grid-template-columns: 1fr 22rem; }
  .split--flip .split__media { order: 2; }
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.split__body > :last-child { margin-bottom: 0; }

/* --- Contactgegevens ----------------------------------------------------- */

.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 1.125rem; }
.contact-list li { margin-bottom: .75em; }
.contact-list a { font-weight: 600; }
.contact-list .label {
  display: block;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-faint);
  font-weight: 600;
}

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

.cta {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem);
}
.cta h2 { color: #fff; }
.cta p { color: #ded8d2; max-width: var(--prose); }
.cta .btn-row { margin-top: 1.5rem; margin-bottom: 0; }
.cta__address { margin-top: 1.5rem; font-size: .95rem; color: #b6ada5; }
.cta__address a { color: #b6ada5; }

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

.site-footer {
  background: #26241f;
  color: #cfc8c1;
  padding-block: 3rem 2rem;
  font-size: .95rem;
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 46rem) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}

.site-footer__logo img { height: 58px; width: auto; margin-bottom: 1rem; }
.site-footer h2 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #fff;
  margin-bottom: .9em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }

.site-footer__bottom {
  border-top: 1px solid #3d3931;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  color: #9a938c;
  font-size: .875rem;
}

/* --- 404 ----------------------------------------------------------------- */

.notfound { padding-block: clamp(3rem, 2rem + 6vw, 6rem); text-align: left; }
.notfound .code {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-ink);
  font-weight: 700;
  margin-bottom: .5rem;
}

/* --- Print --------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .cta, .btn-row { display: none; }
  body { font-size: 11pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
