/* ==================================================
   ALZHEIMER GESELLSCHAFT HAMBURG
   FOOTER CSS
   ================================================== */


/* ==================================================
   01 – BASIS / FARBEN
   ================================================== */

#foot.agh-footer {

    --agh-footer-bg: #0b496e;
    --agh-footer-color: #ffffff;
    --agh-footer-line: rgba(255, 255, 255, 0.45);
    --agh-footer-hover: rgba(255, 255, 255, 0.09);

    background-color: var(--agh-footer-bg);
    color: var(--agh-footer-color);

    margin-top: 70px;
    padding: 35px 0;

    font-size: 16px;
    line-height: 1.5;
}

#foot.agh-footer a {
    color: var(--agh-footer-color);
    text-decoration: none;
}

#foot.agh-footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}


/* ==================================================
   02 – GRUNDLAYOUT
   ================================================== */

#foot.agh-footer .agh-footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

#foot.agh-footer .agh-footer-row::before,
#foot.agh-footer .agh-footer-row::after {
    display: none;
}

#foot.agh-footer .agh-footer-col {
    float: none;
    min-width: 0;
    margin: 0;
}


/* ==================================================
   03 – HEADLINES
   ================================================== */

#foot.agh-footer .agh-footer-heading {
    position: relative;

    margin: 0 0 22px;
    padding: 0;

    color: var(--agh-footer-color);

    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}


/* Firmenbezeichnung */

#foot.agh-footer .agh-footer-company {
    max-width: 280px;
    margin-bottom: 20px;
}


/* Headlines mit weißem Balken */

#foot.agh-footer .agh-footer-heading-line {
    padding-bottom: 14px;
    margin-bottom: 18px;
}

#foot.agh-footer .agh-footer-heading-line::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 42px;
    height: 4px;

    background-color: #fff;
}


/* ==================================================
   04 – KONTAKTDATEN
   ================================================== */

#foot.agh-footer .agh-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin: 0 0 22px;
    padding: 0;

    font-style: normal;
    line-height: 1.5;
}

#foot.agh-footer .agh-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

#foot.agh-footer .agh-footer-contact-item > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

#foot.agh-footer .agh-footer-contact-item svg {
    display: block;

    flex: 0 0 23px;
    width: 23px;
    height: 23px;

    margin-top: 1px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#foot.agh-footer .agh-footer-contact-item strong {
    font-weight: 600;
}

#foot.agh-footer .agh-footer-contact-item a:hover {
    text-decoration: underline;
}


/* ==================================================
   05 – SOCIAL MEDIA
   ================================================== */

#foot.agh-footer .agh-footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;

    margin: 0 0 15px;
    padding: 0;

    list-style: none;
}

#foot.agh-footer .agh-footer-social li {
    display: block;
    float: none;

    margin: 0;
    padding: 0;

    list-style: none;
}

#foot.agh-footer .agh-footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    margin: 0;
    padding: 0;

    border: 1px solid #fff;
    border-radius: 50%;

    background-color: transparent;
    color: #fff;

    font-size: 22px;
    line-height: 1;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

#foot.agh-footer .agh-footer-social li a i {
    margin: 0;
    padding: 0;
    line-height: 1;
}

#foot.agh-footer .agh-footer-social li a:hover,
#foot.agh-footer .agh-footer-social li a:focus-visible {
    background-color: #fff;
    color: var(--agh-footer-bg);
}


/* ==================================================
   06 – MITGLIEDERZAHL
   ================================================== */

#foot.agh-footer .agh-footer-members {
    margin: 0;
    padding: 0;

    color: #fff;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

#foot.agh-footer .agh-footer-members strong {
    font-weight: 600;
}


/* ==================================================
   07 – NAVIGATION / KURZLINKS
   ================================================== */

#foot.agh-footer .agh-footer-navigation {
    margin: 0;
    padding: 0;
}

#foot.agh-footer .agh-footer-navigation ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

#foot.agh-footer .agh-footer-navigation ul li {
    margin: 0 0 5px;
    padding: 0;

    list-style: none;
}

#foot.agh-footer .agh-footer-navigation ul li a {
    position: relative;

    display: block;

    margin: 0;
    padding: 5px 0 5px 24px;

    color: #fff;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;

    transition: opacity 0.2s ease;
}


/* Vorhandene Listen-Icons aus dem Theme ausblenden */

#foot.agh-footer .agh-footer-navigation ul li a > i {
    display: none;
}

#foot.agh-footer .agh-footer-navigation ul li::before {
    content: none;
}


/* Eigener Chevron */

#foot.agh-footer .agh-footer-navigation ul li a::before {
    content: "";

    position: absolute;
    top: 13px;
    left: 3px;

    width: 7px;
    height: 7px;

    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;

    transform: rotate(45deg);
}

#foot.agh-footer .agh-footer-navigation ul li a:hover {
    opacity: 0.75;
    text-decoration: none;
}


/* ==================================================
   08 – AKTIONSLINKS / RECHTE SPALTE
   ================================================== */

#foot.agh-footer .agh-footer-actions-col {
    display: flex;
    align-items: stretch;
}

#foot.agh-footer .agh-footer-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 15px;

    width: 100%;
    padding: 5px 0 5px 24px;

    border-left: 1px solid var(--agh-footer-line);
}


/* Einzelne Aktion */

#foot.agh-footer .agh-footer-action {
    display: flex;
    align-items: center;

    gap: 16px;

    width: 100%;
    min-height: 70px;

    margin: 0;
    padding: 8px;

    border-radius: 6px;

    background-color: transparent;
    color: #fff;

    transition: background-color 0.2s ease;
}

#foot.agh-footer .agh-footer-action:hover,
#foot.agh-footer .agh-footer-action:focus-visible {
    background-color: var(--agh-footer-hover);
    color: #fff;
    text-decoration: none;
}


/* Icon mit Rahmen */

#foot.agh-footer .agh-footer-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 54px;
    width: 54px;
    height: 54px;

    border: 1px solid #fff;
    border-radius: 5px;
}

#foot.agh-footer .agh-footer-action-icon svg {
    display: block;

    width: 33px;
    height: 33px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Aktionsbeschriftung */

#foot.agh-footer .agh-footer-action-text {
    flex: 1 1 auto;
    min-width: 0;

    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}


/* Pfeil rechts */

#foot.agh-footer .agh-footer-action-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 20px;
    width: 20px;
}

#foot.agh-footer .agh-footer-action-arrow svg {
    display: block;

    width: 24px;
    height: 24px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.2s ease;
}

#foot.agh-footer .agh-footer-action:hover
.agh-footer-action-arrow svg {
    transform: translateX(3px);
}


/* ==================================================
   09 – RESPONSIVE / GROSSE DESKTOPS
   ================================================== */

@media (min-width: 1400px) {

    #foot.agh-footer .agh-footer-actions {
        padding-left: 35px;
        gap: 18px;
    }

    #foot.agh-footer .agh-footer-action {
        gap: 22px;
    }

    #foot.agh-footer .agh-footer-action-icon {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
    }

}


/* ==================================================
   10 – RESPONSIVE / TABLET
   ================================================== */

@media (min-width: 768px) and (max-width: 1199px) {

    #foot.agh-footer .agh-footer-row {
        row-gap: 35px;
    }

    #foot.agh-footer .agh-footer-col {
        width: 50%;
    }

    #foot.agh-footer .agh-footer-actions {
        border-left: 1px solid var(--agh-footer-line);
        padding-left: 25px;
    }

}


/* ==================================================
   11 – RESPONSIVE / SMARTPHONE
   ================================================== */

@media (max-width: 767px) {

    #foot.agh-footer {
        padding: 30px 0;
        margin-top: 40px;
    }

    #foot.agh-footer .agh-footer-row {
        row-gap: 30px;
    }

    #foot.agh-footer .agh-footer-col {
        width: 100%;
    }

    #foot.agh-footer .agh-footer-heading {
        font-size: 20px;
    }

    #foot.agh-footer .agh-footer-company {
        max-width: none;
    }

    #foot.agh-footer .agh-footer-actions {
        padding: 20px 0 0;

        border-left: 0;
        border-top: 1px solid var(--agh-footer-line);

        gap: 8px;
    }

    #foot.agh-footer .agh-footer-action {
        padding: 8px 0;
        min-height: 65px;
    }

    #foot.agh-footer .agh-footer-action-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    #foot.agh-footer .agh-footer-action-icon svg {
        width: 28px;
        height: 28px;
    }

}


/* ==================================================
   12 – REDUZIERTE ANIMATIONEN
   ================================================== */

@media (prefers-reduced-motion: reduce) {

    #foot.agh-footer a,
    #foot.agh-footer svg {
        transition: none;
    }

}