/* ============================================================
   TJ Projects — Design system (rustige premium taal, zwart/oranje)
   ============================================================ */
:root {
  --orange: #F06B22;
  --orange-soft: #F68B4E;
  --orange-deep: #C85314;
  --dark: #101114;
  --dark-2: #1A1B1F;
  --ink: #1A1B1E;
  --text: #56575D;
  --grey: #F5F4F2;
  --paper: #FFFFFF;
  --line: #E7E5E2;
  --white: #FFFFFF;
  --radius: 6px;
  --shadow: 0 14px 44px rgba(16, 17, 20, .10);
  --ease: cubic-bezier(.25, .75, .3, 1);
  --font: "Sora", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink); background: var(--paper);
  line-height: 1.75; font-size: 16.5px; font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1180px, 90%); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-grey { background: var(--grey); }
.section-dark { background: var(--dark); color: var(--white); }

/* ---------- Typografie — dun = premium ---------- */
h1, h2 { font-weight: 200; line-height: 1.18; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-weight: 600; font-size: 1.08rem; line-height: 1.35; }
h1 em, h2 em { font-style: normal; color: var(--orange); font-weight: 300; }
p { color: var(--text); }
.section-dark p { color: rgba(255,255,255,.7); }
p + p { margin-top: 1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 30px; height: 1.5px; background: var(--orange); }
.eyebrow-light { color: var(--orange-soft); }
.eyebrow-light::before { background: var(--orange-soft); }

.lead { font-size: 1.08rem; margin-top: 24px; max-width: 33em; }
.section-head { max-width: 620px; margin-bottom: clamp(40px, 5vw, 64px); }

/* ---------- Knoppen — rustige pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: 999px; white-space: nowrap;
  font: 600 .92rem var(--font); border: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s, transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--orange); color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: .85rem; }
.btn-block { width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .95rem; color: var(--orange); margin-top: 18px; }
.text-link .arrow { transition: transform .3s var(--ease); }
.text-link:hover .arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 22px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s;
}
.site-header.scrolled { background: rgba(16,17,20,.95); backdrop-filter: blur(12px); padding: 13px 0; box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: center; gap: 30px; }
.logo { display: flex; align-items: center; gap: 13px; color: var(--white); }
.logo-mark { width: 46px; height: 22px; color: var(--orange); flex: none; }
.logo-text { font-weight: 600; font-size: 1.08rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.1; display: flex; flex-direction: column; }
.logo-text small { font-weight: 300; font-size: .58rem; letter-spacing: .14em; opacity: .6; text-transform: none; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 9px 15px; color: rgba(255,255,255,.8);
  font-weight: 400; font-size: .93rem; white-space: nowrap;
  border-bottom: 1.5px solid transparent; transition: color .25s;
}
.main-nav a:hover { color: var(--orange-soft); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.has-sub { position: relative; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--white); box-shadow: var(--shadow); padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s var(--ease);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(2px); }
.submenu a { color: var(--ink) !important; padding: 9px 20px; font-size: .88rem; }
.submenu a:hover { color: var(--orange) !important; background: var(--grey); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: .3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(165deg, var(--dark) 55%, #17181d 100%);
  color: var(--white);
  padding: clamp(150px, 16vw, 200px) 0 clamp(70px, 8vw, 110px);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255,255,255,.68); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Daklijn-mask — het signatuur-element uit het logo */
.roof-img { overflow: hidden; clip-path: polygon(0 16%, 55% 0, 100% 11%, 100% 100%, 0 100%); }
.roof-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.roof-img:hover img { transform: scale(1.04); }

.hero-visual { position: relative; padding-bottom: 56px; }
.roof-img-main { height: 430px; }
.roof-img-small {
  position: absolute; right: -6%; bottom: 0; width: 46%; height: 240px;
  outline: 10px solid var(--dark); clip-path: polygon(0 14%, 60% 0, 100% 10%, 100% 100%, 0 100%);
}

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }

/* ---------- Diensten ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: var(--white); display: flex; flex-direction: column; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-img { overflow: hidden; aspect-ratio: 4 / 3; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 28px 26px 30px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.service-body h3 { margin-bottom: 10px; }
.service-body p { font-size: .92rem; flex: 1; margin-bottom: 22px; }

/* ---------- Waarom TJ ---------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.why-img { height: 520px; }
.usp-list { margin-top: 34px; }
.usp-list li {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.usp-list li:first-child { border-top: 1px solid var(--line); }
.usp-list svg { width: 26px; height: 26px; color: var(--orange); flex: none; margin-top: 3px; }
.usp-list h3 { font-size: 1rem; }
.usp-list p { font-size: .9rem; }

/* ---------- Realisaties ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { position: relative; overflow: hidden; aspect-ratio: 4 / 5; display: block; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover img { transform: scale(1.06); }
.work-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; background: linear-gradient(transparent 45%, rgba(16,17,20,.85));
}
.work-overlay h3 { color: var(--white); }
.work-overlay p { color: rgba(255,255,255,.7); font-size: .85rem; }
.work-more { text-align: center; margin-top: 44px; }

/* ---------- Werkwijze ---------- */
.process-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step-num {
  display: grid; place-items: center; width: 54px; height: 54px;
  border: 1.5px solid var(--orange); border-radius: 50%;
  color: var(--orange); font-weight: 200; font-size: 1.4rem; margin-bottom: 20px;
  transition: background .3s, color .3s;
}
.process-flow li:hover .step-num { background: var(--orange); color: var(--white); }
.process-flow h3 { margin-bottom: 8px; }
.process-flow p { font-size: .9rem; }

/* ---------- Over ons ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-img { height: 440px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact-info { margin-top: 30px; display: grid; gap: 16px; }
.contact-info li { display: flex; align-items: center; gap: 14px; font-weight: 400; color: rgba(255,255,255,.85); }
.contact-info a:hover { color: var(--orange-soft); }
.contact-info svg { width: 21px; height: 21px; color: var(--orange-soft); flex: none; }
.contact-form { background: var(--white); color: var(--ink); padding: clamp(28px, 3.5vw, 46px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; font-weight: 600; font-size: .82rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 300 .95rem var(--font); color: var(--ink);
  border: none; border-bottom: 1.5px solid var(--line); border-radius: 0;
  padding: 10px 2px; background: transparent;
  transition: border-color .25s;
}
.contact-form :is(input, select, textarea):focus { outline: none; border-color: var(--orange); }
.form-success { color: #1a8a4e; font-weight: 600; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.65); }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 44px 0; }
.footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 26px; font-size: .92rem; }
.footer-nav a:not(.btn):hover { color: var(--orange-soft); }
.footer-map iframe { width: 100%; height: 300px; border: 0; display: block; filter: grayscale(.4); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 0; font-size: .82rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom a:hover { color: var(--orange-soft); }

/* ---------- Subpagina's ---------- */
.page-hero {
  background: linear-gradient(165deg, var(--dark) 55%, #17181d 100%);
  color: var(--white);
  padding: clamp(140px, 15vw, 190px) 0 clamp(60px, 7vw, 95px);
}
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,.68); }
.page-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 28px; font-weight: 300; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--orange-soft); }
.breadcrumb span::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.3); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.two-col .col-img { height: 430px; }

.check-list { margin-top: 24px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; font-weight: 400; font-size: .96rem; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.photo-pair .roof-img { height: 340px; }

.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 600; font-size: .98rem; cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.acc-icon { position: relative; width: 20px; height: 20px; flex: none; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--orange); transition: transform .3s var(--ease); }
.acc-icon::before { width: 14px; height: 1.5px; }
.acc-icon::after { width: 1.5px; height: 14px; }
.accordion details[open] .acc-icon::after { transform: rotate(90deg); }
.accordion details p { padding: 0 30px 22px 0; font-size: .94rem; }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: start; }

.cta-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.cta-strip h2 { max-width: 20em; }
.cta-strip p { color: rgba(255,255,255,.65); margin-top: 8px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-bar button {
  font: 400 .9rem var(--font); color: var(--text);
  background: transparent; border: 1px solid var(--line);
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  transition: all .25s var(--ease);
}
.filter-bar button:hover { border-color: var(--orange); color: var(--orange); }
.filter-bar button.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery .work-card { aspect-ratio: 4 / 3; }
.gallery .work-card.hidden { display: none; }

.prose { max-width: 740px; }
.prose h2 { font-weight: 600; font-size: 1.25rem; margin: 1.8em 0 .6em; }
.prose ul { list-style: disc; padding-left: 1.3em; color: var(--text); }
.prose li { margin: .3em 0; }

@media (max-width: 860px) {
  .two-col, .faq-grid { grid-template-columns: 1fr; }
  .two-col .col-img { height: 300px; }
  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair .roof-img { height: 260px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .submenu { display: none; }
}
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Hulp-bubbel ---------- */
.help-bubble {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  display: flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--ink);
  padding: 12px 20px 12px 14px; border-radius: 999px;
  box-shadow: 0 14px 40px rgba(16,17,20,.25);
  font-size: .88rem; font-weight: 600;
  opacity: 0; transform: translateY(12px);
  animation: bubbleIn .5s var(--ease) 1.4s forwards;
}
.help-bubble svg { width: 34px; height: 34px; color: var(--orange); flex: none; }
.help-bubble:hover { color: var(--orange); }
@keyframes bubbleIn { to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .help-bubble span { display: none; } .help-bubble { padding: 12px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .help-bubble { animation: none; opacity: 1; transform: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .service-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .process-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 0; background: var(--dark);
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; transition: opacity .3s;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav > ul { flex-direction: column; text-align: center; gap: 14px; }
  .main-nav a { font-size: 1.25rem; color: rgba(255,255,255,.9); }
  .nav-toggle { display: block; position: relative; z-index: 10; }
  .header-actions .btn { display: none; }

  .hero-inner, .intro-grid, .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .roof-img-main { height: 320px; }
  .why-img, .about-img { height: 320px; }
}
@media (max-width: 560px) {
  .service-grid, .work-grid, .process-flow { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .roof-img-small { display: none; }
}
