/* My Village — website. Zelfde palet en letters als de app (src/theme). */

:root {
  --bg: #F7EFE9;
  --surface: #FFFBF8;
  --surface-alt: #F2E6DF;
  --blush: #EBD6CE;
  --blush-soft: #F6EAE4;
  --text: #4A3D35;
  --text-muted: #8A7A70;
  --text-inverse: #FFFDFB;
  --primary: #C4826F;
  --primary-deep: #A9695B;
  --primary-soft: #F1DCD5;
  --sage: #9DAA8F;
  --sage-soft: #E3E8DB;
  --olive: #6E7A55;
  --gold: #B8976A;
  --border: #EADCD3;

  --display: "Playfair Display", Georgia, serif;
  --body: "Nunito", system-ui, sans-serif;
  --script: "Parisienne", cursive;

  --maat: 1.0625rem;
  --kolom: 68ch;
  --rand: 16px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--maat);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary-deep); text-decoration-color: var(--blush); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--primary); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; color: var(--text); letter-spacing: -0.005em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.schrift {
  font-family: var(--script);
  font-weight: 400;
  color: var(--primary);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.1;
}

/* ------------------------------- kop ------------------------------------ */

.kop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--rand);
  max-width: 1120px;
  margin: 0 auto;
}

.merk {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.3rem;
}

.merk img { width: 42px; height: 42px; border-radius: 12px; }

.kop nav { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: flex-end; }
.kop nav a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: .95rem; }
.kop nav a:hover, .kop nav a[aria-current] { color: var(--primary-deep); }
@media (max-width: 520px) {
  .kop { padding-top: .8rem; padding-bottom: .8rem; }
  .kop nav { gap: .5rem .9rem; }
  .kop nav a { font-size: .88rem; }
}

/* ------------------------------- home ----------------------------------- */

.held {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4rem) var(--rand) clamp(2.5rem, 6vw, 5rem);
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 760px) {
  .held { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
}

.held p.intro { font-size: 1.15rem; max-width: 34em; color: var(--text); }

.boog {
  width: min(360px, 78%);
  aspect-ratio: 1 / 1.3;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  margin: 0 auto;
  background: var(--blush);
  box-shadow: 0 24px 60px -30px rgba(74, 61, 53, .45);
  position: relative;
}
.boog img { width: 100%; height: 100%; object-fit: cover; }

.knop {
  display: inline-block;
  background: var(--primary);
  color: var(--text-inverse);
  padding: .85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: background .15s ease;
}
.knop:hover { background: var(--primary-deep); }

.knop-rustig {
  display: inline-block;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--primary-deep);
  border: 1.5px solid var(--border);
  background: var(--surface);
}

.acties { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-top: 1.4rem; }
.acties small { display: block; width: 100%; color: var(--text-muted); font-size: .9rem; margin-top: .25rem; }

.blok { max-width: 1120px; margin: 0 auto; padding: 0 var(--rand) clamp(2.5rem, 6vw, 5rem); }

.drie { display: grid; gap: 1.2rem; margin-top: 1.6rem; }
@media (min-width: 700px) { .drie { grid-template-columns: repeat(3, 1fr); } }

.kaart {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.5rem;
}
.kaart .bol {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 1rem;
  background: var(--primary-soft); color: var(--primary-deep);
}
.kaart:nth-child(2) .bol { background: var(--sage-soft); color: var(--olive); }
.kaart:nth-child(3) .bol { background: var(--blush); color: var(--primary-deep); }
.kaart h3 { margin-bottom: .4rem; }
.kaart p { margin: 0; color: var(--text-muted); }

.belofte {
  background: var(--surface-alt);
  border-radius: 28px;
  padding: clamp(1.6rem, 4vw, 3rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 820px) { .belofte { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.belofte ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.belofte li { padding-left: 1.6rem; position: relative; }
.belofte li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 10px; height: 10px; border-radius: 50%; background: var(--sage);
}
.belofte .foto { border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; }
.belofte .foto img { width: 100%; height: 100%; object-fit: cover; }

.contact { text-align: center; }
.contact a.mail { font-family: var(--display); font-size: clamp(1.3rem, 3vw, 1.8rem); }

/* ------------------------------- tekstpagina ---------------------------- */

.tekst {
  max-width: var(--kolom);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) var(--rand) 4rem;
}
.tekst header { margin-bottom: 2rem; }
.tekst header .datum { color: var(--text-muted); font-size: .95rem; margin-top: .6rem; }
.tekst h2 { margin: 2.2rem 0 .6rem; font-size: 1.45rem; }
.tekst h3 { margin: 1.6rem 0 .4rem; font-family: var(--body); font-weight: 700; font-size: 1.05rem; }
.tekst ul, .tekst ol { padding-left: 1.3rem; margin: 0 0 1em; }
.tekst li { margin-bottom: .35em; }
.tekst strong { font-weight: 700; }
.tekst .samenvatting {
  background: var(--primary-soft);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  margin: 0 0 1.5rem;
}
.tekst .samenvatting p { margin: 0; }
.tekst .waarschuwing {
  border-left: 3px solid var(--primary);
  padding: .2rem 0 .2rem 1rem;
  margin: 1.2rem 0;
}

.tabel { overflow-x: auto; margin: 1rem 0 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid var(--border); }
th { font-weight: 700; color: var(--text-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
td:first-child { font-weight: 600; }

/* ------------------------------- voet ----------------------------------- */

.voet {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2rem var(--rand) 3rem;
  color: var(--text-muted);
  font-size: .92rem;
}
.voet .binnen { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.voet nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.voet a { color: var(--text-muted); text-decoration: none; }
.voet a:hover { color: var(--primary-deep); }

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