/*
 * MatthiesDigitalSuite 1.0.7
 * Separate URL als zuverlässiger Cache-Buster für Startseite und Footer.
 */

.md-home {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1280px;
    padding: clamp(1.5rem, 4vw, 3.25rem) 1rem clamp(3rem, 7vw, 5.5rem);
    width: 100%;
}

.md-home-hero {
    align-items: center;
    background: radial-gradient(circle at 90% 5%, rgba(19, 205, 208, .28), transparent 19rem), linear-gradient(145deg, #07162e, #12345c);
    border-radius: 28px;
    color: #fff;
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.md-home-kicker {
    color: #61e6e5;
    display: inline-block;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .11em;
    margin-bottom: .75rem;
    text-transform: uppercase;
}

.md-home-hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    letter-spacing: -.055em;
    line-height: 1;
    margin: 0;
}

.md-home-hero h1 span {
    -webkit-background-clip: text;
    background: linear-gradient(100deg, #4b8fff, #21d6cd);
    background-clip: text;
    color: transparent;
}

.md-home-hero__copy > p {
    color: rgba(255, 255, 255, .76);
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 1.25rem 0 1.5rem;
    max-width: 690px;
}

.md-home-actions,
.md-home-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.md-home-actions .btn-outline-primary {
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
}

.md-home-actions .btn-outline-primary:hover {
    background: #fff;
    border-color: #fff;
    color: #07162e;
}

.md-home-benefits {
    gap: .75rem 1.1rem;
    list-style: none;
    margin: 1.4rem 0 0;
    padding: 0;
}

.md-home-benefits li {
    align-items: center;
    color: rgba(255, 255, 255, .82);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    gap: .4rem;
}

.md-home-benefits i {
    color: #36dacc;
}

.md-home-products {
    display: grid;
    gap: .75rem;
}

.md-home-products > a {
    align-items: center;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 18px;
    color: #07162e;
    display: flex;
    gap: .9rem;
    min-width: 0;
    padding: .75rem;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.md-home-products > a:hover {
    box-shadow: 0 18px 34px rgba(0, 0, 0, .15);
    color: #07162e;
    transform: translateY(-2px);
}

.md-home-products img {
    flex: 0 0 64px;
    height: 64px !important;
    max-height: 64px !important;
    max-width: 64px !important;
    object-fit: contain;
    width: 64px !important;
}

.md-home-products span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.md-home-products strong {
    color: #07162e;
    font-size: 1rem;
}

.md-home-products small {
    color: #64748b;
    font-size: .75rem;
}

.md-home-overview {
    padding: clamp(3rem, 7vw, 5.5rem) 0 2rem;
}

.md-home-overview > header {
    max-width: 760px;
}

.md-home-overview h2 {
    color: #07162e;
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: -.045em;
    margin: 0 0 .65rem;
}

.md-home-overview > header > p {
    color: #64748b;
    line-height: 1.65;
}

.md-home-cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.75rem;
}

.md-home-cards article {
    background: linear-gradient(145deg, #fff, #f4f9ff);
    border: 1px solid #dbe6f2;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(7, 22, 46, .08);
    padding: clamp(1.25rem, 2.5vw, 1.8rem);
}

.md-home-cards h3 {
    color: #07162e;
    font-size: 1.12rem;
    margin: 1rem 0 .5rem;
}

.md-home-cards p {
    color: #64748b;
    font-size: .87rem;
    line-height: 1.65;
    margin: 0;
}

.md-home-icon {
    background: linear-gradient(100deg, #1264ff, #13cdd0);
    border-radius: 13px;
    color: #fff;
    display: inline-grid;
    font-size: 1.1rem;
    height: 46px;
    place-items: center;
    width: 46px;
}

.md-home-shop {
    padding-top: 1rem;
}

#footer.md-simple-footer {
    background: #07162e !important;
    border: 0 !important;
    box-sizing: border-box;
    color: rgba(255, 255, 255, .72);
    margin: 0 !important;
    padding: clamp(2.5rem, 5vw, 4rem) 1.25rem !important;
    width: 100% !important;
}

.md-simple-footer__inner,
.md-simple-footer__bottom {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1280px !important;
    width: 100% !important;
}

.md-simple-footer__inner {
    display: grid !important;
    gap: clamp(1.5rem, 4vw, 3.5rem) !important;
    grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(135px, .65fr)) !important;
}

.md-simple-footer__brand img {
    display: block;
    height: auto !important;
    max-height: 70px !important;
    max-width: 240px !important;
    object-fit: contain;
    width: 240px !important;
}

.md-simple-footer__brand p {
    color: rgba(255, 255, 255, .68) !important;
    font-size: .84rem;
    line-height: 1.6;
    margin: 1rem 0 0;
    max-width: 390px;
}

.md-simple-footer__brand .md-simple-footer__shipping {
    color: #67e4df !important;
    font-weight: 750;
    margin-top: .55rem;
}

.md-simple-footer__column {
    align-items: flex-start;
    display: flex !important;
    flex-direction: column;
    gap: .62rem;
}

#footer.md-simple-footer .md-simple-footer__column h2 {
    color: #fff !important;
    font-size: .84rem;
    letter-spacing: .08em;
    margin: 0 0 .25rem;
    text-transform: uppercase;
}

#footer.md-simple-footer a {
    color: rgba(255, 255, 255, .78) !important;
    font-size: .84rem;
    text-decoration: none;
}

#footer.md-simple-footer a:hover {
    color: #67e4df !important;
}

.md-simple-footer__bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex !important;
    flex-wrap: wrap;
    font-size: .74rem;
    gap: .65rem 1.5rem;
    justify-content: space-between;
    margin-top: 2.25rem !important;
    padding-top: 1.25rem;
}

@media (max-width: 991.98px) {
    .md-home-hero {
        grid-template-columns: 1fr;
    }

    .md-home-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md-home-products > a {
        align-items: flex-start;
        flex-direction: column;
    }

    .md-simple-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
    .md-home-products,
    .md-home-cards {
        grid-template-columns: 1fr;
    }

    .md-home-products > a {
        align-items: center;
        flex-direction: row;
    }
}

@media (max-width: 575.98px) {
    .md-home {
        padding-left: .75rem;
        padding-right: .75rem;
    }

    .md-home-hero {
        border-radius: 20px;
        padding: 1.4rem;
    }

    .md-home-hero h1 {
        font-size: 2.35rem;
    }

    .md-simple-footer__inner {
        grid-template-columns: 1fr !important;
    }

    .md-simple-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
