/* ===================================================================
       Partnerprogramm Landing Page — Scoped Styles (Akzent: Blau #0d5a93)
       =================================================================== */

    /* --- Full-width Layout Override --- */
    .affiliate-program main.content.ap-page {
        max-width: none !important;
        padding: 0 !important;
        flex-grow: 1 !important;
    }

    /* --- Layout & Typography --- */
    .ap-page h1, .ap-page h2, .ap-page h3, .ap-page h4 { color: #1a2b3c; }
    .ap-section { padding: 46px 0; }
    .ap-container { max-width: 1100px; padding: 0 0 0 80px; margin: 0; box-sizing: border-box; }
    .ap-page h2 {
        font-size: 1.55rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1.25;
    }

    @media (max-width: 768px) {
        .ap-section { padding: 40px 0; }
        .ap-container { padding: 0 20px; }
        .ap-page h2 { font-size: 1.35rem; }
    }

    /* --- Section A: Hero --- */
    .ap-hero {
        background: linear-gradient(135deg, #eef4fb 0%, #f7fbff 55%, #eaf3fb 100%);
        border-bottom: 1px solid #d4e4f4;
        padding: 50px 0 44px;
    }
    .ap-hero-grid {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 56px;
        align-items: center;
    }
    .ap-hero h1 {
        font-size: 2.3rem;
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: -0.025em;
        color: #0d2137;
        margin: 0 0 14px;
    }
    .ap-hero-sub {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #475569;
        margin: 0 0 24px;
        max-width: 600px;
    }
    .ap-hero-sub strong { color: #0d5a93; font-weight: 700; }
    .ap-hero-img { display: flex; align-items: center; justify-content: center; }
    .ap-hero-img img {
        width: 100%;
        max-width: 260px;
        height: auto;
        filter: drop-shadow(0 12px 32px rgba(0,0,0,0.10));
    }
    .ap-hero-cta {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #0d5a93;
        color: #fff;
        font-weight: 600;
        font-size: 1.05rem;
        padding: 16px 32px;
        border-radius: 8px;
        text-decoration: none;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(13,90,147,0.25);
        transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    }
    .ap-hero-cta:hover {
        background: #094a7a;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(13,90,147,0.30);
        text-decoration: none;
    }
    .ap-hero-note { margin: 14px 0 0; font-size: 0.85rem; color: #64748b; }

    @media (max-width: 768px) {
        .ap-hero { padding: 48px 0 52px; }
        .ap-hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
        .ap-hero-img { order: -1; }
        .ap-hero-img img { max-width: 200px; }
        .ap-hero h1 { font-size: 1.75rem; }
        .ap-hero-sub { font-size: 1rem; max-width: none; }
    }

    /* --- Section B: Benefits (Cards) --- */
    .ap-benefits { background: #fff; border-bottom: 1px solid #eef0f2; }
    .ap-benefits-heading { margin: 0 0 8px; text-align: center; }
    .ap-benefits-subheading {
        color: #64748b;
        font-size: 1.05rem;
        margin: 0 0 40px;
        line-height: 1.6;
        text-align: center;
    }
    .ap-benefits-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .ap-benefit-card {
        background: linear-gradient(135deg, #f5f9ff 0%, #fff 100%);
        border: 1px solid #d4e4f4;
        border-radius: 14px;
        padding: 30px 26px;
        box-shadow: 0 2px 8px rgba(13,90,147,0.05);
    }
    .ap-benefit-card h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #0d5a93;
        margin: 0 0 10px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .ap-benefit-card p {
        font-size: 0.95rem;
        line-height: 1.65;
        color: #475569;
        margin: 0;
    }

    @media (max-width: 992px) { .ap-benefits-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 576px) { .ap-benefits-grid { grid-template-columns: 1fr; } }

    /* --- Section C: Rechenbeispiel --- */
    .ap-calc { background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 50%, #fff 100%); border-top: 1px solid #d4e4f4; border-bottom: 1px solid #d4e4f4; }
    .ap-calc-heading { margin: 0 0 8px; text-align: center; }
    .ap-calc-subheading { color: #64748b; font-size: 1.05rem; margin: 0 0 16px; line-height: 1.6; text-align: center; }
    .ap-calc-note { max-width: 760px; margin: 0 auto 28px; font-size: 0.85rem; line-height: 1.6; color: #64748b; background: #f8fafc; border-left: 3px solid #cbd5e1; padding: 12px 16px; border-radius: 6px; }
    .ap-calc-note strong { color: #1a2b3c; }
    .ap-calc-box {
        background: #fff;
        border: 1px solid #d4e4f4;
        border-radius: 14px;
        padding: 36px 32px;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 28px;
        align-items: center;
        box-shadow: 0 2px 12px rgba(13,90,147,0.06);
    }
    .ap-calc-figure {
        text-align: center;
        padding: 8px 28px 8px 0;
        border-right: 1px solid #e2e8f0;
    }
    .ap-calc-value { font-size: 3rem; font-weight: 800; color: #15803d; line-height: 1; letter-spacing: -0.02em; }
    .ap-calc-label { font-size: 0.85rem; color: #64748b; margin-top: 6px; }
    .ap-calc-text { font-size: 1rem; line-height: 1.75; color: #475569; margin: 0; }
    .ap-calc-text strong { color: #1a2b3c; }

    @media (max-width: 768px) {
        .ap-calc-box { grid-template-columns: 1fr; gap: 18px; text-align: center; }
        .ap-calc-figure { border-right: none; border-bottom: 1px solid #e2e8f0; padding: 0 0 18px; }
    }

    /* --- Section D: Kooperationen --- */
    .ap-coop { background: #fff; border-bottom: 1px solid #eef0f2; }
    .ap-coop-heading { margin: 0 0 8px; text-align: center; }
    .ap-coop-subheading { color: #64748b; font-size: 1.05rem; margin: 0 0 36px; line-height: 1.6; text-align: center; }
    .ap-coop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .ap-coop-card {
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 28px 26px;
        background: #fff;
        box-shadow: 0 1px 4px rgba(0,0,0,0.03);
        transition: box-shadow 0.25s ease, transform 0.25s ease, border-color .2s;
    }
    .ap-coop-card:hover {
        box-shadow: 0 8px 24px rgba(13,90,147,0.10);
        transform: translateY(-2px);
        border-color: #c7ddf0;
    }
    .ap-coop-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; color: #1a2b3c; }
    .ap-coop-card p { font-size: 0.95rem; line-height: 1.65; color: #475569; margin: 0 0 14px; }
    .ap-coop-card a { color: #0d5a93; font-weight: 600; text-decoration: none; }
    .ap-coop-card a:hover { color: #094a7a; text-decoration: underline; }

    @media (max-width: 576px) { .ap-coop-grid { grid-template-columns: 1fr; } }

    /* --- Section E: FAQ --- */
    .ap-faq-section { background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 100%); border-top: 1px solid #d4e4f4; border-bottom: 1px solid #d4e4f4; }
    .ap-faq-heading { margin: 0 0 8px; text-align: center; }
    .ap-faq-subheading { color: #64748b; font-size: 1.05rem; margin: 0 0 36px; line-height: 1.6; text-align: center; }
    .ap-faq-item {
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        margin-bottom: 12px;
        overflow: hidden;
        background: #fff;
        transition: border-color 0.2s, box-shadow 0.2s;
        box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    }
    .ap-faq-item:hover { border-color: #cbd5e1; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
    .ap-faq-item.is-open { border-color: #0d5a93; box-shadow: 0 2px 12px rgba(13,90,147,0.08); }
    .ap-faq-question {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        padding: 20px 24px;
        background: #fff;
        border: none;
        cursor: pointer;
        text-align: left;
        font-family: inherit;
        font-size: 1rem;
        font-weight: 600;
        color: #1a2b3c;
        line-height: 1.45;
        transition: background 0.15s;
    }
    .ap-faq-question:hover { background: #fafbfc; }
    .ap-faq-item.is-open .ap-faq-question { background: #f0f7ff; color: #0d5a93; }
    .ap-faq-chevron {
        flex-shrink: 0;
        width: 22px;
        height: 22px;
        color: #94a3b8;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
    }
    .ap-faq-item.is-open .ap-faq-chevron { transform: rotate(180deg); color: #0d5a93; }
    .ap-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
    .ap-faq-answer-inner { padding: 4px 24px 24px; font-size: 0.95rem; line-height: 1.8; color: #475569; }
    .ap-faq-answer-inner strong { color: #1a2b3c; }

    /* --- Section F: Registrierung --- */
    .ap-register { background: #fff; }
    .ap-register-heading { margin: 0 0 8px; text-align: center; }
    .ap-register-subheading { color: #64748b; font-size: 1.05rem; margin: 0 0 32px; line-height: 1.6; text-align: center; }
    .ap-form-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 36px 40px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    }
    .ap-form-footer {
        text-align: center;
        margin-top: 18px;
        font-size: 0.85rem;
        color: #64748b;
        line-height: 1.6;
    }

    /* --- KlickTipp Opt-in Formular (nur auf dieser Seite gestylt) --- */
    .ap-form-card #klicktipp-form { width: 100%; max-width: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; }
    .ap-form-card .form-control {
        width: 480px;
        max-width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
        line-height: 1.4;
        border: 2px solid #0d5a93;
        border-radius: 8px;
        background: #fff;
        color: #1a2b3c;
        transition: border-color 0.2s, box-shadow 0.2s;
    }
    .ap-form-card .form-control::placeholder { color: #94a3b8; }
    .ap-form-card .form-control:focus {
        outline: none;
        border-color: #0d5a93;
        box-shadow: 0 0 0 4px rgba(13,90,147,0.18);
    }
    .ap-form-card .mb-2 { margin-bottom: 16px !important; }
    .ap-form-card .form-check {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin: 0 0 12px;
        padding: 0;
        width: 480px;
        max-width: 100%;
    }
    .ap-form-card .form-check-input {
        width: 18px;
        height: 18px;
        margin: 3px 0 0;
        flex-shrink: 0;
        cursor: pointer;
    }
    .ap-form-card .form-check-input:checked { background-color: #0d5a93; border-color: #0d5a93; }
    .ap-form-card .form-check-label { font-size: 0.9rem; line-height: 1.5; color: #475569; cursor: pointer; }
    .ap-form-card .form-check-label a { color: #0d5a93; font-weight: 600; }
    .ap-form-card .formSubmitButton {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: auto;
        min-width: 300px;
        background: #0d5a93;
        border: none;
        color: #fff;
        font-weight: 700;
        font-size: 1.05rem;
        padding: 16px 28px;
        border-radius: 8px;
        margin-top: 20px;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(13,90,147,0.25);
        transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    }
    .ap-form-card .formSubmitButton:hover {
        background: #094a7a;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(13,90,147,0.30);
    }
    .ap-form-card .formSubmitButton:active { transform: translateY(0); }
    .ap-form-card .form-info {
        margin-top: 18px;
        font-size: 0.8rem;
        line-height: 1.6;
        color: #94a3b8;
    }
    .ap-form-card .form-info a { color: #0d5a93; }

    @media (max-width: 576px) { .ap-form-card { padding: 24px 20px; } }
