/* =========================================================
   GRADUS — stijlen
   1. Kleuren & lettertypes   (hier pas je de huisstijl aan)
   2. Basis
   3. Bouwstenen (knoppen, kaarten, labels)
   4. Secties, van boven naar onder
   ========================================================= */

/* ---------- 1. Kleuren & lettertypes ---------- */
:root {
  --terra: #A85C3A;
  --terra-dark: #944F2F;
  --kaki: #7C6E52;
  --gold: #C9A227;
  --sage: #8A9E7C;
  --brown: #2C1F1A;            /* donkere secties (contact, footer) */

  --bg: #F5EFE6;               /* pagina */
  --bg-tint: #EDE4D7;          /* afwisselende secties */
  --card: #F5EFE6;             /* kaarten */
  --text: #2C1F1A;
  --muted: #6B5A4E;
  --line: #D4C2AE;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 10px;
  --max: 1080px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1E1610; --bg-tint: #261C12; --card: #221912;
    --text: #EDE4D7; --muted: #B0A090; --line: #3D2E22;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1E1610; --bg-tint: #261C12; --card: #221912;
  --text: #EDE4D7; --muted: #B0A090; --line: #3D2E22;
  color-scheme: dark;
}

/* ---------- 2. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 300 1rem/1.7 var(--sans); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 300; margin-bottom: 1.1rem; }
h3 { font-size: 1.35rem; }
fieldset { border: 0; }

/* Taal: elke tekst staat er in het NL en EN; de verkeerde taal wordt verborgen */
html:not([data-lang="en"]) body [lang="en"],
html[data-lang="en"] body [lang="nl"] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(4rem, 8vw, 6rem); }
.section--tint { background: var(--bg-tint); }

/* ---------- 3. Bouwstenen ---------- */
.eyebrow, .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 500; }
.eyebrow { color: var(--terra); margin-bottom: 0.8rem; }
.label { color: var(--kaki); display: block; margin-bottom: 0.5rem; }
.label--step { margin: 2.75rem 0 1rem; scroll-margin-top: 90px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 42ch; margin-bottom: 2rem; }
.body { font-size: 1.05rem; color: var(--muted); max-width: 62ch; margin-bottom: 1rem; }
.note { font-size: 0.85rem; color: var(--muted); margin-top: 0.9rem; }
.note a { color: var(--terra); }
.hint { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--terra); font-weight: 500; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 4px; border: 1.5px solid transparent; font: 500 0.9rem var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn--primary { background: var(--terra); color: #fff; }
.btn--primary:hover { background: var(--terra-dark); }
.btn--outline { background: transparent; color: var(--terra); border-color: var(--terra); }
.btn--outline:hover { background: color-mix(in srgb, var(--terra) 8%, transparent); }
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.82rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-2--wide { gap: 4rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.grid-2 > *, .grid-3 > * { min-width: 0; }
.price { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }

/* ---------- 4. Secties ---------- */

/* Navigatie */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: var(--bg); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 101; background: var(--bg); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; position: relative; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 0.6rem; }
.brand__mark { height: 44px; width: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font: 600 1.5rem/1 var(--serif); color: var(--terra); letter-spacing: 0.04em; }
.brand__sub { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--kaki); }
.nav__links { display: flex; align-items: center; gap: 0.25rem; }
.nav__links > a:not(.btn) { font-size: 0.85rem; text-decoration: none; color: var(--muted); padding: 0.35rem 0.6rem; border-radius: 4px; }
.nav__links a, .brand__sub { white-space: nowrap; }
.nav__links > a:not(.btn):hover { color: var(--terra); }
.lang-switch { display: inline-flex; gap: 0.25rem; margin: 0 0.4rem; }
.lang-switch button { background: none; border: 1px solid var(--line); border-radius: 4px; padding: 0.25rem 0.5rem; font: 0.75rem var(--sans); color: var(--muted); cursor: pointer; }
.lang-switch button.is-active { background: var(--terra); border-color: var(--terra); color: #fff; }
.nav__toggle { display: none; background: none; border: 0; color: var(--text); padding: 0.4rem; cursor: pointer; }
@media (max-width: 920px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0.2rem; background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter); }
  .nav__links.is-open { display: flex; }
  .nav__links > a:not(.btn) { padding: 0.55rem 0; font-size: 0.95rem; }
  .lang-switch { margin: 0.5rem 0; }
}

/* Hero */
.hero { background: var(--bg-tint); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; padding-block: clamp(4rem, 9vw, 6.5rem); }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 300; line-height: 1.12; margin-bottom: 1.4rem; }
.hero__title em { color: var(--terra); }
.film { display: flex; flex-direction: column; gap: 0.6rem; }
.film__frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--brown); box-shadow: 0 18px 40px rgba(44,31,26,.22); outline: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); outline-offset: 4px; }
.film__frame video { width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem 0.55rem 0.8rem; border: 0; border-radius: 999px; background: var(--terra); color: #fff; font: 500 0.85rem var(--sans); cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.film__frame.is-playing .film__play { display: none; }
.film figcaption { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kaki); text-align: center; }

.strip { background: var(--terra); color: #fff; }
.strip__inner { display: grid; justify-items: center; gap: 0.25rem; padding-block: 1.1rem; text-align: center; }
.strip__line { font: italic 400 clamp(1.15rem, 2.4vw, 1.45rem)/1.3 var(--serif); }
.strip__sub { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.22em; opacity: 0.8; }

/* Over mij */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media (min-width: 801px) { .about > div:first-child { position: sticky; top: 96px; } }
.about__photo { width: 100%; aspect-ratio: 900/1224; object-fit: cover; object-position: top; border-radius: var(--radius); border: 1px solid var(--line); }
.photo-caption { margin-top: 0.8rem; font: italic 400 1.2rem var(--serif); color: var(--kaki); text-align: center; }
.intro { font: 400 1.5rem/1.3 var(--serif); color: var(--terra); margin-bottom: 0.9rem; }
.closing { font: italic 400 1.35rem/1.4 var(--serif); color: var(--terra); border-left: 2px solid var(--gold); padding-left: 1.1rem; margin: 1.4rem 0 0.5rem; max-width: 62ch; }
.body strong { color: var(--text); font-weight: 500; }
.quote { font: italic 300 1.45rem/1.4 var(--serif); color: var(--terra); border-left: 2px solid var(--gold); padding-left: 1.2rem; margin: 1.6rem 0; }
.beliefs { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 0.9rem; max-width: 62ch; }
.belief { padding-left: 1rem; border-left: 2px solid var(--gold); }
.belief h3 { font: 600 1.25rem/1.3 var(--serif); color: var(--terra); margin-bottom: 0.2rem; }
.belief p { font-size: 0.95rem; color: var(--muted); }

/* Aanbod — losse tarieven */
.rate { padding: 1.25rem 1.5rem; display: grid; gap: 0.5rem; }
.rate__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.rate__dur { font-size: 0.78rem; color: var(--kaki); }
.rate p { font-size: 0.9rem; color: var(--muted); }

/* Aanbod — programma's */
.programs { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.5rem; align-items: start; }
.program { display: flex; flex-direction: column; }
.program--featured { border-color: var(--terra); box-shadow: 0 10px 30px rgba(168,92,58,.12); }
.program__media { position: relative; aspect-ratio: 16/9; background: var(--bg-tint); }
.program__media img { width: 100%; height: 100%; object-fit: cover; }
.program__media--logo { background: #f8eee6; }
.program__media--logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4% 0; }
.badge { position: absolute; top: 0.85rem; left: 0.85rem; background: var(--terra); color: #fff; font-size: 0.72rem; font-weight: 500; padding: 0.3rem 0.65rem; border-radius: 999px; }
.program__body { padding: 1.5rem; display: grid; gap: 0.6rem; }
.program__body > p { font-size: 0.92rem; color: var(--muted); }
.program__foot { margin-top: auto; border-top: 1px solid var(--line); padding: 1.1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.program__save { font-size: 0.75rem; color: var(--muted); margin-top: 0.3rem; }
.program__save strong { color: var(--terra); font-weight: 500; }
.small { font-size: 0.76rem; font-style: italic; color: var(--muted); }

.timeline { list-style: none; border-left: 1.5px solid color-mix(in srgb, var(--gold) 60%, transparent); margin-left: 0.3rem; }
.timeline li { position: relative; padding: 0 0 0.85rem 1.1rem; font-size: 0.86rem; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 0.45em; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--gold); }
.timeline li.is-physical::before { background: var(--gold); }
.timeline b { display: block; color: var(--text); font-weight: 500; }
.pill { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.1rem 0.45rem; border-radius: 999px; margin-left: 0.3rem; white-space: nowrap; background: color-mix(in srgb, var(--sage) 22%, transparent); }
.is-physical .pill { background: color-mix(in srgb, var(--terra) 14%, transparent); color: var(--terra); }

/* Aanbod — wandelen / aan huis */
.mode { position: relative; }
.ai-note { margin-top: 0.8rem; font-size: 0.78rem; font-style: italic; color: var(--kaki); }
.mode img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.mode__body { padding: 1.3rem 1.5rem 1.5rem; display: flex; gap: 1.1rem; align-items: flex-start; }
.mode__icon { flex-shrink: 0; width: 56px; height: 56px; margin-top: -2.6rem; border-radius: 50%; border: 3px solid var(--card); display: grid; place-items: center; color: var(--terra); background: color-mix(in srgb, var(--terra) 10%, var(--bg-tint)); }
.mode p { font-size: 0.9rem; color: var(--muted); margin-top: 0.3rem; }

/* Aanbod — calculator */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; }
.calc__form { padding: 1.5rem; display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
.calc__result { background: var(--bg-tint); border-left: 1px solid var(--line); padding: 1.5rem; display: grid; gap: 0.55rem; align-content: start; min-width: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label > span { display: block; text-align: center; padding: 0.65rem 0.5rem; border: 1px solid var(--line); border-radius: 4px; font-size: 0.86rem; background: var(--bg-tint); cursor: pointer; }
.seg input:checked + span { border-color: var(--terra); color: var(--terra); font-weight: 500; background: color-mix(in srgb, var(--terra) 10%, var(--card)); }
.seg input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.select { width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-tint); color: var(--text); font: 0.9rem var(--sans); margin-bottom: 0.5rem; }
.select:focus { outline: none; border-color: var(--terra); }
.calc__line { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; color: var(--muted); }
.calc__line > span:last-child, .calc__total > span:last-child { color: var(--text); font-variant-numeric: tabular-nums; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 0.4rem; padding-top: 0.8rem; font: 1.7rem var(--serif); }
.calc__copy { white-space: pre-wrap; font-size: 0.8rem; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 0.75rem; }

/* Digitale producten */
.products { margin-top: 2rem; }
.product { padding: 1.5rem; display: flex; gap: 1.2rem; align-items: flex-start; }
.product__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 4px; display: grid; place-items: center; font-size: 1.2rem; background: color-mix(in srgb, var(--terra) 12%, var(--bg-tint)); }
.product h3 { font: 500 0.95rem var(--sans); margin-bottom: 0.3rem; }
.product p:not(.tag) { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }

/* Afspraak */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.4rem; margin-top: 2rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.2rem; font-size: 0.88rem; color: var(--muted); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); display: grid; place-items: center; font: 1.1rem var(--serif); }
.steps strong { display: block; color: var(--text); font-weight: 500; font-size: 0.95rem; }
.form { padding: 2rem; display: grid; gap: 1.1rem; }
.form h3 { font-size: 1.4rem; }
.form input, .form select, .form textarea { width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-tint); color: var(--text); font: 0.9rem var(--sans); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--terra); }
.form textarea { resize: vertical; }
.form label .hint { display: block; margin-top: 0.35rem; }
.req { color: var(--terra); }
.form__calc { font-size: 0.82rem; color: var(--terra); background: color-mix(in srgb, var(--terra) 8%, var(--card)); border-radius: 4px; padding: 0.6rem 0.8rem; }
.form .is-missing { border-color: var(--terra); box-shadow: 0 0 0 2px color-mix(in srgb, var(--terra) 25%, transparent); }
.form__geruststelling { font-size: 0.9rem; color: var(--muted); background: color-mix(in srgb, var(--sage) 12%, var(--card)); border-left: 3px solid var(--sage); padding: 0.7rem 0.9rem; border-radius: 0 4px 4px 0; margin: 0 0 0.4rem; }
.form__geruststelling strong { color: var(--text); font-weight: 500; }
.form__done { background: color-mix(in srgb, var(--sage) 15%, var(--bg-tint)); border: 1px solid var(--sage); border-radius: 4px; padding: 1rem; font-size: 0.9rem; }

/* Blog */
.post { padding: 1.4rem; display: grid; gap: 0.5rem; }
.post h3 { font-size: 1.2rem; }
.post p:not(.tag) { font-size: 0.85rem; color: var(--muted); }
.post--soon { opacity: 0.55; }
a.post { color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.post:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(44,31,26,.1); }

/* Contact — bergfoto bovenaan, vloeit over in donker */
.contact {
  color: #fff;
  background-color: var(--brown);
  background-image:
    linear-gradient(180deg, rgba(44,31,26,0) 0%, rgba(44,31,26,.08) max(25vw, 170px), var(--brown) max(41vw, 262px)),
    url("../img/contact-bg.jpg");
  background-size: 100% auto, max(100%, 640px) auto;
  background-position: top center;
  background-repeat: no-repeat;
  padding-top: max(36vw, 240px);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.contact .eyebrow { color: var(--gold); }
.contact h2 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.contact__list { display: grid; gap: 1.3rem; margin-top: 1rem; }
.contact__list dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,.5); }
.contact__list dd { color: rgba(255,255,255,.9); }
.contact__quote { display: grid; justify-items: center; gap: 1.4rem; text-align: center; align-self: center; }
.contact__kanji { font-size: 2rem; color: var(--gold); opacity: 0.75; }
.contact__quote p { font: italic 300 1.5rem/1.4 var(--serif); color: rgba(255,255,255,.85); }

/* Footer */
.footer { background: #231812; color: rgba(255,255,255,.5); font-size: 0.78rem; padding-block: 1.75rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer strong { color: rgba(255,255,255,.75); }
.footer__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: rgba(255,255,255,.8); }

/* ---------- Gsm ---------- */
@media (max-width: 800px) {
  .hero__grid, .about, .programs, .calc { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-2--wide { gap: 2.5rem; }
  .about { gap: 2rem; }
  .calc__result { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .seg { grid-template-columns: 1fr; } }

/* Contact: compacte rij met knop eronder */
.contact .grid-2--wide { grid-template-columns: 1fr; gap: 2rem; }
.contact__list { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); max-width: 640px; }
.contact__quote { justify-items: start; text-align: left; align-self: start; }

.form-honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.form__done.is-fout { background: color-mix(in srgb, var(--terra) 12%, var(--card)); border-color: var(--terra); }
.form button:disabled{opacity:.6;cursor:wait}
