/* Stefan's Tuin Hulp - demo-homepage */

@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #eef0e5;
  --page-2: #e3e8d6;
  --ink: #17231d;
  --ink-soft: #3d4a42;
  --line: #c3cbb6;
  --forest: #1f3a2e;
  --forest-2: #284637;
  --on-forest: #e6ecd8;
  --on-forest-soft: #b9c7b0;
  --leaf: #93c45a;
  --leaf-ink: #3b6a22;
  --focus: #3b6a22;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #111a15;
    --page-2: #17231d;
    --ink: #e6ecd8;
    --ink-soft: #b9c7b0;
    --line: #34463b;
    --forest: #1a2f25;
    --forest-2: #223a2e;
    --leaf-ink: #a5d36c;
    --focus: #a5d36c;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
a, button, label, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgba(31, 58, 46, .15); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--forest); color: var(--on-forest); padding: .6rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* Knoppen: hoekig, zoals de kaarten */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.4rem;
  font: 600 .98rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; border-radius: 0;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .1s ease-out;
}
.btn:active { transform: scale(.97); }
.btn-light { background: var(--on-forest); color: #17231d; }
.btn-light:hover { background: #fff; }
.btn-outline-light { border-color: rgba(230, 236, 216, .75); color: #f2f5ea; background: rgba(23, 35, 29, .25); }
.btn-outline-light:hover { background: rgba(230, 236, 216, .14); border-color: #f2f5ea; }
.btn-dark { background: var(--forest); color: var(--on-forest); }
.btn-dark:hover { background: var(--forest-2); }
.btn-ghost { border-color: currentColor; color: inherit; min-height: 42px; padding: .55rem 1rem; font-size: .92rem; }

/* Header */
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 20;
  color: #f2f5ea;
}
.header-inner { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.wordmark {
  display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1;
  font-family: var(--serif); text-transform: uppercase;
}
.wordmark-name { font-size: 1.32rem; letter-spacing: .26em; font-weight: 500; }
.wordmark-sub { font-size: .74rem; letter-spacing: .52em; margin-top: .38rem; opacity: .9; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; padding: .4rem 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover { border-bottom-color: currentColor; }
.header-call { color: #f2f5ea; }
.header-call:hover { background: rgba(242, 245, 234, .12); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: flex-end; color: #f2f5ea; overflow: hidden;
  background: #1c3027;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 60%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 24, 19, .55) 0%, rgba(14, 24, 19, 0) 22%),
    linear-gradient(0deg, rgba(14, 24, 19, .88) 0%, rgba(14, 24, 19, .55) 38%, rgba(14, 24, 19, 0) 70%);
}
.hero-inner { position: relative; width: 100%; padding-top: 8rem; padding-bottom: clamp(1.75rem, 4vw, 3rem); }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 7.6vw, 7rem); line-height: .98; letter-spacing: -.02em;
  display: grid; gap: .1em;
}
.hero-line { display: block; }
.hero-line-right { text-align: right; }
.hero-small {
  display: block; font-family: var(--sans); font-size: clamp(.8rem, 1.1vw, 1rem);
  text-transform: uppercase; letter-spacing: .3em; font-weight: 500; margin-bottom: .55em; opacity: .92;
}
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-top: 1.4rem; border-top: 1px solid rgba(242, 245, 234, .35);
}
.hero-sub { max-width: 32ch; margin: 0; font-size: 1.12rem; color: #e9eee0; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Intro */
.intro { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.statement { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.08; letter-spacing: -.015em; }
.intro-body { color: var(--ink-soft); max-width: 60ch; padding-top: .5rem; }

.section-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -.015em; }

/* Het tuinjaar */
.year { background: var(--forest); color: var(--on-forest); padding: clamp(4.5rem, 9vw, 7rem) 0; }
.year-head { display: grid; gap: 1rem; max-width: 62ch; margin-bottom: 2.5rem; }
.year-lead { color: var(--on-forest-soft); margin: 0; }
.seasons { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; }
.season-tabs { display: flex; flex-direction: column; border-top: 1px solid rgba(230, 236, 216, .25); }
.season-tab {
  appearance: none; background: none; border: 0; border-bottom: 1px solid rgba(230, 236, 216, .25);
  color: var(--on-forest-soft); text-align: left; cursor: pointer;
  font: 400 clamp(1.4rem, 2.2vw, 1.9rem)/1.1 var(--serif); padding: 1rem 0 1rem .1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: color .2s var(--ease);
}
.season-tab::after { content: ""; width: .55rem; height: .55rem; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0; transition: opacity .2s; }
.season-tab:hover { color: var(--on-forest); }
.season-tab[aria-selected="true"] { color: var(--on-forest); padding-left: .6rem; }
.season-tab[aria-selected="true"]::after { opacity: 1; color: var(--leaf); }
.season-panels { display: grid; }
.season-card { grid-area: 1 / 1; background: var(--on-forest); color: #17231d; padding: .7rem; }
.season-card[hidden] { display: none; }
.season-frame { border: 1px solid #8a9a80; height: 100%; padding: clamp(1.5rem, 4vw, 3rem); text-align: center; display: flex; flex-direction: column; align-items: center; }
.season-when { font-size: .78rem; text-transform: uppercase; letter-spacing: .26em; color: #4b5a50; margin-bottom: .6rem; }
.season-name { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; letter-spacing: -.01em; }
.season-intro { max-width: 40ch; margin: 1rem 0 1.6rem; color: #33413a; }
.season-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; width: 100%; max-width: 640px; text-align: left; }
.season-list li { padding: .85rem 0 .85rem 1.4rem; border-top: 1px solid #c3cbb6; position: relative; }
.season-list li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: .7rem; height: 1px; background: #3b6a22; }
.year-note { margin: 1.6rem 0 0; color: var(--on-forest-soft); }

/* Fotostrook */
.strip { display: grid; grid-template-columns: 1fr minmax(220px, .62fr) 1fr 1fr; gap: 0; background: var(--page); }
.strip-item { margin: 0; display: flex; flex-direction: column; }
.strip-img { overflow: hidden; aspect-ratio: 4 / 5; background: #22372c; }
.strip-img img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.strip-img img.pos-right { object-position: 78% 50%; }
.strip-item figcaption { font-family: var(--serif); font-size: 1.2rem; padding: .9rem 1.1rem 1.2rem; }
.strip-item figcaption span { font-family: var(--sans); font-size: .9rem; color: var(--ink-soft); }
.strip-center {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 2rem 1rem; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.strip-mark { font-family: var(--serif); text-transform: uppercase; letter-spacing: .26em; font-size: 1.05rem; line-height: 1.5; margin-bottom: 1.4rem; }
.strip-text { color: var(--ink-soft); font-size: .95rem; }
.strip-tel { font-family: var(--serif); font-size: 1.35rem; text-decoration: none; border-bottom: 1px solid currentColor; color: var(--leaf-ink); }

/* Wie u inhuurt */
.about { padding: clamp(4.5rem, 10vw, 8rem) 0; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-text .section-title { margin-bottom: 1.6rem; max-width: 16ch; }
.about-text p { color: var(--ink-soft); max-width: 60ch; }
.about-trait { font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; color: var(--ink) !important; margin-top: 1.6rem; }
.creds { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cred { background: var(--page-2); padding: 1.5rem 1.4rem 1.6rem; }
.cred dt { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; margin-bottom: .6rem; }
.cred dd { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* Contact */
.contact { padding: clamp(4.5rem, 10vw, 7rem) 0; background: var(--page-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-info .section-title { margin-bottom: 1rem; }
.contact-info p { color: var(--ink-soft); max-width: 46ch; }
.contact-tel { display: inline-block; font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.1; text-decoration: none; color: var(--ink); margin: .4rem 0 1rem; border-bottom: 2px solid var(--leaf-ink); }
.contact-hint { font-size: .96rem; }
.contact-mail { color: var(--leaf-ink); font-weight: 600; }
.contact-addr { margin-top: 1.4rem; }

.form { display: grid; gap: 1.2rem; background: var(--page); padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); }
.field { display: grid; gap: .45rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field legend { margin-bottom: .6rem; }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--page);
  border: 1.5px solid #8d9a85; border-radius: 0; padding: .75rem .85rem; min-height: 48px;
}
textarea { resize: vertical; min-height: 120px; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
[aria-invalid="true"] { border-color: #a3341f !important; }
.error { color: #a3341f; font-size: .9rem; margin: 0; font-weight: 500; }
@media (prefers-color-scheme: dark) { .btn-dark { background: var(--leaf); color: #17231d; } .btn-dark:hover { background: #a9d47a; } .error { color: #f19b86; } [aria-invalid="true"] { border-color: #f19b86 !important; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: .5rem .9rem; border: 1.5px solid #8d9a85; font-size: .95rem; transition: background-color .2s, color .2s, border-color .2s; }
.chip input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 500; }
.form-status.is-shown { padding: .9rem 1rem; background: var(--forest); color: var(--on-forest); }

/* Footer */
.site-footer { background: var(--forest); color: var(--on-forest); padding: 3rem 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .8fr; gap: 1.5rem; align-items: start; }
.footer-grid p { margin: 0; color: var(--on-forest-soft); }
.footer-grid a { color: var(--on-forest); text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-mark { font-family: var(--serif); text-transform: uppercase; letter-spacing: .26em; color: var(--on-forest) !important; font-size: 1.05rem; }

/* Reveals: alleen als JS en beweging aan staan */
.js-motion .reveal { opacity: 0; transform: translateY(24px); }

/* Responsief */
@media (max-width: 980px) {
  .nav { display: none; }
  .header-call { margin-left: auto; }
  .intro-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .seasons { grid-template-columns: 1fr; }
  .season-tabs { flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid rgba(230, 236, 216, .25); scrollbar-width: none; }
  .season-tab { border-bottom: 2px solid transparent; padding: .7rem .9rem; font-size: 1.25rem; white-space: nowrap; }
  .season-tab::after { display: none; }
  .season-tab[aria-selected="true"] { padding-left: .9rem; border-bottom-color: var(--leaf); }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip-center { grid-column: 1 / -1; order: -1; border: 0; border-bottom: 1px solid var(--line); padding: 2.2rem 1rem; }
  .strip-item:last-child { grid-column: 1 / -1; }
  .strip-item:last-child .strip-img { aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .season-when { letter-spacing: .16em; font-size: .72rem; }
  .hide-sm { display: none; }
  .header-inner { gap: 1rem; min-height: 68px; }
  .wordmark-name { font-size: 1.05rem; letter-spacing: .2em; }
  .wordmark-sub { font-size: .7rem; letter-spacing: .4em; }
  .hero-inner { padding-top: 6rem; }
  .hero-title { font-size: clamp(2.3rem, 11.5vw, 3.4rem); }
  .hero-line-right { text-align: left; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .season-list { grid-template-columns: 1fr; }
  .season-frame { padding: 1.6rem 1.1rem; }
  .creds { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .strip-img { aspect-ratio: 3 / 4; }
  .footer-grid { grid-template-columns: 1fr; }
}
