/* =====================================================================
   Träume Exclusiv — Schlafmanufaktur
   Design system / global stylesheet (single source of truth)
   Palette derived from the brand logo: gold lettering on slate-teal.
   ===================================================================== */

/* ----------  Design tokens  ---------- */
:root {
  /* Brand */
  --slate-900: #1d292e;   /* deepest slate */
  --slate-800: #25343a;
  --slate-700: #2c3b42;   /* primary dark surface (logo bg family) */
  --slate-600: #3a4f57;
  --slate-500: #4c6971;   /* exact logo background */
  --slate-400: #6b858d;

  --gold-600: #a9851d;
  --gold-500: #c9a227;    /* primary brand gold */
  --gold-400: #d8b75a;
  --gold-300: #e7cf8e;

  --cream-50:  #fdfbf6;
  --cream-100: #faf6ec;   /* page background */
  --cream-200: #f4eede;
  --sand-300:  #e6dcc6;   /* hairlines / soft surfaces */
  --sand-400:  #cbb38a;   /* secondary accent */

  --ink-900: #1b2226;     /* headings */
  --ink-700: #2c3338;     /* body strong */
  --ink-500: #586368;     /* muted body */
  --ink-300: #8b969a;     /* faint */

  --white: #ffffff;
  --success: #2e7d5b;
  --danger:  #b4452f;

  /* Typography */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Allura", cursive;

  /* Spacing scale (8pt) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  /* Radii */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(28, 40, 45, .06);
  --shadow-md: 0 10px 30px rgba(28, 40, 45, .10);
  --shadow-lg: 0 24px 60px rgba(28, 40, 45, .16);
  --shadow-gold: 0 10px 26px rgba(201, 162, 39, .28);

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --transition: .35s var(--ease);
}

/* ----------  Reset / base  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--cream-100);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-500); }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold-300); color: var(--ink-900); }

/* ----------  Typography  ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); line-height: 1.12; font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
p { color: var(--ink-500); }
strong { color: var(--ink-700); font-weight: 600; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-500); line-height: 1.65; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold-500); }
.eyebrow--center::after { content: ""; width: 26px; height: 1px; background: var(--gold-500); }
.script { font-family: var(--font-script); font-size: 1.6em; color: var(--gold-600); line-height: 1; font-weight: 400; }
.text-center { text-align: center; }
.muted { color: var(--ink-500); }

/* ----------  Layout primitives  ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-5); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(56px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--cream { background: var(--cream-100); }
.section--white { background: var(--white); }
.section--sand  { background: linear-gradient(180deg, var(--cream-200), var(--cream-100)); }
.section--slate {
  background: radial-gradient(120% 140% at 80% 0%, var(--slate-600), var(--slate-700) 55%, var(--slate-800));
  color: #dfe6e8;
}
.section--slate h1, .section--slate h2, .section--slate h3, .section--slate h4 { color: #fff; }
.section--slate p { color: #b9c6ca; }
.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head.text-center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: var(--space-3); }
.section-head p { margin-top: var(--space-4); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split__body > * + * { margin-top: var(--space-4); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 15px 30px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  text-align: center; line-height: 1.2; cursor: pointer; border: 1.5px solid transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #2a2207; box-shadow: var(--shadow-gold); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(201,162,39,.38); color: #2a2207; }
.btn--dark { background: var(--slate-700); color: #fff; }
.btn--dark:hover { background: var(--slate-800); transform: translateY(-2px); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--sand-400); color: var(--ink-700); }
.btn--ghost:hover { border-color: var(--gold-500); color: var(--gold-600); background: var(--cream-50); }
.btn--light { background: #fff; color: var(--slate-700); }
.btn--light:hover { transform: translateY(-2px); color: var(--slate-800); }
.btn--lg { padding: 18px 40px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.btn-row--center { justify-content: center; }

/* ----------  Header / nav  ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 251, 246, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand-300);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(253,251,246,.96); }
.nav { display: flex; align-items: center; gap: var(--space-5); height: var(--header-h); }
.nav__logo { display: flex; align-items: center; gap: var(--space-3); flex: none; }
.nav__logo img { height: 56px; width: auto; }
.nav__logo .nav__brand { display: flex; flex-direction: column; line-height: 1; }
.nav__brand b { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-900); letter-spacing: .02em; }
.nav__brand span { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600); }
.nav__menu { display: flex; align-items: center; gap: var(--space-1); margin-left: auto; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--r-sm);
  color: var(--ink-700); font-weight: 500; font-size: .95rem; white-space: nowrap;
}
.nav__link:hover { color: var(--gold-600); background: var(--cream-200); }
.nav__link[aria-current="page"] { color: var(--gold-600); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold-500); border-radius: 2px;
}
.nav__ext::after { content: "↗"; font-size: .8em; opacity: .7; }

/* Dropdown */
.nav__item { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav__toggle svg { width: 16px; height: 16px; transition: transform var(--transition); }
.nav__item:hover .nav__toggle svg, .nav__item:focus-within .nav__toggle svg { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--sand-300); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: var(--space-2);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--transition);
}
.nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a { display: block; padding: 10px 14px; border-radius: var(--r-sm); color: var(--ink-700); font-size: .92rem; font-weight: 500; }
.nav__dropdown a:hover { background: var(--cream-200); color: var(--gold-600); }
.nav__dropdown a small { display: block; color: var(--ink-300); font-weight: 400; font-size: .78rem; }
.nav__cta { margin-left: var(--space-3); }
.nav__toggle-btn { display: none; }

/* Mobile nav */
@media (max-width: 1080px) {
  .nav__toggle-btn { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; margin-left: auto; }
  .nav__toggle-btn span { width: 26px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: var(--transition); }
  .nav__toggle-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* Mobile: drop the header's backdrop-filter so the fixed menu resolves against the
     viewport (a filtered ancestor would become the menu's containing block and collapse it). */
  .site-header, .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--cream-50); }
  .nav__menu {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; left: auto; width: min(360px, 86vw);
    height: auto; z-index: 120;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    background: var(--cream-50); border-left: 1px solid var(--sand-300);
    padding: var(--space-4); overflow-y: auto;
    transform: translateX(100%); transition: transform var(--transition); box-shadow: var(--shadow-lg);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__link { padding: 14px 12px; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__item { width: 100%; }
  .nav__dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-left: 2px solid var(--sand-300); border-radius: 0; margin: 2px 0 6px 14px;
    max-height: 0; overflow: hidden; padding: 0 var(--space-2); transition: max-height var(--transition);
  }
  .nav__item.is-open .nav__dropdown { max-height: 520px; padding: var(--space-2); }
  .nav__cta { margin: var(--space-3) 0 0; }
  .nav__cta .btn { width: 100%; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(20,30,34,.45); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 99; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* ----------  Hero  ---------- */
.hero { position: relative; overflow: hidden; }
.hero--home { background: var(--slate-700); color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28,40,45,.92) 0%, rgba(28,40,45,.72) 42%, rgba(28,40,45,.30) 100%); }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(72px, 12vw, 150px); max-width: 660px; }
.hero__inner h1 { color: #fff; margin-block: var(--space-4); }
.hero__inner .lead { color: #d7e0e2; }
.hero__inner .eyebrow { color: var(--gold-300); }
.hero__inner .eyebrow::before { background: var(--gold-400); }
.hero__cta { margin-top: var(--space-6); }
.hero__rating { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-6); color: #d7e0e2; font-size: .95rem; }
.hero__rating .stars { color: var(--gold-400); letter-spacing: 2px; }

/* Page hero (interior pages) */
.page-hero { position: relative; background: var(--slate-700); color: #fff; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(28,40,45,.6), rgba(28,40,45,.85)); z-index:0; }
.page-hero__inner { position: relative; z-index: 1; padding-block: clamp(56px, 9vw, 110px); max-width: 760px; }
.page-hero__inner h1 { color: #fff; margin-top: var(--space-3); }
.page-hero__inner .lead { color: #d7e0e2; margin-top: var(--space-4); }

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: #b9c6ca; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: var(--gold-300); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .55; }
.section--cream .breadcrumb, .section--white .breadcrumb { color: var(--ink-500); }
.section--cream .breadcrumb a { color: var(--gold-600); }

/* ----------  Trust bar  ---------- */
.trust-bar { background: var(--white); border-block: 1px solid var(--sand-300); }
.trust-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); padding-block: var(--space-5); }
.trust-item { display: flex; align-items: center; gap: var(--space-3); justify-content: center; text-align: left; }
.trust-item svg { width: 30px; height: 30px; color: var(--gold-600); flex: none; }
.trust-item b { display: block; font-family: var(--font-display); color: var(--ink-900); font-size: 1.05rem; }
.trust-item span { font-size: .85rem; color: var(--ink-500); }
@media (max-width: 760px) { .trust-bar__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-3); } }

/* ----------  Cards  ---------- */
.card { background: #fff; border: 1px solid var(--sand-300); border-radius: var(--r-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sand-400); }
.card h3 { margin-bottom: var(--space-3); }
.card p { font-size: .98rem; }
.icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: var(--r-md); background: linear-gradient(140deg, var(--cream-200), var(--sand-300)); color: var(--gold-600); margin-bottom: var(--space-4); }
.icon-circle svg { width: 30px; height: 30px; }
.card--slate { background: var(--slate-700); border-color: var(--slate-600); color: #cdd8db; }
.card--slate h3 { color: #fff; }
.card--slate .icon-circle { background: rgba(255,255,255,.08); color: var(--gold-400); }

/* Feature list with check icons */
.checklist { display: grid; gap: var(--space-3); }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--ink-700); }
.checklist li svg { width: 24px; height: 24px; color: var(--gold-600); flex: none; margin-top: 2px; }
.checklist li b { display: block; }

/* ----------  Process steps  ---------- */
.steps { counter-reset: step; display: grid; gap: var(--space-5); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps--4, .steps--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps--4, .steps--3 { grid-template-columns: 1fr; } }
.step { position: relative; padding: var(--space-6) var(--space-5); background: #fff; border: 1px solid var(--sand-300); border-radius: var(--r-lg); }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--slate-700); color: var(--gold-400); font-family: var(--font-display); font-size: 1.25rem; margin-bottom: var(--space-4); }
.step h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.step p { font-size: .95rem; }

/* ----------  Stats  ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold-500); line-height: 1; }
.stat__label { font-size: .9rem; color: var(--ink-500); margin-top: var(--space-2); }
.section--slate .stat__label { color: #b9c6ca; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-4); } }

/* ----------  Testimonials  ---------- */
.testimonial { background: #fff; border: 1px solid var(--sand-300); border-radius: var(--r-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: var(--space-4); height: 100%; }
.testimonial__stars { color: var(--gold-500); letter-spacing: 2px; font-size: 1.05rem; }
.testimonial__quote { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.5; color: var(--ink-900); font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.testimonial__avatar { width: 48px; height: 48px; border-radius: var(--r-pill); background: linear-gradient(140deg, var(--gold-400), var(--gold-600)); color: #2a2207; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display); flex: none; }
.testimonial__author b { display: block; color: var(--ink-900); }
.testimonial__author span { font-size: .85rem; color: var(--ink-500); }

/* ----------  FAQ accordion  ---------- */
.faq { display: grid; gap: var(--space-3); }
.faq__item { background: #fff; border: 1px solid var(--sand-300); border-radius: var(--r-md); overflow: hidden; transition: border-color var(--transition); }
.faq__item.is-open { border-color: var(--gold-400); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); width: 100%; text-align: left; padding: var(--space-5); font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-900); }
.faq__q:hover { color: var(--gold-600); }
.faq__icon { flex: none; width: 28px; height: 28px; border-radius: var(--r-pill); border: 1.5px solid var(--sand-400); position: relative; transition: var(--transition); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--gold-600); border-radius: 2px; transition: var(--transition); }
.faq__icon::before { top: 50%; left: 7px; right: 7px; height: 2px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 7px; bottom: 7px; width: 2px; transform: translateX(-50%); }
.faq__item.is-open .faq__icon { background: var(--gold-500); border-color: var(--gold-500); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__item.is-open .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq__a-inner { padding: 0 var(--space-5) var(--space-5); color: var(--ink-500); }
.faq__a-inner > * + * { margin-top: var(--space-3); }

/* ----------  CTA band  ---------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(120% 160% at 15% 10%, var(--slate-600), var(--slate-700) 55%, var(--slate-800)); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); }
.cta-band::after { content:""; position:absolute; right:-60px; top:-60px; width:320px; height:320px; background: radial-gradient(circle, rgba(201,162,39,.22), transparent 70%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #cdd8db; position: relative; max-width: 560px; }
.cta-band .btn-row { position: relative; margin-top: var(--space-6); }
.cta-band--full { border-radius: 0; }

/* ----------  Contact wizard form  ---------- */
.wizard { background: #fff; border: 1px solid var(--sand-300); border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.wizard__progress { display: flex; background: var(--cream-100); border-bottom: 1px solid var(--sand-300); }
.wizard__progress-step { flex: 1; padding: var(--space-3) var(--space-2); text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-300); position: relative; text-transform: uppercase; }
.wizard__progress-step .num { display: inline-flex; align-items:center; justify-content:center; width: 26px; height: 26px; border-radius: var(--r-pill); border: 2px solid var(--sand-400); color: var(--ink-300); margin-right: 6px; font-size: .8rem; transition: var(--transition); }
.wizard__progress-step.is-active { color: var(--gold-600); }
.wizard__progress-step.is-active .num { border-color: var(--gold-500); background: var(--gold-500); color: #fff; }
.wizard__progress-step.is-done .num { border-color: var(--gold-500); background: var(--gold-500); color: #fff; }
.wizard__progress-step.is-done { color: var(--ink-700); }
.wizard__body { padding: clamp(24px, 4vw, 44px); }
.wizard__step { display: none; animation: fadeUp .4s var(--ease); }
.wizard__step.is-active { display: block; }
.wizard__step h3 { margin-bottom: var(--space-2); }
.wizard__step > p { margin-bottom: var(--space-5); }
.wizard__legend { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: var(--space-4); }

/* selectable icon option cards */
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (max-width: 540px) { .option-grid { grid-template-columns: 1fr; } }
.option {
  display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4);
  border: 1.5px solid var(--sand-300); border-radius: var(--r-md); background: var(--cream-50);
  cursor: pointer; transition: var(--transition); position: relative;
}
.option:hover { border-color: var(--gold-400); background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option__icon { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--sand-300); color: var(--gold-600); flex: none; transition: var(--transition); }
.option__icon svg { width: 26px; height: 26px; }
.option__text b { display: block; color: var(--ink-900); }
.option__text span { font-size: .85rem; color: var(--ink-500); }
.option__check { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: var(--r-pill); border: 2px solid var(--sand-400); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.option__check svg { width: 14px; height: 14px; color: #fff; }
.option input:checked ~ .option__check { opacity: 1; background: var(--gold-500); border-color: var(--gold-500); }
.option:has(input:checked) { border-color: var(--gold-500); background: #fffdf5; box-shadow: var(--shadow-sm); }
.option:has(input:checked) .option__icon { background: var(--gold-500); color: #fff; border-color: var(--gold-500); }

/* form fields */
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink-700); margin-bottom: var(--space-2); }
.field label .req { color: var(--gold-600); }
.field .input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--sand-300); border-radius: var(--r-md);
  background: var(--cream-50); transition: var(--transition);
}
.field .input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-500); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(201,162,39,.12); }
.field textarea { min-height: 110px; resize: vertical; }
.field--icon { position: relative; }
.field--icon svg { position: absolute; left: 14px; top: 43px; width: 20px; height: 20px; color: var(--ink-300); }
.field--icon .input { padding-left: 44px; }
.field .error-msg { color: var(--danger); font-size: .82rem; margin-top: 6px; display: none; }
.field.has-error .input, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error-msg { display: block; }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: .88rem; color: var(--ink-500); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--gold-600); }
.wizard__nav { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-6); }
.wizard__summary { background: var(--cream-100); border: 1px dashed var(--sand-400); border-radius: var(--r-md); padding: var(--space-4); margin-bottom: var(--space-5); font-size: .92rem; }
.wizard__summary dt { font-weight: 600; color: var(--ink-700); }
.wizard__summary dd { color: var(--ink-500); margin-bottom: var(--space-3); }
.wizard__success { text-align: center; padding: var(--space-7) var(--space-5); display: none; }
.wizard__success.is-active { display: block; animation: fadeUp .5s var(--ease); }
.wizard__success .icon-circle { background: var(--success); color: #fff; width: 72px; height: 72px; margin-inline: auto; }
.wizard__success .icon-circle svg { width: 38px; height: 38px; }

/* ----------  Info / contact cards  ---------- */
.info-card { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); background: #fff; border: 1px solid var(--sand-300); border-radius: var(--r-lg); }
.info-card svg { width: 26px; height: 26px; color: var(--gold-600); flex: none; }
.info-card b { display: block; color: var(--ink-900); }
.info-card a { color: var(--ink-700); font-weight: 600; }
.info-card a:hover { color: var(--gold-600); }

/* ----------  Blog cards  ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sand-300); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); height: 100%; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.post-card__tag { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.post-card__body h3 { font-size: 1.25rem; }
.post-card__body p { font-size: .95rem; flex: 1; }
.post-card__more { font-weight: 600; color: var(--gold-600); display: inline-flex; align-items: center; gap: 6px; }
.post-card__more svg { width: 18px; height: 18px; transition: transform var(--transition); }
.post-card:hover .post-card__more svg { transform: translateX(4px); }

/* ----------  Article (blog post / legal) typography  ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: var(--space-5); }
.prose h2 { margin-top: var(--space-8); }
.prose h3 { margin-top: var(--space-6); }
.prose p, .prose li { color: var(--ink-700); line-height: 1.8; }
.prose ul { display: grid; gap: var(--space-2); }
.prose ul li { position: relative; padding-left: var(--space-5); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--gold-500); }
.prose ol { counter-reset: li; display: grid; gap: var(--space-3); }
.prose ol li { counter-increment: li; position: relative; padding-left: var(--space-7); }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: var(--r-pill); background: var(--cream-200); color: var(--gold-600); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.prose img { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); margin-block: var(--space-6); }
.prose blockquote { border-left: 3px solid var(--gold-500); padding: var(--space-2) 0 var(--space-2) var(--space-5); font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--ink-900); }
.article-meta { display: flex; gap: var(--space-4); flex-wrap: wrap; color: var(--ink-300); font-size: .88rem; margin-top: var(--space-4); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 16px; height: 16px; }

/* ----------  Footer  ---------- */
.site-footer { background: var(--slate-800); color: #aebbbf; }
.site-footer__top { padding-block: var(--space-8) var(--space-7); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-6); }
.site-footer img.footer-logo { height: 76px; width: auto; margin-bottom: var(--space-4); }
.site-footer p { color: #94a4a8; font-size: .92rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--space-4); }
.site-footer ul { display: grid; gap: var(--space-2); }
.site-footer a { color: #aebbbf; font-size: .92rem; }
.site-footer a:hover { color: var(--gold-400); }
.footer-contact li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: .92rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; margin-top: 3px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--space-5); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: .85rem; color: #7f9094; }
.site-footer__bottom a { color: #7f9094; }
.site-footer__bottom .legal-links { display: flex; gap: var(--space-4); }
@media (max-width: 860px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ----------  Mobile sticky CTA  ---------- */
.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: rgba(253,251,246,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--sand-300);
    padding: 10px var(--space-3); gap: var(--space-2); box-shadow: 0 -6px 20px rgba(28,40,45,.1);
  }
  .mobile-cta .btn { flex: 1; padding: 13px 16px; font-size: .95rem; }
  body { padding-bottom: 72px; }
}

/* ----------  Scroll reveal (only hides when JS is active; no-JS = fully visible)  ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ----------  Back to top  ---------- */
.to-top { position: fixed; right: 20px; bottom: 84px; z-index: 80; width: 48px; height: 48px; border-radius: var(--r-pill); background: var(--slate-700); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-500); color: #2a2207; }
.to-top svg { width: 22px; height: 22px; }
@media (min-width: 769px) { .to-top { bottom: 24px; } }

/* ----------  Utilities  ---------- */
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold-500); color: #2a2207; padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 0; }
.tag-pill { display: inline-block; padding: 6px 14px; border-radius: var(--r-pill); background: var(--cream-200); color: var(--gold-600); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.divider-flourish { display: flex; align-items: center; justify-content: center; gap: var(--space-3); color: var(--gold-500); margin-block: var(--space-5); }
.divider-flourish::before, .divider-flourish::after { content: ""; height: 1px; width: 60px; background: var(--sand-400); }
