/* =========================================================
   AFN HOME APP EXPANDED
   Erweiterte Startseite für anlageformen.net
   Risk-Hubs, Suche, FAQ, RSS, Autorenprofil
========================================================= */

.afn-home-app-shell-expanded {
    --afn-bg: #f6f3ff;
    --afn-surface: #ffffff;
    --afn-surface-soft: #fbf9ff;
    --afn-surface-alt: #f1ebff;
    --afn-border: rgba(124, 58, 237, 0.12);
    --afn-border-strong: rgba(124, 58, 237, 0.18);
    --afn-text: #1e1633;
    --afn-text-soft: #665d7a;
    --afn-text-muted: #8a82a3;
    --afn-primary: #a21caf;
    --afn-primary-strong: #86198f;
    --afn-secondary: #7c3aed;
    --afn-secondary-soft: #ede9fe;
    --afn-success: #15803d;
    --afn-danger: #b91c1c;
    --afn-warning: #b45309;
    --afn-shadow-sm: 0 10px 30px rgba(66, 41, 122, 0.06);
    --afn-shadow-md: 0 18px 48px rgba(66, 41, 122, 0.1);
    --afn-shadow-lg: 0 24px 60px rgba(66, 41, 122, 0.14);
    --afn-radius-sm: 16px;
    --afn-radius-md: 24px;
    --afn-radius-lg: 32px;
    --afn-max-width: 1440px;
    background:
        radial-gradient(circle at top left, rgba(162, 28, 175, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 28%),
        linear-gradient(180deg, #faf8ff 0%, #f5f1ff 100%);
    color: var(--afn-text);
    padding: 24px;
}

.afn-home-app-shell-expanded * {
    box-sizing: border-box;
}

.afn-home-app-shell-expanded a {
    color: inherit;
    text-decoration: none;
}

.afn-home-app-shell-expanded img {
    max-width: 100%;
    height: auto;
    display: block;
}

.afn-home-app-shell-expanded .afn-container {
    max-width: var(--afn-max-width);
    margin: 0 auto;
}

.afn-home-app-shell-expanded .afn-home-app-topbar,
.afn-home-app-shell-expanded .afn-home-hero,
.afn-home-app-shell-expanded .afn-home-band,
.afn-home-app-shell-expanded .afn-home-strip .afn-container {
    max-width: var(--afn-max-width);
    margin-left: auto;
    margin-right: auto;
}

.afn-home-app-shell-expanded .afn-home-app-topbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.afn-home-app-shell-expanded .afn-market-pill {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--afn-border);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: var(--afn-shadow-sm);
    backdrop-filter: blur(10px);
}

.afn-home-app-shell-expanded .afn-market-pill span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--afn-secondary);
    line-height: 1.3;
}

.afn-home-app-shell-expanded .afn-market-pill strong {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--afn-text-soft);
    line-height: 1.45;
}

.afn-home-app-shell-expanded .afn-market-pill-topic {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.afn-home-app-shell-expanded .afn-market-pill-topic:hover {
    transform: translateY(-3px);
    border-color: rgba(162, 28, 175, 0.2);
    box-shadow: var(--afn-shadow-md);
    background: linear-gradient(180deg, #ffffff 0%, #faf6ff 100%);
}

.afn-home-app-shell-expanded .afn-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.85fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 26px;
}

.afn-home-app-shell-expanded .afn-home-hero-main,
.afn-home-app-shell-expanded .afn-home-hero-side {
    min-width: 0;
}

.afn-home-app-shell-expanded .afn-home-hero-main {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 244, 255, 0.96) 100%);
    border: 1px solid var(--afn-border);
    border-radius: var(--afn-radius-lg);
    padding: 34px;
    box-shadow: var(--afn-shadow-md);
    position: relative;
    overflow: hidden;
}

.afn-home-app-shell-expanded .afn-home-hero-main::before {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(162, 28, 175, 0.12), transparent 70%);
    pointer-events: none;
}

.afn-home-app-shell-expanded .afn-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--afn-primary-strong);
    background: rgba(162, 28, 175, 0.08);
    border: 1px solid rgba(162, 28, 175, 0.12);
    border-radius: 999px;
    padding: 9px 14px;
    margin-bottom: 18px;
}

.afn-home-app-shell-expanded .afn-home-kicker-light {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}

.afn-home-app-shell-expanded .afn-home-hero-main h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--afn-text);
    max-width: 920px;
}

.afn-home-app-shell-expanded .afn-home-hero-main > p {
    margin: 0;
    max-width: 860px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--afn-text-soft);
}

.afn-home-app-shell-expanded .afn-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.afn-home-app-shell-expanded .afn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.96rem;
    line-height: 1;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.afn-home-app-shell-expanded .afn-btn:hover {
    transform: translateY(-2px);
}

.afn-home-app-shell-expanded .afn-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--afn-primary) 0%, var(--afn-secondary) 100%);
    box-shadow: 0 14px 28px rgba(162, 28, 175, 0.24);
}

.afn-home-app-shell-expanded .afn-btn-primary:hover {
    box-shadow: 0 18px 36px rgba(162, 28, 175, 0.3);
}

.afn-home-app-shell-expanded .afn-btn-secondary {
    color: var(--afn-secondary);
    background: #ffffff;
    border-color: var(--afn-border-strong);
    box-shadow: var(--afn-shadow-sm);
}

.afn-home-app-shell-expanded .afn-btn-secondary:hover {
    border-color: rgba(124, 58, 237, 0.28);
}

.afn-home-app-shell-expanded .afn-btn-soft {
    color: var(--afn-primary-strong);
    background: rgba(162, 28, 175, 0.08);
    border-color: rgba(162, 28, 175, 0.12);
}

.afn-home-app-shell-expanded .afn-home-quick-grid {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.afn-home-app-shell-expanded .afn-home-quick-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.afn-home-app-shell-expanded .afn-home-quick-card,
.afn-home-app-shell-expanded .afn-soft-card,
.afn-home-app-shell-expanded .afn-panel,
.afn-home-app-shell-expanded .afn-feature-card,
.afn-home-app-shell-expanded .afn-home-closing-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--afn-border);
    border-radius: var(--afn-radius-md);
    box-shadow: var(--afn-shadow-sm);
}

.afn-home-app-shell-expanded .afn-home-quick-card {
    padding: 20px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.afn-home-app-shell-expanded .afn-home-quick-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--afn-shadow-md);
    border-color: rgba(162, 28, 175, 0.18);
}

.afn-home-app-shell-expanded .afn-home-quick-card h3 {
    margin: 0 0 10px;
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--afn-text);
}

.afn-home-app-shell-expanded .afn-home-quick-card h3 a:hover {
    color: var(--afn-primary);
}

.afn-home-app-shell-expanded .afn-home-quick-card p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--afn-text-soft);
}

.afn-home-app-shell-expanded .afn-link-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.afn-home-app-shell-expanded .afn-topic-chip,
.afn-home-app-shell-expanded .afn-topic-chip-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--afn-border);
    color: var(--afn-text-soft);
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.afn-home-app-shell-expanded .afn-topic-chip:hover,
.afn-home-app-shell-expanded .afn-topic-chip-inline:hover {
    transform: translateY(-2px);
    color: var(--afn-primary-strong);
    border-color: rgba(162, 28, 175, 0.22);
    box-shadow: var(--afn-shadow-sm);
}

.afn-home-app-shell-expanded .afn-topic-chip-inline.is-static {
    cursor: default;
    pointer-events: none;
    background: rgba(162, 28, 175, 0.08);
    border-color: rgba(162, 28, 175, 0.12);
    color: var(--afn-primary-strong);
}

.afn-home-app-shell-expanded .afn-home-hero-side {
    display: grid;
    gap: 18px;
}

.afn-home-app-shell-expanded .afn-panel {
    padding: 24px;
}

.afn-home-app-shell-expanded .afn-panel-focus-topics {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 243, 255, 0.98) 100%);
}

.afn-home-app-shell-expanded .afn-panel-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.afn-home-app-shell-expanded .afn-panel-tabs span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.08);
    color: var(--afn-secondary);
    font-size: 0.82rem;
    font-weight: 700;
}

.afn-home-app-shell-expanded .afn-panel-tabs .is-active {
    background: linear-gradient(135deg, var(--afn-primary) 0%, var(--afn-secondary) 100%);
    color: #ffffff;
}

.afn-home-app-shell-expanded .afn-panel h2,
.afn-home-app-shell-expanded .afn-panel h3 {
    margin: 0 0 14px;
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--afn-text);
}

.afn-home-app-shell-expanded .afn-focus-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.afn-home-app-shell-expanded .afn-focus-list-numbered li {
    position: relative;
    padding-left: 42px;
    color: var(--afn-text-soft);
    line-height: 1.65;
    min-height: 28px;
}

.afn-home-app-shell-expanded .afn-focus-list-numbered {
    counter-reset: afn-focus-counter;
}

.afn-home-app-shell-expanded .afn-focus-list-numbered li::before {
    counter-increment: afn-focus-counter;
    content: counter(afn-focus-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(162, 28, 175, 0.14) 0%, rgba(124, 58, 237, 0.14) 100%);
    color: var(--afn-primary-strong);
    font-size: 0.78rem;
    font-weight: 800;
}

.afn-home-app-shell-expanded .afn-panel-gradient {
    background: linear-gradient(135deg, #7c3aed 0%, #a21caf 60%, #c026d3 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.afn-home-app-shell-expanded .afn-panel-gradient::before {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
}

.afn-home-app-shell-expanded .afn-panel-gradient h3,
.afn-home-app-shell-expanded .afn-panel-gradient p {
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.afn-home-app-shell-expanded .afn-gradient-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
    margin-top: 18px;
}

.afn-home-app-shell-expanded .afn-gradient-pill-grid span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 0.86rem;
    font-weight: 700;
}

.afn-home-app-shell-expanded .afn-home-strip {
    margin-bottom: 24px;
}

.afn-home-app-shell-expanded .afn-home-strip-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.afn-home-app-shell-expanded .afn-home-strip-card {
    padding: 22px;
}

.afn-home-app-shell-expanded .afn-home-strip-card.is-highlight {
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(245, 238, 255, 0.96) 100%);
}

.afn-home-app-shell-expanded .afn-home-strip-card h3,
.afn-home-app-shell-expanded .afn-soft-card h3,
.afn-home-app-shell-expanded .afn-feature-card h3,
.afn-home-app-shell-expanded .afn-home-closing-card h2,
.afn-home-app-shell-expanded .afn-home-closing-card h3 {
    margin: 0 0 10px;
    color: var(--afn-text);
    line-height: 1.28;
}

.afn-home-app-shell-expanded .afn-home-strip-card p,
.afn-home-app-shell-expanded .afn-soft-card p,
.afn-home-app-shell-expanded .afn-feature-card p,
.afn-home-app-shell-expanded .afn-home-closing-card p {
    margin: 0;
    color: var(--afn-text-soft);
    line-height: 1.7;
}

.afn-home-app-shell-expanded .afn-micro-label,
.afn-home-app-shell-expanded .afn-feature-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(124, 58, 237, 0.08);
    color: var(--afn-secondary);
    border: 1px solid rgba(124, 58, 237, 0.1);
    margin-bottom: 14px;
}

.afn-home-app-shell-expanded .afn-home-band {
    margin-bottom: 24px;
}

.afn-home-app-shell-expanded .afn-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.afn-home-app-shell-expanded .afn-section-header h2 {
    margin: 8px 0 0;
    font-size: clamp(1.45rem, 2.4vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--afn-text);
}

.afn-home-app-shell-expanded .afn-card-grid {
    display: grid;
    gap: 16px;
}

.afn-home-app-shell-expanded .afn-card-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.afn-home-app-shell-expanded .afn-card-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.afn-home-app-shell-expanded .afn-soft-card {
    padding: 24px;
}

.afn-home-app-shell-expanded .afn-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--afn-primary-strong);
    font-weight: 700;
    font-size: 0.93rem;
}

.afn-home-app-shell-expanded .afn-inline-link:hover {
    color: var(--afn-secondary);
}

.afn-home-app-shell-expanded .afn-complex-search-card {
    padding: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,243,255,0.96) 100%);
}

.afn-home-app-shell-expanded .afn-complex-search-form {
    width: 100%;
}

.afn-home-app-shell-expanded .afn-complex-search-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.afn-home-app-shell-expanded .afn-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.afn-home-app-shell-expanded .afn-field-group span {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--afn-text-muted);
}

.afn-home-app-shell-expanded .afn-field-group input,
.afn-home-app-shell-expanded .afn-field-group select {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid var(--afn-border-strong);
    background: #ffffff;
    padding: 0 16px;
    font-size: 0.96rem;
    color: var(--afn-text);
    outline: none;
    box-shadow: inset 0 1px 2px rgba(30, 22, 51, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.afn-home-app-shell-expanded .afn-field-group input:focus,
.afn-home-app-shell-expanded .afn-field-group select:focus {
    border-color: rgba(162, 28, 175, 0.35);
    box-shadow: 0 0 0 4px rgba(162, 28, 175, 0.08);
    background: #fff;
}

.afn-home-app-shell-expanded .afn-home-actions-search {
    margin-top: 20px;
}

.afn-home-app-shell-expanded .afn-risk-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.afn-home-app-shell-expanded .afn-risk-hub-card {
    padding: 24px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.afn-home-app-shell-expanded .afn-risk-hub-konservativ {
    background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(244, 250, 255, 0.97) 100%);
}

.afn-home-app-shell-expanded .afn-risk-hub-renditestark {
    background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(249, 243, 255, 0.97) 100%);
}

.afn-home-app-shell-expanded .afn-risk-hub-risikoreich {
    background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255, 244, 248, 0.97) 100%);
}

.afn-home-app-shell-expanded .afn-risk-hub-head p {
    margin-top: 0;
}

.afn-home-app-shell-expanded .afn-risk-topic-list {
    display: grid;
    gap: 10px;
}

.afn-home-app-shell-expanded .afn-risk-topic-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--afn-border);
    background: rgba(255,255,255,0.85);
    color: var(--afn-text);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.afn-home-app-shell-expanded .afn-risk-topic-item:hover {
    transform: translateY(-2px);
    border-color: rgba(162, 28, 175, 0.18);
    box-shadow: var(--afn-shadow-sm);
    background: #ffffff;
}

.afn-home-app-shell-expanded .afn-risk-topic-item span {
    font-weight: 700;
    line-height: 1.3;
}

.afn-home-app-shell-expanded .afn-risk-topic-item strong {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--afn-primary-strong);
    background: rgba(162, 28, 175, 0.08);
    border-radius: 999px;
    padding: 8px 10px;
}

.afn-home-app-shell-expanded .afn-journey-links {
    margin-top: auto;
}

.afn-home-app-shell-expanded .afn-faq-group-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.afn-home-app-shell-expanded .afn-faq-group-card {
    padding: 24px;
}

.afn-home-app-shell-expanded .afn-faq-group-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.afn-home-app-shell-expanded .afn-faq-group-head h3 {
    margin-bottom: 0;
}

.afn-home-app-shell-expanded .afn-faq-accordion-list {
    display: grid;
    gap: 10px;
}

.afn-home-app-shell-expanded .afn-faq-item {
    border: 1px solid var(--afn-border);
    border-radius: 16px;
    background: rgba(255,255,255,0.85);
    overflow: hidden;
}

.afn-home-app-shell-expanded .afn-faq-item summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 16px 48px 16px 16px;
    font-weight: 700;
    color: var(--afn-text);
    line-height: 1.45;
}

.afn-home-app-shell-expanded .afn-faq-item summary::-webkit-details-marker {
    display: none;
}

.afn-home-app-shell-expanded .afn-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.08);
    color: var(--afn-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.afn-home-app-shell-expanded .afn-faq-item[open] summary::after {
    content: "–";
}

.afn-home-app-shell-expanded .afn-faq-answer {
    padding: 0 16px 16px;
}

.afn-home-app-shell-expanded .afn-faq-answer p {
    margin: 0;
    color: var(--afn-text-soft);
    line-height: 1.7;
}

.afn-home-app-shell-expanded .afn-rss-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.afn-home-app-shell-expanded .afn-rss-card .afn-inline-link {
    margin-top: auto;
    padding-top: 14px;
}

.afn-home-app-shell-expanded .afn-author-card-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 24px;
    padding: 28px;
}

.afn-home-app-shell-expanded .afn-author-card-main {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.afn-home-app-shell-expanded .afn-author-avatar-wrap {
    flex: 0 0 110px;
}

.afn-home-app-shell-expanded .afn-author-avatar {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid var(--afn-border);
    box-shadow: var(--afn-shadow-sm);
}

.afn-home-app-shell-expanded .afn-author-content {
    flex: 1 1 auto;
    min-width: 0;
}

.afn-home-app-shell-expanded .afn-author-card-side {
    border-left: 1px solid var(--afn-border);
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.afn-home-app-shell-expanded .afn-author-post-count {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1;
    color: var(--afn-primary-strong);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.afn-home-app-shell-expanded .afn-author-post-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.afn-home-app-shell-expanded .afn-author-post-list li a {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--afn-border);
    border-radius: 14px;
    background: rgba(255,255,255,0.88);
    font-weight: 600;
    color: var(--afn-text-soft);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.afn-home-app-shell-expanded .afn-author-post-list li a:hover {
    color: var(--afn-primary-strong);
    border-color: rgba(162, 28, 175, 0.2);
    box-shadow: var(--afn-shadow-sm);
    transform: translateY(-2px);
}

.afn-home-app-shell-expanded .afn-topic-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.afn-home-app-shell-expanded .afn-home-closing-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 24px;
    align-items: center;
    padding: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,241,255,0.98) 100%);
}

.afn-home-app-shell-expanded .afn-home-actions-closing {
    justify-content: flex-end;
    margin-top: 0;
}

/* =========================================================
   Zusätzliche optische Verfeinerungen für Standardkarten
========================================================= */

.afn-home-app-shell-expanded .afn-value-card,
.afn-home-app-shell-expanded .afn-platform-card,
.afn-home-app-shell-expanded .afn-tool-card,
.afn-home-app-shell-expanded .afn-trust-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.afn-home-app-shell-expanded .afn-value-card:hover,
.afn-home-app-shell-expanded .afn-platform-card:hover,
.afn-home-app-shell-expanded .afn-tool-card:hover,
.afn-home-app-shell-expanded .afn-trust-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--afn-shadow-md);
    border-color: rgba(162, 28, 175, 0.18);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1240px) {
    .afn-home-app-shell-expanded .afn-home-app-topbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .afn-home-app-shell-expanded .afn-card-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .afn-home-app-shell-expanded .afn-card-grid-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .afn-home-app-shell-expanded .afn-risk-hub-grid,
    .afn-home-app-shell-expanded .afn-faq-group-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .afn-home-app-shell-expanded .afn-home-strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .afn-home-app-shell-expanded .afn-complex-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .afn-home-app-shell-expanded {
        padding: 18px;
    }

    .afn-home-app-shell-expanded .afn-home-hero {
        grid-template-columns: 1fr;
    }

    .afn-home-app-shell-expanded .afn-home-quick-grid-4 {
        grid-template-columns: 1fr;
    }

    .afn-home-app-shell-expanded .afn-author-card-shell,
    .afn-home-app-shell-expanded .afn-home-closing-card {
        grid-template-columns: 1fr;
    }

    .afn-home-app-shell-expanded .afn-author-card-side {
        border-left: 0;
        border-top: 1px solid var(--afn-border);
        padding-left: 0;
        padding-top: 20px;
    }

    .afn-home-app-shell-expanded .afn-home-actions-closing {
        justify-content: flex-start;
    }

    .afn-home-app-shell-expanded .afn-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .afn-home-app-shell-expanded {
        padding: 14px;
    }

    .afn-home-app-shell-expanded .afn-home-app-topbar,
    .afn-home-app-shell-expanded .afn-card-grid-4,
    .afn-home-app-shell-expanded .afn-card-grid-5,
    .afn-home-app-shell-expanded .afn-risk-hub-grid,
    .afn-home-app-shell-expanded .afn-faq-group-grid,
    .afn-home-app-shell-expanded .afn-home-strip-grid,
    .afn-home-app-shell-expanded .afn-complex-search-grid {
        grid-template-columns: 1fr;
    }

    .afn-home-app-shell-expanded .afn-home-hero-main,
    .afn-home-app-shell-expanded .afn-panel,
    .afn-home-app-shell-expanded .afn-soft-card,
    .afn-home-app-shell-expanded .afn-home-closing-card,
    .afn-home-app-shell-expanded .afn-complex-search-card {
        padding: 20px;
        border-radius: 22px;
    }

    .afn-home-app-shell-expanded .afn-home-hero-main h1 {
        font-size: clamp(1.65rem, 9vw, 2.35rem);
    }

    .afn-home-app-shell-expanded .afn-home-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .afn-home-app-shell-expanded .afn-btn {
        width: 100%;
    }

    .afn-home-app-shell-expanded .afn-author-card-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .afn-home-app-shell-expanded .afn-author-avatar-wrap {
        flex-basis: auto;
    }

    .afn-home-app-shell-expanded .afn-risk-topic-item {
        align-items: flex-start;
        flex-direction: column;
    }
}