/* =========================================
   TOPTIER Agency – Main Stylesheet
   Visual ref: syntala.de/digital
   Accent: #2563EB (professional blue)
   Mobile-first · CSS custom properties
========================================= */

/* ─── 1. CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  --color-bg:            #ECEEF0;
  --color-bg-white:      #FFFFFF;
  --color-bg-dark:       #0F1F35;
  --color-nav:           #171717;

  --color-text-h:        #0D0D0D;
  --color-text-body:     #4B5563;
  --color-text-muted:    #9CA3AF;

  --color-accent:        #2563EB;
  --color-accent-hover:  #1D4ED8;
  --color-accent-light:  #EFF6FF;

  --color-success:       #16A34A;
  --color-success-bg:    #F0FDF4;
  --color-danger:        #DC2626;
  --color-danger-bg:     #FEF2F2;

  --color-border:        #E5E7EB;
  --color-border-dark:   rgba(255,255,255,0.10);

  --space-section:       100px;
  --space-section-sm:    60px;
  --max-width:           1120px;
  --pad-x:               24px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-pill: 999px;

  --shadow-card:       0 1px 3px rgba(0,0,0,0.07), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 24px rgba(0,0,0,0.13), 0 20px 48px rgba(0,0,0,0.08);

  --t: 0.22s ease;
}

/* ─── 2. RESET & BASE ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background-color: var(--color-bg);
  color: var(--color-text-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
h1, h2, h3, h4 { color: var(--color-text-h); line-height: 1.12; letter-spacing: -0.025em; }

/* ─── 3. LAYOUT ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ─── 4. PAGE LOAD ANIMATIONS ───────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Applied on page load */
.nav__logo      { animation: fadeInDown 0.55s ease 0.05s both; }
.nav__links     { animation: fadeInDown 0.55s ease 0.15s both; }
.nav-hamburger  { animation: fadeInDown 0.55s ease 0.15s both; }

.hero__content .pill-badge  { animation: fadeInUp 0.6s ease 0.25s both; }
.hero__headline             { animation: fadeInUp 0.7s ease 0.38s both; }
.hero__bullets              { animation: fadeInUp 0.6s ease 0.52s both; }
.hero__content .btn         { animation: fadeInUp 0.6s ease 0.65s both; }
.hero__widget               { animation: scaleIn  0.7s ease 0.45s both; }

/* ─── 5. SCROLL REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helpers */
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ─── 6. NAVIGATION ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--color-nav);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease;
}
.nav--hidden { transform: translateY(-100%); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.nav__logo {
  font-size: 1.15rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.nav__dot { color: var(--color-accent); }

.nav__links {
  display: none;
  align-items: center;
  gap: 22px;
}

.nav__link {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--t);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--t);
}
.nav__link:hover           { color: #FFFFFF; }
.nav__link--active         { color: #FFFFFF; }
.nav__link--active::after  { transform: scaleX(1); }

/* ─── 7. HAMBURGER ──────────────────────────────────────── */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background var(--t);
}
.nav-hamburger:hover { background: rgba(255,255,255,0.08); }

.nav-hamburger__bar {
  display: block;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
}
.nav-hamburger__bar:nth-child(3) { width: 70%; }

.nav-hamburger.is-open .nav-hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open .nav-hamburger__bar:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open .nav-hamburger__bar:nth-child(3) { width: 100%; transform: translateY(-7px) rotate(-45deg); }

/* ─── 8. MOBILE MENU ────────────────────────────────────── */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  background: var(--color-nav);
  z-index: 199;
  padding: 80px var(--pad-x) 40px;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile--open { transform: translateY(0); }

.nav-mobile__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.nav-mobile__link {
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--t);
}
.nav-mobile__link:hover { color: #FFFFFF; }

/* ─── 9. BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background-color var(--t), transform var(--t), box-shadow var(--t);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn--primary { background: var(--color-accent); color: #FFFFFF; }
.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.38);
}
.btn--white { background: #FFFFFF; color: var(--color-accent); }
.btn--white:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.btn--outline-light {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.08);
  color: #FFFFFF;
}
.btn--sm  { font-size: 0.82rem; padding: 9px 18px; }
.btn--lg  { font-size: 1rem; padding: 16px 30px; border-radius: var(--r-lg); }
.btn__icon { width: 17px; height: 17px; flex-shrink: 0; }

/* ─── 10. PILL BADGE ────────────────────────────────────── */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-body);
}
.pill-badge--light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8);
}
.pill-badge__icon { width: 12px; height: 12px; color: var(--color-accent); }

/* ─── 11. HERO ──────────────────────────────────────────── */
.hero { padding: 72px 0 56px; }

.hero__container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero__headline {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.hero__em { font-style: italic; color: var(--color-accent); }

.hero__bullets { display: flex; flex-direction: column; gap: 10px; }
.hero__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.975rem;
  line-height: 1.5;
}
.hero__bullet-icon {
  width: 16px; height: 16px;
  min-width: 16px;
  margin-top: 3px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ─── 12. HERO WIDGET ───────────────────────────────────── */
.hero__widget { width: 100%; }

.widget {
  background: var(--color-bg-white);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
  max-width: 420px;
}
.widget__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.76rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Pulsing green dot */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0   rgba(34,197,94,0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0);    }
  100% { box-shadow: 0 0 0 0   rgba(34,197,94,0);    }
}
.widget__status-dot {
  width: 8px; height: 8px; min-width: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-ring 2s ease infinite;
}

.widget__company {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-h);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.widget__steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

/* Widget steps start hidden, JS reveals them */
.widget__step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.widget__step.widget-step--revealed { opacity: 1; transform: translateX(0); }
.widget__step--done    { background: var(--color-success-bg); color: #15803D; }
.widget__step--pending { background: var(--color-accent-light); color: #1D4ED8; }
.widget__step-icon  { width: 13px; height: 13px; flex-shrink: 0; }
.widget__step-text  { flex: 1; }
.widget__auto-badge {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(21,128,61,0.12);
  color: #15803D;
  white-space: nowrap;
  flex-shrink: 0;
}
.widget__auto-badge--blue { background: rgba(37,99,235,0.12); color: #1D4ED8; }

.widget__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  gap: 12px;
}
.widget__time-value  { display: block; font-size: 0.9rem; font-weight: 700; color: var(--color-text-h); }
.widget__time-label  { display: block; font-size: 0.7rem; color: var(--color-text-muted); margin-top: 2px; }
.widget__saving      { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.widget__saving-badge { font-size: 0.82rem; font-weight: 700; color: var(--color-success); background: var(--color-success-bg); padding: 2px 10px; border-radius: var(--r-pill); }
.widget__saving-label { font-size: 0.68rem; color: var(--color-text-muted); }

/* ─── 13. SECTIONS ──────────────────────────────────────── */
.section          { padding: var(--space-section-sm) 0; }
.section--white   { background: var(--color-bg-white); }
.section--dark    { background: var(--color-bg-dark); }

.section__intro {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
.section__headline {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.028em;
}
.section__headline--light { color: #FFFFFF; }
.section__subtext {
  font-size: 0.975rem;
  color: var(--color-text-body);
  max-width: 580px;
  text-align: center;
  line-height: 1.7;
}
.section__subtext--light { color: rgba(255,255,255,0.60); }

/* ─── 14. CARDS GRID ────────────────────────────────────── */
.cards-grid          { display: grid; gap: 16px; grid-template-columns: 1fr; }

/* ─── 15. CARD ──────────────────────────────────────────── */
.card {
  background: var(--color-bg-white);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.card__icon-wrap {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--color-accent-light);
}
.card__icon  { width: 22px; height: 22px; color: var(--color-accent); }
.card__title { font-size: 1rem; font-weight: 700; color: var(--color-text-h); margin-bottom: 10px; letter-spacing: -0.01em; }
.card__text  { font-size: 0.875rem; color: var(--color-text-body); line-height: 1.65; }

.card__list { display: flex; flex-direction: column; gap: 9px; }
.card__list li {
  font-size: 0.875rem;
  color: var(--color-text-body);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.card__list li::before { content: '–'; position: absolute; left: 0; color: var(--color-text-muted); }
.card__list li strong  { color: var(--color-text-h); font-weight: 600; }

/* ─── 16. TIMELINE ──────────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

.timeline__step {
  display: flex;
  gap: 20px;
  padding-bottom: 36px;
  position: relative;
}
/* Vertical connector line */
.timeline__step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline__dot {
  width: 40px; height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--color-accent-light);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background var(--t), transform var(--t);
}
.timeline__dot svg { width: 18px; height: 18px; color: var(--color-accent); }

.timeline__step.is-visible .timeline__dot {
  background: var(--color-accent);
}
.timeline__step.is-visible .timeline__dot svg { color: #FFFFFF; }

.timeline__content { padding-top: 8px; }
.timeline__num {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}
.timeline__content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-h);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.timeline__content p {
  font-size: 0.875rem;
  color: var(--color-text-body);
  line-height: 1.65;
  max-width: 400px;
}

/* ─── 17. COUNTER SECTION ───────────────────────────────── */
.counters-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.counter-item {
  background: var(--color-bg-white);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--t), box-shadow var(--t);
}
.counter-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.counter-number {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--color-text-h);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}
.counter-number span { display: inline-block; }
.counter-label {
  font-size: 0.9rem;
  color: var(--color-text-body);
  font-weight: 500;
  line-height: 1.4;
  max-width: 180px;
  margin-inline: auto;
}
.counter-sublabel {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ─── 18. COMPARISON TABLE ──────────────────────────────── */
.comparison {
  max-width: 820px;
  margin-inline: auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.comparison__header {
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  background: var(--color-nav);
  padding: 16px 24px;
  gap: 8px;
}
.comparison__col-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  text-align: center;
}
.comparison__col-label--toptier { color: var(--color-accent); }
.comparison__col-label--before  { color: rgba(255,255,255,0.4); }

.comparison__row {
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  align-items: center;
  padding: 14px 24px;
  gap: 8px;
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--t);
}
.comparison__row:last-child { border-bottom: none; }
.comparison__row:nth-child(even) { background: #F9FAFB; }
.comparison__row:hover { background: var(--color-accent-light); }

.comparison__feature {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-h);
}
.comparison__cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes checkPop {
  0%   { transform: scale(0.4); }
  70%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.check-yes, .check-no, .check-partial {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.check-yes {
  background: var(--color-success-bg);
  color: var(--color-success);
}
.check-no {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}
.check-partial {
  background: #FEF9C3;
  color: #854D0E;
}

.comparison__row.is-visible .check-yes,
.comparison__row.is-visible .check-no {
  animation: checkPop 0.4s ease both;
}

/* ─── 19. TESTIMONIALS ──────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.testimonial-card {
  background: var(--color-bg-white);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 8rem;
  line-height: 1;
  color: var(--color-accent-light);
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}
.testimonial-card__stars {
  color: #F59E0B;
  font-size: 0.85rem;
  letter-spacing: 2px;
}
.testimonial-card__quote {
  font-size: 0.925rem;
  color: var(--color-text-h);
  line-height: 1.7;
  font-style: normal;
  flex: 1;
  position: relative;
  z-index: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.testimonial-card__avatar {
  width: 40px; height: 40px; min-width: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}
.testimonial-card__name    { font-size: 0.875rem; font-weight: 700; color: var(--color-text-h); }
.testimonial-card__company { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 2px; }

/* ─── 20. FAQ ───────────────────────────────────────────── */
.faq {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq__item {
  background: var(--color-bg-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--t);
}
.faq__item--open { box-shadow: 0 4px 20px rgba(37,99,235,0.12); }

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-text-h);
  transition: color var(--t);
}
.faq__question:hover { color: var(--color-accent); }
.faq__item--open .faq__question { color: var(--color-accent); }

.faq__chevron {
  width: 18px; height: 18px; min-width: 18px;
  color: var(--color-text-muted);
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
}
.faq__item--open .faq__chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}
.faq__answer-inner {
  padding: 0 24px 20px;
  font-size: 0.875rem;
  color: var(--color-text-body);
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}
.faq__answer-inner p + p { margin-top: 10px; }

/* ─── 21. REFERENZPROJEKT ───────────────────────────────── */
.referenz__grid { display: grid; gap: 48px; }
.referenz__steps { display: flex; flex-direction: column; gap: 28px; }
.referenz__step { display: flex; gap: 18px; align-items: flex-start; }
.referenz__step-num {
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  background: rgba(37,99,235,0.18);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  flex-shrink: 0;
  margin-top: 2px;
}
.referenz__step-content h4 { font-size: 1rem; font-weight: 700; color: #FFFFFF; margin-bottom: 6px; }
.referenz__step-content p  { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

.referenz__results { display: flex; flex-direction: column; gap: 14px; }
.result-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  transition: transform var(--t), background var(--t);
}
.result-card:hover { transform: translateY(-2px); background: rgba(255,255,255,0.10); }
.result-card--accent {
  background: rgba(37,99,235,0.15);
  border-color: rgba(37,99,235,0.35);
}
.result-card__overline {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.result-card__number {
  font-size: 2.2rem; font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.result-card__number--sm  { font-size: 1.5rem; margin-top: 14px; margin-bottom: 4px; }
.result-card__label       { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.4; }
.result-card__divider     { color: rgba(255,255,255,0.2); font-size: 1.1rem; margin: 10px 0 2px; }

/* ─── 22. DIFFERENZIERUNG ───────────────────────────────── */
.diff-grid { display: grid; gap: 14px; }
.diff-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--color-bg-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--t), box-shadow var(--t);
}
.diff-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.diff-item__check { width: 18px; height: 18px; min-width: 18px; color: var(--color-accent); margin-top: 3px; flex-shrink: 0; }
.diff-item h4 { font-size: 0.925rem; font-weight: 700; color: var(--color-text-h); margin-bottom: 5px; }
.diff-item p  { font-size: 0.855rem; color: var(--color-text-body); line-height: 1.6; }

/* ─── 23. CTA SECTION ───────────────────────────────────── */
.cta-section {
  background: var(--color-bg-dark);
  padding: 80px 0;
  text-align: center;
}
.cta-section__headline {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-section__text {
  font-size: 0.975rem;
  color: rgba(255,255,255,0.65);
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.cta-section__contact     { margin-top: 20px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.cta-section__contact a   { color: rgba(255,255,255,0.8); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.3); }
.cta-section__contact a:hover { color: #FFFFFF; }

/* ─── 24. FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 56px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer__brand-logo {
  font-size: 1.1rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer__brand-logo span { color: var(--color-accent); }
.footer__brand-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 220px;
}
.footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--t);
}
.footer__links a:hover { color: rgba(255,255,255,0.9); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.footer__contact-item a { color: rgba(255,255,255,0.5); transition: color var(--t); }
.footer__contact-item a:hover { color: rgba(255,255,255,0.9); }
.footer__contact-icon { width: 15px; height: 15px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer__copy { font-size: 0.76rem; color: rgba(255,255,255,0.22); }
.footer__legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__legal a { font-size: 0.76rem; color: rgba(255,255,255,0.28); transition: color var(--t); }
.footer__legal a:hover { color: rgba(255,255,255,0.6); }

/* ─── 25. STICKY BANNER ─────────────────────────────────── */
.sticky-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--color-nav);
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
}
.sticky-banner--visible { transform: translateY(0); }

.sticky-banner__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 12px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.sticky-banner__text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  flex: 1;
  min-width: 180px;
}
.sticky-banner__text strong { color: #FFFFFF; font-weight: 600; }
.sticky-banner__close {
  width: 32px; height: 32px; min-width: 32px;
  background: rgba(255,255,255,0.07);
  border: none;
  border-radius: var(--r-sm);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), color var(--t);
}
.sticky-banner__close:hover { background: rgba(255,255,255,0.15); color: #FFFFFF; }
.sticky-banner__close svg   { width: 14px; height: 14px; }

/* ─── 26. BACK TO TOP ───────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 250;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background var(--t);
  pointer-events: none;
}
.back-to-top--visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover    { background: var(--color-accent-hover); transform: translateY(-2px); }
.back-to-top svg      { width: 18px; height: 18px; }

/* ─── 27. CURSOR GLOW ───────────────────────────────────── */
.cursor-glow {
  width: 420px; height: 420px;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(37,99,235,0.065) 0%, transparent 68%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 50%;
}

/* ─── 28. RESPONSIVE – 640px+ ───────────────────────────── */
@media (min-width: 640px) {
  .section           { padding: 80px 0; }
  .cards-grid--3     { grid-template-columns: repeat(2, 1fr); }
  .diff-grid         { grid-template-columns: repeat(2, 1fr); }
  .counters-grid     { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid      { grid-template-columns: repeat(2, 1fr); }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .timeline__step { padding-bottom: 0; }
  .timeline__step:not(:last-child)::before { display: none; }
}

/* ─── 29. RESPONSIVE – 768px+ ───────────────────────────── */
@media (min-width: 768px) {
  .hero { padding: 96px 0 80px; }
  .hero__container { flex-direction: row; align-items: center; gap: 64px; }
  .hero__content   { flex: 1; min-width: 0; }
  .hero__widget    { flex: 0 0 370px; }
  .widget          { max-width: none; }

  .referenz__grid  { grid-template-columns: 1fr 1fr; align-items: start; gap: 64px; }

  .nav__links      { display: flex; }
  .nav-hamburger   { display: none; }
}

/* ─── 30. RESPONSIVE – 1024px+ ──────────────────────────── */
@media (min-width: 1024px) {
  .section           { padding: var(--space-section) 0; }
  .cards-grid--3     { grid-template-columns: repeat(3, 1fr); }
  .cards-grid--2     { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__widget      { flex: 0 0 400px; }
  .footer__grid      { grid-template-columns: 2fr 1fr 1fr; gap: 48px; }

  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
  }
  /* Horizontal connecting line on desktop */
  .timeline::before {
    content: '';
    position: absolute;
    top: 19px;
    left: calc(50% / 4);
    right: calc(50% / 4);
    height: 2px;
    background: var(--color-border);
    z-index: 0;
  }
  .timeline__step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
  }
  .timeline__content { padding-top: 16px; }
  .timeline__content p { max-width: none; }
}
