
/* =========================================================
   STIFTUNG ALZHEIMER GESELLSCHAFT HAMBURG

   Eigenständiges Design für die Stiftungs-Unterseite
   Alle Regeln unter .agh-stiftung gekapselt
   ========================================================= */


/* =========================================================
   BASIS
   ========================================================= */

.agh-stiftung {
    --stiftung-primary: #0b496e;
    --stiftung-light: #d9e7f1;
    --stiftung-surface: rgba(51, 122, 183, 0.07);
    --stiftung-border: #e2e9ef;
    --stiftung-radius: 15px;

    color: #253d53;
    font-size: 16px;
    line-height: 1.75;
}

.agh-stiftung *,
.agh-stiftung *::before,
.agh-stiftung *::after {
    box-sizing: border-box;
}

.agh-stiftung p {
    margin: 0 0 20px;
    line-height: 1.75;
}

.agh-stiftung h1,
.agh-stiftung h2,
.agh-stiftung h3 {
    color: var(--stiftung-primary);
    line-height: 1.3;
}

.agh-stiftung h2 {
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 30px;
}

.agh-stiftung h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 10px;
}


/* =========================================================
   HERO
   ========================================================= */

.agh-stiftung .stiftung-hero {
    margin-bottom: 90px;
}

.agh-stiftung .stiftung-hero__content {
    width: 100%;
    max-width: none;
    margin-bottom: 35px;
}

/* Überschrift links, Logo rechts */

.agh-stiftung .stiftung-hero__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    align-items: center;
    gap: 45px;
    margin-bottom: 30px;
}

.agh-stiftung .stiftung-hero__title {
    min-width: 0;
}

.agh-stiftung .stiftung-eyebrow {
    color: var(--stiftung-primary);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 0 14px;
}

.agh-stiftung .stiftung-hero h1 {
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

/* Großes Logo rechts */

.agh-stiftung .stiftung-hero__logo {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

/* Einleitung unter der Überschrift */

.agh-stiftung .stiftung-lead {
    font-size: 18px;
    line-height: 1.8;
    max-width: 850px;
    margin: 0;
}

/* Collage über komplette Containerbreite */

.agh-stiftung .stiftung-hero__image {
    display: block;
    width: 100%;
    margin-top: 35px;
    overflow: hidden;
    border-radius: var(--stiftung-radius);
}

.agh-stiftung .stiftung-hero__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}


/* =========================================================
   SEKTIONEN
   ========================================================= */

.agh-stiftung .stiftung-section {
    margin-bottom: 90px;
}


/* =========================================================
   ÜBER DIE STIFTUNG
   ========================================================= */

.agh-stiftung .stiftung-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 75px;
    align-items: start;
}

.agh-stiftung .stiftung-about__text p {
    max-width: 550px;
}

.agh-stiftung .stiftung-about__text p:last-child {
    margin-bottom: 0;
}

.agh-stiftung .stiftung-about__values {
    padding-top: 4px;
}

.agh-stiftung .stiftung-value {
    padding: 0 0 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--stiftung-border);
}

.agh-stiftung .stiftung-value:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.agh-stiftung .stiftung-value h3 {
    font-size: 18px;
    margin-bottom: 7px;
}

.agh-stiftung .stiftung-value p {
    font-size: 15px;
    margin: 0;
}


/* =========================================================
   FÖRDERBEREICHE
   ========================================================= */

.agh-stiftung .stiftung-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.agh-stiftung .stiftung-card {
    text-align: center;
    border: 1px solid var(--stiftung-border);
    border-radius: var(--stiftung-radius);
    padding: 35px 24px 32px;
    background: #fff;
}

.agh-stiftung .stiftung-card__icon {
    width: 52px;
    height: 52px;
    color: var(--stiftung-primary);
    margin: 0 auto 25px;
}

.agh-stiftung .stiftung-card__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.agh-stiftung .stiftung-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.agh-stiftung .stiftung-card p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}


/* =========================================================
   ABSCHLUSS / CTA
   ========================================================= */

.agh-stiftung .stiftung-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    background: var(--stiftung-surface);
    border: 1px solid var(--stiftung-light);
    border-radius: var(--stiftung-radius);

    padding: 35px 40px;
    margin-bottom: 60px;
}

.agh-stiftung .stiftung-cta__content {
    flex: 1;
    min-width: 0;
}

.agh-stiftung .stiftung-cta__logo {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.agh-stiftung .stiftung-cta h2 {
    font-size: 23px;
    margin: 0 0 12px;
}

.agh-stiftung .stiftung-cta p {
    font-size: 15px;
    margin: 0;
    max-width: 650px;
}

.agh-stiftung .stiftung-cta__action {
    flex-shrink: 0;
}

.agh-stiftung .stiftung-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    padding: 12px 22px;
    border: 1px solid var(--stiftung-primary);
    border-radius: 8px;

    color: var(--stiftung-primary);
    background: transparent;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;

    transition: background-color 0.2s ease;
}

.agh-stiftung .stiftung-button:hover,
.agh-stiftung .stiftung-button:focus {
    color: var(--stiftung-primary);
    background: var(--stiftung-light);
    text-decoration: none;
}

.agh-stiftung .stiftung-button:focus-visible {
    outline: 2px solid var(--stiftung-primary);
    outline-offset: 3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .agh-stiftung .stiftung-hero__header {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 25px;
    }

    .agh-stiftung .stiftung-hero {
        margin-bottom: 75px;
    }

    .agh-stiftung .stiftung-section {
        margin-bottom: 70px;
    }

    .agh-stiftung .stiftung-about__grid {
        gap: 35px;
    }

    .agh-stiftung .stiftung-cards {
        gap: 15px;
    }

    .agh-stiftung .stiftung-card {
        padding: 30px 18px;
    }

    .agh-stiftung .stiftung-cta {
        padding: 30px;
    }

    .agh-stiftung .stiftung-cta__logo {
        width: 220px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .agh-stiftung {
        font-size: 15px;
    }

    .agh-stiftung h2 {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .agh-stiftung .stiftung-hero {
        margin-bottom: 65px;
    }

    .agh-stiftung .stiftung-hero__header {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
    }

    .agh-stiftung .stiftung-hero h1 {
        font-size: 32px;
    }

    .agh-stiftung .stiftung-hero__logo {
        width: 280px;
        max-width: 100%;
    }

    .agh-stiftung .stiftung-hero__content {
        margin-bottom: 25px;
    }

    .agh-stiftung .stiftung-lead {
        font-size: 16px;
    }

    .agh-stiftung .stiftung-hero__image {
        margin-top: 25px;
    }

    .agh-stiftung .stiftung-section {
        margin-bottom: 65px;
    }

    .agh-stiftung .stiftung-about__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .agh-stiftung .stiftung-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .agh-stiftung .stiftung-card {
        padding: 30px 25px;
    }

    .agh-stiftung .stiftung-cta {
        flex-direction: column;
        align-items: stretch;
        padding: 28px 25px;
        gap: 25px;
    }

    .agh-stiftung .stiftung-cta h2 {
        font-size: 21px;
    }

    .agh-stiftung .stiftung-cta__logo {
        width: 220px;
    }

    .agh-stiftung .stiftung-cta__action {
        align-self: flex-start;
    }
}


/* =========================================================
   KLEINE SMARTPHONES
   ========================================================= */

@media (max-width: 480px) {

    .agh-stiftung .stiftung-hero h1 {
        font-size: 29px;
    }

    .agh-stiftung .stiftung-hero__logo {
        width: 240px;
    }

    .agh-stiftung .stiftung-eyebrow {
        font-size: 14px;
    }

    .agh-stiftung .stiftung-cta {
        padding: 25px 20px;
    }

    .agh-stiftung .stiftung-button {
        gap: 12px;
        padding: 12px 16px;
        font-size: 14px;
    }
}
