/* --------------------------------------------------
   Nafzh – Über uns (about page)
   Bespoke sections on top of frontend-pages.css
--------------------------------------------------- */

.ab {
    padding: 84px 0;
    position: relative;
}

.ab--intro {
    padding-top: 92px;
}

.ab--stats {
    padding-top: 12px;
}

/* ---------- Section head ---------- */
.ab-section-head {
    max-width: 720px;
    margin: 0 auto 52px;
    text-align: center;
}

/* ---------- Intro ---------- */
.ab-intro {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 64px;
    align-items: center;
}

.ab-figure {
    position: relative;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.35);
    background: linear-gradient(135deg, var(--color-card), var(--color-border));
}

.ab-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.ab-figure:hover img {
    transform: scale(1.05);
}

.ab-ph-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.ab-lead {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
}

.ab-text p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.ab-checks {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.ab-checks li {
    position: relative;
    padding-left: 34px;
    color: var(--color-text);
    font-weight: 500;
}

.ab-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Stats ---------- */
.ab-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ab--stats .stat-item {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 28px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ab--stats .stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 22px 45px -22px rgba(37, 99, 235, 0.35);
}

/* ---------- Values ---------- */
.ab-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ab-value-card {
    position: relative;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 28px 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ab-value-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ab-value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 26px 50px -24px rgba(15, 23, 42, 0.25);
}

.ab-value-card:hover::before {
    opacity: 1;
}

.ab-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.ab-value-card:hover .ab-value-icon {
    transform: scale(1.08) rotate(-3deg);
}

.ab-value-icon svg {
    width: 26px;
    height: 26px;
}

.ab-value-icon--blue  { color: #2563EB; background: rgba(37, 99, 235, 0.12); }
.ab-value-icon--cyan  { color: #0099CC; background: rgba(0, 153, 204, 0.12); }
.ab-value-icon--green { color: #059669; background: rgba(5, 150, 105, 0.12); }
.ab-value-icon--purple{ color: #7C3AED; background: rgba(124, 58, 237, 0.12); }

.ab-value-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-text);
}

.ab-value-card p {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ---------- Story / timeline ---------- */
.ab--story {
    background: linear-gradient(180deg, #fff 0%, var(--color-card) 100%);
}

.ab-story {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 64px;
    align-items: center;
}

.ab-figure--story {
    min-height: 460px;
}

.ab-timeline {
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    position: relative;
}

.ab-timeline::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), rgba(0, 153, 204, 0.25));
}

.ab-tl-item {
    position: relative;
    padding: 0 0 30px 68px;
}

.ab-tl-item:last-child {
    padding-bottom: 0;
}

.ab-tl-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-sm);
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    box-shadow: 0 12px 26px -12px rgba(37, 99, 235, 0.55);
}

.ab-tl-body h3 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-text);
}

.ab-tl-body p {
    margin: 0;
    line-height: 1.65;
    color: var(--color-text-secondary);
}

/* ---------- Market band ---------- */
.ab--market {
    padding-top: 12px;
}

.ab-market {
    position: relative;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
    border-radius: 28px;
    padding: 56px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 60%, #0C4A6E 100%);
    box-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.6);
}

.ab-market-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(420px 260px at 12% 0%, rgba(37, 99, 235, 0.35), transparent 70%),
        radial-gradient(480px 320px at 100% 100%, rgba(0, 153, 204, 0.3), transparent 70%);
    opacity: 0.9;
}

.ab-market .ab-figure {
    border-radius: 20px;
    box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.55);
}

.ab-market-figure {
    min-height: 400px;
}

.ab-ph-badge--light {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.ab-market-text {
    position: relative;
    z-index: 1;
}

.ab-market-text .section-title {
    color: #fff;
}

.ab-market-text p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.ab-market-text .ab-checks li,
.ab-market-text .ab-checks {
    color: #fff;
    margin-top: 20px;
}

.ab-market-text .ab-checks {
    gap: 10px;
}

.ab-market-text .section-eyebrow > span:last-child {
    color: rgba(255, 255, 255, 0.85);
}

.ab-market-text .eyebrow-line {
    background: var(--color-accent);
}

.ab-market-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.ab-btn-light.btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.ab-btn-light.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .ab-intro,
    .ab-story,
    .ab-market {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ab-figure--story,
    .ab-market-figure {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .ab {
        padding: 64px 0;
    }

    .ab-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ab-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .ab-market {
        padding: 36px 24px;
        border-radius: 20px;
    }
}

@media (max-width: 520px) {
    .ab-stats-grid,
    .ab-values {
        grid-template-columns: 1fr;
    }
}