/* =========================================
   PFLEGE-WISSEN - GLOBALE RESPONSIVE-REGELN
========================================= */


/* =========================================
   BREAKPOINT: BIS 1180 PX (Kleiner Desktop / große Tablets)
========================================= */
@media (max-width: 1180px) {

    /* =====================================
       WEBTOOLS
    ===================================== */

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


/* =========================================
   BREAKPOINT: BIS 980 PX (Tablet / Navigation)
========================================= */
@media (max-width: 980px) {

    /* =====================================
       HEADER
    ===================================== */

    .pf-header__inner {
        position: relative;
        min-height: 68px;
        padding-top: 10px;
        padding-bottom: 10px;
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            46px;
        align-items: center;
        gap: 16px;
    }

    .pf-logo {
        min-width: 0;
    }

    .pf-logo__text {
        min-width: 0;
    }

    .pf-logo strong {
        font-size: 20px;
    }

    .pf-logo small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pf-nav-toggle {
        width: 46px;
        height: 42px;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, .28);
        border-radius: var(--pf-radius);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        color: #ffffff;
        cursor: pointer;
        background: rgba(255, 255, 255, .08);
    }

    .pf-nav-toggle:hover,
    .pf-nav-toggle:focus-visible {
        background: var(--pf-header-bg-active);
    }

    .pf-nav-toggle span {
        width: 22px;
        height: 2px;
        display: block;
        background: currentColor;
        border-radius: 2px;
        transition:
            transform .18s ease,
            opacity .18s ease;
    }

    .pf-nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .pf-nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .pf-nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .pf-nav {
        grid-column: 1 / -1;
        width: 100%;
        padding: 8px 0 2px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border-top: 1px solid rgba(255, 255, 255, .15);
    }

    .pf-nav.is-open {
        display: flex;
    }

    .pf-nav a {
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        border-radius: var(--pf-radius);
    }

}


/* =========================================
   BREAKPOINT: BIS 760 PX (Smartphone / kleinere Tablets)
========================================= */
@media (max-width: 760px) {

    /* =====================================
       FOOTER
    ===================================== */

    .pf-footer__inner {
        min-height: 0;
        padding-top: 22px;
        padding-bottom: 22px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
    }

    .pf-footer-copy {
        width: 100%;
        height: auto;
        min-height: 0;
        display: block;
        color: #ffffff;
        text-align: center;
        line-height: 1.4;
    }

    .pf-footer-nav {
        width: 100%;
        height: auto;
        min-height: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 4px 8px;
    }

    .pf-footer-nav a {
        width: auto;
        height: auto;
        min-height: 38px;
        padding: 8px 12px;
        border-radius: var(--pf-radius);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }


    /* =====================================
       WEBTOOLS
    ===================================== */

    .pwt-hero {
        padding: 44px 0 40px;
    }

    .pwt-hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 22px;
    }

    .pwt-hero-icon {
        width: 82px;
        min-width: 82px;
        height: 82px;
    }

    .pwt-hero-icon i {
        font-size: 40px;
    }

    .pwt-card-grid {
        grid-template-columns: 1fr;
    }

    .pwt-tool-card {
        min-height: 0;
        padding: 22px;
    }

    .pwt-tool-title {
        font-size: 21px;
    }

    .pwt-tool-image {
        min-height: 180px;
        padding: 20px 0 16px;
    }

    .pwt-tool-image picture {
        width: 190px;
    }
}


/* =========================================
   BREAKPOINT: BIS 480 PX (Kleine Smartphones)
========================================= */
@media (max-width: 480px) {

    /* =====================================
       HEADER
    ===================================== */

    .pf-logo__image {
        width: 34px;
        height: 34px;
    }

    .pf-logo strong {
        font-size: 18px;
    }

    .pf-logo small {
        font-size: 10px;
    }


    /* =====================================
       WEBTOOLS
    ===================================== */

    .pwt-tool-card {
        text-align: center;
    }

    .pwt-tool-image picture {
        width: 165px;
    }

    .pwt-tool-footer {
        flex-direction: column;
        justify-content: center;
    }

    .pwt-card-meta {
        justify-content: center;
    }
}