/* ============================================================================
 * Component: awards-partners
 * Tabbed Auszeichnungen / Partner band (logo grid + subline), mirrors homepage.
 * ========================================================================= */

.rc-ap {
    padding: 56px 16px;
    background: #F8FAFB;
    color: #1A1F26;
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
}
.rc-ap *,
.rc-ap *::before,
.rc-ap *::after { box-sizing: border-box; }

.rc-ap-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px;
}
.rc-ap-eyebrow {
    display: inline-block;
    font-family: 'Plakkaat', 'ProximaNova', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #00A356;
    background: #E6F9F0;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.rc-ap-h2 {
    font-family: 'ProximaNova', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 0 0 12px;
}
.rc-ap-lead {
    font-size: 17px;
    color: #555E6B;
    margin: 0;
    line-height: 1.55;
}

/* ---- Tabs ---- */
.rc-ap-tabs {
    display: inline-flex;
    gap: 4px;
    margin: 0 auto 32px;
    padding: 5px;
    background: #FFFFFF;
    border: 1px solid #E7EAEE;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.05);
}
/* center the inline-flex pill switcher */
.rc-ap > .rc-ap-tabs { display: flex; width: fit-content; }
.rc-ap-tab {
    font-family: 'ProximaNova', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #555E6B;
    background: transparent;
    border: 0;
    border-radius: 999px;
    padding: 10px 24px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.rc-ap-tab:hover { color: #1A1F26; }
.rc-ap-tab.is-active {
    background: #00BF63;
    color: #FFFFFF;
}

/* ---- Panels / grid ---- */
.rc-ap-panel { margin: 0; }
.rc-ap-panel[hidden] { display: none; }
.rc-ap-grid {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 640px) {
    .rc-ap-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.rc-ap-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #EFF1F4;
    border-radius: 18px;
    padding: 24px 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.rc-ap-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(15,23,42,0.10);
}
.rc-ap-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 72px;
    margin-bottom: 4px;
}
.rc-ap-logo img {
    max-width: 100%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.rc-ap-name {
    font-weight: 700;
    font-size: 16px;
    color: #1A1F26;
    line-height: 1.25;
}
.rc-ap-sub {
    font-size: 13.5px;
    color: #6B7280;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .rc-ap { padding: 80px 32px; }
    .rc-ap-h2 { font-size: 36px; }
}
