/* ── Sales Configurator — StudySmarter Brand ────────────────────────────── */

/* Fonts loaded via <link> in HTML for non-blocking rendering */

:root {
    --primary: #1300FF;
    --primary-light: #4D3DFF;
    --primary-dark: #0E00CC;
    --primary-glow: rgba(19, 0, 255, 0.12);
    --primary-ghost: rgba(19, 0, 255, 0.04);
    --accent: #C6FA02;
    --accent-muted: #B8E80A;
    --accent-glow: rgba(198, 250, 2, 0.25);
    --alert: #FF5C41;
    --alert-glow: rgba(255, 92, 65, 0.15);
    --text: #232323;
    --text-secondary: #555555;
    --bg: #F6F4F1;
    --bg-warm: #F2EFEB;
    --white: #FCFCFD;
    --white-translucent: rgba(252, 252, 253, 0.82);
    --positive: #188A35;
    --positive-bg: #E3F5E8;
    --negative: #D32F2F;
    --negative-bg: #FDE8E8;
    --grey300: #C4C4C4;
    --grey400: #A7A7A7;
    --grey500: #7B7B7B;
    --grey600: #4F4F4F;
    --stone100: #EDEAE6;
    --stone200: #E7E4E0;
    --stone300: #DDD9D4;
    --stone400: #D8D4CF;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.03);
    --shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 6px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.07), 0 16px 48px rgba(0,0,0,0.07);
    --shadow-primary: 0 4px 14px rgba(19, 0, 255, 0.2);
    --shadow-accent: 0 4px 14px rgba(198, 250, 2, 0.3);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter Tight', 'Calibri', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    transform: translateZ(0); /* Promote to own compositor layer — prevents repaint on scroll */
}

::selection { background: var(--primary); color: white; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--stone300); border-radius: 99px; }

/* ── Progress Stepper ───────────────────────────────────────────────────── */

.stepper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--white-translucent);
    backdrop-filter: blur(12px) saturate(1.4);
    border-bottom: 1px solid var(--stone200);
    padding: 0.5rem 1rem;
    transition: transform var(--transition);
    transform: translateZ(0); /* Own layer for fixed element */
}

.stepper-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0;
}

.stepper-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    margin-right: 1.5rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stepper-logo svg { width: 24px; height: 24px; }

.stepper-steps {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

.stepper-steps::-webkit-scrollbar { display: none; }

.step {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.35rem 0.6rem;
    border-radius: 99px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--grey400);
    flex-shrink: 0;
}

.step:hover { color: var(--text); background: var(--stone100); }

.step.active {
    background: var(--primary);
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-primary);
}

.step.completed {
    color: var(--positive);
}

.step-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all var(--transition);
}

.step.active .step-dot { border-color: white; background: rgba(255,255,255,0.2); color: white; }
.step.completed .step-dot { border-color: var(--positive); background: var(--positive); color: white; }

.stepper-company {
    margin-left: auto;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.stepper-company img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
    background: white;
    border: 1px solid var(--stone200);
}

/* ── Sections ───────────────────────────────────────────────────────────── */

.section {
    display: none;
    min-height: calc(100vh - 52px);
    padding-top: 68px;
    animation: sectionIn 0.4s ease-out;
    content-visibility: auto;
    contain-intrinsic-size: 0 100vh;
}

.section.active { display: block; content-visibility: visible; }

@keyframes sectionIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ── Hero Section ───────────────────────────────────────────────────────── */

/* ── Hero Section — Warm, confident, platform-forward ─────────────────── */

.hero.active {
    min-height: 100vh;
    display: block;
    background: var(--bg);
    position: relative;
    overflow: visible;
    padding-top: 80px !important;
    /* Override .section containment that caps height */
    content-visibility: visible;
    contain-intrinsic-size: auto;
}

.hero.active .hero-content {
    margin: 0 auto;
}

/* Personalized hero: no shapes, tight layout, full scroll */
.hero.personalized .hero-shapes { display: none !important; }
.hero.personalized {
    padding-top: 52px !important;
    min-height: auto !important;
    height: auto !important;
    contain-intrinsic-size: none !important;
    content-visibility: visible !important;
    contain: none !important;
}
.hero.personalized .hero-journey { display: none !important; }
.hero.personalized .hero-personalization { display: none !important; }
.hero.personalized .hero-trust { margin-bottom: 0; }
.hero.personalized .hero-cta { margin-top: 0.5rem; margin-bottom: 0; }
.hero.personalized .hero-cta .hero-cta-hint { display: none; }
.hero.personalized .hero-stats { margin-bottom: 0.5rem; }
.hero.personalized .hero-content { padding: 1rem 2rem; }

/* Subtle floating shapes instead of heavy gradients */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: shapeFloat 20s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(19, 0, 255, 0.04), transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(198, 250, 2, 0.06), transparent 70%);
    bottom: 5%;
    left: -3%;
    animation-delay: -7s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(19, 0, 255, 0.03), transparent 70%);
    top: 40%;
    left: 55%;
    animation-delay: -13s;
}

@keyframes shapeFloat {
    0%, 100% { opacity: 0.4; transform: translate(0, 0) scale(1); }
    25% { opacity: 0.7; transform: translate(15px, -20px) scale(1.05); }
    50% { opacity: 0.5; transform: translate(-10px, 10px) scale(0.95); }
    75% { opacity: 0.8; transform: translate(20px, 15px) scale(1.08); }
}

.hero-content {
    text-align: center;
    color: var(--text);
    z-index: 1;
    padding: 2rem;
    max-width: 1100px;
    width: 100%;
}

/* Intel + USPs can go wider */
.intel-dashboard { text-align: left; }
.platform-usps { text-align: left; padding-bottom: 2rem; }

/* Eyebrow / brand identity */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out 0.1s forwards;
}

.hero-logo-icon {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

/* Headline */
.hero-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--text);
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out 0.25s forwards;
}

/* Subtitle with inline KPI */
.hero-subtitle {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out 0.4s forwards;
}

.hero-kpi-inline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.125rem;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats strip */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--stone200);
    border-radius: var(--radius);
    padding: 1.25rem 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out 0.55s forwards;
}

.hero-stat {
    text-align: center;
    padding: 0 1.75rem;
}

.hero-stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-stat-label {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.6875rem;
    color: var(--grey500);
    margin-top: 0.125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--stone200);
    flex-shrink: 0;
}

.hero-data-provenance {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--grey600, #4F4F4F);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: help;
}

.hero-data-provenance svg { opacity: 0.6; }

/* Cross-Media Net Reach card */
.net-reach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}
.net-reach-stat {
    padding: 0.75rem;
    background: var(--stone, #F6F4F1);
    border-radius: 10px;
    border: 1px solid var(--stone200, #E7E4E0);
}
.nr-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--grey500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.3rem;
}
.nr-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary, #1300FF);
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.nr-sub {
    font-size: 0.6875rem;
    color: var(--grey500);
    margin-top: 0.2rem;
}
.net-reach-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.nr-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    border-radius: 99px;
    background: var(--primary-glow, rgba(19, 0, 255, 0.08));
    color: var(--primary, #1300FF);
    font-size: 0.6875rem;
    font-weight: 600;
}
.nr-chip .nr-chip-val { font-variant-numeric: tabular-nums; opacity: 0.8; font-weight: 500; }

@media (max-width: 768px) {
    .net-reach-grid { grid-template-columns: repeat(2, 1fr); }
}

/* CSV export button */
.btn-csv-export {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 7px;
    border: 1px solid var(--stone200, #E7E4E0);
    background: var(--white, #FCFCFD);
    color: var(--charcoal, #232323);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease;
}
.btn-csv-export:hover {
    background: var(--stone, #F6F4F1);
    border-color: var(--primary, #1300FF);
    color: var(--primary, #1300FF);
}
.btn-csv-export svg { opacity: 0.7; }

/* Flight planner */
.flight-planner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}
.flight-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
    background: var(--stone, #F6F4F1);
    border-radius: 8px;
    border: 1px solid var(--stone200, #E7E4E0);
    font-size: 0.75rem;
}
.flight-row strong { color: var(--charcoal); font-weight: 600; }
.flight-field { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--grey500); font-size: 0.6875rem; font-weight: 500; }
.flight-field select {
    border: 1px solid var(--stone400, #D8D4CF);
    background: var(--white, #FCFCFD);
    border-radius: 5px;
    padding: 0.15rem 0.35rem;
    font-size: 0.75rem;
    color: var(--charcoal);
}
.flight-pattern-hint {
    font-size: 0.65rem;
    color: var(--grey500);
    margin-left: 0.25rem;
}
@media (max-width: 768px) {
    .flight-row { grid-template-columns: 1fr 1fr; row-gap: 0.4rem; }
    .flight-row strong { grid-column: 1 / -1; }
}

/* Scenario A/B comparison */
.scenario-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.scenario-title { display: flex; flex-direction: column; gap: 0.15rem; }
.scenario-actions { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.scenario-btn {
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    border: 1px solid var(--stone200);
    background: var(--white);
    color: var(--charcoal);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 120ms ease;
}
.scenario-btn:hover {
    border-color: var(--primary, #1300FF);
    color: var(--primary, #1300FF);
}
.scenario-btn-clear {
    color: var(--grey500);
}
.scenario-btn.has-snapshot {
    background: var(--primary-glow, rgba(19,0,255,0.08));
    color: var(--primary, #1300FF);
    border-color: var(--primary, #1300FF);
}
.scenario-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}
.scenario-table th {
    text-align: left;
    padding: 0.5rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--grey500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--stone200);
}
.scenario-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--stone200);
    font-variant-numeric: tabular-nums;
}
.scenario-table td.metric-label { color: var(--grey600); }
.scenario-table td.val-a { color: var(--primary, #1300FF); font-weight: 600; }
.scenario-table td.val-b { color: var(--hotrod, #FF5C41); font-weight: 600; }
.scenario-table td.delta { font-size: 0.75rem; }
.scenario-table td.delta.positive { color: var(--positive, #188A35); }
.scenario-table td.delta.negative { color: var(--hotrod, #FF5C41); }
.scenario-empty { color: var(--grey500); font-size: 0.75rem; padding: 0.5rem 0; }

/* Company personalization */
.hero-personalization {
    margin-bottom: 2rem;
    opacity: 0;
    animation: heroFadeUp 0.5s ease-out forwards;
}

.hero-for-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--grey500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.hero-company-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* CTA */
.hero-cta {
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out 0.7s forwards;
    margin-bottom: 2.5rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.875rem 2.25rem;
    border: none;
    border-radius: var(--radius);
    background: var(--primary);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(19, 0, 255, 0.2);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(19, 0, 255, 0.28);
    background: var(--primary-light);
}

.hero-cta-hint {
    font-size: 0.75rem;
    color: var(--grey400);
    margin-top: 0.75rem;
    font-weight: 500;
}

/* Journey preview (step dots) */
.hero-journey {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out 0.85s forwards;
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.journey-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--stone400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--grey500);
    transition: all 0.2s;
}

.journey-label {
    font-size: 0.6875rem;
    color: var(--grey400);
    font-weight: 500;
}

.journey-connector {
    width: 40px;
    height: 1px;
    background: var(--stone400);
    margin: 0 0.25rem;
    margin-bottom: 1.25rem; /* align with the circle center */
}

/* Trust bar */
.hero-trust {
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out 1s forwards;
}

.hero-trust-label {
    font-size: 0.6875rem;
    color: var(--grey400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.75rem;
}

.hero-trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.hero-trust-logos span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--grey400);
    letter-spacing: 0.02em;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.hero-trust-logos span:hover { opacity: 1; }

/* ── Cards ──────────────────────────────────────────────────────────────── */

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: all var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--stone200);
}

.card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title::before {
    content: '';
    width: 3px;
    height: 1em;
    background: var(--primary);
    border-radius: 2px;
}

/* ── Section Titles ─────────────────────────────────────────────────────── */

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* ── Form Elements ──────────────────────────────────────────────────────── */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
}

.form-input, .form-select {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.875rem;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid var(--stone300);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-xs);
    outline: none;
}

.form-input:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-input::placeholder { color: var(--grey400); }

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234F4F4F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
    cursor: pointer;
}

/* ── Checkboxes (target group pills) ────────────────────────────────────── */

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border: 1.5px solid var(--stone300);
    border-radius: 99px;
    background: var(--white);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--grey600);
    cursor: pointer;
    transition: all var(--transition);
    user-select: none;
}

.pill:hover { border-color: var(--primary-light); color: var(--primary); }

.pill.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.pill input[type="checkbox"] { display: none; }

/* ── Slider ─────────────────────────────────────────────────────────────── */

.range-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 99px;
    background: var(--stone200);
    outline: none;
    transition: background var(--transition-fast);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }

.range-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    white-space: nowrap;
    min-width: 60px;
    text-align: right;
}

/* ── Product Cards ──────────────────────────────────────────────────────── */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.product-card:hover { border-color: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.product-card.selected {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.product-card.selected::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
}

.product-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.product-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.product-benchmark {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--positive);
    background: var(--positive-bg);
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
}

.product-config {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--stone200);
    display: none;
}

.product-card.selected .product-config { display: block; }

/* ── Package Comparison ─────────────────────────────────────────────────── */

.packages-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.package-col {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.package-col:hover { border-color: var(--primary-light); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.package-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    white-space: nowrap;
}

.badge-popular {
    background: var(--primary);
    color: white;
}

.badge-recommended {
    background: var(--accent);
    color: var(--text);
}

.package-col.recommended {
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
}

.package-col.recommended::before {
    content: 'Empfohlen';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--text);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.75rem;
    border-radius: 99px;
}

.package-col.selected {
    border-color: var(--primary);
    background: var(--primary-ghost);
}

.package-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.package-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.package-price-sub {
    font-size: 0.6875rem;
    color: var(--grey500);
    font-weight: 500;
}

.package-features {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.package-feature { display: flex; align-items: center; gap: 0.375rem; justify-content: center; }
.package-feature .check { color: var(--positive); font-weight: 700; }
.package-feature .cross { color: var(--grey300); }

/* ── Funnel ─────────────────────────────────────────────────────────────── */

.funnel { display: flex; flex-direction: column; gap: 0.75rem; }

.funnel-step { display: flex; flex-direction: column; gap: 0.25rem; }

.funnel-bar {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 44px;
}

.funnel-bar.f-impressions { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.funnel-bar.f-views { background: linear-gradient(90deg, #4D3DFF, #7B6FFF); }
.funnel-bar.f-applies { background: linear-gradient(90deg, var(--accent-muted), var(--accent)); }
.funnel-bar.f-completed { background: linear-gradient(90deg, var(--positive), #26B847); }
.funnel-bar.f-qualified { background: linear-gradient(90deg, #FFB800, #FFC933); }

.funnel-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.funnel-bar.f-applies .funnel-value,
.funnel-bar.f-qualified .funnel-value { color: var(--text); }

.funnel-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.25rem;
}

.funnel-label { font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary); }

.funnel-rate {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-glow);
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
}

/* ── EB Performance Panels (Impressions + Clicks) ──────────────────────── */

.perf-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.perf-panel {
    background: var(--white);
    border: 1px solid var(--stone200);
    border-radius: var(--radius);
    padding: 1rem;
}

.perf-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--stone200);
}

.perf-panel-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--grey500);
}

.perf-panel-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.perf-channel-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Stacked bar */
.perf-stacked-bar {
    display: flex;
    height: 32px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--stone200);
}

.perf-stacked-segment {
    height: 100%;
    transition: width var(--transition);
    position: relative;
    min-width: 2px;
}

.perf-stacked-segment.seg-primary { background: var(--primary); }
.perf-stacked-segment.seg-accent { background: var(--accent-muted); }
.perf-stacked-segment.seg-positive { background: var(--positive); }
.perf-stacked-segment.seg-hotrod { background: var(--alert); }

.perf-stacked-segment-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    white-space: nowrap;
    overflow: hidden;
}

/* Legend items below bar */
.perf-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
}

.perf-legend-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
}

.perf-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}

.perf-legend-dot.dot-primary { background: var(--primary); }
.perf-legend-dot.dot-accent { background: var(--accent-muted); }
.perf-legend-dot.dot-positive { background: var(--positive); }
.perf-legend-dot.dot-hotrod { background: var(--alert); }

.perf-legend-name { color: var(--text-secondary); }
.perf-legend-value { font-weight: 600; color: var(--text); }
.perf-legend-rate { font-size: 0.6875rem; color: var(--grey500); }

/* ── ROI KPIs ───────────────────────────────────────────────────────────── */

.roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.roi-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.roi-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.roi-value.positive { color: var(--positive); }
.roi-value.alert { color: var(--alert); }

.roi-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    font-weight: 500;
}

.roi-compare {
    font-size: 0.7rem;
    color: var(--grey500);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--stone200);
}

/* ── Anchor Pricing Flash ───────────────────────────────────────────────── */

.anchor-flash {
    background: var(--alert-glow);
    border: 1px solid var(--alert);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    animation: anchorPulse 2s ease-in-out;
}

.anchor-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--alert);
    text-decoration: line-through;
}

.anchor-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

@keyframes anchorPulse {
    0% { opacity: 0; transform: scale(0.95); }
    20% { opacity: 1; transform: scale(1); }
    80% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* ── Competitor Table ───────────────────────────────────────────────────── */

.competitor-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8125rem;
}

.competitor-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.6875rem;
    color: var(--grey500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2px solid var(--stone200);
}

.competitor-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bg-warm);
}

.competitor-table tr:last-child td { border-bottom: none; }

.competitor-table tr.highlight {
    background: var(--primary-ghost);
    font-weight: 600;
}

.competitor-table tr.highlight td:first-child { color: var(--primary); }

/* ── Reach Donut container ──────────────────────────────────────────────── */

.donut-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.donut-chart { width: 200px; height: 200px; }
.donut-legend { flex: 1; }

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-label { font-size: 0.8125rem; color: var(--text-secondary); flex: 1; }

.legend-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text);
}

/* ── Seasonality Chart ──────────────────────────────────────────────────── */

.season-chart-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.season-now-marker {
    position: absolute;
    background: var(--alert);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
}

/* ── Campaign Mockups ───────────────────────────────────────────────────── */

/* ── Seasonal Media Plan Table ──────────────────────────────────────────── */

.media-plan-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.media-plan-table th,
.media-plan-table td {
    padding: 0.5rem 0.625rem;
    text-align: right;
    white-space: nowrap;
}

.media-plan-table th {
    background: var(--bg);
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--grey500);
    border-bottom: 2px solid var(--stone300);
}

.media-plan-table th:first-child,
.media-plan-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text);
}

.media-plan-table tbody tr {
    border-bottom: 1px solid var(--stone200);
}

.media-plan-table tbody tr:hover {
    background: var(--primary-ghost);
}

.media-plan-table tfoot td {
    font-weight: 700;
    border-top: 2px solid var(--text);
    color: var(--primary);
    padding-top: 0.625rem;
}

.media-plan-table .month-highlight {
    background: rgba(19, 0, 255, 0.04);
}

.media-plan-table .month-peak {
    color: var(--primary);
    font-weight: 700;
}

.mockups-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.mockup-frame {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--stone200);
}

.mockup-header {
    background: var(--stone100);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    border-bottom: 1px solid var(--stone200);
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--stone300);
}

.mockup-dot.red { background: #FF5F57; }
.mockup-dot.yellow { background: #FFBD2E; }
.mockup-dot.green { background: #28C840; }

.mockup-body {
    padding: 1.25rem;
    min-height: 300px;
}

.phone-frame {
    width: 280px;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: 32px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    min-height: 480px;
}

.phone-notch {
    width: 120px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 14px 14px;
    margin: 0 auto;
}

/* WhatsApp mockup */
.wa-mockup { background: #E5DDD5; padding: 1rem; min-height: 400px; }
.wa-bubble {
    max-width: 80%;
    background: #DCF8C6;
    border-radius: 8px 8px 0 8px;
    padding: 0.625rem 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    position: relative;
    margin-left: auto;
}
.wa-bubble.received {
    background: white;
    border-radius: 8px 8px 8px 0;
    margin-left: 0;
    margin-right: auto;
}

/* Email mockup */
.email-mockup { background: white; }
.email-header-bar {
    background: var(--primary);
    padding: 1.5rem;
    text-align: center;
}
.email-header-bar h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: white;
    font-size: 1.125rem;
}
.email-body-content { padding: 1.5rem; font-size: 0.8125rem; line-height: 1.6; color: var(--text-secondary); }
.email-cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    margin-top: 1rem;
}

/* Job posting mockup */
.job-mockup { background: var(--bg); padding: 1.25rem; }
.job-card-mock {
    background: white;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}
.job-card-mock h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.job-meta { font-size: 0.75rem; color: var(--grey500); display: flex; gap: 1rem; margin-bottom: 0.75rem; }
.job-tags { display: flex; gap: 0.375rem; flex-wrap: wrap; }
.job-tag {
    font-size: 0.6875rem;
    padding: 0.2rem 0.5rem;
    border-radius: 99px;
    background: var(--primary-ghost);
    color: var(--primary);
    font-weight: 500;
}

/* Display ad mockup */
.display-ad-mock {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    color: white;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.display-ad-mock h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.display-ad-mock .ad-cta {
    background: var(--accent);
    color: var(--text);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
}

/* ── Sticky Price Footer ────────────────────────────────────────────────── */

.price-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    background: var(--white-translucent);
    backdrop-filter: blur(12px) saturate(1.4);
    border-top: 1px solid var(--stone200);
    padding: 0.75rem 1.5rem;
    transform: translateY(100%);
    transition: transform var(--transition);
    will-change: transform;
}

.price-footer.visible { transform: translateY(0); }

.price-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.price-items {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    overflow-x: auto;
}

.price-item-count {
    font-weight: 600;
    color: var(--primary);
}

.price-total {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.price-amount {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 0.75rem;
    color: var(--grey500);
}

.btn-primary {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: white;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(19, 0, 255, 0.3); }

.btn-secondary {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border: 1.5px solid var(--stone300);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* ── Social Proof Ticker ────────────────────────────────────────────────── */

.social-proof {
    background: var(--stone100);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
    margin-top: 2rem;
}

.social-proof-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--grey500);
    white-space: nowrap;
    flex-shrink: 0;
}

.social-proof-logos {
    display: flex;
    gap: 1.5rem;
    animation: tickerScroll 15s linear infinite;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.social-proof-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

/* ── Talent Radar Animation ─────────────────────────────────────────────── */

.talent-radar {
    width: 200px;
    height: 200px;
    position: relative;
    margin: 0 auto;
}

.radar-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: radarPulse 2s ease-out infinite;
    opacity: 0;
}

.radar-pulse:nth-child(2) { animation-delay: 0.5s; }
.radar-pulse:nth-child(3) { animation-delay: 1s; }

@keyframes radarPulse {
    0% { transform: scale(0.3); opacity: 0.8; border-width: 3px; }
    100% { transform: scale(1); opacity: 0; border-width: 1px; }
}

/* Pause animations when section is not visible (helps headless rendering) */
.section:not(.active) * { animation-play-state: paused !important; }

.radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(19, 0, 255, 0.5);
}

.radar-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: dotAppear 0.3s ease-out forwards;
}

@keyframes dotAppear {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

/* ── Summary Section ────────────────────────────────────────────────────── */

.summary-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.summary-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.summary-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.6875rem;
    color: var(--grey500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2px solid var(--stone200);
}

.summary-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bg-warm);
    font-size: 0.875rem;
}

.summary-table .total-row {
    font-weight: 700;
    font-size: 1rem;
    background: var(--primary-ghost);
}

.summary-table .total-row td { border-bottom: none; }

.summary-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.discount-control {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.discount-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discount-input input {
    width: 80px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    border: 1.5px solid var(--stone300);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    color: var(--primary);
}

.discount-input input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }

.export-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-export-main {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    background: var(--primary);
    color: white;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-export-main:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(19, 0, 255, 0.3); }

.btn-share {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 1.5px solid var(--stone300);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-share:hover { border-color: var(--primary); color: var(--primary); }

/* ── Loading spinner ────────────────────────────────────────────────────── */

@keyframes spin { to { transform: rotate(360deg); } }

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--stone300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

/* ── Animated counter ───────────────────────────────────────────────────── */

.counter { font-variant-numeric: tabular-nums; }

/* ── Two-column layout ──────────────────────────────────────────────────── */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ── Nav buttons ────────────────────────────────────────────────────────── */

.section-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--stone200);
}

/* When the sticky price footer is visible it already carries the "Weiter"
   CTA — hide the in-section Weiter button to avoid the duplicate shown in
   the screenshot. Zurück stays so users can still navigate back inline. */
body.has-price-footer .section.active .section-nav .btn-primary {
    display: none;
}
/* Reserve space at the bottom of the page so the in-section "Zurück" button
   isn't hidden beneath the fixed price footer (~80px tall). Without this,
   users can't navigate back from sections that have no "Zurück" in the
   sticky footer (e.g. Case Study). */
body.has-price-footer {
    padding-bottom: 96px;
}
/* The price footer also needs a "Zurück" so the user has parity with the
   "Weiter" call to action it carries. Added inline via JS where present. */

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .hero-headline { font-size: 2.25rem; }
    .hero-stats { flex-wrap: wrap; gap: 0.5rem; padding: 1rem; }
    .hero-stat { padding: 0.5rem 1rem; }
    .hero-stat-divider { display: none; }
    .hero-stat-value { font-size: 1.25rem; }
    .hero-trust-logos { flex-wrap: wrap; gap: 1rem; }
    .hero-journey { gap: 0; }
    .journey-connector { width: 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .packages-row { grid-template-columns: repeat(2, 1fr); }
    .mockups-grid { grid-template-columns: 1fr; }
    .summary-grid { grid-template-columns: 1fr; }
    .section-inner { padding: 1.5rem 1rem; }
    .donut-container { flex-direction: column; align-items: center; }
    .price-footer-inner { flex-direction: column; text-align: center; }
    .price-items { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-headline { font-size: 1.75rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); display: grid; }
    .hero-stat-divider { display: none; }
    .packages-row { grid-template-columns: 1fr; }
    .stepper-steps { display: none; }
    .hero-trust-logos { gap: 0.75rem; }
    .hero-trust-logos span { font-size: 0.75rem; }
}

/* ── Path Selector ────────────────────────────────────────────────────── */

.path-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.path-card {
    background: var(--white);
    border: 2px solid var(--stone200);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.path-card:hover { border-color: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.path-card.selected { border-color: var(--primary); background: var(--primary-ghost); box-shadow: var(--shadow-primary); }
.path-card.selected::after { content: '✓'; position: absolute; top: 0.75rem; right: 0.75rem; width: 24px; height: 24px; background: var(--primary); color: white; border-radius: 50%; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }

.path-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.path-label { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.25rem; }
.path-sublabel { font-size: 0.8125rem; color: var(--text-secondary); }

/* ── Recommendation Badge ────────────────────────────────────────────── */

.recommendation-badge {
    background: linear-gradient(90deg, var(--primary-ghost), rgba(198, 250, 2, 0.08));
    border: 1px solid var(--primary-light);
    border-radius: var(--radius);
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: badgeSlideIn 0.5s ease-out;
}

@keyframes badgeSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.rec-icon { font-size: 1.25rem; }

/* ── Addon Toggles ───────────────────────────────────────────────────── */

.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.addon-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--stone200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
    font-weight: 600;
}

.addon-toggle:hover { border-color: var(--primary-light); }
.addon-toggle.selected { border-color: var(--primary); background: var(--primary-ghost); }
.addon-toggle input { display: none; }
.addon-detail { font-weight: 400; font-size: 0.75rem; color: var(--grey500); margin-left: auto; }

.addon-config {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.channel-benchmarks {
    margin-top: 0.5rem;
    padding: 0.5rem 0.625rem;
    background: var(--white);
    border: 1px solid var(--stone200);
    border-radius: var(--radius-sm);
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    line-height: 1.6;
}

.channel-benchmarks:empty { display: none; }

.channel-benchmarks .bm-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-secondary);
}

.channel-benchmarks .bm-value {
    font-weight: 600;
    color: var(--text);
}

.channel-benchmarks .bm-label {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--grey500);
    display: block;
    margin-bottom: 0.125rem;
}

/* ── Confidence Meter ────────────────────────────────────────────────── */

.confidence-meter { text-align: center; }
.confidence-label { font-size: 0.75rem; font-weight: 600; color: var(--grey500); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }

.confidence-bar-track {
    height: 8px;
    background: var(--stone200);
    border-radius: 99px;
    overflow: hidden;
}

.confidence-bar-fill {
    height: 100%;
    border-radius: 99px;
    background: var(--primary);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
}

.confidence-factors {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.conf-factor {
    font-size: 0.6875rem;
    padding: 0.2rem 0.5rem;
    border-radius: 99px;
    background: var(--stone100);
    color: var(--grey500);
}

.conf-factor.active { background: var(--positive-bg); color: var(--positive); }

/* ── Qualified Applicant Definition ──────────────────────────────────── */

.qualified-def {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--positive);
}

.qualified-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.qualified-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.qualified-list li { padding: 0.125rem 0; }
.qualified-list strong { color: var(--text); }

.qualified-benchmark {
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--positive);
    padding-top: 0.5rem;
    border-top: 1px solid var(--stone200);
}

/* ── Savings Counter ─────────────────────────────────────────────────── */

.savings-card { background: linear-gradient(135deg, var(--positive-bg), var(--white)); border: 1px solid rgba(24, 138, 53, 0.15); }
.savings-counter { margin: 0.5rem 0; }
.savings-value { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 800; color: var(--positive); }
.savings-label { font-size: 0.875rem; color: var(--text-secondary); }

/* ── Toast Notifications ─────────────────────────────────────────────── */

.toast-container {
    position: fixed;
    bottom: 80px;
    right: 1.5rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.toast {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--primary);
    font-size: 0.8125rem;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease-out;
    max-width: 300px;
}

.toast.show { opacity: 1; transform: translateX(0); }
.toast-icon { margin-right: 0.25rem; }

/* ── Impression Stats ────────────────────────────────────────────────── */

.impression-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.imp-stat {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary);
}

.imp-stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.imp-stat-label { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.25rem; }

/* ── WhatsApp Job Card (inside bubble) ───────────────────────────────── */

.wa-job-card {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 0.625rem;
    margin: 0.5rem 0;
    border-left: 3px solid var(--primary);
}

.wa-job-title { font-weight: 700; font-size: 0.8125rem; color: var(--text); }
.wa-job-meta { font-size: 0.6875rem; color: var(--grey500); margin-top: 0.125rem; }
.wa-job-company { font-size: 0.75rem; color: var(--primary); font-weight: 600; margin-top: 0.25rem; }

.wa-benefits {
    margin: 0.5rem 0;
    font-size: 0.75rem;
    line-height: 1.6;
}

.wa-bubble.sent {
    background: #DCF8C6;
    border-radius: 8px 8px 0 8px;
    margin-left: auto;
    margin-right: 0;
}

/* ── City Tags ───────────────────────────────────────────────────────── */

.city-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    background: var(--primary);
    color: white;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: dotAppear 0.3s ease-out;
}

.city-tag .city-tag-remove {
    cursor: pointer;
    opacity: 0.7;
    font-size: 0.875rem;
    line-height: 1;
    padding: 0 0.125rem;
    margin-left: 0.125rem;
}

.city-tag .city-tag-remove:hover { opacity: 1; }

.city-tag.loading {
    background: var(--stone300);
    color: var(--grey600);
}

/* ── Budget Indicator ───────────────────────────────────────────────── */

.budget-indicator {
    background: var(--white);
    border: 1px solid var(--stone200);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.budget-bar {
    height: 8px;
    background: var(--stone200);
    border-radius: 4px;
    overflow: hidden;
}

.budget-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--primary);
    transition: width 0.4s ease, background-color 0.3s ease;
    width: 0%;
}

.budget-bar-fill.over-budget {
    background: var(--hotrod);
}

.budget-bar-fill.near-budget {
    background: #E89B0A;
}

.budget-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.375rem;
    font-size: 0.75rem;
    color: var(--grey500);
    font-weight: 600;
}

.budget-labels span:first-child {
    color: var(--text);
}

.package-col.over-budget {
    opacity: 0.35;
    pointer-events: none;
    position: relative;
}

.package-col.over-budget::after {
    content: 'Über Budget';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hotrod);
    background: rgba(255, 92, 65, 0.1);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

.path-card.over-budget {
    opacity: 0.35;
    pointer-events: none;
    position: relative;
}

.path-card.over-budget::after {
    content: 'Über Budget';
    position: absolute;
    bottom: 0.375rem;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--hotrod);
}

/* ── Germany Map ─────────────────────────────────────────────────────── */

.germany-map-container {
    position: relative;
    min-height: 280px;
}

.germany-map {
    width: 100%;
    max-height: 280px;
}

.germany-outline {
    fill: var(--stone100);
    stroke: var(--stone300);
    stroke-width: 1.5;
    transition: fill var(--transition);
}

.state-border {
    fill: none;
    stroke: var(--stone200);
    stroke-width: 0.8;
    stroke-dasharray: 4 3;
}

.map-radius-circle {
    fill: rgba(19, 0, 255, 0.08);
    stroke: var(--primary);
    stroke-width: 1.5;
    stroke-dasharray: 6 4;
    animation: mapPulse 3s ease-in-out infinite;
}

@keyframes mapPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.map-city-dot {
    fill: var(--primary);
    stroke: white;
    stroke-width: 2;
    filter: drop-shadow(0 0 6px rgba(19, 0, 255, 0.4));
}

.map-city-label {
    fill: var(--text);
    font-size: 11px;
    font-weight: 600;
    font-family: 'Inter Tight', sans-serif;
    text-anchor: middle;
}

.map-reach-overlay {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    box-shadow: var(--shadow-sm);
}

.map-reach-total {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.map-reach-label {
    font-size: 0.6875rem;
    color: var(--grey500);
}

/* ── Realistic Display Ad Mockup ────────────────────────────────────── */

.display-ad-realistic {
    width: 300px;
    height: 250px;
    background: linear-gradient(145deg, #0E00CC 0%, #1300FF 40%, #4D3DFF 100%);
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: white;
    box-shadow: 0 4px 20px rgba(19, 0, 255, 0.25);
}

.ad-deco-circle {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(198, 250, 2, 0.12);
}

.ad-deco-dots {
    position: absolute;
    bottom: 40px;
    left: -10px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 8px 8px;
}

.ad-badge {
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.ad-logo-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
}

.ad-logo-circle {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.ad-company-name {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.85;
}

.ad-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.375rem;
    z-index: 1;
}

.ad-meta {
    font-size: 0.6875rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.ad-benefits-row {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    margin-bottom: auto;
}

.ad-benefit-tag {
    font-size: 0.5625rem;
    padding: 0.15rem 0.4rem;
    border-radius: 99px;
    background: rgba(198, 250, 2, 0.2);
    color: var(--accent);
    font-weight: 600;
}

.ad-cta-btn {
    background: var(--accent);
    color: var(--text);
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
    z-index: 1;
}

.ad-footer {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.375rem;
    font-size: 0.5625rem;
    opacity: 0.5;
    z-index: 1;
}

.ad-footer svg { stroke: currentColor; }

/* ── Benchmark Ranges ───────────────────────────────────────────────── */

.benchmark-ranges {
    background: var(--bg);
    border-left: 3px solid var(--primary);
}

.benchmark-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.125rem 0;
}

.benchmark-item .bm-label { color: var(--text-secondary); }
.benchmark-item .bm-value { font-weight: 600; color: var(--text); }
.benchmark-item .bm-range { font-size: 0.6875rem; color: var(--grey500); }

/* ── Packages Premium (branding path) ────────────────────────────────── */

.packages-premium { grid-template-columns: repeat(3, 1fr); }

/* ── Service Allocation Controls ──────────────────────────────────────── */

.allocation-card {
    background: var(--white);
    border: 1px solid var(--stone200);
}

.allocation-pool {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--primary-ghost), rgba(198, 250, 2, 0.06));
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

/* Live-Gesamtpreis card under the Angebot configurator — mirrors the sticky
   footer total but is rendered inline so the running price is always visible
   right below the channels the customer is toggling, not just in the sticky
   bar at the bottom of the viewport. */
.inline-price-card {
    border: 1.5px solid var(--primary-ghost, rgba(19, 0, 255, 0.12));
    background: linear-gradient(135deg, rgba(19, 0, 255, 0.04), rgba(198, 250, 2, 0.05));
    box-shadow: 0 2px 12px rgba(19, 0, 255, 0.06);
}

.alloc-help-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    margin-left: 0.45rem;
    border-radius: 50%;
    background: var(--primary-ghost, #EEEAFF);
    color: var(--primary, #1300FF);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: help;
    vertical-align: middle;
    line-height: 1;
}

.alloc-pool-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.alloc-pool-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.allocation-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.alloc-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.alloc-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.alloc-icon { font-size: 1.125rem; }

.alloc-ratio {
    font-size: 0.6875rem;
    color: var(--grey500);
    background: var(--bg);
    padding: 0.125rem 0.5rem;
    border-radius: 100px;
    white-space: nowrap;
}

.alloc-input-group {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--stone200);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.alloc-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.alloc-btn:hover { background: var(--primary-ghost); }
.alloc-btn:active { background: var(--primary); color: white; }

.alloc-input {
    width: 80px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--stone200);
    border-right: 1px solid var(--stone200);
    font-family: 'DM Mono', monospace;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    background: var(--white);
}

.alloc-input:focus { outline: none; background: var(--primary-ghost); }

.alloc-cost {
    font-size: 0.75rem;
    color: var(--grey500);
    min-width: 120px;
    text-align: right;
    font-family: 'DM Mono', monospace;
}

.alloc-divider {
    border-top: 2px dashed var(--stone200);
    margin: 0.25rem 0;
}

.alloc-remaining {
    background: linear-gradient(135deg, rgba(24, 138, 53, 0.04), rgba(198, 250, 2, 0.06));
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem !important;
}

.alloc-remaining-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--positive);
}

/* ── Reach Estimation ─────────────────────────────────────────────────── */

.reach-estimate {
    border-top: 1px solid var(--stone200);
    padding-top: 1rem;
}

.reach-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.reach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.reach-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.reach-label {
    font-size: 0.6875rem;
    color: var(--grey500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.375rem;
}

.reach-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.reach-range {
    font-size: 0.625rem;
    color: var(--grey500);
    margin-top: 0.25rem;
    font-family: 'DM Mono', monospace;
}

/* ── Print ──────────────────────────────────────────────────────────────── */

@media print {
    body::before, .stepper, .price-footer, .section-nav, .toast-container { display: none !important; }
    .section { display: block !important; page-break-after: always; padding-top: 1rem !important; min-height: auto; }
    .hero { min-height: auto; padding: 2rem !important; }
    .card, .product-card, .package-col, .roi-card { box-shadow: none !important; border: 1px solid var(--stone200) !important; }
}

@media (max-width: 768px) {
    .path-selector { grid-template-columns: 1fr; }
    .impression-stats { grid-template-columns: repeat(2, 1fr); }
    .packages-premium { grid-template-columns: 1fr; }
    .reach-grid { grid-template-columns: repeat(2, 1fr); }
    .alloc-row { grid-template-columns: 1fr; gap: 0.5rem; }
    .alloc-cost { text-align: left; }
}

/* ── Toggle Switch (6/12 month) ───────────────────────────────────────── */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--grey300); border-radius: 24px;
    transition: 0.3s;
}
.toggle-slider:before {
    content: ""; position: absolute;
    height: 18px; width: 18px; left: 3px; bottom: 3px;
    background: white; border-radius: 50%;
    transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(20px); }
.duration-label {
    font-size: 0.8125rem; font-weight: 600; color: var(--grey400);
    transition: color 0.3s;
}
.duration-label.active { color: var(--primary); }
.membership-duration-toggle { margin-bottom: 1rem; }

/* ── Collapsible Channel Section ──────────────────────────────────────── */
.channel-body {
    max-height: 2000px;
    overflow: visible;
    transition: max-height 0.4s ease;
}
.collapse-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--grey500);
}

/* ── Toast (removed from HTML, keep CSS for safety) ───────────────────── */

/* ════════════════════════════════════════════════════════════════════════ */
/* Company Intelligence Dashboard                                          */
/* ════════════════════════════════════════════════════════════════════════ */

.hero-company-highlight {
    color: var(--primary);
    display: inline-block;
}

.intel-dashboard {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease both;
    animation-delay: 0.3s;
}

.intel-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.intel-title {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.intel-source {
    font-size: 0.6875rem;
    color: var(--grey500);
    font-family: var(--font-mono, 'DM Mono', monospace);
}

/* Stats row */
.intel-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.intel-stat {
    text-align: center;
    padding: 1rem 0.5rem;
    background: var(--bg);
    border-radius: var(--radius);
    transition: transform var(--transition-fast);
}

.intel-stat:hover {
    transform: translateY(-2px);
}

.intel-stat-value {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.intel-stat-label {
    font-size: 0.75rem;
    color: var(--grey500);
    margin-top: 0.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Skeleton loading */
.intel-skeleton {
    display: inline-block;
    min-width: 3rem;
    height: 1.75rem;
    background: linear-gradient(90deg, var(--stone200) 25%, var(--stone100) 50%, var(--stone200) 75%);
    background-size: 200% 100%;
    border-radius: var(--radius-sm);
    animation: shimmer 1.5s ease-in-out infinite;
}

.intel-skeleton-row {
    height: 2.5rem;
    background: linear-gradient(90deg, var(--stone200) 25%, var(--stone100) 50%, var(--stone200) 75%);
    background-size: 200% 100%;
    border-radius: var(--radius-sm);
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Job type breakdown bars */
.intel-breakdown {
    margin-bottom: 1.25rem;
}

.intel-breakdown-title {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--grey500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.intel-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.intel-bar-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
    min-width: 130px;
    flex-shrink: 0;
}

.intel-bar-track {
    flex: 1;
    height: 26px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.intel-bar-fill {
    height: 100%;
    border-radius: var(--radius-sm);
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    min-width: 0;
}

.intel-bar-fill.type-ausbildung { background: var(--primary); }
.intel-bar-fill.type-werkstudent { background: var(--primary-light); }
.intel-bar-fill.type-praktikum { background: #7B68EE; }
.intel-bar-fill.type-young_professional { background: var(--alert); }

.intel-bar-count {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--grey600);
    min-width: 2rem;
    text-align: right;
}

/* Location chips */
.intel-locations {
    margin-bottom: 0.5rem;
}

.intel-locations-title {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--grey500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.intel-loc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.intel-loc-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.625rem;
    background: var(--bg);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition-fast);
}

.intel-loc-chip:hover {
    background: var(--primary-ghost);
    color: var(--primary);
}

.intel-loc-count {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.6875rem;
}

/* Recent titles */
.intel-titles {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--stone200);
}

.intel-titles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.intel-titles-title {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--grey500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.intel-titles-toggle {
    font-size: 0.75rem;
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
    border: none;
    background: none;
    padding: 0;
}

.intel-title-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.intel-title-tag {
    padding: 0.2rem 0.5rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    color: var(--grey600);
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ════════════════════════════════════════════════════════════════════════ */
/* Platform USPs                                                            */
/* ════════════════════════════════════════════════════════════════════════ */

.platform-usps {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

.usps-headline {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    color: var(--text);
    margin: 0 0 1.25rem;
}

.usps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.usp-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.usp-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glow);
}

.usp-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--primary-ghost);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.usp-icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.usp-title {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.375rem;
}

.usp-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .intel-stats { grid-template-columns: repeat(2, 1fr); }
    .usps-grid { grid-template-columns: 1fr; }
    .intel-bar-label { min-width: 90px; }
}

/* ── Case Study Card ──────────────────────────────────────────────── */
.case-study-card {
    background: var(--white, #FCFCFD);
    border: 1px solid var(--stone200, #E7E4E0);
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.case-study-header {
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid var(--stone200, #E7E4E0);
    background: linear-gradient(135deg, rgba(19, 0, 255, 0.03) 0%, rgba(184, 232, 10, 0.05) 100%);
}
.case-study-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary, #1300FF);
    margin-bottom: 0.5rem;
}
.case-study-title {
    font-family: var(--font-heading, 'Plus Jakarta Sans');
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--charcoal, #232323);
    margin: 0 0 0.375rem;
    line-height: 1.3;
}
.case-study-company {
    font-size: 0.8125rem;
    color: var(--grey500, #7B7B7B);
}
.case-study-body {
    padding: 1.25rem 1.5rem;
    display: grid;
    gap: 1rem;
}
.case-study-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--grey500, #7B7B7B);
    margin-bottom: 0.25rem;
}
.case-study-challenge div,
.case-study-solution div:not(.case-study-label) {
    font-size: 0.875rem;
    color: var(--text-primary, #232323);
    line-height: 1.5;
}
.case-study-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}
.case-study-result {
    background: var(--bg, #F6F4F1);
    border-radius: var(--radius-sm, 8px);
    padding: 0.875rem 1rem;
    text-align: center;
}
.cs-result-metric {
    font-size: 0.6875rem;
    color: var(--grey500, #7B7B7B);
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.cs-result-values {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.cs-result-before {
    font-size: 0.8125rem;
    color: var(--grey400, #A7A7A7);
    text-decoration: line-through;
}
.cs-result-arrow {
    color: var(--positive, #188A35);
    font-size: 0.75rem;
}
.cs-result-after {
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal, #232323);
}
.cs-result-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary, #1300FF);
    line-height: 1.2;
}
.cs-result-change {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--positive, #188A35);
    margin-top: 0.25rem;
}
.case-study-optimization {
    grid-column: 1 / -1;
    padding: 0.875rem 1rem;
    background: rgba(19, 0, 255, 0.04);
    border-left: 3px solid var(--primary, #1300FF);
    border-radius: var(--radius-sm, 8px);
    font-size: 0.8125rem;
    color: var(--text-primary, #232323);
    line-height: 1.5;
    margin-top: 0.25rem;
}
.case-study-quote {
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid var(--stone200, #E7E4E0);
    background: var(--bg, #F6F4F1);
}
.case-study-quote blockquote {
    font-style: italic;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-primary, #232323);
    margin: 0 0 0.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary, #1300FF);
}
.case-study-quote cite {
    display: block;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 600;
    color: var(--grey500, #7B7B7B);
    padding-left: 1rem;
}

/* ── Deck mode (server-side PDF export) ───────────────────────────────── */
body.deck-mode {
    background: #fff;
}
body.deck-mode .stepper,
body.deck-mode .price-footer,
body.deck-mode .section-nav,
body.deck-mode .export-actions,
body.deck-mode .partner-banner,
body.deck-mode #shareModal {
    display: none !important;
}
body.deck-mode .section {
    display: block !important;
    page-break-inside: avoid;
    break-inside: avoid;
    padding: 24px 0 36px;
    border-bottom: 1px solid #e9e9ec;
}
body.deck-mode .section + .section {
    page-break-before: always;
    break-before: page;
}
body.deck-mode .section-inner {
    max-width: 100%;
    padding: 0 12px;
}
body.deck-mode .card { box-shadow: none; border: 1px solid #e9e9ec; }
body.deck-mode .hero-personalization { display: block !important; }
body.deck-mode button { display: none !important; }
@page { size: A4; margin: 12mm 10mm 14mm 10mm; }

/* ── Share-link modal ─────────────────────────────────────────────────── */
.share-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 25, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
}
.share-modal {
    background: #fff;
    border-radius: 14px;
    width: min(520px, 92vw);
    padding: 28px 28px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    font-family: var(--font-body, "Inter Tight", system-ui, sans-serif);
}
.share-modal-close {
    position: absolute;
    top: 10px; right: 14px;
    background: transparent; border: 0;
    font-size: 28px; line-height: 1; cursor: pointer;
    color: #888;
}
.share-modal-title {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c1c28;
}
.share-modal-sub {
    margin: 0 0 18px;
    color: #5b5b66;
    font-size: 0.9rem;
    line-height: 1.45;
}
.share-modal-form label {
    display: block;
    font-size: 0.78rem;
    color: #4a4a55;
    font-weight: 600;
    margin: 10px 0 4px;
}
.share-modal-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d8d8df;
    border-radius: 8px;
    font: inherit;
    font-size: 0.92rem;
    box-sizing: border-box;
}
.share-modal-cta {
    margin-top: 18px;
    width: 100%;
    background: #1300FF;
    color: #fff;
    border: 0;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
}
.share-modal-cta:disabled { opacity: 0.55; cursor: progress; }
.share-result-label {
    display: block;
    margin: 16px 0 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4a4a55;
}
.share-result-row {
    display: flex;
    gap: 8px;
}
.share-result-row input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #d8d8df;
    border-radius: 8px;
    font-family: "DM Mono", monospace;
    font-size: 0.85rem;
    box-sizing: border-box;
}
.share-result-row button {
    padding: 0 14px;
    background: #232323;
    color: #fff;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}
.share-result-hint {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: #7b7b86;
}

/* ── URL prefill card (top of "Über Ihr Unternehmen") ─────────────────── */
.url-prefill-card {
    margin-bottom: 14px;
    border: 1px dashed #c8c5be;
    background: #faf9f6;
}
.url-prefill-row {
    display: flex;
    gap: 14px;
    align-items: flex-end;
}
.url-prefill-hint {
    margin-top: 6px;
    font-size: 0.72rem;
    color: #6b6b73;
    line-height: 1.4;
}
.url-prefill-btn {
    background: #1300FF;
    color: #fff;
    border: 0;
    padding: 11px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    height: 44px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.url-prefill-btn:disabled { opacity: 0.6; cursor: progress; }
.url-prefill-status {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.83rem;
    line-height: 1.45;
}
.url-prefill-status.loading { background: #eef0ff; color: #1f2bbd; }
.url-prefill-status.ok      { background: #ecfdf3; color: #027a48; }
.url-prefill-status.err     { background: #fef3f2; color: #b42318; }
.url-prefill-status.warn    { background: #fffaeb; color: #b54708; }
.url-prefill-status a { color: inherit; text-decoration: underline; }
.url-prefill-edit {
    color: #6b6b73;
    font-size: 0.75rem;
}
.spinner-inline {
    display: inline-block;
    width: 12px; height: 12px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    vertical-align: -2px;
    margin-right: 6px;
}
.form-input.prefilled, .form-select.prefilled {
    background-color: #fbfff5;
    border-color: #c6fa02;
}

/* ── Company Typeahead (replaces dual URL+Name inputs) ───────────────── */
.company-typeahead-group { position: relative; }
.company-typeahead-wrap { position: relative; }
.company-typeahead-input { padding-right: 2.25rem; }
.company-typeahead-spinner {
    position: absolute;
    right: 0.75rem; top: 50%;
    transform: translateY(-50%);
    width: 14px; height: 14px;
    border: 2px solid #c0c0c8;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    pointer-events: none;
}
.company-typeahead-dropdown {
    position: absolute;
    left: 0; right: 0; top: calc(100% + 4px);
    z-index: 50;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e2e2e8;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(20, 20, 30, 0.12);
}
.company-typeahead-item {
    display: block;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #f0f0f4;
    padding: 0.625rem 0.875rem;
    cursor: pointer;
    font: inherit;
    color: inherit;
}
.company-typeahead-item:last-child { border-bottom: 0; }
.company-typeahead-item:hover,
.company-typeahead-item.focused { background: #f7f9ff; }
.company-typeahead-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1a1a22;
}
.company-typeahead-meta {
    font-size: 0.75rem;
    color: #6b6b73;
    margin-top: 2px;
}
.company-typeahead-hint {
    font-size: 0.75rem;
    color: #6b6b73;
    margin-top: 0.375rem;
}
.company-typeahead-hint a {
    color: #1f2bbd;
    text-decoration: underline;
    cursor: pointer;
}
.company-url-fallback {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    align-items: center;
}
.company-url-fallback .form-input { flex: 1 1 240px; }
.company-url-fallback .url-prefill-btn { flex: 0 0 auto; }
.company-url-fallback .url-prefill-status { flex: 1 1 100%; }

/* ── AE Co-pilot side rail (AE-only) ─────────────────────────────────── */
#copilotTab {
    position: fixed;
    right: 0; top: 35vh;
    z-index: 1100;
    background: #1a1a22;
    color: #fff;
    border: 0;
    border-radius: 10px 0 0 10px;
    padding: 14px 8px;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    box-shadow: -4px 4px 18px rgba(0, 0, 0, 0.18);
    transition: background 120ms;
}
#copilotTab.active { background: #2d2d3b; }
#copilotTab:hover { background: #2d2d3b; }
#copilotTab::before { content: "🤖 "; writing-mode: horizontal-tb; }

#copilotPanel {
    position: fixed;
    right: -440px; top: 0; bottom: 0;
    width: 420px;
    z-index: 1099;
    background: #fff;
    border-left: 1px solid #e4e4e8;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.14);
    display: flex;
    flex-direction: column;
    transition: right 220ms ease-out;
}
#copilotPanel.open { right: 0; }

.copilot-header {
    flex: 0 0 auto;
    padding: 14px 16px;
    border-bottom: 1px solid #efeff3;
    display: flex;
    align-items: center;
    gap: 10px;
}
.copilot-title { font-weight: 700; font-size: 0.95rem; flex: 1; }
.copilot-badge {
    font-size: 0.65rem;
    padding: 2px 8px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.copilot-close {
    background: none;
    border: 0;
    font-size: 1.4rem;
    color: #9090a0;
    cursor: pointer;
    line-height: 1;
}
.copilot-close:hover { color: #1a1a22; }

.copilot-quick {
    flex: 0 0 auto;
    padding: 10px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 1px solid #efeff3;
}
.copilot-quick-btn {
    font-size: 0.75rem;
    padding: 5px 10px;
    background: #f4f5f8;
    color: #1a1a22;
    border: 1px solid #e4e4e8;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    transition: background 120ms;
}
.copilot-quick-btn:hover { background: #e8eaf0; }

.copilot-log {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px 16px;
    background: #fafafc;
}
.copilot-msg {
    margin-bottom: 12px;
    font-size: 0.8125rem;
    line-height: 1.5;
}
.copilot-msg p { margin: 0 0 6px; }
.copilot-msg p:last-child { margin-bottom: 0; }
.copilot-msg ul, .copilot-msg ol { margin: 4px 0 6px 1.2rem; padding: 0; }
.copilot-msg li { margin-bottom: 3px; }
.copilot-msg-user {
    background: #1a1a22;
    color: #fff;
    padding: 8px 12px;
    border-radius: 12px 12px 4px 12px;
    align-self: flex-end;
    max-width: 85%;
    margin-left: auto;
}
.copilot-msg-asst {
    background: #fff;
    border: 1px solid #e4e4e8;
    color: #1a1a22;
    padding: 10px 12px;
    border-radius: 12px 12px 12px 4px;
    max-width: 92%;
}
.copilot-msg-user p { color: #fff; }
.copilot-thinking { color: #6b6b73; font-style: italic; }
.copilot-spinner {
    display: inline-block;
    width: 10px; height: 10px;
    border: 2px solid #c0c0c8;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin-right: 4px;
    vertical-align: -1px;
}

.copilot-form {
    flex: 0 0 auto;
    padding: 10px 12px 12px;
    border-top: 1px solid #efeff3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.copilot-input {
    width: 100%;
    min-height: 60px;
    max-height: 140px;
    padding: 8px 10px;
    border: 1px solid #d6d6dc;
    border-radius: 8px;
    font: inherit;
    font-size: 0.8125rem;
    resize: vertical;
}
.copilot-input:focus { outline: 2px solid #1300FF; outline-offset: -1px; border-color: transparent; }
.copilot-actions { display: flex; gap: 8px; align-items: center; }
.copilot-actions .copilot-hint { flex: 1; font-size: 0.7rem; color: #9090a0; }
.copilot-send {
    background: #1300FF;
    color: #fff;
    border: 0;
    padding: 7px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
}
.copilot-send:disabled { opacity: 0.6; cursor: progress; }
.copilot-clear {
    background: none;
    border: 0;
    color: #9090a0;
    font-size: 0.72rem;
    cursor: pointer;
    text-decoration: underline;
}

/* Hide the side rail on customer view (defensive — server-side already strips
   the HTML, but if any AE view ever shares CSS to the customer this is the
   second line of defence). */
body:not(.ae-view) #copilotTab,
body:not(.ae-view) #copilotPanel { display: none !important; }

@media (max-width: 768px) {
    #copilotPanel { width: 92vw; right: -92vw; }
    #copilotTab { top: 50vh; }
}

/* ── Personalization badge (above package row) ───────────────────────── */
.personalization-badge {
    margin: 14px 0 18px;
    padding: 12px 16px 10px;
    border: 1px solid #e8e6df;
    background: linear-gradient(0deg, #fafaf6, #ffffff);
    border-radius: 12px;
}
.personalization-headline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1300FF;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.personalization-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #c6fa02;
    box-shadow: 0 0 0 3px rgba(198, 250, 2, 0.25);
}
.personalization-bullets {
    margin: 8px 0 0 0;
    padding: 0 0 0 16px;
    color: #2c2c33;
    font-size: 0.86rem;
    line-height: 1.5;
}
.personalization-bullets li { margin: 2px 0; }
.personalization-trust {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e8e6df;
    font-size: 0.78rem;
    color: #2c2c33;
    line-height: 1.5;
}
.personalization-trust strong { color: #1300FF; }
.personalization-trust-icon {
    color: #c6fa02;
    font-size: 0.6rem;
    margin-right: 4px;
    vertical-align: middle;
}
body.deck-mode .personalization-badge { border: 1px solid #ccc; background: #f9f9f6; }

/* ── ROI / CPA benchmark sub-text ─────────────────────────────────────── */
.roi-bench {
    margin-top: 6px;
    font-size: 0.72rem;
    line-height: 1.35;
    color: #6b6b73;
}
.roi-bench-good { color: #027a48; font-weight: 700; }
.roi-bench-ok   { color: #b54708; font-weight: 700; }
.roi-bench-bad  { color: #b42318; font-weight: 700; }
.roi-bench-neutral { color: #475467; font-weight: 600; }

/* ── "Show your work" tooltips on every metric ───────────────────────── */
.metric-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px; height: 14px;
    margin-left: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    color: #6b6b73;
    font-size: 9px;
    font-weight: 700;
    cursor: help;
    vertical-align: middle;
    user-select: none;
    transition: background 120ms;
}
.metric-info:hover { background: rgba(0, 0, 0, 0.18); color: #1a1a22; }
.metric-tooltip {
    position: absolute;
    z-index: 1000;
    max-width: 300px;
    padding: 10px 12px;
    background: #1a1a22;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    font-size: 0.75rem;
    line-height: 1.45;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 120ms, transform 120ms;
}
.metric-tooltip.visible { opacity: 1; transform: translateY(0); }
.metric-tooltip-formula {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}
.metric-tooltip-source {
    margin-top: 6px;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
}
.roi-bench-source {
    color: #98a2b3;
    font-weight: 400;
}
.roi-bench-customer {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed #e8e6df;
}

/* ── Customer-CPA benchmark row in company card ───────────────────────── */
.benchmark-row {
    background: #fafaf6;
    border: 1px dashed #d8d8df;
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 10px;
}
.benchmark-row .form-label {
    font-size: 0.8rem;
    color: #2c2c33;
    margin-bottom: 8px;
}
.benchmark-grid {
    display: grid;
    grid-template-columns: 130px 1fr 130px;
    gap: 10px;
    align-items: stretch;
}
.benchmark-cell {
    position: relative;
    display: flex;
    align-items: center;
}
.benchmark-cell .benchmark-input {
    width: 100%;
    height: 38px;
    box-sizing: border-box;
}
.benchmark-prefix, .benchmark-suffix {
    position: absolute;
    color: var(--grey500, #7B7B7B);
    font-weight: 600;
    z-index: 1;
}
.benchmark-prefix { left: 12px; }
.benchmark-suffix { right: 12px; }
.benchmark-cell input[type=number] { padding-left: 26px; }
.benchmark-qual input[type=number] { padding-right: 26px; padding-left: 12px; }
.benchmark-hint {
    margin-top: 8px;
    font-size: 0.7rem;
    color: #6b6b73;
    line-height: 1.4;
}
@media (max-width: 720px) {
    .benchmark-grid { grid-template-columns: 1fr; }
}

/* ── AE-only mode toggle ─────────────────────────────────────────────── */
/* Slim, low-contrast strip at the very top — designed to fade into the
   browser chrome during a live customer co-browsing session, so it doesn't
   compete with the actual content for attention. */
.ae-mode-bar {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: #f6f4f1;
    color: #6b6b73;
    font-size: 0.72rem;
    border-bottom: 1px solid #e7e4e0;
    position: sticky;
    top: 0;
    z-index: 200;
}
.ae-mode-label { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.62rem; opacity: 0.55; }
.ae-mode-pill {
    background: transparent;
    border: 1px solid transparent;
    color: #6b6b73;
    padding: 3px 10px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 600;
    transition: all 0.12s;
}
.ae-mode-pill:hover { background: #ebe9e5; color: #1c1c28; }
.ae-mode-pill.active {
    background: #1c1c28;
    color: #fff;
}
.ae-mode-hint { margin-left: auto; opacity: 0.45; font-size: 0.66rem; font-style: italic; }

/* ── Mode-driven section visibility ──────────────────────────────────── */
body.performance-mode .std-only { display: none !important; }
body.standard-mode    .perf-only { display: none !important; }
body.performance-mode #sec-performance { display: block !important; }

/* ── Performance Deal form ──────────────────────────────────────────── */
.perf-card { padding: 24px 24px 20px; }
.perf-model-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8e6df;
}
.perf-model-pill {
    flex: 1;
    background: #fafaf6;
    border: 1px solid #d8d8df;
    color: #4a4a55;
    padding: 11px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.12s;
}
.perf-model-pill:hover { border-color: #1300ff; color: #1300ff; }
.perf-model-pill.active {
    background: #1300ff;
    color: #fff;
    border-color: #1300ff;
}
.perf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 16px;
    margin-bottom: 22px;
}
.perf-discount-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
}
.perf-discount-wrap input[type=range] {
    flex: 1;
    accent-color: #1300ff;
    height: 6px;
    cursor: pointer;
}
/* Subtle "snap-stop" feel near the floor — slider thumb gets a soft
   shadow when at extremes so AE knows visually it can't go further
   without the customer seeing any "Mindestpreis" warning text. */
.perf-discount-wrap input[type=range]:focus { outline: none; }
#perfDiscountValue {
    font-weight: 700;
    color: #1300ff;
    min-width: 48px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.perf-quote {
    background: #fafaf6;
    border: 1px solid #e8e6df;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 18px;
}
.perf-quote-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.92rem;
    color: #2c2c33;
}
.perf-quote-our {
    border-top: 1px dashed #d8d8df;
    margin-top: 4px;
    padding-top: 10px;
    font-weight: 700;
    color: #1300ff;
    font-size: 1.05rem;
}
.perf-quote-total {
    border-top: 2px solid #1300ff;
    margin-top: 10px;
    padding-top: 12px;
    font-weight: 800;
    font-size: 1.15rem;
    color: #1c1c28;
}
.perf-quote-value { font-variant-numeric: tabular-nums; }

/* Tier sheet */
.perf-tier-sheet { margin-bottom: 16px; }
.perf-tier-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #4a4a55;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.perf-tier-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.perf-tier-cell {
    background: #fff;
    border: 1px solid #e8e6df;
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    will-change: transform;
}
.perf-tier-cell:hover {
    border-color: #1300ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 0, 255, 0.08);
}
.perf-tier-cell.active {
    background: #1300ff;
    border-color: #1300ff;
    color: #fff;
    box-shadow: 0 6px 18px rgba(19, 0, 255, 0.22);
    transform: translateY(-2px);
}
.perf-tier-cell.active .perf-tier-vol,
.perf-tier-cell.active .perf-tier-bonus { color: rgba(255,255,255,0.85); }
.perf-tier-vol { font-size: 0.72rem; color: #6b6b73; margin-bottom: 2px; }
.perf-tier-price { font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.perf-tier-bonus { font-size: 0.65rem; color: #027a48; font-weight: 600; margin-top: 2px; }

.perf-guarantees {
    border-top: 1px solid #e8e6df;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.perf-guarantee-item {
    font-size: 0.85rem;
    color: #027a48;
    font-weight: 500;
}

@media (max-width: 720px) {
    .perf-grid { grid-template-columns: 1fr; }
    .perf-tier-grid { grid-template-columns: repeat(2, 1fr); }
}

body.deck-mode .ae-mode-bar,
body.deck-mode .benchmark-mode-pill { display: none !important; }

/* ── Performance Guarantee Badge (summary section) ────────────────────── */
.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-top: 12px;
    background: linear-gradient(135deg, #ecfdf3 0%, #fff 100%);
    border: 1px solid #a3e9c2;
    border-radius: 12px;
}
.guarantee-badge-shield {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #027a48;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.guarantee-badge-title {
    font-weight: 700;
    color: #027a48;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.guarantee-badge-sub {
    font-size: 0.78rem;
    color: #2c2c33;
    line-height: 1.4;
}

/* ── Mobile / responsive polish ───────────────────────────────────────── */
@media (max-width: 768px) {
    .section-inner { padding: 0 14px; }
    .form-grid { grid-template-columns: 1fr !important; }
    .perf-card { padding: 18px 14px; }
    .perf-model-toggle { flex-wrap: wrap; }
    .perf-model-pill { flex: 1 1 calc(50% - 4px); font-size: 0.78rem; padding: 10px 8px; }
    .perf-quote-row { flex-direction: column; align-items: flex-start; gap: 2px; }
    .perf-quote-value { font-size: 1.1rem; }
    .perf-tier-grid { grid-template-columns: repeat(2, 1fr); }
    .roi-grid { grid-template-columns: 1fr 1fr !important; }
    .ae-mode-bar { padding: 4px 10px; gap: 5px; font-size: 0.65rem; }
    .ae-mode-pill { padding: 3px 8px; font-size: 0.65rem; }
    .ae-mode-hint { display: none; }
    .url-prefill-row { flex-direction: column; align-items: stretch; }
    .url-prefill-btn { width: 100%; }
    .sa-row { grid-template-columns: 1fr 1fr; }
    .sa-row .form-group:nth-child(3) { grid-column: 1 / 3; }
    .sa-row-cost { grid-column: 1 / 3; }
    .sa-row-remove { grid-column: 2; justify-self: end; }
    .benchmark-grid { grid-template-columns: 1fr; }
    .stepper { overflow-x: auto; }
    .stepper-inner { white-space: nowrap; padding: 6px 12px; }
    .step-label { display: none; }
    .price-footer-inner { flex-direction: column; gap: 8px; padding: 8px; text-align: center; }
}
@media (max-width: 480px) {
    .perf-model-pill { font-size: 0.72rem; padding: 8px 6px; }
    .perf-tier-grid { grid-template-columns: 1fr 1fr; }
    .roi-card .roi-value { font-size: 1.4rem; }
    .guarantee-badge { flex-direction: column; text-align: center; padding: 12px; }
    .guarantee-badge-shield { width: 40px; height: 40px; flex: 0 0 40px; }
}
.roi-band {
    margin-top: 4px;
    font-size: 0.7rem;
    color: #98a2b3;
    letter-spacing: 0.01em;
}
/* Range value (e.g. "€26–€60") needs a touch less weight to fit. */
.roi-card .roi-value:has(:not(*)) { font-variant-numeric: tabular-nums; }
.roi-card .roi-value { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* ── Multi-row Stellenanzeigen ────────────────────────────────────────── */
.sa-rows { display: flex; flex-direction: column; gap: 10px; }
.sa-row {
    display: grid;
    grid-template-columns: 2fr 1fr 0.7fr 0.8fr 32px;
    gap: 10px;
    align-items: end;
    padding: 12px 12px 12px 12px;
    border: 1px solid #e8e6df;
    border-radius: 10px;
    background: #fbfaf6;
}
.sa-row .form-group { margin: 0; }
.sa-row .form-label {
    font-size: 0.7rem;
    color: #6b6b73;
    margin-bottom: 4px;
}
.sa-row-cost-value {
    font-weight: 700;
    color: #1300FF;
    padding-top: 8px;
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}
.sa-row-remove {
    background: transparent;
    border: 1px solid #d8d8df;
    border-radius: 6px;
    color: #98a2b3;
    width: 32px; height: 38px;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    transition: all 0.12s;
    align-self: end;
}
.sa-row-remove:hover:not(:disabled) {
    background: #fef3f2; color: #b42318; border-color: #fda29b;
}
.sa-row-remove:disabled { opacity: 0.3; cursor: not-allowed; }
.sa-add-btn {
    margin-top: 12px;
    background: transparent;
    border: 1px dashed #1300FF;
    color: #1300FF;
    padding: 9px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.12s;
}
.sa-add-btn:hover { background: #f0eeff; }
.sa-discount-summary {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e8e6df;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
}
.sa-discount-label { color: #6b6b73; }
@media (max-width: 720px) {
    .sa-row { grid-template-columns: 1fr 1fr; }
    .sa-row-remove { grid-column: 2; justify-self: end; }
}

@media (max-width: 720px) {
    .url-prefill-row { flex-direction: column; align-items: stretch; }
    .url-prefill-btn { width: 100%; }
}
