/* ============================================================
   /mitarbeitende-im-eu-ausland  (Prefix: eua-)
   Hero hell nach CI, Akzent Blau. Die Hero-Figur nutzt die
   globale .lk-figure, hier liegt nur das Diagramm (Matrix).
   ============================================================ */

.eua-hero {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 4.5rem 0 4rem;
}
.eua-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.eua-eyebrow {
    display: inline-block;
    margin-bottom: .9rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #2563eb;
}
.eua-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1f2937;
}
.eua-hero-sub {
    margin: 0 0 1.8rem;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #4b5563;
    max-width: 34em;
}
.eua-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}
.eua-btn-outline {
    display: inline-block;
    padding: .85rem 1.9rem;
    font-weight: 600;
    color: #2563eb;
    border: 2px solid #2563eb;
    border-radius: 50px;
    text-decoration: none;
    transition: background .18s, color .18s;
}
.eua-btn-outline:hover { background: #2563eb; color: #fff; }

/* --- Diagramm: Matrix aus Dauer und Gesellschaft --- */
.eua-matrix {
    display: grid;
    grid-template-columns: minmax(84px, .8fr) 1fr 1fr;
    gap: .5rem;
    width: 100%;
    margin: .4rem 0 1.4rem;
}
.eua-matrix-corner { min-height: 1px; }
.eua-matrix-head {
    align-self: end;
    padding-bottom: .35rem;
    font-size: .78rem;
    font-weight: 700;
    color: #1e3a5f;
    text-align: center;
    border-bottom: 2px solid #bfdbfe;
}
.eua-matrix-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: .5rem;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.25;
    color: #1e3a5f;
    text-align: right;
}
.eua-matrix-side span {
    font-weight: 500;
    color: #6b7280;
}
.eua-matrix-cell {
    padding: .7rem .75rem;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
}
.eua-matrix-cell strong {
    display: block;
    margin-bottom: .2rem;
    font-size: .84rem;
    color: #1f2937;
}
.eua-matrix-cell span {
    display: block;
    font-size: .72rem;
    line-height: 1.4;
    color: #6b7280;
}
/* Das Feld, in dem die deutsche Abrechnung weiterlaeuft */
.eua-matrix-cell--gut {
    background: #f0fdf4;
    border-color: #a7f3d0;
}
.eua-matrix-cell--gut strong { color: #047857; }

/* --- Fliesstext --- */
.eua-section { padding: 4rem 0; background: #fff; }
.eua-narrow { max-width: 820px; }
.eua-narrow h2 {
    margin: 3rem 0 1rem;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1f2937;
}
.eua-narrow h2:first-of-type { margin-top: 2.4rem; }
.eua-narrow p {
    margin: 0 0 1.1rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #4b5563;
}
.eua-narrow a { color: #2563eb; }

.eua-tldr {
    padding: 1.4rem 1.6rem;
    background: #f0f9ff;
    border-left: 4px solid #2563eb;
    border-radius: 0 10px 10px 0;
}
.eua-tldr-label {
    margin-bottom: .5rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #2563eb;
}
.eua-tldr p { margin: 0; color: #1f2937; }

/* --- Die sechs Faelle --- */
.eua-faelle {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    margin: 1.8rem 0 2.4rem;
}
.eua-fall {
    position: relative;
    padding: 1.5rem 1.4rem 1.4rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
/* Faelle, die Lohnklar selbst traegt, bekommen die Brandkante */
.eua-fall--wir { border-top: 3px solid #2563eb; }
.eua-fall-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: .7rem;
    font-size: .88rem;
    font-weight: 800;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 50%;
}
.eua-fall h3 {
    margin: 0 0 .4rem;
    font-size: 1.06rem;
    font-weight: 700;
    color: #1f2937;
}
.eua-fall-wann {
    margin: 0 0 .7rem !important;
    font-size: .87rem !important;
    font-style: italic;
    color: #6b7280 !important;
}
.eua-fall p { font-size: .93rem !important; line-height: 1.65 !important; }
.eua-fall-tag {
    display: inline-block;
    margin-top: .3rem;
    padding: .28rem .7rem;
    font-size: .72rem;
    font-weight: 700;
    color: #4b5563;
    background: #f3f4f6;
    border-radius: 50px;
}
.eua-fall-tag--wir { color: #1d4ed8; background: #dbeafe; }

/* --- Grenze --- */
.eua-grenze {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin: 1.6rem 0 2.2rem;
}
.eua-grenze-item {
    padding: 1.4rem;
    background: #f8fafc;
    border-left: 4px solid #1e3a5f;
    border-radius: 0 10px 10px 0;
}
.eua-grenze-item h3 {
    margin: 0 0 .6rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a5f;
}
.eua-grenze-item p { margin: 0 !important; font-size: .93rem !important; }

/* --- Ablauf --- */
.eua-ablauf {
    margin: 1.4rem 0 2rem;
    padding-left: 1.3rem;
    color: #4b5563;
}
.eua-ablauf li {
    margin-bottom: .9rem;
    font-size: 1.02rem;
    line-height: 1.7;
}
.eua-ablauf strong { color: #1f2937; }

/* --- FAQ --- */
.eua-faq { margin: 1.6rem 0 2.4rem; }
.eua-faq-item {
    padding: 1.2rem 0;
    border-bottom: 1px solid #e5e7eb;
}
.eua-faq-item:first-child { border-top: 1px solid #e5e7eb; }
.eua-faq-q {
    margin: 0 0 .5rem !important;
    font-size: 1.02rem !important;
    font-weight: 700;
    color: #1f2937 !important;
}
.eua-faq-a { margin: 0 !important; font-size: .96rem !important; }

@media (max-width: 900px) {
    .eua-hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .eua-faelle,
    .eua-grenze { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .eua-hero { padding: 3rem 0 2.5rem; }
    .eua-matrix { grid-template-columns: minmax(66px, .7fr) 1fr 1fr; gap: .35rem; }
    .eua-matrix-head { font-size: .7rem; }
    .eua-matrix-side { font-size: .68rem; }
    .eua-matrix-cell { padding: .55rem .5rem; }
    .eua-matrix-cell strong { font-size: .77rem; }
    .eua-matrix-cell span { font-size: .67rem; }
    .eua-hero-cta .btn,
    .eua-btn-outline { width: 100%; text-align: center; }
}
