/* -------------------------------------------------------------------
   Mariecure · gedeeld stylesheet
   Brand: wit dominant, lichtroze secties, donkerroze accent, zwart tekst.
   Type: Fraunces (titels) + Inter (body).
   ------------------------------------------------------------------- */

:root {
  --white: #FFFFFF;
  --black: #000000;
  --pink-light: #F2E0DC;
  --pink-dark: #B87870;

  --bg: var(--white);
  --surface: var(--white);
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --border: #ece4e1;
  --accent: var(--pink-dark);
  --accent-hover: #9c5f57;
  --soft: var(--pink-light);

  --accent-soft: color-mix(in oklch, var(--accent) 18%, transparent);
  --soft-strong: color-mix(in oklch, var(--soft) 80%, white);

  /* Eén lettertype overal, gelijk aan het vaste lint bovenaan (Inter). */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --fs-h1: clamp(40px, 6.2vw, 76px);
  --fs-h2: clamp(28px, 3.6vw, 44px);
  --fs-h3: 20px;
  --fs-lead: 18px;
  --fs-body: 17px;
  --fs-meta: 13px;

  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 56px;
  --gap-2xl: 96px;

  --container: 1180px;
  --container-narrow: 760px;
  --gutter: 28px;

  --radius: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}

/* --- reset & base -------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.3;
  letter-spacing: -0.005em;
  font-weight: 600;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

/* --- layout primitives --------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 10vw, 120px);
}

.section-soft {
  background: var(--soft);
}

.stack>*+* {
  margin-top: var(--gap-md);
}

.row {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--gap-md);
}

.eyebrow.is-lg {
  font-size: 21px;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}

/* --- topnav -------------------------------------------------------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 2px solid var(--accent);
}

.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: var(--gap-lg);
}

.topnav .brand {
  display: inline-flex;
  align-items: center;
  color: var(--fg);
}

.topnav .brand img {
  height: 52px;
  width: auto;
}

@media (max-width: 720px) {
  .topnav .brand img {
    height: 42px;
  }
}

.topnav nav {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
}

.topnav nav a {
  position: relative;
  font-size: 14.5px;
  color: var(--fg);
  padding-block: 6px;
  letter-spacing: 0.01em;
  transition: color .2s ease;
}

.topnav nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.topnav nav a:hover {
  color: var(--accent);
}

.topnav nav a:hover::after,
.topnav nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.topnav nav a[aria-current="page"] {
  color: var(--accent);
}

/* mobile menu toggle */
.nav-toggle {
  display: none;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
  }

  .topnav nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 12px var(--gutter);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }

  .topnav nav a {
    padding-block: 14px;
    border-top: 1px solid var(--border);
    width: 100%;
  }

  .topnav nav a:first-child {
    border-top: 0;
  }

  .topnav[data-open="true"] nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* --- buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--black);
  border-color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  padding-inline: 4px;
  border-radius: 0;
  border-bottom: 1px solid var(--accent);
}

.btn-ghost:hover {
  color: var(--accent);
}

.btn-arrow::after {
  content: '\2192';
  transition: transform .2s ease;
  display: inline-block;
}

.btn-arrow:hover::after {
  transform: translateX(3px);
}

/* --- hero (home) --------------------------------------------------- */
.hero {
  padding-block: clamp(64px, 9vw, 128px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0 0 24px;
}

.hero-subtitle em {
  font-style: normal;
  color: var(--accent);
}

.hero-copy .lead {
  margin-bottom: 32px;
  max-width: 42ch;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* visual: photo on a soft pink panel */
.hero-visual {
  position: relative;
}

.hero-photo {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 430px;
}

.hero-photo::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: -26px -22px -26px 9%;
  background: var(--soft);
  border-radius: var(--radius-lg);
}

.hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.22);
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-photo {
    max-width: 420px;
    margin-inline: auto;
  }

  .hero-photo::before {
    inset: -18px -16px -18px 10%;
  }
}

/* --- welcome / intro section --------------------------------------- */
.intro {
  text-align: center;
  padding-block: clamp(56px, 8vw, 100px);
}

.intro p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg);
}

.intro .ornament {
  width: 64px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 28px;
}

.intro .ornament.is-bottom {
  margin: 28px auto 0;
}

/* --- treatment teaser cards (home) --------------------------------- */
.treatments-teaser {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.t-card {
  --t-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 28px 18px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  background: var(--soft);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color .8s var(--t-ease),
    border-color .8s var(--t-ease),
    color .7s var(--t-ease);
}

.t-card::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width .8s var(--t-ease);
}

.t-card:hover,
.t-card:focus-visible {
  background-color: var(--white);
  border-color: var(--accent);
  color: var(--accent);
}

.t-card:hover::after,
.t-card:focus-visible::after {
  width: 28px;
}

.t-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  .t-card,
  .t-card::after {
    transition: none;
  }
}

@media (max-width: 980px) {
  .treatments-teaser {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .treatments-teaser {
    grid-template-columns: 1fr;
  }
}

/* --- salon photo grid (home) --------------------------------------- */
.photo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.photo-grid-3 img,
.photo-grid-3 .ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

@media (max-width: 860px) {
  .photo-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .photo-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* --- reviews (home) ------------------------------------------------ */
/* Flex i.p.v. grid zodat een oneven aantal reviews (bv. 5) netjes uitkomt:
   de laatste rij wordt gecentreerd in plaats van een leeg vak te tonen. */
.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.review-card {
  margin: 0;
  flex: 1 1 280px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  border: 1px solid color-mix(in oklab, var(--accent) 22%, transparent);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
}

.review-card .stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 3px;
  line-height: 1;
}

.review-card blockquote {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--fg);
}

.review-card figcaption {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

/* --- section heading (page titles + section labels) ---------------- */
.section-title {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-title.is-compact {
  margin-bottom: clamp(16px, 2vw, 28px);
}

.section-title .eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
}

.section-title h1,
.section-title h2 {
  max-width: 22ch;
  margin-inline: auto;
}

/* Paginatitels (Behandelingen / Foto's / Contact) op dezelfde grootte als de
   behandelingstitels (h2), zoals gevraagd. */
.section-title h1 {
  font-size: var(--fs-h2);
}

/* Zelfde look als de eyebrow-<p> die hier eerst stond: de h1 is er voor Google,
   de klant wil geen zichtbare wijziging. */
.section-title h1.eyebrow {
  line-height: inherit;
  margin-top: 18px;
  max-width: 56ch;
  text-wrap: pretty;
}

.section-title p {
  color: var(--muted);
  margin-top: 18px;
  max-width: 56ch;
  margin-inline: auto;
}

/* --- treatments page: per-treatment block -------------------------- */
.treatments-list {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.treatment {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(26px, 3.5vw, 44px);
  align-items: start;
  background: var(--soft);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  border-radius: var(--radius-lg);
  /* land mooi onder de sticky topnav (~72px) bij anchor-clicks vanaf home */
  scroll-margin-top: 96px;
}

.treatment-copy h2 {
  color: var(--fg);
  margin-bottom: 14px;
}

.treatment-copy p {
  color: var(--fg);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 48ch;
  margin: 0;
  text-align: justify;
  hyphens: auto;
}

.pricelist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricelist li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding-block: 13px;
  border-bottom: 1.5px solid var(--accent);
  font-size: 16px;
}

.pricelist li:last-child {
  border-bottom: 0;
}

.pricelist .item {
  color: var(--fg);
}

.pricelist .price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
  .treatment {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* --- info block (belangrijke opmerkingen) -------------------------- */
.info-block {
  background: transparent;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
}

.info-block .info-mark {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.info-block h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 4px 0 14px;
  color: var(--fg);
}

.info-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-block li {
  position: relative;
  padding-left: 22px;
  padding-block: 8px;
  color: var(--fg);
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 400;
}

.info-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

@media (max-width: 560px) {
  .info-block {
    grid-template-columns: 1fr;
  }
}

/* --- gallery (foto's pagina) --------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery .tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  /* Knop volledig platleggen: zonder padding/native opmaak vult de foto tot
     tegen de rand, anders blijft er witruimte staan. */
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  /* Vaste roze rand rond elke foto, gelijk aan alle kanten, zodat Marieke
     foto's zonder eigen kader kan posten. */
  border: 4px solid var(--accent);
  background: var(--white);
  cursor: zoom-in;
  transition: transform .25s ease;
}

.gallery .tile:hover {
  transform: translateY(-3px);
}

.gallery .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery .tile.placeholder {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 28px;
  background: linear-gradient(135deg, var(--soft), var(--soft-strong));
}

@media (max-width: 980px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  place-items: center;
  z-index: 100;
  padding: 24px;
}

.lightbox[data-open="true"] {
  display: grid;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox .close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 20px;
  display: grid;
  place-items: center;
}

.lightbox .close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* --- contact page -------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.contact-card h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  border-bottom: 1px dashed var(--pink-light);
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--fg);
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-list .day {
  color: var(--fg);
  font-weight: 600;
}

.hours-list .time {
  color: var(--fg);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.hours-note {
  margin-top: 18px;
  color: var(--accent);
  font-weight: 600;
  font-style: normal;
  font-size: 16.5px;
  line-height: 1.7;
}

.address {
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--fg);
  margin: 0;
}

.address a {
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}

.address a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.social-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--fg);
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s ease, border-color .2s ease;
}

.social-list a:last-child {
  border-bottom: 0;
}

.social-list .icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--soft);
  color: var(--accent);
  transition: background .2s ease, color .2s ease;
}

.social-list a:hover {
  color: var(--accent);
}

.social-list a:hover .icon {
  background: var(--accent);
  color: var(--white);
}

.map-wrap {
  margin-top: clamp(48px, 6vw, 80px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 21 / 9;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .map-wrap {
    aspect-ratio: 4 / 3;
  }
}

/* --- contact: tweekoloms (info links, formulier rechts) ------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: clamp(30px, 4vw, 46px);
}

.contact-intro {
  color: var(--fg);
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 400;
  margin: 0 0 26px;
  max-width: 46ch;
}

/* rij van 3 ronde icoonknoppen, zonder tekst */
.social-buttons {
  display: flex;
  gap: 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.social-buttons a {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--soft);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  transition: background .2s ease, color .2s ease, transform .12s ease;
}

.social-buttons a:hover {
  background: var(--accent);
  color: var(--white);
}

.social-buttons a:active {
  transform: translateY(1px);
}

.social-buttons a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* contactformulier */
.contact-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: .01em;
}

.field input,
.field textarea {
  font: inherit;
  font-weight: 400;
  color: var(--fg);
  width: 100%;
  padding: 13px 16px;
  background: color-mix(in oklab, var(--soft) 40%, white);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b3aaa6;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 4px;
}

.contact-form .btn[disabled] {
  opacity: .6;
  cursor: progress;
}

.form-status {
  font-size: 15px;
  line-height: 1.5;
  margin: 4px 0 0;
}

.form-status[data-state="success"] {
  color: #2f7d4f;
  font-weight: 600;
}

.form-status[data-state="error"] {
  color: #c0392b;
}

/* Honeypot tegen spam. display:none en niet offscreen: browser-autofill vult
   offscreen velden wel in, waardoor Formspree echte berichten als spam ziet. */
.hp {
  display: none;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* --- footer -------------------------------------------------------- */
.pagefoot {
  background: var(--white);
  padding-block: 40px;
  color: var(--muted);
  font-size: 14px;
}

.pagefoot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-lg);
}

.pagefoot .socials {
  display: flex;
  gap: 12px;
}

.pagefoot .socials a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--soft);
  transition: background .2s ease, color .2s ease;
}

.pagefoot .socials a:hover {
  background: var(--accent);
  color: var(--white);
}

@media (max-width: 720px) {
  .pagefoot-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

/* --- back-to-top knop ---------------------------------------------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  z-index: 60;
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--black);
}

.to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .to-top {
    transition: opacity .2s ease, visibility .2s ease;
  }
}

/* --- fade-in on scroll (subtle) ------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}