/* ============================================================
   hub.css – demo.andi24.de Hub-Startseite
   Lädt NACH andi24.de CSS – überschreibt wo nötig
   ============================================================ */

/* ── PAGE WRAPPER OFFSET FÜR STICKY NAV ── */
.hub-pagewrap {
    padding-top: 90px;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hub-hero {
    background: #0F172A;
    padding: 5rem 0 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hub-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(106,178,207,.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(106,178,207,.07) 0%, transparent 55%);
    pointer-events: none;
}

.hub-hero-inner {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hub-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(106,178,207,.12);
    border: 1px solid rgba(106,178,207,.3);
    color: #6ab2cf;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: .4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.75rem;
}

.hub-hero h1 {
    color: #fff !important;
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    font-weight: 900 !important;
    letter-spacing: -1.5px !important;
    line-height: 1.08 !important;
    margin-bottom: 1.5rem !important;
}

.hub-hero h1 span {
    color: #6ab2cf;
}

.hub-hero-sub {
    color: rgba(255,255,255,.6);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hub-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hub-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #6ab2cf;
    color: #0F172A;
    padding: .85rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    font-family: var(--atf-ff-heading);
    transition: background .2s, transform .15s;
}

.hub-btn-primary:hover {
    background: #88c8e0;
    color: #0F172A;
    transform: translateY(-2px);
}

.hub-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.8);
    padding: .85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    transition: border-color .2s, color .2s;
}

.hub-btn-ghost:hover {
    border-color: #6ab2cf;
    color: #6ab2cf;
}

.hub-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
    flex-wrap: wrap;
}

.hub-stat-num {
    color: #fff;
    font-family: var(--atf-ff-heading);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -1px;
    display: block;
}

.hub-stat-label {
    color: rgba(255,255,255,.45);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    display: block;
    margin-top: .2rem;
}

/* ══════════════════════════════════════════
   SECTION GEMEINSAM
══════════════════════════════════════════ */
.hub-section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hub-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.hub-section-label {
    display: inline-block;
    font-size: .7rem !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #4a9ab8 !important;
    margin-bottom: .75rem;
}

.hub-section-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem) !important;
    font-weight: 900 !important;
    color: #0F172A !important;
    letter-spacing: -1px !important;
    margin-bottom: .75rem !important;
}

.hub-section-sub {
    color: #64748b;
    font-size: .95rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ══════════════════════════════════════════
   DEMO CARDS
══════════════════════════════════════════ */
.hub-demos {
    background: #f0f4f8;
    padding: 5rem 0;
}

.hub-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

@media (max-width: 480px) {
    .hub-cards-grid { grid-template-columns: 1fr; }
}

.hub-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,.1);
    border-color: var(--card-color);
}

.hub-card-top {
    height: 7px;
    background: var(--card-color);
}

.hub-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hub-card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    /* Hintergrund per Custom Property – erlaubt laut Regelwerk */
    background: color-mix(in srgb, var(--card-color) 12%, transparent);
}

.hub-card-icon-wrap i {
    font-size: 1.4rem;
    color: var(--card-color);
}

.hub-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: .5rem;
    font-family: var(--atf-ff-heading);
}

.hub-card-desc {
    color: #64748b;
    font-size: .875rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
}

.hub-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1.5rem;
}

.hub-card-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: .7rem;
    font-weight: 600;
    padding: .25rem .65rem;
    border-radius: 100px;
    letter-spacing: .3px;
}

.hub-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.hub-card-cta {
    font-size: .85rem;
    font-weight: 700;
    color: var(--card-color);
    font-family: var(--atf-ff-heading);
    display: flex;
    align-items: center;
    gap: .35rem;
    transition: gap .2s;
}

.hub-card:hover .hub-card-cta {
    gap: .6rem;
}

.hub-card-status {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: .2rem .6rem;
    border-radius: 100px;
}

.status-live {
    background: #dcfce7;
    color: #16a34a;
}

.status-soon {
    background: #fef3c7;
    color: #d97706;
}

.hub-card-disabled {
    opacity: .7;
    pointer-events: none;
}

/* ══════════════════════════════════════════
   WIE ES FUNKTIONIERT
══════════════════════════════════════════ */
.hub-how {
    background: #fff;
    padding: 5rem 0;
}

.hub-how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hub-step-num {
    font-family: var(--atf-ff-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: #f0f4f8;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: .5rem;
}

.hub-step-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: .5rem;
    font-family: var(--atf-ff-heading);
}

.hub-step-desc {
    color: #64748b;
    font-size: .875rem;
    line-height: 1.7;
}

/* ══════════════════════════════════════════
   DIGITALBONUS BANNER
══════════════════════════════════════════ */
.hub-digitalbonus {
    background: linear-gradient(135deg, #0F172A 0%, #1e3a5f 100%);
    padding: 4rem 0;
    text-align: center;
}

.hub-digitalbonus-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hub-digitalbonus-badge {
    background: rgba(106,178,207,.15);
    border: 1px solid rgba(106,178,207,.4);
    color: #6ab2cf;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 100px;
}

.hub-digitalbonus h3 {
    color: #fff !important;
    font-size: clamp(1.4rem, 3vw, 2rem) !important;
    font-weight: 900 !important;
    letter-spacing: -1px !important;
}

.hub-digitalbonus p {
    color: rgba(255,255,255,.6);
    font-size: .95rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0;
}

.hub-digitalbonus-highlight {
    font-size: 2.5rem;
    font-weight: 900;
    color: #6ab2cf;
    font-family: var(--atf-ff-heading);
    letter-spacing: -2px;
    line-height: 1;
}

/* ══════════════════════════════════════════
   PREISE
══════════════════════════════════════════ */
.hub-pricing {
    background: #f0f4f8;
    padding: 5rem 0;
}

.hub-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
    max-width: 960px;
    margin: 3rem auto 0;
}

.hub-price-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.hub-price-card.featured {
    border-color: #6ab2cf;
    box-shadow: 0 8px 32px rgba(106,178,207,.2);
}

.hub-price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #6ab2cf;
    color: #0F172A;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 100px;
    white-space: nowrap;
}

.hub-price-name {
    font-family: var(--atf-ff-heading);
    font-size: 1rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hub-price-amount {
    font-family: var(--atf-ff-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: #0F172A;
    letter-spacing: -2px;
    line-height: 1;
}

.hub-price-amount sup {
    font-size: 1rem;
    font-weight: 700;
    vertical-align: top;
    margin-top: .4rem;
    display: inline-block;
    letter-spacing: 0;
}

.hub-price-period {
    color: #64748b;
    font-size: .8rem;
    margin-bottom: 1.5rem;
    display: block;
    margin-top: .25rem;
}

.hub-price-setup {
    font-size: .8rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.hub-price-list {
    list-style: none;
    margin-bottom: 2rem;
}

.hub-price-list li {
    font-size: .875rem;
    color: #475569;
    padding: .4rem 0;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    line-height: 1.5;
}

.hub-price-list li i {
    color: #16a34a;
    font-size: .85rem;
    margin-top: .15rem;
    flex-shrink: 0;
}

.hub-price-cta {
    display: block;
    text-align: center;
    padding: .8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: .9rem;
    font-family: var(--atf-ff-heading);
    transition: all .2s;
}

.hub-price-cta-filled {
    background: #6ab2cf;
    color: #0F172A;
}

.hub-price-cta-filled:hover {
    background: #88c8e0;
    color: #0F172A;
}

.hub-price-cta-outline {
    border: 1.5px solid #e2e8f0;
    color: #0F172A;
}

.hub-price-cta-outline:hover {
    border-color: #6ab2cf;
    color: #6ab2cf;
}

/* ══════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════ */
.hub-cta {
    background: #6ab2cf;
    padding: 4rem 0;
}

.hub-cta-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.hub-cta h2 {
    color: #0F172A !important;
    font-size: clamp(1.4rem, 3vw, 2rem) !important;
    font-weight: 900 !important;
    letter-spacing: -1px !important;
    margin-bottom: .35rem !important;
}

.hub-cta p {
    color: rgba(0,0,0,.55);
    font-size: .9rem;
    margin: 0;
}

.hub-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #0F172A;
    color: #fff;
    padding: 1rem 2.25rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    font-family: var(--atf-ff-heading);
    white-space: nowrap;
    transition: background .2s;
}

.hub-cta-btn:hover {
    background: #1e293b;
    color: #fff;
}

@media (max-width: 640px) {
    .hub-cta-inner { flex-direction: column; text-align: center; }
}
