/**
 * CPO Insights – Landingpage für Ladepunktbetreiber
 * Pfad: pages/cpo-insights/assets/cpo-insights.css
 * Eingebunden von: pages/cpo-insights/cpo-insights.php (page_asset_v)
 *
 * Nutzt die CSS-Variablen des Design-Systems (hsl(var(--…))), damit Hell- und
 * Dunkelmodus ohne eigene Overrides funktionieren. Kein CDN, keine Fremdschrift.
 * Dunkle Abschnitte (.cpo-section--dark, .cpo-stats) setzen die Variablen lokal um.
 */

.cpo-page {
    --cpo-bg: hsl(var(--background));
    --cpo-fg: hsl(var(--foreground));
    --cpo-card: hsl(var(--card));
    --cpo-border: hsl(var(--border));
    --cpo-muted: hsl(var(--muted));
    --cpo-muted-fg: hsl(var(--muted-foreground));
    --cpo-accent: hsl(var(--primary));
    --cpo-warn: #d97706;
    --cpo-bad: #dc2626;
    --cpo-radius: 14px;
    color: var(--cpo-fg);
    background: var(--cpo-bg);
    line-height: 1.55;
}

.cpo-page *,
.cpo-page *::before,
.cpo-page *::after {
    box-sizing: border-box;
}

.cpo-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.cpo-wrap--narrow { max-width: 860px; }
.cpo-wrap--form { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.cpo-center { text-align: center; }
.cpo-right { text-align: right; }
.cpo-small { font-size: 13px; color: var(--cpo-muted-fg); margin: 6px 0 0; }
.cpo-muted { color: var(--cpo-muted-fg); }
.cpo-strong { font-weight: 600; }
.cpo-mt { margin-top: 14px; }
.cpo-warn { color: var(--cpo-warn); font-style: normal; font-weight: 600; }

/* Abschnitte */
.cpo-section { padding: 84px 0; }
.cpo-section--alt { background: var(--cpo-muted); }
.cpo-title { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.cpo-eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--cpo-accent); margin-bottom: 10px; }
.cpo-title h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; margin: 0 0 12px; font-weight: 800; letter-spacing: -.01em; }
.cpo-title p { color: var(--cpo-muted-fg); margin: 0; font-size: 17px; }
.cpo-formintro .cpo-title { text-align: left; margin: 0 0 20px; }
.cpo-title--left { max-width: 680px; margin: 0 0 48px; text-align: left; }
.cpo-title--left h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -.025em; }
.cpo-title--left p { margin-top: 4px; font-size: 18px; max-width: 600px; }

/* Buttons */
.cpo-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: 15px;
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.cpo-btn:focus-visible { outline: 3px solid var(--cpo-accent); outline-offset: 2px; }
.cpo-btn--primary { background: var(--cpo-accent); color: hsl(var(--primary-foreground, 0 0% 100%)); }
.cpo-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(46, 184, 115, .3); }
.cpo-btn--secondary { background: var(--cpo-card); color: var(--cpo-fg); border-color: var(--cpo-border); }
.cpo-btn--secondary:hover { background: var(--cpo-muted); }
.cpo-btn--block { width: 100%; }
.cpo-btn--static { cursor: default; pointer-events: none; }
.cpo-btn[disabled] { opacity: .6; cursor: wait; }
.cpo-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cpo-cta--center { justify-content: center; }
.cpo-cta-row { margin: 40px 0 0; }

/* Karten, Raster */
.cpo-grid { display: grid; gap: 20px; }
.cpo-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cpo-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cpo-card { background: var(--cpo-card); border: 1px solid var(--cpo-border); border-radius: var(--cpo-radius); padding: 24px; }
.cpo-card h3 { font-size: 18px; margin: 0 0 8px; line-height: 1.3; font-weight: 700; }
.cpo-card p { margin: 0; color: var(--cpo-muted-fg); font-size: 15px; }
.cpo-step { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--cpo-accent); color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 12px; }
.cpo-checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.cpo-checks li { position: relative; padding-left: 24px; }
.cpo-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--cpo-accent); font-weight: 700; }

/* Ansprechpartner neben dem Formular */
.cpo-person { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--cpo-border); }
.cpo-person__photo { display: block; width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; object-fit: cover; background: var(--cpo-muted); box-shadow: 0 0 0 2px var(--cpo-border); }
.cpo-person__text { display: grid; gap: 2px; font-size: 14px; line-height: 1.4; min-width: 0; }
.cpo-person__name { font-size: 15px; font-weight: 700; }
.cpo-person__role { color: var(--cpo-muted-fg); }
.cpo-person__text a { color: var(--cpo-accent); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.cpo-person__text a:hover { text-decoration: underline; }

/* Hero */
.cpo-hero { padding: 72px 0 40px; background: radial-gradient(1000px 420px at 50% -80px, rgba(46, 184, 115, .14), transparent 70%); }
.cpo-hero__intro { max-width: 820px; margin: 0 auto 44px; text-align: center; }
.cpo-hero__badge { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--cpo-muted-fg); margin-bottom: 18px; }
.cpo-hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -.02em; font-weight: 800; }
.cpo-hero h1 em { font-style: normal; color: var(--cpo-accent); }
.cpo-hero__lead { font-size: 18px; color: var(--cpo-muted-fg); margin: 0 auto; max-width: 680px; }
.cpo-hero .cpo-cta { justify-content: center; }
.cpo-stack { display: grid; gap: 14px; align-content: start; }

/* Hero-Dashboard: ein Fenster, leicht geneigt, mit Leuchten dahinter */
.cpo-hero__stage { position: relative; max-width: 1080px; margin: 0 auto; padding: 8px 0 0; perspective: 1800px; }
.cpo-hero__glow {
    position: absolute; left: 8%; right: 8%; top: 18%; bottom: -6%; z-index: 0; pointer-events: none;
    background: radial-gradient(closest-side, rgba(46, 184, 115, .42), rgba(46, 184, 115, 0) 72%);
    filter: blur(34px); animation: cpo-glow 7s ease-in-out infinite;
}
@keyframes cpo-glow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.cpo-dash {
    position: relative; z-index: 1; overflow: hidden; background: var(--cpo-card);
    border: 1px solid var(--cpo-border); border-radius: 16px;
    box-shadow: 0 40px 80px -20px rgba(7, 30, 22, .38), 0 12px 28px rgba(0, 0, 0, .1);
    transform: rotateX(var(--rx, 5deg)) rotateY(var(--ry, 0deg));
    transform-origin: 50% 100%; transition: transform .25s ease-out, box-shadow .25s ease-out;
    will-change: transform;
}
.cpo-dash::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .22), transparent 60%);
    opacity: var(--go, 0); transition: opacity .3s ease;
}
.cpo-dash__layout { display: grid; grid-template-columns: 168px minmax(0, 1fr); }
.cpo-dash__nav { display: grid; align-content: start; gap: 4px; padding: 16px 12px; background: var(--cpo-muted); border-right: 1px solid var(--cpo-border); font-size: 13px; }
.cpo-dash__brand { font-weight: 800; font-size: 14px; color: var(--cpo-accent); padding: 0 8px 12px; letter-spacing: .01em; }
.cpo-dash__item { padding: 8px 10px; border-radius: 8px; color: var(--cpo-muted-fg); font-weight: 500; }
.cpo-dash__item.is-on { background: var(--cpo-card); color: var(--cpo-fg); font-weight: 700; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.cpo-dash__main { display: grid; gap: 14px; padding: 16px; min-width: 0; align-content: start; }
.cpo-dash__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cpo-dash__cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; align-items: start; }
.cpo-dash__toast { position: absolute; right: 18px; bottom: 18px; z-index: 2; max-width: 260px; box-shadow: 0 14px 32px rgba(0, 0, 0, .22); }
.cpo-sources { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0; margin: 28px 0 0; font-size: 14px; color: var(--cpo-muted-fg); }
.cpo-sources li::before { content: "•"; color: var(--cpo-accent); margin-right: 8px; }

/* Kennzahlen-Band (dunkel): Linie oben je Kennzahl, linksbündig */
.cpo-stats { background: linear-gradient(135deg, #0b1815, #10241f 60%, #0d1c19); color: #fff; padding: 72px 0 64px; }
.cpo-stats__intro { margin-bottom: 44px; }
.cpo-stats__intro h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; color: #fff; }
.cpo-stats__intro p { margin: 0; font-size: 17px; color: rgba(255, 255, 255, .66); }
.cpo-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 28px; }
.cpo-stat { text-align: left; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 22px; }
.cpo-stat__value { display: flex; align-items: baseline; gap: 6px; font-size: clamp(38px, 4.6vw, 58px); font-weight: 800; color: #fff; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cpo-stat__unit { font-size: .42em; font-weight: 700; letter-spacing: 0; color: var(--cpo-accent); }
.cpo-stat__label { font-size: 14px; color: rgba(255, 255, 255, .66); margin-top: 10px; }
.cpo-live-dot { align-self: center; flex: none; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--cpo-accent); box-shadow: 0 0 0 7px rgba(46, 184, 115, .22); animation: cpo-blink 1.8s ease-in-out infinite; }

/* Panels, Beispieldarstellungen */
.cpo-panel { background: var(--cpo-card); border: 1px solid var(--cpo-border); border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.cpo-panel--alert { border-color: rgba(220, 38, 38, .35); }
.cpo-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.cpo-panel__title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.cpo-panel__foot { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--cpo-muted-fg); margin-top: 8px; flex-wrap: wrap; }
.cpo-label { font-size: 12px; color: var(--cpo-muted-fg); margin-bottom: 6px; }
.cpo-note { font-size: 12px; color: var(--cpo-muted-fg); margin: 10px 0 0; }
.cpo-note--center { text-align: center; margin-top: 26px; }
.cpo-kpi__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.cpo-kpi__value { font-size: 26px; font-weight: 800; line-height: 1.1; }
.cpo-kpi__delta { font-size: 12px; margin-top: 2px; }
.cpo-kpi__delta--ok { color: var(--cpo-accent); }
.cpo-kpi__delta--bad, .cpo-kpi__delta--warn { color: var(--cpo-warn); }
.cpo-spark { stroke: var(--cpo-accent); flex: none; }
.cpo-spark--bad { stroke: var(--cpo-warn); }
.cpo-bar { display: block; height: 8px; border-radius: 6px; background: var(--cpo-muted); overflow: hidden; }
.cpo-bar > span { display: block; height: 100%; background: var(--cpo-accent); border-radius: 6px; }
.cpo-bar--warn > span { background: var(--cpo-muted-fg); opacity: .55; }
.cpo-barrow { display: grid; grid-template-columns: var(--cols, 110px 1fr 34px); gap: 10px; align-items: center; font-size: 13px; margin-top: 8px; }
.cpo-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--cpo-muted); color: var(--cpo-muted-fg); white-space: nowrap; }
.cpo-tag--accent, .cpo-tag--ok { background: rgba(46, 184, 115, .14); color: var(--cpo-accent); }
.cpo-tag--warn { background: rgba(217, 119, 6, .14); color: var(--cpo-warn); }
.cpo-tag--bad { background: rgba(220, 38, 38, .12); color: var(--cpo-bad); }
.cpo-tagrow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cpo-stars { color: #f5b301; letter-spacing: 1px; }
.cpo-stars__off { color: var(--cpo-border); }
.cpo-alert { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.cpo-blink { width: 9px; height: 9px; border-radius: 50%; background: var(--cpo-bad); animation: cpo-blink 1.4s ease-in-out infinite; }
@keyframes cpo-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* SVG-Grafiken */
.cpo-heat, .cpo-line { display: block; }
.cpo-svg-muted { fill: var(--cpo-muted-fg); }
.cpo-svg-accent { fill: var(--cpo-accent); }
.cpo-svg-bg { fill: var(--cpo-muted); }
.cpo-svg-line { stroke: var(--cpo-border); stroke-width: 1; }
.cpo-svg-road { stroke: var(--cpo-border); }
.cpo-svg-radius { fill: rgba(46, 184, 115, .08); stroke: var(--cpo-accent); stroke-dasharray: 4 3; stroke-width: 1.2; }
.cpo-svg-site { fill: var(--cpo-fg); }
.cpo-svg-gap { stroke: var(--cpo-accent); }
.cpo-svg-text { fill: var(--cpo-accent); }
.cpo-pin--own { fill: var(--cpo-accent); }
.cpo-pin--comp { fill: var(--cpo-muted-fg); }
.cpo-pin--warn { fill: var(--cpo-bad); }
.cpo-pulse { opacity: .35; transform-box: fill-box; transform-origin: center; animation: cpo-pulse 2.2s ease-out infinite; }
@keyframes cpo-pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.4); opacity: 0; } }
.cpo-line__own { stroke: var(--cpo-accent); }
.cpo-line__market { stroke: var(--cpo-muted-fg); stroke-dasharray: 4 3; }
.cpo-line__legend, .cpo-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--cpo-muted-fg); margin-top: 8px; }
.cpo-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.cpo-dot--own { background: var(--cpo-accent); }
.cpo-dot--muted { background: var(--cpo-muted-fg); }
.cpo-dot--ink { background: var(--cpo-fg); }
.cpo-dot--warn { background: var(--cpo-warn); }

/* Dunkler Abschnitt: lokale Variablen, Panels und Texte folgen automatisch */
.cpo-section--dark {
    --cpo-bg: #0b1815; --cpo-fg: #eef5f2; --cpo-card: #12231f; --cpo-border: rgba(255, 255, 255, .12);
    --cpo-muted: rgba(255, 255, 255, .06); --cpo-muted-fg: rgba(255, 255, 255, .64);
    background: radial-gradient(900px 420px at 85% 0%, rgba(46, 184, 115, .14), transparent 70%), linear-gradient(160deg, #0b1815, #10241f 60%, #0d1c19);
    color: var(--cpo-fg);
}
.cpo-section--dark .cpo-browser { box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }

/* Showcase: Text und Beispiel-Ansicht je Werkzeug. Standard = untereinander (mobil, ohne JS). */
.cpo-show { display: grid; gap: 28px; }
.cpo-show__inner h3 { font-size: 24px; line-height: 1.25; font-weight: 800; margin: 12px 0 10px; }
.cpo-show__inner p { color: var(--cpo-muted-fg); margin: 0 0 14px; }
.cpo-show__no { font-size: 13px; font-weight: 800; color: var(--cpo-accent); letter-spacing: .06em; margin-bottom: 10px; }
.cpo-show__no span { color: var(--cpo-muted-fg); font-weight: 600; letter-spacing: .02em; }
.cpo-show__view { min-width: 0; }

/* Große Bildschirme: links scrollt der Text, rechts bleibt die Ansicht stehen */
@media (min-width: 1000px) and (min-height: 700px) {
    .cpo-js .cpo-show { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); column-gap: 52px; row-gap: 0; grid-template-rows: repeat(var(--steps), minmax(66vh, auto)); }
    .cpo-js .cpo-show__text { grid-column: 1; grid-row: var(--row); display: flex; align-items: center; opacity: .3; transition: opacity .4s ease; }
    .cpo-js .cpo-show__text.is-active { opacity: 1; }
    .cpo-js .cpo-show__view {
        grid-column: 2; grid-row: 1 / -1; align-self: start; position: sticky; top: 110px;
        opacity: 0; visibility: hidden; transform: translateY(16px) scale(.985); pointer-events: none;
        transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
    }
    .cpo-js .cpo-show__view.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
}

/* Browser-Rahmen */
.cpo-browser { border: 1px solid var(--cpo-border); border-radius: 14px; overflow: hidden; background: var(--cpo-card); box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.cpo-browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--cpo-muted); border-bottom: 1px solid var(--cpo-border); font-size: 12px; color: var(--cpo-muted-fg); }
.cpo-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--cpo-border); }
.cpo-browser__bar span { margin-left: 10px; }
.cpo-browser__body { padding: 18px; }
.cpo-toolview { min-width: 0; }
.cpo-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }
.cpo-split--even { grid-template-columns: 1fr 1fr; }
.cpo-listrow { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--cpo-border); font-size: 14px; }
.cpo-listrow:last-child { border-bottom: 0; }
.cpo-listrow strong { display: block; }
.cpo-listrow span { color: var(--cpo-muted-fg); font-size: 13px; }
.cpo-thead, .cpo-trow { display: grid; grid-template-columns: var(--cols, 1fr 1fr 1fr); gap: 10px; align-items: center; font-size: 13px; padding: 8px 4px; }
.cpo-thead { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--cpo-muted-fg); border-bottom: 1px solid var(--cpo-border); }
.cpo-trow { border-bottom: 1px solid var(--cpo-border); }
.cpo-rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cpo-rating__value { font-size: 34px; font-weight: 800; }
.cpo-review { font-size: 13px; }
.cpo-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cpo-photos span { aspect-ratio: 1; border-radius: 8px; background: var(--cpo-muted); color: var(--cpo-muted-fg); font-size: 11px; display: flex; align-items: center; justify-content: center; }
.cpo-why { padding: 8px 0; border-bottom: 1px solid var(--cpo-border); font-size: 13px; }
.cpo-why small { display: block; color: var(--cpo-muted-fg); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.cpo-plan div { display: flex; justify-content: space-between; gap: 8px; }
.cpo-plan small { color: var(--cpo-muted-fg); }
.cpo-actionrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--cpo-muted-fg); flex-wrap: wrap; }

/* Vergleichstabelle */
.cpo-table { background: var(--cpo-card); border: 1px solid var(--cpo-border); border-radius: var(--cpo-radius); overflow: hidden; }
.cpo-table__row { display: grid; grid-template-columns: var(--cols, 1fr 120px 120px); gap: 10px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--cpo-border); font-size: 15px; }
.cpo-table__row:last-child { border-bottom: 0; }
.cpo-table__row--head { background: var(--cpo-muted); font-weight: 700; font-size: 13px; }
.cpo-yes { display: inline-block; color: var(--cpo-accent); font-size: 18px; }
.cpo-table__own { align-self: stretch; display: flex; align-items: center; justify-content: center; margin: -14px 0; background: rgba(46, 184, 115, .1); }
.cpo-table__row--head .cpo-table__own { background: var(--cpo-accent); color: #fff; }
.cpo-no { color: var(--cpo-muted-fg); }

/* Formular */
.cpo-form, .cpo-success { background: var(--cpo-card); border: 1px solid var(--cpo-border); border-radius: var(--cpo-radius); padding: 28px; display: grid; gap: 16px; }
.cpo-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cpo-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.cpo-field__label { cursor: pointer; }
.cpo-field[hidden], .cpo-form__error[hidden], .cpo-success[hidden], .cpo-form[hidden] { display: none; }
.cpo-field input, .cpo-field select, .cpo-field textarea {
    width: 100%; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--cpo-border);
    background: var(--cpo-bg); color: var(--cpo-fg); font: inherit; font-weight: 400;
}
.cpo-field input:focus, .cpo-field select:focus, .cpo-field textarea:focus { outline: 2px solid var(--cpo-accent); outline-offset: 1px; }
.cpo-field .is-invalid { border-color: var(--cpo-bad); }
.cpo-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--cpo-muted-fg); }
.cpo-consent input { margin-top: 3px; flex: none; }
.cpo-consent a { color: var(--cpo-accent); }
.cpo-form__error { margin: 0; padding: 10px 14px; border-radius: 9px; background: rgba(220, 38, 38, .1); color: var(--cpo-bad); font-size: 14px; }
.cpo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cpo-success h3 { margin: 0; font-size: 22px; font-weight: 700; }
.cpo-success p { margin: 0; color: var(--cpo-muted-fg); }

/* FAQ: flache Zeilen mit Linien, runder Plus-Knopf */
.cpo-faq { border-top: 1px solid var(--cpo-border); }
.cpo-faq__item { border-bottom: 1px solid var(--cpo-border); }
.cpo-faq__item h3 { margin: 0; font-size: 18px; }
.cpo-faq__q { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding: 26px 0; background: none; border: 0; color: var(--cpo-fg); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.cpo-faq__q:hover { color: var(--cpo-accent); }
.cpo-faq__q:focus-visible { outline: 3px solid var(--cpo-accent); outline-offset: 2px; border-radius: 6px; }
.cpo-faq__q i { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--cpo-border); border-radius: 50%; color: var(--cpo-muted-fg); transition: transform .25s ease, border-color .2s ease, color .2s ease; }
.cpo-faq__q i::before, .cpo-faq__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: currentColor; }
.cpo-faq__q i::after { transform: rotate(90deg); }
.cpo-faq__q:hover i { border-color: var(--cpo-accent); color: var(--cpo-accent); }
.cpo-faq__q[aria-expanded="true"] i { transform: rotate(45deg); border-color: var(--cpo-accent); color: var(--cpo-accent); }
.cpo-faq__a { max-width: 680px; padding: 0 54px 26px 0; color: var(--cpo-muted-fg); font-size: 16px; animation: cpo-faq-in .3s ease-out; }
.cpo-faq__a[hidden] { display: none; }
.cpo-faq__a p { margin: 0; }
@keyframes cpo-faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Vier Fragen: Raster nur aus Linien */
.cpo-qgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--cpo-border); }
.cpo-qgrid__item { padding: 36px 40px 40px 0; border-bottom: 1px solid var(--cpo-border); }
.cpo-qgrid__item:nth-child(even) { padding: 36px 0 40px 40px; border-left: 1px solid var(--cpo-border); }
.cpo-qgrid__item h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.cpo-qgrid__item p { margin: 0 0 18px; color: var(--cpo-muted-fg); font-size: 16px; }
.cpo-ulink { color: var(--cpo-accent); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.cpo-ulink:hover { text-decoration-thickness: 2.5px; }
.cpo-ulink:focus-visible { outline: 3px solid var(--cpo-accent); outline-offset: 3px; border-radius: 3px; }
.cpo-show__text { scroll-margin-top: 90px; }

/* Schritte: Nummer, gestrichelte Linie zum nächsten Schritt, kein Kasten */
.cpo-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.cpo-steps__head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.cpo-steps__no { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cpo-fg); color: var(--cpo-bg); font-weight: 800; font-size: 16px; }
.cpo-steps__line { flex: 1; border-top: 2px dashed var(--cpo-border); }
.cpo-steps__item:last-child .cpo-steps__line { visibility: hidden; }
.cpo-steps__item h3 { margin: 0 0 10px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.cpo-steps__item p { margin: 0; color: var(--cpo-muted-fg); font-size: 16px; max-width: 340px; }

/* Zielgruppen: Spalten mit Trennstrichen statt Kacheln */
.cpo-aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cpo-aud__item { padding: 0 28px; border-left: 1px solid var(--cpo-border); }
.cpo-aud__item:first-child { padding-left: 0; border-left: 0; }
.cpo-aud__item:last-child { padding-right: 0; }
.cpo-aud__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 10px; background: rgba(46, 184, 115, .14); color: var(--cpo-accent); }
.cpo-aud__item h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; font-weight: 700; }
.cpo-aud__item p { margin: 0; color: var(--cpo-muted-fg); font-size: 15px; }
.cpo-aud__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding: 18px 22px; border-radius: var(--cpo-radius); background: var(--cpo-muted); }
.cpo-aud__cta p { margin: 0; font-weight: 600; font-size: 15px; }

/* Abschluss */
.cpo-final { padding: 72px 0; }
.cpo-final__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cpo-final__text { max-width: 520px; }
.cpo-final h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.cpo-final p { margin: 0; color: var(--cpo-muted-fg); font-size: 16px; }
.cpo-final .cpo-cta { margin-top: 0; }
.cpo-final .cpo-btn--secondary { background: transparent; }

/* Einblenden beim Scrollen (nur mit JS) */
.cpo-js .cpo-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.cpo-js .cpo-reveal.is-visible { opacity: 1; transform: none; }

/* Betreiber-Suche */
.cpo-combo { position: relative; }
.cpo-combo__list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; margin: 0; padding: 4px; list-style: none; max-height: 260px; overflow-y: auto; background: var(--cpo-card); border: 1px solid var(--cpo-border); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .14); }
.cpo-combo__list[hidden] { display: none; }
.cpo-combo__list li { padding: 9px 11px; border-radius: 7px; font-size: 14px; font-weight: 400; cursor: pointer; }
.cpo-combo__list li.is-active, .cpo-combo__list li:hover { background: var(--cpo-muted); }
.cpo-combo__list li:last-child { color: var(--cpo-muted-fg); border-top: 1px solid var(--cpo-border); border-radius: 0 0 7px 7px; margin-top: 4px; }

/* Anfrage-Button, sobald das Hero aus dem Blick ist */
.cpo-sticky {
    position: fixed; left: 20px; bottom: 20px; z-index: 900;
    padding: 12px 20px; border-radius: 999px; background: #2eb873; color: #fff;
    font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.cpo-sticky.is-shown { opacity: 1; visibility: visible; transform: none; }
.cpo-sticky:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #2eb873; }

/* Daten-Animationen
   Hero: statische Klasse cpo-anim-now (reines CSS, kein Vorzustand, kein Flackern).
   Rest: JS setzt data-cpo-anim, ein IntersectionObserver ergänzt is-anim. */
.cpo-js [data-cpo-anim]:not(.is-anim) .cpo-bar > span { transform: scaleX(0); }
.cpo-js [data-cpo-anim]:not(.is-anim) .cpo-heat rect[style],
.cpo-js [data-cpo-anim]:not(.is-anim) .cpo-gapmap rect[style] { opacity: 0; }
.cpo-js [data-cpo-anim]:not(.is-anim) .cpo-spark polyline,
.cpo-js [data-cpo-anim]:not(.is-anim) .cpo-line__own { stroke-dasharray: 1; stroke-dashoffset: 1; }
.cpo-js [data-cpo-anim]:not(.is-anim) .cpo-table__row .cpo-yes { opacity: 0; transform: scale(.4); }

:is(.cpo-anim-now, [data-cpo-anim].is-anim) .cpo-bar > span { transform-origin: left center; animation: cpo-grow .9s cubic-bezier(.2, .7, .2, 1) backwards; }
:is(.cpo-anim-now, [data-cpo-anim].is-anim) .cpo-heat rect[style],
:is(.cpo-anim-now, [data-cpo-anim].is-anim) .cpo-gapmap rect[style] { animation: cpo-cell .5s ease-out var(--d, 0ms) backwards; }
:is(.cpo-anim-now, [data-cpo-anim].is-anim) .cpo-spark polyline,
:is(.cpo-anim-now, [data-cpo-anim].is-anim) .cpo-line__own { animation: cpo-draw 1.3s ease-out backwards; }
:is(.cpo-anim-now, [data-cpo-anim].is-anim) .cpo-table__row .cpo-yes { animation: cpo-pop .4s cubic-bezier(.2, 1.4, .4, 1) var(--d, 0ms) backwards; }
.cpo-alert-delay { animation: cpo-alert-in .6s ease-out 1.6s backwards; }

@keyframes cpo-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cpo-cell { from { opacity: 0; } to { opacity: var(--o, 1); } }
@keyframes cpo-draw {
    from { stroke-dasharray: 1; stroke-dashoffset: 1; }
    to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}
@keyframes cpo-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes cpo-alert-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Responsiv */
@media (max-width: 980px) {
    .cpo-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .cpo-aud { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .cpo-aud__item:nth-child(3) { padding-left: 0; border-left: 0; }
    .cpo-aud__item:nth-child(2) { padding-right: 0; }
    .cpo-grid--3 { grid-template-columns: 1fr; }
    .cpo-steps { grid-template-columns: 1fr; gap: 36px; }
    .cpo-steps__line { display: none; }
    .cpo-steps__head { margin-bottom: 14px; }
    .cpo-wrap--form { grid-template-columns: 1fr; gap: 28px; }
    .cpo-dash { transform: none; }
    .cpo-dash__layout { grid-template-columns: 1fr; }
    .cpo-dash__nav { display: none; }
    .cpo-dash__cols { grid-template-columns: 1fr; }
    .cpo-dash__toast { position: static; max-width: none; margin: 0 16px 16px; box-shadow: none; }
}

@media (max-width: 640px) {
    .cpo-section { padding: 56px 0; }
    .cpo-grid--4, .cpo-form__row, .cpo-split, .cpo-split--even { grid-template-columns: 1fr; }
    .cpo-qgrid { grid-template-columns: 1fr; }
    .cpo-aud { grid-template-columns: 1fr; row-gap: 0; }
    .cpo-aud__item, .cpo-aud__item:nth-child(3) { padding: 26px 0; border-left: 0; border-top: 1px solid var(--cpo-border); }
    .cpo-aud__item:first-child { border-top: 0; padding-top: 0; }
    .cpo-aud__cta { flex-direction: column; align-items: flex-start; }
    .cpo-qgrid__item, .cpo-qgrid__item:nth-child(even) { padding: 28px 0 30px; border-left: 0; }
    .cpo-title--left { margin-bottom: 32px; }
    .cpo-faq__q { padding: 20px 0; gap: 16px; }
    .cpo-faq__item h3 { font-size: 16px; }
    .cpo-faq__a { padding-right: 0; }
    .cpo-stats { padding: 52px 0 48px; }
    .cpo-hero { padding-top: 44px; }
    .cpo-table__row { --cols: 1fr 52px 104px !important; padding: 12px 14px; font-size: 14px; }
    .cpo-table__own { margin: -12px 0; }
    .cpo-table__own .cpo-tag { font-size: 10px; padding: 3px 6px; }
    .cpo-sticky { left: 12px; bottom: 12px; }
    .cpo-form, .cpo-success { padding: 20px; }
    .cpo-barrow { grid-template-columns: 90px 1fr 30px !important; }
    .cpo-dash__kpis { grid-template-columns: 1fr; }
    .cpo-hero__glow { filter: blur(24px); }
}

@media (prefers-reduced-motion: reduce) {
    .cpo-page *, .cpo-page *::before, .cpo-page *::after { animation: none !important; transition: none !important; }
    .cpo-js .cpo-reveal { opacity: 1; transform: none; }
    .cpo-dash { transform: none !important; }
    .cpo-js .cpo-show__text { opacity: 1 !important; }
}
