:root {
    --afi-bg: #fffaf3;
    --afi-bg-soft: #fff4df;
    --afi-card: #ffffff;
    --afi-text: #17212b;
    --afi-muted: #667085;
    --afi-border: #f0e4d2;
    --afi-orange: #f59e0b;
    --afi-orange-dark: #d97706;
    --afi-green: #16a34a;
    --afi-blue: #0ea5e9;
    --afi-dark: #111827;
    --afi-shadow: 0 18px 45px rgba(23, 33, 43, 0.08);
    --afi-radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.14), transparent 34rem),
        radial-gradient(circle at top right, rgba(22, 163, 74, 0.10), transparent 30rem),
        var(--afi-bg);
    color: var(--afi-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--afi-orange-dark);
}

/* Header */

.afi-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 250, 243, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(240, 228, 210, 0.85);
}

.afi-navbar {
    padding: 0.85rem 0;
}

.afi-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.afi-brand img {
    display: block;
    width: 260px;
    height: auto;
}

.afi-navbar .nav-link {
    color: var(--afi-text);
    font-weight: 650;
    padding: 0.65rem 0.85rem;
    border-radius: 999px;
}

.afi-navbar .nav-link:hover,
.afi-navbar .nav-link.active {
    color: var(--afi-orange-dark);
    background: rgba(245, 158, 11, 0.11);
}

.afi-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: var(--afi-dark);
    color: #ffffff;
    font-weight: 750;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.afi-nav-cta:hover {
    color: #ffffff;
    background: var(--afi-orange-dark);
}

.afi-toggler {
    border: 1px solid var(--afi-border);
    border-radius: 14px;
    padding: 0.55rem 0.7rem;
}

.afi-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.18);
}

/* Hero */

.afi-hero {
    padding: clamp(4rem, 8vw, 7.5rem) 0 4.5rem;
}

.afi-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.38rem 0.8rem;
    border: 1px solid rgba(245, 158, 11, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--afi-orange-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.afi-hero h1 {
    max-width: 1200px;
    margin: 0;
    color: var(--afi-text);
    font-size: clamp(2.7rem, 6vw, 5.9rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
    font-weight: 900;
}

.afi-hero-text {
    max-width: 700px;
    margin: 1.6rem 0 0;
    color: var(--afi-muted);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.afi-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.afi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.afi-btn:hover {
    transform: translateY(-2px);
}

.afi-btn-primary {
    background: var(--afi-orange);
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(245, 158, 11, 0.25);
}

.afi-btn-primary:hover {
    background: var(--afi-orange-dark);
    color: #ffffff;
}

.afi-btn-secondary {
    background: #ffffff;
    color: var(--afi-text);
    border: 1px solid var(--afi-border);
}

.afi-btn-secondary:hover {
    background: var(--afi-bg-soft);
    color: var(--afi-text);
}

.afi-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.4rem;
}

.afi-trust-row span {
    display: inline-flex;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--afi-border);
    color: var(--afi-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.afi-hero-card {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    padding: 2rem;
    border-radius: 34px;
    background-image: url("/assets/img/hero/neu-im-fokus-bg.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: #ffffff;
    box-shadow: var(--afi-shadow);
}


.afi-hero-card > * {
    position: relative;
    z-index: 2;
}

.afi-hero-card-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-bottom: 7rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
}

.afi-hero-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.afi-hero-card p {
    position: relative;
    z-index: 1;
    max-width: 420px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
}

.afi-card-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-top: 1.4rem;
    color: #ffffff;
    font-weight: 850;
    border-bottom: 2px solid var(--afi-orange);
}

.afi-card-link:hover {
    color: #ffffff;
}

/* Sections */

.afi-section {
    padding: 4.5rem 0;
}

.afi-section-soft {
    background: rgba(255, 255, 255, 0.55);
    border-top: 1px solid var(--afi-border);
    border-bottom: 1px solid var(--afi-border);
}

.afi-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}

.afi-section-head h2,
.afi-content-title {
    margin: 0;
    color: var(--afi-text);
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.afi-inline-link {
    display: inline-flex;
    white-space: nowrap;
    font-weight: 850;
    color: var(--afi-orange-dark);
}

/* Article cards */

.afi-article-card {
    height: 100%;
    overflow: hidden;
    border-radius: var(--afi-radius);
    background: var(--afi-card);
    border: 1px solid rgba(240, 228, 210, 0.9);
    box-shadow: 0 12px 34px rgba(23, 33, 43, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.afi-article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--afi-shadow);
}

.afi-card-media {
    display: flex;
    align-items: end;
    min-height: 245px;
    padding: 1.35rem;
    color: #ffffff;
    font-size: 2.1rem;
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.afi-card-media-green {
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.08), rgba(22, 163, 74, 0.55)),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 14rem),
        #16a34a;
}

.afi-card-media-orange {
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.10), rgba(245, 158, 11, 0.62)),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 14rem),
        #f59e0b;
}

.afi-card-media-blue {
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.08), rgba(14, 165, 233, 0.58)),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 14rem),
        #0ea5e9;
}

.afi-card-body {
    padding: 1.35rem;
}

.afi-tag {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.9rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 850;
}

.afi-tag-orange {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.afi-tag-blue {
    background: rgba(14, 165, 233, 0.13);
    color: #0369a1;
}

.afi-card-body h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.18;
    letter-spacing: -0.025em;
    font-weight: 900;
}

.afi-card-body h3 a:hover {
    color: var(--afi-orange-dark);
}

.afi-card-body p {
    margin: 0.85rem 0 0;
    color: var(--afi-muted);
}

/* Topic cards */

.afi-topic-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 190px;
    padding: 1.4rem;
    border-radius: var(--afi-radius);
    background: #ffffff;
    border: 1px solid var(--afi-border);
    box-shadow: 0 10px 28px rgba(23, 33, 43, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.afi-topic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--afi-shadow);
    color: var(--afi-text);
}

.afi-topic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: var(--afi-bg-soft);
    font-size: 1.7rem;
}

.afi-topic-card strong {
    font-size: 1.25rem;
    font-weight: 900;
}

.afi-topic-card small {
    display: block;
    margin-top: 0.45rem;
    color: var(--afi-muted);
    font-size: 0.95rem;
}

/* Copy */

.afi-copy {
    color: var(--afi-muted);
    font-size: 1.06rem;
}

.afi-copy p {
    margin-bottom: 1.15rem;
}

.afi-side-box {
    padding: 1.6rem;
    border-radius: var(--afi-radius);
    background: #ffffff;
    border: 1px solid var(--afi-border);
    box-shadow: 0 12px 34px rgba(23, 33, 43, 0.05);
}

.afi-side-box h2 {
    margin: 0 0 1rem;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.afi-side-box ul {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.afi-side-box a {
    display: block;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: var(--afi-bg);
    color: var(--afi-text);
    font-weight: 750;
}

.afi-side-box a:hover {
    background: var(--afi-bg-soft);
    color: var(--afi-orange-dark);
}

/* CTA */

.afi-cta-section {
    padding-top: 2rem;
}

.afi-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.5rem, 4vw, 2.4rem);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.26), transparent 18rem),
        #111827;
    color: #ffffff;
    box-shadow: var(--afi-shadow);
}

.afi-cta h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.afi-cta p {
    max-width: 900px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.76);
}

.afi-cta .afi-finder-cta-text {
    max-width: none;
    width: 100%;
}

/* Footer */

.afi-footer {
    margin-top: 2rem;
    padding: 4rem 0 2rem;
    background: #ffffff;
    border-top: 1px solid var(--afi-border);
}

.afi-footer-logo {
    display: block;
    max-width: 220px;
    height: auto;
    margin-bottom: 1rem;
}

.afi-footer p {
    color: var(--afi-muted);
    margin: 0;
}

.afi-footer h2 {
    margin: 0 0 0.8rem;
    color: var(--afi-text);
    font-size: 1rem;
    font-weight: 900;
}

.afi-footer ul {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.afi-footer a {
    color: var(--afi-muted);
    font-weight: 650;
}

.afi-footer a:hover {
    color: var(--afi-orange-dark);
}

.afi-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--afi-border);
    color: var(--afi-muted);
    font-size: 0.92rem;
}

/* Responsive */

@media (max-width: 991.98px) {
    .afi-brand img {
        width: 220px;
    }

    .afi-navbar .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 22px;
        background: #ffffff;
        border: 1px solid var(--afi-border);
        box-shadow: var(--afi-shadow);
    }

    .afi-navbar .nav-link {
        padding: 0.75rem 0.85rem;
    }

    .afi-nav-cta {
        width: 100%;
        margin-top: 0.5rem;
    }

    .afi-hero-card {
        min-height: 360px;
    }

    .afi-hero-card-badge {
        margin-bottom: 5rem;
    }

    .afi-section-head,
    .afi-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .afi-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .afi-brand img {
        width: 190px;
    }

    .afi-hero {
        padding-top: 3rem;
    }

    .afi-hero h1 {
        font-size: clamp(2.45rem, 14vw, 4rem);
    }

    .afi-hero-actions,
    .afi-btn {
        width: 100%;
    }

    .afi-card-media {
        min-height: 210px;
        font-size: 1.75rem;
    }

    .afi-section {
        padding: 3.2rem 0;
    }
}

.afi-subhero {
    padding: clamp(3rem, 7vw, 5.5rem) 0 2.5rem;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 30rem),
        radial-gradient(circle at top right, rgba(22, 163, 74, 0.09), transparent 26rem);
}

.afi-subhero h1 {
    max-width: 1200px;
    margin: 0;
    color: var(--afi-text);
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    line-height: 1;
    letter-spacing: -0.065em;
    font-weight: 900;
}

.afi-subhero-text {
    max-width: 1200px;
    margin: 1.25rem 0 0;
    color: var(--afi-muted);
    font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.afi-breadcrumb-wrap {
    margin-bottom: 1.25rem;
}

.afi-breadcrumb-wrap .breadcrumb {
    font-size: 0.95rem;
}

.afi-breadcrumb-wrap a {
    color: var(--afi-orange-dark);
    font-weight: 700;
}

.afi-section-tight {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.afi-search-box {
    padding: 1rem;
    border: 1px solid var(--afi-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 28px rgba(23, 33, 43, 0.04);
}

.afi-search-input,
.afi-category-select {
    min-height: 52px;
    border-radius: 18px;
    border: 1px solid var(--afi-border);
    font-weight: 650;
}

.afi-search-input:focus,
.afi-category-select:focus {
    border-color: rgba(245, 158, 11, 0.75);
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.14);
}

.afi-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.afi-category-select {
    max-width: 360px;
}

.afi-result-note {
    margin: 0;
    color: var(--afi-muted);
    font-weight: 650;
}

.afi-empty-box {
    padding: 2rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--afi-border);
    box-shadow: 0 12px 34px rgba(23, 33, 43, 0.05);
}

.afi-empty-box h2 {
    margin: 0 0 0.75rem;
    font-size: 1.6rem;
    font-weight: 900;
}

.afi-empty-box p {
    color: var(--afi-muted);
}

.afi-card-image-link {
    display: block;
    overflow: hidden;
    background: var(--afi-bg-soft);
}

.afi-card-image {
    display: block;
    width: 100%;
    height: 245px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.afi-article-card:hover .afi-card-image {
    transform: scale(1.04);
}

.afi-card-body h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.18;
    letter-spacing: -0.025em;
    font-weight: 900;
}

.afi-card-body h2 a:hover {
    color: var(--afi-orange-dark);
}

.afi-read-more {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--afi-orange-dark);
    font-weight: 850;
    border-bottom: 2px solid rgba(245, 158, 11, 0.45);
}

.afi-read-more:hover {
    color: var(--afi-dark);
    border-bottom-color: var(--afi-dark);
}

.afi-faq-box {
    padding: clamp(1.4rem, 4vw, 2.2rem);
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--afi-border);
    box-shadow: 0 12px 34px rgba(23, 33, 43, 0.05);
}

.afi-faq-box > h2 {
    margin: 0 0 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.afi-faq-item {
    padding: 1.2rem 0;
    border-top: 1px solid var(--afi-border);
}

.afi-faq-item h3 {
    margin: 0 0 0.5rem;
    font-size: 1.18rem;
    font-weight: 900;
}

.afi-faq-item p {
    margin: 0;
    color: var(--afi-muted);
}

@media (max-width: 767.98px) {
    .afi-filter-row {
        align-items: stretch;
        flex-direction: column;
    }

    .afi-category-select {
        max-width: none;
        width: 100%;
    }

    .afi-card-image {
        height: 220px;
    }
}

.afi-guide-hero {
    padding-bottom: 2.5rem;
}

.afi-guide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.afi-guide-meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--afi-border);
    color: var(--afi-muted);
    font-size: 0.9rem;
    font-weight: 750;
}

.afi-guide-section {
    padding-top: 2.5rem;
}

.afi-guide-image-wrap {
    overflow: hidden;
    margin-bottom: 2.5rem;
    border-radius: 32px;
    background: var(--afi-bg-soft);
    border: 1px solid var(--afi-border);
    box-shadow: var(--afi-shadow);
}

.afi-guide-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.afi-guide-content {
    padding: clamp(1.35rem, 3vw, 2.2rem);
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--afi-border);
    box-shadow: 0 12px 34px rgba(23, 33, 43, 0.05);
}

.afi-guide-content h2 {
    margin: 2.1rem 0 0.9rem;
    color: var(--afi-text);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.afi-guide-content h2:first-child {
    margin-top: 0;
}

.afi-guide-content h3 {
    margin: 1.7rem 0 0.65rem;
    color: var(--afi-text);
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    font-weight: 900;
}

.afi-guide-content p {
    margin: 0 0 1.1rem;
    color: var(--afi-muted);
    font-size: 1.06rem;
}

.afi-guide-content ul,
.afi-guide-content ol {
    margin: 0 0 1.2rem;
    padding-left: 1.3rem;
    color: var(--afi-muted);
}

.afi-guide-content li {
    margin-bottom: 0.45rem;
}

.afi-guide-content a {
    color: var(--afi-orange-dark);
    font-weight: 750;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.afi-guide-content img {
    max-width: 100%;
    height: auto;
    border-radius: 22px;
}

a.glossary-link,
a.glossary-link:visited,
a.glossary-link:hover,
a.glossary-link:focus {
    color: var(--afi-orange-dark) !important;
    font-weight: 400 !important;
    text-decoration-line: underline !important;
    text-decoration-style: dotted !important;
    text-decoration-thickness: 0.08em !important;
    text-underline-offset: 0.18em !important;
    cursor: help;
}

.afi-helpful-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--afi-border);
    box-shadow: 0 12px 34px rgba(23, 33, 43, 0.05);
}

.afi-helpful-box strong {
    color: var(--afi-text);
}

.afi-helpful-box p {
    margin: 0.25rem 0 0;
    color: var(--afi-muted);
}

.afi-helpful-btn:disabled {
    opacity: 0.78;
    cursor: not-allowed;
    transform: none;
}

.afi-back-row {
    margin-top: 1.5rem;
}

.afi-sticky-box {
    position: sticky;
    top: 120px;
}

.afi-side-box-gap {
    margin-top: 1rem;
}

.afi-side-box p {
    color: var(--afi-muted);
    margin-bottom: 0.9rem;
}

@media (max-width: 991.98px) {
    .afi-sticky-box {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .afi-helpful-box {
        align-items: stretch;
        flex-direction: column;
    }

    .afi-helpful-btn {
        width: 100%;
    }

    .afi-guide-content {
        padding: 1.15rem;
    }
}

.afi-glossary-box {
    padding: clamp(1.2rem, 3vw, 2rem);
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--afi-border);
    box-shadow: 0 12px 34px rgba(23, 33, 43, 0.05);
}

.afi-glossary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 2rem;
}

.afi-glossary-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 38px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--afi-bg);
    border: 1px solid var(--afi-border);
    color: var(--afi-text);
    font-weight: 850;
}

.afi-glossary-nav a:hover {
    background: var(--afi-orange);
    border-color: var(--afi-orange);
    color: #ffffff;
}

.afi-glossary-letter {
    scroll-margin-top: 120px;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 1px solid var(--afi-border);
}

.afi-glossary-letter:first-of-type {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.afi-glossary-letter h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.afi-glossary-term {
    display: block;
    height: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: var(--afi-bg);
    border: 1px solid var(--afi-border);
    color: var(--afi-text);
    font-weight: 750;
}

.afi-glossary-term:hover {
    background: var(--afi-bg-soft);
    color: var(--afi-orange-dark);
    border-color: rgba(245, 158, 11, 0.35);
}

.afi-glossary-term-hero {
    padding-bottom: 2.5rem;
}

.afi-glossary-content h1 {
    margin-top: 0;
}

.afi-glossary-content h2 {
    margin-top: 2rem;
}

.afi-glossary-content .text-muted {
    color: var(--afi-muted) !important;
}

.afi-glossary-content a {
    color: var(--afi-orange-dark);
    font-weight: 750;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.afi-legal-content h2 {
    margin-top: 2.1rem;
    margin-bottom: 0.8rem;
}

.afi-legal-content h2:first-child {
    margin-top: 0;
}

.afi-legal-content p,
.afi-legal-content li {
    color: var(--afi-muted);
}

.afi-legal-content ul {
    margin-bottom: 1.2rem;
}

.afi-legal-content strong {
    color: var(--afi-text);
}

.afi-password-group .afi-form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.afi-password-toggle {
    min-width: 104px;
    border: 1px solid var(--afi-border);
    border-left: 0;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    background: var(--afi-bg-soft);
    color: var(--afi-text);
    font-weight: 850;
}

.afi-password-toggle:hover {
    background: var(--afi-orange);
    color: #ffffff;
}

.afi-small-link {
    color: var(--afi-orange-dark);
    font-size: 0.92rem;
    font-weight: 750;
}

.afi-small-link:hover {
    color: var(--afi-dark);
}

.afi-privacy-note {
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--afi-border);
    color: var(--afi-muted);
    font-size: 0.92rem;
    text-align: center;
}

.afi-privacy-note a {
    color: var(--afi-orange-dark);
    font-weight: 750;
}

.afi-dashboard-admin-link {
    display: inline-flex;
    width: fit-content;
    margin-top: 0.9rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: var(--afi-dark);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 850;
}

.afi-dashboard-admin-link:hover {
    background: var(--afi-orange-dark);
    color: #ffffff;
}

.afi-affiliate-notice {
    
    margin-bottom: 1rem;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
}

.afi-affiliate-wrap {
    margin: 1.5rem 0;
}

/* Bootstrap row steuert jetzt die Spalten:
   1 Box = col-md-12
   2 Boxen = col-md-6
   3 Boxen = col-md-4
*/

.afi-affiliate-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 193, 7, 0.35);
    border-radius: 16px;
    background: rgba(255, 193, 7, 0.07);
}

.afi-affiliate-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.afi-affiliate-card__label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-bottom: 0.5rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.14);
    color: #ffc107;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.afi-affiliate-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    line-height: 1.3;
}

.afi-affiliate-card p {
    flex: 1;
    margin: 0 0 0.9rem;
    color: rgba(255, 255, 255, 0.78);
}

.afi-affiliate-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 42px;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: #ffc107;
    color: #111;
    font-weight: 800;
    text-decoration: none;
}

.afi-affiliate-card__button:hover {
    color: #111;
    text-decoration: none;
    filter: brightness(0.96);
}

.afi-affiliate-card__image {
    width: 112px;
    max-width: 112px;
    margin-top: 1rem;
}

.afi-affiliate-card__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 767.98px) {
    .afi-affiliate-card__image {
        width: 96px;
        max-width: 96px;
    }

    .afi-affiliate-card__button {
        width: 100%;
    }
}

/* ==================================================
   AFI Airfryer-Finder / Kaufberater
================================================== */

.afi-cta h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.afi-finder-cta-btn {
    white-space: nowrap;
    min-width: 150px;
    padding-left: 1.35rem;
    padding-right: 1.35rem;
}

.afi-finder-page {
    padding: 0;
}

.afi-finder-form {
    overflow: hidden;
    border: 1px solid var(--afi-border);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(23, 33, 43, 0.05);
}

.afi-finder-question {
    padding: clamp(1.15rem, 3vw, 1.55rem);
    border-bottom: 1px solid var(--afi-border);
}

.afi-finder-question:last-child {
    border-bottom: 0;
}

.afi-finder-question-title {
    margin-bottom: 1rem;
    color: var(--afi-text);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.afi-finder-option {
    position: relative;
    display: block;
    margin-bottom: 0.72rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--afi-border);
    border-radius: 18px;
    background: var(--afi-bg);
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.afi-finder-option:last-child {
    margin-bottom: 0;
}

.afi-finder-option:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.42);
    background: var(--afi-bg-soft);
    box-shadow: 0 10px 24px rgba(23, 33, 43, 0.05);
}

.afi-finder-option input {
    position: absolute;
    top: 1.05rem;
    left: 1rem;
    accent-color: var(--afi-orange);
}

.afi-finder-option strong {
    display: block;
    padding-left: 1.75rem;
    color: var(--afi-text);
    font-weight: 900;
}

.afi-finder-option span {
    display: block;
    margin-top: 0.22rem;
    padding-left: 1.75rem;
    color: var(--afi-muted);
    font-size: 0.95rem;
}

.afi-finder-error {
    margin-top: 0.75rem;
    color: #dc2626;
    font-size: 0.92rem;
    font-weight: 750;
}

.afi-finder-submit {
    padding: clamp(1.15rem, 3vw, 1.55rem);
    background: var(--afi-bg-soft);
}

.afi-finder-submit .afi-btn {
    width: 100%;
    border: 0;
}

.afi-finder-side-card,
.afi-finder-result {
    border: 1px solid var(--afi-border);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(23, 33, 43, 0.05);
}

.afi-finder-side-card {
    padding: 1.45rem;
}

.afi-finder-side-card h2 {
    margin: 0 0 1rem;
    color: var(--afi-text);
    font-size: 1.3rem;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.afi-finder-side-card ul {
    display: grid;
    gap: 0.68rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--afi-muted);
}

.afi-finder-side-card li {
    position: relative;
    padding-left: 1.35rem;
    font-weight: 700;
}

.afi-finder-side-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--afi-green);
    font-weight: 950;
}

.afi-finder-side-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--afi-green);
    font-weight: 950;
}

.afi-finder-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.38rem 0.78rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.afi-finder-badge-orange {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.afi-finder-badge-green {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
    border: 1px solid rgba(22, 163, 74, 0.22);
}

.afi-finder-badge-blue {
    background: rgba(14, 165, 233, 0.13);
    color: #0369a1;
    border: 1px solid rgba(14, 165, 233, 0.22);
}

.afi-finder-badge-dark {
    background: var(--afi-dark);
    color: #ffffff;
    border: 1px solid var(--afi-dark);
}

.afi-finder-result {
    overflow: hidden;
}

.afi-finder-result-header {
    padding: clamp(1.35rem, 3vw, 2rem);
    border-bottom: 1px solid var(--afi-border);
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 16rem),
        var(--afi-bg);
}

.afi-finder-result-header h2 {
    margin: 0.75rem 0 0.4rem;
    color: var(--afi-text);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 950;
}

.afi-finder-result-header p {
    margin: 0;
    color: var(--afi-muted);
}

.afi-finder-result-body {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.afi-finder-summary {
    margin: 0 0 1.4rem;
    color: var(--afi-text);
    font-size: 1.13rem;
    font-weight: 650;
}

.afi-finder-kpi {
    height: 100%;
    padding: 1.1rem;
    border: 1px solid var(--afi-border);
    border-radius: 22px;
    background: var(--afi-bg);
}

.afi-finder-kpi-label {
    margin-bottom: 0.25rem;
    color: var(--afi-muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.afi-finder-kpi-value {
    color: var(--afi-text);
    font-size: 1.02rem;
    font-weight: 950;
}

.afi-finder-list-box {
    height: 100%;
    padding: 1.15rem;
    border: 1px solid var(--afi-border);
    border-radius: 24px;
    background: #ffffff;
}

.afi-finder-list-box h3 {
    margin: 0 0 0.85rem;
    color: var(--afi-text);
    font-size: 1.15rem;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.afi-finder-list-box ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--afi-muted);
}

.afi-finder-list-box li {
    margin-bottom: 0.4rem;
}

.afi-finder-alert {
    margin: 1.4rem 0;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 22px;
    background: rgba(245, 158, 11, 0.08);
    color: var(--afi-muted);
}

.afi-finder-alert strong {
    color: var(--afi-text);
}

.afi-finder-link-grid-title {
    margin: 0 0 1rem;
    color: var(--afi-text);
    font-size: 1.25rem;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.afi-finder-link-card {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 86px;
    padding: 1rem;
    border: 1px solid var(--afi-border);
    border-radius: 20px;
    background: var(--afi-bg);
    color: var(--afi-text);
    font-weight: 850;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.afi-finder-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.38);
    background: var(--afi-bg-soft);
    color: var(--afi-orange-dark);
    box-shadow: 0 10px 24px rgba(23, 33, 43, 0.05);
}

.afi-finder-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

@media (max-width: 991.98px) {
    .afi-finder-side {
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .afi-finder-option {
        padding: 0.9rem;
    }

    .afi-finder-option input {
        left: 0.9rem;
    }
}

.afi-about-side-card,
.afi-about-result {
    border: 1px solid var(--afi-border);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(23, 33, 43, 0.05);
}

.afi-about-side-card {
    padding: 1.45rem;
}

.afi-about-side-card h2 {
    margin: 0 0 1rem;
    color: var(--afi-text);
    font-size: 1.3rem;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.afi-about-side-card ul {
    display: grid;
    gap: 0.68rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--afi-muted);
}

.afi-about-side-card li {
    position: relative;
    padding-left: 1.35rem;
    font-weight: 700;
}

.afi-about-side-card li::before {
    content: "➡️";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--afi-green);
    font-weight: 950;
}

.afi-about-side-card li::before {
    content: "➡️";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--afi-green);
    font-weight: 950;
}
