/* ================================
   IFIS – Home Mobile Rhythm
   Homepage-only mobile refinements
   ================================ */

@media (max-width: 600px) {

    html,
    body.ifis-home {
        min-height: 100dvh;
    }

    /* Weniger Leerraum oberhalb des Titels, ohne den Header zu bedrängen. */
    .ifis-home .container {
        padding-top: 42px;
    }

    /* Titel und Aussage näher zusammenziehen. */
    .ifis-home h1 {
        margin-bottom: 48px;
    }

    /* Aussage kompakter, danach weiterhin bewusst Raum für „Impulse“. */
    .ifis-home .ifis-quotes {
        margin-bottom: 62px;
    }

    .ifis-home .home-links {
        margin-top: 0;
    }

    /* Footer so kompakt halten, dass die Startseite auf kleinen Displays
       möglichst vollständig in einen Viewport passt. */
    .ifis-home .ifis-footer {
        padding-top: 18px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
        font-size: 0.68rem;
    }

    .ifis-home .ifis-footer .footer-inner {
        gap: 0.45rem;
    }

    .ifis-home .footer-nav {
        display: grid;
        grid-template-columns: repeat(2, max-content);
        column-gap: 1.1rem;
        row-gap: 0.3rem;
    }

    .ifis-home .footer-copyright {
        margin-top: 0.15rem;
        font-size: 0.62rem;
        line-height: 1.35;
    }
}
