/* ============================================================
   MAIN.CSS — Dominik Kapper IT Consulting v2
   ============================================================ */

/* ── FONTS (self-hosted, see /assets/fonts/) ── */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/atkinson-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/atkinson-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/atkinson-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/atkinson-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── VARIABLES ── */
:root {
  --space:      #141540;
  --navy:       #2a2b78;
  --alice:      #ebf0f5;
  --gold:       #ffdd4a;
  --darkgold:   #d0ac49;
  --periwinkle: #7f7eff;
  --lavender:   #dcd7ff;
  --deepest:    #0e0f30;
  --space2:     #1c1d60;
  --deep:       #242051;

  --fd: 'Atkinson Hyperlegible', sans-serif;
  --fb: 'Poppins', sans-serif;

  --text-1: #ffffff;
  --text-2: rgba(255,255,255,0.65);
  --text-3: rgba(255,255,255,0.38);
  --border: rgba(255,255,255,0.08);
  --border-sub: rgba(255,255,255,0.06);

  --sp:   96px;
  --ph:   clamp(20px, 5vw, 60px);
  --wrap: 1200px;

  --r1: 6px;
  --r2: 10px;
  --r3: 16px;
  --r4: 24px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--fb);
  background: var(--space);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── HERO CONSTELLATION CANVAS ── */
#hero-constellation {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: block;
}
ul { list-style: none; }
button { cursor: pointer; font-family: var(--fb); border: none; background: none; }
input, select, textarea { font-family: var(--fb); }

/* ── LAYOUT ── */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--ph);
}

/* ── TYPOGRAPHY HELPERS ── */
.eyebrow {
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--darkgold);
  margin-bottom: 12px;
  display: block;
}
.sec-heading {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: #fff;
  margin-bottom: 40px;
}
.page-hero-heading {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 18px;
}
.page-hero-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 560px;
}

/* ── KEYFRAME ANIMATIONS ── */

@keyframes spin {
  from { transform: rotate(var(--star-start-rotation, 0deg)); }
  to   { transform: rotate(calc(var(--star-start-rotation, 0deg) + 360deg)); }
}

@keyframes pulse-opacity {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.65; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes pulse-down {
  0%   { background-position: 0 0; }
  100% { background-position: 0 200px; }
}

@keyframes draw-line {
  from { width: 0; }
  to   { width: 100%; }
}

/* ── ANIMATION CATALOG ── */
[data-animate] { transition-delay: var(--delay, 0ms); }

[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate="fade-up"].in-view { opacity: 1; transform: translateY(0); }

[data-animate="fade-in"] {
  opacity: 0;
  transition: opacity 0.8s ease;
}
[data-animate="fade-in"].in-view { opacity: 1; }

[data-animate="slide-left"] {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-animate="slide-left"].in-view { opacity: 1; transform: translateX(0); }

[data-animate="slide-right"] {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-animate="slide-right"].in-view { opacity: 1; transform: translateX(0); }

[data-animate="scale-up"] {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
[data-animate="scale-up"].in-view { opacity: 1; transform: scale(1); }

/* Hero loads on page load — animated-hero class applied by JS */
.hero-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0ms);
}
.hero-animate.loaded { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto !important; }
  [data-animate] { opacity: 1 !important; transform: none !important; }
  .hero-animate  { opacity: 1 !important; transform: none !important; }
}

/* ── NAVIGATION ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--ph);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}
#nav.scrolled {
  background: rgba(14,15,48,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px var(--ph);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.01em;
}
.nav-logo-mark {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover       { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active      { color: #fff; }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 600;
  background: var(--gold);
  color: var(--space);
  padding: 9px 20px;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: var(--r2);
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: #ffe766; transform: translateY(-1px); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── FOOTER ── */
footer {
  background: var(--deepest);
  border-top: 1px solid var(--border);
  padding: 36px var(--ph);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-logo:hover { color: #fff; }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-1); }
.footer-email {
  font-size: 13px;
  color: var(--text-2);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--space);
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--r2);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,221,74,0.2); }
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 26px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--r2);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

.btn-ghost-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 26px;
  border: 1.5px solid var(--gold);
  border-radius: var(--r2);
  transition: background 0.2s ease;
}
.btn-ghost-gold:hover { background: rgba(255,221,74,0.08); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 600;
  color: var(--darkgold);
  transition: gap 0.2s ease;
}
.btn-text:hover { gap: 10px; }

/* ── CHIPS / TAGS ── */
.chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
  font-family: var(--fb);
}
.industry-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--darkgold);
  background: rgba(208,172,73,0.1);
  border: 1px solid rgba(208,172,73,0.2);
  padding: 3px 10px;
  border-radius: 100px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-sub);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ── DECORATIVE STARS ── */
.star-bg {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  animation: spin 120s linear infinite;
  opacity: 0.09;
}
.star-bg svg { width: 100%; height: 100%; }
.star-gold { color: var(--gold); opacity: 0.08; }
.star-navy { color: var(--navy); opacity: 0.1; }

/* ── DECORATIVE ELLIPSES ── */
.ellipse {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: pulse-opacity 8s ease-in-out infinite;
}
.ellipse-periwinkle {
  background: var(--periwinkle);
  opacity: 0.45;
}
.ellipse-gold {
  background: var(--gold);
  opacity: 0.15;
}

/* ── GRID TEXTURE OVERLAY ── */
.grid-texture {
  position: relative;
  overflow: hidden;
}
.grid-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='white' stroke-width='0.5'%3E%3Cpath d='M40 0H0v40'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* ── GOLD ACCENT BAR ── */
.gold-bar {
  width: 8px;
  height: 120px;
  background: var(--gold);
  border-radius: 4px;
  flex-shrink: 0;
}
.gold-bar-dark { background: var(--space); }

/* ── PULL QUOTE ── */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 12px 0 12px 20px;
  margin: 24px 0;
}
.pull-quote p {
  font-family: var(--fd);
  font-weight: 400;
  font-size: 17px;
  color: #fff;
  line-height: 1.5;
  font-style: normal;
}

/* ── LOGO STRIP / MARQUEE ── */
.logo-strip-section {
  background: var(--deep);
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
  padding: 24px 0;
  overflow: hidden;
}
.strip-label-row {
  text-align: center;
  margin-bottom: 16px;
}
.strip-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.marquee-outer {
  overflow: hidden;
}
.marquee-outer:hover .logo-track { animation-play-state: paused; }
.logo-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
  align-items: center;
}
.logo-unit {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  opacity: 0.45;
  transition: opacity 0.2s;
}
.logo-unit:hover { opacity: 0.8; }
.logo-unit svg {
  width: 20px; height: 20px;
  stroke: var(--text-3);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}
.logo-unit span {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: -0.01em;
}

/* ── HERO — HOMEPAGE ── */
/* No background here on purpose: body supplies --space, letting the
   fixed #hero-constellation canvas (z-index: -1) show through this section
   while later sections' own opaque backgrounds still cover it on scroll. */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--ph) 80px;
  position: relative;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-headline {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: #fff;
  margin-bottom: 20px;
}
.hero-headline span { color: var(--gold); display: block; }
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── WHO THIS IS FOR ── */
.who-section {
  background: linear-gradient(to bottom, transparent, var(--space) 200px, var(--space) 100%);
  padding: var(--sp) 0;
  position: relative;
  overflow: hidden;
}
.who-bg-text {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--fd);
  font-weight: 700;
  font-size: 180px;
  line-height: 1;
  color: var(--navy);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  z-index: 0;
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.who-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.who-footnote {
  margin-top: 20px;
  text-align: left;
}
.who-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.who-card.featured {
  border-color: rgba(255,221,74,0.25);
  background: rgba(255,221,74,0.03);
}
.who-card-badge {
  position: absolute;
  top: -1px; left: 28px;
  background: var(--gold);
  color: var(--space);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 0 0 var(--r1) var(--r1);
  font-family: var(--fb);
}
.who-card-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(92%) sepia(39%) saturate(773%) hue-rotate(332deg) brightness(104%);
}
.who-card-label {
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0;
}
.who-card-heading {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  line-height: 1.2;
  margin-top: 8px;
}
.who-card-body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}
.who-card-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 4px;
}
.who-card-list li {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.who-card-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--darkgold);
  flex-shrink: 0;
  margin-top: 7px;
}
.who-card.featured .who-card-list li::before { background: var(--gold); }

/* ── SERVICES SECTION (homepage) ── */
.services-section {
  background: var(--deepest);
  padding: var(--sp) 0;
  position: relative;
  overflow: hidden;
}
.services-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.services-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.service-card {
  background: var(--space2);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-card.featured {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--space2) 65%);
}
.service-card.featured::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 260px; height: 260px;
  background: var(--periwinkle);
  opacity: 0.22;
  filter: blur(70px);
  border-radius: 50%;
  pointer-events: none;
}
.service-card-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.service-card.featured .service-card-title { font-size: 28px; }
.service-card-top-border {
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  background: var(--gold);
  width: 100%;
  border-radius: var(--r3) var(--r3) 0 0;
}
.service-card.secondary .service-card-top-border { background: var(--darkgold); }
.service-card-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: var(--space);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--fb);
}
.service-card-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card.secondary .service-card-icon {
  width: 40px; height: 40px;
}
.service-card-icon svg {
  width: 24px; height: 24px;
  stroke: var(--darkgold);
  fill: none;
  stroke-width: 1.5;
}
.service-card.secondary .service-card-icon svg { width: 20px; height: 20px; }
.service-card-title {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  line-height: 1.15;
}
.service-card.secondary .service-card-title { font-size: 19px; }
.service-card-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}
.service-card.secondary .service-card-desc { font-size: 14px; }
.service-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card-list li {
  font-size: 14px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.service-card.secondary .service-card-list li { font-size: 13px; }
.service-card-list li::before {
  content: '→';
  color: var(--darkgold);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--space2);
  padding: var(--sp) 0;
  position: relative;
  overflow: hidden;
}
.steps-flow {
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 28px;
}
.step-circle {
  width: 40px; height: 40px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: var(--space2);
}
.step-connector {
  flex: 0 0 60px;
  position: relative;
  margin-top: 20px;
}
.step-connector::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-top: 2px dashed rgba(42,43,120,0.6);
}
.step-connector::after {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 1.2s ease 0.4s;
}
.steps-flow.in-view .step-connector::after { width: 100%; }
.step-title {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.step-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── CASE STUDY TEASER ── */
.cs-teaser-section {
  background: var(--deep);
  padding: var(--sp) 0;
  position: relative;
  overflow: hidden;
}
.cs-teaser-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.cs-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  flex: 1;
}
.cs-teaser-proof-text {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--fd);
  font-weight: 700;
  font-size: 180px;
  line-height: 1;
  color: var(--navy);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  z-index: 0;
}
.cs-teaser-num {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(72px, 8vw, 120px);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.cs-teaser-caption {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
  max-width: 280px;
}
.cs-teaser-heading {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.cs-teaser-body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ── ABOUT PREVIEW ── */
.about-preview-section {
  background: var(--space);
  padding: var(--sp) 0;
  position: relative;
  overflow: hidden;
}
.about-preview-bg {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--fd);
  font-weight: 700;
  font-size: 260px;
  line-height: 1;
  color: var(--navy);
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.06em;
}
.about-preview-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-preview-text {
  max-width: 560px;
}
.about-preview-photo {
  background: var(--space2);
  border: 1px solid var(--navy);
  border-radius: 12px;
  aspect-ratio: 3/4;
  max-width: 280px;
  width: 280px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-preview-photo span {
  font-family: var(--fb);
  font-size: 13px;
  color: var(--darkgold);
  text-align: center;
}
.about-preview-photo-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  border-radius: 0 0 12px 12px;
}
.about-preview-name {
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 600;
  color: var(--darkgold);
  margin-bottom: 8px;
}
.about-preview-heading {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.about-preview-body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ── PHILOSOPHY SECTION ── */
.philosophy-section {
  background: var(--gold);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.philosophy-section .star-bg { color: var(--space); opacity: 0.06; }
.philosophy-decorative-quote {
  position: absolute;
  top: -60px; right: 40px;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 300px;
  line-height: 1;
  color: rgba(20,21,64,0.08);
  pointer-events: none;
  user-select: none;
}
.philosophy-inner {
  max-width: 760px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.philosophy-inner .gold-bar {
  background: var(--space);
  opacity: 0.4;
  margin-top: 8px;
  flex-shrink: 0;
}
.philosophy-content {}
.philosophy-section .eyebrow { color: rgba(20,21,64,0.45); }
.philosophy-quote {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  color: var(--space);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.philosophy-body {
  font-size: 16px;
  color: rgba(20,21,64,0.65);
  line-height: 1.7;
  max-width: 600px;
}

/* ── FAQ ── */
.faq-section {
  background: var(--deepest);
  padding: var(--sp) 0;
  position: relative;
  overflow: hidden;
}
.faq-decorative-q {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--fd);
  font-weight: 700;
  font-size: 400px;
  line-height: 1;
  color: var(--navy);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
  position: relative;
  z-index: 1;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.faq-item.open {
  padding-bottom: 20px;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
  user-select: none;
  padding: 12px 0;
  min-height: 44px;
  box-sizing: border-box;
}
.faq-q-text {
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  stroke: var(--text-3);
  stroke-width: 2;
  fill: none;
  transition: transform 0.25s, stroke 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); stroke: var(--gold); }
.faq-a {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-top 0.3s;
  border-left: 0px solid var(--gold);
  padding-left: 0;
  transition: max-height 0.3s ease, padding-top 0.3s, border-left-width 0.2s, padding-left 0.2s;
}
.faq-item.open .faq-a {
  max-height: 240px;
  padding-top: 12px;
  border-left-width: 3px;
  padding-left: 14px;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--space);
  padding: var(--sp) 0;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(255,221,74,0.1);
  border: 1px solid rgba(255,221,74,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.cta-heading {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 48px);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-inner-wide { max-width: 640px; }
.cta-form {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  margin: 0 auto 16px;
  text-align: left;
}
.cta-form .form-field:last-of-type { margin-bottom: 20px; }
.cta-input {
  width: 100%;
  padding: 13px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.cta-input:focus { border-color: rgba(255,221,74,0.4); }
.cta-input::placeholder { color: var(--text-3); }
.cta-textarea {
  width: 100%;
  padding: 13px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  font-family: var(--fb);
  font-size: 14px;
  color: #fff;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}
.cta-textarea:focus { border-color: rgba(255,221,74,0.4); }
.cta-textarea::placeholder { color: var(--text-3); }
.cta-submit {
  padding: 13px 24px;
  background: var(--gold);
  color: var(--space);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r2);
  white-space: nowrap;
  transition: background 0.2s;
}
.cta-submit:hover { background: #ffe766; }
.cta-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.cta-submit-full { width: 100%; }
.cta-reassure {
  font-size: 12px;
  color: var(--text-3);
}
.cta-error {
  font-size: 13px;
  color: #ff8080;
  margin-top: 12px;
}
.cta-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cta-success {
  max-width: 440px;
  margin: 0 auto 16px;
  padding: 32px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-sub);
  border-radius: var(--r3);
  text-align: center;
}
.cta-success-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  background: var(--gold);
  color: var(--space);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.cta-success-heading {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}
.cta-success-body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}
.cta-direct {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-sub);
}
.cta-direct-label {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 8px;
}
.cta-direct-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-direct-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  transition: color 0.2s;
}
.cta-direct-link:hover { color: #ffe766; }

/* ── PAGE HEROES (non-homepage) ── */
.page-hero {
  padding: 148px var(--ph) 72px;
  background: var(--space);
  position: relative;
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 1; }

/* ── LEGAL PAGE CONTENT (Impressum / Datenschutz / AGB) ── */
.legal-content {
  max-width: 720px;
  margin-top: 48px;
}
.legal-content h2 {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin: 40px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-family: var(--fb);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 8px;
}
.legal-content a { color: var(--gold); text-decoration: underline; }
.legal-content a:hover { color: #fff; }
.legal-content ul {
  margin: 8px 0 16px;
  padding-left: 20px;
  list-style: disc;
}
.legal-content li {
  font-family: var(--fb);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 4px;
}

/* ── SERVICES PAGE ── */
.svc-section {
  padding: var(--sp) 0;
  position: relative;
  overflow: hidden;
}
.svc-section:nth-child(odd)  { background: var(--deepest); }
.svc-section:nth-child(even) { background: var(--space2); }
/* .svc-section-inner removed — replaced by .svc-section-inner-v2 */
.svc-section-body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 32px;
}
.svc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.svc-list li {
  font-size: 14px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-sub);
  border-radius: var(--r2);
}
.svc-list li::before {
  content: '→';
  color: var(--darkgold);
  font-weight: 600;
  flex-shrink: 0;
}
.svc-who-line {
  font-size: 14px;
  color: var(--text-3);
  font-style: italic;
  border-top: 1px solid var(--border-sub);
  padding-top: 20px;
  margin-top: 4px;
  line-height: 1.6;
}

/* .svc-cta-panel removed — replaced by .svc-inline-cta */

/* Services page final CTA section */
.svc-final-cta {
  background: var(--deep);
  padding: var(--sp) 0;
  position: relative;
  overflow: hidden;
}
.svc-final-cta-inner {
  max-width: 680px;
  position: relative;
  z-index: 1;
}
.svc-final-cta-heading {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.svc-final-cta-body {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ── WORK PAGE ── */
.work-hero {
  padding: 148px var(--ph) 56px;
  background: var(--space);
  position: relative;
  overflow: hidden;
}
.work-hero-wm {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--fd);
  font-weight: 700;
  font-size: 200px;
  line-height: 1;
  color: var(--navy);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.industry-strip {
  background: var(--deepest);
  border-bottom: 1px solid var(--border-sub);
  padding: 28px 0;
}
.industry-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-list-section {
  background: var(--deep);
  padding: 0 0 var(--sp);
  position: relative;
  overflow: hidden;
}
.cs-list-section.grid-texture::before { z-index: 0; }
.cs-card {
  border-top: 1px solid var(--border-sub);
  padding: 72px 0;
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 0 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.cs-card:last-child { border-bottom: 1px solid var(--border-sub); }
.cs-card-num {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -0.04em;
  color: var(--navy);
  opacity: 0.4;
  line-height: 1;
  padding-top: 6px;
}
.cs-card.accent-gold  .cs-card-num { color: var(--darkgold); opacity: 0.7; }
.cs-card.accent-navy  .cs-card-num { color: var(--periwinkle); opacity: 0.6; }
.cs-card.accent-blue  .cs-card-num { color: var(--navy); opacity: 0.5; }
.cs-card.accent-white .cs-card-num { color: rgba(255,255,255,0.15); opacity: 1; }
.cs-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.cs-logo-mark {
  width: 40px; height: 40px;
  border-radius: var(--r2);
  background: var(--space);
  border: 1px solid var(--border-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cs-logo-mark svg { width: 20px; height: 20px; fill: none; stroke-width: 1.5; }
.cs-logo-name {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}
.cs-card-title {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cs-card-body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}
.cs-card-results {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.r-item strong {
  display: block;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 24px;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}
.r-item span {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
}
.cs-what-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--darkgold);
  margin-bottom: 14px;
}
.cs-what-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.cs-what-list li {
  font-size: 14px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.cs-what-list li::before {
  content: '→';
  font-weight: 600;
  color: var(--darkgold);
  flex-shrink: 0;
}
.cs-quote-block {
  background: var(--space);
  border: 1px solid var(--border-sub);
  border-radius: var(--r2);
  padding: 20px 22px;
  position: relative;
}
.cs-quote-block::before {
  content: '"';
  position: absolute;
  top: -8px; left: 16px;
  font-family: var(--fd);
  font-size: 48px;
  color: var(--darkgold);
  line-height: 1;
}
.cs-quote-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  font-style: italic;
  margin-top: 12px;
}
.cs-quote-attr {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-3);
}

/* ── ABOUT PAGE ── */
.about-hero {
  padding: 148px var(--ph) 80px;
  background: var(--space);
  position: relative;
  overflow: hidden;
}
.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-photo-placeholder {
  width: 100%;
  height: 360px;
  background: var(--space2);
  border: 2px solid var(--navy);
  border-radius: var(--r3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}
.about-photo-placeholder span {
  font-size: 12px;
  color: var(--darkgold);
  font-style: italic;
  line-height: 1.5;
}
.story-section {
  background: var(--deepest);
  padding: var(--sp) 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.story-body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 20px;
}
.story-body strong { color: #fff; font-weight: 600; }
.story-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.story-chip {
  background: var(--space);
  border: 1px solid var(--border-sub);
  border-radius: 100px;
  padding: 5px 14px;
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.03em;
}

/* Timeline */
.timeline-section {
  background: var(--space);
  padding: var(--sp) 0;
  position: relative;
  overflow: hidden;
}
.timeline-section-bg {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--fd);
  font-weight: 700;
  font-size: 200px;
  line-height: 1;
  color: var(--navy);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.timeline-items {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  position: relative;
  z-index: 1;
}
.tl-item {
  display: grid;
  grid-template-columns: 100px 20px 1fr;
  gap: 0 28px;
  align-items: start;
  padding-bottom: 40px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 28px;
  color: var(--gold);
  letter-spacing: -0.02em;
  text-align: right;
  padding-top: 2px;
}
.tl-spine { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--space);
  flex-shrink: 0;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}
.tl-line {
  flex: 1;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--gold) 0px, var(--gold) 8px,
    transparent 8px, transparent 20px
  );
  background-size: 2px 28px;
  animation: pulse-down 2s linear infinite;
  min-height: 40px;
}
.tl-item:last-child .tl-line { display: none; }
.tl-content {
  padding-top: 2px;
  padding-bottom: 8px;
}
.tl-title {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.25;
  transition: color 0.2s;
}
.tl-item:hover .tl-content { border-left: 2px solid var(--gold); padding-left: 14px; }
.tl-content {
  border-left: 2px solid transparent;
  padding-left: 0;
  transition: border-color 0.2s, padding-left 0.2s;
}
.tl-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* Stats grid */
.proof-section {
  background: var(--deep);
  padding: var(--sp) 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-sub);
  border-radius: var(--r2);
  padding: 24px 20px;
}
.stat-num {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 36px;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.4;
}
.trust-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-sub);
  border-radius: var(--r2);
  transition: border-color 0.2s;
}
.trust-card:hover { border-color: rgba(255,255,255,0.1); }
.trust-icon {
  width: 36px; height: 36px;
  border-radius: var(--r1);
  background: rgba(42,43,120,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg {
  width: 17px; height: 17px;
  stroke: var(--darkgold);
  stroke-width: 1.5;
  fill: none;
}
.trust-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.trust-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ── CONTACT PAGE ── */
.contact-section {
  min-height: 100vh;
  background: var(--deep);
  padding: 148px var(--ph) var(--sp);
  position: relative;
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-heading {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 20px;
}
.contact-heading span { color: var(--gold); }
.contact-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}
.contact-info { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.cinfo-icon {
  width: 36px; height: 36px;
  border-radius: var(--r1);
  background: rgba(42,43,120,0.35);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cinfo-icon svg {
  width: 16px; height: 16px;
  stroke: var(--darkgold);
  stroke-width: 1.5;
  fill: none;
}
.cinfo-label { font-size: 12px; color: var(--text-3); font-weight: 500; margin-bottom: 2px; }
.cinfo-value { font-size: 14px; color: #fff; font-weight: 500; }
.expect-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-sub);
  border-radius: var(--r2);
  padding: 24px;
}
.expect-title {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 14px;
}
.expect-list { display: flex; flex-direction: column; gap: 10px; }
.expect-list li {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.expect-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-sub);
  border-radius: var(--r3);
  padding: 40px;
}
.form-heading {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  margin-bottom: 24px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
select {
  padding: 14px 16px;
  min-height: 44px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r1);
  font-family: var(--fb);
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  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'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b748f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
select:focus { border-color: rgba(255,221,74,0.4); }
select option { background: var(--space); color: #fff; }
#calendar-embed {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.025);
  border: 1.5px dashed rgba(255,255,255,0.1);
  border-radius: var(--r2);
  margin-bottom: 20px;
}
#calendar-embed p {
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.6;
}
.form-note {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
}

/* ── Services page v2 layout ── */
.svc-tabs {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: var(--space);
  border-bottom: 1px solid var(--navy);
  width: 100%;
}
.svc-tabs-nav {
  display: flex;
  gap: 0;
}
.svc-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.svc-tab:hover { color: #fff; }
.svc-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.svc-tab-icon { font-size: 16px; opacity: 0.6; }

.svc-section-inner-v2 {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: center;
}
.svc-section-text { display: flex; flex-direction: column; gap: 20px; }
.svc-inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
  margin-top: 8px;
}
.svc-inline-cta:hover { gap: 10px; }
.svc-section-stat {
  display: flex;
  justify-content: center;
}
.svc-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.svc-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,221,74,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.svc-stat-top {
  display: flex;
  align-items: center;
  gap: 16px;
}
.gold-bar-vertical {
  width: 6px;
  height: 56px;
  background: var(--gold);
  border-radius: 4px;
  flex-shrink: 0;
}
.svc-stat-number {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(40px, 4vw, 60px);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.svc-stat-label {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── MOBILE BREAKPOINTS ── */
@media (max-width: 1024px) {
  :root { --sp: 72px; --ph: 28px; }
  .hero { padding-top: 100px; }

  .services-secondary { grid-template-columns: 1fr; }
  .service-card.featured { grid-template-columns: 1fr; text-align: left; }

  .cs-teaser-grid { grid-template-columns: 1fr; gap: 40px; }

  .about-hero-inner { grid-template-columns: 1fr; }
  .about-photo-placeholder { height: 240px; max-width: 480px; }
  .about-preview-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-preview-photo { order: -1; width: 100%; max-width: 100%; aspect-ratio: 16/9; }

  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .proof-grid { grid-template-columns: 1fr; gap: 48px; }
  /* .svc-section-inner removed */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .faq-grid { grid-template-columns: 1fr; }
  .cs-card { grid-template-columns: 60px 1fr; }
  .cs-card .cs-card-right { grid-column: 2; }
}

@media (max-width: 768px) {
  :root { --sp: 56px; --ph: 20px; }

  /* 16px minimum stops iOS Safari's auto-zoom-on-focus (anything under 16px triggers it) */
  .cta-input, .cta-textarea, select { font-size: 16px; }

  #nav { padding: 16px var(--ph); flex-wrap: wrap; }

  /* Logo stays default order (0). Hamburger always stays visible in the
     top bar; links/CTA/lang-switch all collapse into the dropdown. */
  .nav-toggle { display: flex; order: 2; }

  .nav-links,
  .nav-actions {
    display: none;
  }

  #nav.nav-open {
    background: rgba(14,15,48,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  #nav.nav-open .nav-links,
  #nav.nav-open .nav-actions {
    display: flex;
    flex: 1 1 100%;
  }
  #nav.nav-open .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 8px;
    order: 4;
  }
  #nav.nav-open .nav-links li { width: 100%; }
  #nav.nav-open .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  #nav.nav-open .nav-actions {
    order: 5;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
  }

  .hero-headline { font-size: clamp(40px, 12vw, 60px); line-height: 1.02; }
  .hero-sub { font-size: 15px; }

  .who-grid { grid-template-columns: 1fr; }
  .who-card.featured { margin: 0; }

  .steps-flow { flex-direction: column; align-items: center; gap: 0; }
  .step-item { width: 100%; max-width: 360px; }
  .step-connector {
    width: 2px;
    height: 40px;
    flex: 0 0 40px;
    margin-top: 0;
  }
  .step-connector::before {
    top: 0; bottom: 0; left: 0;
    width: 2px;
    height: 100%;
    border-top: none;
    border-left: 2px dashed rgba(42,43,120,0.6);
  }
  .step-connector::after {
    top: 0; left: -1px;
    width: 2px;
    height: 0;
    transition: height 1.2s ease 0.4s;
  }
  .steps-flow.in-view .step-connector::after { height: 100%; width: 2px; }

  .timeline-items { max-width: 100%; }
  .tl-item { grid-template-columns: 72px 16px 1fr; gap: 0 16px; }
  .tl-year { font-size: 20px; }

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

  .philosophy-quote { font-size: clamp(22px, 5vw, 32px); }
  .philosophy-inner { flex-direction: column; gap: 20px; }

  .cs-card { grid-template-columns: 1fr; padding: 48px 0; }
  .cs-card-num { font-size: 40px; margin-bottom: 12px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  .svc-tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .svc-tabs-nav::-webkit-scrollbar { display: none; }
  .svc-tab { padding: 14px 20px; font-size: 13px; }
  .svc-section-inner-v2 { grid-template-columns: 1fr; gap: 40px; }
  .svc-section-stat { justify-content: flex-start; }
  .svc-stat-card { max-width: 100%; }

  .logo-strip-section { padding: 18px 0; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ── LANGUAGE SWITCHER ── */
.nav-lang-switch {
  position: relative;
}
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  padding: 6px 14px;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  background: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.lang-toggle-caret {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s ease;
}
.lang-toggle[aria-expanded="true"] .lang-toggle-caret { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: rgba(14,15,48,0.97);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
}
.lang-dropdown.open { display: block; }
.lang-dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.lang-dropdown a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.lang-dropdown a[aria-current="true"] { color: var(--gold); }
