/* Cleaning Service Twente - onepager (basis: prakken-website patroon)
   Vormregels: knoppen = pill, kaarten/media = 16px radius, verder geen afronding.
   Huisstijl uit hun visitekaartje: antraciet + oranje accent; lichte pagina met donker slotblok.
   NB: variabelnamen (--green e.d.) zijn geërfd van het patroon; de wáárden zijn de CST-kleuren. */

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-var.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #22262c;
  --ink-soft: #5b616b;
  --green: #bf5f0a;        /* accent: oranje uit het visitekaartje (AA-contrast met wit) */
  --green-deep: #22262c;   /* antraciet: slotblok + brand */
  --green-line: #3b414b;
  --bone: #f0eee9;
  --radius-card: 16px;
  --shadow: 0 10px 30px rgba(34, 38, 44, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 380;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-weight: 640; letter-spacing: -0.02em; line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.6em; }
h3 { font-size: 1.15rem; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-block;
  padding: 0.78em 1.5em;
  border-radius: 999px;
  font-weight: 560;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-solid { background: var(--green); color: #f4f7f4; }
.btn-solid:hover { background: var(--green-deep); }
.btn-ghost { color: var(--green); border: 1.5px solid var(--green); }
.btn-ghost:hover { background: rgba(31, 77, 55, 0.08); }
.btn-light { background: var(--bone); color: var(--green-deep); }
.btn-light:hover { background: #ffffff; }
.btn-outline { color: #e9efe9; border: 1.5px solid var(--green-line); }
.btn-outline:hover { border-color: #e9efe9; }

/* ---------- navigatie ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 246, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(28, 33, 30, 0.08);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.brand {
  font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em;
  color: var(--green-deep); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.brand-mark { width: 30px; height: 30px; color: var(--green); flex-shrink: 0; }
.brand span { font-weight: 420; color: var(--ink-soft); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-size: 0.97rem; font-weight: 460;
}
.nav-links a:hover { color: var(--green); }
.nav-cta { font-size: 0.92rem; padding: 0.6em 1.3em; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 88px; }
.hero-grid {
  display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
}
.hero-sub {
  margin-top: 20px; font-size: 1.13rem; color: var(--ink-soft); max-width: 46ch;
}
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- diensten ---------- */
.diensten { padding: 40px 0 90px; }
.dienst-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 34px;
}
.dienst-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(28, 33, 30, 0.06);
}
.dienst-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.dienst-card:nth-child(3) img { object-position: center 30%; }
.dienst-body { padding: 22px 26px 26px; }
.dienst-list {
  list-style: none; margin-top: 12px;
  display: grid; gap: 7px;
}
.dienst-list li {
  color: var(--ink-soft); font-size: 0.96rem; line-height: 1.45;
  padding-left: 22px; position: relative;
}
.dienst-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 640;
}
.dienst-strip {
  margin-top: 26px; color: var(--ink-soft);
  border-top: 1px solid rgba(28, 33, 30, 0.10);
  padding-top: 20px;
}

/* ---------- projecten ---------- */
.projecten { padding: 10px 0 90px; }
.sectie-intro { color: var(--ink-soft); max-width: 60ch; margin-bottom: 34px; }
.sectie-intro a { color: var(--green); font-weight: 500; }
.project-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.project-grid figure:nth-child(3n+1) img { aspect-ratio: 4 / 3; }
.project-grid figure:nth-child(3n+2) img { aspect-ratio: 1 / 1; }
.project-grid figure:nth-child(3n) img { aspect-ratio: 4 / 3.4; }
.project-grid img {
  width: 100%; object-fit: cover; border-radius: var(--radius-card);
}
.project-grid figcaption {
  margin-top: 10px; font-size: 0.92rem; color: var(--ink-soft);
}

/* ---------- over ---------- */
.over { padding: 20px 0 90px; }
.over-grid {
  display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center;
}
.over-media img {
  border-radius: var(--radius-card); aspect-ratio: 4 / 3.2; object-fit: cover;
  box-shadow: var(--shadow);
}
.over-copy p { margin-top: 14px; color: var(--ink-soft); max-width: 54ch; }

/* ---------- reviews ---------- */
.reviews { padding: 20px 0 100px; }
.rating { display: flex; align-items: center; gap: 12px; }
.stars { color: #e2a63b; letter-spacing: 2px; }
.stars-dance { font-size: 1.45rem; line-height: 1; }
.stars-dance i { display: inline-block; font-style: normal; }
.stars-sm { display: block; font-size: 1rem; margin-bottom: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .stars-dance i { animation: star-dance 2.8s ease-in-out infinite; }
  .stars-dance i:nth-child(2) { animation-delay: 0.18s; }
  .stars-dance i:nth-child(3) { animation-delay: 0.36s; }
  .stars-dance i:nth-child(4) { animation-delay: 0.54s; }
  .stars-dance i:nth-child(5) { animation-delay: 0.72s; }
}
@keyframes star-dance {
  0%, 55%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-5px) rotate(-8deg); }
  40% { transform: translateY(1px) rotate(5deg); }
}
.review-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 34px;
  grid-template-areas: "feat a" "feat b";
}
.review { background: var(--surface); border-radius: var(--radius-card); padding: 30px 32px; }
.review.featured { grid-area: feat; display: flex; flex-direction: column; justify-content: center; }
.review-grid .review:nth-child(2) { grid-area: a; }
.review-grid .review:nth-child(3) { grid-area: b; }
.review p { font-size: 1.06rem; line-height: 1.55; }
.review.featured p { font-size: 1.3rem; font-weight: 460; letter-spacing: -0.01em; }
.review cite {
  display: block; margin-top: 16px; font-style: normal;
  font-size: 0.9rem; color: var(--ink-soft);
}

/* ---------- slotblok: werkgebied + contact (bewust donker) ---------- */
.slot {
  background: var(--green-deep); color: #e9efe9;
  padding: 90px 0 0;
}
.slot h2 { color: #ffffff; }
.slot-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px;
  padding-bottom: 80px;
}
.slot-werkgebied p, .slot-contact p { color: #b7bdc6; max-width: 46ch; }
.plaatsen {
  list-style: none; margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.plaatsen li {
  border: 1px solid var(--green-line);
  border-radius: 999px;
  padding: 0.35em 1em;
  font-size: 0.95rem; color: #ccd2da;
}
.contact-acties { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
address a { color: #ccd2da; }
address a:hover { color: #ffffff; }
address {
  font-style: normal; margin-top: 34px; color: #b7bdc6; line-height: 1.7;
  border-top: 1px solid var(--green-line); padding-top: 24px;
  font-size: 0.97rem;
}
.footer { border-top: 1px solid var(--green-line); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; padding-bottom: 22px;
  font-size: 0.9rem; color: #99a0ab;
}
.footer a { color: #c7cdd5; text-decoration: none; }
.footer a:hover { color: #ffffff; }

/* ---------- reveal-animatie (alleen actief mét JavaScript) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- mobiel ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding: 40px 0 64px; }
  .hero-grid, .over-grid, .slot-grid { grid-template-columns: 1fr; gap: 36px; }
  .dienst-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-grid figure img { aspect-ratio: 4 / 3 !important; }
  .review-grid { grid-template-columns: 1fr; grid-template-areas: "feat" "a" "b"; }
  .slot { padding-top: 64px; }
}
@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .footer-inner { flex-direction: column; gap: 8px; }
}
