/* AS Immobilien — Bahia Atris (v2)
 * Editorial Premium · Dark Hero · Cormorant Garamond Display · Heavy Gold-Akzent
 * Built with Emil's polish principles
 */

:root {
  --gold-50:  #FFF9E6;
  --gold-100: #FCEEC2;
  --gold-200: #F8E190;
  --gold-500: #F8D24A;
  --gold-600: #E5BD2F;
  --gold-700: #C9A11F;
  --gold-800: #8E7115;

  --ink-950: #0F1011;
  --ink-900: #1F2021;
  --ink-800: #2A2D33;
  --ink-700: #383F4A;
  --ink-500: #6B7280;
  --ink-300: #9CA3AF;
  --ink-200: #D1D5DB;

  --paper-50:  #FAFAF8;
  --paper-100: #F4F4F0;
  --paper-200: #E8E8E0;

  --accent: var(--gold-500);
  --accent-rgb: 248, 210, 74;
  --brand: var(--gold-500);

  --section-py: 7rem;

  /* Strong custom easings (Emil-approved) */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

@media (max-width: 768px) {
  :root { --section-py: 4.5rem; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

::selection { background: var(--accent); color: var(--ink-900); }

/* ============ NAVBAR ============ */
#navbar {
  background: transparent;
  transition: background 250ms var(--ease-out), border-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
#navbar.nav-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--paper-200);
  box-shadow: 0 1px 3px rgba(31, 32, 33, 0.05);
}

/* Logo: initial weiß auf Dark-Hero, normal auf weißem Scroll-State */
#navbar #navLogo {
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,0.35));
  transition: filter 250ms var(--ease-out);
}
#navbar.nav-scrolled #navLogo { filter: none; }

/* Nav text: initial paper-50 auf Dark-Hero, ink-900 nach Scroll */
.nav-text {
  color: var(--paper-50);
  transition: color 250ms var(--ease-out);
}
#navbar.nav-scrolled .nav-text { color: var(--ink-900); }
#navbar .nav-link:hover { color: var(--accent); }
#navbar.nav-scrolled .nav-link:hover { color: var(--gold-700); }

.nav-link {
  position: relative;
  transition: color 200ms var(--ease-out);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover { color: var(--accent); }

/* ============ EYEBROW ============ */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.eyebrow-gold { color: var(--gold-500); }
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.15);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background 200ms var(--ease-out), color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), border-color 200ms var(--ease-out);
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: scale(0.97); }

.btn-gold {
  background: var(--accent);
  color: var(--ink-900);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.32);
}
.btn-gold:hover {
  background: var(--gold-600);
  box-shadow: 0 8px 22px rgba(var(--accent-rgb), 0.45);
}
.btn-gold-outline {
  background: transparent;
  color: var(--gold-700);
  border-color: var(--gold-500);
}
.btn-gold-outline:hover {
  background: var(--accent);
  color: var(--ink-900);
}
.btn-ghost-light {
  background: transparent;
  color: var(--paper-50);
  border-color: rgba(250, 250, 248, 0.4);
}
.btn-ghost-light:hover {
  background: rgba(250, 250, 248, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-700);
}
.btn-ghost-dark:hover {
  background: var(--ink-900);
  color: var(--paper-50);
  border-color: var(--ink-900);
}

/* ============ SECTIONS ============ */
.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.section-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 18px 0 0;
}
.section-h2 em {
  font-style: italic;
  font-weight: 500;
}
.section-sub {
  margin: 22px auto 0;
  max-width: 580px;
  font-size: 17px;
  color: var(--ink-700);
  line-height: 1.65;
}

/* ============ TRUST BULLETS ============ */
.trust-bullet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 1.55;
}
.trust-check {
  width: 24px; height: 24px;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  background: rgba(var(--accent-rgb), 0.18);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}
.trust-check-dark {
  background: var(--gold-50);
  color: var(--gold-700);
  border-color: var(--gold-200);
}

/* ============ BRAND CARD (Hero right) ============ */
.brand-card {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin-left: auto;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6),
              0 0 0 1px rgba(var(--accent-rgb), 0.25);
  isolation: isolate;
}
.brand-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.brand-card-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.brand-card-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.brand-card-badge {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--ink-900);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(var(--accent-rgb), 0.5);
  flex-shrink: 0;
}

/* ============ USP CARDS ============ */
.usp-card {
  background: #FFF;
  border: 1px solid var(--paper-200);
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.usp-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px -10px rgba(var(--accent-rgb), 0.25);
}
.usp-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--gold-50);
  color: var(--gold-700);
  border-radius: 14px;
  margin-bottom: 24px;
  position: relative;
}
.usp-icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 1px dashed rgba(var(--accent-rgb), 0.3);
}
.usp-icon svg { width: 28px; height: 28px; }
.usp-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.usp-body {
  margin-top: 12px;
  font-size: 15.5px;
  color: var(--ink-700);
  line-height: 1.65;
}

/* ============ BENTO GRID (Services 4 prominent) ============ */
.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  grid-template-rows: 380px;
  gap: 14px;
}
@media (max-width: 1023px) {
  .bento-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 320px; }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 280px); }
}
.bento-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-900);
  border: 1px solid transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  padding: 0;
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out);
}
.bento-card:active { transform: scale(0.99); }
.bento-card:hover { border-color: var(--accent); }
.bento-card:hover .bento-img img { transform: scale(1.06); }
.bento-card:hover .bento-link { color: var(--accent); }
.bento-card:hover .bento-link svg { transform: translateX(4px); }

.bento-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.bento-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,16,17,0.05) 0%, rgba(15,16,17,0.45) 50%, rgba(15,16,17,0.92) 100%);
}
.bento-content {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper-50);
}
.bento-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.bento-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  color: var(--paper-50);
  letter-spacing: -0.01em;
}
.bento-title em { color: var(--accent); font-style: italic; }
.bento-body {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(250, 250, 248, 0.78);
  max-width: 340px;
}
.bento-link {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-50);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 200ms var(--ease-out);
}
.bento-link svg { transition: transform 200ms var(--ease-out); }

/* ============ LISTINGS ============ */
.listing-card {
  position: relative;
  background: #FFF;
  border: 1px solid var(--paper-200);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out), border-color 280ms var(--ease-out);
}
.listing-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 22px 48px -12px rgba(31, 32, 33, 0.16);
}
.listing-card:hover .listing-img img { transform: scale(1.05); }
.listing-img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--paper-100);
}
.listing-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.listing-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 2;
}
.listing-badge-available {
  background: var(--accent);
  color: var(--ink-900);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.4);
}
.listing-badge-sold {
  background: rgba(15, 16, 17, 0.85);
  color: var(--paper-50);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
}
.listing-body { padding: 26px; }
.listing-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.listing-loc {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}
.listing-specs {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-700);
}
.listing-price {
  margin-top: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--ink-900);
  line-height: 1;
}
.listing-price em { color: var(--gold-700); font-style: italic; }

/* ============ STADTTEILE (Hood Cards) ============ */
.hood-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), background 280ms var(--ease-out);
}
.hood-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}
.hood-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.hood-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--paper-50);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.hood-body {
  margin-top: 12px;
  font-size: 14.5px;
  color: rgba(250, 250, 248, 0.7);
  line-height: 1.6;
}
.hood-meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--accent-rgb), 0.15);
  font-size: 12px;
  color: rgba(250, 250, 248, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ============ STICKY-STACKING ABLAUF ============ */
.stack-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.stack-card {
  position: sticky;
  top: 100px;
  background: var(--paper-50);
  border: 1px solid var(--paper-200);
  border-top: 3px solid var(--accent);
  border-radius: 20px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  min-height: 280px;
  box-shadow: 0 24px 60px -20px rgba(31, 32, 33, 0.12);
}
.stack-card-1 { top: 100px; }
.stack-card-2 { top: 120px; }
.stack-card-3 { top: 140px; }
.stack-card-4 { top: 160px; }
.stack-card-5 { top: 180px; }

@media (max-width: 768px) {
  .stack-card {
    position: relative;
    top: auto !important;
    padding: 36px 28px;
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
  }
}

.stack-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(72px, 9vw, 132px);
  line-height: 0.85;
  color: var(--accent);
  letter-spacing: -0.04em;
  text-shadow: 0 4px 24px rgba(var(--accent-rgb), 0.25);
}
.stack-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 10px;
}
.stack-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  color: var(--ink-900);
  letter-spacing: -0.015em;
}
.stack-body {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  max-width: 600px;
}

/* ============ ABOUT ============ */
.about-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink-900);
}
.about-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-portrait-tag {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  padding: 10px 16px;
  background: rgba(15, 16, 17, 0.85);
  backdrop-filter: blur(8px);
  color: var(--paper-50);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
}
.about-portrait-frame {
  position: absolute;
  inset: -8px;
  border: 1px solid var(--accent);
  border-radius: 24px;
  pointer-events: none;
  z-index: -1;
}

.prose-custom { font-size: 17px; color: var(--ink-700); line-height: 1.75; }
.prose-custom p { margin: 0 0 18px; }
.prose-custom .lead-p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-900);
  margin-bottom: 24px;
}
.dropcap {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 5em;
  color: var(--gold-700);
  float: left;
  line-height: 0.8;
  margin: 8px 12px 0 0;
}

.pull-quote {
  margin: 36px 0 0;
  padding: 28px 32px;
  border-left: 3px solid var(--accent);
  background: var(--gold-50);
  border-radius: 0 12px 12px 0;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--ink-900);
}
.pull-quote span { display: block; }

/* ============ TESTIMONIALS ============ */
.testi-card {
  position: relative;
  background: #FFF;
  border: 1px solid var(--paper-200);
  border-radius: 16px;
  padding: 40px 32px 32px;
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.testi-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px -12px rgba(var(--accent-rgb), 0.2);
}
.testi-mark {
  position: absolute;
  top: 8px; left: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.55;
  font-style: italic;
}
.testi-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-900);
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testi-stars {
  margin-top: 22px;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.18em;
}
.testi-attr {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  font-style: normal;
}

/* ============ FAQ ============ */
.faq-item {
  background: #FFF;
  border: 1px solid var(--paper-200);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 200ms var(--ease-out);
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  padding: 24px 28px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 21px;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color 200ms var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-700); }
.faq-icon {
  width: 30px; height: 30px;
  display: inline-grid; place-items: center;
  background: var(--gold-50);
  color: var(--gold-700);
  border-radius: 50%;
  font-size: 1.4rem; font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 280ms var(--ease-out), background 200ms var(--ease-out), color 200ms var(--ease-out);
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--ink-900);
}
.faq-body {
  padding: 0 28px 26px;
  color: var(--ink-700);
  font-size: 16px;
  line-height: 1.7;
}

/* ============ FOOTER ============ */
.footer-link {
  position: relative;
  transition: color 200ms var(--ease-out);
}
.footer-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transition: right 250ms var(--ease-out);
}
.footer-link:hover { color: var(--accent); }
.footer-link:hover::after { right: 0; }

footer img {
  filter: brightness(0) saturate(100%) invert(75%) sepia(45%) saturate(620%) hue-rotate(2deg) brightness(105%) contrast(101%);
}

/* ============ STICKY CTA ============ */
.sticky-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--accent);
  color: var(--ink-900);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(var(--accent-rgb), 0.5);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 350ms var(--ease-out), opacity 250ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.sticky-cta.visible { transform: translateY(0); opacity: 1; }
.sticky-cta:hover { background: var(--gold-600); box-shadow: 0 16px 40px rgba(var(--accent-rgb), 0.65); }
.sticky-cta:active { transform: scale(0.96); }

@media (min-width: 1024px) {
  .sticky-cta { display: none; }
}

/* ============ MODAL ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 250ms var(--ease-out);
  padding: 24px;
}
.modal.open { pointer-events: auto; opacity: 1; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 16, 17, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative;
  background: var(--paper-50);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 48px;
  box-shadow: 0 32px 80px -10px rgba(0,0,0,0.45),
              0 0 0 1px rgba(var(--accent-rgb), 0.2);
  transform: scale(0.96) translateY(8px);
  opacity: 0;
  transition: transform 350ms var(--ease-out), opacity 250ms var(--ease-out);
}
.modal.open .modal-panel { transform: scale(1) translateY(0); opacity: 1; }
.modal-panel-lg { max-width: 640px; }
.modal-panel-xl { max-width: 1100px; padding: 0; overflow: hidden; }

@media (max-width: 768px) {
  .modal { padding: 12px; }
  .modal-panel { padding: 32px 24px; max-height: 95vh; }
  .modal-panel-xl { padding: 0; }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: transparent;
  color: var(--ink-700);
  border: 1px solid var(--paper-200);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.modal-close:hover { background: var(--ink-900); color: var(--paper-50); border-color: var(--ink-900); }
.modal-close:active { transform: scale(0.94); }

.modal-header { margin-bottom: 28px; }

/* Step Bar */
.step-bar {
  position: relative;
  margin-bottom: 32px;
}
.step-bar::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0; right: 0;
  height: 2px;
  background: var(--paper-200);
  border-radius: 2px;
}
.step-bar-fill {
  position: absolute;
  top: 7px;
  left: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 400ms var(--ease-out);
}
.step-bar-labels {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}
.step-bar-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  position: relative;
  padding-top: 16px;
  transition: color 200ms var(--ease-out);
}
.step-bar-label::before {
  content: '';
  position: absolute;
  top: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper-100);
  border: 2px solid var(--paper-200);
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.step-bar-label.active { color: var(--ink-900); }
.step-bar-label.active::before { background: var(--accent); border-color: var(--accent); }

.step-pane { display: none; animation: stepIn 350ms var(--ease-out); }
.step-pane.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.step-nav {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.step-nav .btn { flex: 1; min-width: 0; }
.step-nav #stepBack { flex: 0 0 auto; }

/* Form */
.modal-form {}
.form-field-stack {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.modal-form input[type="text"],
.modal-form input[type="number"],
.modal-form input[type="tel"],
.modal-form input[type="email"],
.modal-form select {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  background: #FFF;
  border: 1px solid var(--paper-200);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--ink-900);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.modal-form input:focus,
.modal-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
}

.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.radio-grid label {
  position: relative;
  display: block;
  padding: 14px 18px;
  background: #FFF;
  border: 1px solid var(--paper-200);
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.radio-grid label:hover { border-color: var(--gold-200); }
.radio-grid input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.radio-grid input[type="radio"]:checked + span {
  color: var(--ink-900);
  font-weight: 600;
}
.radio-grid label:has(input:checked) {
  border-color: var(--accent);
  background: var(--gold-50);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.modal-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--paper-200);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-500);
}
.modal-trust { font-weight: 500; color: var(--ink-700); }

/* Services Modal */
.services-modal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
}
@media (max-width: 768px) {
  .services-modal-grid { grid-template-columns: 1fr; }
}
.services-sidebar {
  background: var(--ink-900);
  color: var(--paper-50);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.services-sidebar .eyebrow { color: var(--gold-500); }
.services-sidebar h3 { color: var(--paper-50); }
.services-sidebar h3 em { color: var(--accent); }
.service-nav-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: rgba(250, 250, 248, 0.7);
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
}
.service-nav-item:hover { background: rgba(var(--accent-rgb), 0.1); color: var(--paper-50); }
.service-nav-item.active {
  background: rgba(var(--accent-rgb), 0.18);
  color: var(--accent);
  font-weight: 600;
  border-left: 2px solid var(--accent);
}

.services-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 480px;
}
@media (max-width: 768px) {
  .services-detail { grid-template-columns: 1fr; }
}
.service-detail-img {
  background: var(--paper-100);
  overflow: hidden;
  min-height: 260px;
}
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-text {
  padding: 40px;
}
.service-detail-text h3 em { color: var(--gold-700); font-style: italic; font-weight: 500; }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.active { opacity: 1; transform: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.active { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .stack-card { position: relative !important; top: auto !important; }
}

/* ============ LEGAL PAGES (Impressum / Datenschutz) ============ */
.legal-page {
  padding-top: 8rem;
  padding-bottom: 6rem;
  background: var(--paper-50);
  position: relative;
  overflow: hidden;
}
.legal-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(var(--accent-rgb), 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.legal-container {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 200ms var(--ease-out);
}
.legal-back:hover { color: var(--gold-700); }

.legal-h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 14px 0 0;
}
.legal-lead {
  margin-top: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--paper-200);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-700);
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.legal-section {
  margin-top: 48px;
}
.legal-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-200);
}
.legal-section h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink-900);
  margin: 28px 0 10px;
  letter-spacing: -0.01em;
}
.legal-section p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700);
  margin: 0 0 16px;
}
.legal-section a {
  color: var(--gold-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 200ms var(--ease-out);
}
.legal-section a:hover { color: var(--ink-900); }

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.legal-list li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  padding: 6px 0 6px 22px;
  position: relative;
}
.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.legal-list li strong { color: var(--ink-900); font-weight: 600; }

.legal-address {
  background: var(--paper-100);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  border-radius: 0 12px 12px 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-900);
}
.legal-address strong { font-weight: 600; }

.legal-tbd {
  display: inline-block;
  background: var(--gold-50);
  color: var(--gold-800);
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px dashed var(--gold-500);
  font-style: italic;
}

.legal-info {
  font-size: 14px !important;
  color: var(--ink-500) !important;
  margin-top: 8px !important;
}

.legal-meta {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--paper-200);
  font-size: 13px;
  color: var(--ink-500);
  text-align: center;
}

/* ============ ABLAUF — Editorial Alternating Spread ============ */
.ablauf-spread {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 10vw, 140px);
}
.ablauf-spread::before {
  content: '';
  position: absolute;
  top: 60px;
  bottom: 60px;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-200) 8%, var(--gold-200) 92%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .ablauf-spread::before { left: 36px; }
}
.ablauf-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.ablauf-step:nth-child(even) {
  direction: rtl;
}
.ablauf-step:nth-child(even) > * { direction: ltr; }

.ablauf-num {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ablauf-num span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(7rem, 14vw, 14rem);
  line-height: 0.85;
  color: var(--gold-500);
  letter-spacing: -0.04em;
  text-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.2);
  position: relative;
  z-index: 1;
}
.ablauf-num::before {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--paper-50), 0 0 0 7px var(--gold-200);
  z-index: 2;
}
.ablauf-step:nth-child(odd) .ablauf-num::before { right: -7px; }
.ablauf-step:nth-child(even) .ablauf-num::before { left: -7px; }

.ablauf-text {
  max-width: 480px;
}
.ablauf-step:nth-child(odd) .ablauf-text { padding-left: 0; }
.ablauf-step:nth-child(even) .ablauf-text { padding-right: 0; margin-left: auto; }

.ablauf-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 14px;
}
.ablauf-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0;
}
.ablauf-body {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
}

@media (max-width: 900px) {
  .ablauf-step,
  .ablauf-step:nth-child(even) {
    direction: ltr;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: flex-start;
  }
  .ablauf-num { justify-content: flex-start; }
  .ablauf-num span { font-size: 4.5rem; }
  .ablauf-num::before,
  .ablauf-step:nth-child(even) .ablauf-num::before { left: 29px; right: auto; top: 24px; }
  .ablauf-text { padding: 0 !important; margin: 0 !important; }
}

/* ============ FAQ — Sticky Left + Scroll Right ============ */
.faq-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .faq-split-grid { grid-template-columns: 1fr; gap: 32px; }
}

.faq-sticky {
  position: sticky;
  top: 110px;
  align-self: start;
}
@media (max-width: 900px) {
  .faq-sticky { position: relative; top: auto; }
}
.faq-sticky-inner {
  display: flex;
  flex-direction: column;
}
.faq-sticky-headline {
  margin: 18px 0 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.faq-sticky-sub {
  margin-top: 24px;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
}
.faq-sticky-cta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.faq-sticky-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}
.faq-sticky-phone:hover { color: var(--gold-700); }
.faq-sticky-phone svg { color: var(--gold-700); }

.faq-scroll {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ============================================================ */
/* ============ v4 — HERO with BG-Image + CTA-BG ============== */
/* ============================================================ */

/* HERO v4 — Background Image + Buttons + Wide 3-Line Headline */
.hero-v4 {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 1.5rem 6rem;
  overflow: hidden;
  background: var(--ink-950);
}
@media (max-width: 768px) {
  .hero-v4 { padding: 7.5rem 1.25rem 5rem; min-height: auto; }
}
.hero-v4-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-v4-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-v4-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,16,17,0.72) 0%, rgba(15,16,17,0.55) 40%, rgba(15,16,17,0.85) 100%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(var(--accent-rgb), 0.18) 0%, transparent 70%);
}
.hero-v4-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.eyebrow-on-dark { color: var(--gold-500); }
.eyebrow-on-dark .eyebrow-dot { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.2); }

.hero-v4-headline {
  margin: 28px 0 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.25rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper-50);
  max-width: 1100px;
}
.hero-v4-headline-italic {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-500);
  margin: 0.05em 0;
}

.hero-v4-sub {
  margin-top: 28px;
  max-width: 640px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: rgba(250, 250, 248, 0.85);
}

.hero-v4-stats {
  margin-top: 52px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
}
.hero-stat-dark .hero-stat-num { color: var(--gold-500); }
.hero-stat-dark .hero-stat-label { color: rgba(250, 250, 248, 0.6); }
.hero-stat-divider-dark { background: rgba(250, 250, 248, 0.15); }

.hero-v4-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-v4-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.45);
  z-index: 1;
}
@media (min-width: 1024px) { .hero-v4-scroll { display: flex; } }
.hero-v4-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(250, 250, 248, 0.45), transparent);
}

/* CTA v4 — Background Image + Buttons */
.cta-v4 {
  position: relative;
  padding: 9rem 1.5rem;
  overflow: hidden;
  background: var(--ink-950);
}
@media (max-width: 768px) { .cta-v4 { padding: 6rem 1.25rem; } }
.cta-v4-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-v4-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.cta-v4-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,16,17,0.78) 0%, rgba(15,16,17,0.85) 100%),
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(var(--accent-rgb), 0.2) 0%, transparent 70%);
}
.cta-v4-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.cta-v4-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper-50);
  margin: 12px 0 0;
}
.cta-v4-italic {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-500);
  margin-top: 0.05em;
}
.cta-v4-sub {
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: rgba(250, 250, 248, 0.8);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-v4-buttons {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================ */
/* ============ v3 — HERO + SERVICES + CTA REWORK ============= */
/* ============================================================ */

/* HERO — Vertical Editorial (Carolwood-Pattern) */
.hero-v3 {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 1.5rem 6rem;
  background: var(--paper-50);
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero-v3 { padding: 7.5rem 1.25rem 5rem; min-height: auto; }
}
.hero-v3-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(var(--accent-rgb), 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 15% 30%, rgba(var(--accent-rgb), 0.08) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.hero-v3-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-v3-headline {
  margin: 28px 0 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  max-width: 16ch;
}
.hero-v3-headline-italic {
  display: block;
  margin-top: 0.1em;
  font-style: italic;
  font-weight: 500;
  color: var(--ink-900);
}
.hero-v3-headline-italic::before {
  content: '';
  display: inline-block;
  width: 0.4em;
  height: 0.06em;
  margin-right: 0.4em;
  vertical-align: 0.32em;
  background: var(--accent);
}

.hero-v3-sub {
  margin-top: 32px;
  max-width: 560px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-700);
}

/* Stats Row */
.hero-v3-stats {
  margin-top: 56px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 100px;
}
.hero-stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1;
  color: var(--gold-700);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  line-height: 1.5;
}
.hero-stat-divider {
  width: 1px;
  background: var(--paper-200);
  align-self: stretch;
}
@media (max-width: 640px) {
  .hero-v3-stats { gap: 32px; }
  .hero-stat-divider { display: none; }
}

/* Hero CTA Row */
.hero-v3-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .hero-v3-cta { gap: 20px; flex-direction: column; }
}

/* Editorial Underline-Link CTA */
.ed-link {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  color: var(--ink-900);
  padding: 0;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: color 200ms var(--ease-out);
}
.ed-link span {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  padding-bottom: 6px;
  transition: background-size 280ms var(--ease-out);
}
.ed-link:hover { color: var(--gold-700); }
.ed-link:hover span { background-size: 100% 2px; }
.ed-link-primary {
  color: var(--gold-700);
}
.ed-link-primary span {
  background-size: 100% 2px;
}
.ed-link-primary:hover {
  color: var(--ink-900);
}
.ed-link-lg {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}
.ed-link-divider {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .ed-link-divider { display: none; }
}

.hero-v3-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-300);
  z-index: 1;
}
@media (min-width: 1024px) { .hero-v3-scroll { display: flex; } }
.hero-v3-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ink-300), transparent);
}

/* ============ SERVICES — Aesop Pattern (Photo top, Text on white below) ============ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--paper-200);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  padding: 0;
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px -14px rgba(31, 32, 33, 0.14);
}
.svc-card:active { transform: scale(0.99); }

.svc-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-100);
  border-bottom: 1px solid var(--paper-200);
}
.svc-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.svc-card:hover .svc-card-img img { transform: scale(1.04); }

.svc-card-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}
.svc-card-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--gold-700);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.svc-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  line-height: 1.15;
  color: var(--ink-900);
  letter-spacing: -0.015em;
}
.svc-card-sub {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-700);
  flex: 1;
}
.svc-card-link {
  margin-top: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 200ms var(--ease-out);
}
.svc-card:hover .svc-card-link { gap: 12px; color: var(--ink-900); }
.svc-card:hover .svc-card-link svg { color: var(--accent); }

/* ============ FINAL CTA — Editorial Section ============ */
.cta-final {
  position: relative;
  padding: 9rem 1.5rem;
  background: var(--paper-50);
  overflow: hidden;
}
@media (max-width: 768px) { .cta-final { padding: 6rem 1.25rem; } }
.cta-final-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(var(--accent-rgb), 0.13) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.cta-final-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 12px 0 0;
}
.cta-final-italic {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-700);
  display: inline-block;
}
.cta-final-sub {
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-700);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final-links {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .cta-final-links { gap: 20px; flex-direction: column; }
}

/* ============ FOCUS-VISIBLE ============ */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
