/* ================= POLCA wassalon ================= */
:root {
  --blue: #7a4a1f;          /* logo-bruin, primaire accentkleur */
  --blue-dark: #3e2712;
  --blue-deep: #5a3717;
  --sky: #e8c186;           /* licht zandkleurig accent */
  --accent: #f59e0b;
  --ink: #2b2015;
  --muted: #6e6152;
  --bg: #ffffff;
  --bg-alt: #f8f1e7;
  --card: #ffffff;
  --line: #e9ddca;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(62, 39, 18, .10);
  --shadow-lg: 0 22px 50px rgba(62, 39, 18, .18);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
::selection { background: var(--sky); color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); font-weight: 700; letter-spacing: -.01em; }
h1 em { font-style: normal; color: var(--blue); position: relative; display: inline-block; }
h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .05em;
  height: .28em; background: var(--sky); z-index: -1; border-radius: 4px; opacity: .55;
  transform: scaleX(0); transform-origin: left;
  animation: underline-draw .7s var(--ease) .9s forwards;
}
@keyframes underline-draw { to { transform: scaleX(1); } }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: .5em; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; margin-bottom: .4em; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 700; color: var(--blue); margin-bottom: .6em;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; opacity: .7; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 1em 0 1.6em; max-width: 34em; }
.section-intro { color: var(--muted); max-width: 44em; margin-bottom: 2rem; }
.section-intro.center { margin: 2rem auto 0; text-align: center; }
.fine { color: var(--muted); font-size: .85rem; margin-top: 1.2rem; }

/* ---------- Scroll-reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(62, 39, 18, .08); background: rgba(255,255,255,.96); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .3s var(--ease); }
.site-header.scrolled .nav { height: 62px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 46px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand-logo { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a:not(.btn) {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem;
  position: relative; padding: 4px 0;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--blue); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).active::after { transform: scaleX(1); }
.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { color: var(--blue); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff !important;
  text-decoration: none; font-weight: 600; padding: 13px 26px;
  border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: 0 4px 14px rgba(122, 74, 31, .35);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(122, 74, 31, .4); }
.btn:hover::after { transform: translateX(120%); }
.btn-small { padding: 9px 20px; font-size: .9rem; }
.btn-ghost {
  background: transparent; color: var(--blue) !important;
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.btn-light { background: #fff; color: var(--blue-dark) !important; box-shadow: 0 4px 14px rgba(0,0,0,.18); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 0; overflow: hidden; position: relative;
  color: #f0e4d3; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("images/paardendekens-web.jpg") center 32% / cover no-repeat;
  animation: kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(50, 30, 12, .90), rgba(74, 45, 18, .78));
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1) translate(-1.5%, 1%); } }
.hero > .container, .hero .wave-divider { position: relative; z-index: 1; }
.hero-in {
  opacity: 0; transform: translateY(22px);
  animation: hero-in .9s var(--ease) var(--d, 0s) forwards;
}
@keyframes hero-in { to { opacity: 1; transform: none; } }
.hero .eyebrow { color: var(--sky); }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--sky); }
.hero h1 em::after { opacity: .25; }
.hero .lead { color: #ead9c2; }
.hero .hero-usps li { color: #ead9c2; }
.hero .btn-ghost {
  color: #fff !important;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55);
}
.hero .btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding-bottom: 48px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-usps { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin-top: 2rem; }
.hero-usps li {
  font-size: .9rem; font-weight: 600; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.hero-usps li::before {
  content: "✓"; color: #fff; background: var(--blue); border-radius: 50%;
  width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center;
  font-size: .7rem; flex: none;
}
.washer-illo {
  width: min(340px, 80vw); margin: 0 auto;
  filter: drop-shadow(0 24px 44px rgba(20, 10, 2, .45));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.wave-divider svg { width: 100%; height: 70px; display: block; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(150deg, var(--blue-dark), var(--blue-deep));
  color: #f0e4d3; position: relative; overflow: hidden;
}
.section-dark > .container { position: relative; z-index: 1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--sky); }
.section-dark a:not(.btn) { color: var(--sky); }
.horse-watermark {
  position: absolute; right: -60px; bottom: -40px; width: 620px; height: 420px;
  background: url("images/cropped-logo_transparant.png") no-repeat;
  background-size: 1300px auto; background-position: -40px -70px;
  filter: brightness(0) invert(1); opacity: .06; pointer-events: none;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 2rem; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #dcc9ad; }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); font-size: .93rem; }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--bg-alt);
  color: var(--blue); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; padding: 13px;
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.card:hover .card-icon { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.06); }

/* ---------- Tarieven ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.price-col {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.price-col:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-col h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; font-size: 1.35rem; }
.token {
  width: 26px; height: 26px; border-radius: 50%; display: inline-block; flex: none;
  position: relative; overflow: hidden;
}
.token::after {
  content: ""; position: absolute; inset: -40% -60%;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.75) 50%, transparent 60%);
  animation: token-shine 3.5s ease-in-out infinite;
}
@keyframes token-shine { 0%, 60% { transform: translateX(-70%); } 100% { transform: translateX(70%); } }
.token-gold { background: radial-gradient(circle at 35% 30%, #fde68a, #d97706); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35), 0 2px 6px rgba(217,119,6,.35); }
.token-silver { background: radial-gradient(circle at 35% 30%, #f1f5f9, #94a3b8); box-shadow: inset 0 0 0 3px rgba(255,255,255,.45), 0 2px 6px rgba(100,116,139,.3); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 13px 12px; }
thead th {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); border-bottom: 2px solid var(--line);
}
tbody tr { border-bottom: 1px solid var(--line); transition: background .2s; }
tbody tr:hover { background: var(--bg-alt); }
tbody tr:last-child { border-bottom: none; }
td strong { color: var(--blue-dark); font-family: var(--font-head); font-size: 1.15rem; }
.price-note { font-size: .88rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Paardendekens ---------- */
.section-dark p { margin-bottom: 1em; }
.tips {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(4px);
}
.tip-list { list-style: none; margin-top: 1rem; }
.tip-list li { padding: 10px 0 10px 34px; position: relative; }
.tip-list li::before {
  content: "💡"; position: absolute; left: 0; top: 10px; font-size: 1.1rem;
}
.tip-list strong { color: #fff; }
.tips + .tips { margin-top: 24px; }
.pickup-banner {
  margin-top: 56px; background: var(--sky); color: var(--blue-dark);
  border-radius: var(--radius); padding: 28px 34px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.pickup-banner::before {
  content: ""; position: absolute; right: -30px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255,255,255,.22); pointer-events: none;
}
.pickup-banner p { margin: 0; font-size: 1.08rem; position: relative; }
.pickup-banner strong { color: var(--blue-dark); }
.pickup-banner .btn { position: relative; }

/* ---------- Uitrusting / stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 2.5rem;
}
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}
.stat-num {
  font-family: var(--font-head); font-size: 2.8rem; font-weight: 700;
  color: var(--blue); display: block; line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-num small { font-size: 1.1rem; margin-left: 2px; }
.stat-label { font-size: .85rem; color: var(--muted); display: block; margin-top: .5rem; }

.uitrusting-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px;
  align-items: center; margin-top: 2.5rem;
}
.machine-photos { padding: 20px 0; }
.polaroid {
  background: #fff; padding: 12px 12px 2px; border-radius: 12px;
  box-shadow: 0 16px 36px rgba(62, 39, 18, .20);
  width: min(82%, 360px);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.polaroid:hover { transform: rotate(0) scale(1.03); box-shadow: var(--shadow-lg); z-index: 2; position: relative; }
.polaroid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px;
  filter: sepia(.18) saturate(.88) contrast(1.02);
}
.polaroid figcaption {
  padding: 10px 6px 12px; font-size: .85rem; font-weight: 500;
  color: var(--muted); text-align: center;
}
.tilt-l { transform: rotate(-2.5deg); }
.tilt-r { transform: rotate(2deg); margin: 22px 0 0 auto; }
[data-reveal].tilt-l.is-visible { transform: rotate(-2.5deg); }
[data-reveal].tilt-r.is-visible { transform: rotate(2deg); }
[data-reveal].polaroid.is-visible:hover { transform: rotate(0) scale(1.03); }
.uitrusting-grid .stats { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.uitrusting-grid .section-intro { margin: 1.8rem 0 0; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin-top: 1.5rem; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--bg-alt);
  color: var(--blue); display: flex; align-items: center; justify-content: center;
  flex: none; padding: 11px;
}
.map-embed {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); min-height: 340px; display: flex; flex-direction: column;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: saturate(.85) sepia(.08); }
.map-link {
  display: block; text-align: center; padding: 14px; font-weight: 600;
  text-decoration: none; background: var(--bg-alt); border-top: 1px solid var(--line);
  transition: background .2s;
}
.map-link:hover { background: #f0e2cc; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-dark); color: #d9c6ab; padding: 28px 0; font-size: .88rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-social {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600;
  text-decoration: none; transition: opacity .2s;
}
.footer-social:hover { opacity: .8; }
.footer-social svg { width: 20px; height: 20px; }

/* ---------- Terug naar boven ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px;
  border-radius: 50%; background: var(--blue); color: #fff; padding: 12px;
  box-shadow: 0 8px 22px rgba(62, 39, 18, .35); z-index: 40;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--blue-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .price-grid, .uitrusting-grid { grid-template-columns: 1fr; }
  .machine-photos { padding: 10px 0 0; }
  .polaroid { width: min(88%, 360px); margin-inline: auto; }
  .tilt-r { margin: 18px auto 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 56px; min-height: 0; }
  .hero-visual { display: none; }
  .horse-watermark { width: 420px; height: 300px; background-size: 900px auto; background-position: -20px -40px; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 20px 24px; gap: 18px; align-items: flex-start;
    box-shadow: 0 16px 30px rgba(62, 39, 18, .12);
  }
  .nav-links.open { display: flex; }
}

/* ---------- Minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .washer-illo, .token::after { animation: none !important; }
  .hero-in { animation: none; opacity: 1; transform: none; }
  h1 em::after { animation: none; transform: none; }
  [data-reveal] { transition: none; }
  .card, .price-col, .stat, .polaroid, .btn { transition: none; }
}
