/* Extracted from lohnabrechnungs-kostenrechner.php. Edit here, not in PHP. */

/* ============================================================
   Kostenrechner, CSS-Prefix lkr-
   Einfaches Layout: 1 Eingabe, 1 Lohnklar-Card, 3 Marktvergleichs-Cards
   ============================================================ */

/* HERO */
.lkr-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
    padding: 4rem 0 3.5rem;
    text-align: center;
    color: #fff;
}
.lkr-hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: #93c5fd;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}
.lkr-hero h1 {
    font-size: clamp(1.85rem, 4.5vw, 2.85rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.2;
}
.lkr-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}

/* CALC SECTION */
.lkr-section {
    padding: 4rem 0;
    background: #f8fafc;
}
.lkr-card {
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 32px -16px rgba(15,23,42,0.18);
    padding: 2.25rem;
}

/* EINGABE */
.lkr-input-block {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}
.lkr-input-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}
.lkr-input-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.lkr-num-input {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a5f;
    width: 140px;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.6rem 0.85rem;
    background: #f8fafc;
    transition: border-color 0.15s;
    -moz-appearance: textfield;
}
.lkr-num-input::-webkit-outer-spin-button,
.lkr-num-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.lkr-num-input:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
}
.lkr-num-suffix {
    font-size: 1.1rem;
    color: #4b5563;
    font-weight: 600;
}
.lkr-slider-wrap {
    max-width: 560px;
    margin: 0 auto;
}
.lkr-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 50px;
    background: linear-gradient(to right, #2563eb 0%, #2563eb var(--lkr-pct, 5%), #e5e7eb var(--lkr-pct, 5%), #e5e7eb 100%);
    outline: none;
    cursor: pointer;
}
.lkr-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #2563eb;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(37,99,235,0.3);
}
.lkr-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #2563eb;
    cursor: pointer;
}
.lkr-slider-marks {
    display: flex;
    justify-content: space-between;
    margin-top: 0.6rem;
    font-size: 0.72rem;
    color: #9ca3af;
    font-family: 'SF Mono', Consolas, monospace;
}

/* CARDS-GRID: Lohnklar prominent, 3 Vergleichs-Cards */
.lkr-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 1rem;
}
.lkr-comp-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s, box-shadow 0.18s;
}
.lkr-comp-card.is-lohnklar {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 2px solid #10b981;
    box-shadow: 0 8px 24px -8px rgba(16,185,129,0.25);
    position: relative;
}
.lkr-comp-card.is-lohnklar::before {
    content: "Lohnklar";
    position: absolute;
    top: -10px;
    left: 1.25rem;
    background: #10b981;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}
.lkr-comp-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.lkr-comp-card.is-lohnklar .lkr-comp-label {
    color: #047857;
}
.lkr-comp-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.lkr-comp-price {
    font-size: 1.85rem;
    font-weight: 800;
    color: #1e3a5f;
    line-height: 1.05;
    margin-bottom: 0.25rem;
}
.lkr-comp-card.is-lohnklar .lkr-comp-price {
    color: #047857;
    font-size: 2.15rem;
}
.lkr-comp-price-unit {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 1rem;
}
.lkr-comp-per-ma {
    font-size: 0.82rem;
    color: #4b5563;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed #e5e7eb;
}
.lkr-comp-note {
    font-size: 0.83rem;
    color: #4b5563;
    line-height: 1.55;
    margin-top: auto;
}

/* MARKTHINWEIS */
.lkr-market-hint {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border-left: 3px solid #2563eb;
    border-radius: 8px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4b5563;
}
.lkr-market-hint strong {
    color: #1e3a5f;
}

/* CTA */
.lkr-cta-row {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}
.lkr-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s;
}
.lkr-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(37,99,235,0.35);
}
.lkr-cta-meta {
    font-size: 0.88rem;
    color: #6b7280;
    margin-top: 1rem;
}
.lkr-cta-meta a { color: #2563eb; text-decoration: none; border-bottom: 1px solid rgba(37,99,235,0.3); }
.lkr-cta-meta a:hover { border-color: #2563eb; }

/* DISCLAIMER */
.lkr-disclaimer {
    max-width: 980px;
    margin: 1.5rem auto 0;
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.6;
    text-align: center;
    padding: 0 1rem;
}

/* INFO-SECTION (was berechnen wir?) */
.lkr-info {
    background: #fff;
    padding: 4rem 0;
}
.lkr-info-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.lkr-info h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 1rem;
    text-align: center;
}
.lkr-info-sub {
    text-align: center;
    color: #6b7280;
    margin: 0 0 2.5rem;
    line-height: 1.65;
}
.lkr-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.lkr-info-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
}
.lkr-info-item h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #1e3a5f;
    margin: 0 0 0.6rem;
}
.lkr-info-item p {
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .lkr-grid { grid-template-columns: 1fr 1fr; }
    .lkr-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
    .lkr-grid { grid-template-columns: 1fr; }
    .lkr-card { padding: 1.5rem 1.25rem; }
    .lkr-num-input { font-size: 2rem; width: 110px; }
}
