/* ==========================================================================
   Kip Hoveniers — demo site for KJW Marketing cold outreach
   Plain CSS, mobile-first, no frameworks.
   ========================================================================== */

/* -------- Tokens ---------------------------------------------------------- */
:root {
  /* Palette */
  --bg:          #FAF8F3;
  --bg-warm:    #F2ECDF;
  --bg-deep:    #E8E1CF;
  --ink:        #1F2A22;
  --ink-soft:   #4A5249;
  --ink-faint:  #7B8378;
  --green:      #2D5F3F;
  --green-dark: #1F3D2A;
  --green-soft: #E2EBE0;
  --earth:      #C19A6B;
  --earth-dark: #A07A4D;
  --earth-soft: #F3E9D9;
  --line:       rgba(31,42,34,0.12);
  --line-soft:  rgba(31,42,34,0.06);
  --white:      #FFFFFF;

  /* Type */
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Radii & shadows */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(31,42,34,0.06), 0 2px 8px rgba(31,42,34,0.04);
  --shadow-md: 0 4px 12px rgba(31,42,34,0.08), 0 12px 32px rgba(31,42,34,0.06);
  --shadow-lg: 0 12px 28px rgba(31,42,34,0.10), 0 28px 60px rgba(31,42,34,0.10);

  /* Layout */
  --maxw: 1240px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------- Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* -------- Type ------------------------------------------------------------ */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 0;
}
h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  font-variation-settings: "opsz" 24, "SOFT" 30, "WONK" 0;
}

.lede {
  font-size: 1.125rem;
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 56ch;
}

/* -------- Layout helpers -------------------------------------------------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

section {
  padding-block: clamp(4rem, 8vw, 7rem);
}
section.tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
  flex-wrap: wrap;
}
.section-head .meta { max-width: 36ch; color: var(--ink-soft); }

/* -------- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green);
  color: var(--bg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 8px 20px rgba(45,95,63,0.25);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 10px 28px rgba(45,95,63,0.35); }

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,0.7); }

.btn-text {
  color: var(--green-dark);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  transition: gap .2s var(--ease);
}
.btn-text::after { content: "→"; transition: transform .25s var(--ease); }
.btn-text:hover { gap: 0.55rem; }
.btn-text:hover::after { transform: translateX(2px); }

/* -------- Header ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,248,243,0.78);
  backdrop-filter: saturate(120%) blur(14px);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250,248,243,0.92);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding-block: 0.9rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand strong { font-weight: 600; }
.brand .leaf {
  width: 28px; height: 28px; flex: 0 0 auto;
  color: var(--green);
}
.nav {
  display: none;
  gap: var(--s-6);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.nav a { transition: color .2s; position: relative; }
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem 0.55rem 0.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color .2s, transform .2s var(--ease);
}
.header-cta:hover { border-color: var(--green); transform: translateY(-1px); }
.header-cta .dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
}
.header-cta .dot svg { width: 16px; height: 16px; }
.header-cta .label { display: none; white-space: nowrap; }
.header-cta .num { font-feature-settings: "tnum" 1; letter-spacing: -0.01em; white-space: nowrap; }

@media (min-width: 880px) {
  .nav { display: inline-flex; }
}
@media (min-width: 1080px) {
  .header-cta .label { display: inline; color: var(--ink-soft); }
}

/* -------- Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; }
}

.hero-copy h1 { margin-top: 1.2rem; }
.hero-copy h1 em {
  font-style: italic;
  color: var(--green-dark);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.hero-lede { margin-top: 1.4rem; font-size: 1.18rem; color: var(--ink-soft); max-width: 52ch; }
.hero-ctas {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  align-items: center;
}

.trust-strip {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-strip .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  font-variation-settings: "opsz" 24, "SOFT" 30, "WONK" 0;
  line-height: 1;
}

/* hero visual: layered photos */
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 6;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}
.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  overflow: hidden;
  background: var(--green-soft);
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.front {
  inset: 8% 0 0 6%;
  z-index: 2;
  border-radius: 44px;
}
.hero-photo.back {
  inset: 0 8% 14% 0;
  width: 58%;
  aspect-ratio: 4/5;
  z-index: 1;
  border-radius: 32px;
}
.hero-badge {
  position: absolute;
  z-index: 3;
  bottom: -6px;
  left: -6px;
  background: var(--bg);
  padding: 1rem 1.2rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.85rem;
  max-width: 78%;
}
.hero-badge .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--bg);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  font-variation-settings: "opsz" 24, "SOFT" 40, "WONK" 0;
}
.hero-badge .txt { font-size: 0.85rem; line-height: 1.35; color: var(--ink-soft); }
.hero-badge .txt strong { display: block; color: var(--ink); font-weight: 600; }

/* hero background flourish */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle at 30% 30%, var(--green-soft), transparent 65%);
  z-index: -1;
  filter: blur(40px);
  opacity: 0.7;
}

/* -------- Diensten -------------------------------------------------------- */
.diensten {
  background: var(--bg-warm);
  border-block: 1px solid var(--line);
}
.diensten-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
@media (min-width: 640px) { .diensten-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .diensten-grid { grid-template-columns: repeat(3, 1fr); } }

.dienst {
  background: var(--bg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  min-height: 240px;
  transition: background .25s;
}
.dienst:hover { background: var(--bg-warm); }
.dienst .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s, color .25s;
}
.dienst:hover .icon { background: var(--green); color: var(--bg); }
.dienst .icon svg { width: 22px; height: 22px; }
.dienst h3 { margin-top: 0.4rem; }
.dienst p { color: var(--ink-soft); font-size: 0.96rem; }
.dienst .more { margin-top: auto; padding-top: 0.6rem; }
.dienst .badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--earth-dark);
  background: var(--earth-soft);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

/* -------- Werk (mosaic, filter) ------------------------------------------ */
.werk { position: relative; }
.werk .section-head .filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
}
.chip {
  font-size: 0.85rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--bg);
  transition: all .2s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--ink-soft); }
.chip.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.werk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .werk-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
}
@media (min-width: 980px) {
  .werk-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 18px; }
}

.werk-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--green-soft);
  min-height: 280px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), opacity .35s var(--ease), box-shadow .35s var(--ease);
}
@media (min-width: 640px) { .werk-item { min-height: 0; height: 100%; } }

.werk-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.werk-item:hover { box-shadow: var(--shadow-md); }
.werk-item:hover img { transform: scale(1.06); }

.werk-item .caption {
  position: absolute;
  left: 14px; right: auto; bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 0.85rem 1rem 0.9rem;
  color: var(--ink);
  background: var(--bg);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(15,22,17,0.18), 0 1px 0 rgba(255,255,255,0.6) inset;
  display: flex; flex-direction: column; gap: 0.15rem;
}
.werk-item .tag {
  display: inline-flex;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 0.2rem;
  align-items: center;
  gap: 0.45rem;
}
.werk-item .tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--earth);
  border-radius: 50%;
}
.werk-item .title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 24, "SOFT" 30, "WONK" 0;
}
.werk-item .place {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 0.1rem;
}
.werk-item.size-xl .title { font-size: 1.25rem; }
.werk-item.size-xl .caption { padding: 1rem 1.1rem 1.1rem; }

/* Mosaic spans — desktop only */
@media (min-width: 980px) {
  .werk-item.size-xl { grid-column: span 2; grid-row: span 2; }
  .werk-item.size-w  { grid-column: span 2; }
  .werk-item.size-t  { grid-row: span 2; }
}

.werk-item.is-hidden {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.werk-footer {
  margin-top: 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* -------- Waarom ---------------------------------------------------------- */
.waarom {
  background: var(--green-dark);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.waarom h2 { color: var(--bg); }
.waarom .eyebrow { color: var(--earth); }
.waarom .lede { color: rgba(250,248,243,0.78); }
.waarom::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(193,154,107,0.18), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.usps {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 640px) { .usps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .usps { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }

.usp {
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(250,248,243,0.14);
  border-radius: var(--r-md);
  background: rgba(250,248,243,0.03);
  display: flex; flex-direction: column; gap: 0.7rem;
  position: relative;
  z-index: 1;
}
.usp .num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--earth);
  font-variation-settings: "opsz" 24, "SOFT" 30, "WONK" 0;
}
.usp h3 { color: var(--bg); font-size: 1.15rem; }
.usp p { color: rgba(250,248,243,0.72); font-size: 0.94rem; }

/* "Over" stripe inside Waarom */
.over-stripe {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(250,248,243,0.14);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 880px) { .over-stripe { grid-template-columns: 240px 1fr; gap: 3rem; } }

.over-mark {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--earth);
  opacity: 0.85;
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid rgba(250,248,243,0.14);
  border-radius: 50%;
  background: rgba(250,248,243,0.03);
}
.over-mark svg { width: 70%; height: 70%; }
.over-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 240px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--earth-soft);
  border: 4px solid rgba(250,248,243,0.12);
}
.over-portrait img { width: 100%; height: 100%; object-fit: cover; }
.over-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.35;
  color: var(--bg);
  font-style: italic;
  text-wrap: balance;
  font-variation-settings: "opsz" 48, "SOFT" 60, "WONK" 0;
}
.over-quote span { color: var(--earth); }
.over-attr {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  color: rgba(250,248,243,0.72);
  display: flex; gap: 0.5rem; align-items: center;
}
.over-attr strong { color: var(--bg); font-weight: 600; }

/* -------- Reviews --------------------------------------------------------- */
.reviews-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 720px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

.review {
  padding: 1.8rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex; flex-direction: column;
  gap: 1rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stars { display: inline-flex; gap: 2px; color: var(--earth-dark); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.review p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--ink);
  font-variation-settings: "opsz" 24, "SOFT" 40, "WONK" 0;
  text-wrap: pretty;
}
.review .who {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 0.1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.review .who strong { color: var(--ink); font-weight: 600; font-family: var(--font-sans); }

/* -------- Werkgebied ------------------------------------------------------ */
.werkgebied {
  background: var(--bg-warm);
  border-block: 1px solid var(--line);
}
.werkgebied .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 880px) { .werkgebied .wrap { grid-template-columns: 1fr 1.4fr; gap: 4rem; } }

.places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.55rem;
}
.place {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink);
  transition: all .2s var(--ease);
}
.place::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
}
.place:hover { transform: translateY(-2px); border-color: var(--green); }
.place.is-center { background: var(--green); color: var(--bg); border-color: var(--green); }
.place.is-center::before { background: var(--earth); }

.werkgebied .meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.werkgebied .meta strong { color: var(--ink); font-weight: 600; }
.werkgebied .km-badge {
  display: inline-flex; align-items: baseline; gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.7rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.werkgebied .km-badge .big {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--green);
  font-variation-settings: "opsz" 48, "SOFT" 50, "WONK" 0;
}

/* -------- Contact --------------------------------------------------------- */
.contact .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 880px) { .contact .wrap { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-tel {
  display: inline-flex; flex-direction: column;
  gap: 0.1rem;
  margin-top: 1.2rem;
  text-decoration: none;
}
.contact-tel .label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.contact-tel .num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 0;
  line-height: 1;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
}
.contact-tel:hover .num { color: var(--green); }

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2rem;
  margin-top: 1rem;
}
.contact-list dt {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.3rem;
}
.contact-list dd {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.45;
}
.contact-list a:hover { color: var(--green); }

/* Form */
.form-card {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.form-card .help { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 1.4rem; }

.field { margin-bottom: 1rem; position: relative; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
  letter-spacing: -0.005em;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 0.8rem 0.95rem;
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(45,95,63,0.10);
}
.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select { border-color: #B5341E; }
.field .err {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.83rem;
  color: #B5341E;
}
.field.is-invalid .err { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-row .field { margin-bottom: 1rem; }
}

.form-card button[type="submit"] {
  width: 100%;
  margin-top: 0.4rem;
}
.form-success {
  display: none;
  padding: 1rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--green-soft);
  border: 1px solid rgba(45,95,63,0.25);
  color: var(--green-dark);
  font-size: 0.95rem;
  margin-top: 1rem;
}
.form-success.is-shown { display: block; }
.form-foot {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
  display: flex; gap: 0.5rem; align-items: center;
}

/* -------- Footer ---------------------------------------------------------- */
.site-foot {
  background: var(--ink);
  color: rgba(250,248,243,0.7);
  padding-block: 4rem 2rem;
}
.site-foot a:hover { color: var(--bg); }
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; } }

.foot-brand { display: flex; flex-direction: column; gap: 1rem; }
.foot-brand .logo-img {
  width: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  padding: 4px;
}
.foot-brand p { font-size: 0.92rem; max-width: 36ch; }
.foot-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 1rem;
}
.foot-col ul { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.94rem; }
.socials { display: inline-flex; gap: 0.6rem; margin-top: 0.6rem; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250,248,243,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.socials a:hover { background: rgba(250,248,243,0.08); border-color: rgba(250,248,243,0.4); }
.socials svg { width: 16px; height: 16px; }

.foot-base {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,248,243,0.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem;
  color: rgba(250,248,243,0.55);
}
.foot-base .made { display: inline-flex; gap: 0.4rem; }
.foot-base .made a { color: rgba(250,248,243,0.85); }

/* -------- Reveal animation ----------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Staggered children inside reveal containers */
@keyframes stagger-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.reveal-children > * { opacity: 0; }
.reveal-children.is-in > * { animation: stagger-in .65s var(--ease) both; }
.reveal-children.is-in > *:nth-child(1) { animation-delay:   0ms; }
.reveal-children.is-in > *:nth-child(2) { animation-delay:  70ms; }
.reveal-children.is-in > *:nth-child(3) { animation-delay: 140ms; }
.reveal-children.is-in > *:nth-child(4) { animation-delay: 210ms; }
.reveal-children.is-in > *:nth-child(5) { animation-delay: 280ms; }
.reveal-children.is-in > *:nth-child(6) { animation-delay: 350ms; }
.reveal-children.is-in > *:nth-child(7) { animation-delay: 420ms; }
.reveal-children.is-in > *:nth-child(8) { animation-delay: 490ms; }
.reveal-children.is-in > *:nth-child(9) { animation-delay: 560ms; }
.reveal-children.is-in > *:nth-child(n+10) { animation-delay: 630ms; }

/* Hero photos — gentle float */
@keyframes float-a {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-0.3deg); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(8px) rotate(0.4deg); }
}
.hero-photo.front { animation: float-a 7s var(--ease) infinite; }
.hero-photo.back  { animation: float-b 9s var(--ease) infinite; }

/* Hero badge — gentle pop on entry */
@keyframes badge-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.hero-visual.is-in .hero-badge,
.reveal.is-in .hero-badge {
  animation: badge-pop .8s var(--ease) .25s both;
}

/* Brand leaf — subtle wave on hover */
.brand .leaf { transition: transform .5s var(--ease); transform-origin: 50% 80%; }
.brand:hover .leaf { transform: rotate(-8deg); }

/* Eyebrow line grows in */
.reveal.is-in .eyebrow::before,
.is-in > .eyebrow::before {
  animation: line-grow .8s var(--ease) .1s both;
}
@keyframes line-grow {
  from { width: 0; }
  to   { width: 28px; }
}

/* Count-up numbers — JS sets data-target and we just need a smooth feel */
.counter { font-feature-settings: "tnum" 1; }

/* Subtle ken-burns on hero werk item */
@keyframes ken-burns {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
.werk-item.size-xl img { animation: ken-burns 14s var(--ease) infinite; }
.werk-item.size-xl:hover img { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal-children > * { opacity: 1; animation: none !important; }
  .hero-photo.front, .hero-photo.back, .werk-item.size-xl img { animation: none !important; }
  html { scroll-behavior: auto; }
}
