/* ==========================================================
 * HERO REDESIGN – Clean & Elegant
 * Ersetzt alle alten Hero-Styles (.hero-bg, .hero-grid, 
 * .hero-shape, .dot-deco, .hero-spotlight, .hero-visual-card,
 * .hero-chip, .hero-layout, etc.)
 * ========================================================== */

/* ===== HERO CONTAINER ===== */
.hero-clean {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #fafbfc 0%, #f5f7fa 40%, #f0f4f8 100%);
}

/* Single subtle glow – ersetzt 3 Shapes + 4 Dots + Grid + Spotlight */
.hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 65% 30%, rgba(249,115,22,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 20% 70%, rgba(67,94,165,0.04) 0%, transparent 60%);
}

/* ===== SPLIT LAYOUT ===== */
.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-split {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
}

/* ===== TEXT SIDE ===== */
.hero-text {
    max-width: 580px;
}
@media (min-width: 1024px) {
    .hero-text {
        max-width: none;
    }
}

/* Gradient accent text – simple, no SVG underline */
.hero-accent-text {
    color: transparent;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 60%, #c2410c 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ===== ENTRANCE ANIMATIONS ===== */
.hero-fade {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-fade-1 { animation-delay: 0.1s; }
.hero-fade-2 { animation-delay: 0.25s; }
.hero-fade-3 { animation-delay: 0.45s; }
.hero-fade-4 { animation-delay: 0.65s; }

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STATS STRIP ===== */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(27,37,64,0.08);
}
.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.4rem 0;
}
.hero-stat-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: #1b2540;
    line-height: 1;
    letter-spacing: -0.03em;
}
.hero-stat-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(27,37,64,0.38);
}
.hero-stat-sep {
    width: 1px;
    background: rgba(27,37,64,0.1);
    align-self: stretch;
    margin: 0.4rem 0;
}
/* Auf kleinen Screens: Separatoren verstecken, Wrap zulassen */
@media (max-width: 479px) {
    .hero-stat-sep { display: none; }
    .hero-stats { gap: 0.5rem 1.5rem; }
}

/* ===== VISUAL SIDE ===== */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== SCORE CARD ===== */
.hero-score-card {
    width: 100%;
    max-width: 380px;
    background: linear-gradient(155deg, #111827 0%, #1a2744 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 28px 24px 24px;
    box-shadow:
        0 30px 80px -20px rgba(0,0,0,0.35),
        0 0 60px -15px rgba(249,115,22,0.1),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Eyebrow */
.hsc-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.08em;
    margin-bottom: 24px;
}

/* ===== SCORE RINGS ===== */
/* r=27 → circumference = 2π×27 ≈ 170 */
.hsc-rings {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}
.hsc-ring-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.hsc-ring-wrap {
    position: relative;
    width: 60px;
    height: 60px;
}
.hsc-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}
.hsc-ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.06);
    stroke-width: 4;
}
.hsc-ring-fill {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 170;
    stroke-dashoffset: 170;
    animation: hscRingFill 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--ring-delay, 0.4s);
}
@keyframes hscRingFill {
    to { stroke-dashoffset: 0; }
}
.hsc-ring-fill.green  { stroke: #22c55e; }
.hsc-ring-fill.blue   { stroke: #60a5fa; }
.hsc-ring-fill.purple { stroke: #a78bfa; }
.hsc-ring-fill.orange { stroke: #f97316; }

.hsc-ring-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    color: #fff;
    line-height: 1;
}
.hsc-ring-lbl {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    text-align: center;
    line-height: 1.2;
}

/* ===== METRIC BARS ===== */
.hsc-metrics {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.hsc-metric-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hsc-metric-key {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    width: 32px;
    flex-shrink: 0;
}
.hsc-metric-track {
    flex: 1;
    height: 5px;
    border-radius: 99px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
}
.hsc-metric-fill {
    height: 100%;
    border-radius: 99px;
    width: 0;
    animation: hscBarGrow 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--bar-delay, 1s);
}
@keyframes hscBarGrow {
    to { width: var(--bar-w, 100%); }
}
.hsc-metric-fill.green  { background: linear-gradient(90deg, #16a34a, #22c55e); }
.hsc-metric-fill.purple { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.hsc-metric-fill.blue   { background: linear-gradient(90deg, #2563eb, #60a5fa); }

.hsc-metric-val {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    width: 34px;
    text-align: right;
    flex-shrink: 0;
}

/* ===== BOTTOM BADGES ===== */
.hsc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 16px;
}
.hsc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 100px;
    padding: 5px 12px;
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.02em;
}

/* ===== MOBILE ANPASSUNGEN ===== */
@media (max-width: 1023px) {
    .hero-clean {
        min-height: auto;
    }
    .hero-score-card {
        max-width: 340px;
    }
}
@media (max-width: 479px) {
    .hsc-ring-wrap {
        width: 50px;
        height: 50px;
    }
    .hsc-ring-num {
        font-size: 0.8rem;
    }
    .hsc-rings {
        gap: 4px;
    }
    .hero-score-card {
        padding: 22px 18px 20px;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .hero-fade {
        opacity: 1;
        transform: none;
        animation: none;
    }
    .hsc-ring-fill {
        animation: none;
        stroke-dashoffset: 0;
    }
    .hsc-metric-fill {
        animation: none;
        width: var(--bar-w, 100%);
    }
}