/* ==========================================================
 * Maximize-Tech – Custom Styles
 * ========================================================== */

/* ===== FONTS (self-hosted, DSGVO-konform) ===== */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/outfit-300.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/outfit-regular.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/outfit-500.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/outfit-600.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/outfit-700.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/outfit-800.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/outfit-900.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/sora-300.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/sora-regular.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/sora-500.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/sora-600.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/sora-700.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/sora-800.woff2') format('woff2'); }

/* ===== BASE ===== */
body {
    font-family: 'Sora', sans-serif;
    background: #fafbfc;
    color: #1b2540;
    overflow-x: hidden;
    line-height: 1.6;
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p {
    line-height: 1.7;
    margin-bottom: 1.2em;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f4f6f8; }
::-webkit-scrollbar-thumb { background: #f97316; border-radius: 10px; }

/* ===== HERO ===== */
.hero-bg {
    background:
        radial-gradient(ellipse 80% 50% at 70% 20%, rgba(249,115,22,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 60% 60% at 15% 70%, rgba(67,94,165,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 85% 80%, rgba(249,115,22,0.05) 0%, transparent 50%),
        linear-gradient(135deg, #fafbfc 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120,119,198,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249,115,22,0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(67,94,165,0.02) 0%, transparent 50%);
    pointer-events: none;
}
.hero-grid {
    background-image:
        linear-gradient(rgba(27,37,64,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27,37,64,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, black 20%, transparent 75%);
}

/* ===== ENHANCED FLOATING SHAPES ===== */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}
.hero-shape-1 {
    width: 500px; height: 500px;
    top: 5%; right: -5%;
    background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
    animation: shapeFloat 15s ease-in-out infinite alternate;
}
.hero-shape-2 {
    width: 400px; height: 400px;
    bottom: 10%; left: -3%;
    background: radial-gradient(circle, rgba(67,94,165,0.06) 0%, transparent 70%);
    animation: shapeFloat2 18s ease-in-out infinite alternate;
}
.hero-shape-3 {
    width: 200px; height: 200px;
    top: 40%; right: 20%;
    background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 70%);
    animation: shapeFloat 12s ease-in-out infinite alternate-reverse;
}
@keyframes shapeFloat {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(-30px, 20px) scale(1.1) rotate(90deg); }
    100% { transform: translate(-20px, 15px) scale(1.05) rotate(180deg); }
}
@keyframes shapeFloat2 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(25px, -15px) scale(1.08) rotate(-90deg); }
    100% { transform: translate(15px, -10px) scale(1.03) rotate(-180deg); }
}

/* ===== ENHANCED DECORATIVE DOTS ===== */
.dot-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: dotPulse 4s ease-in-out infinite;
    filter: blur(1px);
}
.dot-1 { 
    width: 8px; height: 8px; 
    background: rgba(249,115,22,0.3); 
    top: 25%; right: 28%; 
    animation-delay: 0s; 
    box-shadow: 0 0 10px rgba(249,115,22,0.2);
}
.dot-2 { 
    width: 6px; height: 6px; 
    background: rgba(67,94,165,0.2); 
    top: 55%; right: 18%; 
    animation-delay: -1.5s; 
    box-shadow: 0 0 8px rgba(67,94,165,0.15);
}
.dot-3 { 
    width: 7px; height: 7px; 
    background: rgba(249,115,22,0.2); 
    top: 70%; right: 35%; 
    animation-delay: -3s; 
    box-shadow: 0 0 9px rgba(249,115,22,0.15);
}
.dot-4 { 
    width: 5px; height: 5px; 
    background: rgba(27,37,64,0.1); 
    top: 30%; left: 55%; 
    animation-delay: -2s; 
    box-shadow: 0 0 6px rgba(27,37,64,0.08);
}
@keyframes dotPulse {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(1); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.8); 
    }
}

/* ===== NAV ===== */
.nav-scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(27,37,64,0.06);
    box-shadow: 0 4px 30px -4px rgba(27,37,64,0.04);
}
.nav-scrolled .nav-logo {
    height: 70px;
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}
.nav-link:hover::after { width: 100%; }
.nav-link-active::after { width: 100%; }

/* ===== CARD ===== */
.card {
    background: #fff;
    border: 1px solid rgba(27,37,64,0.05);
    border-radius: 24px;
    box-shadow: 0 24px 60px -24px rgba(27,37,64,0.10);
    overflow: hidden;
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #ea580c);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px -4px rgba(249,115,22,0.35), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 48px -8px rgba(249,115,22,0.4), 0 0 0 1px rgba(255,255,255,0.2) inset;
}
.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
}
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }

.btn-outline {
    border: 1.5px solid #1b2540;
    color: #1b2540;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1b2540 0%, #111827 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.btn-outline span, .btn-outline i { position: relative; z-index: 1; }
.btn-outline:hover::before { opacity: 1; }
.btn-outline:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 36px -8px rgba(27,37,64,0.2);
    border-color: transparent;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(27,37,64,0.08);
    border-radius: 24px;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px -8px rgba(27,37,64,0.06);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    transform: scaleX(0);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249,115,22,0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card:hover {
    border-color: rgba(249,115,22,0.15);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 64px -16px rgba(27,37,64,0.12), 0 0 0 1px rgba(249,115,22,0.1);
    background: rgba(255,255,255,0.95);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 28px -4px rgba(249,115,22,0.3);
}
.service-card:hover .service-icon i { color: #fff; }
.service-icon { transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1); }

/* ===== PROCESS CARDS ===== */
.process-card {
    position: relative;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.process-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.process-card:hover::before { opacity: 1; }
.process-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}
.process-card:hover::after { transform: scaleX(1); }
.process-card:hover {
    border-color: rgba(249,115,22,0.2);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 24px 48px -16px rgba(27,37,64,0.1);
    transform: translateY(-5px) scale(1.02);
}
.process-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 5rem;
    line-height: 1;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 12px;
    right: 16px;
    transition: all 0.4s ease;
}
.process-card:hover .process-number {
    background: linear-gradient(180deg, rgba(249,115,22,0.15) 0%, rgba(249,115,22,0.05) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(1.05);
}

/* ===== TECH TAGS ===== */
.tech-tag {
    background: rgba(244,246,248,0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(27,37,64,0.08);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.tech-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249,115,22,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tech-tag:hover::before { opacity: 1; }
.tech-tag:hover {
    border-color: rgba(249,115,22,0.2);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 8px 24px rgba(249,115,22,0.12);
    transform: translateY(-2px) scale(1.05);
}

/* ===== COUNTER CARDS ===== */
.counter-card {
    background: #fff;
    border: 1px solid rgba(27,37,64,0.05);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.counter-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249,115,22,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.counter-card:hover::before { opacity: 1; }
.counter-card:hover {
    border-color: rgba(249,115,22,0.12);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px -10px rgba(27,37,64,0.06);
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

.fade-scale {
    opacity: 0;
    transform: scale(0.94) translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-scale.visible { 
    opacity: 1; 
    transform: scale(1) translateY(0); 
}

.stagger-children .fade-up:nth-child(1) { transition-delay: 0ms; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 150ms; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 300ms; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 450ms; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 600ms; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 750ms; }

/* Hero entrance */
.hero-enter {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    animation: heroEnter 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-enter-1 { animation-delay: 0.1s; }
.hero-enter-2 { animation-delay: 0.4s; }
.hero-enter-3 { animation-delay: 0.7s; }
.hero-enter-4 { animation-delay: 1s; }
@keyframes heroEnter {
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* Logo entrance */
.logo-entrance {
    opacity: 0;
    transform: scale(0.85) translateX(-10px);
    animation: logoIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.05s;
}
@keyframes logoIn {
    to { opacity: 1; transform: scale(1) translateX(0); }
}

/* ===== SECTION LABEL ===== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #f97316;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1rem;
}
.section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(249,115,22,0.3);
}

.status-dot { animation: pulseDot 2s infinite; }
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.45); }
    50% { box-shadow: 0 0 0 8px rgba(249,115,22,0); }
}

.counter { font-variant-numeric: tabular-nums; }

/* Mobile nav */
.mobile-overlay { opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-panel { transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.mobile-overlay.open .mobile-panel { transform: translateX(0); }

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(27,37,64,0.07), transparent);
}
.no-ecommerce {
    background: linear-gradient(135deg, rgba(239,68,68,0.03) 0%, rgba(239,68,68,0.07) 100%);
    border: 1px solid rgba(239,68,68,0.08);
}

/* ===== CTA ===== */
.cta-card {
    background: linear-gradient(135deg, #1b2540 0%, #111827 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    animation: shapeFloat 10s ease-in-out infinite alternate;
}
.cta-card::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(67,94,165,0.1) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    animation: shapeFloat2 12s ease-in-out infinite alternate;
}
.cta-card .bg-white\/10 {
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}
.cta-card .bg-white\/10:hover {
    background: rgba(255,255,255,0.25) !important;
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* ===== MARQUEE ===== */
.marquee-wrapper { 
    overflow: hidden;
    position: relative;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.95) 50%, rgba(255,255,255,0.9) 100%);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
}
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, transparent 100%);
}
.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255,255,255,0.95) 0%, transparent 100%);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,0.035) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease, transform 0.2s ease;
    opacity: 0;
}
.cursor-glow.visible { opacity: 1; }
.cursor-glow.clicking {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.5;
}

/* Hide cursor glow on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor-glow {
        display: none;
    }
}

/* ===== FOOTER ===== */
footer a {
    transition: color 0.25s ease;
}

/* ===== NAVBAR - Glassmorphism Enhancement ===== */
nav {
    border-bottom: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-scrolled {
    border-bottom-color: rgba(27,37,64,0.05);
}

/* ===== SECTION DIVIDER GRADIENT ===== */
.section-fade-in {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

/* ===== STAT CARD ===== */
.stat-card {
    position: relative;
}
.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    border-radius: 1px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card:hover::after {
    width: 40px;
}

/* ===== PAGE HERO – Einheitliche Unterseiten ===== */
.page-hero {
    background:
        radial-gradient(ellipse 80% 50% at 70% 20%, rgba(249,115,22,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 60% at 15% 70%, rgba(67,94,165,0.04) 0%, transparent 60%),
        #fafbfc;
}

/* ===== HIGHLIGHT BADGE ===== */
.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249,115,22,0.07);
    border: 1px solid rgba(249,115,22,0.15);
    color: #ea580c;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
}

/* ===== MARQUEE ENHANCEMENT ===== */
.marquee-wrapper {
    position: relative;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, transparent 100%);
}
.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, #fff 0%, transparent 100%);
}

/* ===== ABOUT PAGE - Story Timeline ===== */
.story-step {
    position: relative;
}
.story-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 56px;
    bottom: -24px;
    width: 2px;
    background: linear-gradient(180deg, rgba(249,115,22,0.3) 0%, rgba(249,115,22,0.05) 100%);
}

/* ===== CONTACT PAGE ===== */
.contact-info-card {
    background: linear-gradient(135deg, rgba(249,115,22,0.03) 0%, rgba(249,115,22,0.07) 100%);
    border: 1px solid rgba(249,115,22,0.1);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(1.3); transform-origin: top; }
}

/* ===== ANIMATED GRADIENT TEXT ===== */
.hero-gradient-text {
    animation: gradientShift 4s ease-in-out infinite;
    background-size: 200% auto;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* ===== MODERN LOADING ANIMATIONS ===== */
.loading-pulse {
    animation: loadingPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes loadingPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes slideInLeft {
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes slideInRight {
    to { opacity: 1; transform: translateX(0); }
}

.rotate-in {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
    animation: rotateIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes rotateIn {
    to { opacity: 1; transform: rotate(0) scale(1); }
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(27,37,64,0.06);
    box-shadow: 0 8px 32px -8px rgba(27,37,64,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 20px 48px -12px rgba(27,37,64,0.1);
    border-color: rgba(249,115,22,0.15);
}

/* ===== GRADIENT BORDER CARD ===== */
.gradient-border-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
}
.gradient-border-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(249,115,22,0.2), transparent 50%, rgba(249,115,22,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gradient-border-card:hover::before {
    opacity: 1;
}

/* ===== NATIVE FAQ ACCORDION ===== */
details summary::-webkit-details-marker {
    display: none; /* Entfernt den Standard-Pfeil im Safari/Chrome */
}
details > summary {
    list-style: none; /* Entfernt den Pfeil im Firefox */
}
details[open] summary ~ * {
    animation: sweep .4s ease-in-out;
}
@keyframes sweep {
    0%    {opacity: 0; transform: translateY(-10px)}
    100%  {opacity: 1; transform: translateY(0)}
}

/* ===== SMOOTH HOVER LIFT ===== */
.hover-lift {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -16px rgba(27,37,64,0.1);
}

/* ===== MOBILE ENHANCEMENTS ===== */
@media (max-width: 768px) {
    .hero-bg {
        background:
            radial-gradient(ellipse 80% 50% at 70% 20%, rgba(249,115,22,0.06) 0%, transparent 70%),
            radial-gradient(ellipse 60% 60% at 15% 70%, rgba(67,94,165,0.04) 0%, transparent 60%),
            linear-gradient(135deg, #fafbfc 0%, #f8fafc 50%, #f1f5f9 100%);
    }
    
    .hero-shape-1 { width: 300px; height: 300px; }
    .hero-shape-2 { width: 250px; height: 250px; }
    .hero-shape-3 { width: 150px; height: 150px; }
    
    .dot-deco { display: none; }
    
    .service-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .process-card:hover {
        transform: translateY(-3px) scale(1.01);
    }
    
    .btn-primary:hover {
        transform: translateY(-2px) scale(1.01);
    }
    
    .btn-outline:hover {
        transform: translateY(-2px) scale(1.01);
    }
}

/* ===== TOUCH INTERACTIONS ===== */
@media (hover: none) and (pointer: coarse) {
    .service-card:active {
        transform: translateY(-4px) scale(0.98);
        transition: all 0.1s ease;
    }
    
    .process-card:active {
        transform: translateY(-3px) scale(0.98);
        transition: all 0.1s ease;
    }
    
    .btn-primary:active {
        transform: translateY(-1px) scale(0.98);
        transition: all 0.1s ease;
    }
    
    .btn-outline:active {
        transform: translateY(-1px) scale(0.98);
        transition: all 0.1s ease;
    }
    
    .faq-item:active {
        transform: scale(0.99);
        transition: all 0.1s ease;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .fade-up,
    .fade-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-enter {
        opacity: 1;
        transform: none;
        animation: none;
    }
    .logo-entrance {
        opacity: 1;
        transform: none;
        animation: none;
    }
    .hero-shape,
    .dot-deco,
    .status-dot {
        animation: none;
    }
    .marquee-track,
    .hero-gradient-text,
    .scroll-line {
        animation: none;
    }
    .loading-pulse,
    .loading-shimmer,
    .bounce-in,
    .slide-in-left,
    .slide-in-right,
    .rotate-in {
        animation: none;
    }
    .score-ring-progress {
        transition: none !important;
    }
}

/* ==========================================================
 * PREMIUM UPGRADE – Interactive Hero, Skills, Micro-Interactions
 * ========================================================== */

/* ===== HERO SPOTLIGHT ===== */
.hero-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        600px circle at var(--mx, 60%) var(--my, 30%),
        rgba(249,115,22,0.055) 0%,
        rgba(249,115,22,0.02) 30%,
        transparent 65%
    );
    transition: background 0.1s linear;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.hero-spotlight.active { opacity: 1; }

/* ===== HERO PARALLAX SHAPES – layer hints ===== */
.hero-shape { will-change: transform; }

/* ===== MAGNETIC BUTTON ===== */
.btn-primary,
.btn-outline {
    will-change: transform;
}

/* ===== SKILLS IN ACTION SECTION ===== */
.skills-section {
    background: linear-gradient(160deg, #0d1526 0%, #111827 40%, #0f1e38 100%);
    position: relative;
    overflow: hidden;
}
.skills-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249,115,22,0.07) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.skills-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(67,94,165,0.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* ===== LIGHTHOUSE SCORE RING ===== */
.score-ring-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.score-ring-svg {
    transform: rotate(-90deg);
    overflow: visible;
}
.score-ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.06);
    stroke-width: 5;
}
.score-ring-progress {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 264; /* 2π × r=42 ≈ 264 */
    stroke-dashoffset: 264;
    transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.score-ring-progress.green  { stroke: #22c55e; }
.score-ring-progress.orange { stroke: #f97316; }
.score-ring-progress.blue   { stroke: #60a5fa; }
.score-ring-progress.purple { stroke: #a78bfa; }

.score-ring-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -54%);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.score-ring-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    text-align: center;
}

/* ===== PERFORMANCE METRICS CARD ===== */
.metric-bar-track {
    height: 6px;
    border-radius: 99px;
    background: rgba(255,255,255,0.07);
    overflow: hidden;
    position: relative;
}
.metric-bar-fill {
    height: 100%;
    border-radius: 99px;
    width: 0%;
    transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}
.metric-bar-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: inherit;
    box-shadow: 0 0 8px currentColor;
    opacity: 0;
    transition: opacity 0.3s ease 1s;
}
.metric-bar-fill.filled::after { opacity: 1; }

.metric-bar-fill.green  { background: linear-gradient(90deg, #16a34a, #22c55e); }
.metric-bar-fill.orange { background: linear-gradient(90deg, #ea580c, #f97316); }
.metric-bar-fill.blue   { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.metric-bar-fill.purple { background: linear-gradient(90deg, #7c3aed, #a78bfa); }

/* ===== CODE WINDOW DECORATION ===== */
.code-window {
    background: #0d1117;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    box-shadow: 0 32px 80px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.code-window-bar {
    background: #161b22;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.code-dot {
    width: 12px; height: 12px; border-radius: 50%;
}
.code-dot-r { background: #ff5f57; }
.code-dot-y { background: #febc2e; }
.code-dot-g { background: #28c840; }
.code-window-body {
    padding: 20px 24px;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.8rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.7);
    counter-reset: line;
}
.code-line {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.code-line.visible {
    opacity: 1;
    transform: translateX(0);
}
.code-ln {
    color: rgba(255,255,255,0.2);
    user-select: none;
    min-width: 1.2em;
    text-align: right;
}
.code-kw  { color: #ff79c6; }
.code-fn  { color: #50fa7b; }
.code-str { color: #f1fa8c; }
.code-num { color: #bd93f9; }
.code-cm  { color: rgba(255,255,255,0.3); font-style: italic; }
.code-attr { color: #8be9fd; }
.code-val  { color: #ffb86c; }

/* ===== BEFORE / AFTER COMPARISON ===== */
.ba-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    user-select: none;
}
.ba-after, .ba-before {
    position: absolute;
    inset: 0;
}
.ba-before {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
}
.ba-after {
    background: linear-gradient(135deg, #0d1526 0%, #111827 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.05s linear;
}
.ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #f97316;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
    transition: left 0.05s linear;
}
.ba-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f97316;
    box-shadow: 0 0 20px rgba(249,115,22,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ba-divider::after {
    content: '⟺';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
}

/* ===== SCROLL REVEAL - SLIDE VARIANTS ===== */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== STAGGER WITH CUSTOM DELAY SUPPORT ===== */
.stagger-children [data-stagger] { transition-delay: calc(var(--stagger-delay, 0) * 1ms); }

/* ===== GLOW HOVER BADGES ===== */
.trust-badge {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.trust-badge::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(249,115,22,0.3), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 16px;
    z-index: -1;
    filter: blur(8px);
}
.trust-badge:hover::after { opacity: 1; }

/* ===== FLOATING LABEL DECORATION ===== */
.floating-tag {
    animation: floatTag 3s ease-in-out infinite alternate;
}
.floating-tag-2 {
    animation: floatTag 3.8s ease-in-out infinite alternate-reverse;
}
@keyframes floatTag {
    0%   { transform: translateY(0px) rotate(-1deg); }
    100% { transform: translateY(-8px) rotate(1deg); }
}

/* ===== TECH STACK DOTS (Skills section) ===== */
.skill-dot {
    width: 8px; height: 8px; border-radius: 50%;
    display: inline-block;
    animation: dotPop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}
@keyframes dotPop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ===== REDUCED MOTION ADDONS ===== */
@media (prefers-reduced-motion: reduce) {
    .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .metric-bar-fill {
        transition: none;
    }
    .code-line {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .floating-tag, .floating-tag-2 {
        animation: none;
    }
}

/* ==========================================================
 * HERO REDESIGN – Two-Column Split with Lighthouse Card
 * ========================================================== */

/* ===== HERO ENTER: delay-5 ===== */
.hero-enter-5 { animation-delay: 1.1s; }

/* ===== TWO-COLUMN LAYOUT ===== */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 5rem;
    }
}

/* ===== STATS STRIP ===== */
.hero-stats-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(27,37,64,0.07);
    margin-top: 2rem;
}
.hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0.5rem 0;
}
.hero-stat-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: #1b2540;
    line-height: 1;
    letter-spacing: -0.03em;
}
.hero-stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(27,37,64,0.4);
}
.hero-stat-divider {
    width: 1px;
    background: rgba(27,37,64,0.1);
    align-self: stretch;
    margin: 0.5rem 0;
}

/* ===== HERO VISUAL COLUMN ===== */
.hero-visual-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
}
@media (min-width: 1024px) {
    .hero-visual-col {
        padding: 2.5rem 2rem;
    }
}

/* ===== FLOATING DASHBOARD CARD ===== */
.hero-visual-card {
    background: linear-gradient(155deg, #0e1726 0%, #1a2744 100%);
    border: 1px solid rgba(249,115,22,0.18);
    border-radius: 22px;
    overflow: hidden;
    width: 100%;
    max-width: 360px;
    position: relative;
    z-index: 2;
    box-shadow:
        0 0 0 1px rgba(249,115,22,0.06),
        0 40px 100px -20px rgba(0,0,0,0.5),
        0 0 80px -20px rgba(249,115,22,0.15),
        inset 0 1px 0 rgba(255,255,255,0.07);
    animation: heroCardFloat 5.5s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes heroCardFloat {
    0%   { transform: translateY(0px) rotate(-1.2deg); }
    100% { transform: translateY(-16px) rotate(-0.3deg); }
}

/* ===== CARD BROWSER CHROME ===== */
.hero-card-topbar {
    background: rgba(255,255,255,0.03);
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hero-h-dot {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.hero-h-dot.rd { background: #ff5f57; }
.hero-h-dot.yw { background: #febc2e; }
.hero-h-dot.gn { background: #28c840; }
.hero-url-pill {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 0.63rem;
    color: rgba(255,255,255,0.4);
    font-family: 'Courier New', monospace;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 10px;
}

/* ===== CARD BODY ===== */
.hero-card-body {
    padding: 20px 20px 20px;
}
.hero-card-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

/* ===== MINI SCORE RINGS (hero card) ===== */
/* viewBox 0 0 56 56 • cx=28 cy=28 r=24 • circumference = 2π×24 ≈ 151 */
.hero-score-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 20px;
}
.hero-ring-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.hero-ring-wrap {
    position: relative;
    width: 54px;
    height: 54px;
}
.hero-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}
.hero-ring-bg-track {
    fill: none;
    stroke: rgba(255,255,255,0.06);
    stroke-width: 4;
}
.hero-ring-fill {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: fillHeroRing 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--ring-delay, 0.4s);
}
@keyframes fillHeroRing {
    to { stroke-dashoffset: 0; }
}
.hero-ring-fill.green  { stroke: #22c55e; }
.hero-ring-fill.blue   { stroke: #60a5fa; }
.hero-ring-fill.purple { stroke: #a78bfa; }
.hero-ring-fill.orange { stroke: #f97316; }

.hero-ring-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 0.85rem;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}
.hero-ring-lbl {
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    text-align: center;
    white-space: nowrap;
}

/* ===== HERO MINI METRIC BARS ===== */
.hero-metrics {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.hero-metric-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-metric-key {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
    width: 30px;
    flex-shrink: 0;
}
.hero-metric-bar-track {
    flex: 1;
    height: 4px;
    border-radius: 99px;
    background: rgba(255,255,255,0.07);
    overflow: hidden;
}
.hero-metric-bar-fill {
    height: 100%;
    border-radius: 99px;
    width: 0;
    animation: barGrowHero 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--bar-delay, 1s);
}
@keyframes barGrowHero {
    to { width: var(--bar-w, 100%); }
}
.hero-metric-bar-fill.green  { background: linear-gradient(90deg, #16a34a, #22c55e); }
.hero-metric-bar-fill.purple { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.hero-metric-bar-fill.blue   { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.hero-metric-val {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.63rem;
    color: rgba(255,255,255,0.35);
    width: 32px;
    text-align: right;
    flex-shrink: 0;
}

/* ===== FLOATING CHIPS ===== */
.hero-chip {
    position: absolute;
    background: rgba(255,255,255,0.93);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 100px;
    padding: 8px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1b2540;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 8px 32px -4px rgba(27,37,64,0.14), 0 2px 6px rgba(0,0,0,0.07);
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
}
.hero-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hero-chip-dot.green  { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.6); }
.hero-chip-dot.orange { background: #f97316; box-shadow: 0 0 6px rgba(249,115,22,0.6); }
.hero-chip-dot.blue   { background: #60a5fa; box-shadow: 0 0 6px rgba(96,165,250,0.6); }

/* Hide floating chips on mobile/tablet – they rely on two-column layout */
@media (max-width: 1023px) {
    .hero-chip { display: none; }
}

/* Chip positions + individual float animations */
.hero-chip-1 {
    top: 8%;
    right: -6%;
    animation: chipFloat1 3.6s ease-in-out infinite alternate;
}
.hero-chip-2 {
    bottom: 20%;
    left: -12%;
    animation: chipFloat2 4.2s ease-in-out infinite alternate;
}
.hero-chip-3 {
    top: 47%;
    right: -10%;
    animation: chipFloat3 3s ease-in-out infinite alternate;
}
@keyframes chipFloat1 {
    0%   { transform: translateY(0px) rotate(1.5deg); }
    100% { transform: translateY(-9px) rotate(-0.5deg); }
}
@keyframes chipFloat2 {
    0%   { transform: translateY(0px) rotate(-2deg); }
    100% { transform: translateY(-11px) rotate(0.5deg); }
}
@keyframes chipFloat3 {
    0%   { transform: translateY(0px) rotate(0.5deg); }
    100% { transform: translateY(-7px) rotate(-1.5deg); }
}

/* ===== HERO CARD: small-phone ring scaling ===== */
@media (max-width: 399px) {
    .hero-ring-wrap { width: 44px; height: 44px; }
    .hero-ring-num  { font-size: 0.75rem; }
    .hero-score-row { gap: 4px; }
    .hero-card-body { padding: 16px; }
}

/* ===== HERO REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .hero-visual-card  { animation: none; transform: rotate(-1deg); }
    .hero-chip-1, .hero-chip-2, .hero-chip-3 { animation: none; }
    .hero-ring-fill    { animation: none; stroke-dashoffset: 0; }
    .hero-metric-bar-fill { animation: none; width: var(--bar-w, 100%); }
}
