/* ============================================================
   MULTIPAGER AI — Pure White Editorial Design
   Reference: DesignNinjas / Dstudio Dribbble
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  /* Strictly monochrome — NO color except via photography */
  --white:   #ffffff;
  --black:   #0a0a0a;
  --gray-1:  #1a1a1a;   /* body text  */
  --gray-2:  #555555;   /* muted text */
  --gray-3:  #888888;   /* subtle     */
  --gray-4:  #cccccc;   /* dividers   */
  --gray-5:  #f0f0f0;   /* light bg   */

  --fh: 'Space Grotesk', sans-serif;
  --fb: 'Inter', sans-serif;

  --nav-h:  80px;
  --sp:     clamp(64px, 8vw, 120px);
  --sp-sm:  clamp(32px, 4.5vw, 64px);
  --max:    1320px;
  --gutter: clamp(24px, 5vw, 80px);
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--fb);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--fb); border: none; background: none; }

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: var(--fh);
  letter-spacing: -0.03em;
  line-height: 1.07;
  color: var(--black);
}
h1 { font-size: clamp(3rem, 7vw, 9.5rem); font-weight: 700; }
h2 { font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2vw, 2rem);   font-weight: 600; }
h4 { font-size: clamp(1rem, 1.3vw, 1.25rem); font-weight: 600; }
p  { color: var(--gray-2); font-size: clamp(0.95rem, 1.05vw, 1.1rem); line-height: 1.82; }

.label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-3);
  display: block;
}

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── HR Divider ─── */
hr { border: none; border-top: 1px solid var(--gray-4); }

/* ============================================================
   SITE NAV — fixed right side, 4 lines stacked, active underlined
   ============================================================ */
.hero-nav {
  position: fixed;
  right: clamp(24px, 4vw, 56px);
  top: 38vh;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}
.hero-nav a {
  font-family: var(--fh);
  font-size: clamp(0.75rem, 0.85vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s;
  line-height: 1.4;
  text-align: right;
}
.hero-nav a:hover  { opacity: 0.45; }
.hero-nav a.active {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

/* ============================================================
   HERO — FULL IMAGE, ABSOLUTELY NO OVERLAY
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 62vh;
  min-height: 360px;
  display: block;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

/* Full image visible, no cropping — white letterbox blends into page bg */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  background: var(--white);
}

/* hero-logo-wrap kept for backward compat but hidden — logo is now in the nav */
.hero-logo-wrap { display: none; }

/* Text areas bottom-left and bottom-right — no background */
.hero-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(24px, 5vw, 80px) clamp(3rem, 8vw, 7rem);
}
.hero-bl { align-self: end; }
.hero-bl .label { color: var(--black); margin-bottom: 0.8rem; }
.hero-bl h1 {
  font-size: clamp(1.8rem, 3.8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--black);
}
.hero-sub {
  display: block;
  font-family: var(--fh);
  font-size: clamp(0.9rem, 1.3vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-1);
  margin-top: 1rem;
}

.hero-br {
  align-self: end;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
}
.hero-br p {
  color: var(--black);
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: right;
  max-width: 280px;
}
.hero-br .btn { color: var(--black); border-color: rgba(0,0,0,0.5); }
.hero-br .btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* Scroll indicator — below hero */
.below-hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 0 0;
  color: var(--gray-3);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--fh);
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--gray-4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.72rem 1.7rem;
  border-radius: 2px;
  font-weight: 600; font-size: 0.88rem;
  transition: all 0.22s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
}
.btn-primary:hover { background: var(--gray-1); transform: translateY(-1px); }

.btn-outline {
  border: 1px solid var(--black);
  color: var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-ghost {
  color: var(--gray-2);
  padding-left: 0; padding-right: 0;
  font-weight: 500;
}
.btn-ghost:hover { color: var(--black); }

/* ============================================================
   SECTIONS — Pure white, typography-only
   ============================================================ */
section { padding: var(--sp) 0; }
section.tight { padding: var(--sp-sm) 0; }
section.hero { padding: 0; }

.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .label { margin-bottom: 1rem; }
.section-head h2  { margin-bottom: 1rem; }
.section-head p   { font-size: 1.05rem; max-width: 540px; }
.section-head.center p { margin: 0 auto; }

/* ─── Claim band (below hero, all pages) ─── */
/* ============================================================
   CLAIM BAND — centered
   ============================================================ */
.claim-band {
  border-top: 1px solid var(--gray-4);
  border-bottom: 1px solid var(--gray-4);
  padding: 3.2rem var(--gutter);
  text-align: center;
}
.claim-band p {
  font-family: var(--fh);
  font-size: clamp(1.8rem, 3.8vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
  margin: 0 auto;
  max-width: 900px;
}

/* ─── Intro line ─── */
.intro-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  padding: var(--sp-sm) 0;
  border-top: 1px solid var(--gray-4);
  border-bottom: 1px solid var(--gray-4);
}
.intro-line h2 { font-size: clamp(1.3rem, 2.5vw, 2.2rem); font-weight: 600; }
.intro-line p  { font-size: 1.05rem; padding-bottom: 0.3rem; }

/* ============================================================
   USP GRID
   ============================================================ */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-4);
}
.usp-item {
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid var(--gray-4);
}
.usp-item:last-child { border-right: none; padding-right: 0; }
.usp-item:not(:first-child) { padding-left: 2rem; }
.usp-num {
  font-family: var(--fh);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gray-4);
  display: block;
  margin-bottom: 1.5rem;
}
.usp-item h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.usp-item p  { font-size: 0.9rem; line-height: 1.75; }

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray-4);
  border-bottom: 1px solid var(--gray-4);
  margin-bottom: var(--sp);
}
.stat-cell {
  padding: 2.2rem var(--gutter) 2.2rem 0;
  border-right: 1px solid var(--gray-4);
}
.stat-cell:first-child { padding-left: 0; }
.stat-cell:last-child  { border-right: none; }
.stat-num {
  font-family: var(--fh);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-lbl { font-size: 0.8rem; color: var(--gray-3); }

/* ============================================================
   PRICING CARDS — minimal, no color
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--gray-4);
  margin-top: 3rem;
}
.pricing-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--gray-4);
  transition: background 0.25s;
}
.pricing-card:last-child { border-right: none; }
.pricing-card:hover { background: var(--gray-5); }
.pricing-card.featured {
  background: var(--black);
  color: var(--white);
}
.pricing-card.featured p,
.pricing-card.featured .pricing-tagline,
.pricing-card.featured .pricing-price sub,
.pricing-card.featured .pricing-note,
.pricing-card.featured .pricing-feats li { color: rgba(255,255,255,0.65); }
.pricing-card.featured h3,
.pricing-card.featured .pricing-price { color: var(--white); }

.pricing-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-3);
  display: block;
  margin-bottom: 1.5rem;
}
.pricing-card.featured .pricing-badge { color: rgba(255,255,255,0.5); }

.pricing-icon    { font-size: 1.6rem; margin-bottom: 1rem; }
.pricing-name    { font-family: var(--fh); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.4rem; }
.pricing-tagline { font-size: 0.83rem; color: var(--gray-2); margin-bottom: 1.8rem; line-height: 1.55; }
.pricing-price   { font-family: var(--fh); font-size: 2.4rem; font-weight: 700; margin-bottom: 0.3rem; }
.pricing-price sub { font-size: 0.95rem; font-weight: 400; color: var(--gray-2); }
.pricing-note    { font-size: 0.76rem; color: var(--gray-3); margin-bottom: 1.5rem; }

.pricing-divider { height: 1px; background: var(--gray-4); margin: 1.5rem 0; }
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.15); }

.pricing-feats {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2rem;
}
.pricing-feats li {
  display: flex; align-items: start; gap: 0.6rem;
  font-size: 0.86rem; color: var(--gray-2);
}
.pricing-feats li::before { content: '✓'; font-weight: 700; color: var(--black); flex-shrink: 0; }
.pricing-card.featured .pricing-feats li::before { color: var(--white); }

.pricing-btn {
  display: block; width: 100%;
  padding: 0.85rem; text-align: center;
  font-weight: 700; font-size: 0.88rem;
  transition: all 0.22s; border-radius: 2px;
}
.pricing-card:not(.featured) .pricing-btn {
  border: 1px solid var(--gray-4); color: var(--black);
}
.pricing-card:not(.featured) .pricing-btn:hover {
  background: var(--black); color: var(--white); border-color: var(--black);
}
.pricing-card.featured .pricing-btn {
  background: var(--white); color: var(--black);
}
.pricing-card.featured .pricing-btn:hover { opacity: 0.88; }

/* ============================================================
   MODULES LIST (Leistungen page)
   ============================================================ */
.module-list { border-top: 1px solid var(--gray-4); }
.module-row {
  display: grid;
  grid-template-columns: 60px 1fr 2fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gray-4);
  transition: background 0.2s;
  cursor: default;
}
.module-row:hover { background: var(--gray-5); padding-left: 1.5rem; padding-right: 1.5rem; margin: 0 -1.5rem; }
.module-row-num  { font-family: var(--fh); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; color: var(--gray-4); }
.module-row-name { font-family: var(--fh); font-size: 1.2rem; font-weight: 600; }
.module-row-desc { font-size: 0.9rem; color: var(--gray-2); line-height: 1.7; }
.module-row-tag  { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-3); white-space: nowrap; }

/* Expanded module detail */
.module-detail {
  display: none;
  padding: 0 0 2.5rem 80px;
  border-bottom: 1px solid var(--gray-4);
}
.module-detail.open { display: block; }
.module-detail ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem 2rem;
  margin-top: 1.2rem;
}
.module-detail ul li {
  font-size: 0.85rem; color: var(--gray-2);
  display: flex; align-items: start; gap: 0.5rem;
}
.module-detail ul li::before { content: '—'; color: var(--gray-4); flex-shrink: 0; }

/* ============================================================
   AI / KI PAGE — text-heavy editorial
   ============================================================ */
.ki-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  border-top: 1px solid var(--gray-4);
  padding-top: var(--sp-sm);
}
.ki-intro h2  { font-size: clamp(2rem, 4vw, 3.5rem); }
.ki-intro p   { font-size: 1.05rem; line-height: 1.8; }

.ki-points { margin-top: var(--sp); }
.ki-point {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-4);
}
.ki-point:first-child { border-top: 1px solid var(--gray-4); }
.ki-point-num  {
  font-family: var(--fh);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--gray-4);
  line-height: 1;
}
.ki-point h3  { font-size: clamp(1.2rem, 1.8vw, 1.7rem); align-self: start; }
.ki-point p   { font-size: 0.92rem; line-height: 1.78; align-self: start; }

.roi-box {
  border: 1px solid var(--gray-4);
  padding: clamp(2rem, 5vw, 4rem);
  max-width: 840px;
  margin: 3rem auto 0;
}
.roi-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; margin-bottom: 2.5rem;
}
.roi-field label {
  display: block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gray-3); margin-bottom: 0.5rem;
}
.roi-field input {
  width: 100%; background: var(--white);
  border: none; border-bottom: 1px solid var(--gray-4);
  padding: 0.7rem 0; color: var(--black);
  font-size: 1.1rem; font-family: var(--fh); font-weight: 600;
  transition: border-color 0.2s;
}
.roi-field input:focus { outline: none; border-color: var(--black); }
.roi-result {
  padding: 2.5rem 2rem;
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.roi-result-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.1em; }
.roi-amount { font-family: var(--fh); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 700; color: var(--white); line-height: 1; }
.roi-result-sub { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 0.5rem; }
.roi-disclaimer { font-size: 0.72rem; color: var(--gray-3); margin-top: 2rem; text-align: center; }

/* ============================================================
   SPLIT SLIDER
   ============================================================ */
.split-wrap {
  position: relative; border: 1px solid var(--gray-4);
  height: 280px; margin-top: 3rem;
  cursor: col-resize; user-select: none; overflow: hidden;
}
.split-side {
  position: absolute; top: 0; bottom: 0; padding: 2rem; overflow: hidden;
}
.split-left  { left: 0; background: var(--white); }
.split-right { right: 0; background: var(--gray-5); }
.split-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.8rem; display: block; color: var(--gray-3); }
.split-right .split-label { color: var(--black); }
.split-side p { font-size: 0.85rem; line-height: 1.7; }
.split-handle {
  position: absolute; top: 0; bottom: 0;
  width: 2px; background: var(--black);
  cursor: col-resize; z-index: 10;
  display: flex; align-items: center; justify-content: center;
}
.split-handle::before {
  content: '⇔'; position: absolute;
  width: 32px; height: 32px; background: var(--black); color: var(--white);
  border-radius: 50%; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* ============================================================
   CONTACT FORM (Kontakt page)
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  border-top: 1px solid var(--gray-4);
  padding-top: var(--sp-sm);
}
.contact-info h2  { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
.contact-info p   { font-size: 1.05rem; margin-bottom: 2.5rem; }
.contact-detail { margin-bottom: 2rem; }
.contact-detail dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-3); margin-bottom: 0.4rem; }
.contact-detail dd { font-size: 1rem; color: var(--black); }

.form-group { margin-bottom: 1.8rem; }
.form-group label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-3); margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: transparent;
  border: none; border-bottom: 1px solid var(--gray-4);
  padding: 0.65rem 0; color: var(--black); font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--black); }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0 center;
  padding-right: 1.5rem; cursor: pointer;
}
.form-group textarea { resize: none; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* Pricing in contact (simple selection) */
.package-opts { display: flex; flex-direction: column; gap: 0; }
.package-opt {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--gray-4);
  cursor: pointer; transition: background 0.15s;
}
.package-opt:last-child { border-bottom: none; }
.package-opt:hover { color: var(--gray-2); }
.package-opt input[type="radio"] { display: none; }
.package-opt-dot {
  width: 14px; height: 14px;
  border: 1.5px solid var(--gray-4); border-radius: 50%;
  flex-shrink: 0; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.package-opt:has(input:checked) .package-opt-dot { border-color: var(--black); }
.package-opt:has(input:checked) .package-opt-dot::after {
  content: ''; width: 6px; height: 6px; background: var(--black); border-radius: 50%;
}
.package-opt-txt strong { font-size: 0.92rem; font-weight: 600; display: block; }
.package-opt-txt span   { font-size: 0.78rem; color: var(--gray-3); }
.package-opt-price      { margin-left: auto; font-family: var(--fh); font-size: 0.88rem; font-weight: 600; color: var(--gray-3); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--gray-4); }
.faq-item { border-bottom: 1px solid var(--gray-4); }
.faq-q {
  width: 100%; text-align: left; padding: 1.4rem 0;
  font-family: var(--fh); font-size: 1rem; font-weight: 600;
  color: var(--black); display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  background: none; border: none; cursor: pointer; transition: color 0.2s;
}
.faq-q:hover { color: var(--gray-2); }
.faq-icon { font-size: 1.2rem; color: var(--gray-3); flex-shrink: 0; transition: transform 0.35s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.42s ease; }
.faq-a-inner { padding-bottom: 1.5rem; font-size: 0.92rem; color: var(--gray-2); line-height: 1.78; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  border-top: 1px solid var(--gray-4);
  padding: var(--sp) 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}
.cta-band h2   { font-size: clamp(1.8rem, 4vw, 3.5rem); }
.cta-band-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--gray-4); padding: 3rem 0 2.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand-name { font-family: var(--fh); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.8rem; }
.footer-brand p    { font-size: 0.84rem; color: var(--gray-2); max-width: 260px; line-height: 1.65; }
.footer-col h5     { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-3); margin-bottom: 1.2rem; }
.footer-col ul     { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a      { font-size: 0.84rem; color: var(--gray-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--black); }
.footer-bottom {
  border-top: 1px solid var(--gray-4); padding-top: 1.8rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.8rem;
}
.footer-bottom p { font-size: 0.76rem; color: var(--gray-3); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ============================================================
   CUSTOM CURSOR — dot + lagging ring
   ============================================================ */
body.has-cursor,
body.has-cursor * { cursor: none !important; }

#cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  width: 6px; height: 6px;
  background: var(--black);
  border-radius: 50%;
  top: 0; left: 0;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.25s, width 0.18s ease, height 0.18s ease;
}
#cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  width: 34px; height: 34px;
  border: 1.5px solid rgba(10,10,10,0.5);
  border-radius: 50%;
  top: 0; left: 0;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.25s, width 0.3s ease, height 0.3s ease, border-color 0.3s;
}
#cursor-dot.visible  { opacity: 1; }
#cursor-ring.visible { opacity: 1; }
#cursor-dot.hovering  { width: 10px; height: 10px; }
#cursor-ring.hovering { width: 52px; height: 52px; border-color: rgba(10,10,10,0.2); }

@media (pointer: coarse) {
  #cursor-dot, #cursor-ring { display: none; }
  body.has-cursor, body.has-cursor * { cursor: auto !important; }
}

/* ============================================================
   PORTFOLIO TILES
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.portfolio-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 2/3;
  background: var(--gray-5);
}
.portfolio-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
  display: block;
}
.portfolio-tile:hover img {
  filter: grayscale(0%);
  transform: scale(1.04);
}
.portfolio-tile-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem 1.2rem 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.portfolio-tile:hover .portfolio-tile-overlay { opacity: 1; }
.portfolio-tile-name {
  font-family: var(--fh); font-size: 0.9rem; font-weight: 600; color: #fff;
}
.portfolio-tile-meta {
  font-size: 0.68rem; color: rgba(255,255,255,0.65);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.portfolio-zoom {
  position: absolute; top: 0.9rem; right: 0.9rem;
  width: 30px; height: 30px;
  background: var(--white); color: var(--black);
  border: none; border-radius: 50%;
  font-size: 1rem; font-weight: 700; line-height: 30px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
  cursor: pointer;
}
.portfolio-tile:hover .portfolio-zoom { opacity: 1; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 8000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-close {
  position: absolute; top: 2rem; right: 2rem;
  background: none; border: none; color: #fff;
  font-size: 1.5rem; cursor: pointer;
  opacity: 0.6; transition: opacity 0.2s;
  font-family: var(--fh);
}
.lightbox-close:hover { opacity: 1; }
.lightbox img {
  max-width: 88vw; max-height: 80vh;
  object-fit: contain;
}
.lightbox-caption {
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem; margin-top: 1rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* ============================================================
   PRICING GRID — 4 COLUMNS
   ============================================================ */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--gray-4);
  margin-top: 3rem;
}
.pricing-grid-4 .pricing-card {
  border-right: 1px solid var(--gray-4);
}
.pricing-grid-4 .pricing-card:last-child { border-right: none; }

.pricing-name small {
  font-size: 0.72em; font-weight: 500;
  display: block; color: var(--gray-3);
  letter-spacing: 0.02em;
}
.pricing-card.featured .pricing-name small { color: rgba(255,255,255,0.55); }

.pricing-grid-4 .pricing-name { min-height: 3.5rem; }
.pricing-grid-4 .pricing-tagline { min-height: 4.5rem; }

/* ============================================================
   PROBLEM PAGE — chart, typewriter, AI chat, timeline
   ============================================================ */
.problem-section { padding: var(--sp) 0; border-top: 1px solid var(--gray-4); }

/* Trend chart */
.trend-chart-wrap { margin: 3rem 0; position: relative; overflow: visible; padding-right: 5rem; }
.trend-svg { width: 100%; height: auto; overflow: visible; }
.trend-path-down {
  fill: none; stroke: var(--gray-4); stroke-width: 2.5;
  stroke-dasharray: 900; stroke-dashoffset: 900;
}
.trend-path-up {
  fill: none; stroke: var(--black); stroke-width: 2.5;
  stroke-dasharray: 900; stroke-dashoffset: 900;
}
.trend-animate .trend-path-down { animation: drawPath 2.2s ease forwards 0.3s; }
.trend-animate .trend-path-up   { animation: drawPath 2.2s ease forwards 0.8s; }
@keyframes drawPath { to { stroke-dashoffset: 0; } }
.trend-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 600;
  fill: var(--gray-3);
}
.trend-label-main { fill: var(--black); font-weight: 700; }

/* Typewriter */
.search-demo-wrap {
  border: 1px solid var(--gray-4);
  padding: 2rem 2.5rem;
  margin: 3rem 0;
  max-width: 640px;
}
.search-demo-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray-3); display: block; margin-bottom: 1rem;
}
.search-bar-sim {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-4); background: var(--gray-5);
}
.search-typed {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; color: var(--black); font-weight: 500;
}
.type-cursor {
  display: inline-block; width: 2px; height: 1.1em;
  background: var(--black); margin-left: 1px;
  animation: blink 0.75s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink { 50% { opacity: 0; } }

/* AI Chat — side-by-side layout */
.ai-side-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  border-top: 1px solid var(--gray-4);
  padding-top: var(--sp-sm);
}
.ai-side-layout .ai-chat-wrap { margin: 0; max-width: none; }
.ai-side-text h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  margin-bottom: 1.4rem;
}
.ai-side-text p { font-size: 0.95rem; line-height: 1.8; }

@media (max-width: 900px) {
  .ai-side-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* AI Chat */
.ai-chat-wrap {
  max-width: 580px; margin: 3rem 0;
  border: 1px solid var(--gray-4);
}
.ai-chat-hdr {
  padding: 0.9rem 1.4rem; border-bottom: 1px solid var(--gray-4);
  display: flex; align-items: center; gap: 0.7rem;
}
.ai-chat-hdr-dot { width: 7px; height: 7px; background: var(--black); border-radius: 50%; }
.ai-chat-hdr-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-3);
}
.ai-chat-counter {
  margin-left: auto;
  font-size: 0.68rem; color: var(--gray-3); font-family: 'Space Grotesk', sans-serif;
}
.ai-chat-msgs { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.9rem; }
.ai-msg { padding: 0.9rem 1.1rem; font-size: 0.88rem; line-height: 1.65; }
.ai-msg.user { background: var(--gray-5); border-left: 2px solid var(--gray-4); color: var(--gray-2); }
.ai-msg.bot { border-left: 2px solid var(--black); color: var(--black); min-height: 80px; }
.ai-thinking { display: inline-flex; gap: 0.3rem; align-items: center; }
.ai-thinking span {
  width: 5px; height: 5px; background: var(--gray-3); border-radius: 50%;
  animation: aiThink 1.2s ease-in-out infinite;
}
.ai-thinking span:nth-child(2) { animation-delay: 0.2s; }
.ai-thinking span:nth-child(3) { animation-delay: 0.4s; }
@keyframes aiThink {
  0%,60%,100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.ai-chat-btn {
  display: block; width: 100%;
  padding: 0.85rem 1.4rem; border: none; border-top: 1px solid var(--gray-4);
  background: var(--white); font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--gray-3); cursor: pointer; transition: all 0.2s; text-align: left;
}
.ai-chat-btn:hover { color: var(--black); background: var(--gray-5); }

/* Problem Timeline */
.problem-timeline {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin: 3.5rem 0; position: relative; gap: 1rem;
}
.problem-timeline::before {
  content: ''; position: absolute; top: 5px; left: 0; right: 0;
  height: 1px; background: var(--gray-4);
}
.ptl-step { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.ptl-dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid var(--gray-3); background: var(--white); flex-shrink: 0;
}
.ptl-step:last-child .ptl-dot { border-color: var(--black); background: var(--black); }
.ptl-time {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--black);
}
.ptl-desc { font-size: 0.8rem; color: var(--gray-2); line-height: 1.55; }

/* Problem bottom CTA */
.problem-cta {
  padding: var(--sp) 0; text-align: center;
  border-top: 1px solid var(--gray-4);
}
.problem-cta h2 { font-size: clamp(2.5rem, 6vw, 5.5rem); margin-bottom: 2rem; }

/* ============================================================
   SOLUTIONS PAGE — module sections
   ============================================================ */
.sol-module { padding: var(--sp-sm) 0; border-top: 1px solid var(--gray-4); }
.sol-module-inner {
  display: grid; grid-template-columns: 260px 1fr; gap: clamp(2.5rem, 4vw, 5rem); align-items: start;
}
.sol-module-left { position: sticky; top: 5rem; }
.sol-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(5rem, 10vw, 9rem); font-weight: 700;
  color: var(--gray-5); line-height: 1; margin-bottom: 0.5rem;
}
.sol-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 700;
  color: var(--black); line-height: 1.15; margin-bottom: 1.2rem;
}
.sol-badge {
  display: inline-block; padding: 0.25rem 0.65rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.58rem;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid var(--gray-4); color: var(--gray-3);
}
.sol-badge.b-mult { border-color: var(--gray-3); color: var(--gray-2); }
.sol-badge.b-prem { border-color: var(--black); color: var(--black); }
.sol-badge.b-ultra { background: var(--black); color: var(--white); border-color: var(--black); }

.sol-module-right h3 {
  font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; margin-top: 1.8rem;
}
.sol-module-right h3:first-child { margin-top: 0; }
.sol-module-right p { font-size: 0.92rem; line-height: 1.8; color: var(--gray-2); }
.sol-ki-box {
  margin-top: 1.8rem; padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--black); background: var(--gray-5);
}
.sol-ki-lbl {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gray-3); display: block; margin-bottom: 0.4rem;
}
.sol-ki-box p { font-size: 0.82rem; margin-bottom: 0; color: var(--gray-2); }

@media (max-width: 900px) {
  .sol-module-inner { grid-template-columns: 1fr; gap: 2rem; }
  .sol-module-left  { position: static; }
  .problem-timeline { grid-template-columns: 1fr 1fr; }
  .ptl-step:last-child { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .usp-grid         { grid-template-columns: 1fr 1fr; }
  .usp-item:nth-child(2) { border-right: none; }
  .usp-item:nth-child(n+3) { border-top: 1px solid var(--gray-4); }

  .stats-row        { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(n+3) { border-top: 1px solid var(--gray-4); }

  .pricing-grid     { grid-template-columns: 1fr; border: none; gap: 1px; background: var(--gray-4); }
  .pricing-card     { border-right: none; border: none; }
  .pricing-grid-4   { grid-template-columns: 1fr 1fr; }
  .pricing-grid-4 .pricing-card:nth-child(2) { border-right: none; }
  .pricing-grid-4 .pricing-card:nth-child(n+3) { border-top: 1px solid var(--gray-4); }
  .portfolio-grid   { grid-template-columns: 1fr 1fr; }

  .ki-intro         { grid-template-columns: 1fr; gap: 2rem; }
  .ki-point         { grid-template-columns: 60px 1fr; }
  .ki-point p       { grid-column: 2; }

  .contact-layout   { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cta-band         { grid-template-columns: 1fr; }
  .cta-band-btns    { margin-top: 0; }
}

@media (max-width: 768px) {
  .hero-bottom { padding-bottom: clamp(1.5rem, 6vw, 5rem); }
  .hero-bl h1  { font-size: clamp(1.8rem, 7vw, 3rem); }

  .intro-line  { grid-template-columns: 1fr; gap: 1.5rem; }
  .usp-grid    { grid-template-columns: 1fr; }
  .usp-item    { border-right: none !important; border-top: 1px solid var(--gray-4); }
  .usp-item:first-child { border-top: none; }

  .stats-row   { grid-template-columns: 1fr 1fr; }

  .module-row  { grid-template-columns: 40px 1fr; gap: 1rem; }
  .module-row-desc { display: none; }
  .module-row-tag  { display: none; }

  .ki-point    { grid-template-columns: 1fr; gap: 0.5rem; }
  .ki-point-num { display: none; }

  .split-wrap  { height: 320px; }
  .form-row    { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-nav { right: 1rem; top: 38vh; bottom: auto; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
}

@media (max-width: 480px) {
  .hero-bl h1  { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .stats-row   { grid-template-columns: 1fr; }
  .stat-cell   { border-right: none !important; }
  .stat-cell   { border-top: 1px solid var(--gray-4); }
  .stat-cell:first-child { border-top: none; }
}
