/* ===================================================================
       Trusted Shops Landing Page — Scoped Styles
       =================================================================== */

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

    /* --- Layout & Typography --- */
    .ts-page {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    .ts-page h1, .ts-page h2, .ts-page h3, .ts-page h4 { color: #1a2b3c; }
    .ts-section { padding: 64px 0; }
    .ts-container { max-width: 1100px; padding: 0 0 0 80px; margin: 0; box-sizing: border-box; }

    /* Consistent section heading pattern */
    .ts-page h2 {
        font-size: 1.85rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1.25;
    }

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

    /* --- Section A: Hero --- */
    .ts-hero {
        background: linear-gradient(135deg, #fffdf4 0%, #fff 40%, #f0f7ff 100%);
        border-bottom: 1px solid #e8deb5;
        padding: 72px 0 76px;
    }
    .ts-hero-grid {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 56px;
        align-items: center;
    }
    .ts-hero h1 {
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: -0.025em;
        color: #0d2137;
        margin: 0 0 20px;
    }
    .ts-hero-sub {
        font-size: 1.15rem;
        line-height: 1.75;
        color: #475569;
        margin: 0 0 32px;
        max-width: 540px;
    }
    .ts-hero-sub strong { color: #0d5a93; font-weight: 700; }
    .ts-hero-img {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .ts-hero-img img {
        width: 100%;
        max-width: 300px;
        height: auto;
        filter: drop-shadow(0 12px 32px rgba(0,0,0,0.10));
    }
    .ts-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;
    }
    .ts-hero-cta:hover {
        background: #094a7a;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(13,90,147,0.30);
        text-decoration: none;
    }
    .ts-hero-cta:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(13,90,147,0.20); }

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

    /* --- Section B: Pain Points (nummerierte Liste) --- */
    .ts-pain { background: #fff; border-bottom: 1px solid #eef0f2; }
    .ts-pain-heading { margin: 0 0 8px; text-align: center; }
    .ts-pain-subheading {
        color: #64748b;
        font-size: 1.05rem;
        margin: 0 auto 40px;
        line-height: 1.6;
        text-align: center;
    }
    .ts-pain-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-width: 700px;
        margin: 0 auto;
    }
    .ts-pain-item {
        display: grid;
        grid-template-columns: 52px 1fr;
        gap: 0 14px;
        padding: 20px 0;
        align-items: start;
    }
    .ts-pain-number {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: 800;
        color: #0d5a93;
        background: #eef5fb;
        border-radius: 12px;
        line-height: 1;
        margin-top: 2px;
    }
    .ts-pain-item h3 {
        font-size: 1.15rem;
        font-weight: 700;
        color: #1a2b3c;
        margin: 0 0 4px;
        line-height: 1.35;
    }
    .ts-pain-item p {
        font-size: 0.95rem;
        line-height: 1.7;
        color: #64748b;
        margin: 0;
        max-width: 600px;
    }

    @media (max-width: 768px) {
        .ts-pain-item { grid-template-columns: 48px 1fr; gap: 0 16px; padding: 24px 0; }
        .ts-pain-number { width: 40px; height: 40px; font-size: 1rem; border-radius: 10px; }
    }

    /* --- Section C: ROI Stats (horizontale Zeile) --- */
    .ts-roi {
        background: linear-gradient(135deg, #fffdf4 0%, #fffcf0 50%, #fff9e6 100%);
        border-top: 1px solid #e8deb5;
        border-bottom: 1px solid #e8deb5;
    }
    .ts-roi-heading { margin: 0 0 8px; text-align: center; }
    .ts-roi-subheading {
        color: #64748b;
        font-size: 1.05rem;
        margin: 0 0 36px;
        line-height: 1.6;
        text-align: center;
    }
    .ts-roi-row {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 0;
    }
    .ts-roi-item {
        flex: 0 1 auto;
        display: flex;
        align-items: baseline;
        gap: 12px;
    }
    .ts-roi-item:not(:last-child) {
        border-right: 1px solid #d4c68a;
        padding-right: 32px;
        margin-right: 32px;
    }
    .ts-roi-value {
        font-size: 2.2rem;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.02em;
        white-space: nowrap;
    }
    .ts-roi-value.ts-positive { color: #15803d; }
    .ts-roi-value.ts-negative { color: #b91c1c; }
    .ts-roi-meta {}
    .ts-roi-label {
        font-size: 0.95rem;
        font-weight: 600;
        color: #1a2b3c;
        line-height: 1.3;
    }
    .ts-roi-source {
        font-size: 0.8rem;
        color: #94a3b8;
        font-style: italic;
    }
    .ts-social-proof {
        margin-top: 36px;
        padding-top: 28px;
        border-top: 1px solid #e8deb5;
        font-size: 1.05rem;
        line-height: 1.65;
        color: #475569;
    }
    .ts-social-proof strong { color: #0d5a93; font-weight: 700; }

    @media (max-width: 768px) {
        .ts-roi-row { flex-direction: column; gap: 24px; }
        .ts-roi-item:not(:last-child) { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid #d4c68a; padding-bottom: 24px; }
    }

    /* --- Section D: ThemeWare Advantage --- */
    .ts-advantage { background: #fff; border-bottom: 1px solid #eef0f2; }
    .ts-advantage-heading { margin: 0 0 8px; text-align: center; }
    .ts-advantage-subheading {
        color: #64748b;
        font-size: 1.05rem;
        margin: 0 0 40px;
        line-height: 1.6;
        text-align: center;
    }
    .ts-advantage-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .ts-advantage-card {
        background: linear-gradient(135deg, #f5f9ff 0%, #fff 100%);
        border: 1px solid #d4e4f4;
        border-radius: 14px;
        padding: 36px 32px;
        position: relative;
        box-shadow: 0 2px 8px rgba(13,90,147,0.05);
        transition: box-shadow 0.25s ease, transform 0.25s ease;
    }
    .ts-advantage-card:hover {
        box-shadow: 0 8px 24px rgba(13,90,147,0.10);
        transform: translateY(-2px);
    }
    .ts-advantage-card h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #0d5a93;
        margin: 0 0 14px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .ts-advantage-card p {
        font-size: 0.95rem;
        line-height: 1.7;
        color: #475569;
        margin: 0 0 18px;
    }
    .ts-advantage-card p:last-child { margin-bottom: 0; }
    .ts-advantage-card ul { list-style: none; padding: 0; margin: -5px 0 0; }
    .ts-advantage-card ul li {
        position: relative;
        padding-left: 28px;
        font-size: 0.925rem;
        line-height: 1.65;
        color: #475569;
        margin-bottom: 10px;
    }
    .ts-advantage-card ul li:last-child { margin-bottom: 0; }
    .ts-advantage-card ul li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 5px;
        width: 18px;
        height: 18px;
        background: #0d5a93;
        border-radius: 50%;
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12.736 3.97a.733.733 0 011.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 01-1.065.02L3.217 8.384a.757.757 0 010-1.06.733.733 0 011.047 0l3.052 3.093 5.4-6.425z'/%3E%3C/svg%3E");
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12.736 3.97a.733.733 0 011.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 01-1.065.02L3.217 8.384a.757.757 0 010-1.06.733.733 0 011.047 0l3.052 3.093 5.4-6.425z'/%3E%3C/svg%3E");
        mask-size: contain;
        -webkit-mask-size: contain;
    }
    .ts-advantage-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: linear-gradient(135deg, #fffdf4, #fff8e1);
        border: 1px solid #e8deb5;
        color: #92400e;
        font-size: 0.825rem;
        font-weight: 700;
        padding: 7px 14px;
        border-radius: 20px;
        margin-top: 18px;
        box-shadow: 0 1px 4px rgba(212,160,23,0.12);
    }
    .ts-advantage-cta {
        text-align: center;
        margin-top: 44px;
    }

    @media (max-width: 768px) {
        .ts-advantage-grid { grid-template-columns: 1fr; }
        .ts-advantage-card { padding: 28px 24px; }
    }

    /* --- Section E: Contact/Form --- */
    .ts-contact {
        background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 50%, #fff 100%);
        border-top: 1px solid #d4e4f4;
        border-bottom: 1px solid #d4e4f4;
    }
    .ts-contact-heading { margin: 0 0 8px; text-align: center; }
    .ts-contact-subheading {
        color: #64748b;
        font-size: 1.05rem;
        margin: 0 0 40px;
        line-height: 1.6;
        text-align: center;
    }
    .ts-contact-wrapper {
        max-width: 100%;
    }
    .ts-patrick {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 28px;
        gap: 8px;
    }
    .ts-patrick-photo img {
        width: 80px;
        height: auto;
    }
    .ts-patrick-name {
        font-size: 1.05rem;
        font-weight: 700;
        color: #1a2b3c;
        margin: 0;
    }
    .ts-patrick-role {
        font-size: 0.85rem;
        color: #64748b;
        margin: 0;
    }
    .ts-form-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 36px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    }
    .ts-form-footer {
        text-align: center;
        padding-top: 24px;
        margin-top: 24px;
        border-top: 1px solid #f1f5f9;
        font-size: 0.875rem;
        color: #64748b;
        line-height: 1.7;
    }
    .ts-form-footer a { font-weight: 600; color: #0d5a93; text-decoration: none; }
    .ts-form-footer a:hover { color: #094a7a; text-decoration: none; }
    .ts-form-card h2 { text-align: center; }
    .ts-form-trust-signals {
        display: flex;
        justify-content: center;
        gap: 28px;
        margin-top: 10px;
        flex-wrap: wrap;
    }
    .ts-form-trust-signal {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.85rem;
        font-weight: 500;
        color: #475569;
    }
    .ts-form-trust-signal svg { color: #16a34a; flex-shrink: 0; }

    @media (max-width: 576px) {
        .ts-patrick { flex-direction: column; align-items: center; text-align: center; padding: 24px; }
        .ts-form-card { padding: 24px 20px; }
        .ts-form-trust-signals { flex-direction: column; align-items: center; gap: 8px; }
    }

    /* --- Section F: FAQ --- */
    .ts-faq-section { background: #fff; border-bottom: 1px solid #eef0f2; }
    .ts-faq-heading { margin: 0 0 8px; text-align: center; }
    .ts-faq-subheading {
        color: #64748b;
        font-size: 1.05rem;
        margin: 0 0 36px;
        line-height: 1.6;
        text-align: center;
    }
    .ts-faq-list {
        max-width: 100%;
    }
    .ts-faq-item {
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        margin-bottom: 12px;
        overflow: hidden;
        transition: border-color 0.2s, box-shadow 0.2s;
        box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    }
    .ts-faq-item:hover {
        border-color: #cbd5e1;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    .ts-faq-item.is-open {
        border-color: #0d5a93;
        box-shadow: 0 2px 12px rgba(13,90,147,0.08);
    }
    .ts-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;
    }
    .ts-faq-question:hover { background: #fafbfc; }
    .ts-faq-item.is-open .ts-faq-question { background: #f0f7ff; color: #0d5a93; }
    .ts-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;
    }
    .ts-faq-item.is-open .ts-faq-chevron { transform: rotate(180deg); color: #0d5a93; }
    .ts-faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .ts-faq-answer-inner {
        padding: 4px 24px 24px;
        font-size: 0.95rem;
        line-height: 1.8;
        color: #475569;
    }
    .ts-faq-answer-inner a { color: #0d5a93; font-weight: 600; }
    .ts-faq-answer-inner a:hover { color: #094a7a; }
    .ts-faq-answer-inner strong { color: #1a2b3c; }
    .ts-rescue-cta {
        margin-top: 36px;
        font-size: 1rem;
    }
    .ts-rescue-cta { text-align: center; }
    .ts-rescue-cta a { color: #0d5a93; font-weight: 600; text-decoration: none; }
    .ts-rescue-cta a:hover { text-decoration: underline; }

    /* --- Submit-Button im Formular --- */
    .ts-form-card .btn-ts-submit {
        display: block;
        width: 100%;
        background: #0d5a93;
        color: #fff;
        font-weight: 700;
        font-size: 1.05rem;
        padding: 16px 28px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.2s, transform 0.15s;
    }
    .ts-form-card .btn-ts-submit:hover {
        background: #094a7a;
        color: #fff;
        transform: translateY(-1px);
    }

    /* --- Section G: Coupon --- */
    .ts-coupon {
        background: linear-gradient(135deg, #fffdf4 0%, #fff 100%);
        border-top: 1px solid #e8deb5;
    }
    .ts-coupon-inner {
        max-width: 100%;
        text-align: center;
    }
    .ts-coupon-heading {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0 0 8px;
    }
    .ts-coupon-desc {
        color: #64748b;
        font-size: 1rem;
        margin: 0 0 28px;
        line-height: 1.6;
    }
    .ts-coupon-box {
        display: inline-flex;
        align-items: stretch;
        border: 2px dashed #d4a017;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        margin-bottom: 24px;
        box-shadow: 0 2px 12px rgba(212,160,23,0.10);
        transition: box-shadow 0.2s;
    }
    .ts-coupon-box:hover {
        box-shadow: 0 4px 20px rgba(212,160,23,0.18);
    }
    .ts-coupon-input {
        font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
        font-size: 1.35rem;
        font-weight: 700;
        letter-spacing: 2.5px;
        color: #1a2b3c;
        padding: 16px 24px;
        border: none;
        background: transparent;
        text-align: center;
        min-width: 260px;
    }
    .ts-coupon-input:focus { outline: none; }
    .ts-coupon-copy {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px 20px;
        border: none;
        border-left: 2px dashed #d4a017;
        background: #fffdf4;
        cursor: pointer;
        color: #92400e;
        transition: background 0.2s, color 0.2s, transform 0.15s;
        font-size: 0.875rem;
        font-weight: 600;
        gap: 6px;
    }
    .ts-coupon-copy:hover { background: #fff9e0; transform: translateY(-1px); }
    .ts-coupon-copy:active { transform: translateY(0); }
    .ts-coupon-copy.is-copied { background: #dcfce7; color: #16a34a; border-color: #16a34a; }
    .ts-coupon-link {
        font-size: 0.95rem;
        color: #64748b;
        line-height: 1.6;
    }
    .ts-coupon-link a { color: #0d5a93; font-weight: 600; }
    .ts-coupon-link a:hover { color: #094a7a; }

    @media (max-width: 576px) {
        .ts-coupon-box { flex-direction: column; width: 100%; }
        .ts-coupon-input { min-width: auto; font-size: 1.15rem; padding: 14px 16px; }
        .ts-coupon-copy { border-left: none; border-top: 2px dashed #d4a017; justify-content: center; }
    }

    /* --- Utilities --- */
    .ts-gradient-text { background: linear-gradient(135deg, #0d5a93, #1a7fd4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .ts-page .btn-primary {
        background: #0d5a93;
        border-color: #0d5a93;
        color: #fff;
        border-radius: 8px;
        font-weight: 600;
        font-size: 1.05rem;
        padding: 14px 32px;
        box-shadow: 0 4px 14px rgba(13,90,147,0.20);
        transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    }
    .ts-page .btn-primary:hover {
        background: #094a7a;
        border-color: #094a7a;
        box-shadow: 0 6px 20px rgba(13,90,147,0.28);
        transform: translateY(-1px);
    }
    .ts-page .btn-primary:active { transform: translateY(0); }

    .ts-coupon-top { background: linear-gradient(135deg, #fffdf4 0%, #fff9e6 100%); border-top: 1px solid #e8deb5; border-bottom: 1px solid #e8deb5; }
    .ts-coupon-top-box { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; background: #fff; border: 2px dashed #d4a017; border-radius: 16px; padding: 28px 34px; box-shadow: 0 4px 22px rgba(212,160,23,0.13); }
    .ts-coupon-top-badge { display: inline-flex; align-items: center; gap: 6px; background: #fff8e1; border: 1px solid #e8deb5; color: #92400e; font-size: 0.8rem; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
    .ts-coupon-top-info h2 { font-size: 1.6rem; font-weight: 800; color: #1a2b3c; margin: 12px 0 6px; letter-spacing: -0.01em; }
    .ts-coupon-top-info p { color: #475569; margin: 0; font-size: 0.98rem; line-height: 1.6; max-width: 520px; }
    .ts-coupon-top-action { text-align: center; }
    .ts-coupon-top-label { display: block; font-size: 0.78rem; font-weight: 700; color: #92400e; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
    .ts-coupon-top-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #0d5a93; font-weight: 700; text-decoration: none; }
    .ts-coupon-top-cta:hover { color: #094a7a; text-decoration: none; }
    @media (max-width: 768px) {
        .ts-coupon-top-box { grid-template-columns: 1fr; gap: 22px; text-align: center; padding: 24px 20px; }
        .ts-coupon-top-info h2 { font-size: 1.35rem; }
        .ts-coupon-top-info p { margin: 0 auto; }
    }
