/* ============================================================
   fux_sitepackage_hsgm — Seite „Unternehmen“ (Etappe Ueber uns,
   2026-10-12). Geladen per f:asset.css aus Templates/Page/RelaunchAbout.html.

   Quelle: _prototypes/hsgm-about-page.html + css/about.css (about-hero,
   mission-section) mit den Relaunch-Tokens. Zeitleiste: timeline.css,
   Grundform der Kennzahlen: key-figures.css (beide aus dem Element geladen).
   Werte/Team/Zertifizierungen = CE „Kacheln“ (tiles.css), Abschluss = CE
   „CTA“ (eigene Styles).
   WCAG-Korrekturen gegenueber dem Prototyp:
   - Titel ohne Verlaufs-Textfuellung (Kontrast nicht bestimmbar)
   - Beschriftungen #6e6e73 (4,66:1 auf #f5f5f7), Jahr #0051a3 auf #e6f0fa (6,73:1)
   - keine Einblend-/Hover-Bewegung (Kennzahlen sind keine Links)
   - Zeitleiste ab < 768 px einspaltig (Reflow 320 px)
   ============================================================ */

.about-page {
    --about-surface: var(--gray-quaternary, #f5f5f7);
    --about-text: var(--gray-primary, #1d1d1f);
    --about-muted: var(--gray-secondary, #6e6e73);
    --about-blue: var(--hsgm-blue, #0066cc);
    --about-blue-dark: var(--hsgm-blue-dark, #0051a3);
    color: var(--about-text);
}

/* Nur fuer Screenreader (Zeitleiste, Zaehl-Animation); der Relaunch-Rahmen
   hat keine globale Klasse */
.about-page .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ---------- Hero ---------- */
.about-hero {
    /* fixer Header: gleiche Rechnung wie .breadcrumb-nav / .contact-hero */
    margin-top: calc(var(--fux-navbar-inner-height, 40px) + 2rem + 1px);
    padding: var(--space-xl, 5rem) 0;
    background: linear-gradient(180deg, #fff 0%, var(--about-surface) 100%);
}

@media (max-width: 1199.98px) {
    html:not(.fux-nav-js) .about-hero {
        margin-top: 0;
    }
}

.about-hero-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.about-hero .page-overline {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--about-blue-dark);
}

.about-hero .page-title {
    margin: 0 0 1.5rem;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--about-text);
    hyphens: auto;
    overflow-wrap: break-word;
}

.about-hero .page-subtitle {
    max-width: 44rem;
    margin: 0 auto;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.5;
    color: var(--about-muted);
}

.about-hero-image {
    max-width: 75rem;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.about-hero-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ---------- Mission ---------- */
.mission-section {
    padding: var(--space-section, 5rem) 0;
    background: #fff;
}

.mission-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .mission-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 5rem;
    }
}

.mission-content h2 {
    margin: 0 0 1.5rem;
    font-size: var(--font-size-h2, clamp(1.75rem, 3.5vw, 2.5rem));
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* erster Absatz des Textes = Lead (Prototyp .lead-text) */
.mission-content p {
    margin: 0 0 1.25rem;
    line-height: 1.7;
}

.mission-content p:first-of-type {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
}

/* Kennzahlen (CE „Kennzahlen“, Markup .home-key-figures-*) als Kacheln */
/* Leisten-Huelle aus key-figures.css (Grundform des Elements) hier
   zuruecknehmen: die Kacheln stehen ohne Rahmenkarte in der Spalte */
.mission-stats .home-key-figures {
    max-width: none;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.mission-stats .home-key-figures-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: start;
}

.mission-stats .home-key-figure {
    display: flex;
    /* keine Einblend-Bewegung (Grundform in key-figures.css) */
    animation: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    text-align: center;
    background: var(--about-surface);
    border-radius: 1rem;
}

.mission-stats .home-key-figure-number {
    margin-bottom: 0;
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1;
    color: var(--about-blue);
    font-variant-numeric: tabular-nums;
}

.mission-stats .home-key-figure-label {
    overflow-wrap: normal;
    hyphens: manual;
    font-size: 0.9375rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--about-muted);
}

@media (max-width: 379.98px) {
    .mission-stats .home-key-figures-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (forced-colors: active) {
    .mission-stats .home-key-figure {
        border: 1px solid CanvasText;
    }
}
