/* Basis: lettertypen, kleuren, reset, typografie en hulpklassen */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Ubuntu Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ubuntu-condensed-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Ubuntu Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ubuntu-condensed-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bordeaux: #8b1e42;
  --bordeaux-dark: #6e1734;
  --bordeaux-tint: #f3e3e6;
  --teal: #3e5c6b;
  --teal-dark: #2f4753;
  --teal-darker: #29404b;
  --teal-tint: #e3eaec;
  --gold: #9c8a58;
  --gold-light: #d9ccaa;
  --cream: #f9f4ed;
  --sand: #efe6d8;
  --white: #fff;
  --ink: #201e1d;
  --text: #474238;
  --muted: #645c50;

  --font-body: "Figtree", system-ui, sans-serif;
  --font-head: "Ubuntu Condensed", "Arial Narrow", sans-serif;

  --maxw: 1320px;
  --read-w: 780px; /* leesbreedte: tekst, titelkaart en stappenpaneel; blokken (tegels, team, reviews) gebruiken --maxw */
  --gutter: 4vw;
  --radius: 28px;
  --radius-sm: 20px;
  --shadow: 0 14px 32px rgba(46, 43, 37, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; }

a { color: var(--bordeaux); }
a:hover { color: var(--bordeaux-dark); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.04; color: var(--bordeaux); }
h2 { font-size: clamp(28px, 3.4vw, 44px); color: var(--bordeaux); }
h3 { font-size: clamp(22px, 2.2vw, 28px); color: var(--teal); }
p { margin: 0 0 1em; text-wrap: pretty; }

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

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--bordeaux); color: #fff; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* kringel onder koppen (het enige sierelement bij kopjes) */
.squiggle {
  display: block; width: 53px; height: 24px; margin: 14px 0 18px;
  background: url("../images/kringel.png") no-repeat center / contain;
}
.squiggle--center { margin-left: auto; margin-right: auto; }

/* scroll-onthullen (reveal.js zet .is-visible) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

@media print {
  .topbar, .site-header, .mobile-call, .site-footer, .review-strip, .cta-band { display: none; }
}
