/**
 * assets/css/style.css
 * Steuerbüro Hornburg – Eigene Stile auf Basis von Tabler.io
 * Farbpalette: Dunkelblau #7d3f43 als Primärfarbe, Akzent #2563a8
 */

/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
    --sb-blue-dark:   #7d3f43;
    --sb-blue:        #2563a8;
    --sb-blue-light:  #e8f0fb;
    --sb-gray-light:  #f8f8f7;
    --sb-gray-mid:    #6c757d;
    --sb-border:      rgba(0,0,0,0.08);
    --sb-radius:      6px;
    --sb-font:        'Inter', system-ui, sans-serif;
}

/* =============================================
   Basis
   ============================================= */
body {
    font-family: var(--sb-font);
    background: #fff;
    color: #1a1a1a;
}

/* =============================================
   Navbar
   ============================================= */
.sb-navbar {
    background: #fff;
    border-bottom: 1px solid var(--sb-border);
    padding: 0.75rem 0;
}

.sb-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-decoration: none;
}

.sb-brand-main {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sb-blue-dark);
    letter-spacing: -0.01em;
}

.sb-brand-sub {
    font-size: 0.7rem;
    color: var(--sb-gray-mid);
    font-weight: 400;
}

.sb-navbar .nav-link {
    font-size: 0.875rem;
    color: #444;
    padding: 0.4rem 0.75rem;
}

.sb-navbar .nav-link:hover,
.sb-navbar .nav-link.active {
    color: var(--sb-blue);
}

.sb-btn-primary {
    background: var(--sb-blue);
    color: #fff !important;
    border: none;
    border-radius: var(--sb-radius);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.45rem 1rem;
    transition: background 0.15s;
}

.sb-btn-primary:hover {
    background: var(--sb-blue-dark);
    color: #fff !important;
}

/* =============================================
   Hero
   ============================================= */
.sb-hero {
    padding: 5rem 0 4rem;
    background: #fff;
    border-bottom: 1px solid var(--sb-border);
}

.sb-hero-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sb-blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

.sb-hero h1 {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--sb-blue-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.sb-hero p.lead {
    font-size: 1.0625rem;
    color: #555;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 2rem;
}

/* =============================================
   Stats-Leiste
   ============================================= */
.sb-stats {
    background: var(--sb-gray-light);
    border-bottom: 1px solid var(--sb-border);
}

.sb-stat {
    padding: 1.5rem 1rem;
    border-right: 1px solid var(--sb-border);
    text-align: center;
}

.sb-stat:last-child {
    border-right: none;
}

.sb-stat-num {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sb-blue);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.sb-stat-label {
    font-size: 0.8125rem;
    color: var(--sb-gray-mid);
    line-height: 1.5;
}

/* =============================================
   Abschnitte / Sektionen
   ============================================= */
.sb-section {
    padding: 4rem 0;
}

.sb-section-alt {
    background: var(--sb-gray-light);
}

.sb-section-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sb-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sb-section h2 {
    font-size: 1.625rem;
    font-weight: 600;
    color: var(--sb-blue-dark);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

/* =============================================
   Leistungs-Kacheln
   ============================================= */
.sb-leistung-card {
    background: #fff;
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    padding: 1.5rem;
    height: 100%;
    transition: border-color 0.2s;
}

.sb-leistung-card:hover {
    border-color: var(--sb-blue);
}

.sb-leistung-card .ti {
    font-size: 1.5rem;
    color: var(--sb-blue);
    display: block;
    margin-bottom: 0.875rem;
}

.sb-leistung-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--sb-blue-dark);
    margin-bottom: 0.5rem;
}

.sb-leistung-card p {
    font-size: 0.8125rem;
    color: var(--sb-gray-mid);
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   Branchen-Badges
   ============================================= */
.sb-branche {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--sb-blue-dark);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

.sb-branche:hover {
    border-color: var(--sb-blue);
    background: var(--sb-blue-light);
    color: var(--sb-blue);
}

.sb-branche .ti {
    font-size: 1rem;
    color: var(--sb-gray-mid);
}

/* =============================================
   Versprechen-Block
   ============================================= */
.sb-versprechen {
    background: var(--sb-blue-light);
    border-radius: var(--sb-radius);
    padding: 2rem;
}

.sb-versprechen h2 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

.sb-vp-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 0.875rem;
}

.sb-vp-item:last-child {
    margin-bottom: 0;
}

.sb-vp-item .ti {
    font-size: 1rem;
    color: var(--sb-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

/* =============================================
   Team-Karten
   ============================================= */
.sb-team-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.sb-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.sb-avatar-blau   { background: #dbeafe; color: #1d4ed8; }
.sb-avatar-gruen  { background: #d1fae5; color: #065f46; }
.sb-avatar-lila   { background: #ede9fe; color: #5b21b6; }
.sb-avatar-orange { background: #ffedd5; color: #9a3412; }
.sb-avatar-grau   { background: #f1f5f9; color: #475569; }

.sb-team-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--sb-blue-dark);
    margin-bottom: 0.25rem;
}

.sb-team-card .sb-team-titel {
    font-size: 0.8rem;
    color: var(--sb-gray-mid);
}

/* =============================================
   Kontakt
   ============================================= */
.sb-kontakt-info h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sb-blue-dark);
    margin-bottom: 1.5rem;
}

.sb-kontakt-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
}

.sb-kontakt-row .ti {
    font-size: 1rem;
    color: var(--sb-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.sb-kontakt-row a {
    color: var(--sb-blue);
    text-decoration: none;
}

.sb-kontakt-row a:hover {
    text-decoration: underline;
}

/* Formular-Panel -->
.sb-form-panel {
    background: var(--sb-gray-light);
    border-radius: var(--sb-radius);
    padding: 2rem;
}

.sb-form-panel h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--sb-blue-dark);
    margin-bottom: 1.25rem;
}

/* =============================================
   Seitenheader (Unterseiten)
   ============================================= */
.sb-page-header {
    background: var(--sb-blue-dark);
    color: #fff;
    padding: 3rem 0 2.5rem;
    margin-bottom: 0;
}

.sb-page-header .sb-section-label {
    color: rgba(255,255,255,0.55);
}

.sb-page-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sb-page-header p.lead {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    line-height: 1.7;
    margin: 0;
}

/* =============================================
   Branchendetail-Seiten
   ============================================= */
.sb-branche-detail p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}

.sb-themen-list li {
    font-size: 0.875rem;
    color: #555;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--sb-border);
}

.sb-themen-list li:last-child {
    border-bottom: none;
}

/* =============================================
   Footer
   ============================================= */
.sb-footer {
    background: var(--sb-gray-light);
    border-top: 1px solid var(--sb-border);
    font-size: 0.875rem;
}

.sb-footer-brand {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--sb-blue-dark);
    margin-bottom: 0.125rem;
}

.sb-footer-sub {
    font-size: 0.75rem;
    color: var(--sb-gray-mid);
    margin-bottom: 0;
}

.sb-footer-heading {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: #999;
    margin-bottom: 0.75rem;
}

.sb-footer-link {
    color: var(--sb-gray-mid);
    text-decoration: none;
}

.sb-footer-link:hover {
    color: var(--sb-blue);
}

/* =============================================
   Hilfsmittel
   ============================================= */
.sb-divider {
    border: none;
    border-top: 1px solid var(--sb-border);
    margin: 0;
}

@media (max-width: 767px) {
    .sb-hero h1 { font-size: 1.75rem; }
    .sb-stat { border-right: none; border-bottom: 1px solid var(--sb-border); }
    .sb-stat:last-child { border-bottom: none; }
}

/* =============================================
   Aktuelles / DATEV-Mandantenmonatsinformationen
   ============================================= */

/* Karte für eine Ausgabe */
.sb-aktuelles-card {
    background: #fff;
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sb-aktuelles-card:hover {
    border-color: var(--sb-blue);
    box-shadow: 0 2px 12px rgba(37, 99, 168, 0.08);
}

.sb-aktuelles-card-icon {
    width: 44px;
    height: 44px;
    background: var(--sb-blue-light);
    border-radius: var(--sb-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.sb-aktuelles-card-icon .ti {
    font-size: 1.375rem;
    color: var(--sb-blue);
}

.sb-aktuelles-card-body {
    flex: 1;
}

.sb-aktuelles-card-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sb-blue);
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.sb-aktuelles-card-titel {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sb-blue-dark);
    margin-bottom: 0.25rem;
}

.sb-aktuelles-card-hint {
    font-size: 0.8rem;
    color: var(--sb-gray-mid);
    margin: 0;
}

/* Hinweis-Box (keine PDFs vorhanden) */
.sb-aktuelles-hinweis {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: var(--sb-blue-light);
    border-radius: var(--sb-radius);
    padding: 1.25rem 1.5rem;
    max-width: 540px;
}

.sb-aktuelles-hinweis .ti {
    font-size: 1.25rem;
    color: var(--sb-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.sb-aktuelles-hinweis p {
    font-size: 0.875rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

/* Archiv-Jahresüberschrift */
.sb-archiv-jahr {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--sb-blue-dark);
    margin-bottom: 0.75rem;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid var(--sb-border);
}

/* Archiv-Listenzeile */
.sb-archiv-liste {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sb-archiv-eintrag {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: #fff;
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    font-size: 0.875rem;
    color: var(--sb-blue-dark);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.sb-archiv-eintrag:hover {
    background: var(--sb-blue-light);
    border-color: var(--sb-blue);
    color: var(--sb-blue);
}

.sb-archiv-eintrag .ti {
    color: var(--sb-gray-mid);
    font-size: 1rem;
    flex-shrink: 0;
}

.sb-archiv-eintrag:hover .ti {
    color: var(--sb-blue);
}

/* Info-Box unten */
.sb-aktuelles-info-box {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: var(--sb-gray-light);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
    max-width: 640px;
}

.sb-aktuelles-info-box .ti {
    font-size: 1.25rem;
    color: var(--sb-blue);
    flex-shrink: 0;
    margin-top: 1px;
}

.sb-aktuelles-info-box a {
    color: var(--sb-blue);
    text-decoration: none;
}

.sb-aktuelles-info-box a:hover {
    text-decoration: underline;
}
