/* Extracted from payroll-anbieter-vergleich-2026.php. Edit here, not in PHP. */

/* === Vergleichsseite Prefix: vgl- === */
.vgl-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 4rem 0 3rem;
}
.vgl-hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.vgl-hero-breadcrumb {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
.vgl-hero-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}
.vgl-hero-breadcrumb a:hover { text-decoration: underline; }
.vgl-hero-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.vgl-hero h1 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    color: #1f2937;
    line-height: 1.15;
    margin: 0 0 1rem;
    max-width: 900px;
}
.vgl-hero-sub {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
    max-width: 760px;
}
.vgl-hero-meta {
    margin-top: 1.5rem;
    font-size: 0.825rem;
    color: #6b7280;
}
.vgl-hero-meta a { color: #2563eb; text-decoration: none; }

.vgl-section { padding: 4rem 0; background: #fff; }
.vgl-section-alt { background: #f8fafc; }
.vgl-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.vgl-section h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: #1e3a5f;
    margin: 0 0 1.5rem;
}
.vgl-section p {
    color: #374151;
    line-height: 1.75;
    font-size: 1.025rem;
    margin: 0 0 1rem;
}

/* Hauptvergleichstabelle */
.vgl-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    margin: 2rem 0;
    -webkit-overflow-scrolling: touch;
}
.vgl-table {
    width: 100%;
    min-width: 880px;
    border-collapse: collapse;
    font-size: 0.93rem;
}
.vgl-table th, .vgl-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}
.vgl-table thead th {
    background: #1e3a5f;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}
.vgl-table thead th.vgl-th-highlight {
    background: #059669;
}
.vgl-table tbody td {
    color: #374151;
}
.vgl-table tbody td.vgl-row-label {
    background: #f8fafc;
    font-weight: 700;
    color: #1f2937;
    width: 180px;
}
.vgl-table tbody td.vgl-highlight {
    background: #f0fdf4;
    font-weight: 600;
    color: #047857;
}
.vgl-table tbody tr:hover td:not(.vgl-row-label) { background: #f9fafb; }
.vgl-table tbody tr:hover td.vgl-highlight { background: #ecfdf5; }
.vgl-table tbody tr:last-child td { border-bottom: none; }

/* Provider Cards (Detail-Beschreibungen) */
.vgl-providers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.vgl-provider {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 1.75rem;
}
.vgl-provider.vgl-provider--us {
    border: 2px solid #10b981;
    background: #f0fdf4;
}
.vgl-provider-tag {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 0.4rem;
}
.vgl-provider--us .vgl-provider-tag { color: #059669; }
.vgl-provider h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 0.5rem;
}
.vgl-provider-sub {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
.vgl-provider-pro, .vgl-provider-con {
    margin: 0.75rem 0 0;
    padding-left: 0;
    list-style: none;
}
.vgl-provider-pro li {
    padding-left: 1.4rem;
    position: relative;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.55;
}
.vgl-provider-pro li::before {
    content: "✓";
    color: #10b981;
    font-weight: 700;
    position: absolute;
    left: 0;
}
.vgl-provider-con li {
    padding-left: 1.4rem;
    position: relative;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.55;
}
.vgl-provider-con li::before {
    content: "−";
    color: #dc2626;
    font-weight: 700;
    position: absolute;
    left: 0;
}
.vgl-provider-section-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #6b7280;
    margin: 1rem 0 0.4rem;
}

/* Decision-Guide */
.vgl-guide {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 1.75rem;
    margin: 1.5rem 0;
}
.vgl-guide h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e3a5f;
    margin: 0 0 0.5rem;
}
.vgl-guide-rec {
    background: #f0f9ff;
    border-left: 4px solid #2563eb;
    padding: 0.85rem 1rem;
    margin-top: 0.75rem;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #1e3a5f;
}

/* FAQ */
.vgl-faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}
.vgl-faq-item:last-child { border-bottom: none; }
.vgl-faq-q {
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}
.vgl-faq-a {
    color: #374151;
    line-height: 1.7;
    font-size: 0.975rem;
    margin: 0;
}
.vgl-faq-a strong { color: #1f2937; }

/* CTA */
.vgl-cta {
    background: linear-gradient(135deg, #1e3a5f, #1e40af);
    color: #fff;
    padding: 3rem 0;
}
.vgl-cta-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}
.vgl-cta h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin: 0 0 1rem;
}
.vgl-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 1.75rem;
}
.vgl-cta-btn {
    background: #fff;
    color: #1e3a5f;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}
.vgl-cta-btn:hover { transform: translateY(-2px); }

/* === TL;DR Schnellantwort === */
.vgl-tldr-section { padding-top: 2.5rem; }
.vgl-tldr {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 14px;
    padding: 2rem 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(16,185,129,0.08);
    position: relative;
}
.vgl-tldr-eyebrow {
    display: inline-block;
    background: #059669;
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.vgl-tldr h2 {
    font-size: clamp(1.3rem, 2.3vw, 1.65rem);
    color: #064e3b;
    margin: 0 0 1.25rem;
    font-weight: 800;
    line-height: 1.3;
}
.vgl-tldr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}
.vgl-tldr-tier {
    background: #fff;
    border: 1px solid #d1fae5;
    border-radius: 10px;
    padding: 1rem 1.1rem;
}
.vgl-tldr-tier-size {
    font-size: 0.75rem;
    color: #047857;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}
.vgl-tldr-tier-rec {
    color: #1f2937;
    font-size: 0.92rem;
    line-height: 1.55;
    font-weight: 600;
}
.vgl-tldr-note {
    margin-top: 1.2rem;
    color: #064e3b;
    font-size: 0.875rem;
    border-top: 1px dashed #a7f3d0;
    padding-top: 0.9rem;
    line-height: 1.6;
}

/* === Häufige Käuferfehler === */
.vgl-mistakes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0 0;
}
.vgl-mistake {
    background: #fff;
    border-left: 4px solid #dc2626;
    border-radius: 8px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.vgl-mistake-num {
    display: inline-block;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.6rem;
}
.vgl-mistake h3 {
    font-size: 1.02rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}
.vgl-mistake p {
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}
.vgl-mistake p strong { color: #1f2937; }

/* === Mini-Kostenrechner === */
.vgl-rechner {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 2rem;
    margin: 2rem 0 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.vgl-rechner-input {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}
.vgl-rechner-label {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.85rem;
}
.vgl-rechner-value {
    font-size: 1.4rem;
    color: #2563eb;
    font-weight: 800;
}
.vgl-rechner-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.vgl-rechner-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    background: #2563eb;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37,99,235,0.35);
}
.vgl-rechner-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    background: #2563eb;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(37,99,235,0.35);
}
.vgl-rechner-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.vgl-rechner-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    transition: transform 0.2s, opacity 0.2s;
    display: flex;
    flex-direction: column;
}
.vgl-rechner-card.vgl-rechner-card--winner {
    background: #f0fdf4;
    border: 2px solid #10b981;
}
.vgl-rechner-card-name {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}
.vgl-rechner-card--winner .vgl-rechner-card-name { color: #047857; }
.vgl-rechner-card-monthly {
    font-size: 1.55rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.1;
}
.vgl-rechner-card-monthly-suffix {
    font-size: 0.82rem;
    color: #6b7280;
    font-weight: 500;
    margin-left: 0.15rem;
}
.vgl-rechner-card-setup {
    margin-top: 0.45rem;
    font-size: 0.82rem;
    color: #6b7280;
}
.vgl-rechner-card-annual {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px dashed #e5e7eb;
    font-size: 0.85rem;
    color: #374151;
}
.vgl-rechner-card-annual strong { color: #1f2937; font-size: 0.98rem; }
.vgl-rechner-card-note {
    margin-top: 0.5rem;
    font-size: 0.76rem;
    color: #9ca3af;
}
.vgl-rechner-disclaimer {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
}

@media (max-width: 768px) {
    .vgl-tldr { padding: 1.5rem 1.25rem 1.25rem; }
    .vgl-tldr-grid { grid-template-columns: 1fr; }
    .vgl-rechner { padding: 1.5rem 1.25rem; }
    .vgl-rechner-results { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .vgl-rechner-card { padding: 1rem; }
    .vgl-rechner-card-monthly { font-size: 1.25rem; }
    .vgl-mistakes { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .vgl-rechner-results { grid-template-columns: 1fr; }
}
