/* ============================================================================
   SWISS MARKETER — BRANCHEN PREMIUM LAYER
   High-end polish on the 6 industry subpages.
   Loaded AFTER mobile-premium.css — overrides where needed.
   Performance: only transform / opacity / filter animations (GPU-friendly).
   Accessibility: respects prefers-reduced-motion at the end of file.
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. HERO — animated red-glow halo behind h1, premium badge with pulse dot
   ---------------------------------------------------------------------------- */

/* Subtle bloom behind the headline — sits behind text, no layout impact */
.branch-hero-stage .reveal-up h1 {
  position: relative;
  isolation: isolate;
}
.branch-hero-stage .reveal-up h1::before {
  content: '';
  position: absolute;
  inset: -22% -8% -22% -8%;
  background:
    radial-gradient(50% 60% at 18% 50%, rgba(220, 0, 24, 0.16) 0%, transparent 70%),
    radial-gradient(40% 55% at 78% 50%, rgba(220, 0, 24, 0.10) 0%, transparent 75%);
  filter: blur(10px);
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
  animation: brHeroHalo 9s ease-in-out infinite;
}
@keyframes brHeroHalo {
  0%, 100% { transform: scale(1) translateX(0); opacity: 0.75; }
  50%      { transform: scale(1.08) translateX(2%); opacity: 1; }
}

/* Premium badge: gradient surface, pulse indicator dot */
.branch-hero-stage__badge {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  background-size: 200% 100%;
  animation: brBadgeShimmer 8s linear infinite;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 28px rgba(15, 23, 42, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 7px 14px 7px 11px;
  gap: 9px;
}
.branch-hero-stage__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--viz-red);
  box-shadow: 0 0 0 0 rgba(220, 0, 24, 0.7);
  animation: brBadgePulse 2.4s ease-out infinite;
  flex: 0 0 auto;
}
@keyframes brBadgePulse {
  0%   { box-shadow: 0 0 0 0   rgba(220, 0, 24, 0.6); transform: scale(1); }
  70%  { box-shadow: 0 0 0 10px rgba(220, 0, 24, 0);   transform: scale(1.05); }
  100% { box-shadow: 0 0 0 0   rgba(220, 0, 24, 0);   transform: scale(1); }
}
@keyframes brBadgeShimmer {
  0%   { background-position:   0% 0; }
  100% { background-position: 200% 0; }
}

/* H1 weight balance on smaller viewports */
@media (max-width: 480px) {
  .branch-hero-stage h1 {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.02;
    letter-spacing: -0.035em;
  }
  .branch-hero-stage .reveal-up h1::before {
    inset: -14% -4% -14% -4%;
    filter: blur(8px);
    opacity: 0.6;
  }
}

/* ----------------------------------------------------------------------------
   2. BRANCH-VIZ — upgrade: 3 concentric rings with counter-rotation,
      brighter glow, premium core
   ---------------------------------------------------------------------------- */

/* Slightly larger stage on big screens */
@media (min-width: 1280px) {
  .branch-viz { max-width: 540px; }
}

/* Premium core: tighter radius, multi-layer glow, animated sheen */
.branch-viz__core {
  border-radius: 32px;
  background:
    linear-gradient(135deg, #ff2030 0%, var(--viz-red) 40%, #b30014 100%);
  box-shadow:
    0 32px 90px rgba(220, 0, 24, 0.40),
    0 12px 30px rgba(220, 0, 24, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.branch-viz__core::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}
.branch-viz__core::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 60%; height: 60%;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(35deg);
  animation: brCoreSheen 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes brCoreSheen {
  0%, 100% { transform: rotate(35deg) translate(-30%, -30%); opacity: 0; }
  50%      { transform: rotate(35deg) translate(180%, 180%); opacity: 0.55; }
}

/* Add a third ring via ::before on .branch-viz */
.branch-viz::before {
  content: '';
  position: absolute;
  inset: 18%;
  border-radius: 999px;
  border: 1px dashed rgba(220, 0, 24, 0.22);
  animation: branchRingSpin 22s linear infinite reverse;
  pointer-events: none;
}
/* Outer faint halo (4th element) */
.branch-viz::after {
  content: '';
  position: absolute;
  inset: -8%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(220, 0, 24, 0.10) 0%, transparent 60%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
  animation: brHaloPulse 6s ease-in-out infinite;
}
@keyframes brHaloPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.96); }
  50%      { opacity: 1;   transform: scale(1.04); }
}

/* Make outer rings more sophisticated */
.branch-viz__ring--1 {
  border-color: rgba(220, 0, 24, 0.35);
  border-width: 1.5px;
}
.branch-viz__ring--2 {
  border-color: rgba(220, 0, 24, 0.18);
  border-width: 1px;
}

/* Chips: premium glass material */
.branch-viz__chip {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-color: rgba(15, 23, 42, 0.06);
  box-shadow:
    0 14px 32px rgba(15, 23, 42, 0.10),
    0 2px 6px rgba(15, 23, 42, 0.04);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.branch-viz__chip::before {
  box-shadow: 0 0 6px rgba(220, 0, 24, 0.6);
}

/* Mobile: hide viz below text — text wraps cleanly and viz becomes optional */
@media (max-width: 720px) {
  .branch-viz {
    max-width: 280px;
    opacity: 0.85;
    transform: scale(0.9);
    transform-origin: center top;
    margin-top: 8px;
  }
  .branch-viz__chip { display: none; }
  .branch-viz::before, .branch-viz::after { animation: none; }
}
@media (max-width: 480px) {
  .branch-viz { display: none; }
}

/* ----------------------------------------------------------------------------
   3. SECTION TRANSITIONS — 1px red gradient hairline between sections
   ---------------------------------------------------------------------------- */

main > section + section {
  position: relative;
}
main > section + section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(100%, 720px);
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(220, 0, 24, 0) 15%,
    rgba(220, 0, 24, 0.35) 50%,
    rgba(220, 0, 24, 0) 85%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
}
/* Skip when transitioning into a dark/ink section — gets its own treatment */
main > section + .stage--ink::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 80, 100, 0) 15%,
    rgba(255, 80, 100, 0.40) 50%,
    rgba(255, 80, 100, 0) 85%,
    transparent 100%
  );
}

/* ----------------------------------------------------------------------------
   4. FLOW STEP CARDS — premium upgrade
   ---------------------------------------------------------------------------- */

.flow-step {
  border-radius: 22px;
  padding: 28px 26px 26px;
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    border-color 0.3s var(--ease-out);
  will-change: transform;
}
.flow-step:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 60px rgba(15, 23, 42, 0.10),
    0 6px 18px rgba(220, 0, 24, 0.10);
  border-color: rgba(220, 0, 24, 0.20);
}
/* Dark-section variant hover */
.stage--ink .flow-step:hover,
.flow-step[style*="rgba(255,255,255,0.04)"]:hover {
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.35),
    0 6px 18px rgba(220, 0, 24, 0.25);
  border-color: rgba(255, 128, 144, 0.40) !important;
  background: rgba(255, 255, 255, 0.065) !important;
}

/* Premium number indicator: 48px ring with red-gradient + halo */
.flow-step__num {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff2030 0%, var(--viz-red) 50%, #b30014 100%);
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  position: relative;
  box-shadow:
    0 12px 26px rgba(220, 0, 24, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 4px rgba(0, 0, 0, 0.10);
}
.flow-step__num::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  background: radial-gradient(circle, rgba(220, 0, 24, 0.25) 0%, transparent 65%);
  filter: blur(10px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.flow-step:hover .flow-step__num::after { opacity: 1; }

.flow-step__title {
  font-size: 19px;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.flow-step__desc {
  font-size: 14px;
  line-height: 1.6;
}

/* Stagger reveal — works with existing reveal-up + data-delay system */
.flow .flow-step[data-delay="1"] { transition-delay: 0.08s; }
.flow .flow-step[data-delay="2"] { transition-delay: 0.16s; }
.flow .flow-step[data-delay="3"] { transition-delay: 0.24s; }

/* ----------------------------------------------------------------------------
   5. CASE-MINI-CARDS — premium typography + brand-accent hover
   ---------------------------------------------------------------------------- */

.case-card-premium {
  position: relative;
  background: white;
  border: 1px solid var(--viz-line);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--viz-shadow-sm);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.case-card-premium::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--viz-red), #ff4555 60%, transparent);
  border-radius: 0 0 4px 0;
}
.case-card-premium:hover {
  border-color: rgba(220, 0, 24, 0.25);
  box-shadow:
    0 32px 70px rgba(15, 23, 42, 0.10),
    0 6px 14px rgba(220, 0, 24, 0.08);
}

/* Inner KPI grid styling for case-card */
.case-kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .case-kpi-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.case-kpi {
  padding: 18px 20px;
  background: var(--viz-surface-2);
  border-radius: 16px;
  border: 1px solid var(--viz-line);
  position: relative;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.case-kpi:hover {
  background: white;
  border-color: rgba(220, 0, 24, 0.20);
}
.case-kpi__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--viz-text-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.case-kpi__val {
  font-weight: 700;
  color: var(--viz-text);
  font-size: 14.5px;
  line-height: 1.4;
}

/* Mini-mockup visuals (CSS-only, branche-specific) */
.case-mockup {
  display: none;
}
@media (min-width: 900px) {
  .case-mockup {
    display: grid;
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--viz-surface-2);
    border-radius: 18px;
    border: 1px solid var(--viz-line);
    padding: 20px;
    place-items: center;
    position: relative;
    overflow: hidden;
  }
  .case-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 80% 20%, rgba(220, 0, 24, 0.06) 0%, transparent 50%);
    pointer-events: none;
  }
}

/* Mockup: BAR (Treuhand — planbare Anfragen) */
.case-mockup--bars {
  --b1: 38%; --b2: 52%; --b3: 64%; --b4: 71%; --b5: 78%; --b6: 84%;
}
.case-mockup--bars .mockup-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 80%;
  height: 70%;
  position: relative;
  z-index: 2;
}
.case-mockup--bars .mockup-bars i {
  flex: 1;
  background: linear-gradient(180deg, var(--viz-red), #b30014);
  border-radius: 4px 4px 2px 2px;
  opacity: 0.95;
  box-shadow: 0 4px 10px rgba(220, 0, 24, 0.20);
}
.case-mockup--bars .mockup-bars i:nth-child(1) { height: var(--b1); }
.case-mockup--bars .mockup-bars i:nth-child(2) { height: var(--b2); }
.case-mockup--bars .mockup-bars i:nth-child(3) { height: var(--b3); }
.case-mockup--bars .mockup-bars i:nth-child(4) { height: var(--b4); }
.case-mockup--bars .mockup-bars i:nth-child(5) { height: var(--b5); }
.case-mockup--bars .mockup-bars i:nth-child(6) { height: var(--b6); }

/* Mockup: CALENDAR (Ärzte — Termine) */
.case-mockup--cal .mockup-cal {
  width: 78%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  position: relative;
  z-index: 2;
}
.case-mockup--cal .mockup-cal i {
  aspect-ratio: 1;
  background: white;
  border: 1px solid var(--viz-line);
  border-radius: 4px;
}
.case-mockup--cal .mockup-cal i.is-on {
  background: linear-gradient(135deg, var(--viz-red), #b30014);
  border-color: var(--viz-red);
  box-shadow: 0 2px 6px rgba(220, 0, 24, 0.30);
}

/* Mockup: MAP (Immobilien — Quartiere) */
.case-mockup--map .mockup-map {
  position: relative;
  width: 80%;
  height: 70%;
  background:
    linear-gradient(45deg, rgba(15, 23, 42, 0.04) 25%, transparent 25%, transparent 75%, rgba(15, 23, 42, 0.04) 75%),
    linear-gradient(45deg, rgba(15, 23, 42, 0.04) 25%, transparent 25%, transparent 75%, rgba(15, 23, 42, 0.04) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  border-radius: 8px;
  z-index: 2;
}
.case-mockup--map .mockup-map i {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--viz-red);
  box-shadow: 0 0 0 4px rgba(220, 0, 24, 0.2), 0 6px 16px rgba(220, 0, 24, 0.40);
  animation: brPin 3s ease-in-out infinite;
}
.case-mockup--map .mockup-map i:nth-child(1) { top: 22%; left: 18%; animation-delay: 0s; }
.case-mockup--map .mockup-map i:nth-child(2) { top: 48%; left: 56%; animation-delay: 0.8s; }
.case-mockup--map .mockup-map i:nth-child(3) { top: 70%; left: 32%; animation-delay: 1.6s; }
@keyframes brPin {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}

/* Mockup: SCALES (Anwälte) */
.case-mockup--scale .mockup-scale {
  width: 70%;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.case-mockup--scale .mockup-scale i {
  display: block;
  height: 8px;
  background: var(--viz-line);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.case-mockup--scale .mockup-scale i::after {
  content: '';
  position: absolute;
  top: 0; left: 0; height: 100%;
  background: linear-gradient(90deg, var(--viz-red), #ff4555);
  border-radius: 4px;
  width: var(--w, 50%);
  box-shadow: 0 0 8px rgba(220, 0, 24, 0.40);
}
.case-mockup--scale .mockup-scale i:nth-child(1)::after { width: 88%; }
.case-mockup--scale .mockup-scale i:nth-child(2)::after { width: 72%; }
.case-mockup--scale .mockup-scale i:nth-child(3)::after { width: 64%; }
.case-mockup--scale .mockup-scale i:nth-child(4)::after { width: 80%; }

/* Mockup: PIPELINE (IT/SaaS — funnel) */
.case-mockup--funnel .mockup-funnel {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 2;
  align-items: center;
}
.case-mockup--funnel .mockup-funnel i {
  display: block;
  height: 12px;
  background: linear-gradient(90deg, var(--viz-red), #b30014);
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(220, 0, 24, 0.30);
}
.case-mockup--funnel .mockup-funnel i:nth-child(1) { width: 100%; }
.case-mockup--funnel .mockup-funnel i:nth-child(2) { width: 78%; }
.case-mockup--funnel .mockup-funnel i:nth-child(3) { width: 56%; }
.case-mockup--funnel .mockup-funnel i:nth-child(4) { width: 34%; }

/* Mockup: RADAR (Coaches — voller Kalender) */
.case-mockup--radar .mockup-radar {
  position: relative;
  width: 65%;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px dashed rgba(220, 0, 24, 0.35);
  display: grid;
  place-items: center;
  z-index: 2;
}
.case-mockup--radar .mockup-radar::before {
  content: '';
  width: 65%;
  height: 65%;
  border-radius: 999px;
  border: 1px solid rgba(220, 0, 24, 0.25);
}
.case-mockup--radar .mockup-radar::after {
  content: '';
  position: absolute;
  width: 30%;
  height: 30%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--viz-red), #b30014);
  box-shadow: 0 12px 24px rgba(220, 0, 24, 0.40);
}

/* ----------------------------------------------------------------------------
   6. COMPLIANCE CARDS — premium shield treatment + do/don't with icons
   ---------------------------------------------------------------------------- */

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .compliance-grid { grid-template-columns: 1fr 1fr; }
}

.compliance-card {
  position: relative;
  border-radius: 26px;
  padding: 34px 30px 30px;
  border: 1px solid var(--viz-line);
  background: white;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  overflow: hidden;
}
.compliance-card--dark {
  background: linear-gradient(155deg, #0a0a0a 0%, #1a1a1a 100%);
  border-color: rgba(255, 255, 255, 0.06);
  color: white;
}
.compliance-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 56px rgba(15, 23, 42, 0.10),
    0 4px 14px rgba(220, 0, 24, 0.08);
}
.compliance-card--dark:hover {
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.45),
    0 4px 14px rgba(220, 0, 24, 0.18);
}

/* Shield icon header */
.compliance-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.compliance-card__shield {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.compliance-card--dark .compliance-card__shield {
  background: linear-gradient(135deg, rgba(255, 128, 144, 0.16) 0%, rgba(220, 0, 24, 0.12) 100%);
  color: #ff8090;
  border-color: rgba(255, 128, 144, 0.30);
}
.compliance-card__shield svg { width: 18px; height: 18px; stroke-width: 2; }
.compliance-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #16a34a;
  font-weight: 700;
}
.compliance-card--dark .compliance-card__label { color: #ff8090; }

/* Compliance list with icon bullets */
.compliance-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.compliance-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--viz-text-2);
}
.compliance-card--dark .compliance-list li { color: rgba(255, 255, 255, 0.86); }

.compliance-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 999px;
  flex: 0 0 auto;
  margin-top: 2px;
  background-color: #ecfdf5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  border: 1px solid #bbf7d0;
}
.compliance-card--dark .compliance-list li::before {
  background-color: rgba(255, 128, 144, 0.10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8090' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  border-color: rgba(255, 128, 144, 0.32);
}

/* Disclaimer below compliance cards */
.compliance-disclaimer {
  margin: 28px auto 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--viz-text-3);
  max-width: 720px;
  line-height: 1.65;
  display: block;
}

/* ----------------------------------------------------------------------------
   7. FINAL CTA CARD — refined hero-like dark gradient panel
   ---------------------------------------------------------------------------- */

.cta-card-premium {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(220, 0, 24, 0.10) 0%, transparent 60%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 60%, #0a0a0a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: clamp(36px, 5vw, 60px);
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.cta-card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}
.cta-card-premium::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(220, 0, 24, 0.22) 0%, transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  animation: brHaloPulse 7s ease-in-out infinite;
}
.cta-card-premium > * { position: relative; z-index: 2; }

.cta-card-premium__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .cta-card-premium__grid { grid-template-columns: 1.4fr 1fr; gap: 40px; }
}

.cta-card-premium__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff8090;
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-card-premium__eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff8090);
}
.cta-card-premium__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: white;
  margin: 0 0 14px;
}
.cta-card-premium__title .serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  background: linear-gradient(135deg, #ffffff 0%, #ff8090 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-card-premium__lead {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin: 0;
}
.cta-card-premium__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.cta-card-premium__ctas .btn-pill { justify-content: center; }
.cta-card-premium__ctas .sm-chat-trigger { justify-content: center; }

/* ----------------------------------------------------------------------------
   8. CASE-CARD — replacement for the existing inline-styled case wrapper
   used by Treuhänder/Immobilien/Ärzte
   ---------------------------------------------------------------------------- */

.case-block {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .case-block { grid-template-columns: 1.5fr 1fr; }
}
.case-block__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 720px) and (max-width: 899px) {
  .case-block__body { grid-template-columns: 1fr 1fr; }
}
.case-block__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-block__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--viz-text-3);
  font-weight: 700;
}
.case-block__text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--viz-text-2);
  margin: 0;
}
.case-block__quote {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--viz-line);
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.case-block__avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--viz-ink), #1a1a1a);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
}
.case-block__avatar--red {
  background: linear-gradient(135deg, var(--viz-red), #b30014);
  box-shadow: 0 8px 18px rgba(220, 0, 24, 0.32);
}
.case-block__qtext {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--viz-text);
  line-height: 1.4;
}
.case-block__qmeta {
  font-size: 12px;
  color: var(--viz-text-3);
  margin-top: 4px;
}

/* ----------------------------------------------------------------------------
   9. UTILITIES — small helpers used inline
   ---------------------------------------------------------------------------- */

.br-eyebrow-light { color: #ff8090 !important; }
.br-text-white { color: white !important; }
.br-text-white-70 { color: rgba(255, 255, 255, 0.7) !important; }
.br-text-white-86 { color: rgba(255, 255, 255, 0.86) !important; }

.br-hero-ctas {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .br-hero-ctas { gap: 10px; }
  .br-hero-ctas .btn-pill,
  .br-hero-ctas .sm-chat-trigger { width: 100%; justify-content: center; }
}

.br-stack-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.br-section-eyebrow-ink { color: #ff8090; }
.br-stage-title-white { color: white; }
.br-stage-sub-white { color: rgba(255, 255, 255, 0.7); }

/* Flow-step variant on dark sections — gives semantic class rather than inline */
.flow-step--ink {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
}
.flow-step--ink .flow-step__title { color: white; }
.flow-step--ink .flow-step__desc { color: rgba(255, 255, 255, 0.7); }

/* Centered AI-trigger block under flows */
.br-flow-ai-trigger {
  margin-top: 36px;
  text-align: center;
}

/* Mini-case section that uses surface-2 background */
.br-section-surface { background: var(--viz-surface-2); }
.br-section-white { background: white; }

/* ----------------------------------------------------------------------------
   10. REDUCED MOTION + MOBILE — disable heavy animations on request
   ---------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .branch-hero-stage .reveal-up h1::before,
  .branch-hero-stage__badge,
  .branch-hero-stage__badge::before,
  .branch-viz__core,
  .branch-viz__core::after,
  .branch-viz::before,
  .branch-viz::after,
  .branch-viz__chip,
  .case-mockup--map .mockup-map i,
  .cta-card-premium::after,
  .flow-step,
  .flow-step__num::after {
    animation: none !important;
    transition: none !important;
  }
  .flow-step:hover,
  .compliance-card:hover,
  .case-card-premium:hover,
  .case-kpi:hover {
    transform: none !important;
  }
}

/* Mobile: tighten paddings, larger touch targets */
@media (max-width: 600px) {
  .flow-step { padding: 22px 20px; border-radius: 18px; }
  .flow-step__num { width: 44px; height: 44px; border-radius: 14px; font-size: 15px; }
  .flow-step__title { font-size: 17px; }
  .compliance-card { padding: 24px 22px; border-radius: 20px; }
  .compliance-card__shield { width: 34px; height: 34px; border-radius: 10px; }
  .cta-card-premium { border-radius: 24px; padding: 28px 22px; }
  .case-card-premium { border-radius: 22px; padding: 24px 22px; }
  .case-block { gap: 22px; }
  .case-block__body { gap: 18px; }
}
