/* ================================================
   TOSOMA Design Enhancements – MBC-inspiriert
   ================================================ */

/* ---- 0. Section divider line entfernt ---- */
.section--alt::before {
    display: none;
}

/* ---- 1. Section-Label Upgrade: Pill mit Background ---- */
.section-label {
    background: var(--accent-glow);
    border: 1px solid rgba(46,134,193,0.2);
    border-radius: var(--radius-pill);
    padding: 5px 14px 5px 10px;
    gap: 14px;
}
.section-label::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* ---- 2. Gradient-Border Cards ---- */
.card-gb {
    background: linear-gradient(135deg, rgba(46,134,193,0.35), rgba(46,134,193,0.1) 50%, rgba(46,134,193,0.35));
    padding: 1px;
    border-radius: var(--radius-lg);
    transition: background var(--transition);
}
.card-gb:hover {
    background: linear-gradient(135deg, rgba(46,134,193,0.6), rgba(46,134,193,0.2) 50%, rgba(46,134,193,0.6));
}
.card-gb__inner {
    background: var(--bg-card);
    border-radius: calc(var(--radius-lg) - 1px);
    height: 100%;
    padding: inherit;
}

/* ---- 3. Stats Section ---- */
.stats-section {
    padding: 72px 0;
    background: var(--bg-primary);
    overflow: hidden;
}
.stats-section__claim {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 600;
    font-style: italic;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .stats-grid { grid-template-columns: 1fr; }
}
.stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.stats-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 8px 32px var(--accent-glow);
}
.stats-card__num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
}
.stats-card__text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.stats-card__source {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 8px;
    opacity: 0.6;
}

/* ---- 4. Hero Ambient Glow (statisch, ergänzt JS-Glow) ---- */
.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46,134,193,0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(46,134,193,0.05) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* ---- 5. Animated Gradient Headline ---- */
.hero__title span {
    background: linear-gradient(90deg, var(--accent), #1B9AE0, var(--accent-dark), var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

/* ---- 6. Card Hover Glow ---- */
.ksd-card,
.tabp-panel,
.faq__item {
    position: relative;
    overflow: hidden;
}
.ksd-card::before,
.faq__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 50% at 20% 10%, rgba(46,134,193,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    border-radius: inherit;
}
.ksd-card:hover::before,
.faq__item:hover::before {
    opacity: 1;
}

/* ---- 7. Branchen & Verfahren Section ---- */
.branchen-section {
    padding: 72px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}
.branchen-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.branchen-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 340px;
    line-height: 1.65;
    padding-top: 8px;
}
.branchen-block {
    margin-bottom: 28px;
}
.branchen-block__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.branchen-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.bp {
    display: inline-block;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: default;
    transition: all 0.2s ease;
}
.bp--primary {
    padding: 8px 18px;
    border: 2px solid rgba(46,134,193,0.35);
    background: var(--bg-primary);
    color: var(--text-primary);
}
.bp--primary:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    color: var(--accent);
}
.bp--secondary {
    padding: 6px 14px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.8rem;
}
.bp--secondary:hover {
    color: var(--text-primary);
    border-color: rgba(46,134,193,0.3);
}

/* ---- 8. Floating Hero Badges ---- */
.hero__float {
    position: absolute;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(46,134,193,0.15);
    border-radius: var(--radius);
    padding: 12px 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.07), 0 2px 8px rgba(46,134,193,0.08);
    pointer-events: none;
    z-index: 10;
}
.hero__float-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2px 0;
    white-space: nowrap;
}
.hero__float-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
}
.hero__float--left {
    left: 16px;
    top: 20px;
}
.hero__float--right {
    right: 16px;
    bottom: 16px;
}
@media (max-width: 1100px) {
    .hero__float { display: none; }
}
