/* StoffmonsterCmsBlocks – Storefront-Styles (plain CSS, kein Build) */

/* ===== Hero mit Info-Karte ===== */
.sm-hero-info-side {
    display: flex;
    align-items: center;
}
.sm-hero-info-side > div {
    width: 100%;
}

/* ===== Hero mit Bild (links/rechts) =====
   Bild fuellt die Spaltenhoehe (Cover-Beschnitt). Die !important-Regeln
   uebersteuern ThemeWare-Defaults auf .cms-image-container
   (height/width 300px + border-radius 50%). */
.sm-hero-media-col {
    display: flex;
}
.sm-hero-media-col .cms-element-image,
.sm-hero-media-col .cms-image-container {
    display: flex;
    width: 100% !important;
    height: 100% !important;
    min-height: 420px;
    border-radius: 14px !important;
    overflow: hidden;
}
.sm-hero-media-col img.cms-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
@media (max-width: 767.98px) {
    .sm-hero-media-col .cms-element-image,
    .sm-hero-media-col .cms-image-container {
        min-height: 0;
        height: 320px !important;
    }
    .sm-hero-image .sm-hero-media-col {
        margin-top: 16px;
    }
    .sm-hero-image--left .sm-hero-media-col {
        margin-top: 0;
        margin-bottom: 16px;
    }
}

/* ===== Hero-Text (sm-hero-copy) ===== */
.sm-hero-copy {
    padding: 1rem .5rem;
}
.sm-hero-eyebrow {
    color: #ee8da9;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 .75rem;
    font-size: .85rem;
}
.sm-hero-headline {
    color: #1f2429;
    font-size: 2.2rem;
    line-height: 1.15;
    margin: 0 0 1.25rem;
}
.sm-hero-headline span {
    color: #ee8da9;
}
.sm-hero-headline--h2 {
    font-size: 2rem;
}
.sm-hero-text a {
    color: inherit;
    text-decoration: underline;
}
.sm-hero-text {
    color: #4a545b;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 1rem;
    max-width: 540px;
}
.sm-hero-actions {
    margin: .75rem 0 0;
}
.sm-btn-primary {
    display: inline-block;
    background: #ee8da9;
    color: #fff;
    text-decoration: none;
    padding: 1rem 1.75rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 6px 20px rgba(238, 141, 169, .35);
    margin: 0 .5rem .5rem 0;
}
.sm-btn-primary:hover {
    color: #fff;
    filter: brightness(.95);
}
.sm-btn-outline {
    display: inline-block;
    color: #1f2429;
    text-decoration: none;
    padding: .9rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    border: 2px solid #1f2429;
    margin: 0 0 .5rem 0;
}
.sm-btn-outline:hover {
    color: #1f2429;
}
.sm-termin-anchor {
    display: block;
    position: relative;
    top: -90px;
    visibility: hidden;
}

/* ===== Info-Karte (rosa Panel) ===== */
.sm-info-card {
    background-color: #fdf2f6;
    border: 1px solid #f8d7e1;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
}
.sm-info-card-title {
    color: #ee8da9;
    margin: 0 0 14px;
    font-size: 1.1rem;
}
.sm-info-card-content {
    color: #4a545b;
    margin: 0 0 16px;
    line-height: 1.6;
}
.sm-info-card-content .sm-next-city {
    color: #ee8da9;
    font-weight: 700;
    font-size: 1.15rem;
}
.sm-info-card-action {
    margin: 0;
}
.sm-info-card-action a {
    display: inline-block;
    background: #ee8da9;
    color: #fff;
    text-decoration: none;
    padding: .85rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
}
.sm-info-card-action a:hover {
    color: #fff;
    filter: brightness(.95);
}
@media (min-width: 768px) {
    .sm-info-card--left {
        text-align: left;
    }
}

/* ===== Trust-Stripe ===== */
.sm-trust-stripe {
    background: #fdf2f6;
    border: 1px solid #f8d7e1;
    padding: 24px 16px;
    border-radius: 14px;
}
.sm-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.sm-trust-item {
    text-align: center;
    padding: 12px 8px;
}
.sm-trust-link {
    display: block;
    width: 100%;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    text-align: center;
    color: inherit;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
}
.sm-trust-link:hover {
    color: inherit;
    text-decoration: none;
}
.sm-trust-link:hover h3 {
    color: #ee8da9;
}
.sm-trust-icon {
    width: 28px;
    height: 28px;
    color: #ee8da9;
    display: inline-block;
    margin-bottom: 8px;
}
.sm-trust-item h3 {
    font-size: 1.05rem;
    margin: 0 0 6px;
    color: #1f2429;
}
.sm-trust-item p {
    font-size: .9rem;
    color: #4a545b;
    margin: 0;
}

/* ===== Termin-Liste ===== */
.sm-termin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
}
.sm-termin {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e6e9ec;
    border-radius: 14px;
    padding: 16px 18px;
    flex-wrap: wrap;
}
.sm-termin-datum {
    flex: 0 0 76px;
    background: #fdf2f6;
    border: 1px solid #f8d7e1;
    border-radius: 12px;
    text-align: center;
    padding: 10px 6px;
}
.sm-termin-datum .wt {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    color: #ee8da9;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.sm-termin-datum .tg {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1f2429;
    line-height: 1.1;
}
.sm-termin-datum .mo {
    display: block;
    font-size: .8rem;
    color: #4a545b;
}
.sm-termin-info {
    flex: 1 1 240px;
    min-width: 200px;
}
.sm-termin-info h3 {
    margin: 0 0 2px;
    font-size: 1.15rem;
    color: #1f2429;
}
.sm-termin-info .zeit {
    margin: 0 0 2px;
    font-weight: 600;
    color: #1f2429;
    font-size: .95rem;
}
.sm-termin-info .addr {
    margin: 0;
    color: #4a545b;
    font-size: .9rem;
}
.sm-termin-maps {
    flex: 0 0 auto;
    display: inline-block;
    background: #ee8da9;
    color: #fff;
    text-decoration: none;
    padding: .7rem 1.1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: .9rem;
}
.sm-termin-maps:hover {
    color: #fff;
    filter: brightness(.95);
}
.sm-termin.sm-past {
    display: none;
}
.sm-termin.sm-featured-hidden {
    display: none;
}
.sm-next-box {
    max-width: 420px;
    margin: 0 auto 20px;
}
.sm-termin-empty {
    text-align: center;
    color: #4a545b;
    margin: 1rem 0 0;
}

/* ===== Bild mit Lightbox ===== */
.sm-lightbox-thumb {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid #e6e9ec;
    display: block;
}
.sm-lightbox-caption {
    text-align: center;
    color: #4a545b;
    font-size: .85rem;
    margin: 8px 0 0;
}
.sm-lightbox-details summary {
    cursor: pointer;
    color: #ee8da9;
    font-weight: 600;
    text-align: center;
}
.sm-lightbox-details-body {
    margin-top: 12px;
}
.sm-lightbox {
    border: none;
    border-radius: 14px;
    padding: 0;
    max-width: min(1200px, 94vw);
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.sm-lightbox::backdrop {
    background: rgba(0, 0, 0, .75);
}
.sm-lightbox img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 82vh;
    object-fit: contain;
}
.sm-lb-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
}
.sm-lb-title {
    font-weight: 700;
    color: #1f2429;
    margin-right: auto;
    font-size: .95rem;
}
.sm-lb-bar a {
    color: #ee8da9;
    font-size: .85rem;
    text-decoration: underline;
    white-space: nowrap;
}
.sm-lb-close {
    border: none;
    background: #fdf2f6;
    color: #1f2429;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}
.sm-lb-close:hover {
    background: #f8d7e1;
}

/* ===== Mobile ===== */
@media (max-width: 991.98px) {
    .sm-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767.98px) {
    .sm-hero-info-side {
        margin-top: 16px;
    }
    .sm-hero-copy {
        padding: .5rem .25rem;
    }
    .sm-hero-headline {
        font-size: 1.75rem;
    }
    .sm-hero-headline--h2 {
        font-size: 1.45rem;
    }
    .sm-termin {
        padding: 12px;
        gap: 12px;
    }
    .sm-termin-maps {
        flex: 1 1 100%;
        text-align: center;
    }
}
@media (max-width: 575.98px) {
    .sm-trust-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}
