/* Shared Role-Tab & Step Styling for anleitungen/*.html */
.guide-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.guide-concept-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s ease;
}

.guide-concept-link:hover {
    background: #f0fdfa;
    border-color: var(--primary, #0f766e);
    color: var(--primary, #0f766e);
}

.role-switch-bar {
    display: flex;
    gap: 10px;
    padding: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin: 24px 0 30px;
    flex-wrap: wrap;
}

.role-switch-btn {
    flex: 1;
    min-width: 210px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.role-switch-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.7);
}

.role-switch-btn.active {
    background: #ffffff;
    color: #0f172a;
    border-color: #cbd5e1;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.role-panel {
    display: none;
}

.role-panel.active {
    display: block;
}

.role-intro-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: 0.94rem;
    line-height: 1.5;
}

.role-intro-banner.student {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
}

.role-intro-banner.teacher {
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    color: #134e4a;
}

.guide-screenshot {
    margin: 18px 0 24px;
    background: #f8fafc;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.guide-screenshot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.guide-screenshot figcaption {
    font-size: 12.5px;
    color: var(--text-muted, #64748b);
    margin-top: 8px;
    padding: 0 4px;
    text-align: center;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .content-card {
        padding: 24px 18px !important;
    }
    .role-switch-btn {
        min-width: 100%;
    }
}
