/* ================================================================
   Pipelet Homepage — Motion & Infographic Layer
   Adds scroll-reveal, animated counters, hover polish, a migration
   infographic, and subtle hero ambience on top of homepage-theme.css.
   Respects prefers-reduced-motion.
   ================================================================ */

/* ---------- Scroll-reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 600ms var(--ease),
        transform 600ms var(--ease);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger children — the .stagger modifier adds a per-child delay */
.reveal.stagger > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.reveal.stagger.is-visible > *:nth-child(1) { transition-delay: 60ms; opacity:1; transform:none; }
.reveal.stagger.is-visible > *:nth-child(2) { transition-delay: 140ms; opacity:1; transform:none; }
.reveal.stagger.is-visible > *:nth-child(3) { transition-delay: 220ms; opacity:1; transform:none; }
.reveal.stagger.is-visible > *:nth-child(4) { transition-delay: 300ms; opacity:1; transform:none; }
.reveal.stagger.is-visible > *:nth-child(5) { transition-delay: 380ms; opacity:1; transform:none; }
.reveal.stagger.is-visible > *:nth-child(6) { transition-delay: 460ms; opacity:1; transform:none; }
.reveal.stagger.is-visible > *:nth-child(n+7) { transition-delay: 540ms; opacity:1; transform:none; }

/* ---------- Hero ambience (floating accent blobs) ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
.hero::before {
    width: 520px; height: 520px;
    left: -180px; top: -140px;
    background: radial-gradient(circle, rgba(17,112,207,0.25), transparent 70%);
    animation: blob-drift-1 24s ease-in-out infinite;
}
.hero::after {
    width: 440px; height: 440px;
    right: -160px; bottom: -120px;
    background: radial-gradient(circle, rgba(196,154,108,0.35), transparent 70%);
    animation: blob-drift-2 30s ease-in-out infinite;
}
.hero-inner { position: relative; z-index: 1; }

@keyframes blob-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(80px, 60px) scale(1.12); }
}
@keyframes blob-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-70px, -50px) scale(0.92); }
}

/* ---------- Hero CTA shimmer on primary button ---------- */
.hero-cta .btn-primary {
    position: relative;
    overflow: hidden;
}
.hero-cta .btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255,255,255,0.25) 50%,
        transparent 100%
    );
    transform: translateX(-120%);
    animation: btn-shimmer 4.5s ease-in-out 1.2s infinite;
    pointer-events: none;
}
@keyframes btn-shimmer {
    0%    { transform: translateX(-120%); }
    50%   { transform: translateX(120%); }
    100%  { transform: translateX(120%); }
}

/* ---------- Animated stat counters ---------- */
.stat-num {
    font-variant-numeric: tabular-nums;
    position: relative;
}
.stat-band.reveal.is-visible .stat-num {
    /* Subtle scale-in when the band reveals */
    animation: stat-pop 700ms var(--ease) both;
}
.stat-band.reveal.is-visible .stat-band-grid > *:nth-child(2) .stat-num { animation-delay: 120ms; }
.stat-band.reveal.is-visible .stat-band-grid > *:nth-child(3) .stat-num { animation-delay: 240ms; }
.stat-band.reveal.is-visible .stat-band-grid > *:nth-child(4) .stat-num { animation-delay: 360ms; }
@keyframes stat-pop {
    0%   { opacity: 0; transform: translateY(8px) scale(0.96); }
    60%  { opacity: 1; transform: translateY(0) scale(1.04); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Suite diagram: hover glow + live connector pulse ---------- */
.suite-node {
    transition:
        transform 240ms var(--ease),
        box-shadow 240ms var(--ease),
        border-color 240ms var(--ease);
}
.suite-node:hover {
    transform: translateY(-3px);
    box-shadow: var(--elevation-2);
    border-color: var(--accent);
}
.suite-diagram-arrow {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    margin: var(--sp-2) auto;
    min-height: 44px;
    animation: arrow-breathe 3.2s ease-in-out infinite;
}
.suite-diagram-arrow-svg {
    width: 28px;
    height: 44px;
    overflow: visible;
}
@keyframes arrow-breathe {
    0%, 100% { opacity: 0.45; }
    50%      { opacity: 0.90; }
}

/* A soft ambient pulse for diagram rows — runs only after reveal */
.suite-diagram-row.is-visible .suite-node {
    animation: node-enter 500ms var(--ease) both;
}
.suite-diagram-row.is-visible .suite-node:nth-child(1) { animation-delay:  40ms; }
.suite-diagram-row.is-visible .suite-node:nth-child(2) { animation-delay: 120ms; }
.suite-diagram-row.is-visible .suite-node:nth-child(3) { animation-delay: 200ms; }
.suite-diagram-row.is-visible .suite-node:nth-child(4) { animation-delay: 280ms; }
@keyframes node-enter {
    0%   { opacity: 0; transform: translateY(10px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0)    scale(1); }
}

/* ---------- Migration Infographic ---------- */
.migration-fig {
    margin: var(--sp-9) auto 0;
    max-width: 1020px;
    padding: var(--sp-7) var(--sp-7);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--elevation-1);
}
.migration-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--sp-7);
}
.migration-head h3 {
    font-family: var(--font-serif);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 400;
    letter-spacing: -0.4px;
    margin: 0 0 var(--sp-3);
    color: var(--text-primary);
}
.migration-head h3 em { font-style: italic; font-weight: 700; }
.migration-head p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}

.migration-stage {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--sp-6);
}
.migration-box {
    position: relative;
    padding: var(--sp-5);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-solid);
    min-height: 160px;
}
.migration-box-old {
    background: #f5f3ef;
    border-color: rgba(0,0,0,0.10);
}
.migration-box-new {
    background: linear-gradient(180deg, rgba(17,112,207,0.05), rgba(29,128,95,0.04));
    border-color: rgba(17,112,207,0.18);
    box-shadow: 0 0 0 3px rgba(17,112,207,0.05);
}
.migration-box-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-disabled);
    margin-bottom: var(--sp-3);
}
.migration-box-new .migration-box-label {
    color: var(--accent);
}
.migration-box-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: var(--sp-4);
}

.migration-stations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
    gap: 10px;
}
.migration-station {
    height: 44px;
    border-radius: 8px;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-disabled);
    font-family: var(--font-mono);
    font-size: 11px;
    transition: background 400ms var(--ease), color 400ms var(--ease), transform 400ms var(--ease);
}
.migration-station svg { width: 18px; height: 18px; }
.migration-station.is-migrated {
    background: rgba(17,112,207,0.12);
    color: var(--accent);
    transform: scale(1.04);
}
.migration-box-new .migration-station {
    background: rgba(17,112,207,0.10);
    color: var(--accent);
}

/* Center column: OCPP Broker with pulsing signal */
.migration-broker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
}
.migration-broker-badge {
    padding: 6px 10px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 0 0 0 rgba(17,112,207,0.5);
    animation: broker-pulse 2.2s ease-out infinite;
}
@keyframes broker-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(17,112,207,0.55); }
    70%  { box-shadow: 0 0 0 16px rgba(17,112,207,0); }
    100% { box-shadow: 0 0 0 0 rgba(17,112,207,0); }
}
.migration-flow-line {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    background-size: 200% 100%;
    animation: flow-sweep 2.6s linear infinite;
}
@keyframes flow-sweep {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.migration-broker-caption {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 140px;
    line-height: 1.4;
}

@media (max-width: 720px) {
    .migration-stage {
        grid-template-columns: 1fr;
        gap: var(--sp-5);
    }
    .migration-flow-line {
        width: 2px;
        height: 60px;
        background: linear-gradient(180deg, transparent, var(--accent), transparent);
        animation: flow-sweep-vert 2.6s linear infinite;
    }
    @keyframes flow-sweep-vert {
        0%   { background-position: 0 200%; }
        100% { background-position: 0 -200%; }
    }
}

/* ---------- Product & value card hover polish ---------- */
.card {
    transition:
        transform 220ms var(--ease),
        box-shadow 220ms var(--ease),
        border-color 220ms var(--ease);
    will-change: transform, box-shadow;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--elevation-2);
    border-color: var(--border-hover);
}
.value-card {
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.value-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--elevation-1);
}
.value-card-icon {
    transition: transform 400ms var(--ease), color 400ms var(--ease);
}
.value-card:hover .value-card-icon {
    transform: scale(1.12) rotate(-4deg);
    color: var(--accent);
}

/* Arrow nudge on card-link hover */
.card .arrow,
.card-link .arrow {
    display: inline-block;
    transition: transform 180ms var(--ease);
}
.card:hover .arrow,
.card-link:hover .arrow {
    transform: translateX(4px);
}

/* Hero tag float-in */
.hero-tag {
    opacity: 0;
    animation: tag-in 420ms var(--ease) both;
}
.hero-tag:nth-child(1) { animation-delay: 100ms; }
.hero-tag:nth-child(2) { animation-delay: 180ms; }
.hero-tag:nth-child(3) { animation-delay: 260ms; }
.hero-tag:nth-child(4) { animation-delay: 340ms; }
.hero-tag:nth-child(5) { animation-delay: 420ms; }
.hero-tag:nth-child(6) { animation-delay: 500ms; }
@keyframes tag-in {
    0%   { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ---------- Reduced motion — switch everything off ---------- */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.stagger > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero::before,
    .hero::after,
    .hero-cta .btn-primary::after,
    .migration-broker-badge,
    .migration-flow-line,
    .suite-diagram-arrow,
    .stat-num,
    .hero-tag,
    .suite-diagram-row.is-visible .suite-node {
        animation: none !important;
    }
    .card,
    .value-card,
    .suite-node {
        transition: none !important;
    }
}

/* Reference cards — brand-forward layout */
.ref-card-brand {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.4px;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}
.ref-card .ref-card-kicker {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-disabled);
    display: block;
    margin-bottom: var(--sp-3);
}
.ref-card {
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.ref-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--elevation-2);
    border-color: var(--accent);
}

/* ---------- Principle grid (products page hero) ---------- */
.principle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-7);
}
.principle-card {
    padding: var(--sp-6);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.principle-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--elevation-2);
    border-color: var(--accent);
}
.principle-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--accent-muted);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-4);
}
.principle-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.2px;
    margin: 0 0 var(--sp-3);
    color: var(--text-primary);
}
.principle-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 720px) {
    .principle-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   Stats strip — slim 4-up number band with count-up animation.
   ================================================================ */
.stats-strip-wrap { margin-top: calc(-1 * var(--sp-4)); }
.stats-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-5) var(--sp-6);
    background: var(--bg-solid);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--elevation-1);
    position: relative;
    overflow: hidden;
}
.stats-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
        rgba(17,112,207,0.04) 0%,
        rgba(196,154,108,0.06) 100%);
    pointer-events: none;
}
.stats-strip-item {
    text-align: center;
    position: relative;
    z-index: 1;
}
.stats-strip-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1.2px;
    color: var(--accent);
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}
.stats-strip-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.stats-strip-sep {
    width: 1px;
    height: 36px;
    background: var(--border-subtle);
}
@media (max-width: 780px) {
    .stats-strip {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-3);
    }
    .stats-strip-sep { display: none; }
    .stats-strip-num { font-size: 28px; }
}

/* ================================================================
   Audience-Fit Cards — "Finde dein Setup"
   ================================================================ */
.audience-fit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--sp-4);
}
.audience-fit-card {
    position: relative;
    padding: var(--sp-5);
    background: var(--bg-solid);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.audience-fit-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg,
        rgba(17,112,207,0.06),
        transparent 55%);
    opacity: 0;
    transition: opacity 300ms var(--ease);
    pointer-events: none;
}
.audience-fit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--elevation-2);
    border-color: rgba(17,112,207,0.35);
}
.audience-fit-card:hover::before { opacity: 1; }
.audience-fit-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(17,112,207,0.1), rgba(196,154,108,0.1));
    color: var(--accent);
    margin-bottom: var(--sp-3);
    transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1.15);
}
.audience-fit-card:hover .audience-fit-icon {
    transform: scale(1.08) rotate(-4deg);
}
.audience-fit-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.2px;
    margin: 0 0 var(--sp-2);
    color: var(--text-primary);
}
.audience-fit-q {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 var(--sp-3);
    padding-left: var(--sp-3);
    border-left: 2px solid var(--accent);
}
.audience-fit-a {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 var(--sp-4);
}
.audience-fit-mods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.audience-fit-mods span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: background 200ms var(--ease), color 200ms var(--ease);
}
.audience-fit-card:hover .audience-fit-mods span {
    background: rgba(17,112,207,0.1);
    color: var(--accent);
}

/* ================================================================
   FAQ Accordion — <details>/<summary> with animated chevron + body
   ================================================================ */
.home-faq {
    max-width: 820px;
    margin: 0 auto;
}
.home-faq-item {
    border-bottom: 1px solid var(--border-subtle);
}
.home-faq-item:first-child {
    border-top: 1px solid var(--border-subtle);
}
.home-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: var(--sp-4) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    transition: color 180ms var(--ease);
}
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-item summary:hover { color: var(--accent); }
.home-faq-q {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.15px;
    color: var(--text-primary);
    transition: color 180ms var(--ease);
}
.home-faq-item summary:hover .home-faq-q { color: var(--accent); }
.home-faq-chev {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--text-secondary);
    transition: transform 260ms var(--ease), color 180ms var(--ease);
}
.home-faq-chev svg { width: 100%; height: 100%; }
.home-faq-item[open] > summary .home-faq-chev {
    transform: rotate(180deg);
    color: var(--accent);
}
.home-faq-body {
    overflow: hidden;
    padding: 0 0 var(--sp-4);
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
    animation: home-faq-fade 280ms var(--ease);
}
.home-faq-body p { margin: 0; max-width: 68ch; }
@keyframes home-faq-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   Rollout Flow — 3-step horizontal timeline with connector
   ================================================================ */
.rollout-flow {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-4);
    position: relative;
    counter-reset: rollout;
}
.rollout-flow::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(17,112,207,0.15) 0%,
        rgba(17,112,207,0.5) 50%,
        rgba(29,128,95,0.5) 100%);
    z-index: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1400ms cubic-bezier(0.16, 1, 0.3, 1) 200ms;
}
.reveal.is-visible .rollout-flow::before,
.rollout-flow.is-visible::before {
    transform: scaleX(1);
}
.rollout-flow::after {
    content: "";
    position: absolute;
    top: 25px;
    left: 8%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(17, 112, 207, 0.6);
    transform: translateX(-50%);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}
.reveal.is-visible .rollout-flow::after,
.rollout-flow.is-visible::after {
    animation: rollout-flow-dot 5s ease-in-out infinite;
    animation-delay: 1600ms;
}
@keyframes rollout-flow-dot {
    0%   { left: 8%;  opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { left: 92%; opacity: 0; }
}
.rollout-step {
    position: relative;
    padding: var(--sp-5) var(--sp-4) var(--sp-4);
    background: var(--bg-solid);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--elevation-1);
    z-index: 1;
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.rollout-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--elevation-2);
}
.rollout-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-3);
}
.rollout-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 0 0 4px var(--bg-solid), 0 4px 12px rgba(17,112,207,0.25);
    animation: rollout-pulse 2.6s ease-in-out infinite;
}
.rollout-step:nth-child(2) .rollout-step-num { animation-delay: 0.9s; }
.rollout-step:nth-child(3) .rollout-step-num {
    animation-delay: 1.8s;
    background: #1d805f;
    box-shadow: 0 0 0 4px var(--bg-solid), 0 4px 12px rgba(29,128,95,0.25);
}
.rollout-step-dur {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-tertiary);
}
.rollout-step h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.3px;
    margin: 0 0 var(--sp-2);
    color: var(--text-primary);
}
.rollout-step p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 var(--sp-3);
}
.rollout-step-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rollout-step-points li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.5;
}
.rollout-step-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #1d805f;
    font-weight: 700;
}
@keyframes rollout-pulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--bg-solid), 0 4px 12px rgba(17,112,207,0.25); }
    50%      { box-shadow: 0 0 0 4px var(--bg-solid), 0 4px 20px rgba(17,112,207,0.45); }
}
@media (max-width: 780px) {
    .rollout-flow { grid-template-columns: 1fr; }
    .rollout-flow::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .rollout-step-num { animation: none; }
    .audience-fit-card:hover { transform: none; }
    .audience-fit-card:hover .audience-fit-icon { transform: none; }
    .rollout-step:hover { transform: none; }
    .rollout-flow::before { transform: scaleX(1); transition: none; }
    .rollout-flow::after { animation: none; opacity: 0; }
    .suite-diagram-arrow { animation: none; opacity: 0.7; }
}

/* ---------- Hero SVG visual — animated flow ---------- */
.hero-svg .hsvg-core rect {
    animation: hsvg-core-pulse 3.6s ease-in-out infinite;
    transform-origin: center;
}
@keyframes hsvg-core-pulse {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(17, 112, 207, 0.0)); }
    50%      { filter: drop-shadow(0 0 18px rgba(17, 112, 207, 0.55)); }
}
.hero-svg .hsvg-dot {
    filter: drop-shadow(0 0 4px rgba(17, 112, 207, 0.6));
}
@media (prefers-reduced-motion: reduce) {
    .hero-svg .hsvg-core rect { animation: none; }
}

/* ---------- EMP diagrams — core pulse + dot glow ---------- */
.emp-diagram-svg .emp-core rect {
    animation: emp-core-pulse 3.6s ease-in-out infinite;
}
@keyframes emp-core-pulse {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(17, 112, 207, 0.0)); }
    50%      { filter: drop-shadow(0 0 14px rgba(17, 112, 207, 0.55)); }
}
.emp-diagram-svg .emp-dot {
    filter: drop-shadow(0 0 4px rgba(17, 112, 207, 0.55));
}
@media (prefers-reduced-motion: reduce) {
    .emp-diagram-svg .emp-core rect { animation: none; }
}

/* ---------- Compliance map — DACH pulse ---------- */
.compliance-map-svg .map-dach {
    animation: compliance-dach-pulse 3.6s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}
@keyframes compliance-dach-pulse {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(17, 112, 207, 0.0)); }
    50%      { filter: drop-shadow(0 0 14px rgba(17, 112, 207, 0.55)); }
}
@media (prefers-reduced-motion: reduce) {
    .compliance-map-svg .map-dach { animation: none; }
}

/* ── Live broker telemetry — used on /<loc>/produkt/ocpp-broker/ and as
   a teaser on /<loc>/produkt/. Card-style frame around each screenshot
   so the screenshots blend into the surrounding Pipelet card system
   without needing per-image cropping. */
.broker-evidence-lead {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: var(--sp-2) 0 var(--sp-6);
    max-width: 720px;
}
.broker-evidence-grid {
    display: grid;
    /* auto-fit so 3 cards land in one row on desktop, 2 on mid, 1 on
       mobile without bespoke media queries. 300 px minimum keeps each
       card readable but compact. Container max-width prevents the row
       from blowing up to full container width on huge screens. */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--sp-4);
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}
.broker-evidence-grid--teaser {
    /* Teaser uses the same compact grid as the detail page now. */
}
.broker-evidence-card {
    margin: 0;
    padding: var(--sp-3);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--elevation-1);
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.broker-evidence-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--elevation-2);
}
.broker-evidence-card--wide {
    /* Hero shots span the row but cap their width so they don't stretch
       across the entire container on desktop — keeps the dashboard /
       session-detail prominent without dominating. */
    grid-column: 1 / -1;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.broker-evidence-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    background: var(--bg-subtle);
}
.broker-evidence-card figcaption {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.45;
    padding: 0 var(--sp-1) var(--sp-1);
}

@media (max-width: 720px) {
    .broker-evidence-card--wide {
        max-width: 100%;
    }
}

.section-link {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    align-self: center;
}
.section-link:hover {
    text-decoration: underline;
}
