/* ═══════════════════════════════════════════════
   TOSIGO BAUSTEINE / BUILDING BLOCKS CSS
   ═══════════════════════════════════════════════ */

/* ── HERO BANNER — Demo-Stil ── */
.tsg-hero {
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    min-height: 180px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--pv-hero-bg, #E1F5FE) !important;
    border-bottom: 2px solid var(--pv-hero-border, #81D4FA);
}
.tsg-hero-content {
    padding: 36px 48px;
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}
.tsg-hero h2 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--pv-hero-text, #0277BD) !important;
}
.tsg-hero p {
    font-size: 14px;
    opacity: .85;
    margin-bottom: 18px;
    line-height: 1.5;
    color: var(--pv-hero-text, #0277BD);
}
.tsg-hero-btn {
    display: inline-block;
    background: var(--pv-btn-bg, #039BE5);
    color: var(--pv-btn-text, #fff);
    padding: 11px 28px;
    border-radius: 9px;
    font-weight: 800;
    text-decoration: none;
    font-size: 14px;
    transition: filter .15s, transform .15s;
    border: none;
    cursor: pointer;
}
.tsg-hero-btn:hover {
    filter: brightness(0.88);
    transform: translateY(-1px);
    text-decoration: none;
    color: var(--pv-btn-text, #fff);
}

/* ── INFO BOXES ── */
.tsg-info-row {
    display: grid;
    gap: 12px;
    margin: 12px 0 18px;
}
.tsg-info-cols-1 { grid-template-columns: 1fr; }
.tsg-info-cols-2 { grid-template-columns: repeat(2, 1fr); }
.tsg-info-cols-3 { grid-template-columns: repeat(3, 1fr); }

.tsg-info-box {
    border-radius: 10px;
    padding: 16px 18px;
    overflow: hidden;
    min-height: 80px;
    display: flex;
    align-items: center;
    color: #fff;
}
.tsg-info-text {
    position: relative;
    z-index: 1;
}
.tsg-info-box h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}
.tsg-info-box p {
    font-size: 12px;
    line-height: 1.4;
    opacity: .9;
    margin-bottom: 0;
}
.tsg-info-btn {
    display: inline-block;
    margin-top: 8px;
    background: rgba(255,255,255,.9);
    color: #333;
    padding: 5px 16px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}
.tsg-info-btn:hover {
    background: #fff;
    text-decoration: none;
    color: #333;
}

/* ── INLINE BANNER ── */
.tsg-banner {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.tsg-banner-body {
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.tsg-banner-text {
    flex: 1;
}
.tsg-banner-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #2c3e50;
}
.tsg-banner-text p {
    font-size: 13px;
    color: #666;
    margin-bottom: 0;
}
.tsg-banner-btn {
    white-space: nowrap;
    background: var(--pv-btn-bg, #039BE5);
    color: #fff;
    padding: 10px 24px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    transition: background .15s, transform .15s;
    box-shadow: 0 2px 6px rgba(50,105,22,.25);
}
.tsg-banner-btn:hover {
    background: #3d7a1c;
    text-decoration: none;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(50,105,22,.3);
}

/* ── AD IMAGE ── */
.tsg-ad-image {
    margin: 16px 0;
    text-align: center;
}
.tsg-ad-image img {
    max-width: 100%;
    border-radius: 8px;
}

/* ── "MEHR ANZEIGEN" BUTTON ── */
#load-more-adverts {
    background: linear-gradient(135deg, var(--pv-btn-bg, #039BE5), var(--pv-btn-bg, #039BE5));
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 36px;
    border-radius: 22px;
    transition: background .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 3px 10px rgba(50,105,22,.25);
}
#load-more-adverts:hover {
    background: linear-gradient(135deg, var(--pv-btn-bg, #039BE5), var(--pv-btn-bg, #039BE5));
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(50,105,22,.35);
    color: #fff;
}
#load-more-adverts:disabled {
    opacity: .6;
    cursor: wait;
}

/* ── GALERIE "MEHR" BUTTON ── */
#load-more-gallery {
    background: linear-gradient(135deg, var(--pv-btn-bg, #039BE5), var(--pv-btn-bg, #039BE5));
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 7px 20px;
    border-radius: 18px;
    transition: background .15s, transform .15s;
    box-shadow: 0 2px 6px rgba(50,105,22,.2);
}
#load-more-gallery:hover {
    background: linear-gradient(135deg, var(--pv-btn-bg, #039BE5), var(--pv-btn-bg, #039BE5));
    color: #fff;
    transform: translateY(-1px);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .tsg-hero {
        min-height: 100px;
    }
    .tsg-hero-content {
        padding: 20px 20px;
    }
    .tsg-hero h2 {
        font-size: 18px;
    }
    .tsg-info-row {
        grid-template-columns: 1fr !important;
    }
    .tsg-banner-body {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 16px 20px;
    }
}
