:root {
  --olive: #595842;
  --olive-dark: #3f3e2f;
  --forest: #202a1c;
  --cream: #f5ede0;
  --cream-light: #faf6ef;
  --gold: #c1a360;
  --white: #ffffff;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Jost', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--olive-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
section[id] { scroll-margin-top: 64px; }

.label {
  display: block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* Dunne goudlijn met punt, zoals onder "OMAGE" in het logo */
.rule {
  display: block;
  position: relative;
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 1.5rem;
}
.rule::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}
.rule--center { margin-left: auto; margin-right: auto; }

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease;
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}
.nav__logo img { height: 28px; width: auto; }
.nav__links { display: flex; gap: 2rem; font-size: 0.95rem; letter-spacing: .03em; }
.nav__links a { color: var(--cream-light); }
.nav__links a:focus-visible, .nav__logo:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.nav--solid { background: var(--cream-light); box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.nav--solid .nav__links a { color: var(--olive-dark); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--cream-light); transition: background .3s; }
.nav--solid .nav__toggle span,
.nav__links.is-open + .nav__toggle span { background: var(--olive-dark); }

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 320px;
    background: var(--cream-light);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.75rem;
    visibility: hidden;
    transition: right .3s ease, visibility 0s linear .3s;
  }
  .nav__links.is-open { right: 0; visibility: visible; transition: right .3s ease; box-shadow: -8px 0 30px rgba(0,0,0,.12); }
  .nav__links a { color: var(--olive-dark); font-size: 1.15rem; }
  .nav__toggle { display: flex; z-index: 110; }
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--forest);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/img/hero-1600.jpg');
  background-image: image-set(url('assets/img/hero-1600.jpg') 1x, url('assets/img/hero-2400.jpg') 2x);
  background-size: cover;
  background-position: 60% 45%;
  transform: scale(1.06);
  animation: hero-drift 24s ease-out forwards;
}
@keyframes hero-drift { to { transform: scale(1); } }
@media (max-width: 768px) {
  .hero__bg { background-image: url('assets/img/hero-mobiel-900.jpg'); background-position: center; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(32,42,28,.42) 0%, rgba(32,42,28,0) 60%),
    linear-gradient(180deg, rgba(32,42,28,.35) 0%, rgba(32,42,28,.75) 100%);
}
.hero__content { position: relative; z-index: 1; text-align: center; padding: 0 1.5rem; }
.hero__logo {
  max-width: 420px; width: 80vw; margin: 0 auto;
}
@keyframes hero-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--cream-light);
  font-size: 1.5rem;
  z-index: 1;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* About */
.about { padding: 6rem 1.5rem; background: var(--cream); }
.about__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__image { position: relative; }
.about__image::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: 4px;
}
.about__image img { position: relative; border-radius: 4px; width: 100%; height: 560px; object-fit: cover; object-position: center 30%; }
.about__text h2 { font-size: 2.25rem; margin-bottom: 1.25rem; color: var(--olive-dark); }
.about__text p { margin-bottom: 1rem; }
.about__tagline { font-family: var(--font-display); font-size: 1.1rem; color: var(--olive-dark); margin-top: 1.75rem; line-height: 1.5; }
.about__tagline em { font-style: italic; color: var(--gold); font-size: 1.2rem; }
.about__signature {
  font-family: 'Herr Von Muellerhoff', cursive;
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  color: #23231b;
  /* een haarfijne rand in de achtergrondkleur maakt de pennenstreek fijner */
  -webkit-text-stroke: .22px var(--cream);
  text-align: right;
  margin: .9rem var(--sig-shift, 0) 0 0 !important;
}
/* tagline + handtekening als één blok: de J van "Janice" staat onder "lt" van "telt" */
.about__closing { width: fit-content; max-width: 100%; }
.about__closing .about__signature { --sig-shift: -2.2rem; }
@media (max-width: 520px) {
  .about__tagline em { font-size: min(1.2rem, 4.1vw); }
  .about__closing .about__signature { --sig-shift: -1.4rem; }
}

@media (max-width: 860px) {
  .about__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about__image { margin-right: 18px; }
  .about__image img { height: 440px; }
}

/* De hoeve */
.estate { padding: 6rem 1.5rem; background: var(--cream-light); }
.estate__inner { max-width: 1100px; margin: 0 auto; }
.estate__head { max-width: 660px; margin: 0 auto 2.5rem; text-align: center; }
.estate__head h2 { font-size: 2.25rem; margin-bottom: 1.25rem; }
.estate__head p + p { margin-top: .9rem; }
.estate__cta { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--gold); }

.compare {
  position: relative;
  aspect-ratio: 1147 / 670;
  /* zo groot dat de hele afbeelding op een laptopscherm past */
  max-width: min(920px, calc((100vh - 150px) * 1147 / 670));
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 18px 40px -24px rgba(32,42,28,.45);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); }
.compare.is-switching .compare__img { opacity: 0; }
.compare__img { transition: opacity .3s ease; }

/* Keuze tussen gevel, exterieur en interieur */
.views { display: flex; justify-content: center; gap: 2.25rem; margin: -.75rem 0 1.4rem; }
.views__tab {
  background: none; border: 0; padding: .35rem 0; cursor: pointer;
  font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(89,88,66,.6);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.views__tab:hover { color: var(--olive-dark); }
.views__tab[aria-selected="true"] { color: var(--olive-dark); border-bottom-color: var(--gold); }
.views__tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Toen / Nu-keuze linksonder in de schuifregelaar */
.compare__phase {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 3;
  display: inline-flex; padding: 3px; gap: 2px;
  border-radius: 999px; background: rgba(250,246,239,.9);
}
.compare__phase[hidden] { display: none; }
.compare__phase button {
  border: 0; cursor: pointer; padding: .3rem .75rem; border-radius: 999px; background: transparent;
  font-family: var(--font-body); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(63,62,47,.6);
  transition: background .2s, color .2s;
}
.compare__phase button[aria-pressed="true"] { background: var(--olive-dark); color: var(--cream-light); }
.compare__phase button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.compare[data-view="exterieur"] .compare__tag--left, .compare[data-view="interieur"] .compare__tag--left { display: none; }
@media (max-width: 600px) {
  .views { gap: 1.25rem; }
  .views__tab { font-size: .7rem; letter-spacing: .14em; }
}
.compare__sketch { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 1px;
  background: var(--cream-light);
  pointer-events: none;
}
.compare__handle span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream-light);
  color: var(--olive-dark);
  border: 1px solid var(--gold);
  font-size: 1.15rem;
  box-shadow: 0 4px 16px rgba(32,42,28,.25);
}
.compare:focus-within .compare__handle span { outline: 2px solid var(--gold); outline-offset: 3px; }
.compare__tag {
  position: absolute;
  bottom: 1rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  pointer-events: none;
}
.compare__tag--left { left: 1rem; background: rgba(250,246,239,.88); color: var(--olive-dark); }
.compare__tag--right { right: 1rem; background: rgba(32,42,28,.65); color: var(--cream-light); }
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none; /* slepen gebeurt via de afbeelding zelf; deze balk is er voor het toetsenbord */
}
.compare { cursor: ew-resize; -webkit-tap-highlight-color: transparent; }
.compare img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; pointer-events: none; }
.views__tab, .compare__phase button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; position: relative; z-index: 2; }

@media (max-width: 768px) {
  .compare { aspect-ratio: 4 / 3; }
}

/* Contact */
/* Aanbod */
.offer { padding: 4rem 1.5rem; background: var(--cream); border-top: 1px solid rgba(193,163,96,.28); }
.offer__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.offer h2 { font-size: 2.25rem; margin-bottom: 1rem; }
.offer__note { margin-top: 1.25rem; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--gold); }
.offer__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 480px;
  margin: 2rem auto 0;
}
.offer__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; box-shadow: 0 14px 30px -22px rgba(32,42,28,.5); }
@media (max-width: 600px) { .offer__photos { gap: .6rem; } }

.contact { position: relative; padding: 4rem 1.5rem 2rem; background: var(--cream-light); border-top: 1px solid rgba(193,163,96,.28); }
.contact__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact__intro h2 { font-size: 2.25rem; margin-bottom: 1.25rem; }
.contact__intro p { margin-bottom: 1rem; }
.contact__lead { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--olive); }
.contact__signoff { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); margin: 1rem 0 1.25rem !important; }
.contact__details { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.contact__location { display: flex; align-items: center; gap: .55rem; color: var(--olive-dark); cursor: default; }
.contact__icon { display: inline-flex; color: var(--gold); }
.contact__details a { color: var(--olive); border-bottom: 1px solid var(--gold); padding-bottom: 2px; display: inline-block; }
.form__row { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.form__row label { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--olive); }
.form__row input, .form__row textarea {
  font-family: var(--font-body);
  padding: .75rem 1rem;
  border: 1px solid rgba(89,88,66,.3);
  border-radius: 4px;
  background: var(--cream);
  font-size: 1rem;
  color: var(--olive-dark);
}
.form__row input:focus, .form__row textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.hp-field { position: absolute; left: -9999px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--olive);
  color: var(--cream-light);
  border: 1px solid var(--olive);
  padding: .9rem 2rem;
  font-family: var(--font-body);
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--olive-dark); border-color: var(--olive-dark); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.form__status { margin-top: 1rem; font-size: .9rem; min-height: 1.2em; }
.form__status:empty { margin: 0; min-height: 0; }
.form__status.is-success { color: #3f6b3f; }
.form__status.is-error { color: #a3402f; }

@media (max-width: 860px) {
  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Onderwerpkeuze in het contactformulier */
.form__topic { border: 0; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.form__topic legend { width: 100%; margin-bottom: .55rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--olive); }
.topic { position: relative; cursor: pointer; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic span {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem 1rem;
  border: 1px solid rgba(89,88,66,.3);
  border-radius: 999px;
  background: var(--cream);
  font-size: .92rem;
  color: var(--olive-dark);
  transition: border-color .2s, background .2s;
}
.topic span::before {
  content: '';
  width: 14px; height: 14px; flex: none;
  border-radius: 50%;
  border: 1px solid rgba(89,88,66,.45);
  background: var(--cream-light);
  transition: border-color .2s, box-shadow .2s;
}
.topic:hover span { border-color: var(--gold); }
.topic input:checked + span { border-color: var(--gold); background: var(--cream-light); }
.topic input:checked + span::before { border-color: var(--gold); box-shadow: inset 0 0 0 3px var(--cream-light); background: var(--gold); }
.topic input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Blokje van de maker: uitleg | website creatie | social media content */
.maker { background: var(--cream-light); color: var(--olive); padding: 1.75rem 1.5rem 1.9rem; border-top: 1px solid rgba(193,163,96,.28); }
.maker__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.1fr;
  gap: 0 2.5rem;
  align-items: stretch;
}
.maker .label { font-size: .64rem; margin: 0 0 .35rem; color: var(--gold); }
.maker h2 { font-size: 1.05rem; font-weight: 500; color: var(--olive-dark); margin: 0 0 .55rem; }
.maker__col:not(.maker__col--intro) { padding-left: 2.5rem; border-left: 1px solid rgba(193,163,96,.28); margin-left: -1.25rem; }
.maker .maker__kicker { font-size: .62rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin: 0 0 .35rem; }
.maker h3 { font-family: var(--font-display); font-size: .98rem; font-weight: 500; color: var(--olive-dark); margin: 1.05rem 0 .55rem; }
.maker p { font-size: .8rem; line-height: 1.6; margin-bottom: .45rem; color: rgba(89,88,66,.92); }
.maker strong { font-weight: 500; color: var(--olive-dark); }
.maker__link { color: var(--olive-dark); border-bottom: 1px solid var(--gold); padding-bottom: 1px; white-space: nowrap; transition: color .2s; }
.maker__link:hover { color: var(--gold); }
.maker__link:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
.maker .maker__closing { margin: 1rem 0 0; font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: .88rem; }
@media (max-width: 900px) {
  .maker__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .maker__col:not(.maker__col--intro) { padding: 1.25rem 0 0; margin: 0; border-left: 0; border-top: 1px solid rgba(193,163,96,.28); }
}

/* Footer — compact en ingetogen */
.footer {
  background: var(--forest);
  color: var(--cream-light);
  padding: 1.75rem 1.5rem 1.1rem;
  text-align: center;
}
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
}
.footer__brand { display: block; }
.footer__logo { height: 104px; width: auto; margin: -8px 0 -6px; }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 2rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .25em;
}
.footer__nav a { color: var(--cream-light); opacity: .8; transition: color .25s, opacity .25s; }
.footer__nav a:hover { color: var(--gold); opacity: 1; }
.footer a:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.footer__bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(245,237,224,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: rgba(245,237,224,.45);
}
.footer__social {
  font-size: .85rem;
  text-transform: none;
  letter-spacing: .03em;
  color: var(--cream-light);
  opacity: .85;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color .25s, opacity .25s;
}
.footer__social:hover { color: var(--gold); opacity: 1; }
@media (max-width: 600px) {
  .footer__nav { gap: .6rem 1.25rem; letter-spacing: .2em; }
  .footer__bottom { flex-direction: column-reverse; gap: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg { animation: none; transform: none; }
  .hero__scroll { animation: none; }
}
