/* Goris Tuinwerken — design "C · Filmrol". Desktop values follow the 1440px design. */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300; font-display: swap; src: url('/fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --bg: #121811;
  --bg-alt: #1b2419;
  --bg-deep: #090c08;
  --bg-footer: #0b100a;
  --fg: #f6f1e7;
  --soft: #e4ded1;
  --mute: #cfc9ba;
  --acc: #d4b47b;
  --acc-hover: #e6cc97;
  --ink: #11170f;
  --rule: rgba(212, 180, 123, 0.6);
  --line: rgba(246, 241, 231, 0.24);
  --field: #0c110b;
  --field-line: #7a7f6c;
  --placeholder: #a9a395;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --error: #e3a98c;

  --serif: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 6.67vw, 96px);
  --sec-pad: clamp(72px, 7.8vw, 112px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; font-weight: 450; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--acc); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; }
h1, h2, h3, p { overflow-wrap: break-word; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 20; padding: 10px 16px; background: var(--acc); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 16px; color: var(--ink); }

/* Shared type */
.it { font-style: italic; color: var(--acc); }
.it-plain { font-style: italic; }
.label { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); }
.mono-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); transition: color 0.2s, gap 0.3s var(--ease); }
.mono-link:hover { color: var(--fg); gap: 12px; }
.placeholder { color: var(--mute) !important; font-style: italic; }

/* Object-position helpers (vertical crop of photos) */
.op-0 { object-position: center 0%; } .op-5 { object-position: center 5%; } .op-10 { object-position: center 10%; }
.op-15 { object-position: center 15%; } .op-20 { object-position: center 20%; } .op-25 { object-position: center 25%; }
.op-30 { object-position: center 30%; } .op-35 { object-position: center 35%; } .op-40 { object-position: center 40%; }
.op-45 { object-position: center 45%; } .op-50 { object-position: center 50%; } .op-55 { object-position: center 55%; }
.op-60 { object-position: center 60%; } .op-65 { object-position: center 65%; } .op-70 { object-position: center 70%; }
.op-75 { object-position: center 75%; } .op-80 { object-position: center 80%; } .op-85 { object-position: center 85%; }
.op-90 { object-position: center 90%; } .op-95 { object-position: center 95%; } .op-100 { object-position: center 100%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 58px; padding: 0 32px; border: 0; background: var(--acc); color: var(--ink); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; }
.btn:hover { background: var(--acc-hover); color: var(--ink); }
/* Main call to action: larger, with a soft glow and a moving arrow */
.btn-cta { height: 64px; padding: 0 30px 0 36px; font-size: 13px; letter-spacing: 0.18em; box-shadow: 0 14px 34px -14px rgba(212, 180, 123, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(212, 180, 123, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.btn-arrow { display: inline-block; font-size: 18px; letter-spacing: 0; line-height: 1; transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-ghost { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border: 1px solid var(--acc); background: rgba(9, 13, 8, 0.35); color: var(--acc); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; transition: background 0.25s, color 0.25s; }
.btn-ghost:hover { background: var(--acc); color: var(--ink); }
.link-under { display: inline-flex; align-items: center; height: 44px; border-bottom: 1px solid rgba(246, 241, 231, 0.35); transition: border-color 0.25s; font-size: 14px; letter-spacing: 0.04em; white-space: nowrap; }
.link-under:hover { border-bottom-color: var(--acc); }

/* ------------------------------------------------------------ Hero + header (design 3.2) */
.hero { position: relative; display: flex; flex-direction: column; min-height: clamp(600px, 100svh, 920px); overflow: hidden; color: var(--fg); }
.hero picture { position: absolute; inset: 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 13, 8, 0.62) 0%, rgba(9, 13, 8, 0.36) 32%, rgba(9, 13, 8, 0.5) 58%, rgba(9, 13, 8, 0.86) 100%); }

.site-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 112px; padding: 0 var(--gutter); border-bottom: 1px solid rgba(246, 241, 231, 0.28); flex-shrink: 0; }
.brand { display: block; flex-shrink: 0; }
.logo { display: block; width: 112px; height: auto; }
.main-nav { display: flex; gap: 44px; font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; }
.main-nav a { position: relative; display: flex; align-items: center; height: 44px; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 28px; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; font-size: 14px; letter-spacing: 0.04em; white-space: nowrap; }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid rgba(246, 241, 231, 0.32); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; transition: border-color 0.25s, color 0.25s; }
.lang-switch:hover { border-color: var(--acc); }
.label-short { display: none; }
.icon { display: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.hero-body { position: relative; margin-top: auto; padding: 48px var(--gutter) 64px; }
.eyebrow { margin: 0 0 26px; display: flex; align-items: center; gap: 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; }
.eyebrow-rule { display: block; width: 56px; height: 1px; background: var(--acc); flex-shrink: 0; }
.hero-title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 9.45vw, 136px); line-height: 0.94; letter-spacing: -0.015em; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-top: 40px; }
.hero-intro { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.8; color: #f2ede2; }
.hero-cta { display: flex; align-items: center; gap: 32px; }

/* ------------------------------------------------------------ Sections */
.section { padding: var(--sec-pad) var(--gutter); background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); }
.sec-head { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: end; position: relative; padding-bottom: 28px; margin-bottom: 48px; }
.sec-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); transform-origin: left; transition: transform 1.1s var(--ease) 0.15s; }
.sec-head h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.body { margin: 0; font-size: 17px; line-height: 1.8; color: var(--soft); }
.muted { color: var(--mute); }

/* Diensten */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 28px; }
.card { display: flex; flex-direction: column; }
.card-media { overflow: hidden; }
.card-img { display: block; width: 100%; height: 340px; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card-img { transform: scale(1.045); }
.card h3 { transition: color 0.25s; }
.card:hover h3 { color: var(--acc); }
.card h3 { margin: 22px 0 0; font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1; }
.card p { margin: 10px 0 0; font-size: 16px; line-height: 1.7; color: var(--mute); }
.card .mono-link { margin-top: 14px; align-self: flex-start; }

/* Projecten */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 12px; }
.tile { min-height: 0; overflow: hidden; }
.tile-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.4s; }
.tile:hover .tile-img { transform: scale(1.05); filter: brightness(1.08); }
.tile-wide { grid-column: span 2; }

/* Wie ben ik */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; align-items: center; }
.about-media { overflow: hidden; }
.about-img { display: block; width: 100%; height: 560px; object-fit: cover; }
.lead { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.2; }
.about .body { margin-top: 18px; }
.about .lead + .body { margin-top: 28px; }
.signature { margin: 36px 0 0; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); }

/* Werkgebied */
.area { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.area .muted { margin-top: 24px; font-size: 16px; line-height: 1.7; color: var(--mute); }
.places { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.places li { padding: 12px 0 14px; border-top: 1px solid var(--line); font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1; }
.map { position: relative; margin: 0; height: 480px; overflow: hidden; border: 1px solid var(--rule); background: var(--field); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; margin-top: -48px; border-bottom: 1px solid var(--line); }
.qa { padding: 28px 0 32px; border-top: 1px solid var(--line); }
.qa .label { font-size: 12px; }
.qa h3 { margin: 12px 0 0; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.05; }
.qa p { margin: 12px 0 0; font-size: 17px; line-height: 1.7; color: var(--mute); }

/* Contact */
.contact { display: grid; grid-template-columns: 4fr 7fr; gap: 96px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-phone { font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 1; white-space: nowrap; }
.contact-mail { font-size: 18px; overflow-wrap: anywhere; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field label { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.field input, .field textarea { display: block; width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--field-line); border-radius: 0; background: var(--field); color: var(--fg); font-family: var(--sans); font-size: 16px; }
.field textarea { height: auto; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.field input, .field textarea { transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(212, 180, 123, 0.18); }
.field ::placeholder { color: var(--placeholder); opacity: 1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.form-note { margin: 0; font-size: 14px; line-height: 1.6; color: var(--mute); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }

.form-status { margin: 0; font-size: 15px; line-height: 1.6; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--acc); }
.form-status.is-error { color: var(--error); }

/* Footer */
.site-footer { padding: 56px var(--gutter) 36px; background: var(--bg-footer); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.logo-footer { width: 110px; }
.footer-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 0 40px; font-size: 15px; color: var(--soft); }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 28px; }

/* Simple pages (bedankt, privacy, 404) */
.site-header-plain { background: var(--bg); }
.page-main { min-height: 60vh; }
.page-main .lead + .body { margin-top: 24px; }
.page-main .body a, .prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose { max-width: 760px; }
.prose h3 { margin: 40px 0 0; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; }
.prose h3:first-child { margin-top: 0; }
.prose .body { margin-top: 12px; }

/* ------------------------------------------------------------ Floating call to action */
.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: flex; align-items: center; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity 0.35s, transform 0.45s var(--ease), visibility 0s linear 0.45s; }
.float-cta.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s, transform 0.45s var(--ease); }
.float-call { display: none; align-items: center; justify-content: center; width: 64px; height: 64px; flex-shrink: 0; border: 1px solid var(--rule); background: rgba(9, 13, 8, 0.9); color: var(--fg); }
.float-call .icon { display: block; width: 22px; height: 22px; }

/* ------------------------------------------------------------ Motion (only when the visitor allows it) */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

  .hero-img { animation: settle 2.6s var(--ease) both; }
  .site-header { animation: fade 0.9s ease-out 0.1s both; }
  .eyebrow { animation: rise 0.8s var(--ease) 0.15s both; }
  .hero-title { animation: rise 0.9s var(--ease) 0.25s both; }
  .hero-foot { animation: rise 0.9s var(--ease) 0.45s both; }
  .eyebrow-rule { transform-origin: left; animation: fade 0.6s ease-out 0.15s both; }

  /* Scroll reveal: site.js adds .js-reveal to <html> and .is-in to each element as it comes into view. */
  .js-reveal .reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .js-reveal .reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }
  .js-reveal .sec-head.reveal:not(.is-in)::after { transform: scaleX(0); }
  .js-reveal .cards .reveal:nth-child(3n + 2), .js-reveal .faq .reveal:nth-child(2n), .js-reveal .tiles .reveal:nth-child(4n + 2) { transition-delay: 0.08s; }
  .js-reveal .cards .reveal:nth-child(3n), .js-reveal .tiles .reveal:nth-child(4n + 3) { transition-delay: 0.16s; }
  .js-reveal .tiles .reveal:nth-child(4n) { transition-delay: 0.24s; }
  .js-reveal .about .reveal + .reveal, .js-reveal .area .reveal + .reveal, .js-reveal .contact .reveal + .reveal { transition-delay: 0.12s; }
}

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1099px) {
  .main-nav { gap: 28px; }
  .header-actions { gap: 16px; }
  .header-phone span { display: none; }
  .header-phone { width: 44px; }
  .icon { display: block; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
  .about { grid-template-columns: 1fr 1fr; gap: 48px; }
  .about-img { height: 480px; }
  .area, .contact { grid-template-columns: 1fr; gap: 48px; }
  .faq { column-gap: 48px; }
}

@media (max-width: 899px) {
  .main-nav { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .faq { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 28px; }
  .about { grid-template-columns: 1fr; }
}

@media (max-width: 719px) {
  .site-header { height: 80px; gap: 12px; }
  .logo { width: 88px; }
  .header-actions { gap: 8px; }
  .header-phone { border: 1px solid rgba(239, 232, 216, 0.3); }
  .btn-ghost { height: 44px; padding: 0 14px; font-size: 10px; letter-spacing: 0.16em; }
  .btn-ghost .label-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .btn-ghost .label-short { display: inline; }
  .btn-cta { height: 58px; padding: 0 24px; font-size: 12px; letter-spacing: 0.14em; }
  .float-cta { left: 12px; right: 12px; bottom: 12px; }
  .float-cta .btn-cta { flex: 1; }
  .float-call { display: inline-flex; height: 58px; width: 58px; }
  .site-footer { padding-bottom: 96px; }
  .hero-img { object-position: center 30%; }
  .hero-body { padding-bottom: 40px; }
  .eyebrow { gap: 12px; font-size: 11px; letter-spacing: 0.2em; }
  .eyebrow-rule { width: 32px; }
  .hero-intro { font-size: 16px; line-height: 1.7; }
  .hero-cta { flex-wrap: wrap; gap: 12px 24px; }
  .cards { grid-template-columns: 1fr; gap: 48px; }
  .card-img { height: 280px; }
  .card h3 { font-size: 30px; }
  .tiles { grid-auto-rows: 160px; gap: 8px; }
  .about-img { height: 420px; }
  .lead { font-size: 30px; }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .places li { font-size: 22px; }
  .map { height: 380px; }
  .qa h3 { font-size: 26px; }
  .contact-phone { font-size: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-contact { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0; }
}

@media (max-width: 359px) {
  .btn-ghost { display: none; }
}
