.seo-public-header {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.knowledge-authenticated .seo-public-header,
.knowledge-authenticated .seo-public-only,
.knowledge-authenticated .seo-footer {
    display: none !important;
}

.seo-auth-only {
    display: none;
}

.knowledge-authenticated .seo-auth-only {
    display: block;
}

.knowledge-authenticated .seo-page,
.knowledge-authenticated .article-page,
.knowledge-authenticated .wissen-page {
    margin-top: 34px;
}

.knowledge-authenticated .seo-article,
.knowledge-authenticated .article-shell,
.knowledge-authenticated .wissen-grid-section {
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.seo-brand {
    color: #13283b;
    font-weight: 850;
    text-decoration: none;
    font-size: 1.05rem;
}

.seo-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seo-nav a,
.seo-cta-row a,
.seo-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 999px;
    border: 1px solid #cddbe6;
    color: #214661;
    background: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 800;
}

.seo-nav a:last-child,
.seo-cta-row a:first-child {
    background: #17304a;
    border-color: #17304a;
    color: #fff;
}

.seo-page {
    max-width: 1080px;
    margin: 28px auto 72px;
    padding: 0 24px;
}

.seo-article {
    overflow: hidden;
    border: 1px solid #d9e2ea;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.seo-hero {
    padding: clamp(30px, 5vw, 52px);
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
    border-bottom: 1px solid #e1e8ef;
}

.seo-kicker {
    margin: 0 0 10px;
    color: #607384;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.seo-hero h1 {
    max-width: 13ch;
    margin: 0;
    color: #13283b;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.seo-lead {
    max-width: 72ch;
    margin: 18px 0 0;
    color: #536b7d;
    font-size: 1.06rem;
    line-height: 1.78;
}

.seo-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.seo-body {
    padding: clamp(28px, 4vw, 44px);
}

.seo-body h2 {
    margin: 34px 0 12px;
    color: #17304a;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.16;
}

.seo-body h2:first-child {
    margin-top: 0;
}

.seo-body p,
.seo-body li {
    color: #4f6476;
    font-size: 1rem;
    line-height: 1.82;
}

.seo-body ul,
.seo-body ol {
    margin: 0 0 18px 22px;
    padding: 0;
}

.seo-note,
.seo-example,
.seo-final-cta {
    margin: 24px 0;
    padding: 22px;
    border: 1px solid #dbe4ec;
    border-radius: 18px;
    background: #f8fbfd;
}

.seo-example {
    background: #fbfdfe;
}

.seo-example strong,
.seo-note strong {
    color: #17304a;
}

.seo-formula {
    display: inline-flex;
    margin: 8px 0;
    padding: 9px 12px;
    border-radius: 10px;
    background: #eef6fb;
    color: #17304a;
    font-weight: 850;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.seo-topic-card {
    padding: 18px;
    border: 1px solid #dbe4ec;
    border-radius: 16px;
    background: #ffffff;
}

.seo-topic-card h3 {
    margin: 0 0 8px;
    color: #17304a;
}

.seo-topic-card p {
    margin: 0;
}

.seo-steps,
.seo-two-col {
    display: grid;
    gap: 14px;
    margin: 18px 0 24px;
}

.seo-steps {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.seo-step {
    padding: 18px;
    border: 1px solid #dbe4ec;
    border-radius: 16px;
    background: #ffffff;
}

.seo-step span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #3972a0;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seo-step strong {
    display: block;
    color: #17304a;
    margin-bottom: 6px;
}

.seo-step p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.62;
}

.seo-two-col {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.seo-table {
    width: 100%;
    margin: 18px 0 26px;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid #dbe4ec;
    border-radius: 16px;
    font-size: 0.98rem;
}

.seo-table th,
.seo-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #dbe4ec;
    text-align: left;
    vertical-align: top;
}

.seo-table th {
    background: #f3f7fa;
    color: #17304a;
}

.seo-table tr:last-child td {
    border-bottom: 0;
}

.seo-inline-tip {
    margin: 18px 0;
    padding: 16px 18px;
    border-left: 5px solid #3b7a57;
    border-radius: 14px;
    background: #f3fbf6;
}

.seo-inline-tip p {
    margin: 0;
}

.seo-final-cta {
    background: linear-gradient(135deg, #17304a 0%, #1d6f78 100%);
}

.seo-final-cta h2,
.seo-final-cta p {
    color: #fff;
}

.seo-final-cta .seo-cta-row a:first-child {
    background: #fff;
    border-color: #fff;
    color: #17304a;
}

.seo-footer {
    max-width: 1080px;
    margin: -42px auto 34px;
    padding: 0 24px;
    color: #65788a;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .seo-public-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .seo-nav,
    .seo-cta-row {
        width: 100%;
    }

    .seo-nav a,
    .seo-cta-row a {
        flex: 1;
    }
}
