/* ===================================================================
       IT-Recht Kanzlei Landing Page — Scoped Styles
       =================================================================== */

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

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

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

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

    /* --- Section A: Hero --- */
    .irk-hero {
        background: linear-gradient(135deg, #fff8f0 0%, #fff 40%, #fffaf5 100%);
        border-bottom: 1px solid #f0d4a8;
        padding: 72px 0 76px;
    }
    .irk-hero-grid {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 56px;
        align-items: center;
    }
    .irk-hero h1 {
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: -0.025em;
        color: #0d2137;
        margin: 0 0 20px;
    }
    .irk-hero-sub {
        font-size: 1.15rem;
        line-height: 1.75;
        color: #475569;
        margin: 0 0 32px;
        max-width: 540px;
    }
    .irk-hero-sub strong { color: #ef7d00; font-weight: 700; }
    .irk-hero-img {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .irk-hero-img img {
        width: 100%;
        max-width: 280px;
        height: auto;
        filter: drop-shadow(0 12px 32px rgba(0,0,0,0.10));
    }
    .irk-hero-cta {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #ef7d00;
        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(239,125,0,0.25);
        transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    }
    .irk-hero-cta:hover {
        background: #d66d00;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(239,125,0,0.30);
        text-decoration: none;
    }
    .irk-hero-cta:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(239,125,0,0.20); }

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

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

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

    /* --- Section C: Social Proof Stats (horizontale Zeile) --- */
    .irk-proof {
        background: linear-gradient(135deg, #fff8f0 0%, #fffaf5 50%, #fff5eb 100%);
        border-top: 1px solid #f0d4a8;
        border-bottom: 1px solid #f0d4a8;
    }
    .irk-proof-heading { margin: 0 0 8px; text-align: center; }
    .irk-proof-row {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 0;
        margin-top: 36px;
    }
    .irk-proof-item {
        flex: 0 1 auto;
        display: flex;
        align-items: baseline;
        gap: 12px;
    }
    .irk-proof-item:not(:last-child) {
        border-right: 1px solid #e0b07a;
        padding-right: 32px;
        margin-right: 32px;
    }
    .irk-proof-value {
        font-size: 2.2rem;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.02em;
        white-space: nowrap;
        color: #ef7d00;
    }
    .irk-proof-label {
        font-size: 0.95rem;
        font-weight: 600;
        color: #1a2b3c;
        line-height: 1.3;
    }
    .irk-proof-detail {
        font-size: 0.8rem;
        color: #94a3b8;
        font-style: italic;
    }
    .irk-social-proof {
        margin-top: 36px;
        padding-top: 28px;
        border-top: 1px solid #f0d4a8;
        font-size: 1.05rem;
        line-height: 1.65;
        color: #475569;
        text-align: center;
    }
    .irk-social-proof strong { color: #ef7d00; font-weight: 700; }

    @media (max-width: 768px) {
        .irk-proof-row { flex-direction: column; gap: 24px; align-items: center; }
        .irk-proof-item:not(:last-child) { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid #e0b07a; padding-bottom: 24px; }
    }

    /* --- Section D: Pakete + ThemeWare-Rabatt --- */
    .irk-packages { background: #fff; border-bottom: 1px solid #eef0f2; }
    .irk-packages-heading { margin: 0 0 8px; text-align: center; }
    .irk-packages-subheading {
        color: #64748b;
        font-size: 1.05rem;
        margin: 0 0 40px;
        line-height: 1.6;
        text-align: center;
    }
    .irk-packages-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .irk-package-card {
        background: linear-gradient(135deg, #fffaf5 0%, #fff 100%);
        border: 1px solid #f0d4a8;
        border-radius: 14px;
        padding: 28px 24px;
        text-align: center;
        position: relative;
        box-shadow: 0 2px 8px rgba(239,125,0,0.05);
        transition: box-shadow 0.25s ease, transform 0.25s ease;
    }
    .irk-package-card:hover {
        box-shadow: 0 8px 24px rgba(239,125,0,0.12);
        transform: translateY(-2px);
    }
    .irk-package-name {
        font-size: 1.05rem;
        font-weight: 700;
        color: #1a2b3c;
        margin: 0 0 16px;
    }
    .irk-package-price-original {
        font-size: 1rem;
        color: #94a3b8;
        text-decoration: line-through;
        margin: 0 0 4px;
    }
    .irk-package-price-discount {
        font-size: 1.85rem;
        font-weight: 800;
        color: #ef7d00;
        margin: 0 0 4px;
        line-height: 1.2;
    }
    .irk-package-price-unit {
        font-size: 0.8rem;
        color: #94a3b8;
        margin: 0 0 16px;
    }
    .irk-package-desc {
        font-size: 0.875rem;
        line-height: 1.6;
        color: #64748b;
        margin: 0;
    }
    .irk-package-badge {
        position: absolute;
        top: -10px;
        right: 16px;
        background: #ef7d00;
        color: #fff;
        font-size: 0.7rem;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 12px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }
    .irk-packages-cta {
        text-align: center;
        margin-top: 44px;
    }

    @media (max-width: 992px) {
        .irk-packages-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 576px) {
        .irk-packages-grid { grid-template-columns: 1fr; }
        .irk-package-card { padding: 24px 20px; }
    }

    /* --- Section E: Wie es funktioniert (3 Schritte) --- */
    .irk-steps {
        background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
        border-bottom: 1px solid #eef0f2;
    }
    .irk-steps-heading { margin: 0 0 40px; text-align: center; }
    .irk-steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        max-width: 900px;
        margin: 0 auto;
    }
    .irk-step-card {
        text-align: center;
        padding: 24px 16px;
    }
    .irk-step-number {
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.35rem;
        font-weight: 800;
        color: #ef7d00;
        background: #fff5eb;
        border: 2px solid #f0d4a8;
        border-radius: 50%;
        margin: 0 auto 20px;
        line-height: 1;
    }
    .irk-step-card h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1a2b3c;
        margin: 0 0 8px;
    }
    .irk-step-card p {
        font-size: 0.9rem;
        line-height: 1.65;
        color: #64748b;
        margin: 0;
    }

    @media (max-width: 768px) {
        .irk-steps-grid { grid-template-columns: 1fr; gap: 24px; }
    }

    /* --- Section F: CTA mit Modal --- */
    .irk-cta-section {
        background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
        border-top: 1px solid #f0d4a8;
        border-bottom: 1px solid #f0d4a8;
    }
    .irk-cta-inner {
        text-align: center;
        max-width: 640px;
        margin: 0 auto;
    }
    .irk-cta-inner h2 { margin: 0 0 12px; }
    .irk-cta-desc {
        color: #64748b;
        font-size: 1.05rem;
        margin: 0 0 32px;
        line-height: 1.6;
    }

    /* --- Modal --- */
    .irk-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 10000;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        align-items: center;
        justify-content: center;
        padding: 20px;
        opacity: 0;
        transition: opacity 0.25s ease;
    }
    .irk-modal-overlay.is-visible {
        display: flex;
        opacity: 1;
    }
    .irk-modal-overlay.is-animating {
        display: flex;
    }
    .irk-modal-box {
        background: #fff;
        border-radius: 16px;
        max-width: 520px;
        width: 100%;
        padding: 40px 36px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.15);
        transform: translateY(20px) scale(0.97);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }
    .irk-modal-overlay.is-visible .irk-modal-box {
        transform: translateY(0) scale(1);
    }
    .irk-modal-close {
        position: absolute;
        top: 16px;
        right: 16px;
        background: none;
        border: none;
        cursor: pointer;
        color: #94a3b8;
        padding: 4px;
        line-height: 1;
        transition: color 0.15s;
    }
    .irk-modal-close:hover { color: #1a2b3c; }
    .irk-modal-box h3 {
        font-size: 1.35rem;
        font-weight: 800;
        color: #1a2b3c;
        margin: 0 0 12px;
    }
    .irk-modal-box > p {
        font-size: 0.95rem;
        line-height: 1.7;
        color: #475569;
        margin: 0 0 20px;
    }
    .irk-modal-info {
        background: #fff5eb;
        border: 1px solid #f0d4a8;
        border-radius: 10px;
        padding: 16px 20px;
        font-size: 0.875rem;
        line-height: 1.7;
        color: #9a3412;
        margin: 0 0 28px;
    }
    .irk-modal-info strong { color: #9a3412; }
    .irk-modal-cta {
        display: block;
        width: 100%;
        background: #ef7d00;
        color: #fff;
        font-weight: 700;
        font-size: 1.05rem;
        padding: 16px 28px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        text-align: center;
        text-decoration: none;
        transition: background 0.2s, transform 0.15s;
        box-shadow: 0 4px 14px rgba(239,125,0,0.25);
    }
    .irk-modal-cta:hover {
        background: #d66d00;
        color: #fff;
        transform: translateY(-1px);
        text-decoration: none;
    }
    .irk-modal-cta:active { transform: translateY(0); }
    .irk-modal-cancel {
        display: block;
        text-align: center;
        margin-top: 16px;
        font-size: 0.9rem;
        color: #64748b;
        cursor: pointer;
        background: none;
        border: none;
        font-family: inherit;
        transition: color 0.15s;
    }
    .irk-modal-cancel:hover { color: #1a2b3c; }

    @media (max-width: 576px) {
        .irk-modal-box { padding: 28px 20px; }
    }

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

    /* --- Utilities --- */
    .irk-gradient-text { background: linear-gradient(135deg, #ef7d00, #ff9a33); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .irk-page .btn-irk {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #ef7d00;
        border-color: #ef7d00;
        color: #fff;
        border-radius: 8px;
        font-weight: 600;
        font-size: 1.05rem;
        padding: 14px 32px;
        border: none;
        cursor: pointer;
        text-decoration: none;
        box-shadow: 0 4px 14px rgba(239,125,0,0.20);
        transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    }
    .irk-page .btn-irk:hover {
        background: #d66d00;
        color: #fff;
        box-shadow: 0 6px 20px rgba(239,125,0,0.28);
        transform: translateY(-1px);
        text-decoration: none;
    }
    .irk-page .btn-irk:active { transform: translateY(0); }
