/* =========================================================
   AYJUNITY — STARTSEITE
   Wird nur auf /index.html geladen.
   ========================================================= */


/* =========================================================
   1. HERO
   ========================================================= */

.hero {
    padding:
        clamp(64px, 7vw, 105px)
        0
        clamp(72px, 8vw, 110px);
}

.hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(340px, 0.7fr);

    align-items: center;
    gap: clamp(48px, 5vw, 82px);
}

.hero-content,
.hero-visual {
    min-width: 0;
}

.hero-content h1 {
    max-width: 850px;
}

.hero-description {
    max-width: 740px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-bottom: 42px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 48px;

    padding: 0;
    margin: 0;

    list-style: none;
}

.hero-facts li {
    display: grid;
    gap: 3px;

    color: var(--color-text-muted);

    font-size: 0.92rem;
}

.hero-facts strong {
    color: var(--color-text);

    font-size: 0.78rem;
    font-weight: 780;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-visual {
    width: 100%;
    max-width: 440px;

    justify-self: end;
}


/* =========================================================
   2. HEART-OF-ASH-HERO UND PROJEKTBILD
   ========================================================= */

.heart-hero-figure {
    width: 100%;
    margin: 0;

    overflow: hidden;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);

    box-shadow: var(--shadow-large);
}

.heart-hero-figure > a {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;
}

.heart-hero-figure img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.heart-hero-figure figcaption {
    padding: 13px 16px;

    color: var(--color-text-muted);

    font-size: 0.84rem;
    line-height: 1.5;
}

.project-media-heart-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform var(--transition-normal);
}

.project-card:hover .project-media-heart-image {
    transform: scale(1.025);
}

.project-media-heart::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(13, 15, 18, 0.08),
        rgba(13, 15, 18, 0.62)
    );

    pointer-events: none;
}


/* =========================================================
   3. DIREKTE PROJEKTLINKS
   Die Grundgestaltung von .project-status liegt in project.css.
   ========================================================= */

.project-card-with-action {
    position: relative;
}

.project-status-direct {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 20;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    max-width: calc(100% - 40px);

    border-color: rgba(220, 161, 93, 0.55);

    text-decoration: none;

    cursor: pointer;
    pointer-events: auto;

    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.24);

    transition:
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.project-status-direct::after {
    content: "↗";

    color: var(--color-accent);

    font-size: 0.9em;
    line-height: 1;
}

.project-status-direct:hover,
.project-status-direct:focus-visible {
    color: #ffffff;
    background: rgba(220, 161, 93, 0.94);
    border-color: var(--color-accent);

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);

    transform: translateY(-2px);
}

.project-status-direct:hover::after,
.project-status-direct:focus-visible::after {
    color: #ffffff;
}

.project-status-direct:focus-visible {
    outline: 3px solid rgba(220, 161, 93, 0.4);
    outline-offset: 3px;
}

/* =========================================================
   5. KOMPETENZKARTEN
   ========================================================= */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.expertise-card {
    min-height: 235px;
    padding: 32px;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
}

.expertise-card p {
    margin-bottom: 0;
}

.expertise-number {
    display: block;
    margin-bottom: 48px;

    color: var(--color-accent);

    font-size: 0.82rem;
    font-weight: 780;
}

.about-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: 90px;
}

@media (min-width: 1200px) {
    .hero-grid {
        grid-template-columns:
            minmax(0, 1.04fr)
            minmax(500px, 0.78fr);

        align-items: start;
        gap: clamp(48px, 5vw, 78px);
    }

    .hero-content h1 {
    max-width: 880px;
}

    .hero-visual {
        width: 100%;
        max-width: 620px;
        margin-top: clamp(88px, 7vw, 116px);

        justify-self: end;
    }
}

@media (max-width: 1180px) {
    .hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, 0.7fr);

        gap: 40px;
    }

    .hero-visual {
        max-width: 520px;
    }

    .about-grid {
        gap: 60px;
    }
}

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

    .hero-content h1 {
        max-width: 900px;
    }

    .hero-visual {
        width: min(100%, 820px);
        max-width: none;

        justify-self: start;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .expertise-card {
        min-height: auto;
    }

    .expertise-number {
        margin-bottom: 34px;
    }
}

@media (max-width: 760px) {
    .hero {
        padding-top: 52px;
    }

    .project-status-direct {
        top: 16px;
        left: 16px;

        max-width: calc(100% - 32px);
    }

    .lane-preview-card .lane-header {
        flex-direction: row;
    }

    .lane-preview-card .lane-data {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .lane-preview-card .lane-header {
        flex-direction: column;
    }

    .lane-preview-card .lane-data {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .hero-facts {
        display: grid;
        gap: 18px;
    }

    .expertise-card {
        padding: 22px;
    }
}