/* =========================================================
   ST FORSTBEDARF – RESPONSIVE
   ========================================================= */


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

@media (max-width: 1050px) {

    /* Angebot: 4 -> 2 Spalten */

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

}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------------------
       HEADER
       ----------------------------------------------------- */

    .st-header__brand-inner {
        min-height: 100px;
        gap: 18px;
    }

    .st-header__logo {
        width: calc(100% - 100px);
    }

    .st-header__logo img {
        display: block;
        width: 100%;
        max-width: 280px;
        height: auto;
    }

    .st-header__partner {
        width: 82px;
        flex: 0 0 82px;
    }

    .st-header__partner img {
        display: block;
        width: 100%;
        height: auto;
    }


    /* -----------------------------------------------------
       NAVIGATION
       ----------------------------------------------------- */

    .st-header__nav .st-container {
        min-height: 48px;

        display: flex;
        justify-content: flex-end;

        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .st-header__nav .mod-menu {
        width: max-content;

        display: flex;
        justify-content: flex-end;

        margin: 0;
        padding: 0;
    }

    .st-header__nav .mod-menu > li > a,
    .st-header__nav .mod-menu > li > span {
        min-height: 48px;
        padding: 0 14px;

        white-space: nowrap;
    }


    /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

    .st-hero {
        min-height: auto;
    }

    .st-hero__inner {
        min-height: auto;

        display: grid;
        grid-template-columns: 1fr;

        gap: 30px;

        padding-top: 46px;
        padding-bottom: 46px;
    }

    .st-hero__content {
        width: 100%;
    }

    .st-hero__content h1 {
        max-width: none;

        font-size: clamp(2.4rem, 11vw, 3.5rem);
        line-height: 1.05;
    }

    .st-hero__lead {
        max-width: none;

        font-size: 1rem;
    }

    .st-hero__partner {
        width: 100%;
        max-width: none;

        box-sizing: border-box;

        padding: 24px;
    }

    .st-hero__partner img {
        width: min(220px, 70%);

        margin-left: auto;
        margin-right: auto;
    }


    /* -----------------------------------------------------
       ANGEBOT
       ----------------------------------------------------- */

    .st-offer__head {
        margin-bottom: 28px;
    }

    .st-offer__grid {
        display: grid;

        grid-template-columns: 1fr;

        gap: 18px;

        width: 100%;
    }

    .st-offer-card {
        display: block;

        width: 100%;
        min-width: 0;
        min-height: 0;

        box-sizing: border-box;

        padding: 26px 22px;
    }


    /* -----------------------------------------------------
       FOOTER
       ----------------------------------------------------- */

    .st-footer__inner {
        padding: 26px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 20px;
    }

    .st-footer__menu ul {
        flex-wrap: wrap;

        gap: 12px 20px;
    }

}


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

@media (max-width: 480px) {

    .st-offer__head h2 {
        font-size: 2rem;
    }

    .st-offer-card {
        padding: 24px 20px;
    }

    .st-offer-card__icon {
        width: 64px;
        height: 64px;

        font-size: 2.2rem;
    }

}

@media (max-width: 768px) {

    .st-ad__inner {
        grid-template-columns: 1fr;
        gap: 28px;

        padding-top: 44px;
        padding-bottom: 44px;
    }

    .st-ad__logo {
        margin: 0 auto;
    }

    .st-ad__content {
        text-align: left;
    }

    .st-ad__content h2 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }
}

@media (max-width: 800px) {

    .st-service-section {
        padding: 46px 0;
    }

    .st-service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 800px) {

    .st-trustbar__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 22px 0;

        padding: 26px 0;
    }

    .st-trustbar__item:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 520px) {

    .st-trustbar__grid {
        grid-template-columns: 1fr;
    }

    .st-trustbar__item {
        padding: 10px 0;
    }

    .st-trustbar__item + .st-trustbar__item {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .28);
    }
}
@media (max-width: 700px) {
    .st-main h1 {
        font-size: 2rem;
        line-height: 1.1;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .st-main h2 {
        font-size: 1.45rem;
        line-height: 1.2;
    }
}
