/* Extracted from buchhaltung-kosten.php. */

/* ===== BUCHHALTUNG KOSTEN – Prefix: bkk- ===== */

.bkk-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0 70px;
}
.bkk-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.bkk-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    border-top: 2px solid var(--primary);
    padding-top: 0.5rem;
    width: fit-content;
    margin-bottom: 1rem;
}
.bkk-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--dark);
    margin-bottom: 1.25rem;
}
.bkk-hero-sub {
    font-size: 1.05rem;
    color: var(--body);
    line-height: 1.75;
    margin-bottom: 2rem;
}
.bkk-hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Zahlen-Karten im Hero */
.bkk-stat-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.bkk-stat-card {
    background: #ffffff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(67,56,202,0.06);
}
.bkk-stat-card-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    min-width: 120px;
}
.bkk-stat-card-label {
    font-size: 0.875rem;
    color: var(--body);
    line-height: 1.4;
}
.bkk-stat-card-label strong {
    display: block;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 0.15rem;
}

/* Breadcrumb */
.fk-breadcrumb {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 0;
}
.fk-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--subtle);
}
.fk-breadcrumb a { color: var(--subtle); }
.fk-breadcrumb a:hover { color: var(--primary); }

/* Einflussfaktoren Tabelle */
.bkk-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.bkk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.bkk-table thead {
    background: var(--dark);
    color: #fff;
}
.bkk-table thead th {
    padding: 0.875rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.bkk-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}
.bkk-table tbody tr:last-child { border-bottom: none; }
.bkk-table tbody tr:hover { background: var(--bg-violet); }
.bkk-table td {
    padding: 0.875rem 1.25rem;
    color: var(--body);
    vertical-align: top;
}
.bkk-table td:first-child { font-weight: 600; color: var(--dark); }
.bkk-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}
.bkk-badge--up { background: #fef3c7; color: #92400e; }
.bkk-badge--down { background: #e0e7ff; color: #3730a3; }
.bkk-badge--mid { background: #e0e7ff; color: #3730a3; }

/* Profile-Karten */
.bkk-profiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.bkk-profile-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.bkk-profile-header {
    background: var(--dark);
    padding: 1.25rem 1.5rem;
    color: #fff;
}
.bkk-profile-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.bkk-profile-header p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
}
.bkk-profile-body {
    padding: 1.25rem 1.5rem;
}
.bkk-profile-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-variant-numeric: tabular-nums;
}
.bkk-profile-price-label {
    font-size: 0.78rem;
    color: var(--subtle);
    margin-bottom: 1rem;
}
.bkk-profile-details {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bkk-profile-details li {
    font-size: 0.82rem;
    color: var(--body);
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
}
.bkk-profile-details li:last-child { border-bottom: none; }
.bkk-profile-details li::before {
    content: '·';
    color: var(--primary);
    font-weight: 700;
}

/* Vollkostenrechnung */
.bkk-kostenrechnung {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
.bkk-cost-col {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}
.bkk-cost-col-header {
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border);
}
.bkk-cost-col-header--intern {
    background: #fff1f2;
    color: #991b1b;
}
.bkk-cost-col-header--extern {
    background: #f5f3ff;
    color: #3730a3;
}
.bkk-cost-rows { padding: 1rem 0; }
.bkk-cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--bg-light);
}
.bkk-cost-row:last-child { border-bottom: none; }
.bkk-cost-row span:first-child { color: var(--body); }
.bkk-cost-row span:last-child { font-weight: 600; color: var(--dark); font-variant-numeric: tabular-nums; }
.bkk-cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.5rem;
    background: var(--bg-light);
    border-top: 2px solid var(--border);
    font-weight: 800;
    font-size: 1rem;
}
.bkk-cost-total--intern span:last-child { color: #dc2626; }
.bkk-cost-total--extern span:last-child { color: #059669; }

/* FAQ */
.bkk-faq { max-width: 780px; margin: 0 auto; }

@media (max-width: 900px) {
    .bkk-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .bkk-profiles { grid-template-columns: 1fr; }
    .bkk-kostenrechnung { grid-template-columns: 1fr; }
}
