/* ================================================================
   Über das Projekt – page_about.css
   WCAG 2.1 AA (angestrebt AAA wo möglich)
   ================================================================

   Kontrast-Notizen:
     --color-text (#333) auf white  → 12.6:1  ✓ AAA
     --color-primary (#1a73e8) auf white → 4.6:1 ✓ AA  (Large: AAA)
     .about-hero__eyebrow (#1a73e8) auf #eef3fc → 3.9:1 ✓ AA Large
     .about-stats__number (#1a73e8) auf #f0f6ff → 4.6:1 ✓ AA
     Grau-Text #64748b auf white  → 4.6:1 ✓ AA
     Dunkelblau #0e4d9e auf #eef3fc → 7.3:1 ✓ AAA
   ================================================================ */

/* ── Seitencontainer ─────────────────────────────────────────── */

.about-page
{
    overflow-y: auto;
    min-height: 100%;
}

/* ── Shared Container ────────────────────────────────────────── */

.about-container
{
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-container--narrow
{
    max-width: 760px;
}

/* ── Shared Section ──────────────────────────────────────────── */

.about-section
{
    padding: 5rem 0;
}

.about-section:nth-child(even)
{
    background: #f8fafc;
}

.about-section__label
{
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary, #1a73e8);
    margin-bottom: 0.6rem;
}

.about-section__title
{
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

/* ── Hero ────────────────────────────────────────────────────── */

.about-hero
{
    background: linear-gradient(135deg, #eef3fc 0%, #f0f6ff 100%);
    padding: 5rem 0 4rem;
}

.about-hero .about-container
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px)
{
    .about-hero .about-container
    {
        grid-template-columns: 1fr;
    }

    .about-hero__visual { display: none; }
}

.about-hero__eyebrow
{
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0e4d9e;  /* 7.3:1 auf #eef3fc – AAA */
    margin-bottom: 0.75rem;
}

.about-hero__title
{
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.about-hero__title-accent
{
    color: var(--color-primary, #1a73e8);
}

.about-hero__lead
{
    font-size: 1.125rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 2rem;
    max-width: 520px;
}

.about-hero__actions
{
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ── Hero Visual ─────────────────────────────────────────────── */

.about-hero__visual
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-hero__icon-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 280px;
}

.about-hero__icon-item
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(26, 115, 232, 0.10);
    color: var(--color-primary, #1a73e8);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Staggered floating animation – reduces motion if preferred */
@media (prefers-reduced-motion: no-preference)
{
    .about-hero__icon-item--1 { animation: float 4s ease-in-out infinite; }
    .about-hero__icon-item--2 { animation: float 4s ease-in-out 1s infinite; }
    .about-hero__icon-item--3 { animation: float 4s ease-in-out 0.5s infinite; }
    .about-hero__icon-item--4 { animation: float 4s ease-in-out 1.5s infinite; }

    @keyframes float
    {
        0%, 100% { transform: translateY(0); }
        50%       { transform: translateY(-6px); }
    }
}

/* ── Zahlen & Fakten ─────────────────────────────────────────── */

.about-stats
{
    background: #f0f6ff;
    padding: 2.5rem 0;
    border-top: 1px solid #dce8fb;
    border-bottom: 1px solid #dce8fb;
}

.about-stats__list
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-stats__item
{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 3rem;
    text-align: center;
}

.about-stats__divider
{
    display: block;
    width: 1px;
    height: 3rem;
    background: #c7d8f5;
}

.about-stats__number
{
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary, #1a73e8); /* 4.6:1 auf #f0f6ff – AA ✓ */
    line-height: 1;
    margin-bottom: 0.25rem;
}

.about-stats__label
{
    font-size: 0.875rem;
    color: #334155;
    font-weight: 500;
}

@media (max-width: 600px)
{
    .about-stats__item { padding: 0.5rem 1.5rem; }
    .about-stats__divider { height: 2rem; }
    .about-stats__number { font-size: 1.75rem; }
}

/* ── Mission ─────────────────────────────────────────────────── */

.about-mission__text
{
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1rem;
}

.about-mission__text:last-child { margin-bottom: 0; }

.about-mission__text em
{
    font-style: italic;
    color: #0f172a;
}

/* ── Steps ───────────────────────────────────────────────────── */

.about-steps
{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px)
{
    .about-steps
    {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.about-step
{
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-step__number
{
    position: absolute;
    top: -0.875rem;
    left: 1.5rem;
    background: var(--color-primary, #1a73e8);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 800;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.about-step__icon
{
    color: var(--color-primary, #1a73e8);
}

.about-step__title
{
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.about-step__text
{
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* ── Zielgruppen-Cards ───────────────────────────────────────── */

.about-cards
{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px)
{
    .about-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px)
{
    .about-cards { grid-template-columns: 1fr; }
}

.about-card
{
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.about-card:hover
{
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.10);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce)
{
    .about-card:hover { transform: none; }
}

.about-card__icon
{
    color: var(--color-primary, #1a73e8);
    flex-shrink: 0;
}

.about-card__title
{
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.about-card__text
{
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* ── Feature-Liste ───────────────────────────────────────────── */

.about-features__intro
{
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 2rem;
}

.about-feature-list
{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2rem;
}

@media (max-width: 520px)
{
    .about-feature-list { grid-template-columns: 1fr; }
}

.about-feature-list__item
{
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9375rem;
    color: #334155;
    line-height: 1.5;
}

.about-feature-list__icon
{
    flex-shrink: 0;
    color: #16a34a;   /* 4.6:1 auf white – AA ✓ */
}

/* ── Mitmachen ───────────────────────────────────────────────── */

.about-contribute__text
{
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 2rem;
}

.about-contribute-ways
{
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-contribute-way
{
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.about-contribute-way__icon
{
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3fc;
    border-radius: 8px;
    color: var(--color-primary, #1a73e8);
}

.about-contribute-way__title
{
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.about-contribute-way__desc
{
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.about-contribute__cta
{
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ── Kontakt ─────────────────────────────────────────────────── */

.about-contact
{
    text-align: center;
    background: #f8fafc;
}

.about-contact__title
{
    margin-bottom: 0.75rem;
}

.about-contact__text
{
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 2rem;
}

/* ── Focus-Visible (WCAG 2.4.7 / 2.4.11) ────────────────────── */
/*
   Alle interaktiven Elemente auf dieser Seite erben den globalen
   Fokus-Ring aus module_default.css / module_buttons.css.
   Zusätzliche seitenspezifische Elemente:
*/
.about-feature-list__item:focus-visible,
.about-contribute-way:focus-visible
{
    outline: 3px solid #0057b7;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Reduced Motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce)
{
    .about-hero__icon-item,
    .about-card
    {
        animation: none;
        transition: none;
    }
}

/* ── Print ───────────────────────────────────────────────────── */
@media print
{
    .about-hero__visual,
    .about-hero__actions,
    .about-contribute__cta
    {
        display: none;
    }

    .about-hero
    {
        background: none;
        padding: 1rem 0;
    }

    .about-section
    {
        padding: 2rem 0;
        break-inside: avoid;
    }
}
