/* Mobiltilpasninger. Reglerne påvirker ikke computerudgaven. */
@media (max-width: 640px) {
    .container {
        width: min(100% - 32px, 1160px);
    }

    .nav-wrap {
        min-height: 54px;
        gap: 12px;
    }

    .brand {
        font-size: 1.02rem;
        letter-spacing: -.025em;
    }

    .nav-toggle {
        padding: 5px;
        font-size: 1.35rem;
        line-height: 1;
    }

    .main-nav {
        top: 54px;
        padding: 20px 16px;
        gap: 12px;
    }

    .site-header {
        background: rgba(255, 255, 255, .68);
        -webkit-backdrop-filter: blur(12px) saturate(130%);
        backdrop-filter: blur(12px) saturate(130%);
    }

    .hero {
        min-height: 100svh;
        padding: clamp(100px, 14svh, 132px) 0 28px;
        background-image: url('../images/forside-banner-mobile.png');
        background-position: center 54%;
        background-size: auto 108%;
        align-items: flex-start;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(15, 27, 49, .12), transparent 42%),
            linear-gradient(0deg, rgba(15, 27, 49, .38), transparent 50%);
    }

    .hero-content {
        width: calc(100% - 40px);
        max-width: 365px;
        margin-inline: auto;
        padding: 24px 22px 22px;
        background: rgba(14, 28, 53, .48);
        border: 1px solid rgba(255, 255, 255, .2);
        border-radius: 22px;
        box-shadow: 0 18px 44px rgba(8, 18, 36, .2);
        -webkit-backdrop-filter: blur(10px) saturate(115%);
        backdrop-filter: blur(10px) saturate(115%);
    }

    .hero .eyebrow {
        margin-bottom: 10px;
        font-size: .64rem;
        letter-spacing: .18em;
    }

    .hero h1 {
        max-width: 100%;
        margin-bottom: 10px;
        font-size: clamp(2rem, 9vw, 2.45rem);
        line-height: 1.02;
        letter-spacing: -.04em;
    }

    .hero p {
        max-width: 285px;
        margin-bottom: 22px;
        font-size: .91rem;
        line-height: 1.5;
    }

    .hero .button-row {
        width: 100%;
        gap: 9px;
    }

    .hero .button-row .button {
        width: 100%;
        min-height: 46px;
        padding: 10px 15px;
        font-size: .84rem;
        line-height: 1.2;
        box-shadow: 0 8px 18px rgba(8, 18, 36, .18);
    }

    .hero .button-row .button-ghost {
        background: rgba(255, 255, 255, .08);
        border-color: rgba(255, 255, 255, .48);
        box-shadow: none;
    }

    .card-image.horse-two {
        height: 230px;
    }
}
