/* ---------- Tokens ---------- */
:root {
  --bg: #F7F4EE;
  --bg-alt: #FBF9F4;
  --surface: #FFFFFF;
  --ink: #1A2A2D;
  --ink-2: #2E4144;
  --muted: #5E6F71;
  --muted-2: #8A9799;
  --line: #E4DDCE;
  --line-2: #EFEADE;
  --accent: #2F5A5C;
  --accent-ink: #1F3F40;
  --accent-soft: #DCE7E4;
  --warm: #C8B58E;
  --warm-soft: #EFE6D2;
  --danger: #B05A3D;

  --serif: "Newsreader", "Source Serif Pro", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 4px;
  --radius-lg: 14px;
  --container: 1180px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.5vw, 68px); line-height: 1.05; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; }
h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; }
h4 { font-size: 18px; line-height: 1.3; }
p  { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.4vw, 21px); color: var(--ink-2); line-height: 1.55; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
}

/* ---------- Navigation ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav-wrap.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 249, 244, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand-text { line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 17px; }
.brand-sub  { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* GeneratePress nav reset */
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 36px; }
.main-navigation ul li { position: relative; }
.main-navigation ul li a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  display: block;
}
.main-navigation ul li a:hover { color: var(--accent); }
.main-navigation ul li a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  transition: right .25s ease;
}
.main-navigation ul li a:hover::after { right: 0; }

/* CTA button in nav */
.main-navigation .nav-cta > a,
.nav-links .nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background .2s, transform .2s;
}
.main-navigation .nav-cta > a:hover,
.nav-links .nav-cta:hover {
  background: var(--accent-ink) !important;
  transform: translateY(-1px);
}
.main-navigation .nav-cta > a::after { display: none; }

.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 49;
  padding: 100px 32px 40px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 28px;
  text-decoration: none;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .mob-cta {
  margin-top: 16px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  padding: 16px 24px !important;
  font-size: 17px !important;
  text-align: center;
  border-bottom: 0 !important;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  transition: all .22s ease;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(31,63,64,.45); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
section { padding: 110px 0; position: relative; }
.bg-alt  { background: var(--bg-alt); }
.bg-warm { background: #F1EADB; }

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head .eyebrow {
  justify-content: center;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  background: rgba(255,255,255,.5);
}
.section-head .eyebrow::before { display: none; }
.section-head p { margin-top: 18px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 60px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(47, 90, 92, 0.06) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(200, 181, 142, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 .accent { font-style: italic; color: var(--accent); }
.hero-copy .lead { margin-top: 26px; max-width: 540px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 540px;
}
.hero-meta .num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--accent-ink);
  line-height: 1;
}
.hero-meta .lbl { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.35; }

/* Portrait */
.hero-portrait { position: relative; }
.hero-portrait .frame {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 30px 60px -30px rgba(26, 42, 45, 0.18);
}
.hero-portrait .frame::before {
  content: "";
  position: absolute;
  inset: -22px -22px auto auto;
  width: 110px; height: 110px;
  border: 1px solid var(--accent-soft);
  border-radius: 50%;
  z-index: -1;
}
.hero-portrait .frame::after {
  content: "";
  position: absolute;
  inset: auto auto -22px -22px;
  width: 130px; height: 130px;
  background: var(--warm-soft);
  border-radius: 50%;
  z-index: -1;
}
.hero-portrait img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 8px;
  filter: saturate(0.95);
}
.portrait-caption { margin-top: 22px; text-align: center; }
.portrait-caption .name { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.portrait-caption .role { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.portrait-badge {
  position: absolute;
  bottom: 38px; left: -32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px -16px rgba(26, 42, 45, 0.25);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.portrait-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4FA17B;
  box-shadow: 0 0 0 4px rgba(79,161,123,.18);
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: var(--bg-alt);
}
.trust-strip .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-strip .item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: 0.04em;
}
.trust-strip .item svg { color: var(--accent); }

/* ---------- Problem Section ---------- */
.problem {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.problem-side { position: sticky; top: 110px; }
.problem-list { display: flex; flex-direction: column; gap: 2px; }
.problem-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 24px;
  align-items: baseline;
}
.problem-item:first-child { border-top: 1px solid var(--line); }
.problem-item .ix { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 16px; }
.problem-item h3 { margin-bottom: 6px; font-size: 22px; }
.problem-item p { color: var(--muted); font-size: 15.5px; }

/* ---------- Offer Cards ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -24px rgba(26,42,45,.18);
  border-color: var(--accent-soft);
}
.offer-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--accent-ink);
}
.offer-card h3 { margin-top: 6px; }
.offer-card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step {
  padding: 48px 36px;
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.step:last-child { border-right: 0; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 56px; color: var(--accent); line-height: 1; }
.step h3 { font-size: 22px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step-meta {
  margin-top: auto;
  padding-top: 24px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Expertise Grid ---------- */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.exp-card {
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .2s;
}
.exp-card:hover { background: #FBFAF6; }
.exp-tag { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.exp-card h3 { font-size: 22px; }
.exp-card p { color: var(--muted); font-size: 15px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.about-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-img img { width: 100%; height: 620px; object-fit: cover; object-position: 50% 20%; }
.cv { margin-top: 32px; display: flex; flex-direction: column; }
.cv-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.cv-row:last-child { border-bottom: 1px solid var(--line); }
.cv-row .year { font-family: var(--serif); font-style: italic; color: var(--accent); }
.cv-row .what { color: var(--ink-2); }
.cv-row .where { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* ---------- Pricing ---------- */
.pricing-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pricing-card.feature { background: var(--accent); color: #E9F0EE; border-color: var(--accent-ink); }
.pricing-card.feature h3 { color: #fff; }
.pricing-card.feature .price { color: #fff; }
.pricing-card.feature .tier { color: var(--warm); }
.pricing-card.feature ul li::before { background: var(--warm); }
.tier { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.price { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--ink); }
.pricing-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pricing-card ul li {
  position: relative;
  padding-left: 24px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.5;
}
.pricing-card.feature ul li { color: rgba(255,255,255,0.85); }
.pricing-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 12px; height: 1px;
  background: var(--accent);
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
}
.faq-toggle {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background .2s, border-color .2s, transform .25s;
  color: var(--accent);
}
.faq-q:hover .faq-toggle { background: var(--accent-soft); border-color: var(--accent-soft); }
.faq-item.open .faq-toggle { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 0 26px; color: var(--muted); font-size: 15.5px; max-width: 680px; line-height: 1.65; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.contact-info { position: sticky; top: 110px; }
.contact-info h2 { margin-top: 14px; }
.contact-info .lead { margin-top: 22px; }
.contact-info-list { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.ci-item { display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: start; }
.ci-item .ci-ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--accent-ink);
  flex-shrink: 0;
}
.ci-label { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ci-value { font-family: var(--serif); font-size: 19px; color: var(--ink); line-height: 1.35; }
.ci-value a { text-decoration: none; }
.ci-value a:hover { color: var(--accent); }
.ci-note { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* Form */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 24px 50px -32px rgba(26, 42, 45, 0.15);
}
.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-2);
}
.form-head h3 { font-size: 22px; }
.step-pill {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  font-family: var(--sans);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.field label .opt { font-weight: 400; letter-spacing: 0; color: var(--muted-2); font-size: 12px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #FBF9F4;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  font-family: var(--sans);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232F5A5C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: -2px; }

/* Chips */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #FBF9F4;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: all .15s ease;
}
.chip:hover span { border-color: var(--accent); color: var(--accent); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Checkbox */
.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
}
.check input { position: absolute; opacity: 0; }
.check .box {
  width: 20px; height: 20px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: #FBF9F4;
  display: grid; place-items: center;
  transition: all .15s;
  flex-shrink: 0;
  margin-top: 1px;
}
.check .box svg { opacity: 0; transform: scale(0.6); transition: all .2s; color: #fff; }
.check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .box { box-shadow: 0 0 0 4px var(--accent-soft); }
.check a { color: var(--accent); }

.form-actions {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.submit-note { font-size: 12.5px; color: var(--muted); max-width: 320px; }

/* Form success */
.form-success { display: none; padding: 40px 32px; text-align: center; }
.check-ring {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--accent-ink);
}
.form-success h3 { font-size: 26px; margin-bottom: 14px; }
.form-success p { color: var(--muted); max-width: 440px; margin: 0 auto; }
.form-card.sent .form-grid,
.form-card.sent .form-head,
.form-card.sent .form-actions { display: none; }
.form-card.sent .form-success { display: block; }

/* ---------- Subpage / Legal ---------- */
.page-hero {
  padding: 80px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 90% 10%, rgba(47, 90, 92, 0.06) 0%, transparent 60%),
    radial-gradient(40% 60% at 5% 80%, rgba(200, 181, 142, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .inner { position: relative; max-width: 820px; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 56px); margin-top: 20px; }
.page-hero .lead { margin-top: 22px; max-width: 640px; }

.crumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--muted-2); }

.prose { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-size: clamp(24px, 2.2vw, 30px); margin-top: 56px; margin-bottom: 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin-top: 32px; margin-bottom: 10px; color: var(--ink); }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 14px 0; }
.prose li { margin: 6px 0; }
.prose a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .meta { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 64px; }

.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; padding-bottom: 110px; }
.legal-toc { position: sticky; top: 110px; font-size: 14px; }
.legal-toc h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.legal-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.legal-toc a {
  color: var(--ink-2);
  text-decoration: none;
  padding: 4px 0 4px 14px;
  display: block;
  border-left: 1px solid var(--line);
  transition: all .2s;
}
.legal-toc a:hover { color: var(--accent); border-left-color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  background: #131F21;
  color: #B8C5C7;
  padding: 70px 0 36px;
  font-size: 14px;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 60px;
}
.foot-grid a { color: #B8C5C7; text-decoration: none; }
.foot-grid a:hover { color: #fff; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-brand .brand-mark { background: var(--warm); color: var(--accent-ink); }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-sub  { color: var(--warm); }
.foot-brand p { margin-top: 18px; line-height: 1.6; }
.foot-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #7A8A8C;
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-navigation { display: none; }
  .nav-burger { display: inline-flex; }
  .hero { padding: 40px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-portrait img { height: 460px; }
  .portrait-badge { left: 12px; }
  section { padding: 70px 0; }
  .problem { grid-template-columns: 1fr; gap: 30px; }
  .problem-side { position: static; }
  .offer-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .expertise-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-img img { height: 460px; }
  .pricing-wrap { grid-template-columns: 1fr; gap: 24px; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .contact-info { position: static; }
  .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .container { padding: 0 24px; }
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
}


/* ==========================================================
   BLOG — Übersicht & Einzelbeitrag
   ========================================================== */

/* Blog-Grid (3 Spalten) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

/* Blog-Karte */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -24px rgba(26,42,45,.18);
  border-color: var(--accent-soft);
}
.blog-card-img { display: block; overflow: hidden; aspect-ratio: 16/9; }
.blog-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-thumb { transform: scale(1.03); }

.blog-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-cat {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.blog-cat:hover { text-decoration: underline; }
.blog-card-title { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.25; margin: 0; }
.blog-card-title a { text-decoration: none; color: var(--ink); }
.blog-card-title a:hover { color: var(--accent); }
.blog-card-excerpt { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
.blog-card-meta { font-size: 13px; color: var(--muted-2); display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: 4px;
}
.blog-read-more:hover { gap: 10px; }

/* Paginierung */
.blog-pagination { display: flex; justify-content: center; margin-top: 16px; }
.blog-pagination .nav-links { display: flex; gap: 8px; align-items: center; }
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
  color: var(--ink-2);
  transition: all .2s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
.blog-pagination .prev, .blog-pagination .next { padding: 0 18px; }

/* Leer-Zustand */
.blog-empty { text-align: center; padding: 80px 0; color: var(--muted); }

/* ---- Einzelbeitrag ---------------------------------------- */

/* Thumbnail */
.post-thumbnail-wrap { background: var(--bg-alt); padding: 0 0 60px; }
.post-thumbnail {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Post-Meta unter dem Titel */
.post-cats { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.post-cat-link { text-decoration: none !important; }
.post-cat-link::before { display: none !important; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
}
.post-author, .post-date, .post-reading {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Layout: Sidebar (TOC) + Inhalt */
.post-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
  padding-top: 60px;
  padding-bottom: 80px;
}
.post-toc {
  position: sticky;
  top: 100px;
  font-size: 13.5px;
}
.post-toc-inner h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 600;
}
#toc-nav a {
  display: block;
  padding: 5px 0 5px 14px;
  border-left: 1px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
  line-height: 1.4;
  transition: all .2s;
  margin-bottom: 4px;
}
#toc-nav a:hover, #toc-nav a.active { color: var(--accent); border-left-color: var(--accent); }

/* Prose (Beitragsinhalt) */
.post-content.prose h2 { scroll-margin-top: 90px; }
.post-content.prose h3 { scroll-margin-top: 90px; }
.post-content.prose img {
  border-radius: var(--radius);
  max-width: 100%;
  height: auto;
  loading: lazy;
}
.post-content.prose blockquote {
  border-left: 3px solid var(--accent);
  margin: 28px 0;
  padding: 16px 24px;
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-2);
  font-style: italic;
}
.post-content.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 24px 0;
}
.post-content.prose th {
  background: var(--accent-soft);
  color: var(--accent-ink);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.post-content.prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); }

/* Tags */
.post-tags-wrap { padding: 12px 0 40px; }
.post-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.post-tags a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  text-decoration: none;
  color: var(--ink-2);
  font-size: 12.5px;
  transition: all .15s;
}
.post-tags a:hover { border-color: var(--accent); color: var(--accent); }

/* Autorenbox */
.author-box {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 48px 0;
}
.author-avatar img { border-radius: 50%; width: 80px; height: 80px; object-fit: cover; }
.author-name { font-family: var(--serif); font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.author-bio { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* Beitragsnavigation */
.post-nav-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; margin-bottom: 0; }
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.post-nav-prev { text-align: left; }
.post-nav-next { text-align: right; }
.nav-label { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.nav-title { font-family: var(--serif); font-size: 18px; color: var(--ink); text-decoration: none; line-height: 1.3; display: block; }
.nav-title:hover { color: var(--accent); }

/* Ähnliche Beiträge */
.related-posts-section { padding: 80px 0; }

/* ---- Responsive Blog -------------------------------------- */
@media (max-width: 960px) {
  .blog-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .post-layout { grid-template-columns: 1fr; gap: 32px; }
  .post-toc { display: none; } /* TOC auf Mobile ausblenden */
  .post-nav { grid-template-columns: 1fr; gap: 20px; }
  .post-nav-next { text-align: left; }
  .author-box { grid-template-columns: 60px 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}
