/*
 * Home-Widget-Styles (Startseite, body#home-page)
 * Pflege: Diese Datei direkt bearbeiten – kein Gulp/Visual Studio notwendig.
 * HTML: widgets_*.ascx unter Controls/Content/pages/default/
 * Einbindung: Default.aspx (media/content/css/cms-home-widgets.css)
 * CSS-Präfix: body#home-page immer verwenden, damit die Styles nur auf der Startseite greifen.
 */

/*
 * Full-bleed backgrounds use 100vw and can exceed the layout width
 * (scrollbar gutter). Clip horizontal overflow on the home page only.
 */
body#home-page {
    overflow-x: hidden;
    overflow-x: clip;
}

/* USP background */
body#home-page .usp-bg {
    position: relative;
    z-index: 0;
    padding-top: 40px;
    padding-bottom: 40px;
}

body#home-page .usp-bg:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    z-index: -1;
    pointer-events: none;
}

body#home-page .usp-bg--green:before {
    background-image: url('../../images/backgrounds/background-flowers-curved-green-usp.svg');
}

@media (min-width: 992px) {
    body#home-page .usp-bg {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}
/* END USP background */


/* USP grid */
body#home-page .usp-grid {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

body#home-page .usp-grid * {
    box-sizing: border-box;
}

body#home-page .usp-grid > .usp-col {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

@media (min-width: 992px) {
    body#home-page .usp-grid > .usp-col {
        flex: 1 1 auto;
    }
}

body#home-page .usp-card {
    background: #F7F0D9;
    border-radius: 20px;
    border: 1px solid #E3D29C;
    padding: 22px 20px 24px;
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

@media (min-width: 992px) {
    body#home-page .usp-card {
        padding: 24px 22px 26px;
    }
}

@media (max-width: 991.98px) {
    body#home-page .usp-card {
        padding: 14px 12px 16px;
    }
}

body#home-page .usp-icon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

body#home-page .usp-icon img {
    display: block;
    height: 85px;
    width: auto;
}

body#home-page .usp-title {
    font-family: "Amelia-Basic-Bold", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.3;
    margin: 10px 6px 18px;
    min-height: 52px;
    text-align: left;
}

@media (min-width: 992px) {
    body#home-page .usp-title {
        font-size: 20px;
    }
}

@media (max-width: 991.98px) {
    body#home-page .usp-title {
        font-size: 15px;
        margin-bottom: 6px;
        min-height: 0;
    }
}

body#home-page .usp-text {
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
    text-align: left;
}

body#home-page .usp-text a,
body#home-page .usp-text strong,
body#home-page .usp-text b {
    color: #9F7C42;
    font-weight: 700;
    text-decoration: none;
}

@media (min-width: 992px) {
    body#home-page .usp-text {
        font-size: 18px;
    }
}

@media (max-width: 991.98px) {
    body#home-page .usp-text {
        font-size: 14px;
        line-height: 1.4;
    }
}
/* END USP grid */



/* Gift grid */
body#home-page .gift-grid {
    box-sizing: border-box;
    width: 100%;
    margin: 40px auto 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
}

body#home-page .gift-grid * {
    box-sizing: border-box;
}

body#home-page .gift-grid.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body#home-page .gift-grid.gift-grid-spacing {
    margin-bottom: 100px !important;
}

body#home-page .gift-grid > [class*="col-"] {
    float: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
}

@media (min-width: 992px) {
    body#home-page .gift-grid > [class*="col-"] {
        width: auto !important;
        flex: 1 1 0;
        min-width: 0;
    }
}

body#home-page .gift-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #f5ecd2;
    border-radius: 24px;
    padding: 32px 20px;
    text-align: center;
    border: 1px solid #E3D29C;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 992px) {
    body#home-page .gift-card {
        padding: 40px 28px;
        width: 100%;
        max-width: none;
    }
}

body#home-page .gift-card .btn {
    align-self: center;
    display: inline-block;
    text-align: center;
    width: auto;
    margin: 0 auto;
}

body#home-page .gift-img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

body#home-page .gift-img > img {
    display: block;
    height: 200px;
    width: auto;
}

body#home-page .gift-title strong {
    color: #9F7C42;
}

body#home-page .gift-title .swung {
    font-family: "Kalam-Bold", Arial, sans-serif;
    color: #9F7C42;
    letter-spacing: 0.15px;
    font-size: 25px;
    line-height: 1.15;
}

@media (min-width: 992px) {
    body#home-page .gift-title .swung {
        font-size: 30px;
        letter-spacing: 0.2px;
    }
}

body#home-page .gift-text {
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    margin: 20px auto 22px;
    line-height: 1.55;
    color: #353535;
    flex-grow: 1;
}

@media (min-width: 992px) {
    body#home-page .gift-text {
        font-size: 22px;
        margin-bottom: 26px;
        width: calc(100% - 100px);
    }
}

body#home-page .gift-text strong {
    font-size: 25px;
    color: #000000;
}

@media (min-width: 992px) {
    body#home-page .gift-text strong {
        font-size: 30px;
        letter-spacing: 0.2px;
    }
}
/* END Gift grid */