/* RJCOOL — landingspagina van de holding. Teksten volgens landing.html van de
   klant; vormgeving volgens het ontwerp van 19/10/2026: warme crèmekleurige
   achtergrond, schreeftitels (Lora), drie kaarten met foto en een eigen
   accentkleur per bedrijf. Lora en Jost staan lokaal in /fonts. */

@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/lora-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: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/lora-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: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap; src: url('../fonts/jost-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: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap; src: url('../fonts/jost-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 {
  --bg: #f6f2ea;
  --card: #fbf9f5;
  --text: #1f2a26;
  --head: #142520;
  --muted: #5f6763;
  --line: #e4ded2;
  --c1: #e0761b;  /* groothandel */
  --c2: #2f5d8a;  /* projectontwikkeling */
  --c3: #2f7d5b;  /* paardensector */
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { position: relative; margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: Jost, Helvetica, Arial, sans-serif; font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { position: relative; max-width: 1760px; margin: 0 auto; padding: 0 clamp(16px, 3.5vw, 64px); }

/* --- Sfeer: wazige bladeren en zachte cirkel ------------------------------- */
.deco-leaves { position: absolute; top: -10px; left: -30px; width: 170px; height: auto; fill: #3f6b45; stroke: #3f6b45; opacity: .22; filter: blur(5px); transform: rotate(-12deg); pointer-events: none; }
.deco-circle { position: absolute; top: -180px; right: -260px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle at 30% 40%, #fbf8f2 0%, #efe9dd 70%); opacity: .8; pointer-events: none; }

/* --- Kop ------------------------------------------------------------------ */
.intro { position: relative; text-align: center; padding: clamp(28px, 3vw, 40px) 0 clamp(28px, 3vw, 40px); }
.logo { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 400; letter-spacing: .14em; line-height: 1; color: var(--head); padding-left: .14em; }
.logo-lines { display: flex; justify-content: center; gap: 10px; margin: 16px 0 18px; }
.logo-lines i { width: 32px; height: 3px; border-radius: 2px; background: var(--c1); }
.logo-lines i:nth-child(2) { background: var(--c2); }
.logo-lines i:nth-child(3) { background: var(--c3); }
h1 { text-wrap: balance; margin: 0 auto 16px; max-width: 22ch; font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 4rem); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--head); }
.lead { text-wrap: balance; max-width: 720px; margin: 0 auto; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 300; }

/* --- Kaarten -------------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.2vw, 36px); padding-top: 4px; padding-bottom: 48px; }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: 10px; border-bottom: 3px solid var(--c); overflow: hidden; box-shadow: 0 1px 2px rgba(31,42,38,.05), 0 14px 34px rgba(31,42,38,.08); transition: transform .35s ease, box-shadow .35s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(31,42,38,.05), 0 22px 44px rgba(31,42,38,.13); }
.card-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-photo img { transform: scale(1.05); }
.tag { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 10px; background: var(--c); color: #fff; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 8px 16px 8px 14px; border-radius: 999px; }
.tag svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 36px) clamp(24px, 2.6vw, 40px) clamp(28px, 2.6vw, 40px); }
.card-icon { width: 38px; height: 38px; fill: none; stroke: var(--c); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.card h2 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(1.75rem, 2.2vw, 2.2rem); font-weight: 600; line-height: 1.2; color: var(--head); }
.card p { margin: 0 0 22px; color: var(--muted); font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.65; }
.card ul { list-style: none; margin: 0 0 28px; padding: 0; }
.card li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--muted); font-size: clamp(.98rem, 1.1vw, 1.1rem); }
.card li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--c); border-bottom: 2px solid var(--c); transform: rotate(-45deg); }
.card strong { font-weight: 500; color: var(--text); }

.btns { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 12px; background: var(--c); color: #fff; text-decoration: none; font-weight: 400; font-size: clamp(1rem, 1.1vw, 1.1rem); padding: 15px 24px; border: 1.5px solid var(--c); border-radius: 8px; transition: filter .2s, background .2s, color .2s; }
.btn:hover { filter: brightness(1.08); }
.btn .arr { transition: transform .3s ease; }
.btn:hover .arr { transform: translateX(5px); }
.btn.alt { background: transparent; color: var(--c); }
.btn.alt:hover { background: var(--c); color: #fff; filter: none; }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* --- Footer --------------------------------------------------------------- */
.footer { position: relative; color: var(--muted); font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 30px; }
.footer-inner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 12px; }
.footer-contact a:hover { color: var(--text); }
.footer-contact svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.footer-credit a { color: var(--text); }
.footer-credit .hvr-underline-from-center-thin { vertical-align: top; }

/* Webmatics-credit: Underline From Center Thin (zelfde als op de andere Webmatics-sites) */
.hvr-underline-from-center-thin { display: inline-block; vertical-align: middle; transform: perspective(1px) translateZ(0); box-shadow: 0 0 1px rgba(0,0,0,0); position: relative; overflow: hidden; }
.hvr-underline-from-center-thin:before { content: ""; position: absolute; z-index: -1; left: 51%; right: 51%; bottom: 0; background: #05BB93; height: 1px; transition: left .3s ease-out, right .3s ease-out; }
.hvr-underline-from-center-thin:hover:before, .hvr-underline-from-center-thin:focus:before, .hvr-underline-from-center-thin:active:before { left: 0; right: 0; }
.webmatics:hover { color: #05BB93 !important; }

/* --- Responsief ----------------------------------------------------------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr; max-width: 640px; }
  .deco-circle { right: -420px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .deco-leaves { width: 110px; opacity: .4; }
  .card-body { padding: 22px 22px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .card-photo img, .btn .arr { transition: none; }
  .card:hover, .card:hover .card-photo img { transform: none; }
}
