/* Thermo Totems — gedeelde stijl. Basis overgenomen van de site van 5 augustus 2026. */

:root {
  --bg: #faf7f2;
  --bg-warm: #f3ede2;
  --ink: #1a1815;
  --ink-soft: #4a4640;
  --ink-quiet: #8a857c;
  --line: #e4ddd0;
  --accent: #b8723a;
  --accent-soft: #d4a574;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Inter Tight', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

/* ---------- nav ---------- */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

nav .mark {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

nav ul { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
nav ul a { text-decoration: none; color: var(--ink-soft); }
nav ul a:hover, nav ul a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--accent); }
nav .cta-link { color: var(--ink); border-bottom: 1px solid var(--accent); }

nav.over-hero {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  background: transparent; border-bottom: none;
  color: rgba(255,255,255,0.96);
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
nav.over-hero ul a { color: rgba(255,255,255,0.9); }
nav.over-hero .cta-link { color: #fff; border-bottom-color: var(--accent-soft); }

/* ---------- hero (home) ---------- */

.hero { position: relative; height: 100vh; min-height: 640px; max-height: 960px; overflow: hidden; color: #fff; }
.hero-image {
  position: absolute; inset: 0;
  background-image: url('/hero.jpg');
  background-size: cover; background-position: center bottom;
}
.hero-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0) 60%,
    rgba(250,247,242,0) 92%, rgba(250,247,242,0.6) 97%, rgba(250,247,242,1) 100%);
}
.hero-content {
  position: absolute; top: 24%; left: 0; right: 0;
  padding: 0 32px; max-width: 1200px; margin: 0 auto; text-align: center;
}
.hero h1 {
  font-size: clamp(52px, 8.5vw, 124px); font-weight: 300; letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 20px; animation: rise 1.4s ease-out;
  text-shadow: 0 2px 30px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.45);
}
.hero h1 em { font-style: italic; }
.hero .sub {
  font-size: clamp(19px, 1.8vw, 25px); font-weight: 500; line-height: 1.4;
  animation: rise 1.4s ease-out 0.2s backwards;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 1px 6px rgba(0,0,0,0.6);
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- page header (subpages) ---------- */

.page-head { padding: 110px 0 70px; }
.page-head h1 { font-size: clamp(40px, 5.5vw, 72px); font-weight: 300; margin-bottom: 28px; max-width: 900px; }
.page-head h1 em { font-style: italic; }
.page-head .intro { font-size: 20px; line-height: 1.6; color: var(--ink-soft); max-width: 640px; }

/* ---------- sections ---------- */

.section { padding: 120px 0; }
.section-warm { background: var(--bg-warm); }

.eyebrow {
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-quiet); margin-bottom: 28px;
}

.lede {
  font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); font-weight: 300;
  line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 32px;
}
.lede em { font-style: italic; }

.body-text { font-size: 18px; line-height: 1.65; color: var(--ink-soft); max-width: 640px; }
.body-text p + p { margin-top: 18px; }
.body-text a { color: var(--ink); border-bottom: 1px solid var(--accent); text-decoration: none; }

/* ---------- segment cards ---------- */

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
.card { background: var(--bg); padding: 40px 36px; text-decoration: none; display: block; transition: background 0.2s; }
.card:hover { background: var(--bg-warm); }
.card .card-key { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 14px; }
.card h3 { font-size: 28px; font-weight: 300; margin-bottom: 12px; }
.card p { font-size: 16px; color: var(--ink-soft); line-height: 1.55; }
.card .more { margin-top: 20px; font-size: 14px; font-weight: 500; color: var(--ink); }

/* ---------- questions (FAQ-style blocks) ---------- */

.qa { border-top: 1px solid var(--line); padding: 44px 0; }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 400; margin-bottom: 18px; }

/* ---------- facts list ---------- */

.facts { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink-soft); display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.facts li strong { color: var(--ink); font-weight: 500; }

/* ---------- steps ---------- */

.steps { list-style: none; counter-reset: step; margin-top: 40px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; padding: 28px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 30px; font-weight: 300; color: var(--accent); }
.steps h3 { font-size: 24px; font-weight: 400; margin-bottom: 8px; }
.steps p { font-size: 17px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- invitation ---------- */

.invitation { background: var(--ink); color: var(--bg); padding: 120px 0; }
.invitation .eyebrow { color: var(--accent-soft); }
.invitation h2 { font-size: clamp(38px, 4.8vw, 60px); font-weight: 300; margin-bottom: 32px; max-width: 760px; }
.invitation p { font-size: 18px; line-height: 1.6; color: rgba(250,247,242,0.78); max-width: 600px; }

.button {
  display: inline-block; margin-top: 40px; background: var(--bg); color: var(--ink);
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em; padding: 18px 36px; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.button:hover { background: var(--accent); color: #fff; }
.button.dark { background: var(--ink); color: var(--bg); }
.button.dark:hover { background: var(--accent); }

/* ---------- form ---------- */

form { max-width: 640px; display: flex; flex-direction: column; gap: 30px; margin-top: 48px; }
.field { display: flex; flex-direction: column; }
label, .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-quiet); margin-bottom: 10px; }
input, textarea, select {
  font-family: var(--sans); font-size: 17px; color: var(--ink); background: transparent;
  border: none; border-bottom: 1px solid var(--line); padding: 12px 0; outline: none; border-radius: 0;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-quiet) 50%), linear-gradient(135deg, var(--ink-quiet) 50%, transparent 50%); background-position: calc(100% - 14px) 22px, calc(100% - 9px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-bottom-color: var(--accent); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.check input { margin-top: 5px; width: 16px; height: 16px; accent-color: var(--accent); }
.hidden { display: none; }
button {
  align-self: flex-start; background: var(--ink); color: var(--bg); border: none; font-family: var(--sans);
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em; padding: 18px 36px; cursor: pointer; transition: background 0.2s;
}
button:hover { background: var(--accent); }

.note { font-size: 14px; color: var(--ink-quiet); line-height: 1.6; margin-top: 12px; max-width: 640px; }
.sources { font-size: 14px; color: var(--ink-quiet); margin-top: 24px; line-height: 1.7; }
.sources a { color: var(--ink-quiet); }

/* ---------- footer ---------- */

footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.foot { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 20px 32px; font-size: 13px; color: var(--ink-quiet); }
.foot .foot-mark { font-family: var(--serif); font-size: 16px; color: var(--ink); }
.foot a { color: var(--ink-quiet); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  nav { padding: 18px 20px; }
  nav ul { gap: 14px; font-size: 13px; }
  .section, .invitation { padding: 76px 0; }
  .page-head { padding: 64px 0 40px; }
  .container, .container-narrow { padding: 0 20px; }
  .hero-content { padding: 0 20px; top: 30%; }
  .hero h1 { font-size: 46px; }
  .hero .sub { font-size: 18px; }
  .hero .sub br { display: none; }
  .cards { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
  .steps li { grid-template-columns: 48px 1fr; }
}
