/* =================================================================
   FrisseWand Design System — Tokens
   "Wissel je kunst. Houd je ruimte fris."
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  /* ----- COLOR ----- */
  /* Brand greens — the new house style */
  --fw-green-700: #156430;   /* deep / pressed */
  --fw-green-600: #1B7E3A;   /* PRIMARY */
  --fw-green-500: #2E9A4D;   /* lighter */
  --fw-green-300: #B6D9C2;   /* muted */
  --fw-green-100: #E8F2EC;   /* soft tint */

  /* Ink / neutrals */
  --fw-ink-900: #0E1A14;     /* headings, body */
  --fw-ink-700: #2A3A32;
  --fw-ink-600: #4A5A52;     /* secondary text */
  --fw-ink-400: #8A9690;     /* meta */
  --fw-ink-200: #C9D2CC;
  --fw-line:    #DDE5E0;     /* hairline */

  /* Surfaces */
  --fw-paper: #FAFBF8;       /* page background */
  --fw-snow:  #FFFFFF;       /* card */

  /* Accents */
  --fw-sand:  #C9A86A;       /* Goud-tier only */
  --fw-error: #B23A3A;
  --fw-success: var(--fw-green-600);

  /* Semantic foreground/background */
  --fw-fg-1: var(--fw-ink-900);
  --fw-fg-2: var(--fw-ink-600);
  --fw-fg-3: var(--fw-ink-400);
  --fw-bg-1: var(--fw-paper);
  --fw-bg-2: var(--fw-snow);
  --fw-bg-tint: var(--fw-green-100);

  /* ----- TYPE ----- */
  --fw-font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --fw-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --fw-font-mono:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Type scale */
  --fw-display: clamp(48px, 7vw, 72px);
  --fw-h1:      clamp(36px, 5vw, 56px);
  --fw-h2:      clamp(28px, 3.6vw, 40px);
  --fw-h3:      clamp(22px, 2.4vw, 28px);
  --fw-h4:      20px;
  --fw-eyebrow: 13px;
  --fw-body-l:  19px;
  --fw-body:    16px;
  --fw-body-s:  14px;
  --fw-mono:    14px;

  /* ----- SPACING (4px base) ----- */
  --fw-space-1:  4px;
  --fw-space-2:  8px;
  --fw-space-3:  12px;
  --fw-space-4:  16px;
  --fw-space-5:  20px;
  --fw-space-6:  24px;
  --fw-space-7:  32px;
  --fw-space-8:  40px;
  --fw-space-9:  48px;
  --fw-space-10: 64px;
  --fw-space-11: 80px;
  --fw-space-12: 96px;
  --fw-space-13: 128px;

  /* ----- RADII ----- */
  --fw-radius-sm: 4px;
  --fw-radius-md: 10px;
  --fw-radius-lg: 16px;
  --fw-radius-xl: 24px;
  --fw-radius-pill: 999px;

  /* ----- SHADOWS ----- */
  --fw-shadow-sm: 0 1px 2px rgba(14,26,20,.04), 0 1px 1px rgba(14,26,20,.03);
  --fw-shadow-md: 0 8px 24px -8px rgba(14,26,20,.08), 0 2px 6px rgba(14,26,20,.04);
  --fw-shadow-lg: 0 24px 48px -16px rgba(14,26,20,.12), 0 4px 12px rgba(14,26,20,.05);

  /* ----- MOTION ----- */
  --fw-ease-out:    cubic-bezier(0.2, 0.7, 0.2, 1);
  --fw-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --fw-d-fast: 120ms;
  --fw-d-base: 200ms;
  --fw-d-slow: 400ms;

  /* ----- LAYOUT ----- */
  --fw-content: 1280px;
  --fw-shell:   1440px;
  --fw-gutter:  32px;
}

/* =================================================================
   BASE / RESET
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--fw-bg-1);
  color: var(--fw-fg-1);
  font-family: var(--fw-font-body);
  font-size: var(--fw-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* =================================================================
   SEMANTIC TYPE STYLES
   ================================================================= */
.fw-display, h1.fw-hero {
  font-family: var(--fw-font-display);
  font-size: var(--fw-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fw-fg-1);
  text-wrap: balance;
  margin: 0;
}

.fw-h1, h2.fw-section {
  font-family: var(--fw-font-display);
  font-size: var(--fw-h1);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--fw-fg-1);
  text-wrap: balance;
  margin: 0 0 var(--fw-space-6);
}

.fw-h2 {
  font-family: var(--fw-font-display);
  font-size: var(--fw-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--fw-space-4);
}

.fw-h3 {
  font-family: var(--fw-font-display);
  font-size: var(--fw-h3);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 var(--fw-space-3);
}

.fw-h4 {
  font-family: var(--fw-font-body);
  font-size: var(--fw-h4);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--fw-space-2);
}

.fw-eyebrow {
  font-family: var(--fw-font-body);
  font-size: var(--fw-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fw-green-600);
  margin: 0 0 var(--fw-space-3);
  display: inline-block;
}

.fw-eyebrow--ink { color: var(--fw-ink-900); }

.fw-lede, p.fw-lede {
  font-size: var(--fw-body-l);
  line-height: 1.55;
  color: var(--fw-fg-2);
  font-weight: 400;
  margin: 0 0 var(--fw-space-5);
  text-wrap: pretty;
}

p { margin: 0 0 var(--fw-space-4); text-wrap: pretty; color: var(--fw-fg-2); }

.fw-meta, small.fw-meta {
  font-size: var(--fw-body-s);
  color: var(--fw-fg-3);
  line-height: 1.5;
}

.fw-mono {
  font-family: var(--fw-font-body);
  font-size: var(--fw-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

a, .fw-link {
  color: var(--fw-green-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-thickness var(--fw-d-base) var(--fw-ease-out);
}
a:hover, .fw-link:hover { text-decoration-thickness: 2px; color: var(--fw-green-700); }

/* =================================================================
   BUTTONS
   ================================================================= */
.fw-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--fw-space-2);
  padding: 14px 24px;
  font-family: var(--fw-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--fw-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--fw-d-fast) var(--fw-ease-out),
    color var(--fw-d-fast) var(--fw-ease-out),
    box-shadow var(--fw-d-fast) var(--fw-ease-out),
    transform 60ms var(--fw-ease-out);
  white-space: nowrap;
}
.fw-btn:active { transform: scale(0.98); }

.fw-btn--primary {
  background: var(--fw-green-600);
  color: var(--fw-snow);
  box-shadow: var(--fw-shadow-sm);
}
.fw-btn--primary:hover { background: var(--fw-green-700); box-shadow: var(--fw-shadow-md); color: var(--fw-snow); text-decoration: none; }

.fw-btn--ink {
  background: var(--fw-ink-900);
  color: var(--fw-snow);
}
.fw-btn--ink:hover { background: var(--fw-ink-700); color: var(--fw-snow); text-decoration: none; }

.fw-btn--ghost {
  background: transparent;
  color: var(--fw-ink-900);
  border-color: var(--fw-line);
}
.fw-btn--ghost:hover { border-color: var(--fw-green-600); color: var(--fw-green-700); text-decoration: none; }

.fw-btn--text {
  background: transparent;
  color: var(--fw-green-600);
  padding: 8px 0;
}
.fw-btn--text:hover { color: var(--fw-green-700); text-decoration: none; }

.fw-btn--lg { padding: 18px 32px; font-size: 16px; }

/* =================================================================
   PILLS, BADGES, EYEBROW CHIP
   ================================================================= */
.fw-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--fw-radius-pill);
  background: var(--fw-green-100);
  color: var(--fw-green-700);
}

.fw-chip--solid { background: var(--fw-green-600); color: var(--fw-snow); }
.fw-chip--ink   { background: var(--fw-ink-900);   color: var(--fw-snow); }
.fw-chip--sand  { background: var(--fw-sand);      color: var(--fw-ink-900); }

/* =================================================================
   CARDS
   ================================================================= */
.fw-card {
  background: var(--fw-snow);
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius-lg);
  padding: var(--fw-space-7);
  transition: box-shadow var(--fw-d-base) var(--fw-ease-out), border-color var(--fw-d-base) var(--fw-ease-out);
}
.fw-card:hover { box-shadow: var(--fw-shadow-md); }

.fw-card--feature {
  border: 2px solid var(--fw-green-600);
  box-shadow: var(--fw-shadow-lg);
  position: relative;
}

/* The signature green box from the offerte (akkoord block) */
.fw-green-box {
  border: 1px solid var(--fw-green-600);
  border-radius: var(--fw-radius-md);
  padding: var(--fw-space-6);
  background: var(--fw-snow);
}

/* =================================================================
   FORM
   ================================================================= */
.fw-input, .fw-textarea, select.fw-input {
  width: 100%;
  font-family: var(--fw-font-body);
  font-size: var(--fw-body);
  line-height: 1.4;
  color: var(--fw-ink-900);
  background: var(--fw-snow);
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius-md);
  padding: 12px 14px;
  height: 46px;
  transition: border-color var(--fw-d-fast) var(--fw-ease-out), box-shadow var(--fw-d-fast) var(--fw-ease-out);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.fw-textarea { height: auto; min-height: 92px; resize: vertical; }
select.fw-input {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231B7E3A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.fw-input:focus, .fw-textarea:focus, select.fw-input:focus {
  outline: none;
  border-color: var(--fw-green-600);
  box-shadow: 0 0 0 3px rgba(27,126,58,.15);
}
.fw-input::placeholder, .fw-textarea::placeholder { color: var(--fw-ink-400); }

/* =================================================================
   TABLES (offerte-style)
   ================================================================= */
.fw-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.fw-table th {
  font-size: var(--fw-eyebrow);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-green-600);
  text-align: right;
  padding: var(--fw-space-3) var(--fw-space-4);
  border-bottom: 1px solid var(--fw-line);
}
.fw-table th:first-child { text-align: left; }
.fw-table td {
  padding: var(--fw-space-3) var(--fw-space-4);
  border-bottom: 1px solid var(--fw-line);
  text-align: right;
}
.fw-table td:first-child { text-align: left; font-weight: 500; }

.fw-table-bar {
  background: var(--fw-green-600);
  color: var(--fw-snow);
  font-weight: 600;
  padding: var(--fw-space-3) var(--fw-space-4);
  display: flex;
  justify-content: space-between;
  border-radius: 2px;
}
.fw-table-bar--ink { background: var(--fw-ink-900); }

/* =================================================================
   FRAME (echo of the product — used to wrap gallery images)
   ================================================================= */
.fw-frame {
  background: var(--fw-snow);
  padding: 12px;
  border: 6px solid var(--fw-ink-200);
  box-shadow: var(--fw-shadow-md);
  display: inline-block;
  max-width: 100%;
}
.fw-frame > img { display: block; width: 100%; height: auto; }

/* =================================================================
   LAYOUT HELPERS
   ================================================================= */
.fw-container {
  width: 100%;
  max-width: var(--fw-content);
  margin: 0 auto;
  padding: 0 var(--fw-gutter);
}
.fw-section { padding: var(--fw-space-12) 0; }
.fw-section--tint { background: var(--fw-green-100); }
.fw-section--ink  { background: var(--fw-ink-900); color: var(--fw-snow); }
.fw-section--ink * { color: inherit; }

@media (max-width: 720px) {
  :root { --fw-gutter: 20px; }
  .fw-section { padding: var(--fw-space-9) 0; }
  .fw-card { padding: var(--fw-space-6); }
}

/* =================================================================
   UTILITIES
   ================================================================= */
.fw-stack > * + * { margin-top: var(--fw-space-4); }
.fw-stack-lg > * + * { margin-top: var(--fw-space-7); }
.fw-divider { height: 1px; background: var(--fw-line); border: 0; margin: var(--fw-space-7) 0; }
.fw-text-center { text-align: center; }
.fw-tabular { font-variant-numeric: tabular-nums; }
