/* Extracted from index.php. Edit here, not in PHP. */

/* Sticky-CTA auf Homepage ausblenden (dedicated CTA-Sektion 7 reicht) */
body.is-homepage .sticky-cta,
body.is-homepage aside[aria-label="Schnellkontakt"] { display: none !important; }


/* === Drei Säulen (idx-pillars, behalten) === */
.idx-pillars { padding: 5rem 0; background: #f8fafc; }
.idx-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1.5rem;
}
.idx-pillar-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s;
}
.idx-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.idx-pillar-card--lohn        { border-top: 4px solid #10b981; }
.idx-pillar-card--hr          { border-top: 4px solid #2563eb; }
.idx-pillar-card--buchhaltung { border-top: 4px solid #1e3a5f; }
.idx-pillar-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.idx-pillar-card--lohn .idx-pillar-icon        { background: #f0fdf4; color: #10b981; }
.idx-pillar-card--hr .idx-pillar-icon          { background: #eff6ff; color: #2563eb; }
.idx-pillar-card--buchhaltung .idx-pillar-icon { background: #f0f9ff; color: #1e3a5f; }
.idx-pillar-card h3 { font-size: 1.25rem; font-weight: 700; color: #1f2937; margin-bottom: 0.75rem; }
.idx-pillar-card p  { color: #4b5563; line-height: 1.7; margin-bottom: 1.25rem; }
.idx-pillar-link    { color: #2563eb; font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.idx-pillar-link:hover { text-decoration: underline; }
@media (max-width: 900px) {
    .idx-pillars-grid { grid-template-columns: 1fr; gap: 1rem; padding: 0 1rem; }
    .idx-pillars { padding: 3rem 0; }
}

/* === Wie wir arbeiten (lk-how) === */
.lk-how { padding: 5rem 0; background: #ffffff; }
.lk-how-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2.5rem;
}
.lk-how-text h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: #1f2937;
    line-height: 1.2;
    margin: 0 0 1.25rem;
}
.lk-how-text p {
    color: #374151;
    line-height: 1.75;
    font-size: 1.025rem;
    margin: 0 0 1rem;
}
.lk-how-text p:last-child { margin-bottom: 0; }
.lk-how-tools {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}
.lk-how-tools-label {
    font-size: 0.78rem;
    color: #6b7280;
    margin-bottom: 0.85rem;
    letter-spacing: 0.02em;
}
.lk-how-tools-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}
.lk-how-tools-row span {
    color: #475569;
}
@media (max-width: 900px) {
    .lk-how-grid { grid-template-columns: 1fr; gap: 2rem; }
    .lk-how { padding: 3rem 0; }
}

/* === Ablauf (lk-ablauf, NEU) === */
.lk-ablauf { padding: 5rem 0; background: #f0f9ff; }
.lk-ablauf-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    list-style: none;
    padding: 0 1rem;
    margin: 3rem 0 0;
    counter-reset: ablauf;
}
.lk-ablauf-step {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    border: 1px solid #e0e7ef;
}
.lk-ablauf-num {
    width: 32px;
    height: 32px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 1rem;
}
.lk-ablauf-h {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.4rem;
}
.lk-ablauf-meta {
    display: block;
    font-size: 0.72rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.lk-ablauf-step p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}
@media (max-width: 900px) {
    .lk-ablauf-steps { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .lk-ablauf { padding: 3rem 0; }
}
@media (max-width: 540px) {
    .lk-ablauf-steps { grid-template-columns: 1fr; }
}

/* === Kunden (lk-kunden) === */
.lk-kunden { padding: 5rem 0; background: #ffffff; }
.lk-kunden-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2.5rem 0 3.5rem;
}
.lk-kunden-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.lk-kunden-logo img {
    max-height: 48px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.2s, opacity 0.2s;
}
.lk-kunden-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.lk-kunden-logo-name {
    font-size: 0.78rem;
    color: #6b7280;
}
.lk-testimonial {
    max-width: 720px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 16px;
    padding: 2.5rem 2.25rem;
    border: 1px solid #e2e8f0;
}
.lk-testimonial-quote {
    font-size: 1.075rem;
    line-height: 1.7;
    color: #1f2937;
    margin: 0 0 1.5rem;
}
.lk-testimonial-quote::before {
    content: "„";
    font-size: 2.5rem;
    color: #2563eb;
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 0.2rem;
}
.lk-testimonial-quote::after {
    content: "“";
    font-size: 2.5rem;
    color: #2563eb;
    line-height: 0;
    vertical-align: -0.4em;
    margin-left: 0.1rem;
}
.lk-testimonial-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.lk-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}
.lk-testimonial-name {
    display: block;
    font-weight: 700;
    color: #1f2937;
    font-size: 0.95rem;
}
.lk-testimonial-role {
    display: block;
    font-size: 0.825rem;
    color: #6b7280;
}
@media (max-width: 768px) {
    .lk-kunden { padding: 3rem 0; }
    .lk-kunden-logos { gap: 2rem; }
    .lk-testimonial { padding: 2rem 1.5rem; }
}

/* === Preise + CTA (lk-cta, fusioniert) === */
.lk-cta { padding: 5rem 0; background: linear-gradient(135deg, #1e3a5f, #1e40af); color: #fff; }
.lk-cta-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}
.lk-cta-text h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.2;
}
.lk-cta-text p {
    color: rgba(255,255,255,0.85);
    font-size: 1.025rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
}
.lk-cta-pricerow {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.lk-cta-pricepill {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    color: #fff;
    font-weight: 600;
}
.lk-cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.lk-cta-action .btn {
    background: #ffffff;
    color: #1e3a5f;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lk-cta-action .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.lk-cta-meta {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    margin: 0;
}
.lk-cta-meta a {
    color: #93c5fd;
    text-decoration: underline;
    text-decoration-color: rgba(147,197,253,0.6);
}
.lk-cta-meta a:hover { color: #fff; text-decoration-color: #fff; }
@media (max-width: 900px) {
    .lk-cta { padding: 3rem 0; }
    .lk-cta-inner { grid-template-columns: 1fr; gap: 2rem; }
    .lk-cta-action { align-items: stretch; }
    .lk-cta-action .btn { text-align: center; }
}

/* === Hero-Buttons Override für die neue Reduktion === */
.hero-buttons .btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}
.hero-buttons .btn-secondary:hover {
    background: #2563eb;
    color: #fff;
}
