/* =============================================================
   Evolorahof · site layout & components
   Built on colors_and_type.css design tokens.
   ============================================================= */

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--sienna); text-decoration: none; }
a:hover { color: var(--bosgroen); }
p { margin: 0 0 var(--sp-4); color: var(--fg2); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ---------- Eyebrow / section labels ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--sienna);
  margin: 0 0 var(--sp-4);
  display: inline-block;
}
.eyebrow--green { color: var(--bosgroen); }
.eyebrow--bark  { color: var(--schors); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border: none;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--sienna); color: var(--paper); }
.btn--primary:hover { background: #a03a30; color: var(--paper); }
.btn--secondary { background: var(--bosgroen); color: var(--paper); }
.btn--secondary:hover { background: #3c6856; color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--soft { background: var(--ochtendzon); color: var(--ink); }
.btn--soft:hover { background: #e3d278; color: var(--ink); }
.btn--small { font-size: 13px; padding: 10px 18px; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 48px);
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.site-header__logo { display: flex; align-items: center; gap: 10px; }
.site-header__logo img { height: 42px; width: auto; }
.site-nav {
  display: flex;
  gap: 22px;
  flex: 1;
  flex-wrap: wrap;
}
.site-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  padding: 8px 2px;
  transition: color var(--dur-fast) var(--ease-out);
}
.site-nav a:hover { color: var(--sienna); }
.site-nav a.is-active { font-weight: 700; border-bottom: 2px solid var(--sienna); color: var(--ink); }
.site-header__cta { display: flex; gap: 10px; }

@media (max-width: 900px) {
  .site-header__inner { flex-wrap: wrap; gap: 12px; }
  .site-nav { order: 3; width: 100%; gap: 14px; }
  .site-nav a { font-size: 13px; padding: 6px 0; }
  .site-header__cta { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(56px, 9vw, 100px) 0 clamp(64px, 10vw, 110px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__grid--single { grid-template-columns: 1fr; max-width: 820px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: var(--ink);
  font-weight: 400;
  margin: 0 0 var(--sp-5);
}
.hero__sub {
  font-size: 18px;
  color: var(--fg2);
  max-width: 560px;
  margin: 0 0 var(--sp-5);
}
.hero__supporting {
  font-style: italic;
  color: var(--fg2);
  margin: 0 0 var(--sp-6);
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ---------- Venster-effect image frame ---------- */
.venster {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  background: linear-gradient(135deg, var(--salie) 0%, var(--bosgroen) 50%, var(--schors) 100%);
}
.venster__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.venster__petals {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.venster--wide { aspect-ratio: 16 / 9; }
.venster--square { aspect-ratio: 1 / 1; }

/* ---------- Contour divider ---------- */
.contour-band {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contour-band svg { width: 100%; height: 80px; }

/* ---------- Three-route block ---------- */
.routes {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--paper-2);
}
.routes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--sp-7);
}
@media (max-width: 900px) {
  .routes__grid { grid-template-columns: 1fr; }
}

/* ---------- Card ---------- */
.card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.card--lead { border-top: 2px solid var(--sienna); }
.card--lead-green  { border-top: 2px solid var(--bosgroen); }
.card--lead-sun    { border-top: 2px solid var(--ochtendzon); }
.card--lead-dune   { border-top: 2px solid var(--duindoorn); }
.card--lead-leaf   { border-top: 2px solid var(--lenteblad); }
.card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 var(--sp-3);
  color: var(--ink);
}
.card p {
  font-size: 15px;
  color: var(--fg2);
  margin: 0 0 var(--sp-5);
  flex: 1;
}
.card__link {
  font-weight: 700;
  font-size: 14px;
  color: var(--sienna);
  border-bottom: 2px solid var(--sienna);
  padding-bottom: 2px;
  align-self: flex-start;
  text-decoration: none;
}
.card__meta {
  font-size: 12px;
  color: var(--fg3);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ---------- Section ---------- */
.section {
  padding: clamp(64px, 9vw, 104px) 0;
}
.section--paper2 { background: var(--paper-2); }
.section--sun { background: var(--ochtendzon); color: var(--ink); }
.section--sun h2, .section--sun h3, .section--sun p { color: var(--ink); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark h2, .section--dark h3, .section--dark p { color: var(--paper); }

.section__head {
  max-width: 760px;
  margin-bottom: var(--sp-7);
}
.section__head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  max-width: none;
}
.section h2.display {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  text-transform: lowercase;
  color: var(--ink);
  font-weight: 400;
  margin: 0 0 var(--sp-4);
  letter-spacing: -.01em;
}
.section h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
}
.section h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  margin: var(--sp-6) 0 var(--sp-3);
}
.section p { font-size: 16px; color: var(--fg2); max-width: 680px; }
.lead { font-size: 18px; color: var(--fg2); max-width: 620px; }

/* ---------- Values (five petals) ---------- */
.values__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .values__grid { grid-template-columns: 1fr; } }
.value__petal {
  width: 96px;
  height: 96px;
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  margin-bottom: var(--sp-5);
}
.value h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 var(--sp-3);
  text-transform: lowercase;
}
.value p { font-size: 14px; margin: 0; }

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: var(--sp-6);
}
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .timeline { grid-template-columns: 1fr; } }
.timeline__step {
  background: var(--paper);
  padding: 24px;
  border-radius: var(--r-md);
  border-top: 3px solid var(--bosgroen);
  position: relative;
}
.timeline__step[data-current="true"] { border-top-color: var(--sienna); }
.timeline__step[data-current="true"]::before {
  content: "huidige fase";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--sienna);
  color: var(--paper);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 700;
}
.timeline__num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  text-transform: lowercase;
  color: var(--schors);
  margin-bottom: var(--sp-3);
}
.timeline__step h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 var(--sp-3);
  text-transform: lowercase;
}
.timeline__step p { font-size: 14px; color: var(--fg2); margin: 0; }

/* ---------- Letter / quote block ---------- */
.letter {
  background: var(--ochtendzon);
  padding: clamp(48px, 9vw, 96px) 0;
}
.letter__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.letter__quote {
  font-size: 19px;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 var(--sp-5);
}
.letter__signature {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
@media (max-width: 860px) { .letter__inner { grid-template-columns: 1fr; } }

/* ---------- Bullet lists ---------- */
.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.bullets li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  color: var(--fg2);
  line-height: 1.5;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--sienna);
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  transform: rotate(12deg);
}
.bullets--green li::before { background: var(--bosgroen); }
.bullets--sun   li::before { background: var(--ochtendzon); }
.bullets--leaf  li::before { background: var(--lenteblad); }

/* ---------- Features two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.two-col--flip > :first-child { order: 2; }
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col--flip > :first-child { order: 0; }
}

/* ---------- Glossary / info callout ---------- */
.callout {
  background: var(--paper-2);
  border-radius: var(--r-md);
  padding: 20px 24px;
  border-left: 3px solid var(--bosgroen);
  font-size: 14px;
  color: var(--fg2);
  margin: var(--sp-5) 0;
}
.callout strong { color: var(--ink); }
.callout em { font-style: italic; color: var(--fg2); }

/* ---------- Status pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sienna); }
.pill--green .pill__dot { background: var(--bosgroen); }

/* ---------- Partners logo strip ---------- */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: var(--sp-6);
}
.logo-strip__item {
  height: 80px;
  background: var(--paper);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg3);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-1);
  text-transform: lowercase;
}

/* ---------- Scenario cards (investeren) ---------- */
.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--sp-6);
}
@media (max-width: 900px) { .scenarios { grid-template-columns: 1fr; } }
.scenario {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  border-top: 3px solid var(--bosgroen);
}
.scenario--b { border-top-color: var(--duindoorn); }
.scenario--c { border-top-color: var(--sienna); }
.scenario h3 { margin: 0; font-size: 20px; font-weight: 700; text-transform: lowercase; }
.scenario__meta { font-size: 11px; color: var(--fg3); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin: 0; }
.scenario p { margin: 0; font-size: 14px; color: var(--fg2); }

/* ---------- Form ---------- */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  max-width: 640px;
}
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form__label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--fg3);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 13px 16px;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--bosgroen);
  box-shadow: 0 0 0 2px rgba(77,125,108,.25);
}
.form textarea { min-height: 120px; resize: vertical; }
.form__checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink);
  grid-column: 1 / -1;
}
.form__checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--bosgroen);
  margin-top: 2px;
  flex-shrink: 0;
}
.form__submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
}
.form__success {
  background: var(--lenteblad);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  max-width: 560px;
  color: var(--ink);
}
.form__success strong { font-weight: 700; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- News grid ---------- */
.news-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: var(--sp-6) 0 var(--sp-6);
}
.news-filter {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--dur-base) var(--ease-out);
}
.news-filter:hover,
.news-filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  background: var(--paper);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.news-card__img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--salie), var(--bosgroen));
  position: relative;
}
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.news-card__meta { font-size: 11px; color: var(--fg3); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.news-card__meta .dot { margin: 0 6px; color: var(--line-strong); }
.news-card h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.news-card p { margin: 0; font-size: 14px; color: var(--fg2); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 0;
  margin-top: var(--sp-9);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.site-footer__brand img { height: 56px; filter: brightness(0) invert(1); }
.site-footer__brand p {
  font-size: 13px;
  color: #c9bfa8;
  line-height: 1.55;
  margin-top: 18px;
  max-width: 340px;
}
.site-footer__col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ochtendzon);
  font-weight: 700;
  margin: 0 0 18px;
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a {
  font-size: 14px;
  color: var(--paper);
  text-decoration: none;
  opacity: .85;
  transition: opacity var(--dur-fast);
}
.site-footer__col a:hover { opacity: 1; color: var(--paper); }
.site-footer__palette {
  display: flex;
  height: 8px;
  margin-bottom: 28px;
}
.site-footer__palette span { flex: 1; }
.site-footer__legal {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(250,247,240,.1);
  font-size: 12px;
  color: #8a7f73;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Newsletter CTA block ---------- */
.cta-block {
  background: var(--bosgroen);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
}
.cta-block h2.display { color: var(--paper); }
.cta-block p { color: rgba(250,247,240,.85); }
.cta-block .btn--primary { background: var(--paper); color: var(--ink); }
.cta-block .btn--primary:hover { background: var(--ochtendzon); }
@media (max-width: 860px) { .cta-block { grid-template-columns: 1fr; } }

/* ---------- Page header (sub-page hero) ---------- */
.page-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 48px);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  text-transform: lowercase;
  color: var(--ink);
  font-weight: 400;
  margin: 0 0 var(--sp-5);
  letter-spacing: -.01em;
}
.page-hero p { font-size: 18px; max-width: 680px; }

/* ---------- Focus ring (accessibility) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--bosgroen);
  outline-offset: 2px;
}

/* ---------- Small helpers ---------- */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
