/* Leistungen — interactive bento grid */

/* ===================== LEISTUNGEN — interactive bento grid ===================== */
.leistungen {
    padding: 7rem 2.5rem 6rem;
    background: var(--cream);
}
.leistungen-header {
    max-width: 600px;
    margin-bottom: 3.5rem;
}
.leistungen-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--text); margin-bottom: 1rem; }
.leistungen-header p { font-size: 1.05rem; color: var(--text-muted); max-width: 480px; }

.bento {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.25rem;
}
.bento-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2.2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}
.bento-card .bento-small-content { display: block; }
.bento-card .bento-feat-content { display: none; }

/* Featured card — left large area */
.bento-card.featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    display: flex; flex-direction: column; justify-content: flex-end;
    background: var(--dark);
    border-color: transparent;
    padding: 0;
    cursor: default;
    min-height: 420px;
}
.bento-card.featured:hover {
    transform: none;
    box-shadow: none;
}
.bento-card.featured .bento-small-content { display: none; }
.bento-card.featured .bento-feat-content { display: flex; flex-direction: column; height: 100%; }
.bento-feat-img {
    flex: 1; min-height: 200px; overflow: hidden;
    border-radius: 14px 14px 0 0;
}
.bento-feat-img img { width: 100%; height: 100%; object-fit: cover; }
.bento-feat-text {
    padding: 2rem 2.2rem 2.2rem;
}
.bento-feat-text h3, .bento-feat-title {
    font-size: 1.5rem; color: var(--text-on-dark); margin-bottom: 0.5rem;
}
.bento-feat-text p {
    font-size: 0.95rem; color: var(--text-on-dark-soft); line-height: 1.6; margin-bottom: 1.5rem;
}
.bento-feat-stats {
    display: flex; gap: 2rem;
}
.bento-feat-stat {
    display: flex; flex-direction: column;
}
.bento-feat-stat .stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem; color: var(--text-on-dark); line-height: 1.1;
}
.bento-feat-stat .stat-label {
    font-size: 0.78rem; color: var(--text-on-dark-muted); font-weight: 600;
    letter-spacing: 0.04em; margin-top: 0.15rem;
}

/* Small card icon — premium gradient style */
.bento-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
}
.bento-icon svg { width: 24px; height: 24px; }
.bento-icon.icon-blue {
    background: linear-gradient(135deg, #EBF0FA 0%, #D6E2F5 100%);
    box-shadow: 0 2px 8px rgba(43,94,167,0.1);
}
.bento-icon.icon-blue svg { fill: #2B5EA7; }
.bento-icon.icon-red {
    background: linear-gradient(135deg, #FDE8EA 0%, #F5CDD0 100%);
    box-shadow: 0 2px 8px rgba(196,30,42,0.1);
}
.bento-icon.icon-red svg { fill: #C41E2A; }
.bento-icon.icon-teal {
    background: linear-gradient(135deg, #E6F5F0 0%, #CCE8DF 100%);
    box-shadow: 0 2px 8px rgba(16,137,100,0.1);
}
.bento-icon.icon-teal svg { fill: #108964; }
.bento-icon.icon-amber {
    background: linear-gradient(135deg, #FEF3E2 0%, #FADDAF 100%);
    box-shadow: 0 2px 8px rgba(180,120,20,0.1);
}
.bento-icon.icon-amber svg { fill: #B47814; }

.bento-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.bento-card:not(.featured) p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* Hover accent line */
.bento-card::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 3px;
    background: linear-gradient(90deg, var(--red), #2B5EA7);
    transition: width 0.4s ease;
}
.bento-card:not(.featured):hover::after { width: 100%; }
.bento-card.featured::after { display: none; }

