/* ==========================================================================
   NORTHSTAR — HOMEPAGE V2 (additive layer)
   Loaded only by Website/index-v2.html, on top of style.css.
   Contains only new classes + scoped enhancements — never edits rules
   that index.html / Starter / Kontakt rely on, so those pages are
   unaffected by this file.
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-sub-nowrap { white-space: nowrap; }
@media (max-width: 640px) {
  .hero-sub-nowrap { white-space: normal; }
}

/* ==========================================================================
   HERO — GRID MOUSE SPOTLIGHT
   .hero-grid::after is masked to a circle that follows the cursor
   (position set via --spot-x / --spot-y from home-v2.js) so the purple
   glow only appears right where the mouse is, not across the whole hero.
   ========================================================================== */

.hero-grid::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle 130px at var(--spot-x, 50%) var(--spot-y, 50%), rgba(98,85,221,0.22), transparent 72%),
    linear-gradient(rgba(98,85,221,0.65) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98,85,221,0.65) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
  opacity: 0;
  -webkit-mask-image: radial-gradient(circle 150px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, black 55%, transparent 100%);
  mask-image: radial-gradient(circle 150px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, black 55%, transparent 100%);
  transition: opacity 0.3s var(--ease);
}
.hero:hover .hero-grid::after { opacity: 1; }

/* ==========================================================================
   HERO — ROTATING WORD
   ========================================================================== */

.hero-rotator {
  display: inline-grid;
  justify-items: center;
  min-height: 1.15em;
  vertical-align: top;
}
.hero-rotator-word {
  grid-area: 1 / 1;
  font-style: normal;
  color: var(--purple-700);
  background: linear-gradient(180deg, transparent 62%, var(--purple-100) 62%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  white-space: nowrap;
}
.hero-rotator-word.is-active { opacity: 1; transform: translateY(0); }

@media (max-width: 480px) {
  .hero-rotator-word { white-space: normal; text-align: center; overflow-wrap: break-word; }
}

/* ==========================================================================
   STATEMENT BAND — bold pull-quote between Problem and Philosophy
   ========================================================================== */

.statement-band {
  position: relative;
  padding: 56px 0;
  overflow: hidden;
}
.statement-band::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  background: var(--purple-50);
  border-radius: 50%;
  filter: blur(110px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.statement-text {
  position: relative;
  z-index: 1;
  font-size: clamp(23px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.32;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--ink);
}
.statement-text em {
  font-style: normal;
  color: var(--purple-700);
  background: linear-gradient(180deg, transparent 62%, var(--purple-100) 62%);
}

/* ==========================================================================
   VERGLEICH / COMPARISON TABLE
   ========================================================================== */

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  padding: 18px 22px;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}
.compare-table tbody th {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  background: var(--bg-soft);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-th-hero,
.compare-table td.is-hero { background: var(--purple-50); }
.compare-th-hero { color: var(--purple-700); font-size: 13px; }
.compare-table td.is-hero { color: var(--ink); font-weight: 500; }
.compare-check { color: var(--purple-600); margin-right: 8px; flex-shrink: 0; vertical-align: -2px; }

.compare-table th[scope="row"],
.compare-th-label {
  position: sticky;
  left: 0;
  z-index: 1;
  border-right: 1px solid var(--border);
}
.compare-th-label { background: var(--surface); }

@media (max-width: 640px) {
  .compare-table th, .compare-table td { padding: 14px 16px; font-size: 13.5px; }
}

/* ==========================================================================
   SERVICE FEATURE LISTS (Leistungen cards)
   ========================================================================== */

.service-features {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-feature {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--ink-muted);
}
.service-feature::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--purple-600);
}

/* ==========================================================================
   LEISTUNGEN — STACKED BLOCKS (tag / heading+text left / tiles right)
   ========================================================================== */

.leistungs-blocks { display: flex; flex-direction: column; gap: 20px; }
.leistungs-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.leistungs-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-700);
  margin-bottom: 20px;
}

.leistungs-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.leistungs-row-title { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; }
.leistungs-row-desc { font-size: 15.5px; color: var(--ink-muted); line-height: 1.8; }

.leistungs-tiles { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin-left: auto; }
.leistungs-tile {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.leistungs-tile:hover { border-color: var(--purple-600); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.leistungs-tile-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple-100), var(--purple-50));
  border: 1px solid var(--purple-border);
  color: var(--purple-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.leistungs-tile-icon svg { width: 19px; height: 19px; }
.leistungs-tile:hover .leistungs-tile-icon { transform: scale(1.08) rotate(-4deg); }
.leistungs-tile-body { min-width: 0; }
.leistungs-tile-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 3px; }
.leistungs-tile-desc { font-size: 13.5px; color: var(--ink-muted); line-height: 1.6; }

@media (max-width: 900px) {
  .leistungs-row { grid-template-columns: 1fr; gap: 28px; }
  .leistungs-tiles { max-width: none; margin-left: 0; }
}
@media (max-width: 640px) {
  .leistungs-block { padding: 28px 22px; }
  .leistungs-tile { padding: 14px; gap: 12px; }
}

/* ==========================================================================
   SCOPED HOVER / MOTION POLISH
   These target shared component classes (.pain-card, .service-card,
   .philosophy-point) — safe here because style-v2.css is only ever
   loaded by index-v2.html, so index.html/Starter/Kontakt never see it.
   ========================================================================== */

.pain-icon, .service-icon {
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.pain-card:hover .pain-icon,
.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-4deg);
}

.philosophy-point { position: relative; overflow: hidden; }
.philosophy-point::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 42%, rgba(98, 85, 221, 0.07) 50%, transparent 58%);
  transform: translateX(-100%);
  transition: transform 0.65s var(--ease);
  pointer-events: none;
}
.philosophy-point:hover::after { transform: translateX(100%); }

/* ==========================================================================
   TEAM — INSTAGRAM HANDLE
   ========================================================================== */

.team-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.team-social svg { flex-shrink: 0; }
.team-social-arrow {
  color: var(--dark-text-muted);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.team-social:hover .team-social-arrow {
  color: #d62976;
  transform: translate(2px, -2px);
}
.team-social-handle {
  background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   CTA BAND — italic lead-in line
   ========================================================================== */

.cta-band-title-italic {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
  display: inline-block;
}
@media (max-width: 640px) {
  .cta-band-title-italic { white-space: normal; }
}

/* ==========================================================================
   CTA BAND -> FOOTER — seamless transition
   .cta-band-glow (560px, blur 140px, centered) is bigger than the
   section's own half-height, so overflow:hidden was hard-clipping a
   still-visible tail of the blur right at the footer boundary — that
   clipped edge, not a border, was the visible "line". Shrinking + masking
   the glow so it fully fades out before reaching the edge removes it.
   ========================================================================== */

.site-footer { border-top: none; }

.cta-band-glow {
  width: 360px; height: 360px;
  top: var(--glow-y, 38%);
  left: var(--glow-x, 50%);
  filter: blur(90px);
  mask-image: radial-gradient(circle, black 45%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle, black 45%, transparent 75%);
  transition: top 0.15s ease-out, left 0.15s ease-out;
}
