/* ========================================================================
   SMG CUSTOMER JOURNEY WIDGET - ULTRA MODERN WITH SCROLL ANIMATIONS
   Das spektakulärste Widget mit Galaxy-Themes und komplexen Animationen
   ======================================================================== */

   .smg-customer-journey-widget {
    position: relative;
    min-height: 100vh;
    padding: 8rem 0;
    overflow: hidden;
}

/* Background Themes */
.smg-journey-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.smg-customer-journey-widget[data-style="galaxy"] {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.smg-customer-journey-widget[data-style="gradient"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.smg-customer-journey-widget[data-style="clean"] {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Animated Galaxy Stars */
.smg-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.smg-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: star-twinkle 3s ease-in-out infinite;
}

@keyframes star-twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Cosmic Particles */
.smg-cosmic-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.smg-cosmic-particles::before,
.smg-cosmic-particles::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    animation: cosmic-float 20s ease-in-out infinite;
}

.smg-cosmic-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.smg-cosmic-particles::after {
    bottom: 20%;
    right: 15%;
    animation-delay: 10s;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.3) 0%, transparent 70%);
}

@keyframes cosmic-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.2); }
    66% { transform: translate(-30px, 40px) scale(0.8); }
}

/* Journey Header */
.smg-journey-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
    z-index: 10;
}

.smg-journey-title {
    font-family: var(--font-secondary);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.smg-customer-journey-widget[data-style="clean"] .smg-journey-title {
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.smg-journey-subtitle {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.smg-customer-journey-widget[data-style="clean"] .smg-journey-subtitle {
    color: #64748b;
}

/* Journey Container */
.smg-journey-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
    z-index: 10;
    overflow-x: hidden;
}

/* SVG Journey Path - Zentrale Verbindungslinie MIT SCROLL-ANIMATION */
.smg-journey-svg {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    transform: translateX(-50%);
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.2) 10%, 
        rgba(220, 38, 38, 0.3) 50%, 
        rgba(59, 130, 246, 0.2) 90%, 
        transparent 100%
    );
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    overflow: hidden;
    --line-progress: 0%;
}

.smg-journey-svg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--line-progress, 0%);
    background: linear-gradient(180deg, 
        #dc2626 0%,
        #f97316 20%,
        #eab308 40%,
        #10b981 60%,
        #3b82f6 80%,
        #8b5cf6 100%
    );
    border-radius: 2px;
    transition: height 0.3s ease-out;
    box-shadow: 
        0 0 30px rgba(59, 130, 246, 0.8),
        0 0 60px rgba(220, 38, 38, 0.4);
    animation: line-glow 3s ease-in-out infinite;
}

@keyframes line-glow {
    0%, 100% { 
        box-shadow: 
            0 0 30px rgba(59, 130, 246, 0.8),
            0 0 60px rgba(220, 38, 38, 0.4);
    }
    50% { 
        box-shadow: 
            0 0 40px rgba(59, 130, 246, 1),
            0 0 80px rgba(220, 38, 38, 0.6);
    }
}

.smg-journey-svg.animated::before {
    animation: line-progress 2s ease-out forwards, line-glow 3s ease-in-out infinite;
}

@keyframes line-progress {
    from { height: 0%; }
    to { height: var(--line-progress, 100%); }
}

/* Journey Steps Container - OVERFLOW FÜR BUBBLES */
.smg-journey-steps {
    position: relative;
    z-index: 5;
    overflow: visible; /* Wichtig für Bubbles */
    padding-bottom: 2rem; /* Extra Platz unten */
}

/* Journey Steps - PERSONA CARDS MITTIG ZU CONTENT CARDS */
.smg-journey-step {
    position: relative;
    margin-bottom: 12rem; /* ERHÖHT: Mehr Platz für Thought Bubbles */
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    min-height: 350px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    contain: layout;
}

.smg-journey-step.smg-step-active {
    opacity: 1;
    transform: translateY(0);
}

/* STEP COLOR VARIATIONS */
.smg-journey-step:nth-child(1) { --step-color: #dc2626; }
.smg-journey-step:nth-child(2) { --step-color: #3b82f6; }
.smg-journey-step:nth-child(3) { --step-color: #10b981; }
.smg-journey-step:nth-child(4) { --step-color: #f59e0b; }
.smg-journey-step:nth-child(5) { --step-color: #8b5cf6; }
.smg-journey-step:nth-child(6) { --step-color: #ef4444; }

/* Alternating Layout - Gerade Steps rechts, ungerade links */
.smg-journey-step:nth-child(even) {
    flex-direction: row-reverse; /* Wieder alternierend */
    text-align: right;
}

.smg-journey-step:nth-child(even) .smg-step-card {
    text-align: left; /* Card Text wieder links */
}

/* Step Number Circle - ALTERNIEREND POSITIONIERT */
.smg-step-number {
    position: absolute;
    top: -15px;
    left: -15px; /* Standard links */
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--step-color, #dc2626), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
    z-index: 10;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 15px var(--step-color, #dc2626);
    transition: all 0.4s ease;
}

/* Step Number Position für rechte Cards (gerade Steps) */
.smg-journey-step:nth-child(even) .smg-step-number {
    left: auto;
    right: -15px; /* Wieder rechts für gerade Steps */
    transform: none;
}

.smg-step-number span {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: var(--font-secondary);
}

.smg-journey-step.smg-step-active .smg-step-number {
    transform: scale(1.1);
    animation: step-number-pulse 2s infinite ease-in-out;
}

@keyframes step-number-pulse {
    0%, 100% { 
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.3),
            0 0 15px var(--step-color, #dc2626);
    }
    50% { 
        box-shadow: 
            0 12px 35px rgba(0, 0, 0, 0.4),
            0 0 25px var(--step-color, #dc2626);
    }
}

/* Step Cards - ALTERNIEREND ABER KOMPAKT */
.smg-step-card {
    max-width: 450px; /* Etwas kleiner für alternierend */
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem; /* Etwas weniger Padding */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    flex-shrink: 0;
    text-align: left; /* Default links */
}

.smg-customer-journey-widget[data-style="clean"] .smg-step-card {
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.smg-journey-step:hover .smg-step-card {
    transform: translateY(-10px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.4);
}

.smg-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.smg-journey-step.smg-step-active .smg-step-card::before {
    opacity: 1;
}

/* Step Icons - REDUZIERTE GRÖßE */
.smg-step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--step-color, #dc2626), rgba(255, 255, 255, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: icon-float 6s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.smg-step-icon i,
.smg-step-icon svg,
.smg-step-icon * {
    color: white !important;
    fill: white !important;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}

/* Step Content - KORRIGIERTE TITEL-FARBEN */
.smg-step-title {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: white !important;
}

.smg-customer-journey-widget[data-style="clean"] .smg-step-title {
    color: #1e293b !important;
}

.smg-step-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9) !important;
}

.smg-customer-journey-widget[data-style="clean"] .smg-step-description {
    color: #64748b !important;
}

/* Touchpoints */
.smg-step-touchpoints {
    margin-bottom: 2rem;
}

.smg-step-touchpoints strong {
    display: block;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--accent-blue, #3b82f6) !important;
}

.smg-customer-journey-widget[data-style="clean"] .smg-step-touchpoints strong {
    color: var(--primary-red, #dc2626) !important;
}

.smg-touchpoint-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.smg-touchpoint-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.smg-customer-journey-widget[data-style="clean"] .smg-touchpoint-tag {
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
}

.smg-touchpoint-tag:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

/* Customer Personas - CONTAINER ERWEITERN FÜR BUBBLES */
.smg-customer-persona {
    position: relative;
    flex-shrink: 0;
    width: 400px;
    padding-bottom: 150px; /* Platz für Thought Bubbles unten */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.smg-customer-persona.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.smg-persona-card {
    background: rgba(255, 255, 255, 0.12); /* Etwas heller für bessere Lesbarkeit */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Stärkerer Border */
    border-radius: 20px;
    padding: 2rem; /* Mehr Padding für mehr Höhe */
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2); /* Heller inset */
    width: 100%;
    min-height: 280px; /* Minimale Höhe für mehr Platz */
}

.smg-customer-journey-widget[data-style="clean"] .smg-persona-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.smg-persona-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(var(--step-color-rgb, 220, 38, 38), 0.1) 0%, 
        transparent 50%, 
        rgba(var(--step-color-rgb, 220, 38, 38), 0.05) 100%);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.smg-customer-persona.visible .smg-persona-card::before {
    opacity: 1;
}

.smg-persona-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.smg-persona-avatar {
    position: relative;
    margin: 0 auto 1rem;
    width: 80px;
    height: 80px;
    z-index: 2;
}

.smg-avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    object-fit: cover;
    background: linear-gradient(135deg, var(--step-color, #dc2626), rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.smg-avatar-image:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Futuristic Glow Ring */
.smg-persona-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid transparent;
    border-radius: 24px;
    background: linear-gradient(45deg, var(--step-color, #dc2626), transparent, var(--step-color, #dc2626));
    background-size: 200% 200%;
    animation: persona-glow 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes persona-glow {
    0%, 100% { 
        background-position: 0% 50%;
        opacity: 0.6;
    }
    50% { 
        background-position: 100% 50%;
        opacity: 1;
    }
}

.smg-persona-status {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: status-pulse 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes status-pulse {
    0%, 100% { 
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 15px rgba(16, 185, 129, 1);
        transform: scale(1.1);
    }
}

.smg-persona-info {
    position: relative;
    z-index: 2;
}

/* Persona Text Elemente - BESSERE LESBARKEIT */
.smg-persona-name {
    font-size: 1.2rem; /* Größer */
    font-weight: 800; /* Fetter */
    color: rgba(255, 255, 255, 1); /* Volle Opacity */
    margin-bottom: 0.75rem;
    font-family: var(--font-secondary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Text-Schatten für bessere Lesbarkeit */
}

.smg-customer-journey-widget[data-style="clean"] .smg-persona-name {
    color: #1e293b;
    text-shadow: none;
}

.smg-persona-role {
    font-size: 0.9rem; /* Größer */
    font-weight: 600; /* Fetter */
    color: rgba(255, 255, 255, 0.9); /* Höhere Opacity */
    background: rgba(255, 255, 255, 0.15); /* Heller Hintergrund */
    padding: 0.4rem 1rem; /* Mehr Padding */
    border-radius: 14px;
    display: inline-block;
    margin-bottom: 1rem; /* Mehr Abstand */
    border: 1px solid rgba(255, 255, 255, 0.25); /* Sichtbarer Border */
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.smg-customer-journey-widget[data-style="clean"] .smg-persona-role {
    color: #475569;
    background: rgba(100, 116, 139, 0.15);
    border-color: rgba(100, 116, 139, 0.3);
    text-shadow: none;
}

.smg-persona-mood {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.smg-mood-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--step-color, #dc2626);
    animation: mood-bounce 1.5s ease-in-out infinite;
    opacity: 0.6;
}

.smg-mood-indicator:nth-child(1) { animation-delay: 0s; }
.smg-mood-indicator:nth-child(2) { animation-delay: 0.2s; }
.smg-mood-indicator:nth-child(3) { animation-delay: 0.4s; }

@keyframes mood-bounce {
    0%, 100% { 
        transform: translateY(0);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-4px);
        opacity: 1;
    }
}

.smg-persona-emoji {
    font-size: 1.3rem; /* Größer */
    margin-right: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Thought Bubbles - BREITER FÜR BESSERE TEXTDARSTELLUNG */
.smg-thought-bubble {
    position: absolute;
    bottom: -20px; /* ANGEPASST: Etwas weiter unten aber nicht zu weit */
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    color: #1e293b;
    padding: 1.2rem 1.5rem;
    border-radius: 16px 16px 16px 4px;
    max-width: 450px; /* ERHÖHT: Noch breiter für Desktop */
    min-width: 250px; /* Höhere Mindestbreite */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    opacity: 0;
    visibility: hidden;
    z-index: 15;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-secondary);
}

.smg-thought-bubble.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.smg-thought-content {
    font-size: 0.9rem; /* Etwas größer */
    line-height: 1.5;
    font-weight: 500;
    text-align: left;
    margin: 0;
    word-wrap: break-word;
}

.smg-thought-emoji {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.smg-thought-bubble:hover {
    transform: translateX(-50%) scale(1.02) translateY(-2px);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Alternierende Bubble-Styles - TAIL VON OBEN */
.smg-journey-step:nth-child(even) .smg-thought-bubble {
    border-radius: 16px 16px 4px 16px;
    background: rgba(248, 250, 252, 0.95);
}

.smg-thought-tail {
    position: absolute;
    top: -5px; /* GEÄNDERT: Oben statt unten */
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(255, 255, 255, 0.95); /* GEÄNDERT: Bottom statt top */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.smg-journey-step:nth-child(even) .smg-thought-tail {
    left: auto;
    right: 20px;
}

/* Typing Animation */
.smg-thought-typing {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
    opacity: 0.6;
}

.smg-typing-dot {
    width: 3px;
    height: 3px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite;
}

.smg-typing-dot:nth-child(1) { animation-delay: 0s; }
.smg-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.smg-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 60%, 100% { 
        transform: translateY(0);
        opacity: 0.4;
    }
    30% { 
        transform: translateY(-4px);
        opacity: 1;
    }
}

/* Step Color Variations für Personas */
.smg-journey-step:nth-child(1) { --step-color-rgb: 220, 38, 38; }
.smg-journey-step:nth-child(2) { --step-color-rgb: 59, 130, 246; }
.smg-journey-step:nth-child(3) { --step-color-rgb: 16, 185, 129; }
.smg-journey-step:nth-child(4) { --step-color-rgb: 245, 158, 11; }
.smg-journey-step:nth-child(5) { --step-color-rgb: 139, 92, 246; }
.smg-journey-step:nth-child(6) { --step-color-rgb: 239, 68, 68; }

/* Horizontale Verbindungslinien entfernt - nicht sinnvoll bei vertikalem Layout */
.smg-journey-connection {
    display: none; /* Versteckt da nicht benötigt */
}

/* Journey Progress Bar */
.smg-journey-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.smg-progress-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.smg-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red, #dc2626), var(--accent-blue, #3b82f6));
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.smg-progress-text {
    color: white;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* Highlight Animation */
.smg-journey-step.smg-step-highlight {
    animation: step-highlight 2s ease-in-out;
}

@keyframes step-highlight {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* RESPONSIVE STYLES
   ======================================================================== */

@media (max-width: 1200px) {
    .smg-journey-step {
        gap: 2rem;
    }

    .smg-customer-persona {
        width: 470px;
    }

    .smg-thought-bubble {
        max-width: 400px; /* ERHÖHT: Breiter für große Tablets */
        min-width: 220px;
    }

    .smg-avatar-image {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 1024px) {
    .smg-journey-step {
        gap: 1.5rem;
    }

    .smg-customer-persona {
        width: 320px;
    }

    .smg-thought-bubble {
        max-width: 350px; /* ERHÖHT: Breiter für Tablets */
        min-width: 200px;
    }

    .smg-step-card {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .smg-customer-journey-widget {
        padding: 4rem 0;
    }

    .smg-journey-header {
        margin-bottom: 3rem;
    }

    .smg-journey-step {
        margin-bottom: 6rem;
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        min-height: auto;
        gap: 2rem;
    }

    .smg-journey-step:nth-child(even) {
        flex-direction: column !important;
        text-align: center;
    }

    .smg-journey-step:nth-child(even) .smg-step-card {
        text-align: center;
    }

    .smg-step-card {
        padding: 2rem;
        max-width: none;
        width: 100%;
    }

    .smg-customer-persona {
        position: relative;
        width: 100%;
        margin-top: 2rem;
    }

    .smg-thought-bubble {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 1rem;
        max-width: none;
    }

    .smg-thought-tail {
        display: none;
    }

    .smg-journey-connection {
        display: none;
    }

    .smg-journey-svg {
        display: none;
    }

    .smg-progress-bar {
        width: 150px;
    }

    .smg-journey-progress {
        position: relative;
        height: auto;
        padding: 1rem;
        background: transparent;
    }
}

@media (max-width: 480px) {
    .smg-journey-container {
        padding: 0 1rem;
    }

    .smg-step-card {
        padding: 1.5rem;
    }

    .smg-step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .smg-step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .smg-persona-avatar {
        margin-bottom: 0;
    }

    .smg-avatar-image {
        width: 80px;
        height: 80px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .smg-customer-journey-widget[data-style="clean"] {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    }

    .smg-customer-journey-widget[data-style="clean"] .smg-journey-title {
        background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .smg-customer-journey-widget[data-style="clean"] .smg-journey-subtitle,
    .smg-customer-journey-widget[data-style="clean"] .smg-step-description {
        color: #94a3b8;
    }
} /* Force refresh: Mi 28 Mai 2025 22:15:25 CEST */
/* Fixed layout and sidebar: Mi 28 Mai 2025 22:19:23 CEST */
/* Sarah's Journey Fix: Mi 28 Mai 2025 22:21:17 CEST */
/* Vertical Layout Complete: Do 29 Mai 2025 04:34:48 CEST */
/* Alternating Layout Restored: Do 29 Mai 2025 04:37:12 CEST */
