/* Harmens Schilders — demo site */

:root {
  --ink: #1a1f1c;
  --ink-soft: #3d4540;
  --muted: #6b746e;
  --paper: #f3f1ec;
  --paper-2: #e8e5de;
  --line: rgba(26, 31, 28, 0.12);
  --accent: #2f5d50;
  --accent-deep: #1e3d34;
  --accent-soft: #d8e6e0;
  --warm: #b8956a;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(26, 31, 28, 0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
  --radius: 0;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 93, 80, 0.08), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(184, 149, 106, 0.1), transparent 55%),
    linear-gradient(180deg, #f7f5f1 0%, var(--paper) 40%, #efece6 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section-header {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-header h2,
.over-copy h2,
.contact-intro h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 34rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-sm {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(243, 241, 236, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 2;
}

.logo-mark {
  width: 1.15rem;
  height: 1.15rem;
  background: linear-gradient(145deg, var(--accent) 0%, var(--warm) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.35s var(--ease);
}

.logo-text span {
  font-weight: 500;
  opacity: 0.78;
  margin-left: 0.28rem;
}

.site-header.is-scrolled .logo-text,
.site-header.menu-open .logo-text {
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.3s var(--ease);
}

.nav a:hover {
  color: var(--white);
}

.site-header.is-scrolled .nav a {
  color: var(--ink-soft);
}

.site-header.is-scrolled .nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-phone {
  display: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
  transition: color 0.35s var(--ease);
}

.site-header.is-scrolled .header-phone {
  color: var(--ink);
}

.site-header:not(.is-scrolled) .btn-primary {
  background: var(--white);
  color: var(--accent-deep);
}

.site-header:not(.is-scrolled) .btn-primary:hover {
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.35rem auto;
  background: var(--white);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.site-header.is-scrolled .nav-toggle span,
.site-header.menu-open .nav-toggle span {
  background: var(--ink);
}

.site-header.menu-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 10s var(--ease) forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 22, 18, 0.45) 0%, rgba(14, 22, 18, 0.2) 35%, rgba(14, 22, 18, 0.72) 100%),
    linear-gradient(90deg, rgba(14, 22, 18, 0.55) 0%, rgba(14, 22, 18, 0.15) 55%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding: calc(var(--header-h) + 2rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  max-width: 40rem;
  justify-self: start;
  margin-left: max(1.25rem, calc((100vw - min(100vw - 2.5rem, var(--max))) / 2));
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9.5vw, 7.25rem);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
  max-width: 12ch;
  animation: riseIn 0.9s var(--ease) both;
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  max-width: 24rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.94);
  animation: riseIn 0.9s var(--ease) 0.12s both;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 28rem;
  margin-bottom: 1.75rem;
  animation: riseIn 0.9s var(--ease) 0.22s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 0.9s var(--ease) 0.32s both;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Diensten */

.diensten-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.dienst {
  display: grid;
  gap: 1rem;
}

.dienst-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}

.dienst-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.dienst:hover .dienst-media img {
  transform: scale(1.04);
}

.dienst-body h3 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.dienst-body p {
  color: var(--ink-soft);
  max-width: 28rem;
}

/* Werkwijze */

.werkwijze {
  background:
    linear-gradient(180deg, rgba(47, 93, 80, 0.06), transparent 30%),
    linear-gradient(90deg, transparent, rgba(26, 31, 28, 0.04) 50%, transparent);
}

.werkwijze-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.werkwijze .section-header {
  margin-bottom: 0;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.2;
}

.steps h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.steps p {
  color: var(--ink-soft);
}

/* Projecten */

.projecten-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.project {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  min-height: 16rem;
}

.project-large {
  grid-row: 1 / span 2;
  min-height: 100%;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
  transition: transform 0.9s var(--ease), opacity 0.5s var(--ease);
  opacity: 0.92;
}

.project-large img {
  min-height: 34rem;
}

.project:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.project figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(14, 22, 18, 0.85));
  color: var(--white);
  display: grid;
  gap: 0.2rem;
}

.project figcaption strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.project figcaption span {
  font-size: 0.88rem;
  opacity: 0.8;
}

/* Over */

.over-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.over-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.85rem;
  align-items: end;
}

.over-media img {
  width: 100%;
  object-fit: cover;
}

.over-media > img:first-child {
  aspect-ratio: 3 / 4;
}

.over-media-secondary {
  aspect-ratio: 3 / 4;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}

.over-copy p + p {
  margin-top: 1rem;
}

.over-copy > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.over-points {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.over-points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink);
  font-weight: 500;
}

.over-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
}

/* Reviews */

.reviews {
  background: var(--ink);
  color: var(--white);
}

.reviews .eyebrow {
  color: var(--warm);
}

.reviews .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.reviews .section-lead strong {
  color: var(--white);
  font-weight: 600;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review {
  margin: 0;
  padding: 1.75rem 1.5rem;
  border-top: 2px solid var(--warm);
  background: rgba(255, 255, 255, 0.04);
}

.stars {
  color: var(--warm);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.review p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.review footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.review cite {
  font-style: normal;
  font-weight: 600;
}

.review footer span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-details {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

.contact-details a,
.contact-details p {
  display: grid;
  gap: 0.25rem;
  font-weight: 600;
  font-size: 1.02rem;
}

.contact-details span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-details a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--white);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #faf9f6;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.form-success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 600;
  text-align: center;
}

/* Footer */

.site-footer {
  background: #121612;
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 22rem;
}

.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer a,
.site-footer p {
  display: block;
  margin-bottom: 0.45rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  font-size: 0.88rem;
}

.demo-note a {
  display: inline;
  color: var(--warm);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Reveal motion */

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 980px) {
  .werkwijze-layout,
  .over-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .werkwijze .section-header {
    position: static;
  }

  .projecten-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-large {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .project-large img {
    min-height: 22rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .over-media-secondary {
    margin-bottom: 0;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(243, 241, 236, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }

  .site-header.menu-open .nav {
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    color: var(--ink) !important;
    font-size: 1.5rem;
    font-family: var(--font-display);
  }

  .header-actions .btn-sm {
    display: none;
  }

  .diensten-grid {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .projecten-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .over-media {
    grid-template-columns: 1fr 0.85fr;
  }
}

@media (min-width: 900px) {
  .header-phone {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
