/* =========================================================
   SEO-UNTERSEITEN (Funktionen, Branchen, Ratgeber)
   ========================================================= */

.seo-page {
    background: var(--ui-bg);
    color: var(--ui-text);
    font-family: var(--ui-font);
}

.seo-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Hero ---------- */

.seo-hero {
    padding: 34px 0 56px;
    background:
        radial-gradient(circle at 85% 10%, rgba(var(--ui-brand-rgb), .12), transparent 34%),
        radial-gradient(circle at 5% 90%, rgba(var(--ui-brand-rgb), .06), transparent 30%),
        var(--ui-surface);
    border-bottom: 1px solid var(--ui-line);
}

.seo-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: .84rem;
    color: var(--ui-muted);
}

    .seo-breadcrumb a {
        color: var(--ui-muted);
        text-decoration: none;
    }

        .seo-breadcrumb a:hover {
            color: var(--ui-brand-600);
        }

    .seo-breadcrumb i {
        font-size: .7rem;
        color: var(--ui-subtle);
    }

    .seo-breadcrumb span {
        color: var(--ui-ink);
        font-weight: 600;
    }

.seo-hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
}

.seo-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--ui-brand-50);
    border: 1px solid var(--ui-brand-200);
    color: var(--ui-brand-600);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.seo-hero h1 {
    margin: 0 0 18px;
    color: var(--ui-ink);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.seo-lead {
    margin: 0 0 24px;
    max-width: 640px;
    font-size: 1.1rem;
    line-height: 1.65;
}

.seo-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: -8px 0 22px;
    font-size: .85rem;
    color: var(--ui-muted);
}

.seo-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.seo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 14px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.seo-btn-primary {
    background: var(--ui-brand-gradient);
    color: #fff;
    box-shadow: 0 10px 24px rgba(var(--ui-brand-rgb), .3);
}

    .seo-btn-primary:hover {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(var(--ui-brand-rgb), .36);
    }

.seo-btn-ghost {
    background: var(--ui-surface);
    color: var(--ui-ink);
    border: 1px solid var(--ui-line-strong);
}

    .seo-btn-ghost:hover {
        color: var(--ui-ink);
        background: var(--ui-surface-3);
    }

.seo-highlights {
    padding: 26px;
    border-radius: var(--ui-radius-lg);
    background: var(--ui-surface);
    border: 1px solid var(--ui-line);
    box-shadow: 0 24px 50px rgba(13, 18, 28, .08);
}

    .seo-highlights h2 {
        margin: 0 0 16px;
        color: var(--ui-ink);
        font-size: 1rem;
        font-weight: 700;
    }

    .seo-highlights ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 12px;
    }

    .seo-highlights li {
        display: flex;
        gap: 10px;
        line-height: 1.45;
    }

        .seo-highlights li i {
            color: var(--ui-brand);
            margin-top: 2px;
        }

/* ---------- Inhalt ---------- */

.seo-content {
    padding-top: 56px;
    padding-bottom: 64px;
    max-width: 860px;
}

.seo-section {
    margin-bottom: 44px;
}

    .seo-section h2,
    .seo-faq h2,
    .seo-related h2 {
        margin: 0 0 14px;
        color: var(--ui-ink);
        font-size: clamp(1.35rem, 2.6vw, 1.75rem);
        font-weight: 750;
        letter-spacing: -.02em;
        line-height: 1.25;
    }

    .seo-section p {
        margin: 0 0 14px;
        font-size: 1.02rem;
        line-height: 1.75;
    }

.seo-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 18px 20px;
    display: grid;
    gap: 10px;
    border-radius: var(--ui-radius);
    background: var(--ui-surface);
    border: 1px solid var(--ui-line);
}

    .seo-list li {
        display: flex;
        gap: 10px;
        line-height: 1.5;
    }

        .seo-list li i {
            color: var(--ui-success);
            font-size: 1.1rem;
        }

/* ---------- FAQ ---------- */

.seo-faq {
    margin: 12px 0 56px;
}

    .seo-faq details {
        margin-bottom: 10px;
        border-radius: var(--ui-radius);
        background: var(--ui-surface);
        border: 1px solid var(--ui-line);
        overflow: hidden;
    }

    .seo-faq summary {
        position: relative;
        padding: 18px 52px 18px 20px;
        color: var(--ui-ink);
        font-weight: 650;
        cursor: pointer;
        list-style: none;
    }

        .seo-faq summary::-webkit-details-marker {
            display: none;
        }

        .seo-faq summary::after {
            content: "+";
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--ui-brand);
            font-size: 1.4rem;
            font-weight: 400;
        }

    .seo-faq details[open] summary::after {
        content: "–";
    }

    .seo-faq details p {
        margin: 0;
        padding: 0 20px 18px;
        line-height: 1.7;
    }

/* ---------- Verwandte Seiten / Karten ---------- */

.seo-related-grid,
.seo-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}

.seo-related-card,
.seo-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    border-radius: var(--ui-radius);
    background: var(--ui-surface);
    border: 1px solid var(--ui-line);
    color: var(--ui-text);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .seo-related-card:hover,
    .seo-card:hover {
        color: var(--ui-text);
        transform: translateY(-2px);
        border-color: rgba(var(--ui-brand-rgb), .4);
        box-shadow: 0 16px 34px rgba(13, 18, 28, .08);
    }

    .seo-related-card > i,
    .seo-card > i {
        display: inline-grid;
        place-items: center;
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
        border-radius: 12px;
        background: var(--ui-brand-50);
        color: var(--ui-brand);
        font-size: 1.15rem;
    }

    .seo-related-card strong,
    .seo-card strong {
        color: var(--ui-ink);
        font-size: 1.02rem;
        line-height: 1.35;
    }

.seo-related-kind {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ui-muted);
}

.seo-related-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
    color: var(--ui-brand-600);
    font-weight: 650;
    font-size: .9rem;
}

.seo-card p {
    margin: 0;
    font-size: .93rem;
    line-height: 1.6;
}

/* ---------- CTA ---------- */

.seo-cta {
    padding: 64px 0;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(var(--ui-brand-rgb), .22), transparent 55%),
        var(--ui-ink-2);
    color: rgba(255, 255, 255, .8);
}

    .seo-cta h2 {
        margin: 0 0 12px;
        color: #fff;
        font-size: clamp(1.5rem, 3vw, 2.1rem);
        font-weight: 800;
        letter-spacing: -.025em;
    }

    .seo-cta p {
        margin: 0 auto 26px;
        max-width: 520px;
        line-height: 1.6;
    }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .seo-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .seo-hero {
        padding-bottom: 40px;
    }
}

@media (max-width: 520px) {
    .seo-hero-actions .seo-btn {
        width: 100%;
    }

    .seo-content {
        padding-top: 40px;
    }
}

.seo-section-title {
    margin: 0 0 22px;
    color: var(--ui-ink);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -.025em;
    text-align: center;
}
